/* =============================================================
   보스크남산 (BOSQUE NAMSAN) — 분양 안내 · 리가
   theme.css  ·  아이보리(상아색) 라이트 테마
   - 유현준 교수 설계 · 스트락스 인테리어 · 남산/하얏트 입지.
   - 색은 전부 역할기반 토큰. index.html에 hex 하드코딩 금지.
   - 표준/르엘 대비 델타는 theme2.md 참고.
   ============================================================= */

:root{
  /* 1. 아이보리 캔버스 — 섹션 명도차용 3단계 */
  --canvas:    #F3EEE1;   /* 페이지 기본(상아) */
  --canvas-2:  #ECE3D0;   /* 한 단계 진한 존 */
  --canvas-3:  #F9F5EC;   /* 한 단계 밝은 존 */
  --ink-deep:  #23201C;   /* 히어로/푸터 다크 */

  /* 2. 텍스트 (차콜 잉크) */
  --ink:     #2A2620;                 /* 본문 */
  --muted:   rgba(42,38,32,0.64);     /* 보조 */
  --faint:   rgba(42,38,32,0.44);     /* 메타·면책 */
  --on-dark: #F5F1E7;                 /* 다크(히어로·푸터) 위 본문 */
  --muted-dark: rgba(245,241,231,0.62);

  /* 3. 악센트 (웜 브론즈 + 남산 세이지) */
  --accent:       #A6875A;   /* 브론즈/토프 */
  --accent-deep:  #856A40;   /* 진한 브론즈(텍스트 대비) */
  --sage:         #5E7259;   /* 남산·자연 힌트 */

  /* 4. 서피스 (카드) */
  --surface:      #FBF8F1;                 /* 카드 기본 */
  --surface-2:    rgba(255,255,255,0.6);   /* 반투명 프로스트 */
  --line:         rgba(42,38,32,0.13);     /* 헤어라인 */
  --line-soft:    rgba(42,38,32,0.08);

  /* 5. 그림자 (소프트 뉴트럴) */
  --shadow:      0 18px 44px rgba(60,50,35,0.14), 0 4px 12px rgba(60,50,35,0.08);
  --shadow-soft: 0 8px 24px rgba(60,50,35,0.10);

  /* 6. 모서리 */
  --radius:      20px;
  --radius-lg:   28px;
  --radius-sm:   14px;
  --radius-pill: 999px;

  /* 7. 레이아웃 */
  --maxw: 1180px;
  --pad:  22px;

  /* 8. 폰트 */
  --head: "Noto Serif KR", "Nanum Myeongjo", serif;
  --body: "Pretendard", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
}

/* ─────────────── 리셋 & 기본 ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px;
  line-height: 1.7;
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .floating-bar { padding-bottom: env(safe-area-inset-bottom); }
}
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.34; word-break: keep-all; letter-spacing: -0.01em; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─────────────── 레이아웃 ─────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; }
.sec       { padding: 76px var(--pad); position: relative; }
.sec-t1    { background: var(--canvas); }
.sec-t2    { background: var(--canvas-2); }
.sec-t3    { background: var(--canvas-3); }
.sec + .sec { border-top: 1px solid var(--line-soft); }
.sec::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 140px;
  background: radial-gradient(70% 100% at 50% 0, rgba(166,135,90,0.07), transparent); pointer-events: none; }

/* 색 역할 유틸 */
.t-ink   { color: var(--ink); }
.t-muted { color: var(--muted); }
.t-faint { color: var(--faint); }
.t-accent { color: var(--accent-deep); }
.t-sage  { color: var(--sage); }

.label {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 18px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--accent-deep);
}
.sec-head { margin-bottom: 8px; }
.sec-head h2 { font-size: 30px; margin-bottom: 12px; color: var(--ink); font-weight: 300; }
.sec-head h2 em { font-style: normal; color: var(--accent-deep); }
.sec-head p  { font-size: 15.5px; font-weight: 300; line-height: 1.8; color: var(--muted); word-break: keep-all; }

