/* 공통 디자인. 모바일 먼저, 가독성 우선(큰 글자·넉넉한 줄 간격·섹션당 정보 하나). */
/* 포털 공통 색: 시안 ① 화이트 + 블루 (전 현장 통일) */
:root {
  --ink: #142033;
  --ink-2: #4b5b70;
  --ink-3: #7a8798;
  --line: #dde7f2;
  --bg: #ffffff;
  --bg-2: #f5f9fd;
  --band: #eef5fc;
  --brand: #1f4fa3;
  --call: #1f4fa3;
  --call-hover: #183f84;
  --badge-bg: #e3edfb;
  --badge-ink: #163d80;
  --foot: #13284a;
  --radius: 12px;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 23px; font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.lead { color: var(--ink-2); font-size: 17px; }
.note { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
.count { color: var(--call); }

.preview-bar { background: #fff4c2; color: #6b5300; font-size: 13px; text-align: center; padding: 6px 12px; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--brand); }
.top-nav { display: none; gap: 22px; margin-left: 20px; }
.top-nav a { text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 700; }
.top-nav a:hover { color: var(--brand); }
/* 로고 ① + 글자 */
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 30px; height: 30px; color: var(--brand); flex: none; }
.logo-txt b { display: block; font-size: 18px; font-weight: 800; line-height: 1.1; color: var(--brand); }
.logo-txt small { display: block; font-size: 9px; letter-spacing: .3em; color: var(--ink-3); font-weight: 600; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top-call { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--brand); line-height: 1.1; }
.top-call small { display: none; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.top-call > span { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.top-right .top-reg { display: none; min-height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.top-call > span { white-space: nowrap; }
@media (min-width: 720px) {
  .top-in { height: 72px; } .tabs { top: 72px; }
  .top-call small { display: block; }
  .top-call > span { font-size: 24px; }
  .top-call .i-phone { width: 22px; height: 22px; }
  .top-right .top-reg { display: inline-flex; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-txt b { font-size: 21px; }
}

/* 메인 첫 화면 v3: 왼쪽 카피·검색 + 오른쪽 등록 현장 슬라이드 (블루, 노랑은 손글씨만) */
.hero-v3 { background: linear-gradient(135deg, #1f4fa3, #163d80); color: #fff; padding: 36px 0 40px; }
.hero-v3-in { display: grid; gap: 26px; align-items: center; }
.hw { font-family: 'Nanum Pen Script', cursive; font-size: 36px; color: #ffd84d; line-height: 1; margin: 0 0 6px; }
.hero-v3 h1 { font-size: 34px; margin: 0 0 4px; color: #fff; }
.hero-v3 h1 em { font-style: normal; }
.hero-types { color: #d5e2f7; margin: 0; }
.hero-v3 .search { display: flex; gap: 6px; background: #fff; border-radius: 12px; padding: 6px; margin-top: 18px; max-width: 520px; }
.hero-v3 .search input { border: 0; height: 44px; padding: 0 10px; flex: 1; min-width: 0; outline: none; }
.hero-v3 .search .btn { min-height: 44px; padding: 0 18px; }
.status-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.status-chips .chip { background: transparent; border-color: rgba(255,255,255,.4); color: #e6eefb; cursor: pointer; font: inherit; font-size: 14px; }
.status-chips .chip.on { background: #fff; color: var(--brand); border-color: #fff; font-weight: 700; }
.slider { position: relative; }
.slides { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(8, 24, 56, .25); }
.slide { display: none; text-decoration: none; color: var(--ink); }
.slide.on { display: block; }
.slide-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.slide-cap { display: block; padding: 14px 16px 16px; }
.slide-cap .badge { margin-bottom: 4px; }
.slide-cap b { display: block; font-size: 19px; }
.slide-cap > span:last-child { display: block; color: var(--ink-2); font-size: 15px; }
.slide-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.slide-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(255,255,255,.45); padding: 0; cursor: pointer; }
.slide-dots button.on { width: 22px; background: #fff; }

/* 추천 현장 배너 */
.feature { display: grid; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 12px; }
.feature-img img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature-body { padding: 16px 18px 4px; display: flex; flex-direction: column; gap: 4px; }
.feature-body .badge { align-self: flex-start; }
.feature-title { font-size: 21px; line-height: 1.35; }
.feature-points { color: var(--ink-2); font-size: 15px; }
.feature-meta { color: var(--ink-3); font-size: 13px; }
.feature-go { margin: 12px 18px 18px; align-self: start; justify-self: start; background: var(--foot); color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 15px; }

/* 지역 탭, 유형 타일 */
.region-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.region-tabs small { font-weight: 600; opacity: .8; }
.type-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.type-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.type-tile:hover { border-color: var(--brand); }
.type-tile.off { opacity: .5; }
.type-ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--band); fill: var(--brand); }
.type-tile small { color: var(--ink-3); }

@media (min-width: 900px) {
  .hero-v3 { padding: 56px 0 60px; }
  .hero-v3-in { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero-v3 h1 { font-size: 46px; }
  .hw { font-size: 42px; }
  .feature { grid-template-columns: 340px 1fr auto; align-items: center; }
  .feature-img img { aspect-ratio: auto; min-height: 190px; }
  .feature-go { align-self: center; }
  .type-tiles { grid-template-columns: repeat(4, 1fr); }
}

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-call { background: var(--call); color: #fff; }
.btn-call:hover { background: var(--call-hover); }
.btn-line { background: #fff; color: var(--ink); border-color: #cfd5dd; }
.btn-line:hover { border-color: var(--ink-3); }
.btn-wide { width: 100%; margin-top: 8px; }
.link-btn { background: none; border: 0; color: var(--brand); font: inherit; font-size: 15px; cursor: pointer; text-decoration: underline; padding: 4px; }
.i-phone, .i-pin { width: 18px; height: 18px; display: inline-block; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; flex: none; }
.i-phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.i-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); color: var(--brand); margin-right: 6px; vertical-align: -3px; }

/* 섹션 */
.sec { padding: 48px 0; }
.sec h2::before { content: ''; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--brand); margin-bottom: 12px; }
.overview summary h2::before { display: none; }
.sec.alt { background: var(--bg-2); }
.crumb { font-size: 14px; color: var(--ink-3); margin-bottom: 8px; }
.crumb a { text-decoration: none; }

/* 메인 히어로 */
.hero-main { padding: 40px 0 28px; background: var(--band); }
.hero-main.small { padding: 28px 0 8px; }
.search input { width: 100%; height: 52px; border: 1px solid #cfd5dd; border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; }
.search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border: 1px solid #cfd5dd; border-radius: 999px; background: #fff; text-decoration: none; font-size: 15px; color: var(--ink-2); }
.chip b { color: var(--brand); }
.chips.small .chip { font-size: 14px; padding: 4px 12px; }

/* 카드 */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 16/10; background: var(--bg-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card h3 { font-size: 19px; margin: 6px 0 4px; }
.card h3 a { text-decoration: none; }
.meta { color: var(--ink-2); font-size: 15px; margin: 0; }
.point { font-size: 15px; color: var(--brand); font-weight: 600; margin: 6px 0 0; }
.card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.card-btns .btn { padding: 0 8px; font-size: 15px; }
.badge { display: inline-block; align-self: flex-start; background: var(--badge-bg); color: var(--badge-ink); font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 6px; }
.empty { color: var(--ink-2); padding: 20px 0; }

/* 상세 히어로 */
.d-hero { background: var(--band); }
.d-hero-in { display: flex; flex-direction: column; gap: 18px; padding-top: 16px; padding-bottom: 28px; }
.d-hero-media { margin: 0 -20px; }
.d-hero-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.d-hero h1 { margin-top: 6px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.fact span { display: block; font-size: 13px; color: var(--ink-3); }
.fact b { font-size: 16px; font-weight: 700; line-height: 1.45; display: block; }

/* 바로가기 탭 (스크롤 시 상단 고정) */
.tabs { position: sticky; top: 60px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs-in a { padding: 12px 12px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs-in a.on { color: var(--brand); border-bottom-color: var(--brand); }

/* 장점·입지 */
.points { list-style: none; padding: 0; margin: 0; counter-reset: p; display: grid; gap: 14px; }
.points li { counter-increment: p; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px 60px; position: relative; }
.points li::before { content: counter(p); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.points p, .block p { color: var(--ink-2); }
.blocks { display: grid; gap: 12px; margin-bottom: 18px; }
.block { background: #fff; border-radius: var(--radius); padding: 18px 18px 6px; border: 1px solid var(--line); }

/* 평면·갤러리 */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plans figure, .gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.plans figcaption { text-align: center; font-weight: 700; padding: 8px; border-top: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* 방문·개요 */
.visit { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; margin-bottom: 16px; }
.visit p:first-child { font-weight: 700; }
.overview summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.overview summary::-webkit-details-marker { display: none; }
.overview summary::after { content: '+'; font-size: 26px; color: var(--ink-3); }
.overview[open] summary::after { content: '−'; }
.overview summary h2 { margin: 0; }
.overview table { width: 100%; border-collapse: collapse; margin-top: 16px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.overview th, .overview td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.overview th { width: 92px; color: var(--ink-3); font-weight: 600; background: #fafbfc; }

/* 자주 묻는 질문 */
.overview .faq { margin-top: 16px; }
.faq-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.faq-top .chips { margin: 0; }
.faq-cat { font-size: 15px; color: var(--brand); margin: 24px 0 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--ink-3); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--ink-2); padding-bottom: 8px; }

/* 등록 폼 */
.lead-form { display: grid; gap: 14px; margin-top: 8px; }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.lead-form input[name] { height: 50px; border: 1px solid #cfd5dd; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; }
.lead-form .consent { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.lead-form .consent input { width: 20px; height: 20px; }
.consent-detail { font-size: 14px; color: var(--ink-3); }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-detail p { margin-top: 6px; }
.form-msg { min-height: 1.5em; font-size: 15px; color: var(--brand); margin: 0; }
.form-msg.err { color: #c62828; }

/* 하단 */
.foot { background: var(--foot); color: #b9c6d8; padding: 36px 0 100px; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.foot-links a { color: #e3e8ef; text-decoration: none; }
.foot-note { color: #8792a2; font-size: 13px; }

/* 모바일 하단 고정 바 */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.bottom-bar .btn, .card-btns .btn { width: 100%; min-height: 50px; padding: 0 8px; text-align: center; }

/* 상세 히어로 칩 (위치·규모·타입·입주를 한 줄로) */
.hero-chips { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.hero-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 14px; color: var(--ink-2); }

/* PREMIUM 카드 */
.eyebrow { color: var(--brand); font-weight: 800; letter-spacing: .12em; font-size: 13px; margin: 0 0 4px; }
#premium h2::before { display: none; }
.premium-list { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px; scrollbar-width: thin; }
.premium { scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.premium .zoom img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.premium-body { padding: 14px 16px 6px; }
.premium-no { color: var(--brand); font-weight: 800; font-size: 14px; }
.premium h3 { margin: 2px 0 6px; font-size: 18px; }
.premium p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.more summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 15px; }
.more p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }

/* 입지 */
.loc { display: grid; gap: 16px; }
.loc-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/11; object-fit: cover; }
.loc-chips { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.loc-chips li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.loc-chips b { display: block; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.loc-chips span { font-weight: 600; line-height: 1.45; font-size: 15px; }
.ico { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--band); fill: var(--brand); flex: none; }

/* 평면 타입 탭 */
.plan-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.plan-tab { border: 1px solid #cfd8e3; background: #fff; border-radius: 999px; padding: 6px 18px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.plan-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.plans[hidden] { display: none; }
.plans figure .zoom img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #fff; }

/* 확대 보기 */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plan-reference { display: block; padding: 24px 12px; color: var(--brand); text-decoration: underline; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 18, 32, .92); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lb-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom pan-x pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; padding: 10px 14px; font-size: 15px; }
.lb-btn { background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 10px; min-width: 44px; height: 44px; font-size: 20px; cursor: pointer; }

/* 히어로 버튼 2개 (문의하기 / 오늘 조건 받기) */
.hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.hero-btns .btn { width: 100%; min-height: 52px; padding: 0 8px; }
.btn-line .i-phone { color: var(--brand); }
.chip-price { background: var(--badge-bg) !important; border-color: transparent !important; color: var(--badge-ink) !important; font-weight: 700; }

/* 분양가 */
.prices { display: grid; grid-template-columns: 1fr; gap: 8px; }
.price { background: var(--band); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
@media (min-width: 720px) {
  .prices { grid-template-columns: repeat(3, 1fr); }
  .price { display: block; text-align: center; }
}
.price span { display: block; font-size: 13px; color: var(--ink-3); }
.price b { font-size: 17px; color: var(--brand); line-height: 1.35; display: block; }
.prices + .note { margin: 8px 0 18px; }
.plan-tab small { font-weight: 600; font-size: 12px; opacity: .85; }

/* 프로모션 */
.promo-band { margin: 10px 0 0; background: #fff; border: 1.5px solid var(--brand); border-radius: 10px; padding: 10px 14px; color: var(--ink); }
.promo-band b { color: var(--brand); }
.promo-band span { font-weight: 700; color: var(--ink-2); margin-left: 4px; }
.promo-band small { display: block; color: var(--ink-3); font-size: 12px; }
.badges { display: flex; gap: 6px; }
.badge-promo { background: var(--brand); color: #fff; }
.promo-line { font-size: 15px; font-weight: 700; color: var(--brand); margin: 6px 0 0; }
.promo-strip { background: var(--band); }

/* PC에서 문의하기를 누르면 번호 안내 창 */
.call-pop { position: fixed; inset: 0; z-index: 90; background: rgba(10, 18, 32, .5); display: grid; place-items: center; padding: 20px; }
.call-pop[hidden] { display: none; }
.call-box { background: #fff; border-radius: 16px; padding: 28px 28px 20px; text-align: center; width: min(360px, 100%); }
.call-box p { color: var(--ink-2); margin: 0 0 4px; }
.call-box .num { font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: .02em; margin: 4px 0 16px; }
.call-box .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

@media (min-width: 720px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .top-nav { display: flex; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .btn-wide { width: auto; min-width: 260px; }
  .blocks { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  /* 상세 히어로 PC: 왼쪽 글·버튼·핵심 4칸, 오른쪽 조감도 (시안 A) */
  .d-hero-in { flex-direction: row-reverse; align-items: center; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
  .d-hero-media { margin: 0; flex: 1.05; }
  .d-hero-media img { border-radius: 16px; aspect-ratio: 4/3; }
  .d-hero-text { flex: 1; }
  .d-hero .btn-wide { width: 100%; }
  .premium-list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .loc { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .bottom-bar { display: none; }
  .foot { padding-bottom: 36px; }
}

/* ---- 글자 한 단계 키우기 (메인 미리보기 피드백 10/15) ---- */
body { font-size: 18px; }
h1 { font-size: 30px; }
h2 { font-size: 25px; }
h3 { font-size: 19px; }
.lead { font-size: 18px; }
.meta { font-size: 16px; }
.card h3 { font-size: 21px; }
.point, .promo-line { font-size: 16px; }
.chip { font-size: 16px; }
.hero-types { font-size: 18px; }
.status-chips .chip { font-size: 15px; padding: 5px 14px; }
.slide-cap b { font-size: 21px; }
.slide-cap > span:last-child { font-size: 16px; }
.feature-title { font-size: 23px; }
.feature-points { font-size: 16px; }
.feature-meta { font-size: 14px; }
.premium h3 { font-size: 19px; }
.premium p, .more p, .loc-chips span { font-size: 16px; }
.faq-item summary { font-size: 17px; }
.price b { font-size: 18px; }
.btn { font-size: 17px; }
.type-tile b { font-size: 17px; }
@media (min-width: 720px) {
  h1 { font-size: 40px; }
  h2 { font-size: 29px; }
}
@media (min-width: 900px) {
  .hero-v3 h1 { font-size: 54px; }
  .hw { font-size: 46px; }
}
@media (max-width: 999px) { .top-nav { display: none !important; } }
@media (min-width: 1000px) { .top-nav { display: flex; } }

/* 개인정보처리방침 */
.policy h2 { font-size: 20px; margin-top: 28px; }
.policy p, .policy li { color: var(--ink-2); font-size: 16px; }
.policy table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 12px; }
.policy th, .policy td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.policy th { background: var(--bg-2); width: 28%; }
.foot-links a.foot-privacy { font-weight: 700; color: #fff; }

/* 지도 페이지(/map/): PC는 검색 고정·목록만 스크롤, 지도 주변에 페이지 스크롤 여유 */
.mapx { display: grid; grid-template-columns: 1fr; }
.mapx-map { order: -1; height: clamp(260px, 45svh, 420px); background: #e8eef6; position: relative; }
.map-wait { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--ink-3, #5b6575); margin: 0; }
.mapx-side { padding: 16px; background: #fff; }
.mapx-tools { display: grid; gap: 8px; }
.mapx-tools input { height: 48px; border: 1px solid #cfd8e6; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; }
.mapx-sel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mapx-sel select { height: 44px; border: 1px solid #cfd8e6; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 15px; background: #fff; color: inherit; }
.mapx-note { font-size: 13px; color: var(--ink-3, #5b6575); margin: 12px 0 4px; }
.mapx-list { display: grid; }
.mcard { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.mcard:hover { background: var(--band); }
.mcard-img { position: relative; display: block; width: 104px; height: 104px; border-radius: 8px; overflow: hidden; background: var(--band); }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; }
.mcard-badges { position: absolute; inset: 6px 6px auto; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mcard-img .badge { font-size: 11px; padding: 2px 6px; line-height: 1.5; }
.mcard-promo { margin: 4px 0 0; border: 1px solid var(--line); border-radius: 6px; padding: 5px 7px; color: var(--brand); background: var(--band); font-size: 12px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.mcard-body { min-width: 0; display: grid; gap: 3px; align-content: start; }
.mcard-body h3 { font-size: 17px; margin: 0; line-height: 1.35; }
.mcard-body h3 a { color: var(--ink); text-decoration: none; }
.mcard-body .meta { font-size: 13px; color: var(--ink-2, #46505f); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard-foot { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 0; }
.mcard-foot b { color: var(--brand); font-size: 18px; }
.mcard-foot span { font-size: 13px; color: var(--ink-2, #46505f); }
@media (min-width: 1000px) {
  .mapx { grid-template-columns: 420px minmax(0, 1fr); height: clamp(360px, calc(100dvh - 180px), 760px); margin: 16px 20px 24px 0; border: 1px solid var(--line); border-left: 0; border-radius: 0 10px 10px 0; overflow: hidden; }
  .mapx-map { order: 2; height: auto; min-height: 0; }
  .mapx-side { order: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--line); padding: 18px 20px; }
  .mapx-tools, .mapx-note { flex-shrink: 0; }
  .mapx-list { min-height: 0; overflow-y: auto; scrollbar-gutter: stable; flex: 1; }
}
.map-pin { font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1; color: #fff; background: var(--brand); border: 0; border-radius: 999px; padding: 8px 12px; box-shadow: 0 2px 8px rgba(0,0,0,.25); white-space: nowrap; cursor: pointer; position: relative; }
.map-pin::after { content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 0; border-top-color: var(--brand); }
.map-pin:not(.has-price) { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.map-region { font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; background: var(--foot, #13284a); border: 2px solid #fff; border-radius: 999px; padding: 8px 14px; box-shadow: 0 2px 10px rgba(0,0,0,.3); cursor: pointer; white-space: nowrap; }
.map-region b { color: #ffd84d; margin-left: 2px; }
.map-pop { width: 260px; background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.25); overflow: hidden; position: relative; font-size: 15px; }
.map-pop img { display: block; width: 100%; height: 120px; object-fit: cover; }
.map-pop-body { padding: 12px; display: grid; gap: 6px; }
.map-pop-body strong { font-size: 16px; color: var(--foot, #13284a); }
.map-pop-body .badge { justify-self: start; }
.map-pop-price { color: var(--brand); font-weight: 700; }
.map-pop-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.map-pop-btns .btn { padding: 8px 6px; font-size: 14px; text-align: center; }
.map-pop-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }

/* 메인 목록 제목 옆 "지도로 보기" */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.sec-head h2 { margin-bottom: 0; }
.map-go { white-space: nowrap; }

/* 추천 현장 자동 슬라이드(2곳 이상) */
.fslider .feature.slide { display: none; margin-bottom: 0; }
.fslider .feature.slide.on { display: grid; }
.fslider .slide-dots button { background: #c9d4e6; }
.fslider .slide-dots button.on { background: var(--brand); }

/* 관심고객 등록: 메인·지역·유형(진한 파랑) / 상세(밝은 배경) 공용 */
.lead-band { background: linear-gradient(135deg, #12306b, #1f4fa3 60%, #2a63c4); color: #fff; padding: 56px 0; }
.lead-in { display: grid; gap: 28px; align-items: center; }
.lead-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .2em; color: #7fc4ff; margin: 0 0 6px; }
.lead-copy h2 { font-size: 30px; margin: 0 0 12px; }
.lead-band .lead-copy p { color: rgba(255,255,255,.88); line-height: 1.7; }
.lead-checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.lead-checks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.lead-checks li::before { content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-content: center; font-size: 13px; background: rgba(255,255,255,.18); color: #fff; }
.lead-call { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; border-radius: 14px; padding: 18px 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.lead-call-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-content: center; background: rgba(255,255,255,.18); flex: none; }
.lead-call > span:last-child { display: grid; gap: 2px; }
.lead-call b { font-size: 30px; letter-spacing: .01em; line-height: 1.1; }
.lead-call small { font-size: 13px; opacity: .85; }
.lead-box { background: #fff; color: var(--ink); border-radius: 16px; padding: 24px; box-shadow: 0 12px 40px rgba(8,24,56,.25); }
.lead-box h3 { font-size: 22px; margin: 0; }
.lead-box-sub { color: var(--ink-2, #46505f); margin: -6px 0 2px; }
.lead-row { display: grid; gap: 14px; }
.lead-form label em { color: #e5484d; font-style: normal; font-weight: 500; font-size: 13px; }
.lead-form select { height: 50px; border: 1px solid #cfd5dd; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 16px; background: #fff; color: inherit; }
.consent-box { background: #f6f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.consent-box ul { margin: 8px 0 10px; padding-left: 16px; color: var(--ink-2, #46505f); display: grid; gap: 3px; }
.consent-box .consent a { color: var(--brand); }
.lead-submit { width: 100%; height: 56px; border-radius: 10px; border: 0; background: var(--foot, #13284a); color: #fff; font-size: 18px; font-weight: 800; cursor: pointer; }
.lead-submit:disabled { opacity: .6; }
.lead-sec .lead-checks li::before { background: var(--brand); }
.lead-tag { color: var(--ink-2, #46505f); line-height: 1.7; }
.lead-warn { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin: 4px 0 18px; }
.lead-warn span { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-content: center; font-size: 15px; flex: none; }
.lead-sec .lead-call { background: #fff; border-color: var(--line); }
.lead-sec .lead-call-ico { background: var(--band); color: var(--brand); }
.lead-sec .lead-call b { color: var(--foot, #13284a); }
.lead-sec .lead-box { box-shadow: 0 6px 24px rgba(8,24,56,.08); border: 1px solid var(--line); }
#contact, #visit { scroll-margin-top: 90px; }
@media (min-width: 720px) { .lead-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .lead-in { grid-template-columns: 1fr 1fr; gap: 56px; }
  .lead-band { padding: 80px 0; }
  .lead-copy h2 { font-size: 38px; }
  .lead-box { padding: 32px; }
}

/* 상세 아래 고정 버튼: 첫 화면 버튼이 보일 때는 숨김 */
.bottom-bar { transition: transform .25s ease; }
.bottom-bar.bar-off { transform: translateY(110%); }

/* 카드 사진: 원본 비율과 상관없이 같은 높이(16:10)로 잘라 채움 / 사진 없으면 현장명 기본 그림 */
.card-img { overflow: hidden; min-height: 0; }
.card-img img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.card-img .ph, .mcard-img .ph { display: grid; place-content: center; width: 100%; height: 100%; aspect-ratio: 16/10; padding: 12px; text-align: center; font-weight: 800; color: var(--brand); background: linear-gradient(135deg, #eef5fc, #dbe8f8); }
.mcard-img .ph { aspect-ratio: auto; font-size: 12px; }

/* 첫 화면 슬라이드 아래줄: 분양가 + 자세히 보기 */
.slide-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.slide-foot em { font-style: normal; font-weight: 800; color: var(--brand); font-size: 16px; }
.slide-go { flex: none; background: var(--foot); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; }
.slide-img .ph { display: grid; place-content: center; aspect-ratio: 16/10; font-weight: 800; color: var(--brand); background: linear-gradient(135deg, #eef5fc, #dbe8f8); }

/* 메인 "지도로 찾기" 띠 */
.map-strip { background: var(--band); border-bottom: 1px solid var(--line); padding: 18px 0; }
.map-strip-in { display: grid; gap: 14px; align-items: center; }
.map-strip-copy { display: flex; align-items: center; gap: 12px; }
.map-strip-ico { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-content: center; font-size: 24px; box-shadow: 0 2px 8px rgba(8,24,56,.08); flex: none; }
.map-strip-copy b { display: block; font-size: 18px; color: var(--foot); }
.map-strip-copy small { color: var(--ink-2); font-size: 14px; }
.map-strip-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.map-strip-r { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.map-strip-r b { color: var(--brand); }
.map-strip-r.off { opacity: .5; }
.map-strip-go { height: 44px; min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; }
@media (min-width: 1000px) { .map-strip-in { grid-template-columns: 1fr auto; } .map-strip { padding: 22px 0; } }

/* 프리미엄 카드의 평면도는 자르지 않고 전체가 보이게 */
.premium .zoom.fit img { object-fit: contain; background: #fff; padding: 8px; }

/* 첫 화면 슬라이드는 같은 격자에 겹쳐 높이를 고정하고 부드럽게 전환한다. */
.slider .slides { display: grid; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; }
.slider.is-dragging .slides { cursor: grabbing; }
.slider .slide { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; pointer-events: none; z-index: 0; transition: opacity .25s ease; }
.slider .slide.on { display: flex; opacity: 1; pointer-events: auto; z-index: 1; }
.slider .slide-img { display: block; flex: none; aspect-ratio: 16 / 10; overflow: hidden; }
.slider .slide-img img { display: block; width: 100%; height: 100%; -webkit-user-drag: none; }
.slider .slide-cap { flex: 1; }
.slider .image-contain, .d-hero-media.media-contain img { object-fit: contain; background: #e8eef6; }
.hero-caption { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .slider .slide { transition: none; } }

/* 혜택 현장: 첫 화면 버튼 아래 한 줄 전체 혜택 버튼 */
.hero-btns .btn-benefit { grid-column: 1 / -1; min-height: 50px; display: flex; align-items: center; justify-content: center; background: #fff4d6; color: #8a5a00; border: 1px solid #f3cf6b; font-weight: 800; }
.badge + .badge-promo, .badge-promo + .badge { margin-left: 4px; }

/* 휴대폰: 관심고객 등록 칸이 긴 현장명 때문에 화면 밖으로 밀리지 않게 */
.lead-in > *, .lead-box, .lead-row > label { min-width: 0; }
.lead-form input[name], .lead-form select { width: 100%; max-width: 100%; box-sizing: border-box; }
.lead-form select { text-overflow: ellipsis; }
.consent-box .consent { flex-wrap: wrap; align-items: flex-start; }
.consent-box .consent input { flex: none; margin-top: 2px; }
.consent-box .consent a { white-space: nowrap; }
.lead-call b { font-size: clamp(24px, 7vw, 30px); }
