/* ============================================================
   루체하임 시그니처 — 분양 랜딩
   색상 토큰 / 레이아웃 / 섹션 스타일
   ============================================================ */

:root {
  /* 이안(iaan) BI 에서 추출한 색.
     워드마크의 딥 페트롤 틸 #004554 와 지붕 심볼의 라임 그린 #8ec43d 가 기준입니다. */
  --brand-900: #00212a;   /* 가장 어두운 바탕 */
  --brand-800: #00323e;
  --brand-700: #004554;   /* iaan 워드마크 정색 */
  --brand-600: #0a6072;
  --accent-500: #8ec43d;  /* iaan 심볼 라임 — 어두운 배경·면 채우기용 */
  --accent-400: #a5d45e;  /* 어두운 배경 위 글자용 */
  --accent-ink: #54781f;  /* 밝은 배경 위 글자용 (라임 원색은 대비 2.08 로 미달) */
  --accent-100: #eef7dd;

  /* 색을 절제하고 무채색을 주조로 씁니다. 브랜드 색은 요점에만 씁니다. */
  --ink-900: #1c1f21;     /* 본문 제목 */
  --ink-700: #4a5052;     /* 본문 */
  --ink-500: #6b7073;     /* 보조 — 흰 4.98 / 페이퍼 4.63 (AA) */
  --ink-300: #b4b9bb;
  --line: #e6e8e9;
  --bg: #ffffff;
  --bg-soft: #f6f7f7;     /* 색기 뺀 페이퍼 */

  --header-h: 56px;
  --ticker-h: 38px;
  --quick-h: 58px;

  --max: 1200px;

  /* 간격 — 4px 배수 한 벌로 통일 (측정 결과 24종이 흩어져 있었습니다) */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 20px;  --s6: 24px;  --s7: 32px;  --s8: 40px;
  --s9: 56px;  --s10: 72px; --s11: 96px;

  /* 모서리 — 4단계 (9종 → 4종) */
  --r-sm: 4px;    /* 버튼·태그 */
  --r-md: 8px;    /* 입력·작은 카드 */
  --r-lg: 14px;   /* 카드·이미지 */
  --r-pill: 999px;

  /* 그림자 — 2단계 + 포커스 (11종 → 3종) */
  --sh-card: 0 1px 2px rgba(28, 31, 33, 0.03);
  --sh-pop: 0 18px 48px rgba(0, 33, 42, 0.28);
  --sh-focus: 0 0 0 3px rgba(0, 69, 84, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* 제목도 본문과 같은 고딕을 쓰되 굵기·자간으로 위계를 만든다 */
  --display: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Malgun Gothic', system-ui, sans-serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Malgun Gothic', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--ticker-h)); }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: -0.015em;
  /* 한글은 단어 단위로 줄바꿈해야 자연스럽다 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--quick-h);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* ─────────────── 공통 섹션 헤더 ─────────────── */

.section { padding: 120px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--brand-900); color: #fff; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--accent-ink);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.section--dark .eyebrow,
.register .eyebrow,

.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: clamp(14px, 2.6vw, 16px);
  color: var(--ink-500);
  margin: 0;
  max-width: 640px;
}
.section--dark .section-desc { color: rgba(255, 255, 255, 0.76); }

.section-head { margin-bottom: 46px; }