.subhead { font-family: var(--head); font-size: 20px; font-weight: 300; color: var(--ink); margin-bottom: 8px; word-break: keep-all; }
.subhead em { font-style: normal; color: var(--accent-deep); }
.subtext { font-size: 14.5px; font-weight: 300; color: var(--muted); line-height: 1.8; word-break: keep-all; }

/* ─────────────── 버튼 ─────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; text-align: center; text-decoration: none;
  border: none; cursor: pointer; font-family: var(--body); font-weight: 600;
  font-size: 16.5px; letter-spacing: 0.04em; min-height: 58px; padding: 17px 20px;
  border-radius: var(--radius-pill); line-height: 1.3;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-gold  { background: var(--accent); color: #FFF; box-shadow: var(--shadow-soft); }
.btn-gold:hover { background: var(--accent-deep); }
.btn-glass { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-glass:hover { background: #fff; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-cta-block { margin-top: 40px; }

/* ─────────────── 모션 ─────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } .hero-bg{ animation:none !important; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes pulse { 0%,100%{opacity:.35} 50%{opacity:1} }

/* ─────────────── 햄버거 네비 ─────────────── */
.nav-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.nav-brand { font-family: var(--head); font-size: 15px; letter-spacing: 0.14em; color: var(--on-dark); text-decoration: none;
  padding: 9px 16px; border-radius: var(--radius-pill); background: rgba(35,32,28,0.5); border: 1px solid rgba(245,241,231,0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 12px; border-radius: var(--radius-pill);
  background: rgba(35,32,28,0.5); border: 1px solid rgba(245,241,231,0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--on-dark); transition: all .3s ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* 스크롤 시 네비 배경(라이트) — 히어로 지나면 밝은 배경 */
.nav-bar.scrolled .nav-brand, .nav-bar.scrolled .nav-hamburger { background: var(--surface); border-color: var(--line); }
.nav-bar.scrolled .nav-brand { color: var(--accent-deep); }
.nav-bar.scrolled .nav-hamburger span { background: var(--ink); }

.nav-drawer { position: fixed; inset: 0; z-index: 199; background: rgba(35,32,28,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; flex-direction: column; justify-content: center;
  padding: 40px 36px; transform: translateX(100%); transition: transform .38s cubic-bezier(.4,0,.2,1); }
.nav-drawer.open { transform: translateX(0); }
.nav-menu-item { display: block; padding: 19px 0; border-bottom: 1px solid rgba(245,241,231,0.12);
  font-family: var(--head); font-size: 22px; font-weight: 300; color: var(--on-dark); text-decoration: none; letter-spacing: 0.03em; word-break: keep-all; }
.nav-menu-item:first-child { border-top: 1px solid rgba(245,241,231,0.12); }
.nav-menu-item.accent { color: var(--accent); border-bottom: none; margin-top: 10px; }

/* ─────────────── 히어로 (풀블리드, 이미지 위 화이트텍스트) ─────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 22s ease-out forwards; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0.32) 0%, rgba(20,18,15,0.5) 55%, rgba(20,18,15,0.82) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 108px var(--pad) 48px; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark);
  padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(20,18,15,0.35); border: 1px solid rgba(245,241,231,0.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 22px; }
.hero-brand { font-family: var(--head); font-size: 34px; font-weight: 300; color: var(--on-dark); display: block; margin-bottom: 16px; letter-spacing: 0.14em; }
.hero-hook { font-family: var(--head); font-size: 22px; font-weight: 300; line-height: 1.6; color: var(--on-dark); word-break: keep-all; margin-bottom: 30px; }
.hero-hook em { font-style: normal; color: #E7D3AC; }
.hero-specs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.spec-item { display: flex; align-items: center; gap: 12px; background: rgba(20,18,15,0.28); border: 1px solid rgba(245,241,231,0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 13px 16px; border-radius: var(--radius-pill); }
.spec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.spec-text { font-size: 14.5px; line-height: 1.5; font-weight: 300; color: var(--on-dark); word-break: keep-all; }
.spec-text em { font-style: normal; color: #E7D3AC; font-weight: 400; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.hero-cta .btn-glass { background: rgba(20,18,15,0.35); color: var(--on-dark); border-color: rgba(245,241,231,0.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-cta .btn-glass:hover { background: rgba(20,18,15,0.5); }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; }
.scroll-hint span { font-size: 11px; letter-spacing: 0.2em; color: var(--on-dark); text-transform: uppercase; }
.scroll-arrow { width: 1px; height: 30px; background: linear-gradient(to bottom, var(--on-dark), transparent); animation: pulse 2s ease-in-out infinite; }

/* ─────────────── 미디어(이미지) ─────────────── */
.media-16x9 { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; border-radius: var(--radius); border: 1px solid var(--line); }
.zoomable { cursor: zoom-in; position: relative; }
.zoomable::after { content: "⊕"; position: absolute; bottom: 10px; right: 10px; width: 30px; height: 30px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.85); border: 1px solid var(--line); color: var(--accent-deep); font-size: 16px;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ─────────────── 카드 그리드 (커뮤니티/특징) ─────────────── */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 17px 16px; box-shadow: var(--shadow-soft); }
.feature-cell .tag { font-size: 10.5px; letter-spacing: 0.12em; color: var(--accent-deep); text-transform: uppercase; margin-bottom: 7px; display: block; }
.feature-cell .name { font-family: var(--head); font-size: 16px; font-weight: 400; color: var(--ink); margin-bottom: 5px; }
.feature-cell .desc { font-size: 12.5px; font-weight: 300; color: var(--muted); line-height: 1.55; }

/* ─────────────── 건축가(유현준) 블록 ─────────────── */
.architect { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow-soft); }
.architect-img { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: var(--radius); border: 1px solid var(--line); cursor: zoom-in; }
.architect-body .k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); display: block; margin-bottom: 8px; }
.architect-body .name { font-family: var(--head); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 10px; word-break: keep-all; }
.architect-body .name em { font-style: normal; color: var(--accent-deep); }
.architect-body p { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; word-break: keep-all; }
.partner-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.partner-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: var(--radius-pill);
  background: rgba(166,135,90,0.1); border: 1px solid rgba(166,135,90,0.32); font-size: 12.5px; color: var(--accent-deep); font-weight: 500; letter-spacing: 0.02em; }

