/* =========================================================
   고덕수자인풍경채 랜딩 — styles.css
   ========================================================= */
:root {
  --navy-900: #071a2e;
  --navy-800: #0b2440;
  --navy-700: #12345a;
  --navy-600: #1c4a7a;
  --navy-100: #e6edf5;
  --gold: #c8a15c;
  --gold-light: #e6cb93;
  --wine: #8c1f2f;
  --ink: #17202b;
  --ink-soft: #4a5563;
  --line: #dde3ea;
  --paper: #ffffff;
  --muted: #f4f1eb;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(7, 26, 46, 0.12);
  --max: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b, strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 4vw, 40px);
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { background: rgba(7, 26, 46, 0.94); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--gold); color: var(--navy-900); font-weight: 800; font-size: 15px; letter-spacing: -0.5px;
}
.brand strong { display: block; font-size: 17px; letter-spacing: -0.3px; }
.brand small { display: block; font-size: 10.5px; letter-spacing: 1.6px; opacity: 0.7; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; opacity: 0.88; }
.nav a:hover { opacity: 1; color: var(--gold-light); }
.header-cta, .header-phone {
  text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 9px 16px; white-space: nowrap;
}
.header-cta { background: var(--gold); color: var(--navy-900); }
.header-phone { border: 1px solid rgba(255, 255, 255, 0.5); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform 0.25s, opacity 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--navy-900);
}
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 46, 0.78) 0%, rgba(7, 26, 46, 0.45) 45%, rgba(7, 26, 46, 0) 75%),
    linear-gradient(180deg, rgba(7, 26, 46, 0.55) 0%, rgba(7, 26, 46, 0.1) 35%, rgba(7, 26, 46, 0.85) 100%);
}
.hero h1, .hero-copy, .hero-slogan { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-note { position: absolute; right: 16px; top: calc(var(--header-h) + 8px); margin: 0; font-size: 11px; opacity: 0.7; }
.hero-inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) clamp(48px, 9vh, 96px); }
.hero-slogan { margin: 0 0 10px; color: var(--gold-light); font-size: clamp(15px, 2vw, 19px); letter-spacing: 0.4px; }
.hero h1 { margin: 0; font-size: clamp(38px, 7vw, 76px); line-height: 1.1; letter-spacing: -2px; font-weight: 800; }
.hero h1 small { display: block; font-size: clamp(15px, 2vw, 20px); letter-spacing: 1px; font-weight: 500; opacity: 0.85; margin-bottom: 10px; }
.hero-copy { margin: 16px 0 0; font-size: clamp(17px, 2.4vw, 23px); opacity: 0.94; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.hero-chips li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px);
}
.hero-chips strong { color: var(--gold-light); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
}
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-light); }
.btn-line { border: 1.5px solid currentColor; color: inherit; background: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }

