/* 분양 홈페이지 공통 스타일 — 현장 색상은 site.json colors 값이 :root 로 들어온다 */
:root {
  --ink: #1b1d20; --body: #4a4e55; --muted: #8b9098; --line: #e4e2dd;
  --white: #fff; --hd: 76px; --nav: 52px; --wrap: 1240px;
  --serif: "Cormorant Garamond", "Pretendard Variable", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--body); background: var(--white); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 8px; top: 8px; z-index: 999; background: #fff; padding: 8px 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── 헤더 ── */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(21,25,30,.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.hd-in { height: var(--hd); max-width: 1440px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { flex: none; height: 46px; display: block; }
.logo img { height: 100%; width: auto; }
.logo-c { display: none; }
/* 로고 아래 한 줄 메뉴 (노란 제목) */
.gnb { border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.gnb > ul { display: flex; justify-content: center; list-style: none; margin: 0 auto; padding: 0 16px; max-width: 1240px; gap: 8px; }
.gnb-btn { display: block; height: var(--nav); padding: 0 22px; border: 0; background: none; color: var(--point); font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; position: relative; }
.gnb-btn::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateX(-50%) rotate(45deg); opacity: .6; transition: transform .2s; }
.gnb-btn[aria-expanded="true"]::after { transform: translateX(-50%) rotate(225deg); bottom: 5px; }
.gnb-btn[aria-expanded="true"] { color: #fff; }
.gnb-item.on .gnb-btn::before { content: ""; position: absolute; left: 50%; top: 0; width: 28px; height: 2px; margin-left: -14px; background: var(--point); }
.gnb-btn:hover { color: #fff; }
/* 펼쳐지는 하위 메뉴 (흰 글씨) */
.gnb-panel { position: absolute; left: 0; right: 0; top: 100%; background: #0f1215; border-top: 1px solid rgba(250,205,1,.35); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.gnb-panel ul { list-style: none; margin: 0 auto; padding: 14px 16px; max-width: 1240px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; }
.gnb-panel a { display: block; padding: 10px 20px; color: #fff; font-size: 16px; font-weight: 500; border-radius: 30px; }
.gnb-panel a:hover, .gnb-panel a[aria-current] { background: rgba(255,255,255,.1); }
.gnb-panel a[aria-current] { color: var(--point); }
.hd-util { display: flex; align-items: center; gap: 10px; flex: none; }
.hd-tel { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.hd-tel svg { width: 18px; height: 18px; fill: var(--point); }
.hd-cta { padding: 9px 18px; border-radius: 40px; background: var(--point); color: var(--dark); font-weight: 700; font-size: 14px; }
.hd-menu { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 6px; }
.hd-menu i { display: block; width: 24px; height: 2px; background: #fff; }

/* 전체메뉴 */
.fm { position: fixed; inset: 0; z-index: 100; background: var(--dark); color: #fff; overflow-y: auto; }
.fm-in { max-width: 1240px; margin: 0 auto; padding: 28px 24px 60px; }
.fm-top { display: flex; justify-content: space-between; align-items: center; }
.fm-top img { height: 44px; width: auto; }
.fm-close { border: 0; background: none; color: #fff; font-size: 28px; width: 48px; height: 48px; }
.fm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px 28px; margin-top: 60px; }
.fm-col h3 { color: var(--point); font-size: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 14px; }
.fm-col ul { list-style: none; margin: 0; padding: 0; }
.fm-col a { display: block; padding: 6px 0; color: rgba(255,255,255,.82); }
.fm-col a:hover { color: #fff; }
.fm-foot { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; }
.fm-foot a { padding: 14px 24px; border: 1px solid rgba(255,255,255,.3); border-radius: 40px; font-weight: 700; }
.fm-foot a:last-child { background: var(--point); color: var(--dark); border-color: var(--point); }
body.lock { overflow: hidden; }

/* ── 메인 비주얼 ── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--dark); color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.66), rgba(10,12,15,.18) 70%), linear-gradient(0deg, rgba(10,12,15,.5), transparent 40%); }
.hero-slide.on { opacity: 1; }
.hero-slide.on .hero-bg { animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-txt { position: absolute; z-index: 2; left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); right: 24px; top: 50%; transform: translateY(-50%); max-width: 720px; }
.hero-txt .eyebrow { color: var(--point); }
.hero-txt h2 { color: #fff; font-size: clamp(34px, 5vw, 64px); font-weight: 700; line-height: 1.22; margin: 14px 0 20px; }
.hero-txt h2 em { font-style: normal; color: var(--point); }
.hero-txt p { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.88); }
.hero-ui { position: absolute; z-index: 3; left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); right: 24px; bottom: 72px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); }
.hero-dots button.on { background: var(--point); }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.7); }

/* ── 서브 비주얼 ── */
.sv { position: relative; height: 420px; display: flex; align-items: flex-end; color: #fff; background: var(--dark) center/cover no-repeat; }
.sv::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,15,.7), rgba(10,12,15,.25)); }
.sv-in { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px 56px; }
.sv-eyebrow { font-family: var(--serif); font-size: 20px; color: var(--point); letter-spacing: .04em; }
.sv h1 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin: 4px 0 12px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.75); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb > * + *::before { content: "›"; margin-right: 8px; opacity: .6; }
.subtab { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: calc(var(--hd) + var(--nav)); z-index: 20; }
.subtab ul { list-style: none; margin: 0 auto; padding: 0 24px; max-width: var(--wrap); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subtab a { display: block; padding: 18px 22px; white-space: nowrap; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.subtab li.on a { color: var(--ink); border-color: var(--accent); }

/* ── 공통 섹션 ── */
.sec { padding: 120px 0; }
.sec-tight { padding: 40px 0; }
.sec + .sec:not([class*="bg-"]):not(.sec-tight) { padding-top: 40px; }
.bg-ivory { background: var(--ivory); }
.bg-dark { background: var(--dark); color: rgba(255,255,255,.78); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.eyebrow { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.bg-dark .eyebrow { color: var(--point); }
.sec-hd { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.sec-hd.left { text-align: left; margin-left: 0; }
.sec-hd h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 10px 0 18px; }
.sec-hd h2 em, .split-txt h3 em { font-style: normal; color: var(--accent); }
.bg-dark .sec-hd h2 em { color: var(--point); }
.lead { font-size: 18px; }
.note { margin-top: 24px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.bg-dark .note { color: rgba(255,255,255,.5); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 40px; background: var(--point); color: var(--dark); font-weight: 700; border: 1px solid var(--point); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.more { text-align: center; margin-top: 40px; }

/* intro */
.intro-body { max-width: 820px; margin: 0 auto; text-align: center; font-size: 17px; }
.intro-img { margin-top: 56px; border-radius: 4px; overflow: hidden; }
.intro-img img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* stats */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--line); }
.bg-dark .stats { border-color: rgba(255,255,255,.15); }
.stats li { padding: 36px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.bg-dark .stats li { border-color: rgba(255,255,255,.15); }
.stats strong { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 58px); font-weight: 600; color: var(--ink); line-height: 1; }
.bg-dark .stats strong { color: var(--point); }
.stats em { font-style: normal; font-weight: 700; margin-left: 4px; color: var(--ink); }
.bg-dark .stats em { color: #fff; }
.stats span { display: block; margin-top: 12px; font-size: 15px; }

/* cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); } .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.bg-ivory .card { border-color: transparent; }
.bg-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.card > a { display: flex; flex-direction: column; height: 100%; }
.card-img { overflow: hidden; } .card-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s; }
.card.link:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; }
.card-num { display: block; font-family: var(--serif); font-size: 34px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.bg-dark .card-num { color: var(--point); }
.card-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid currentColor; border-radius: 20px; padding: 2px 10px; margin-bottom: 12px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15px; }

/* split */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev .split-img { order: 2; }
.split-img { overflow: hidden; border-radius: 4px; } .split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-txt h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 8px 0 16px; }
.meta { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.meta > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.meta dt { color: var(--ink); font-weight: 700; } .meta dd { margin: 0; }
.chk { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.chk li { position: relative; padding-left: 26px; font-size: 15px; }
.chk li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* table */
.tbl-title { font-size: 20px; margin: 40px 0 14px; } .tbl-title:first-child { margin-top: 0; }
.tbl-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; background: #fff; }
.tbl th, .tbl td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.tbl thead th { background: var(--ivory); color: var(--ink); font-weight: 700; }
.tbl tbody th { color: var(--ink); font-weight: 700; }
.tbl .hl { color: var(--accent); font-weight: 700; }

/* prices */
.prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.price.best { border-color: var(--accent); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.price.best::before { content: "BEST"; position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--point); color: var(--dark); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.price-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.price-body { padding: 28px; }
.price-en { font-family: var(--serif); font-size: 17px; color: var(--accent); letter-spacing: .06em; }
.price h3 { font-size: 24px; }
.price-num { margin: 14px 0 10px; color: var(--ink); } .price-num strong { font-size: 40px; letter-spacing: -.03em; } .price-num span { font-weight: 700; margin-left: 4px; }
.price-desc { font-size: 14px; color: var(--muted); }

/* types */
.type-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.type-tabs button { padding: 12px 26px; border-radius: 40px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--muted); }
.type-tabs button[aria-selected="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.type-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.type-main { overflow: hidden; border-radius: 4px; background: #eee; } .type-main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.type-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.tt { padding: 0; border: 2px solid transparent; background: none; border-radius: 3px; overflow: hidden; opacity: .65; }
.tt.on { border-color: var(--accent); opacity: 1; } .tt img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.type-info h3 { font-size: 32px; margin: 6px 0 16px; }

/* gallery */
.gal-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.gal-filter button { padding: 10px 20px; border-radius: 40px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--muted); }
.gal-filter button.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.gal { columns: 3 320px; column-gap: 14px; }
.gi { margin: 0 0 14px; break-inside: avoid; position: relative; overflow: hidden; border-radius: 4px; }
.gi img { width: 100%; height: auto; transition: transform .6s; } .gi:hover img { transform: scale(1.04); }
.gi figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; font-size: 13px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); opacity: 0; transition: .3s; pointer-events: none; }
.gi:hover figcaption { opacity: 1; }
.gi[hidden] { display: none; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; } .strip li { overflow: hidden; border-radius: 3px; } .strip li:hover img { transform: scale(1.05); }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,11,.94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lb p { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 14px; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; }
.lb .x { top: 18px; right: 18px; } .lb .pv { left: 18px; top: 50%; } .lb .nx { right: 18px; top: 50%; }

/* faq */
.faqs { max-width: 920px; margin: 0 auto; border-top: 2px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 8px; position: relative; font-weight: 700; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b { color: var(--accent); margin-right: 12px; font-family: var(--serif); font-size: 22px; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--muted); }
.faq[open] summary::after { content: "−"; }
.faq-a { padding: 0 8px 24px 42px; font-size: 15px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: s; }
.steps li { padding: 30px 26px; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.st-n { font-family: var(--serif); font-size: 30px; color: var(--accent); }
.steps h3 { font-size: 18px; margin: 8px 0; } .steps p { font-size: 14px; }

/* map */
.map { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.map-frame { border-radius: 4px; overflow: hidden; background: #eee; } .map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }
.map-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

/* cta */
.cta { position: relative; padding: 120px 0; text-align: center; color: #fff; background: var(--dark) center/cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(12,14,17,.72); }
.cta .wrap { position: relative; }
.cta .eyebrow { color: var(--point); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); margin: 10px 0 16px; }
.cta p { color: rgba(255,255,255,.82); }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* form */
.form-box { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; background: #fff; border-radius: 10px; padding: 48px; box-shadow: 0 20px 60px rgba(0,0,0,.06); }
.form-aside h3 { font-size: 24px; margin-bottom: 14px; }
.form-aside .meta > div { grid-template-columns: 90px 1fr; }
.leadform { display: grid; gap: 18px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f legend { padding: 0; margin-bottom: 8px; }
.f input, .f select { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #d5d3cd; border-radius: 6px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.f input:focus, .f select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 90px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 13px 8px; border: 1px solid #d5d3cd; border-radius: 6px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg input:checked + span { border-color: var(--dark); background: var(--dark); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.hp { position: absolute; left: -9999px; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--dark); }
.policy { font-size: 13px; color: var(--muted); } .policy summary { cursor: pointer; } .policy p { margin-top: 8px; padding: 14px; background: var(--ivory); border-radius: 6px; }
.submit { width: 100%; min-height: 58px; font-size: 17px; background: var(--dark); color: #fff; border-color: var(--dark); }
.submit:disabled { opacity: .6; }
.msg { min-height: 1.5em; font-weight: 600; text-align: center; } .msg.ok { color: #18794e; } .msg.err { color: #c62828; }

/* notice · doc */
.notice { padding: 22px 26px; background: var(--ivory); border-radius: 6px; font-size: 13px; color: var(--muted); }
.doc { max-width: 900px; margin: 0 auto; font-size: 15px; }
.doc h2 { font-size: 20px; margin: 40px 0 12px; } .doc h2:first-child { margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; } .doc th, .doc td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; } .doc th { background: var(--ivory); }

/* footer */
.ft { background: #121417; color: rgba(255,255,255,.55); font-size: 13px; padding: 56px 0 120px; }
.ft-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.ft-logo { height: 40px; width: auto; opacity: .9; }
.ft-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; } .ft-links a { color: rgba(255,255,255,.8); } .ft-links b { color: #fff; }
.ft-info { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ft-note { margin-top: 16px; line-height: 1.7; }
.ft-copy { margin-top: 18px; color: rgba(255,255,255,.35); }

/* 하단 고정바(모바일) · TOP */
.mbar { display: none; }
.totop { position: fixed; right: 22px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--dark); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; opacity: 0; pointer-events: none; transition: .3s; }
.totop.show { opacity: 1; pointer-events: auto; }

/* 스크롤 등장 */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .hero-slide.on .hero-bg { animation: none; } html { scroll-behavior: auto; } }

/* ── 반응형 ── */
@media (max-width: 1200px) {
  .hd-cta, .hd-tel span { display: none; }
  .hd-tel { width: 44px; height: 44px; justify-content: center; }
  .hd-tel svg { width: 22px; height: 22px; }
}
/* 상단 메뉴는 태블릿 가로(860px)까지 항상 보이고, 그보다 좁으면 전체메뉴 버튼으로 */
@media (max-width: 860px) {
  :root { --hd: 60px; --nav: 46px; }
  .gnb > ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .gnb-btn { width: 100%; padding: 0; font-size: 13px; letter-spacing: -.04em; }
  .gnb-panel ul { justify-content: flex-start; padding: 8px 10px; }
  .gnb-panel a { padding: 10px 14px; font-size: 15px; }
  .hd-util { margin-left: auto; }
  .logo { height: 36px; }
}
@media (max-width: 1024px) {
  .hd-in { gap: 12px; padding: 0 18px; }
  .gnb-btn { padding: 0 14px; }
  .logo { height: 38px; }
  .cards.c3, .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .split, .type-panel, .map, .form-box { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-img { order: 0; }
  .split + .split { margin-top: 64px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap, .hd-in { padding: 0 16px; }
  .sec { padding: 72px 0; }
  .sec-hd { margin-bottom: 36px; }
  .lead { font-size: 16px; }
  .sv { height: 300px; } .sv-in { padding: 0 16px 36px; }
  .subtab ul { padding: 0 8px; } .subtab a { padding: 14px 14px; font-size: 15px; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .gal { columns: 2; column-gap: 8px; } .gi { margin-bottom: 8px; }
  .f2 { grid-template-columns: 1fr; }
  .form-box { padding: 28px 18px; }
  .map-frame iframe { height: 320px; }
  .meta > div { grid-template-columns: 96px 1fr; }
  .type-thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero-ui { bottom: 96px; } .hero-scroll { display: none; }
  .hero-txt { left: 16px; right: 16px; }
  .ft { padding-bottom: 110px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; box-shadow: 0 -4px 20px rgba(0,0,0,.12); }
  .mbar a { display: flex; align-items: center; justify-content: center; height: 58px; font-weight: 800; font-size: 16px; padding-bottom: env(safe-area-inset-bottom); }
  .mbar-tel { background: #fff; color: var(--ink); } .mbar-cta { background: var(--point); color: var(--dark); }
  .totop { bottom: 78px; right: 14px; width: 44px; height: 44px; }
}

/* ── 비교(VS) ── */
.note.center { text-align: center; }
.vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.vs-box { border-radius: 22px; overflow: hidden; padding: 22px; display: flex; flex-direction: column; }
.vs-l { background: #f1f1ef; } .vs-r { background: #0d0f12; color: #fff; }
.vs-img img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: 6px; }
.vs-txt { text-align: center; padding: 28px 10px 14px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.vs-label { font-size: 18px; color: var(--muted); font-weight: 600; }
.vs-r .vs-label { color: var(--point); }
.vs-big { font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.25; margin: 8px 0; }
.vs-r .vs-big { color: var(--point); }
.vs-sub { font-size: 18px; color: var(--ink); } .vs-r .vs-sub { color: #fff; }
.vs-box.noimg .vs-big { color: #9a9ca0; font-size: clamp(34px, 4vw, 48px); line-height: 1.35; }
.vs-box.noimg .vs-sub { color: var(--muted); }
.vs-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: var(--point); color: var(--dark); display: grid; place-content: center; font-weight: 800; font-size: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 2; }
.vs-tag { text-align: center; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--ink); margin: 56px 0 28px; letter-spacing: -.02em; }
.pill { max-width: 980px; margin: 0 auto; background: #0d0f12; color: var(--point); text-align: center; font-weight: 800; font-size: clamp(17px, 2vw, 23px); padding: 26px 24px; border-radius: 60px; }
.vs-after { text-align: center; margin-top: 22px; font-size: 18px; }

/* ── 특별혜택(검은 상자 + 흰 카드) ── */
.points-box { background: #0d0f12; border-radius: 28px; padding: 72px clamp(18px, 6vw, 80px) 56px; }
.points-box .sec-hd h2 { color: #fff; } .points-box .sec-hd h2 em { color: var(--point); }
.points-box .sec-hd .lead { color: rgba(255,255,255,.75); } .points-box .eyebrow { color: var(--point); }
.points { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 22px; max-width: 860px; }
.points li { display: flex; align-items: center; gap: 28px; background: #fff; border-radius: 22px; padding: 34px 34px; }
.pt-n { flex: none; width: 88px; height: 88px; border-radius: 50%; background: var(--point); color: var(--dark); display: grid; place-content: center; font-weight: 800; font-size: 30px; }
.points h3 { font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 8px; }
.points p { font-size: 16px; color: var(--body); }
.points-box .note { color: rgba(255,255,255,.5); }

/* ── 큰 숫자 ── */
.bn-img { max-width: 980px; margin: 0 auto 40px; overflow: hidden; border-radius: 6px; } .bn-img img { width: 100%; aspect-ratio: 2.9/1; object-fit: cover; }
.bignums { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 30px; }
.bignums li { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
.bignums strong { display: grid; place-content: center; height: 140px; border-radius: 20px; background: #0d0f12; color: var(--point); font-size: clamp(40px, 5vw, 58px); font-weight: 800; letter-spacing: -.03em; }
.bignums h3 { font-size: clamp(20px, 2.3vw, 28px); margin-bottom: 8px; }
.bignums p { font-size: 17px; color: var(--muted); }

/* ── 3단계 + 강조 띠 ── */
.flow { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow li { background: #f1f1ef; border-radius: 20px; padding: 32px 18px; text-align: center; }
.flow span { color: var(--accent); font-weight: 800; font-size: 26px; }
.flow h3 { font-size: 22px; margin: 6px 0 12px; }
.flow p { font-size: 16px; color: var(--muted); }
.banner { max-width: 980px; margin: 40px auto 0; background: #0d0f12; border-radius: 24px; padding: 36px 24px; text-align: center; }
.banner p { color: #fff; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; }
.banner strong { display: block; color: var(--point); font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }

/* ── 법인 자료 버튼 · 팝업 ── */
.corp-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #0d0f12; color: rgba(255,255,255,.8); border-radius: 22px; padding: 44px 48px; }
.corp-cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 10px; } .corp-cta .eyebrow { color: var(--point); }
.corp-open { flex: none; min-height: 60px; font-size: 17px; padding: 0 34px; }
.corp-modal { position: fixed; inset: 0; z-index: 210; background: rgba(8,9,11,.7); display: flex; align-items: center; justify-content: center; padding: 16px; }
.corp-modal[hidden] { display: none; }
.corp-sheet { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 18px; padding: 40px 32px 32px; }
.corp-sheet h3 { font-size: 26px; margin: 6px 0 12px; } .corp-sheet h3 em { font-style: normal; color: var(--accent); }
.corp-lead { font-size: 15px; margin-bottom: 20px; }
.corp-x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 20px; color: var(--muted); }
.corpform { display: grid; gap: 14px; } .corpform small { color: var(--muted); font-weight: 400; }
.corp-done { text-align: center; padding: 20px 0; } .corp-done p { margin: 10px 0 22px; }

@media (max-width: 720px) {
  .vs { grid-template-columns: 1fr; gap: 14px; }
  .vs-badge { top: 50%; width: 60px; height: 60px; font-size: 18px; }
  .points li { gap: 16px; padding: 22px 18px; } .pt-n { width: 58px; height: 58px; font-size: 21px; }
  .bignums li { grid-template-columns: 110px 1fr; gap: 16px; } .bignums strong { height: 90px; font-size: 30px; border-radius: 14px; }
  .bn-img img { aspect-ratio: 16/9; }
  .flow { grid-template-columns: 1fr; }
  .corp-cta { flex-direction: column; align-items: stretch; padding: 30px 22px; text-align: center; }
}
.bg-ivory .flow li, .bg-ivory .vs-l { background: #fff; }
@media (max-width: 720px) { .points-box { padding: 44px 12px 32px; border-radius: 20px; } .points li { padding: 20px 16px; gap: 14px; } .points h3 { font-size: 19px; } .points p { font-size: 14px; } }