/* 스크롤 등장 애니메이션 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .modal, .modal__box, .hero__scroll::after { animation: none !important; }
  .btn, .sig, .merit, .comm-card { transition: none !important; }
}

@media (max-width: 420px) {
  .brand__mark { font-size: 17px; letter-spacing: 0.1em; }
  .brand__name { display: none; }
}

@media (min-width: 900px) {
  .gnb { display: flex; }
  .header__tel { margin-left: 26px; }
}

@media (min-width: 900px) {
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(2, 18, 24, 0.42) 0%,
        rgba(2, 18, 24, 0.04) 16%,
        rgba(2, 18, 24, 0.08) 52%,
        rgba(2, 18, 24, 0.72) 100%),
      linear-gradient(96deg,
        rgba(2, 18, 24, 0.80) 0%,
        rgba(2, 18, 24, 0.52) 22%,
        rgba(2, 18, 24, 0.16) 40%,
        rgba(2, 18, 24, 0) 58%);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--gold { background: var(--accent-500); color: #241d0d; }
.btn--gold:hover { background: var(--accent-400); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn--green { background: var(--brand-800); color: #fff; }
.btn--green:hover { background: var(--brand-700); }
.btn--block { width: 100%; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ─────────────── 프리미엄 SIGNATURE 6 ─────────────── */

.sig-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .sig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sig {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 32px 24px 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.sig:hover { transform: translateY(-5px); border-color: rgba(142, 196, 61, 0.45); }
.sig__no { font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--accent-400); letter-spacing: 0.16em; }
.sig__title { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.028em; margin: 12px 0 8px; line-height: 1.4; }
.sig__desc { font-size: 14px; color: rgba(255, 255, 255, 0.74); margin: 0; line-height: 1.7; }

/* ─────────────── 입지환경 ─────────────── */

.loc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.loc {
  position: relative;
  border-radius: var(--r-lg);
  padding: 32px 24px 32px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.loc::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-500), var(--brand-700));
}
.loc__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand-600); }
.loc__title { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.028em; margin: 8px 0 12px; }
.loc__title b { color: var(--brand-700); font-weight: 700; }
.loc__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.loc__list li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-700); }
.loc__list li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-500); }

/* 이미지 자리 표시 */
.ph {
  position: relative;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(0, 60, 74, 0.06), rgba(142, 196, 61, 0.12)),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0 12px, transparent 12px 24px);
  border: 1px dashed rgba(0, 60, 74, 0.25);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-500);
  font-size: 13px;
  min-height: 240px;
  padding: 20px;
}
.ph b { display: block; font-size: 14px; color: var(--brand-700); margin-bottom: 4px; }
.section--dark .ph { border-color: rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); }
.section--dark .ph b { color: var(--accent-400); }

/* ─────────────── UNIT PLAN ─────────────── */

.unit-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.unit-tab {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-500);
  transition: all 0.2s var(--ease);
}
.unit-tab[aria-selected='true'] { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

.unit-body { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .unit-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

.unit-views { display: grid; gap: 12px; }
@media (min-width: 520px) { .unit-views { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.unit-view {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px;
  text-align: center;
}
.unit-view img { width: 100%; height: auto; }
.unit-view figcaption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-top: 6px;
}

.unit-info { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 24px; }
.unit-info__type { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.028em; margin: 0; }
.unit-info__households { font-size: 14px; color: var(--ink-500); margin: 4px 0 20px; }
.unit-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.unit-table th, .unit-table td { padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.unit-table th { color: var(--ink-500); font-weight: 500; width: 42%; }
.unit-table td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.unit-table tr:last-child th, .unit-table tr:last-child td { border-bottom: 0; }
.unit-note { font-size: 12px; color: var(--ink-500); margin: 16px 0 0; line-height: 1.6; }

/* ─────────────── 커뮤니티 슬라이더 ─────────────── */

.comm-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 16px;
  scrollbar-width: thin;
}
.comm-card { flex: 0 0 clamp(230px, 70vw, 290px); scroll-snap-align: start; }
.comm-card .ph { min-height: 200px; margin-bottom: 16px; }
.comm-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.comm-card h4 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 4px; }
.comm-card p { font-size: 13px; color: rgba(255, 255, 255, 0.74); margin: 0; line-height: 1.65; }
.comm-hint { font-size: 12px; color: rgba(255, 255, 255, 0.62); text-align: center; margin: 0; }

/* ─────────────── 등록 폼 ─────────────── */

.register { background: var(--brand-900); color: #fff; }
.register__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .register__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } }

.form-card {
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  box-shadow: var(--sh-pop);
}
.form-card h3 { font-family: var(--display); font-size: 21px; margin: 0 0 4px; font-weight: 700; letter-spacing: -0.028em; }
.form-card p.form-card__desc { font-size: 13px; color: var(--ink-500); margin: 0 0 20px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.field label span { color: #e0483d; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink-900);
  background: #fbfbfa;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { height: auto; padding: 12px 12px; resize: vertical; min-height: 80px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  background: #fff;
  box-shadow: var(--sh-focus);
}
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }

.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-700); margin: 4px 0 16px; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-700); flex: none; }
.agree a { text-decoration: underline; color: var(--ink-500); }

