/* =========================================================
   지웰 엘리움 양주 덕계역 V2 — 스킬 기본형(원페이지 스크롤) 그대로, 색만 지웰 엘리움 퍼플 #37234d + 골드
   현장별 톤은 아래 :root 변수만 바꾼다.
   ========================================================= */
:root {
  --brand: #37234d;        /* 메인 컬러 (헤더 버튼, 제목 강조, 푸터) */
  --brand-dark: #251838;   /* 메인 컬러 어두운 버전 */
  --accent: #d6a24a;       /* 포인트 컬러 (CTA 버튼, 강조 수치) */
  --accent-ink: #ffffff;   /* 포인트 컬러 위 글자색 */
  --visit: #8a6526;        /* 방문예약 박스 색 (관심고객 박스는 --brand) */
  --header-bg: linear-gradient(90deg, rgba(37,24,56,.95) 0%, rgba(72,50,100,.9) 45%, rgba(92,68,122,.88) 70%, rgba(37,24,56,.95) 100%); /* 상단바 회색 그라데이션 */
  --header-point: #f1c76a; /* 상단바 전화번호 · 현재 메뉴 밑줄 */

  --ink: #1d1d1f;
  --ink-soft: #5f636a;
  --ink-mute: #8b8f96;
  --line: #e3dee9;
  --bg: #ffffff;
  --bg-tint: #f4f1f8;      /* 섹션 교차 배경 (웜그레이) */
  --ph: #e6e1ec;           /* 이미지 자리표시 배경 */

  --radius: 8px;
  --container: 1200px;
  --narrow: 960px;
  --header-h: 76px;
  --quickbar-h: 60px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
@media (max-width: 900px) { :root { --header-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; word-break: keep-all; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--narrow); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 16px; transition: opacity .2s, background-color .2s, color .2s;
}
.btn:hover { opacity: .88; }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); opacity: 1; }

