/* 힐스테이트 양산더스카이 분양 안내 - 가온터 */
:root {
  --red: #1f3b57;
  --red-dark: #142a40;
  --gold: #b8975a;
  --gold-light: #e9dcc0;
  --ink: #1d1d1f;
  --ink-2: #4a4a4f;
  --ink-3: #86868b;
  --line: #e6e2da;
  --bg: #ffffff;
  --bg-soft: #f7f4ef;
  --bg-dark: #15161a;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --max: 1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.7; word-break: keep-all; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100; transition: background .3s, box-shadow .3s; color: #fff; }
/* backdrop-filter 를 쓰면 모바일 메뉴(position:fixed)가 헤더 안에 갇혀 안 보이므로 쓰지 않음 */
.header.is-solid, .header.is-light { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; max-width: 1400px; }
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo strong { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.logo span { font-size: 11px; letter-spacing: .18em; opacity: .75; }
.gnb { margin-left: auto; display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.gnb a { position: relative; padding: 6px 0; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.gnb a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.btn-tel { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 40px; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.btn-tel svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: .3s; }
.menu-btn span:nth-child(1) { top: 13px; } .menu-btn span:nth-child(2) { top: 19px; } .menu-btn span:nth-child(3) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture img { animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,20,.55) 0%, rgba(10,12,20,.05) 35%, rgba(10,12,20,.25) 60%, rgba(10,12,20,.8) 100%); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-bottom: 72px; }
.hero-eyebrow { font-size: 15px; letter-spacing: .2em; color: var(--gold-light); margin-bottom: 12px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 6vw, 72px); line-height: 1.2; letter-spacing: -.02em; }
.hero h1 small { display: block; font-size: .42em; font-weight: 400; margin-bottom: 10px; letter-spacing: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.hero-chips li { padding: 8px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 30px; font-size: 14px; background: rgba(0,0,0,.18); backdrop-filter: blur(4px); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 28px; font-size: 16px; font-weight: 700; border-radius: 2px; transition: .2s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-line { border: 1px solid currentColor; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-gold { background: var(--gold); color: #fff; }
.scroll-cue { position: absolute; right: 32px; bottom: 32px; z-index: 1; font-size: 11px; letter-spacing: .3em; writing-mode: vertical-rl; opacity: .8; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 60px; margin: 10px auto 0; background: #fff; animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- section common ---------- */
.sec { padding: 120px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--bg-dark); color: #fff; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--gold); margin-bottom: 14px; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.sec-dark .sec-head p { color: rgba(255,255,255,.7); }
.note { font-size: 13px; color: var(--ink-3); margin-top: 16px; line-height: 1.6; }
.sec-dark .note { color: rgba(255,255,255,.5); }

/* summary (AEO answer box) */
.summary { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 40px 44px; box-shadow: 0 20px 50px rgba(0,0,0,.05); }
.summary h2 { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.summary > p { font-size: 17px; color: var(--ink-2); }
.summary strong { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.facts div { background: #fff; padding: 20px 18px; }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { font-size: 18px; font-weight: 700; margin-top: 4px; line-height: 1.4; }
.summary-wrap { margin-top: -80px; position: relative; z-index: 2; }

.summary h2 { text-align: center; }
.facts dd.hl { color: var(--red); }

/* overview: 사진 위에 문구 */
.photo-card { position: relative; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.photo-card figcaption { position: absolute; inset: auto 0 0 0; padding: 80px 32px 22px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10,12,20,.75)); }
.photo-card figcaption strong { display: block; font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.4; }
.photo-card figcaption small { display: block; margin-top: 8px; font-size: 11px; opacity: .7; }
.key-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; border-top: 2px solid var(--ink); }
.key-stats li { text-align: center; padding: 26px 8px; border-bottom: 1px solid var(--line); }
.key-stats li + li { border-left: 1px solid var(--line); }
.key-stats b { display: block; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); color: var(--red); line-height: 1.2; }
.key-stats span { font-size: 14px; color: var(--ink-3); }

/* location: 지도 사진 나열 */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map-card { position: relative; display: block; overflow: hidden; background: #000; }
.map-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .92; }
.map-card:hover img { transform: scale(1.04); opacity: 1; }
.map-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-size: 20px; font-weight: 700; background: linear-gradient(180deg, transparent, rgba(0,0,0,.8)); }
.map-card small { display: block; font-size: 13px; font-weight: 500; opacity: .8; }
.plan-info .price a { color: var(--red); }

/* PC 전화·문자 안내창 */
.notice { position: fixed; inset: 0; z-index: 210; background: rgba(8,9,12,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.notice[hidden] { display: none; }
.notice-box { position: relative; width: 100%; max-width: 420px; background: #fff; padding: 40px 32px 32px; text-align: center; border-top: 4px solid var(--red); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.notice-box h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.notice-body { font-size: 15px; color: var(--ink-2); }
.notice-tel { display: block; font-size: 32px; font-weight: 800; color: var(--red); margin: 18px 0 22px; letter-spacing: -.01em; }
.notice-btns { display: grid; gap: 8px; }
.notice-btns .btn { width: 100%; height: 50px; }
.notice-close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; font-size: 28px; color: var(--ink-3); }
.btn-kakao { background: #fee500; color: #191919; }
.btn-line-dark { border: 1px solid var(--line); color: var(--ink); }
.btn-line-dark:hover { border-color: var(--ink); }

/* 지도 크게 보기 팝업 */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,12,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; cursor: default; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox p { color: #fff; margin-top: 14px; font-size: 16px; font-weight: 700; }
.lightbox-close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; font-size: 34px; line-height: 1; color: #fff; }
.map-card { cursor: zoom-in; }

/* tables */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--ink); }
.tbl { font-size: 15px; text-align: center; min-width: 640px; }
.tbl th, .tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--bg-soft); font-weight: 700; }
.tbl tbody th { font-weight: 700; background: #fcfbf8; }
.tbl .total td, .tbl .total th { font-weight: 700; color: var(--red); background: #fbf6f6; }
.tbl td.l, .tbl th.l { text-align: left; }
.tbl .num { font-variant-numeric: tabular-nums; }
.overview-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.overview-grid figure img { width: 100%; }
.dl-table { border-top: 2px solid var(--ink); }
.dl-table div { display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); }
.dl-table dt { padding: 14px 16px; background: var(--bg-soft); font-weight: 700; font-size: 15px; }
.dl-table dd { padding: 14px 16px; font-size: 15px; }
.sub-title { font-size: 20px; font-weight: 700; margin: 56px 0 16px; display: flex; align-items: center; gap: 10px; }
.sub-title::before { content: ""; width: 4px; height: 20px; background: var(--red); }

/* premium */
.premium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card { background: #fff; border: 1px solid var(--line); padding: 36px 32px; position: relative; transition: transform .3s, box-shadow .3s; }
.p-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(0,0,0,.08); }
.p-card .no { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; opacity: .9; }
.p-card .tag { display: inline-block; margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .05em; }
.p-card h3 { font-size: 21px; line-height: 1.45; margin-bottom: 12px; }
.p-card p { color: var(--ink-2); font-size: 15px; }

/* location */
.loc-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn { padding: 10px 22px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; border-radius: 30px; color: var(--ink-2); }
.tab-btn[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.sec-dark .tab-btn { background: transparent; border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.sec-dark .tab-btn[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.tab-panel[hidden] { display: none; }
.map-figure img { width: 100%; border: 1px solid var(--line); }
.map-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.loc-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.loc-point { border-top: 2px solid var(--red); padding-top: 18px; }
.loc-point h3 { font-size: 18px; margin-bottom: 8px; }
.loc-point li { font-size: 15px; color: var(--ink-2); padding: 3px 0 3px 14px; position: relative; }
.loc-point li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.facility-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.facility { background: #fff; border: 1px solid var(--line); }
.facility img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.facility div { padding: 14px 16px; }
.facility h3 { font-size: 16px; }
.facility p { font-size: 13px; color: var(--ink-3); line-height: 1.5; margin-top: 4px; }

/* design / complex */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
.split h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.4; margin-bottom: 18px; }
.split p { color: var(--ink-2); font-size: 16px; }
.sec-dark .split p { color: rgba(255,255,255,.72); }
.check-list { margin-top: 20px; }
.check-list li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 15px; }
.sec-dark .check-list li { border-color: rgba(255,255,255,.12); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); margin-top: 72px; }
.spec { background: var(--bg-dark); padding: 32px 26px; }
.spec b { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1.2; }
.spec h3 { font-size: 17px; margin: 10px 0 6px; }
.spec p { font-size: 14px; color: rgba(255,255,255,.65); }
.img-shadow { box-shadow: 0 30px 60px rgba(0,0,0,.15); }

/* floor plans */
.plan-tabs { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; }
.plan-tabs .tab-btn { border: 0; border-radius: 0; background: none; padding: 14px 26px; font-size: 17px; border-bottom: 3px solid transparent; color: var(--ink-3); white-space: nowrap; }
.plan-tabs .tab-btn[aria-selected="true"] { background: none; color: var(--red); border-bottom-color: var(--red); }
.plan-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.plan-body figure { background: #fff; padding: 20px; border: 1px solid var(--line); }
.plan-info h3 { font-family: var(--serif); font-size: 34px; color: var(--red); }
.plan-info .units { font-size: 15px; color: var(--ink-2); margin: 4px 0 20px; }
.plan-info dl div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan-info dt { color: var(--ink-3); }
.plan-info dd { font-weight: 700; }
.plan-info .price { margin-top: 20px; padding: 18px 20px; background: var(--bg-soft); font-size: 15px; }
.plan-info .price b { display: block; font-size: 22px; color: var(--ink); }

/* price */
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { border: 1px solid var(--line); background: #fff; padding: 28px 22px; text-align: center; }
.price-card .t { font-family: var(--serif); font-size: 26px; color: var(--red); font-weight: 700; }
.price-card .s { font-size: 13px; color: var(--ink-3); }
.price-card .p { margin-top: 14px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.price-card .p small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.timeline { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 11px; height: 2px; background: var(--gold-light); }
.timeline li { text-align: center; position: relative; padding-top: 34px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.timeline li.key::before { background: var(--red); border-color: var(--red); }
.timeline b { display: block; font-size: 15px; }
.timeline span { color: var(--ink-3); font-size: 13px; }
.pay-boxes { display: grid; grid-template-columns: 1fr 2fr 1.4fr; gap: 12px; margin-top: 24px; }
.pay-box { padding: 24px; color: #fff; }
.pay-box b { font-size: 30px; font-family: var(--serif); display: block; }
.pay-box:nth-child(1) { background: #3a3a40; }
.pay-box:nth-child(2) { background: var(--red); }
.pay-box:nth-child(3) { background: var(--gold); }
.pay-box p { font-size: 14px; opacity: .9; }
.center-btn { text-align: center; margin-top: 40px; }

/* value */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); padding: 32px 28px; }
.value .big { font-family: var(--serif); font-size: 40px; color: var(--gold); line-height: 1.2; }
.value h3 { font-size: 18px; margin: 12px 0 8px; }
.value p { font-size: 14px; color: rgba(255,255,255,.7); }
.bar-chart { margin-top: 48px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); padding: 32px; }
.bar-chart h3 { font-size: 18px; margin-bottom: 20px; }
.bar-row { display: grid; grid-template-columns: 220px 1fr 70px; gap: 14px; align-items: center; padding: 7px 0; font-size: 14px; }
.bar-row .bar { height: 14px; background: rgba(255,255,255,.18); }
.bar-row .bar i { display: block; height: 100%; background: rgba(255,255,255,.55); }
.bar-row.me { color: var(--gold); font-weight: 700; }
.bar-row.me .bar i { background: var(--gold); }
.bar-row b { text-align: right; }

/* faq */
.faq { max-width: 900px; margin: 0 auto; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 44px; position: relative; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 8px; top: 20px; font-family: var(--serif); color: var(--red); font-size: 20px; }
.faq summary::after { content: ""; position: absolute; right: 16px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .a { padding: 0 24px 24px 44px; color: var(--ink-2); font-size: 16px; }
.faq .a p + p { margin-top: 8px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.08); }
.agent { background: var(--red); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; }
.agent .role { font-size: 14px; letter-spacing: .15em; color: var(--gold-light); }
.agent h3 { font-family: var(--serif); font-size: 34px; margin: 8px 0 4px; }
.agent .tel { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.01em; margin: 24px 0 8px; display: block; }
.agent p { opacity: .85; font-size: 15px; }
.agent .agent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 32px; }
.agent .agent-btns a { height: 52px; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 1px solid rgba(255,255,255,.5); }
.agent .agent-btns a:first-child { background: #fff; color: var(--red); border-color: #fff; }
.lead-form { padding: 56px 48px; }
.lead-form h3 { font-size: 22px; margin-bottom: 6px; }
.lead-form > p { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 50px; border: 1px solid var(--line); padding: 0 14px; font: inherit; font-size: 16px; background: #fff; border-radius: 0; }
.field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.agree { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 18px; }
.agree input { margin-top: 4px; }
.lead-form .btn { width: 100%; }
.lead-steps { margin: 8px 0 28px; border-top: 1px solid var(--line); }
.lead-steps li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.lead-steps b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--serif); }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--red); min-height: 1.4em; }
.place { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.place a { display: flex; align-items: center; justify-content: center; height: 56px; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.place a:hover { border-color: var(--red); color: var(--red); }

/* footer */
.footer { background: #0f1013; color: rgba(255,255,255,.6); padding: 56px 0 120px; font-size: 13px; line-height: 1.8; }
.footer strong { color: #fff; font-size: 16px; }
.footer .biz { margin: 14px 0 20px; }
.footer .biz span { display: inline-block; margin-right: 14px; }
.footer .disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.45); }
.footer .disclaimer li { padding-left: 10px; text-indent: -10px; }
.footer a:hover { color: #fff; }

/* mobile quick bar */
.quick-bar { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero picture img { animation: none; }
  html { scroll-behavior: auto; }
}

/* breadcrumb / subpage */
.sub-hero { padding: calc(var(--header-h) + 64px) 0 56px; background: var(--bg-dark) url("../images/perspective.webp") center/cover; position: relative; color: #fff; }
.sub-hero::before { content: ""; position: absolute; inset: 0; background: rgba(15,16,19,.72); }
.sub-hero .wrap { position: relative; }
.sub-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); }
.sub-hero p { opacity: .8; margin-top: 8px; }
.crumb { font-size: 13px; opacity: .7; margin-bottom: 14px; }
.crumb a:hover { text-decoration: underline; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.toc a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 30px; font-size: 14px; font-weight: 600; }
.toc a:hover { border-color: var(--red); color: var(--red); }
.price-sec + .price-sec { margin-top: 72px; }
.price-sec h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 6px; }
.price-sec .desc { color: var(--ink-3); font-size: 14px; margin-bottom: 16px; }
.tbl-price { min-width: 860px; font-size: 14px; }
.tbl-price td, .tbl-price th { padding: 11px 8px; }
.tbl-price .hl { font-weight: 800; color: var(--red); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gnb { gap: 18px; font-size: 14px; }
  .facility-grid { grid-template-columns: repeat(3, 1fr); }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .loc-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .menu-btn { display: block; }
  .header-cta .btn-tel { display: none; }
  .gnb { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; gap: 0; background: #fff; color: var(--ink); padding: 12px 24px; font-size: 18px; transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .gnb a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .menu-open .gnb { transform: none; }
  .menu-open .header { background: #fff; color: var(--ink); }
  .header-cta { margin-left: auto; }
  .gnb + .header-cta { margin-left: 0; }
  .sec { padding: 80px 0; }
  .overview-grid, .split, .plan-body, .contact { grid-template-columns: 1fr; gap: 32px; }
  .split.rev > :first-child { order: 0; }
  .split + .split { margin-top: 64px; }
  .premium-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
  .timeline::before { display: none; }
  .pay-boxes { grid-template-columns: 1fr; }
  /* 왼쪽 두 칸(전화·관심고객)은 화면 55% 안에 두어 오른쪽 아래 Netlify 딱지에 가려지지 않게 함 */
  .quick-bar { display: grid; grid-template-columns: 27.5% 27.5% 45%; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
  .quick-bar a { height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; gap: 2px; }
  .quick-bar a svg { width: 20px; height: 20px; }
  .quick-bar a.call { background: var(--red); color: #fff; }
  .quick-bar a.form { background: var(--gold); color: #fff; }
  .key-stats { grid-template-columns: 1fr 1fr; }
  .key-stats li:nth-child(3) { border-left: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero-inner { padding-bottom: 96px; }
  .hero-btns .btn { flex: 1; padding: 0 10px; font-size: 15px; white-space: nowrap; }
  .summary { padding: 28px 20px; }
  .summary-wrap { margin-top: -48px; }
  .premium-grid, .value-grid, .facility-grid, .loc-points, .place { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .photo-card figcaption { padding: 60px 18px 14px; }
  .photo-card img { aspect-ratio: 4/3; }
  .price-cards { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .agent, .lead-form { padding: 36px 22px; }
  .bar-row { grid-template-columns: 1fr 60px; }
  .bar-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .dl-table div { grid-template-columns: 96px 1fr; }
  .faq summary { font-size: 16px; padding-left: 36px; }
  .faq .a { padding-left: 36px; padding-right: 8px; }
  .sec-head { margin-bottom: 40px; }
  .p-card { padding: 28px 24px; }
}

/* ================= 3차안에서 추가된 디자인 ================= */
.wrap.narrow { max-width: 880px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark:hover { background: #000; }
.gnb .gnb-apply { display: none; }
.gnb a[aria-current="page"] { color: var(--gold); }
.header.is-solid .gnb a[aria-current="page"] { color: var(--red); }

/* 빠른 신청 (첫 화면 바로 아래) */
.quick-apply { background: var(--bg-soft); padding: 28px 0; border-bottom: 1px solid var(--line); }
.lead-form.is-compact { padding: 0; display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 8px 24px; align-items: end; background: none; }
.lead-form.is-compact h3 { font-size: 19px; margin: 0; grid-column: 1; }
.lead-form.is-compact .lead-sub { grid-column: 1; margin: 0; }
.lead-form.is-compact .lead-fields { grid-column: 2; grid-row: 1 / span 2; }
.lead-form.is-compact .btn { grid-column: 3; grid-row: 1 / span 2; width: auto; padding: 0 28px; align-self: end; margin-bottom: 14px; }
.lead-form.is-compact .agree { grid-column: 1 / -1; margin: 0; }
.lead-form.is-compact .form-msg, .lead-form.is-compact .lead-done { grid-column: 1 / -1; }

/* 신청 양식 공통 */
.lead-form { background: #fff; }
.lead-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field label { font-size: 14px; font-weight: 700; }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree a { color: var(--red); text-decoration: underline; }
.lead-done { text-align: center; padding: 20px; background: var(--bg-soft); }
.lead-done strong { display: block; font-size: 20px; color: var(--red); }
.lead-done p { font-size: 14px; color: var(--ink-2); margin: 6px 0 14px; }
.lead-done .btn { width: auto; }
.lead-form.is-done > :not(.lead-done) { display: none; }
.lead-form.is-done .lead-done { display: block; grid-column: 1 / -1; }

/* 상담 섹션 */
.apply-grid { display: grid; grid-template-columns: 1fr 1.2fr; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.08); }
.apply-grid .lead-form { padding: 48px 44px; }
.agent-card { background: var(--red); color: #fff; padding: 48px 44px; display: flex; flex-direction: column; }
.agent-role { font-size: 13px; letter-spacing: .15em; color: var(--gold-light); }
.agent-name { font-family: var(--serif); font-size: 34px; margin: 6px 0 12px; }
.agent-card p { font-size: 15px; opacity: .88; }
.agent-tel { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 22px 0 0; }
.agent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 28px; }
.agent-btns a { height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; border: 1px solid rgba(255,255,255,.5); }
.agent-btns a:first-child { background: #fff; color: var(--red); border-color: #fff; }
.agent-btns svg { width: 16px; height: 16px; }

/* 프리미엄 사진 카드 */
.prem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prem-card { position: relative; overflow: hidden; background: #000; aspect-ratio: 4/3; }
.prem-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s; }
.prem-card:hover img { transform: scale(1.05); }
.prem-card div { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 20px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.82)); }
.prem-card .tag { font-size: 12px; font-weight: 700; color: var(--gold-light); letter-spacing: .08em; }
.prem-card h3 { font-size: 20px; line-height: 1.35; margin: 4px 0 2px; }
.prem-card p { font-size: 13px; opacity: .85; }

/* 분양가 요약 */
.price-cards.two { grid-template-columns: 1fr 1fr; max-width: 720px; margin: 0 auto; }
.price-cards.two .price-card { padding: 32px 20px; }
.price-cards.two .p { font-size: 24px; color: var(--ink); }
.price-note { text-align: center; margin-top: 22px; color: var(--ink-2); }
.price-note a, .cta-line a { color: var(--red); font-weight: 700; text-decoration: underline; }

/* 영상 */
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000; max-width: 960px; margin: 0 auto; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wrap + .note { text-align: center; }

/* 정보 안내판 */
.more { padding: 72px 0; }
.more-title { font-family: var(--serif); font-size: 26px; text-align: center; margin-bottom: 28px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-card { display: block; border: 1px solid var(--line); padding: 22px 24px; background: #fff; transition: border-color .2s, transform .2s; position: relative; }
.info-card::after { content: "→"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; }
.info-card:hover { border-color: var(--red); transform: translateY(-2px); }
.info-card strong { display: block; font-size: 18px; }
.info-card span { font-size: 14px; color: var(--ink-3); }

/* 하위 페이지 */
.sub-hero .updated { font-size: 13px; opacity: .65; margin-top: 14px; }
.answer { background: var(--bg-soft); border-left: 4px solid var(--red); padding: 26px 30px; margin-bottom: 48px; }
.answer h2 { font-size: 17px; color: var(--red); margin-bottom: 8px; }
.answer p { font-size: 17px; color: var(--ink-2); }
.answer strong { color: var(--ink); }
.prose { color: var(--ink-2); margin-bottom: 14px; }
.tbl-wrap + .note, .tbl-wrap + .tbl-wrap { margin-top: 12px; }
.tbl td { font-variant-numeric: tabular-nums; }
/* ys3 표는 칸이 3개 이하라 휴대폰 폭에 맞게 줄임 (옆으로 밀리지 않게) */
.tbl { min-width: 0; }
@media (max-width: 600px) { .tbl { font-size: 14px; } .tbl th, .tbl td { padding: 11px 6px; } }
.tbl.cash td:last-child { text-align: left; color: var(--ink-3); font-size: 14px; }
.cash-total { margin-top: 16px; padding: 20px 24px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cash-total b { font-size: 26px; color: var(--gold-light); }
.cta-line { margin-top: 16px; font-size: 16px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.point { border: 1px solid var(--line); padding: 22px 24px; }
.point h3 { font-size: 17px; color: var(--red); margin-bottom: 6px; }
.point p { font-size: 15px; color: var(--ink-2); }
.plan-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.plan-block figure { background: #fff; border: 1px solid var(--line); padding: 16px; }
.plan-block .plan-info h2 { font-family: var(--serif); font-size: 30px; color: var(--red); }
.plan-block .check-list { margin: 8px 0 16px; }
.facts-list li { border-bottom: 1px solid var(--line); }
.news-item { border-top: 1px solid var(--line); padding: 32px 0; }
.news-item:first-child { border-top: 2px solid var(--ink); }
.news-meta { font-size: 13px; color: var(--ink-3); }
.news-meta span { color: var(--red); font-weight: 700; margin-right: 6px; }
.news-item h2 { font-size: 20px; line-height: 1.45; margin: 6px 0 10px; }
.news-item > p { color: var(--ink-2); }
.news-comment { margin-top: 12px; padding: 14px 18px; background: var(--bg-soft); font-size: 15px; }
.news-comment b { color: var(--red); margin-right: 6px; }
.news-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--ink); border-bottom: 1px solid currentColor; }
.faq .a a { color: var(--red); font-weight: 700; white-space: nowrap; }

@media (min-width: 901px) {
  .gnb { gap: 22px; font-size: 15px; }
}
@media (max-width: 1100px) {
  .gnb { gap: 14px; font-size: 14px; }
  .prem-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .gnb .gnb-apply { display: block; color: var(--red); font-weight: 700; }
  .lead-form.is-compact { grid-template-columns: 1fr; }
  .lead-form.is-compact .lead-fields, .lead-form.is-compact .btn { grid-column: 1; grid-row: auto; }
  .lead-form.is-compact .btn { width: 100%; margin: 0; }
  .apply-grid, .plan-block { grid-template-columns: 1fr; gap: 24px; }
  .apply-grid { gap: 0; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .prem-grid, .info-grid, .points, .price-cards.two { grid-template-columns: 1fr; }
  .lead-fields { grid-template-columns: 1fr; }
  .apply-grid .lead-form, .agent-card { padding: 32px 22px; }
  .answer { padding: 20px 20px; }
  .answer p { font-size: 16px; }
  .plan-block { padding: 36px 0; }
}

/* ===== 누나 2차 피드백 반영 (2026-10-16) ===== */
/* 휴대폰 상단: 지금 보고 있는 메뉴 이름 */
.cur-page { display: none; }
/* 분양가 부제목 크게 */
.sec-head .price-lead { font-size: clamp(19px, 2.4vw, 26px); color: var(--ink); font-weight: 600; margin-top: 12px; }
.price-lead b { color: var(--red); }
/* 모형도(컬러 평면도) 나열 */
.plan-thumbs-title { text-align: center; font-family: var(--serif); font-size: 22px; margin: 56px 0 18px; }
.plan-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan-thumb { display: block; background: #fff; border: 1px solid var(--line); padding: 10px; transition: border-color .2s; }
.plan-thumb:hover { border-color: var(--red); }
.plan-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.plan-thumb span { display: block; text-align: center; font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.plan-thumb b { color: var(--red); font-size: 17px; margin-right: 4px; }
/* 이 단지를 고르는 이유: 사진이 첫 장부터 차례로 살짝 어두워졌다 밝아짐 */
@keyframes premDim { 0%, 22%, 100% { filter: brightness(1); } 11% { filter: brightness(.45); } }
.prem-card img { animation: premDim 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.5s); }
@media (prefers-reduced-motion: reduce) { .prem-card img { animation: none; } }

@media (max-width: 900px) {
  .cur-page { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid currentColor; border-radius: 20px; font-size: 13px; font-weight: 700; white-space: nowrap; margin-right: 4px; }
  .header.is-solid .cur-page { color: var(--red); }
  .plan-thumbs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .logo strong { font-size: 18px; }
  .plan-thumbs-title { margin-top: 40px; }
}
/* 좁은 휴대폰: 단지 이름이 두 줄로 꺾이지 않게 */
@media (max-width: 900px) {
  .header .wrap { gap: 10px; }
  .logo { min-width: 0; flex: 1; }
  .logo strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-cta { flex: none; }
}
@media (max-width: 420px) {
  .logo strong { font-size: 16px; }
  .logo span { font-size: 10px; letter-spacing: .1em; }
  .cur-page { font-size: 12px; padding: 0 10px; height: 26px; }
}
/* E모델하우스 연결 버튼 (평면도 페이지) */
.emodel { display: flex; align-items: center; gap: 18px; margin: 8px 0 40px; padding: 22px 26px; background: var(--ink); color: #fff; transition: background .2s; }
.emodel:hover { background: var(--red); }
.emodel-icon { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.emodel-text { flex: 1; min-width: 0; }
.emodel-text strong { display: block; font-size: 20px; }
.emodel-text small { display: block; font-size: 13px; opacity: .7; margin-top: 2px; }
.emodel-go { font-size: 26px; color: var(--gold); }
@media (max-width: 600px) {
  .emodel { padding: 18px; gap: 14px; }
  .emodel-icon { width: 52px; height: 52px; font-size: 14px; }
  .emodel-text strong { font-size: 18px; }
}
/* E모델하우스: 평면도 페이지 안에 띄움 */
.emodel-sec { margin-top: 64px; padding-top: 8px; border-top: 2px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 12px); }
.emodel-frame { position: relative; width: 100%; height: min(75vh, 680px); min-height: 420px; background: #111; }
.emodel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 입지 페이지 실제 지도 */
.real-map { position: relative; height: 380px; background: #eee; border: 1px solid var(--line); }
.real-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.map-links a { display: flex; align-items: center; justify-content: center; height: 46px; border: 1px solid var(--line); font-weight: 700; font-size: 15px; background: #fff; }
.map-links a:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 600px) { .real-map { height: 300px; } .map-links a { font-size: 14px; } }

/* 엄궁: 가격 카드 3칸 (59·74·84) */
.price-cards.three { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.price-cards.three .price-card { padding: 32px 20px; }
.price-cards.three .p { font-size: 24px; color: var(--ink); }
@media (max-width: 640px) { .price-cards.three { grid-template-columns: 1fr; } }

/* ---------- 엄궁: 스크롤 움직임 효과 (main.js 가 class 를 붙임) ---------- */
/* 첫 화면 글자: 차례로 떠오르기 */
.hero-inner .wrap > * { opacity: 0; transform: translateY(30px); animation: heroUp 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-inner .wrap > :nth-child(1) { animation-delay: .3s; }
.hero-inner .wrap > :nth-child(2) { animation-delay: .55s; }
.hero-inner .wrap > :nth-child(3) { animation-delay: .85s; }
.hero-inner .wrap > :nth-child(4) { animation-delay: 1.1s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
/* 첫 화면 사진: 스크롤보다 천천히 내려감 */
.hero picture { will-change: transform; transform: translate3d(0, var(--hero-y, 0px), 0); }
/* 화면에 들어오면 아래에서 떠오르기 (같은 줄 카드는 조금씩 늦게) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
/* 사진: 크게 보였다가 제자리로 */
.rz img { transition: transform 1.6s cubic-bezier(.2,.7,.2,1), opacity .3s; transition-delay: var(--d, 0s); }
.rz:not(.is-in) img { transform: scale(1.18); }
/* 조감도 등 큰 사진: 스크롤에 따라 사진만 천천히 움직임 */
.photo-card img { transform: scale(1.12) translate3d(0, var(--py, 0px), 0); will-change: transform; }
/* 제목 아래 금색 선이 그어짐 */
.sec-head.reveal h2::after { content: ""; display: block; width: 0; height: 2px; margin: 18px auto 0; background: var(--gold); transition: width 1s .5s; }
.sec-head.reveal.is-in h2::after { width: 56px; }
@media (prefers-reduced-motion: reduce) {
  .hero-inner .wrap > * { opacity: 1; transform: none; animation: none; }
  .hero picture, .photo-card img { transform: none; }
  .reveal, .rz img { opacity: 1; transform: none; transition: none; }
}