.form-msg { font-size: 13px; margin: 12px 0 0; min-height: 18px; }
.form-msg.is-error { color: #e0483d; }
.form-msg.is-ok { color: var(--brand-600); }

.register__copy .section-title { color: #fff; }
.register__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.register__stat { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-md); padding: 16px; text-align: center; }
.register__stat b { display: block; font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent-400); }
.register__stat span { font-size: 12px; color: rgba(255, 255, 255, 0.72); }

/* ─────────────── 푸터 ─────────────── */

.footer { background: #001820; color: rgba(255, 255, 255, 0.66); padding: 40px 0 40px; font-size: 13px; }
.footer__brand { font-family: var(--display); font-size: 18px; color: var(--accent-400); letter-spacing: 0.1em; margin: 0 0 16px; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 20px; padding: 0; list-style: none; }
.footer__notice { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; margin: 0; display: grid; gap: 4px; }
.footer__notice li { list-style: none; line-height: 1.65; color: rgba(255, 255, 255, 0.54); }
.footer__copy { margin: 24px 0 0; font-size: 11px; color: rgba(255, 255, 255, 0.3); }

/* ─────────────── 모달 / 팝업 / 토스트 ─────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 16, 13, 0.72);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.24s var(--ease);
}
.modal[hidden] { display: none; }
.modal__box {
  width: min(100%, 440px);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 24px 24px;
  position: relative;
  animation: popIn 0.3s var(--ease);
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--ink-500);
  font-size: 18px;
  display: grid;
  place-items: center;
}
.modal__close:hover { background: var(--bg-soft); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* 이벤트 팝업 */
.event-popup__visual {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--brand-900), var(--brand-700) 55%, #2f6d5b);
  color: #fff;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 16px;
}
.event-popup__visual i { font-style: normal; font-size: 11px; letter-spacing: 0.2em; color: var(--accent-400); }
.event-popup__visual h3 { font-family: var(--display); font-size: clamp(21px, 5.6vw, 26px); margin: 8px 0 8px; font-weight: 700; letter-spacing: -0.028em; }
.event-popup__visual p { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin: 0; }
.event-popup__foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-500); }
.event-popup__foot label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* 토스트 */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--quick-h) + 20px);
  transform: translate(-50%, 20px);
  z-index: 140;
  background: var(--ink-900);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--r-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ═════════════ 개발 호재 ═════════════ */

.hotspot-grid { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 760px) { .hotspot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hotspot {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}
.hotspot__label { font-size: 12px; letter-spacing: 0.14em; font-weight: 700; color: var(--accent-400); }
.hotspot__title { font-family: var(--display); font-size: clamp(21px, 3.8vw, 27px); font-weight: 700; letter-spacing: -0.028em; margin: 8px 0 4px; }
.hotspot__budget { font-size: 15px; color: var(--accent-400); font-weight: 700; margin: 0 0 16px; }
.hotspot__dl { margin: 0; display: grid; gap: 8px; }
.hotspot__row { display: grid; grid-template-columns: 68px 1fr; gap: 12px; align-items: baseline; }
.hotspot__row dt { font-size: 12px; color: rgba(255, 255, 255, 0.64); }
.hotspot__row dd { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.92); line-height: 1.6; }

