:root {
  /* 29cm·현대카드 톤의 무채색 미니멀 팔레트. 컬러 accent를 배제하고 명도 대비로만 위계를 만든다. */
  --navy-950: #0a0a0a;
  --navy-900: #121212;
  --navy-800: #1c1c1c;
  --ink: #141414;
  --ink-soft: #6b6b6b;
  --line: #e6e6e6;
  --paper: #ffffff;
  --card: #ffffff;
  --accent: #141414;
  --accent-strong: #000000;
  --accent-soft: #f2f2f2;
  --warn: #4b4b4b;
  --warn-soft: #f2f2f2;
  --on-accent: #ffffff;
  --maxw: 1120px;
  --read: 720px;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 2px rgba(0,0,0,0.03), 0 6px 20px rgba(0,0,0,0.05);
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #ffffff; --card: #ffffff; } /* 본문은 라이트 유지(부동산 문서 가독성 우선), Hero만 다크 고정 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.wrap-read { max-width: var(--read); margin: 0 auto; padding: 0 18px; }

a { color: inherit; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.55);
}

/* ── HERO (Dark, Visual) ──────────────────────────────────────── */
header.hero {
  position: relative;
  background: var(--navy-950);
  color: #f0f0f0;
  padding: 48px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-video, .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-still { display: none; }
.hero-video { display: block; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.72), rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.88));
}
@media (max-width: 759px) {
  /* 모바일: 무거운 영상 대신 고화질 스틸만 사용(성능 우선) */
  .hero-video { display: none; }
  .hero-still { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-still { display: block; }
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: #d4d4d4;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

h1.headline {
  font-size: 28px;
  line-height: 1.38;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1.headline .accent { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 6px; text-decoration-thickness: 2px; }

.sub { color: #b8b8b8; font-size: 15px; margin: 0 0 10px; }
.lead { font-size: 15px; color: #dcdcdc; opacity: 0.92; margin: 0 0 10px; max-width: 56ch; }
.unit-note { font-size: 12.5px; color: #9c9c9c; margin: 0 0 26px; max-width: 56ch; }

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
/* Hero(다크) 안에서는 검정 버튼이 배경과 뭉개지므로 반전(흰 배경/검정 글자)해 대비를 확보한다 */
header.hero .btn-primary { background: #ffffff; color: #0a0a0a; }
header.hero .btn-primary:hover { background: #e2e2e2; }
.btn-secondary-dark { background: rgba(255,255,255,0.08); color: #ffffff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-secondary-dark:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.75); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }

/* Fact panel */
.fact-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(2px);
}
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14.5px;
}
.fact-row:last-child { border-bottom: none; }
.fact-caveat { font-size: 11.5px; color: #8a8a8a; line-height: 1.6; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.1); }
.fact-row .k { color: #a8a8a8; }
.fact-row .v { font-weight: 700; color: #f5f5f5; font-variant-numeric: tabular-nums; text-align: right; }

/* ── Trust strip ───────────────────────────────────────────── */
.trust-strip {
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 0;
  font-size: 13px;
  color: #cfcfcf;
}
.trust-list li { list-style: none; display: flex; align-items: center; gap: 6px; }
.trust-list li::before { content: "✓"; color: #fff; font-weight: 800; }

/* ── Light body ────────────────────────────────────────────── */
main { background: var(--paper); }

section { padding: 40px 0; border-top: 1px solid var(--line); }
section.tight { padding: 28px 0; }

.section-head { max-width: var(--read); margin: 0 0 18px; }
.section-eyebrow { font-size: 12px; color: var(--accent-strong); font-weight: 700; letter-spacing: 0.02em; margin-bottom: 6px; }
section h2 { font-size: 21px; margin: 0 0 6px; font-weight: 800; letter-spacing: -0.01em; }
section p.section-desc { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 720px) {
  .grid-desktop-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-desktop-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease;
}
.card:hover { transform: translateY(-2px); }
.card .label { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 4px; }
.card .value { font-size: 16px; font-weight: 700; color: var(--ink); }
.card .card-caveat { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }

/* status chip (근거/출처 표시) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
}
.chip-ok { background: var(--accent-soft); color: var(--ink); }
.chip-review { background: transparent; color: var(--ink-soft); border: 1px dashed var(--line); }

/* ── Why section ───────────────────────────────────────────── */
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: var(--read);
  font-size: 15px;
  color: var(--ink);
}

/* ── Price ─────────────────────────────────────────────────── */
.price-hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.price-total .label { font-size: 13px; color: var(--ink-soft); }
.price-total .amount { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 4px 0 18px; }
.price-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.price-flow .seg { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 6px; text-align: center; }
.price-flow .seg .pct { font-size: 12px; color: var(--accent-strong); font-weight: 700; }
.price-flow .seg .amt { font-size: 13.5px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; word-break: keep-all; }
@media (min-width: 420px) {
  .price-flow .seg .amt { font-size: 15px; }
}
.price-flow .seg .lbl { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.notice {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 3px solid var(--warn);
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 12px;
}

/* ── Tag list (입주업종) ───────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13px; color: var(--ink); }
.tag.no { color: var(--ink-soft); border-color: var(--line); background: transparent; text-decoration: line-through; text-decoration-color: var(--ink-soft); }

/* ── Timeline ──────────────────────────────────────────────── */
.timeline-note { background: var(--accent-soft); color: var(--accent-strong); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.timeline-note b { display: block; margin-bottom: 2px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.timeline li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 14.5px;
}
.timeline li::before {
  content: attr(data-step);
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 11px; top: 30px; bottom: -10px;
  width: 2px;
  background: var(--line);
}
.timeline li:last-child::after { display: none; }
@media (min-width: 760px) {
  .timeline { flex-direction: row; gap: 10px; }
  .timeline li { flex: 1; padding: 34px 6px 0; }
  .timeline li::before { left: 50%; transform: translateX(-50%); top: 0; }
  .timeline li::after { left: 0; right: 0; width: auto; height: 2px; top: 11px; bottom: auto; }
}

/* ── Photo placeholder ─────────────────────────────────────── */
.media-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
.media-slot {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12.5px;
  text-align: center;
  padding: 14px;
}
.media-slot .icon { font-size: 22px; }
.media-slot .caption { font-weight: 600; color: var(--ink); font-size: 13px; }

/* ── Fit Check ─────────────────────────────────────────────── */
.fitcheck-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.fitcheck-intro { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.fc-group { margin-bottom: 16px; }
.fc-group .fc-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.fc-options { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-opt {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  cursor: pointer;
  min-height: 44px;
}
.fc-opt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.fc-result { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; display: none; }
.fc-result.show { display: block; }
.fc-result.ok { background: var(--accent-soft); color: var(--accent-strong); }
.fc-result.review { background: var(--warn-soft); color: var(--warn); }
.fc-result .fc-sub { display: block; font-size: 12.5px; opacity: 0.85; margin-top: 4px; font-weight: 400; }

/* ── Share utility ─────────────────────────────────────────── */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row .btn { min-height: 40px; padding: 8px 14px; font-size: 13.5px; }

/* ── FAQ ───────────────────────────────────────────────────── */
details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
}
details.faq summary { cursor: pointer; font-weight: 700; font-size: 14.5px; min-height: 24px; }
details.faq p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ── Form ──────────────────────────────────────────────────── */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: var(--read);
}
.form-title { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.form-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 18px; }

form#inquiry-form { display: flex; flex-direction: column; gap: 12px; }
form#inquiry-form input[type="text"],
form#inquiry-form input[type="email"],
form#inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
}
form#inquiry-form label.field-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: -6px; }
form#inquiry-form .hint { font-size: 12px; color: var(--ink-soft); }
#form-status { font-size: 14px; margin-top: 6px; min-height: 20px; }
#form-status.error { color: var(--warn); }
#form-status.ok { color: var(--accent-strong); }

.success-box { background: var(--accent-soft); border-radius: var(--radius); padding: 18px; margin-top: 12px; }
.success-box ol { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink); }
.success-box ol li { margin-bottom: 4px; }

/* ── Disclaimer ────────────────────────────────────────────── */
.disclaimer-block { font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--line); padding: 24px 0 100px; }

/* ── Mobile sticky CTA ─────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
  z-index: 40;
  transform: translateY(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.sticky-cta.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.sticky-cta .btn { width: 100%; min-height: 48px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

@media (min-width: 760px) {
  h1.headline { font-size: 40px; }
  section h2 { font-size: 24px; }
}

/* ── FINAL Evidence visual + document guidance ───────────────── */
.official-visual-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .official-visual-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.official-visual-card {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  border-radius: var(--radius);
}
.official-visual-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #f5f5f5;
}
.official-visual-card figcaption {
  display: grid;
  gap: 3px;
  padding: 14px 15px 15px;
  border-top: 1px solid var(--line);
}
.official-visual-card figcaption b { font-size: 14px; line-height: 1.4; }
.official-visual-card figcaption span { color: var(--ink-soft); font-size: 12.5px; line-height: 1.55; }
.floor-visual img { object-fit: contain; }

/* ── A1607은 여기입니다 (locate steps) ───────────────────────── */
.locate-steps { display: grid; gap: 14px; }
@media (min-width: 760px) { .locate-steps { grid-template-columns: repeat(3, 1fr); } }
.locate-step {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.locate-step img { display: block; width: 100%; height: 220px; object-fit: cover; background: #f5f5f5; }
.locate-step.floor-visual img, .locate-step:nth-child(2) img, .locate-step:nth-child(3) img { object-fit: contain; height: 260px; }
.locate-step-num {
  position: absolute; top: 10px; left: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.locate-step figcaption { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.locate-step figcaption b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.locate-step figcaption span { color: var(--ink-soft); font-size: 12px; }

/* ── Gallery ───────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-card { margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-card img { display: block; width: 100%; height: 150px; object-fit: cover; background: #f5f5f5; }
@media (min-width: 760px) { .gallery-card img { height: 190px; } }
.gallery-card figcaption { padding: 8px 10px 10px; font-size: 11.5px; color: var(--ink-soft); }

/* ── Location map ─────────────────────────────────────────── */
.location-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
@media (min-width: 720px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
}
.location-block { display: flex; flex-direction: column; gap: 6px; }
.location-block-label { font-size: 12px; font-weight: 800; color: var(--accent-strong); letter-spacing: 0.02em; }
.location-address { font-size: 16px; font-weight: 700; }
.location-applied { font-size: 12px; color: var(--ink-soft); }
.location-block-desc { font-size: 13px; color: var(--ink-soft); margin: 2px 0 4px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.btn-map, .btn-copy {
  font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none;
}
.btn-map:hover, .btn-copy:hover { background: var(--paper); }
.copy-status { font-size: 12px; color: var(--accent-strong); min-height: 16px; display: block; }
.transit-card { margin-top: 4px; }

/* ── Official link ────────────────────────────────────────── */
.official-link { display: inline-flex; }

.source-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.65;
}
.evidence-callout {
  margin-top: 18px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.evidence-callout.secondary {
  border-top-color: var(--line);
  margin-top: 22px;
}
.evidence-callout b {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}
.evidence-callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.score-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}
.score-chip {
  border: 1px solid var(--line);
  padding: 6px 9px;
  font-size: 12px;
  background: #fafafa;
}
.document-steps {
  border-top: 1px solid var(--ink);
}
.document-step {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .document-step {
    grid-template-columns: 150px 1fr;
    column-gap: 26px;
    align-items: start;
  }
}
.document-step .stage {
  font-weight: 800;
  font-size: 14px;
}
.document-step .items {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}
.document-step .desc {
  color: var(--ink-soft);
  font-size: 12.5px;
  margin-top: 4px;
}