/* ─────────────── 슬라이더 (평형 타입) ─────────────── */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.slider-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; cursor: zoom-in; }
.slide-cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 8px 15px; border-radius: var(--radius-pill);
  background: rgba(20,18,15,0.6); border: 1px solid rgba(245,241,231,0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; letter-spacing: 0.12em; color: #F5EEDF; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.82); border: 1px solid var(--line); color: var(--ink); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.slider-btn.prev { left: 12px; } .slider-btn.next { right: 12px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; gap: 7px; justify-content: center; }
.slider-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.65); cursor: pointer; transition: all .3s; }
.slider-dots span.active { background: var(--accent); width: 22px; border-radius: var(--radius-pill); }

/* ─────────────── 타입 카드 ─────────────── */
.type-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.type-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px; box-shadow: var(--shadow-soft); }
.type-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.type-name { font-family: var(--head); font-size: 21px; font-weight: 400; color: var(--ink); }
.type-name .en { font-size: 12px; letter-spacing: 0.16em; color: var(--accent-deep); text-transform: uppercase; margin-left: 8px; }
.type-count { font-size: 12.5px; font-weight: 600; color: #fff; background: var(--accent); padding: 4px 11px; border-radius: var(--radius-pill); white-space: nowrap; }
.type-size { font-size: 14px; font-weight: 400; color: var(--accent-deep); margin-bottom: 6px; }
.type-desc { font-size: 13.5px; font-weight: 300; color: var(--muted); line-height: 1.7; word-break: keep-all; }

/* ─────────────── 개요 팩트표 ─────────────── */
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-top: 8px; box-shadow: var(--shadow-soft); }
.spec-row { display: flex; border-bottom: 1px solid var(--line-soft); }
.spec-row:last-child { border-bottom: none; }
.spec-row dt { flex: 0 0 104px; padding: 15px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent-deep); background: rgba(166,135,90,0.07); }
.spec-row dd { flex: 1; padding: 15px 16px; font-size: 14px; font-weight: 300; color: var(--ink); line-height: 1.6; word-break: keep-all; }