/* ═════════════ 민간임대 혜택 ═════════════ */

.merit-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .merit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.merit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.merit:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.merit__mark {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-800);
  color: var(--accent-400);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
}
.merit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.merit li { font-size: 14px; font-weight: 700; color: var(--ink-700); line-height: 1.45; }

/* ═════════════ 공급가격 ═════════════ */

.price-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.price-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  flex: 1 1 190px;
}
.price-chip i { font-style: normal; display: block; font-size: 12px; font-weight: 700; color: var(--brand-600); letter-spacing: 0.06em; }
.price-chip b { display: block; font-size: 19px; font-weight: 700; margin-top: 5px; font-variant-numeric: tabular-nums; }
.price-chip span { font-size: 12px; color: var(--ink-500); }

.price-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.price-table th, .price-table td { padding: 12px 12px; text-align: right; white-space: nowrap; }
.price-table thead th {
  background: var(--brand-900);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: right;
}
.price-table thead th:first-child, .price-table tbody th { text-align: left; }
.price-table tbody th { font-weight: 700; color: var(--ink-900); }
.price-table tbody tr { border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: #fbfbf9; }
.price-table td { font-variant-numeric: tabular-nums; font-weight: 700; }
.price-table .is-key { color: var(--brand-700); font-weight: 700; }
.price-table .cell-sub { display: block; font-size: 11px; font-weight: 500; color: var(--ink-500); }

.price-foot { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.price-foot li { font-size: 12px; color: var(--ink-500); line-height: 1.6; padding-left: 14px; position: relative; }
.price-foot li::before { content: '※'; position: absolute; left: 0; color: var(--ink-300); }

.pay-flow { display: grid; gap: 8px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pay-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.pay-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 16px;
  position: relative;
}
.pay-step i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-ink); }
.pay-step b { display: block; font-size: 15px; font-weight: 700; margin: 4px 0 4px; }
.pay-step span { font-size: 12px; color: var(--ink-500); }
.pay-step--accent { background: var(--brand-900); border-color: var(--brand-900); color: #fff; }
.pay-step--accent span { color: rgba(255, 255, 255, 0.62); }

/* ═════════════ 사업 일정 ═════════════ */

.timeline { display: grid; gap: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-500), rgba(142, 196, 61, 0.15));
}
.tl-item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 12px 0; align-items: start; }
.tl-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-800);
  color: var(--accent-400);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  position: relative; z-index: 1;
  border: 2px solid var(--bg-soft);
}
.tl-item.is-done .tl-dot { background: var(--accent-500); color: #241d0d; }
.tl-body b { display: block; font-size: 17px; font-weight: 700; }
.tl-body span { font-size: 14px; color: var(--ink-500); }
/* 2단으로 펼치면 세로 연결선이 어긋나므로, 단계마다 개별 구분선을 쓴다 */
@media (min-width: 720px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .timeline::before { display: none; }
  .tl-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
  .tl-item:nth-last-child(-n + 2) { border-bottom: 0; }
}

/* 본문 이미지 공통 */
.section figure img { width: 100%; height: auto; }

/* ═════════════ 강조 표기 ═════════════
   숫자·핵심 조건처럼 눈에 먼저 들어와야 하는 말에만 씁니다.
   밝은 배경에서는 밑줄형 하이라이트, 어두운 배경에서는 골드 글자로 처리합니다. */

.hl {
  font-weight: 700;
  color: var(--brand-700);
  background: linear-gradient(transparent 62%, rgba(142, 196, 61, 0.3) 62%);
  padding: 0 0px;
}

.section--dark .hl,
.register .hl,
.footer .hl {
  color: var(--accent-400);
  background: none;
}

/* 값이 커서 그 자체로 눈에 띄어야 하는 수치 */
.price-chip b { color: var(--brand-800); }
.price-table .is-key { color: var(--brand-700); font-weight: 700; }
.price-table tbody th { color: var(--ink-900); font-weight: 700; }

/* ═════════════ 밝은 배경에서의 카드 ═════════════
   프리미엄·커뮤니티를 밝은 섹션으로 돌리면서, 어두운 배경 전제로
   만들어 둔 카드들이 밝은 곳에서도 성립하도록 변형을 둡니다. */

.section:not(.section--dark) .sig {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--sh-card);
}
.section:not(.section--dark) .sig:hover {
  border-color: var(--accent-500);
  box-shadow: var(--sh-card);
}
.section:not(.section--dark) .sig__no { color: var(--accent-ink); }
.section:not(.section--dark) .sig__title { color: var(--brand-800); }
.section:not(.section--dark) .sig__desc { color: var(--ink-500); }