/* ---------- Lead ---------- */
.lead-band {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px);
  max-width: var(--max); margin: -40px auto 0; position: relative; z-index: 2;
  background: var(--paper); border-radius: 20px; box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 48px);
}
.lead-copy h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; margin: 6px 0 12px; letter-spacing: -0.8px; }
.lead-copy p { color: var(--ink-soft); margin: 0 0 16px; }
.lead-tel { display: inline-block; font-size: 26px; font-weight: 800; color: var(--navy-700); text-decoration: none; }
.lead-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.lead-points li { padding-left: 22px; position: relative; font-size: 15px; }
.lead-points li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form select {
  height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit; color: var(--ink); background: #fff;
}
.lead-form input:focus, .lead-form select:focus { outline: 2px solid var(--navy-600); outline-offset: 1px; }
.lead-form .privacy-check, .lead-form button, .lead-form .form-note { grid-column: 1 / -1; }
.privacy-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; }
.privacy-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.lead-form button { height: 54px; border: 0; border-radius: 12px; background: var(--navy-800); color: #fff; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.lead-form button:hover { background: var(--navy-700); }
.form-note { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--navy-600); }
.form-note.is-error { color: #b42318; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) clamp(16px, 4vw, 40px); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-dark { background: var(--navy-900); color: #fff; }
.section-deep { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; }
.section-muted { background: var(--muted); }
.section-heading { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-heading h2 { font-size: clamp(27px, 4vw, 44px); line-height: 1.28; letter-spacing: -1.2px; margin: 8px 0 16px; }
.section-heading > p:last-child { max-width: 760px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; }
.section-dark .section-heading > p:last-child, .section-deep .section-heading > p:last-child { color: rgba(255, 255, 255, 0.75); }
.chapter, .eyebrow { margin: 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.accent { color: var(--navy-600); }
.section-dark .accent, .section-deep .accent { color: var(--gold-light); }
.sub-heading { font-size: clamp(21px, 2.6vw, 27px); letter-spacing: -0.6px; margin-top: 72px !important; margin-bottom: 24px !important; }
.source { font-size: 12.5px; color: #7a8592; margin: 12px 0 0; }
.section-dark .source, .section-deep .source { color: rgba(255, 255, 255, 0.55); }
.disclaimer { font-size: 13px; color: #7a8592; margin-top: 18px; }
.section-dark .disclaimer, .section-deep .disclaimer { color: rgba(255, 255, 255, 0.55); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.frame figcaption { font-size: 12.5px; color: #7a8592; padding: 10px 14px; background: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Stat grid ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid article { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.section-dark .stat-grid article, .section-deep .stat-grid article { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.stat-grid span { font-size: 14px; color: var(--ink-soft); }
.section-dark .stat-grid span, .section-deep .stat-grid span { color: rgba(255, 255, 255, 0.7); }
.stat-grid strong { display: block; font-size: clamp(24px, 3vw, 32px); letter-spacing: -1px; margin: 6px 0 4px; color: var(--navy-700); }
.section-dark .stat-grid strong, .section-deep .stat-grid strong { color: var(--gold-light); }
.stat-grid p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.section-dark .stat-grid p, .section-deep .stat-grid p { color: rgba(255, 255, 255, 0.7); }

/* ---------- Premium cards ---------- */
.premium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.premium-grid article {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
}
.premium-grid .no { font-size: 13px; letter-spacing: 2px; color: var(--gold); font-weight: 700; }
.premium-grid h3 { font-size: 22px; margin: 8px 0 10px; letter-spacing: -0.5px; }
.premium-grid p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 15px; }

/* ---------- Point list ---------- */
.point-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.point-list li { display: grid; grid-template-columns: minmax(48px, auto) 1fr; gap: 14px; }
.point-list .num { font-size: 22px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.point-list h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.4px; }
.point-list p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.section-dark .point-list p, .section-deep .point-list p { color: rgba(255, 255, 255, 0.75); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.spec-table th, .spec-table td, .compare-table th, .compare-table td, .data-table th, .data-table td {
  padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: top;
}
.spec-table { background: #fff; }
.spec-table th { width: 32%; background: var(--navy-100); color: var(--navy-800); font-weight: 700; white-space: nowrap; }
.compare-table { background: #fff; min-width: 640px; }
.compare-table thead th { background: var(--navy-800); color: #fff; font-size: 14.5px; }
.compare-table thead th.is-ours { background: var(--gold); color: var(--navy-900); }
.compare-table tbody th { background: #f7f9fb; color: var(--ink); }
.compare-table td { color: var(--ink); }
.compare-table td.is-ours { background: #fbf6ec; font-weight: 700; color: var(--navy-800); }
.data-table { background: #fff; min-width: 620px; }
.data-table thead th { background: var(--navy-800); color: #fff; font-size: 14px; text-align: center; white-space: nowrap; }
.data-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table td:first-child, .data-table th[scope="row"] { text-align: center; }
.data-table tr.is-hi td { background: #fbf6ec; font-weight: 700; }
.data-table .em { color: var(--navy-700); font-weight: 800; }

/* ---------- Charts (CSS bars) ---------- */
.chart-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); }
.chart-card h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.4px; }
.chart-card .lead { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }
.chart-card .lead strong { color: var(--navy-700); }
.chart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vbars { list-style: none; padding: 0; margin: 0; display: flex; align-items: flex-end; gap: 12px; height: 240px; }
.vbars li { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.vbars .val { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.vbars .bar { width: 100%; max-width: 64px; height: calc(var(--v) * 1%); max-height: calc(100% - 52px); min-height: 4px; border-radius: 8px 8px 0 0; background: #c8d2de; }
.vbars .lbl { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.vbars li.hi .bar { background: var(--navy-700); }
.vbars li.hi .val { color: var(--navy-700); font-size: 17px; }
.hbars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hbars li { display: grid; grid-template-columns: 128px 1fr 64px; gap: 10px; align-items: center; font-size: 14.5px; }
.hbars .track { height: 14px; border-radius: 99px; background: #eef1f5; overflow: hidden; }
.hbars .fill { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 99px; background: #9fb0c4; }
.hbars li.hi .fill { background: var(--navy-700); }
.hbars li.hi { font-weight: 700; }
.hbars b { text-align: right; }

/* price compare (분양가 vs 실거래가) */
.pair-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pair-bars li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; }
.pair-bars .name { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.pair-bars .name small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 12.5px; }
.pair-bars .bars { display: grid; gap: 4px; }
.pair-bars .b { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.pair-bars .b i { display: block; height: 12px; border-radius: 99px; width: calc(var(--v) * 0.85%); background: #c8d2de; }
.pair-bars .b.real i { background: var(--navy-700); }
.pair-bars .gain { font-weight: 800; color: var(--wine); margin-left: 6px; }
.pair-bars li.is-ours { padding: 14px; border-radius: 12px; background: #fbf6ec; border: 1px dashed var(--gold); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #c8d2de; margin-right: 6px; vertical-align: -1px; }
.legend i.b { background: var(--navy-700); }

.big-compare { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.big-compare div { text-align: center; }
.big-compare span { display: block; font-size: 14px; color: var(--ink-soft); }
.big-compare strong { font-size: 30px; letter-spacing: -1px; color: var(--navy-700); }
.big-compare .arrow { font-size: 24px; color: var(--gold); }

/* ---------- Accordion / FAQ ---------- */
.accordion { display: grid; gap: 12px; }
.accordion details { border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden; }
.section:not(.section-dark):not(.section-deep) .accordion details { background: #fff; border-color: var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr 24px; gap: 16px; align-items: center; padding: 20px 22px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion .tag { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--navy-900); white-space: nowrap; }
.accordion summary strong { font-size: 18px; letter-spacing: -0.3px; }
.accordion summary small { display: block; font-weight: 400; font-size: 14px; opacity: 0.7; margin-top: 2px; }
.accordion .toggle { width: 18px; height: 18px; position: relative; }
.accordion .toggle::before, .accordion .toggle::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; transition: transform 0.25s; }
.accordion .toggle::after { transform: rotate(90deg); }
.accordion details[open] .toggle::after { transform: rotate(0deg); }
.acc-body { padding: 0 22px 24px; display: grid; gap: 20px; }
.acc-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.mini-table th, .mini-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); text-align: left; font-size: 14.5px; }
.mini-table th { width: 30%; white-space: nowrap; color: var(--gold-light); }
.section:not(.section-dark):not(.section-deep) .mini-table th { color: var(--navy-700); }
.section:not(.section-dark):not(.section-deep) .mini-table th, .section:not(.section-dark):not(.section-deep) .mini-table td { border-color: var(--line); }

.faq-list { display: grid; gap: 10px; max-width: 880px !important; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-list summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16.5px; list-style: none; position: relative; padding-right: 48px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 22px; color: var(--gold); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 20px 20px; color: var(--ink-soft); }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tabs button {
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-weight: 700; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.tab-panel[hidden] { display: none; }

/* ---------- Complex ---------- */
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.type-chips li { padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: #fff; }
.t-84a { background: #3a86c8; } .t-84b { background: #e05a7a; } .t-84c { background: #6fb33f; } .t-101 { background: #8a5cb8; }
.community { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.community article { padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.community h4 { margin: 0 0 6px; font-size: 17px; }
.community h4 small { font-weight: 500; color: var(--gold); margin-left: 6px; font-size: 13px; }
.community p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px; font-size: 13px; color: #fff; background: rgba(7, 26, 46, 0.7); }

/* ---------- Units ---------- */
.unit-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.unit-layout .frame img { background: #fff; }
.unit-spec h3 { margin: 0; font-size: 30px; letter-spacing: -1px; color: var(--navy-700); }
.unit-spec .tagline { margin: 4px 0 18px; color: var(--ink-soft); }
.unit-spec ul { margin: 18px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.unit-spec .spec-table th { width: 38%; }

/* ---------- Price cards ---------- */
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-cards article { padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-700); }
.price-cards h3 { margin: 0 0 14px; font-size: 26px; color: var(--navy-700); letter-spacing: -0.5px; }
.price-cards dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-size: 14.5px; }
.price-cards dt { color: var(--ink-soft); }
.price-cards dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.price-cards dd b { color: var(--navy-700); }

/* ---------- Brand ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.brand-grid article { padding: 28px 24px; border-radius: var(--radius); background: #fff; border-top: 4px solid var(--navy-700); box-shadow: 0 8px 24px rgba(7, 26, 46, 0.06); }
.brand-grid article.wine { border-top-color: var(--wine); }
.brand-grid article.gold { border-top-color: var(--gold); }
.brand-grid span { font-size: 13px; color: var(--ink-soft); }
.brand-grid h3 { margin: 4px 0 6px; font-size: 22px; }
.brand-grid .badge { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--navy-100); color: var(--navy-800); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.brand-grid ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--ink-soft); display: grid; gap: 4px; }

/* ---------- Legal / footer ---------- */
.legal-box { margin-top: 48px !important; padding: 26px; border-radius: var(--radius); background: #f7f9fb; border: 1px solid var(--line); max-width: 880px !important; }
.legal-box > strong { display: block; margin-bottom: 14px; }
.legal-box dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0; font-size: 14.5px; }
.legal-box dt { color: var(--ink-soft); }
.legal-box dd { margin: 0; }
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); padding: 48px clamp(16px, 4vw, 40px) 110px; font-size: 13.5px; }
.site-footer > * { max-width: var(--max); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand strong { display: block; color: #fff; font-size: 19px; }
.footer-brand span { font-size: 11px; letter-spacing: 1.6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-nav a { text-decoration: none; }
.footer-bottom { padding-top: 20px; }
.footer-bottom p { margin: 0 0 8px; }
.footer-phone { color: #fff; font-size: 16px; font-weight: 700; }
.footer-phone a { text-decoration: none; color: var(--gold-light); }

/* ---------- Floating ---------- */
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; gap: 8px; }
.floating-actions a { display: inline-flex; align-items: center; height: 52px; padding: 0 20px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.floating-call { background: var(--navy-800); color: #fff; }
.floating-visit { background: var(--gold); color: var(--navy-900); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* ---------- 전자책: 고덕 투자 보고서 ---------- */
.ebook { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.ebook-cover img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.ebook-card { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(24px, 3.5vw, 36px); }
.ebook-card h2 { margin: 6px 0 14px; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; letter-spacing: -0.8px; color: var(--navy-800); }
.ebook-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.ebook-points li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 15.5px; }
.ebook-points li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.ebook-form[hidden], .ebook-done[hidden] { display: none; }
.ebook-form button { background: var(--gold); color: var(--navy-900); }
.ebook-form button:hover { background: var(--gold-light); }
.ebook-done p { margin: 0 0 16px; color: var(--ink-soft); }
.ebook-done strong { color: var(--navy-800); font-size: 18px; }
.ebook-done .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .ebook { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .header-phone { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy-900); padding: 8px 16px 20px; transform: translateY(-120%); transition: transform 0.3s; margin: 0;
  }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; }
  .nav.is-open { transform: none; }
  .site-header.menu-open { background: var(--navy-900); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 26, 46, 0.55) 0%, rgba(7, 26, 46, 0.35) 25%, rgba(7, 26, 46, 0.88) 60%, rgba(7, 26, 46, 0.95) 100%); }
  .lead-band { grid-template-columns: 1fr; margin: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
  .split, .unit-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-grid, .brand-grid, .grid-3 { grid-template-columns: 1fr; }
  .chart-grid, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .lead-form { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-grid article { padding: 18px 14px; }
  .community, .gallery { grid-template-columns: 1fr; }
  .hbars li { grid-template-columns: 96px 1fr 52px; font-size: 13.5px; }
  .pair-bars li { grid-template-columns: 1fr; gap: 6px; }
  .vbars { gap: 6px; }
  .vbars .lbl { font-size: 12px; }
  .accordion summary { grid-template-columns: 1fr 20px; }
  .accordion .tag { grid-column: 1 / -1; justify-self: start; }
  .legal-box dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-box dd { margin-bottom: 10px; }
  .floating-actions { left: 12px; right: 12px; bottom: 12px; }
  .floating-actions a { flex: 1; justify-content: center; }
  .tabs button { padding: 0 16px; height: 42px; font-size: 14.5px; }
}

/* ---------- Mobile refinement ---------- */
@media (max-width: 900px) {
  .price-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  :root { --header-h: 58px; --radius: 12px; }
  body { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; font-size: 13px; border-radius: 8px; }
  .brand strong { font-size: 15.5px; }
  .brand small { font-size: 9.5px; letter-spacing: 1.2px; }
  .menu-toggle { width: 36px; height: 36px; }

  .hero { min-height: 88svh; }
  .hero-inner { padding-bottom: 92px; }
  .hero h1 { font-size: 34px; letter-spacing: -1.2px; }
  .hero-copy { font-size: 15px; margin-top: 10px; line-height: 1.55; }
  .hero-chips { gap: 6px; margin-top: 18px; }
  .hero-chips li { font-size: 12.5px; padding: 5px 11px; }
  .hero-cta { margin-top: 20px; gap: 8px; }
  .hero-cta .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; }

  .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
  .section { padding: 56px 16px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 23px; letter-spacing: -0.6px; margin: 6px 0 10px; }
  .section-heading > p:last-child { font-size: 14.5px; }
  .chapter, .eyebrow { font-size: 11.5px; letter-spacing: 1.6px; }
  .sub-heading { font-size: 18.5px; margin-top: 44px !important; margin-bottom: 16px !important; }

  .lead-band { padding: 28px 16px; }
  .lead-copy h2 { font-size: 21px; }
  .lead-copy p, .lead-points li { font-size: 14px; }
  .lead-tel { font-size: 21px; }
  .lead-form input[type="text"], .lead-form input[type="tel"], .lead-form select { height: 44px; font-size: 15px; }
  .lead-form button { height: 50px; font-size: 16px; }
  .privacy-check span { font-size: 13px; }

  .stat-grid strong { font-size: 19px; letter-spacing: -0.5px; }
  .stat-grid span, .stat-grid p { font-size: 12.5px; }
  .premium-grid article { padding: 20px 18px; }
  .premium-grid h3 { font-size: 18px; margin: 4px 0 6px; }
  .premium-grid p { font-size: 14px; }
  .point-list { gap: 18px; }
  .point-list li { grid-template-columns: 1fr; gap: 2px; }
  .point-list .num { font-size: 14px; letter-spacing: 1px; }
  .point-list h3 { font-size: 16.5px; }
  .point-list p { font-size: 14px; }
  .chart-card { padding: 20px 16px; }
  .chart-card h3 { font-size: 17px; }
  .chart-card .lead { font-size: 13.5px; margin-bottom: 14px; }
  .vbars { height: 190px; }
  .vbars .val { font-size: 12px; }
  .vbars li.hi .val { font-size: 14px; }
  .big-compare strong { font-size: 22px; }
  .brand-grid article { padding: 20px 18px; }
  .brand-grid h3 { font-size: 19px; }
  .brand-grid ul { font-size: 13.5px; }

  .spec-table th, .spec-table td, .compare-table th, .compare-table td { padding: 9px 8px; font-size: 13px; }
  .compare-table { min-width: 0; }
  .compare-table thead th { font-size: 12.5px; }
  .compare-table tbody th { min-width: 76px; }
  .data-table { min-width: 0; }
  .data-table th, .data-table td { padding: 9px 8px; font-size: 12.5px; }
  .data-table .opt, .data-table th:nth-last-child(3), .data-table td:nth-last-child(3), .data-table th:nth-last-child(4), .data-table td:nth-last-child(4) { display: none; }
  .data-table th, .data-table td { padding: 9px 6px; font-size: 12px; }
  #price .acc-body { padding: 0 0 12px; }
  #price .acc-body .table-wrap { border-radius: 0; }
  #value .compare-table th:nth-child(2), #value .compare-table td:nth-child(2) { display: none; }

  .accordion summary { padding: 16px; gap: 8px; }
  .accordion summary strong { font-size: 15.5px; }
  .accordion summary small { font-size: 12.5px; }
  .acc-body { padding: 0 14px 18px; font-size: 14px; }
  .mini-table th, .mini-table td { font-size: 13px; padding: 8px; }

  .tabs { gap: 6px; margin-bottom: 20px; }
  .tabs button { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .community h4 { font-size: 15.5px; }
  .community p { font-size: 13.5px; }
  .community article { padding: 16px; }
  .unit-spec h3 { font-size: 24px; }
  .unit-spec ul { font-size: 14px; }
  .type-chips li { font-size: 12.5px; padding: 5px 10px; }

  .price-cards { grid-template-columns: 1fr; gap: 10px; }
  .price-cards article { padding: 16px 16px 14px; }
  .price-cards h3 { font-size: 20px; margin-bottom: 8px; }
  .price-cards dl { font-size: 13.5px; gap: 6px 10px; }

  .faq-list summary { font-size: 15px; padding: 15px 44px 15px 16px; }
  .faq-list p { font-size: 14px; padding: 0 16px 16px; }
  .legal-box { padding: 18px; font-size: 13.5px; }
  .site-footer { font-size: 12.5px; padding-bottom: 96px; }

  .floating-actions { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .floating-actions a { height: 46px; font-size: 15px; padding: 0 12px; }
}