/* ---------- 이미지 자리표시 ---------- */
.media { position: relative; background: var(--ph); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing img { visibility: hidden; }
.media.is-missing::after {
  content: attr(data-label); position: absolute; inset: 10px;
  display: grid; place-items: center; padding: 12px; text-align: center;
  border: 1px dashed #c4bdb1; border-radius: 4px; color: #8a8377; font-size: 14px;
}

/* 글자까지 들어간 완성형 이미지(시행사 홍보물 등): 자르지 않고 원본 비율 그대로 */
.media--full { background: none; }
.media--full img { height: auto; object-fit: initial; }
.media--full.is-missing { aspect-ratio: 16 / 9; background: var(--ph); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.notice { margin-top: 14px; font-size: 13px; color: var(--ink-mute); line-height: 1.55; }

/* ---------- 헤더: 회색 그라데이션 바 · 흰 글씨 · 우측 세로 구분선 ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: var(--header-bg); border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 100%; max-width: none; padding-left: 28px; padding-right: 0; }
.header__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.header__logo-mark { height: 24px; width: auto; flex-shrink: 0; }
.nav { display: flex; gap: 0; margin: 0 auto; }
.nav a { position: relative; padding: 8px 17px; font-size: 17px; font-weight: 500; color: rgba(255,255,255,.88); white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav a.is-current { color: #fff; }
.nav a.is-current::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: -2px; height: 2px; background: var(--header-point);
}
.header__side { display: flex; align-self: stretch; align-items: center; gap: 0; }
.header__tel {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 0 40px;
  border-left: 1px solid rgba(255,255,255,.22); color: #fff; line-height: 1.15; text-align: center; white-space: nowrap;
}
.header__tel svg { display: none; width: 18px; height: 18px; }
.header__tel small { font-size: 13px; font-weight: 500; opacity: .9; }
.header__tel b { margin-top: 2px; font-size: 23px; font-weight: 600; color: var(--header-point); letter-spacing: -.01em; }
.header__cta {
  display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 26px;
  border-left: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .2s;
}
.header__cta:hover { background: rgba(255,255,255,.08); }
.header__cta svg { width: 17px; height: 17px; }
.header__menu { display: none; }

@media (max-width: 1500px) {
  .nav a { padding: 8px 11px; font-size: 16px; }
  .nav a.is-current::after { left: 11px; right: 11px; }
  .header__tel { padding: 0 26px; }
  .header__cta { padding: 0 18px; }
}
/* 메뉴 7개가 한 줄에 안 들어가는 폭부터 ☰ 메뉴로 접는다 */
@media (max-width: 1360px) {
  .header__logo { margin-right: auto; }
  .header__menu {
    display: grid; place-items: center; width: 40px; height: 40px; margin: auto 16px auto 4px; padding: 0;
    border: 0; background: none;
  }
  .header__menu span, .header__menu span::before, .header__menu span::after {
    display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform .2s;
  }
  .header__menu span::before, .header__menu span::after { content: ""; position: absolute; left: 0; }
  .header__menu span::before { top: -6px; }
  .header__menu span::after { top: 6px; }
  .header__menu[aria-expanded="true"] span { background: transparent; }
  .header__menu[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .header__menu[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 16px; background: #33373d;
    border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 24px rgba(0,0,0,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a.is-current::after { display: none; }
}
@media (max-width: 900px) {
  .header__inner { gap: 12px; padding-left: 16px; }
  .header__logo { font-size: 18px; gap: 8px; }
  .header__logo-mark { height: 19px; }
  .header__tel {
    flex-direction: row; width: 40px; height: 40px; padding: 0; margin: auto 0;
    border: 0; border-radius: 50%; background: rgba(255,255,255,.14);
  }
  .header__tel svg { display: block; color: var(--header-point); }
  .header__tel small, .header__tel b { display: none; }
  .header__cta { display: none; }
  .header__menu { margin: auto 10px auto 4px; }
}

/* ---------- 섹션 공통 ---------- */
main { padding-top: var(--header-h); }
.section { padding: 120px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { text-align: center; margin-bottom: 56px; }
.section__eyebrow { font-size: 15px; font-weight: 500; color: var(--accent); letter-spacing: .02em; }
.section__title { margin-top: 10px; font-size: 38px; font-weight: 400; line-height: 1.3; letter-spacing: -.03em; color: var(--ink); }
.section__title b { font-weight: 800; color: var(--brand); }
.section__title::after { content: ""; display: block; width: 40px; height: 2px; margin: 24px auto 0; background: var(--brand); }
.section__desc { max-width: 720px; margin: 24px auto 0; font-size: 17px; color: var(--ink-soft); }
.section__more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .section__title { font-size: 27px; }
  .section__title::after { margin-top: 18px; }
  .section__desc { font-size: 15px; text-align: left; }
}

/* ---------- 1. 메인 비주얼 ---------- */
.hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: calc(100svh - var(--header-h)); max-height: 960px;
  color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.hero__bg { position: absolute; inset: 0; background: transparent; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.55) 100%);
}
.hero__bg.is-missing::after { inset: 16px 16px auto auto; display: block; padding: 6px 10px; border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.6); font-size: 12px; z-index: 2; }
.hero__content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 96px; }
.hero__eyebrow { font-size: 17px; font-weight: 500; opacity: .9; letter-spacing: .04em; }
.hero__title { margin-top: 14px; font-size: 64px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.hero__copy { margin-top: 18px; font-size: 22px; font-weight: 400; opacity: .95; }
.hero__stats { display: flex; justify-content: center; gap: 0; margin-top: 40px; }
.hero__stats li { padding: 0 32px; border-left: 1px solid rgba(255,255,255,.35); }
.hero__stats li:first-child { border-left: 0; }
.hero__stats strong { display: block; font-size: 28px; font-weight: 800; }
.hero__stats span { font-size: 14px; opacity: .85; }
.hero__cta { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.hero__notice { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; margin: 0; padding: 0 20px; font-size: 12px; color: rgba(255,255,255,.7); }
@media (max-width: 900px) {
  .hero { min-height: calc(88svh - var(--header-h)); }
  .hero__content { padding-bottom: 80px; }
  .hero__eyebrow { font-size: 14px; }
  .hero__title { font-size: 40px; }
  .hero__copy { font-size: 17px; }
  .hero__stats { margin-top: 28px; }
  .hero__stats li { padding: 0 14px; }
  .hero__stats strong { font-size: 19px; }
  .hero__stats span { font-size: 12px; }
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 320px; margin: 32px auto 0; }
}

/* 이미지형 메인: 조감도에 현장명·카피가 이미 들어 있을 때. 글자는 화면에서 숨기고 이미지만 보여준다
   모바일은 이미지 속 글자 부분이 보이도록 잘라서 키운다 (--hero-focus: 가로 기준 위치) */
.hero--image { display: block; min-height: 0; max-height: none; background: var(--ph); }
.hero--image .hero__bg { position: relative; inset: auto; }
.hero--image .hero__bg::before { display: none; }
.hero--image .hero__bg img { width: 100%; height: auto; }
.hero--image .hero__bg.is-missing { aspect-ratio: 16 / 9; }
.hero--image .hero__notice { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .hero--image .hero__bg img { height: min(64svh, 440px); object-fit: cover; object-position: var(--hero-focus, 50%) center; }
}

/* ---------- 2. 입지환경 ---------- */
.location__map { aspect-ratio: 14 / 9; border-radius: var(--radius); }
.location__map.media--full, .overview__img.media--full { aspect-ratio: auto; max-width: 1100px; margin-left: auto; margin-right: auto; border-radius: 0; }
.location__map.media--full + .notice { max-width: 1100px; margin-left: auto; margin-right: auto; }
.points { margin-top: 56px; padding: 40px 48px; background: var(--bg-tint); border-radius: var(--radius); }
.section--tint .points { background: #fff; }
.point { display: grid; grid-template-columns: 56px 1fr 280px; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.point:last-child { border-bottom: 0; }
.point__icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--brand); border-radius: 50%; color: var(--brand); }
.point__icon svg { width: 26px; height: 26px; }
.point__title { font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.point__text { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.point__img { aspect-ratio: 16 / 10; border-radius: 4px; }
@media (max-width: 900px) {
  .points { margin-top: 32px; padding: 8px 20px; }
  .point { grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
  .point__icon { width: 44px; height: 44px; }
  .point__icon svg { width: 20px; height: 20px; }
  .point__title { font-size: 18px; }
  .point__img { grid-column: 1 / -1; }
}

/* ---------- 프리미엄 · 커뮤니티 (통이미지) ---------- */
.feature__img.media--full { max-width: 1100px; margin-left: auto; margin-right: auto; }
.feature__img.media--full + .notice { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* ---------- 3. 사업개요 ---------- */
.overview__img { aspect-ratio: 16 / 8; border-radius: var(--radius); margin-bottom: 40px; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--brand); font-size: 16px; }
.spec-table th, .spec-table td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 200px; background: var(--bg-tint); font-weight: 700; color: var(--brand); text-align: center; }
.section--tint .spec-table th { background: #ece7df; }
.section--tint .spec-table td { background: #fff; }
@media (max-width: 900px) {
  .overview__img { margin-bottom: 24px; }
  .spec-table { font-size: 14px; }
  .spec-table th, .spec-table td { padding: 13px 12px; }
  .spec-table th { width: 92px; }
}

/* ---------- 4. 세대안내 ---------- */
.units__lead { margin-bottom: 28px; text-align: center; font-size: 17px; font-weight: 600; color: var(--brand); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tabs__btn {
  min-width: 84px; height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 15px; font-weight: 700; color: var(--ink-soft); transition: .2s;
}
.tabs__btn:hover { border-color: var(--brand); color: var(--brand); }
.tabs__btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.type-card { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.type-card__info { display: flex; flex-direction: column; justify-content: center; padding: 48px 40px; background: var(--brand); color: #fff; }
.type-card__name { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.type-card__name small { margin-left: 4px; font-size: 24px; font-weight: 600; }
.type-card__count { display: inline-block; align-self: flex-start; margin-top: 20px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 15px; font-weight: 700; }
.type-card__spec { margin-top: 28px; font-size: 15px; }
.type-card__spec div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); }
.type-card__spec dt { opacity: .75; }
.type-card__spec dd { font-weight: 700; }
.type-card__plan { aspect-ratio: 1 / 1; max-height: 620px; width: 100%; background: #fff; }
.type-card__plan img { object-fit: contain; padding: 24px; }
.type-card__plan.is-missing { background: var(--ph); }
/* 평면도 이미지에 면적·세대수가 이미 들어 있을 때: 정보 칸 없이 이미지만 */
.type-card--image { display: block; max-width: 900px; margin: 0 auto; border: 0; border-radius: 0; }
@media (max-width: 900px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 24px; padding: 0 20px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__btn { flex: none; min-width: 72px; height: 40px; font-size: 14px; }
  .type-card { grid-template-columns: 1fr; }
  .type-card__info { padding: 28px 24px; }
  .type-card__name { font-size: 44px; }
  .type-card__spec { margin-top: 20px; }
}

/* ---------- 7. 관심고객 등록 · 방문예약 (한 줄 박스 2개) ---------- */
#apply .section__desc { text-align: center; }
.apply__tel { font-weight: 800; color: var(--brand); }
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.apply__box {
  --box-bg: var(--brand); --box-btn: var(--accent); --box-btn-ink: var(--accent-ink);
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--box-bg); color: #fff; box-shadow: 0 20px 50px rgba(20,27,35,.12);
}
.apply__box--visit { --box-bg: var(--visit); --box-btn: #ffffff; --box-btn-ink: var(--visit); }
.apply__head { padding: 40px 40px 0; }
.apply__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; opacity: .65; }
.apply__title { margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.apply__desc { margin-top: 8px; font-size: 15px; opacity: .8; }
.apply__info { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; }
.apply__info div { display: flex; gap: 12px; margin-top: 4px; }
.apply__info dt { flex: none; width: 70px; opacity: .65; }
.apply__info a { text-decoration: underline; text-underline-offset: 3px; }
.apply__submit { margin-top: auto; background: var(--box-btn); color: var(--box-btn-ink); }
@media (max-width: 900px) {
  .apply { grid-template-columns: 1fr; gap: 20px; }
  .apply__head { padding: 28px 22px 0; }
  .apply__title { font-size: 25px; }
}

.form { padding: 48px 44px; }
.form__row { margin-bottom: 18px; }
.form__row > label, .form__label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.form__row > label em, .form__label em { color: var(--accent); font-style: normal; }
.form input[type="text"], .form input[type="tel"], .form input[type="date"], .form select {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 16px;
}
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b8f96' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.form input:focus, .form select:focus { outline: none; border-color: var(--brand); }
.form [aria-invalid="true"] { border-color: #d14343 !important; }
.form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__agree { margin: 26px 0 20px; }
.privacy-box {
  height: 120px; overflow-y: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg-tint); font-size: 13px; color: var(--ink-soft); line-height: 1.6;
}
.privacy-box li { margin-top: 2px; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.form__msg { min-height: 1.5em; margin-bottom: 10px; font-size: 14px; }
.form__msg.is-error { color: #d14343; }
.form__msg.is-ok { color: #2e7d4f; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 색 박스 안의 폼 */
.apply__box .form { flex: 1; display: flex; flex-direction: column; padding: 28px 40px 40px; }
.apply__box .form__row > label, .apply__box .form__label { color: #fff; }
.apply__box .form__row > label em, .apply__box .form__label em { color: #f1d9b0; }
.apply__box .form input[type="text"], .apply__box .form input[type="tel"],
.apply__box .form input[type="date"], .apply__box .form select { border-color: transparent; color: var(--ink); }
.apply__box .form input:focus, .apply__box .form select:focus { border-color: var(--box-btn); box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.apply__box .privacy-box { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); }
.apply__box .check { color: #fff; }
.apply__box .form__agree { margin-bottom: 16px; }
.apply__box .form__msg.is-error { color: #ffc2c2; }
.apply__box .form__msg.is-ok { color: #c6f1d3; }
@media (max-width: 900px) {
  .apply__box .form { padding: 22px 22px 28px; }
}

/* ---------- 푸터 ---------- */
.footer { padding: 56px 0 48px; background: var(--brand-dark); color: rgba(255,255,255,.62); font-size: 13px; }
.footer__name { font-size: 18px; font-weight: 800; color: #fff; }
.footer__links { display: flex; gap: 16px; margin-top: 14px; }
.footer__links button { padding: 0; border: 0; background: none; color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer__info { margin-top: 16px; line-height: 1.9; }
.footer__info span + span::before { content: "|"; margin: 0 10px; opacity: .4; }
.footer__disclaimer { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); line-height: 1.7; }
.footer__copy { margin-top: 16px; opacity: .7; }
@media (max-width: 900px) {
  .footer { padding-bottom: calc(40px + var(--quickbar-h)); }
  .footer__info span { display: block; }
  .footer__info span + span::before { display: none; }
}

/* ---------- 개인정보처리방침 대화상자 ---------- */
.policy { width: min(640px, calc(100% - 32px)); max-height: 80vh; padding: 0; border: 0; border-radius: var(--radius); }
.policy::backdrop { background: rgba(0,0,0,.5); }
.policy__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.policy__head h2 { font-size: 18px; }
.policy__head button { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-soft); }
.policy__body { padding: 20px 24px 28px; font-size: 14px; color: var(--ink-soft); }
.policy__body h3 { margin: 18px 0 6px; font-size: 15px; color: var(--ink); }
.policy__body h3:first-child { margin-top: 0; }

/* ---------- 이벤트 팝업 (CONFIG.POPUP_ENABLED로 켜고 끔) ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.55); }
.popup__box { width: min(420px, 100%); background: #fff; border-radius: var(--radius); overflow: hidden; }
.popup__img { display: block; }
.popup__img.is-missing { aspect-ratio: 4 / 5; }
.popup__body { padding: 28px 24px 20px; text-align: center; }
.popup__eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.popup__title { margin: 8px 0 10px; font-size: 26px; line-height: 1.3; color: var(--brand); }
.popup__text { margin-bottom: 20px; font-size: 15px; color: var(--ink-soft); }
.popup__foot { display: flex; border-top: 1px solid var(--line); }
.popup__foot button { flex: 1; height: 48px; border: 0; background: #fff; font-size: 14px; color: var(--ink-soft); }
.popup__foot button + button { border-left: 1px solid var(--line); }

/* ---------- 모바일 하단 고정 바 ---------- */
.quickbar { display: none; }
@media (max-width: 900px) {
  .quickbar {
    position: fixed; inset: auto 0 0; z-index: 40; display: flex; height: var(--quickbar-h);
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .quickbar__item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--brand); }
  .quickbar__item svg { width: 18px; height: 18px; }
  .quickbar__item { font-size: 15px; }
  .quickbar__item--sub { background: var(--brand); color: #fff; }
  .quickbar__item--main { background: var(--accent); color: var(--accent-ink); }
}

/* =========================================================
   덕계 V2 (12/3) — 기본형에 더한 것
   ========================================================= */
.hero__bg img { object-position: var(--hero-focus, 50%) center; }
/* 계약 조건 띠 (메인 바로 아래) */
.terms { background: var(--brand-dark); color: #fff; padding: 34px 0 28px; }
.terms__list { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.terms__list li { padding: 6px 10px; border-left: 1px solid rgba(255,255,255,.16); }
.terms__list li:first-child { border-left: 0; }
.terms__list span { display: block; font-size: 15px; color: rgba(255,255,255,.75); }
.terms__list b { display: block; margin-top: 4px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
.terms__note { margin-top: 18px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); }
@media (max-width: 760px) {
  .terms { padding: 24px 0 20px; }
  .terms__list { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .terms__list li:nth-child(3) { border-left: 0; }
  .terms__list span { font-size: 13px; }
  .terms__list b { font-size: 22px; }
}
/* 입지 장점 사진 자리 = 교육자료 장면(글자 포함) → 크게, 자르지 않음 */
.point { grid-template-columns: 56px 1fr 460px; }
.point__img--brief { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); }
.point__img--brief img { height: auto; object-fit: contain; }
@media (max-width: 1000px) { .point { grid-template-columns: 44px 1fr; } .point__img--brief { grid-column: 1 / -1; } }
.overview__img { margin-bottom: 28px; }
.notice a { color: var(--brand); text-decoration: underline; }
/* 헤더: 현장명이 길어(13자) 1440px에서 메뉴와 겹침 → 로고 줄이고 고정, 1361~1640px에선 오른쪽 등록·예약 칸 숨김(메뉴에 같은 항목 있음) */
.header__logo { flex-shrink: 0; font-size: 22px; }
.header__logo-mark { height: 20px; }
@media (min-width: 1361px) and (max-width: 1640px) { .header__cta { display: none; } }
@media (max-width: 900px) { .header__logo { font-size: 17px; } .header__logo-mark { height: 15px; } }
@media (max-width: 380px) { .header__logo-mark { display: none; } }