.section:not(.section--dark) .comm-card h4 { color: var(--brand-800); }
.section:not(.section--dark) .comm-card p { color: var(--ink-500); }
.section:not(.section--dark) .comm-card img { background: var(--line); }
.section:not(.section--dark) .comm-hint { color: var(--ink-300); }
.section:not(.section--dark) .ph { background: #fff; }

/* 밝은 섹션이 이어지면 경계가 흐려지므로 한 칸씩 결을 바꾼다 */
.section--soft + .section--soft { border-top: 1px solid var(--line); }

/* ═════════════════════════════════════════════════════
   구성 개편 — 분양 사이트의 표준 문법에서 벗어나기 위해
   섹션을 번호가 매겨진 비대칭 2단 구조로 다시 짭니다.
   ═════════════════════════════════════════════════════ */

.section-head {
  display: grid;
  gap: 4px 40px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  position: relative;
}
.section--dark .section-head { border-bottom-color: rgba(255, 255, 255, 0.16); }

.section-no {
  grid-column: 1;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  padding-top: 6px;
}
.section--dark .section-no,
.register .section-no { color: var(--accent-400); }

.section-head .eyebrow { margin: 0 0 8px; }
.section-head .section-title { margin: 0; }
.section-head .section-desc { max-width: none; }

/* 헤더 바로 아래가 목록형(.sig-grid)이 아니면 원래 여백을 준다 */
.section-head + *:not(.sig-grid) { margin-top: 32px; }
.section-head + .sig-grid { margin-top: 12px; }

/* 섹션 안의 이미지 블록 공통 여백 */
.figure-block { margin: 0 0 24px; }
.section-head + .figure-block { margin-top: 32px; }

@media (min-width: 860px) {
  .section-head {
    grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: end;
  }
  .section-no { align-self: start; padding-top: 10px; }
  .section-head .eyebrow,
  .section-head .section-title { grid-column: 2; }
  .section-head .eyebrow { grid-row: 1; }
  .section-head .section-title { grid-row: 2; }
  .section-head .section-desc { grid-column: 3; grid-row: 2; padding-bottom: 6px; }
}

/* ── 프리미엄 8 ──────────────────────────────────
   선과 글자만으로는 자료 화면처럼 보입니다.
   아이콘과 면을 넣어 카드로 세웁니다. */

.sig-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}

.sig {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s6) var(--s6);
  box-shadow: var(--sh-card);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sig::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand-700);
}
.sig:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(28, 31, 33, 0.06);
}

.section--dark .sig {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.sig__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--brand-700);
  margin-bottom: var(--s4);
}
.section--dark .sig__mark { background: rgba(142, 196, 61, 0.16); color: var(--accent-400); }
.sig__icon { width: 24px; height: 24px; }

.sig__no {
  display: block;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: var(--s1);
}
.sig__title {
  margin: 0 0 var(--s2) !important;
  font-size: 19px !important;
  line-height: 1.35;
}
.sig__desc { margin: 0; }