/* 통계 스탯 */
.value-stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 32px; }
.value-stat .num { font-family: var(--head); font-size: 42px; font-weight: 300; color: var(--accent-deep); }
.value-stat .desc { font-size: 14px; font-weight: 300; color: var(--muted); }
.merit-list { display: flex; flex-direction: column; gap: 10px; }
.merit-item { padding: 20px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; align-items: flex-start; gap: 16px; }
.merit-num { font-family: var(--head); font-size: 13px; font-weight: 400; color: var(--accent); padding-top: 3px; flex-shrink: 0; width: 22px; }
.merit-title { font-family: var(--head); font-size: 19px; font-weight: 400; color: var(--ink); margin-bottom: 5px; word-break: keep-all; }
.merit-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.7; word-break: keep-all; }

/* 주차 스탯 밴드 */
.parking-band { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); margin-top: 20px; }
.parking-num { font-family: var(--head); font-size: 30px; font-weight: 300; color: var(--accent-deep); line-height: 1; }
.parking-num small { font-size: 15px; }
.parking-label { font-size: 13px; font-weight: 300; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.parking-div { width: 1px; align-self: stretch; background: var(--line); }

/* ─────────────── 갤러리 ─────────────── */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-grid > div { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: zoom-in; }
.gallery-grid > div.wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(166,135,90,0.09); border: 1px solid rgba(166,135,90,0.28); font-size: 13px; font-weight: 300; color: var(--muted); word-break: keep-all; line-height: 1.6; }