@media (min-width: 640px) { .sig-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1020px) { .sig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 티커가 사라진 만큼 상단 여백을 회수 */
:root { --ticker-h: 0px; }

/* ── 입지 카드 아이콘 ── */

.loc__head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.loc__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--brand-700);
  flex: none;
}
.loc__icon { width: 20px; height: 20px; }
.loc__tag { margin: 0; }

/* ── 상담 예약 ── */

.contact-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.contact-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--sh-card);
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-600);
  box-shadow: 0 2px 6px rgba(28, 31, 33, 0.06);
}
.contact-card:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; }

.contact-card__mark {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--brand-700);
  color: #fff;
  margin-bottom: var(--s4);
}
.contact-card__mark svg { width: 24px; height: 24px; }
.contact-card--sms .contact-card__mark { background: var(--accent-500); color: #16260a; }
.contact-card--form .contact-card__mark { background: var(--ink-700); }

.contact-card__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  margin-bottom: var(--s1);
}
.contact-card__value {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-800);
  margin-bottom: var(--s2);
}
.contact-card__note { display: block; font-size: 13px; color: var(--ink-500); line-height: 1.55; }

/* ── 선언문 ──────────────────────────────────────
   섹션 사이에 메시지를 크게 놓아 호흡을 끊습니다.
   카드도 목록도 없이 문장만 남깁니다. */

.statement {
  padding: 112px 0;
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement--dark {
  background: var(--brand-900);
  border-color: transparent;
}

.statement__lead {
  font-family: var(--display);
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0 0 var(--s5);
  text-wrap: balance;
}
.statement--dark .statement__lead { color: #fff; }

.statement__sub {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0;
  letter-spacing: 0.01em;
}
.statement--dark .statement__sub { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 720px) { .statement { padding: 72px 0; } }

/* ═════════════════════════════════════════════════════
   헤더 · 히어로 · 하단바
   흰 배경의 슬림한 헤더, 상단 정렬 히어로, 대표번호 띠,
   흰 바탕에 원형 아이콘을 쓰는 하단바 구성입니다.
   ═════════════════════════════════════════════════════ */

/* ── 헤더 ── */

.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.brand { display: flex; align-items: baseline; gap: var(--s2); color: var(--ink-900); white-space: nowrap; min-width: 0; }
.brand__mark { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand-700); }
.brand__name { font-size: 13px; font-weight: 700; color: var(--ink-700); }
@media (max-width: 420px) { .brand__name { display: none; } }

.gnb { display: none; margin-left: auto; gap: var(--s6); }
.gnb a { font-size: 14px; font-weight: 700; color: var(--ink-700); transition: color 0.2s; }
.gnb a:hover { color: var(--brand-700); }

.header__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  color: var(--brand-700);
  transition: background 0.2s;
}
.header__icon:hover { background: var(--bg-soft); }
.header__icon svg { width: 21px; height: 21px; }
.header__inner > .header__icon:first-of-type { margin-left: auto; }

@media (min-width: 1040px) {
  .gnb { display: flex; }
  .header__inner > .header__icon:first-of-type { margin-left: var(--s5); }
  .header__menu { display: none; }
}

/* ── 전체 메뉴 서랍 ── */

.drawer { position: fixed; inset: 0; z-index: 130; }
.drawer[hidden] { display: none; }
.drawer::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 24, 30, 0.5);
  animation: fadeIn 0.2s var(--ease);
}
.drawer__panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(88%, 340px);
  background: #fff;
  padding: var(--s7) var(--s6) var(--s6);
  overflow-y: auto;
  animation: drawerIn 0.28s var(--ease);
  display: flex; flex-direction: column;
}
@keyframes drawerIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.drawer__close {
  position: absolute; top: var(--s4); right: var(--s4);
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--ink-500); font-size: 17px;
}
.drawer__close:hover { background: var(--bg-soft); }
.drawer__brand { font-size: 14px; font-weight: 700; color: var(--brand-700); margin: 0 0 var(--s6); }
.drawer__nav { display: grid; }
.drawer__nav a {
  padding: var(--s4) 0;
  font-size: 17px; font-weight: 700;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.drawer__nav a:hover { color: var(--brand-700); }
.drawer__tel {
  margin-top: auto; padding-top: var(--s6);
  display: block;
}
.drawer__tel small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-ink); }
.drawer__tel strong { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -0.02em; color: var(--brand-800); }

/* ── 히어로 ── */

.hero {
  position: relative;
  min-height: calc(100svh - var(--quick-h));
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  color: #fff;
  overflow: hidden;
  background: var(--brand-900);
}
.hero__sky {
  position: absolute; inset: 0;
  background: url('../img/hero-aerial.jpg?h=37361a06') no-repeat center 58% / cover;
  filter: saturate(1.1) contrast(1.03) brightness(1.05);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(2, 18, 24, 0.66) 0%,
    rgba(2, 18, 24, 0.46) 22%,
    rgba(2, 18, 24, 0.12) 48%,
    rgba(2, 18, 24, 0.08) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  padding-top: var(--s8);
  text-align: center;
}

.hero__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--accent-400);
  margin-bottom: var(--s4);
}
.hero__lead {
  font-size: clamp(16px, 3.4vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 var(--s2);
  text-shadow: 0 2px 12px rgba(0, 20, 26, 0.7);
}
.hero__title {
  display: flex; align-items: baseline; justify-content: center;
  flex-wrap: wrap; gap: 0 var(--s3);
  margin: 0 0 var(--s4);
}
.km { display: inline-flex; align-items: baseline; color: var(--accent-500); line-height: 0.9; text-shadow: 0 6px 28px rgba(0, 20, 26, 0.6); }
.km__num { font-size: clamp(66px, 15vw, 128px); font-weight: 700; letter-spacing: -0.05em; }
.km__unit { font-size: clamp(26px, 6vw, 50px); font-weight: 700; margin-left: 0.06em; }
.km__tail { font-size: clamp(24px, 5.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; color: #fff; text-shadow: 0 3px 16px rgba(0, 20, 26, 0.7); }

.hero__sub {
  font-size: clamp(14px, 3vw, 17px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 20, 26, 0.8);
}

/* 히어로 하단 정보 띠 */
.hero__bar {
  position: relative; z-index: 2;
  margin-top: auto;
  background: rgba(0, 24, 30, 0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__bar-inner {
  display: grid;
  gap: var(--s4);
  padding-block: var(--s5);
}
@media (min-width: 860px) {
  .hero__bar-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s8); }
}

.spec { margin: 0; display: grid; gap: var(--s3) var(--s6); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spec__row { display: block; }
.spec__row dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); margin-bottom: 2px; }
.spec__row dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(17px, 3.6vw, 21px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.spec__row dd span { font-size: 0.6em; font-weight: 500; color: rgba(255, 255, 255, 0.78); margin-left: 2px; }

.hero__tel { display: block; text-align: left; }
.hero__tel small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-400); }
.hero__tel strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.hero__tel span { font-size: 12px; color: rgba(255, 255, 255, 0.66); }
@media (min-width: 860px) { .hero__tel { text-align: right; } }

/* ── 하단 고정바 ── */

.quickbar {
  position: fixed; inset: auto 0 0;
  height: var(--quick-h);
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0, 33, 42, 0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar a, .quickbar button {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s2);
  font-size: 15px; font-weight: 700;
  color: var(--ink-900);
  transition: background 0.2s;
}
.quickbar > *:first-child { border-right: 1px solid var(--line); }
.quickbar a:hover, .quickbar button:hover { background: var(--bg-soft); }

.quickbar__ico {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: #fff;
  flex: none;
}
.quickbar__ico svg { width: 15px; height: 15px; }
.quickbar__ico--call { background: var(--brand-700); }
.quickbar__ico--visit { background: var(--accent-500); color: #16260a; }