/* ─────────────── 입지 리스트 ─────────────── */
.infra-list { display: flex; flex-direction: column; gap: 8px; }
.infra-item { padding: 17px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.infra-name { font-size: 15px; font-weight: 300; color: var(--ink); word-break: keep-all; }
.infra-time { font-family: var(--head); font-size: 18px; font-weight: 400; color: var(--accent-deep); white-space: nowrap; }

.disclaimer { font-size: 12px; font-weight: 300; color: var(--faint); text-align: center; letter-spacing: 0.03em; }

/* ─────────────── 신청 폼 ─────────────── */
.form-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 24px; font-weight: 400; color: var(--accent-deep); letter-spacing: 0.04em; text-decoration: none; margin-bottom: 26px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; margin-top: 20px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 15px; }
.form-label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.form-input, .form-textarea { display: block; width: 100%; padding: 15px 17px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 16.5px; font-weight: 300; color: var(--ink); outline: none; min-height: 56px; -webkit-appearance: none; appearance: none; font-family: var(--body); }
.form-textarea { min-height: 96px; resize: none; line-height: 1.6; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--faint); }
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-submit { width: 100%; padding: 19px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: 0.06em; text-align: center; border: none; border-radius: var(--radius-pill); cursor: pointer; min-height: 60px; margin-top: 10px; font-family: var(--body); box-shadow: var(--shadow-soft); }
.form-notice { font-size: 12px; font-weight: 300; color: var(--faint); line-height: 1.7; margin-top: 16px; text-align: center; word-break: keep-all; }
.contact-row { display: flex; gap: 8px; margin-top: 12px; }
.contact-btn { flex: 1 1 0; min-width: 0; padding: 15px 8px; font-family: var(--body); font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-align: center; white-space: nowrap; border: 1px solid var(--line); background: var(--canvas-2); color: var(--ink); border-radius: var(--radius-pill); cursor: pointer; text-decoration: none; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.contact-btn .ico { font-size: 15px; line-height: 1; }
@media (max-width: 360px){ .contact-btn { font-size: 12px; padding: 15px 4px; gap: 3px; } }
.privacy-box { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 16px; overflow: hidden; background: #fff; }
.privacy-head { display: flex; align-items: center; gap: 11px; padding: 16px; cursor: pointer; }
.privacy-check { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.privacy-head .ttl { font-size: 14px; font-weight: 600; color: var(--ink); }
.privacy-arrow { font-size: 12px; color: var(--muted); transition: transform .3s; margin-left: auto; }
.privacy-detail { display: none; padding: 0 16px 16px; border-top: 1px solid var(--line-soft); }
.privacy-detail .body { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.85; word-break: keep-all; padding-top: 14px; }
.privacy-detail strong { color: var(--accent-deep); }

/* ─────────────── 푸터 ─────────────── */
.site-footer { background: var(--ink-deep); padding: 44px var(--pad); }
.site-footer .brand { font-family: var(--head); font-size: 19px; color: #E7D3AC; letter-spacing: 0.1em; margin-bottom: 16px; }
.site-footer p { font-size: 13px; font-weight: 300; color: var(--muted-dark); line-height: 1.95; word-break: keep-all; }
.site-footer .legal { margin-top: 18px; font-size: 12px; color: rgba(245,241,231,0.4); line-height: 1.85; }

/* ─────────────── 플로팅 바 / TOP ─────────────── */
.floating-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 100; gap: 6px; padding: 8px; background: rgba(243,238,225,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.float-btn { flex: 1; padding: 14px 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-align: center; border: none; cursor: pointer; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 5px; text-decoration: none; font-family: var(--body); border-radius: var(--radius-pill); }
.float-btn.call, .float-btn.sms { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.float-btn.apply { flex: 1.3; background: var(--accent); color: #fff; }
.to-top { position: fixed; right: 16px; bottom: 80px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--accent-deep); border: 1px solid var(--line); box-shadow: var(--shadow-soft); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; font-size: 20px; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ─────────────── 이미지 모달 ─────────────── */
.img-modal { display: none; position: fixed; inset: 0; background: rgba(25,22,18,0.94); z-index: 500; overflow: auto; -webkit-overflow-scrolling: touch; }
.img-modal.open { display: block; }
.img-modal .close { position: fixed; top: 16px; right: 16px; z-index: 501; color: #fff; font-size: 26px; cursor: pointer; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); }
.img-modal .frame { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.img-modal img { width: 100%; max-width: 1000px; height: auto; border-radius: var(--radius); }

/* =============================================================
   반응형
   ============================================================= */
@media (min-width: 768px){
  :root{ --pad: 48px; }
  html { font-size: 18px; }
  .sec { padding: 108px var(--pad); }
  .sec-head h2 { font-size: 42px; }
  .hero-inner { padding: 128px var(--pad) 64px; }
  .hero-brand { font-size: 46px; }
  .hero-hook { font-size: 27px; max-width: 700px; }
  .hero-specs { max-width: 560px; }
  .hero-cta { flex-direction: row; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .architect { flex-direction: row; align-items: center; }
  .architect-img { width: 40%; flex-shrink: 0; aspect-ratio: 3/4; }
  .type-list { display: grid; grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid > div.wide { grid-column: span 3; }
  .slide { aspect-ratio: 16/8; }
  .infra-list { display: grid; grid-template-columns: 1fr 1fr; }
  .spec-row dt { flex-basis: 150px; }
  .form-wrap { max-width: 580px; margin: 0 auto; }
  .btn-cta-block { max-width: 380px; margin-left: auto; margin-right: auto; }
  .floating-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (min-width: 1024px){
  .sec-head h2 { font-size: 48px; }
  .hero-hook { font-size: 30px; }
}
