/* 광주아파트분양정보 — 광주·전남 분양 아파트 안내 포털 */
:root {
  --navy: #13243b; --navy2: #1d3557; --gold: #b8955c; --gold2: #d9c09a; --gold-text: #8a6a37;
  --ivory: #f7f3ec; --paper: #fbf9f5; --ink: #1b1a19; --text: #45413c; --muted: #8a8278; --line: #e6dccb; --wine: #8c2f3a;
  --hd: 78px; --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 10px); }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--text); background: var(--paper); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; }
.serif { font-family: "Nanum Myeongjo", serif; font-weight: 800; letter-spacing: -.02em; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 머리 */
.hd { position: sticky; top: 0; z-index: 50; height: var(--hd); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 12px 30px -20px rgba(20,14,6,.3); }
.hd .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand i { width: 30px; height: 30px; border: 2px solid var(--gold); transform: rotate(45deg); display: grid; place-items: center; flex: none; }
.brand i::after { content: ""; width: 10px; height: 10px; background: var(--navy); }
.brand b { font-family: "Nanum Myeongjo", serif; font-weight: 800; font-size: 23px; color: var(--navy); letter-spacing: -.02em; }
.brand small { display: block; font-size: 10px; letter-spacing: .32em; color: var(--gold-text); font-weight: 600; margin-top: -2px; }
.gnb { display: flex; gap: 30px; }
.gnb a { text-decoration: none; font-weight: 600; color: var(--ink); font-size: 16px; }
.gnb a:hover { color: var(--gold-text); }
.hd-tel { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.hd-tel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 860px) { .gnb { display: none; } :root { --hd: 64px; } .brand b { font-size: 20px; } .hd-tel { height: 40px; padding: 0 14px; font-size: 14px; } }

/* 첫 화면 */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/hero.jpg") center 55% / cover no-repeat; opacity: .38; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19,36,59,.96) 20%, rgba(19,36,59,.55) 65%, rgba(19,36,59,.25)); }
.hero .wrap { position: relative; z-index: 1; padding: 110px 0 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .36em; color: var(--gold2); font-weight: 600; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; transform: rotate(45deg); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold2); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.86); max-width: 640px; margin: 0 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 30px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a7844d; }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy2); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.18); max-width: 720px; }
.hero-stats div { padding: 20px 34px 0 0; margin-right: 34px; }
.hero-stats div + div { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats b { display: block; font-family: "Nanum Myeongjo", serif; font-size: 34px; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 600px) { .hero .wrap { padding: 72px 0 64px; } .hero-stats div { padding-right: 18px; margin-right: 18px; } .hero-stats div + div { padding-left: 18px; } .hero-stats b { font-size: 26px; } .btn { height: 52px; padding: 0 22px; } }

/* 구역 공통 */
.sec { padding: 104px 0; }
.sec.alt { background: var(--ivory); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.sec-head p { margin: 10px 0 0; color: var(--muted); }
.sec-head .eyebrow { color: var(--gold-text); }
.more { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; white-space: nowrap; }
@media (max-width: 600px) { .sec { padding: 70px 0; } .sec-head { margin-bottom: 30px; } }

/* 단지 카드 */
.danji { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; list-style: none; margin: 0; padding: 0; }
.dj { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.dj:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(30,20,5,.35); }
.dj figure { margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory); }
.dj figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.dj:hover figure img { transform: scale(1.04); }
.dj .tag { position: absolute; left: 14px; top: 14px; background: var(--wine); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; letter-spacing: .04em; }
.dj .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.dj .rg { font-size: 13px; color: var(--muted); font-weight: 600; }
.dj h3 { font-size: 21px; margin: 4px 0 12px; }
.dj .hl { font-size: 18px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.dj .sub { font-size: 14px; color: var(--gold-text); font-weight: 600; margin-top: 4px; }
.dj .act { display: flex; gap: 8px; margin-top: auto; padding-top: 20px; }
.dj .act a, .dj .act button { flex: 1; height: 46px; font-size: 15px; padding: 0 12px; }
.dj .act .btn-line2 { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.dj .act .btn-line2:hover { border-color: var(--navy); }
@media (max-width: 420px) { .danji { grid-template-columns: 1fr; } }

/* 청약 일정 */
.sched-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sched-filter button { height: 40px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); }
.sched-filter button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.sched-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.sched { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.sched th, .sched td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sched thead th { background: var(--ivory); color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.sched td.nw { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sched .nm { font-weight: 700; color: var(--ink); }
.sched .nm small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.sched tbody tr:hover { background: #fdfaf4; }
.st { display: inline-block; padding: 3px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); }
.st-0 { background: var(--wine); border-color: var(--wine); color: #fff; }
.st-1 { background: var(--navy); border-color: var(--navy); color: #fff; }
.st-2, .st-3 { border-color: var(--gold); color: var(--gold-text); }
.sched-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.sched-empty { padding: 40px 16px; text-align: center; color: var(--muted); }

/* 상담 신청 */
.consult { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.consult-info h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 18px; }
.consult-info ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.consult-info li { padding-left: 26px; position: relative; }
.consult-info li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.consult-tel { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.consult-tel small { display: block; color: var(--muted); font-weight: 600; }
.consult-tel a { font-family: "Nanum Myeongjo", serif; font-size: 34px; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: .01em; }
.form { background: #fff; border: 1px solid var(--line); padding: 34px; box-shadow: 0 30px 60px -40px rgba(60,40,10,.25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.form label span.req { color: var(--wine); }
.form input[type=text], .form input[type=tel], .form input[type=date], .form select, .form textarea { width: 100%; margin-top: 6px; height: 50px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.form :is(input, select, textarea):focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,149,92,.2); background: #fff; }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--text); margin-bottom: 10px; }
.form .agree input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.form .agree button { border: 0; background: none; padding: 0; color: var(--gold-text); text-decoration: underline; cursor: pointer; font: inherit; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .submit { width: 100%; margin-top: 8px; height: 58px; font-size: 17px; }
.form .msg { margin: 14px 0 0; font-weight: 600; min-height: 1.6em; }
.form .msg.ok { color: #2f6b3a; } .form .msg.err { color: var(--wine); }
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; gap: 36px; } .form { padding: 24px 20px; } }
@media (max-width: 480px) { .form .row { grid-template-columns: 1fr; gap: 0; } }

/* 알아두기 */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; color: var(--ink); font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 24px; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: var(--text); }

/* 바닥 */
.ft { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 120px; font-size: 14px; }
.ft .brand b { color: #fff; }
.ft .brand i::after { background: var(--gold); }
.ft-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.ft p { margin: 8px 0 0; }
.ft .disc { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.55); }
.ft .tel { font-family: "Nanum Myeongjo", serif; font-size: 30px; color: var(--gold2); text-decoration: none; font-weight: 800; }
.ft button.link { border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; padding: 9px 16px; cursor: pointer; font: inherit; font-size: 13px; margin-top: 14px; }
@media (max-width: 700px) { .ft-grid { grid-template-columns: 1fr; } }

/* 휴대폰 아래 고정 버튼 */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.35); }
  .mbar a { height: 58px; display: grid; place-items: center; color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; }
  .mbar a:first-child { background: var(--navy); } .mbar a:last-child { background: var(--gold); }
}

/* 개인정보 안내 창 */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.6); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; max-width: 560px; width: 100%; max-height: 82vh; overflow: auto; padding: 30px; position: relative; }
.modal-box h3 { font-size: 20px; margin-bottom: 14px; }
.modal-box table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.modal-box th, .modal-box td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.modal-box th { background: var(--ivory); white-space: nowrap; width: 30%; }
.modal-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 30px; cursor: pointer; color: var(--muted); }

/* 등장 */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .rv.in { opacity: 1; transform: none; }
}

/* 단지 배치: 넓은 화면 4열, 앞의 두 단지는 크게 */
@media (min-width: 1100px) {
  .danji { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .dj.big { grid-column: span 2; }
  .dj.big figure { aspect-ratio: 16 / 8.2; }
  .dj.big h3 { font-size: 24px; }
  .dj:not(.big) h3 { font-size: 18px; }
  .dj:not(.big) .hl { font-size: 16px; }
  .dj:not(.big) .body { padding: 18px 18px 20px; }
  .dj:not(.big) .act a, .dj:not(.big) .act button { font-size: 14px; height: 42px; padding: 0 8px; }
}
@media (min-width: 640px) and (max-width: 1099px) { .danji { grid-template-columns: repeat(2, 1fr); } }
.dj .tag.rent { background: var(--navy2); }
/* 휴대폰: 머리 전화 버튼은 아이콘+짧은 글자, 첫 화면 숫자는 한 줄 */
.hd-tel .s { display: none; }
@media (max-width: 520px) {
  .hd-tel .n { display: none; } .hd-tel .s { display: inline; }
  .brand small { letter-spacing: .2em; }
  .hero-stats { flex-wrap: nowrap; }
  .hero-stats div { padding: 16px 12px 0 0; margin-right: 12px; } .hero-stats div + div { padding-left: 12px; }
  .hero-stats b { font-size: 24px; } .hero-stats span { font-size: 12px; }
}

/* ===== 2차: 메뉴 버튼 · 빠른 버튼 · 상세 쪽 · 비교표 · 계산기 · 달력 ===== */
.gnb a[aria-current="page"] { color: var(--gold-text); }
.mnav-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; flex: none; }
.mnav-btn span, .mnav-btn span::before, .mnav-btn span::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy); content: ""; transition: transform .25s, background .25s; }
.mnav-btn span { top: 21px; } .mnav-btn span::before { top: -6px; left: 0; } .mnav-btn span::after { top: 6px; left: 0; }
.mnav-open .mnav-btn span { background: transparent; } .mnav-open .mnav-btn span::before { transform: translateY(6px) rotate(45deg); } .mnav-open .mnav-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .mnav-btn { display: block; }
  .gnb { display: none; position: absolute; left: 0; right: 0; top: var(--hd); background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .mnav-open .gnb { display: flex; }
  .gnb a { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 17px; }
  .hd .wrap { gap: 10px; }
}
/* 빠른 버튼 */
.dock { position: fixed; right: 18px; bottom: 22px; z-index: 55; display: flex; flex-direction: column; gap: 8px; }
.dock a, .dock button { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; align-content: center; color: #fff; background: var(--navy); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); cursor: pointer; text-decoration: none; font: inherit; font-size: 11px; font-weight: 700; line-height: 1.05; padding: 0; transition: transform .2s, opacity .3s, background .2s; }
.dock a:hover, .dock button:hover { transform: translateY(-2px); }
.dock svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; display: block; margin: 0 auto 3px; }
.dock .d-call { background: var(--gold); }
.dock .d-top { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.dock .d-top, .dock .d-share { opacity: 0; pointer-events: none; transform: translateY(8px); }
.dock.show .d-top, .dock.show .d-share { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 860px) { .dock { bottom: 72px; right: 12px; } .dock .d-call, .dock .d-consult { display: none; } .dock a, .dock button { width: 48px; height: 48px; } }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(10px); background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px; z-index: 120; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; max-width: calc(100% - 40px); }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* 쪽 머리(상세·비교·계산기) */
.phead { background: var(--navy); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border: 1.5px solid var(--gold); opacity: .2; transform: rotate(45deg); }
.phead h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 12px 0 10px; }
.phead p { color: rgba(255,255,255,.8); margin: 0; max-width: 720px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: #fff; }

/* 단지 상세 */
.dj-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.dj-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dj-hero .rg { color: var(--gold-text); font-weight: 700; font-size: 14px; }
.dj-hero h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 16px; }
.dj-hero .hl { font-size: 24px; font-weight: 800; color: var(--navy); }
.dj-hero .sub { color: var(--gold-text); font-weight: 600; margin-top: 6px; }
.dj-hero .act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn-line2 { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-line2:hover { border-color: var(--navy); }
.kv { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); background: #fff; font-variant-numeric: tabular-nums; }
.kv th, .kv td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.kv th { width: 30%; color: var(--navy); font-weight: 700; background: var(--paper); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two h3 { font-size: 22px; margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding: 14px 16px 14px 42px; background: #fff; border: 1px solid var(--line); position: relative; font-weight: 600; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.note-s { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.others { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { border: 1px solid var(--line); background: #fff; padding: 10px 16px; text-decoration: none; font-weight: 600; color: var(--ink); }
.others a:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 860px) { .dj-hero, .two { grid-template-columns: 1fr; gap: 26px; } .kv th { width: 34%; } }
.dj figure a { display: block; height: 100%; }
.dj h3 a { text-decoration: none; }
.dj h3 a:hover { color: var(--gold-text); }

/* 분양가 비교 */
.cmp-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 15px; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th { background: var(--ivory); color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.cmp thead th button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.cmp thead th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--gold-text); }
.cmp thead th[aria-sort="descending"] button::after { content: " ↓"; color: var(--gold-text); }
.cmp td.nm a { font-weight: 700; color: var(--ink); text-decoration: none; }
.cmp td.nm a:hover { color: var(--gold-text); }
.cmp td.pr { font-weight: 800; color: var(--navy); white-space: nowrap; }
.cmp td.pr.na { font-weight: 500; color: var(--muted); }
.cmp tbody tr:hover { background: #fdfaf4; }

/* 가점 계산기 */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.calc .form label { margin-bottom: 18px; }
.calc .form small { display: block; color: var(--muted); font-weight: 400; margin-top: 6px; font-size: 13px; }
.score { background: var(--navy); color: #fff; padding: 34px; position: sticky; top: calc(var(--hd) + 20px); }
.score .tot { font-family: "Nanum Myeongjo", serif; font-size: 64px; font-weight: 800; color: var(--gold2); line-height: 1; font-variant-numeric: tabular-nums; }
.score .tot small { font-size: 22px; color: rgba(255,255,255,.7); }
.score ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.score li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-variant-numeric: tabular-nums; }
.score li b { color: var(--gold2); }
.score .bar { height: 8px; background: rgba(255,255,255,.15); margin-top: 18px; }
.score .bar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .4s; }
.score p { font-size: 13px; color: rgba(255,255,255,.65); margin: 16px 0 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .score { position: static; } }

/* 청약 달력 */
.cal { background: #fff; border: 1px solid var(--line); margin-bottom: 30px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cal-head b { font-size: 20px; color: var(--ink); font-family: "Nanum Myeongjo", serif; }
.cal-head button { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-grid .dw { padding: 10px 8px; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--ivory); text-align: center; }
.cal-grid .dw:first-child { color: var(--wine); }
.cal-grid .d { min-height: 104px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 6px; font-size: 12px; min-width: 0; }
.cal-grid .d:nth-child(7n+1) { border-left: 0; }
.cal-grid .d .n { font-weight: 700; color: var(--ink); font-size: 13px; }
.cal-grid .d.out { background: #fbfaf7; }
.cal-grid .d.out .n { color: #ccc; }
.cal-grid .d.today { background: #fdf6e8; }
.cal-grid .d.today .n { color: var(--wine); }
.ev { display: block; margin-top: 3px; padding: 2px 5px; border-radius: 3px; font-size: 11px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; text-decoration: none; }
.ev.ap { background: var(--wine); }
.ev.wn { background: var(--navy); }
.ev.ct { background: var(--gold); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 5px; }
@media (max-width: 700px) { .cal-grid .d { min-height: 70px; padding: 4px 3px; } .ev { font-size: 10px; padding: 1px 3px; } }
.dd { display: inline-block; margin-left: 6px; padding: 2px 7px; font-size: 11px; font-weight: 800; background: var(--gold); color: #fff; white-space: nowrap; }
.dd.hot { background: var(--wine); }

/* ===== 3차: 분양 소식(글) ===== */
.st-body { max-width: 820px; }
.st-body p { font-size: 17px; line-height: 1.85; margin: 0 0 18px; color: #3c3833; }
.st-body h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 54px 0 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.st-body h2:first-of-type { margin-top: 30px; }
.st-fig { margin: 30px 0; }
.st-fig img { width: 100%; max-width: 640px; height: auto; margin: 0 auto; box-shadow: 0 24px 50px -32px rgba(30,20,5,.4); }
.st-ul { list-style: none; padding: 0; margin: 0 0 20px; border-top: 2px solid var(--ink); background: #fff; }
.st-ul li { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.st-ul li b { color: var(--navy); margin-right: 6px; }
.st-cta { margin: 6px 0 26px; }
.st-cta .btn { height: 50px; font-size: 15px; }
.st-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 26px; }
.st-tags span { font-size: 13px; color: var(--gold-text); background: var(--ivory); padding: 5px 10px; }
.st-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 24px; background: var(--ivory); border: 1px solid var(--line); }
.st-box b { margin-right: auto; font-size: 17px; color: var(--ink); }
.scards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.sc a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.sc a:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -30px rgba(30,20,5,.35); }
.sc figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ivory); }
.sc figure img { width: 100%; height: 100%; object-fit: cover; }
.sc div { padding: 18px 18px 20px; }
.sc .rg { font-size: 12px; color: var(--muted); font-weight: 600; }
.sc h3 { font-size: 17px; margin: 6px 0 8px; line-height: 1.4; }
.sc p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
@media (min-width: 1100px) { .gnb { gap: 24px; } .gnb a { font-size: 15px; } }
/* 글 이미지: 누르면 단지 정보·상담으로 */
.st-fig a { display: block; position: relative; max-width: 640px; margin: 0 auto; }
.st-fig a img { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.st-fig a:hover img { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(30,20,5,.5); }
.st-go { position: absolute; right: 14px; bottom: 14px; background: rgba(19,36,59,.92); color: #fff; font-size: 14px; font-weight: 700; padding: 9px 14px; transition: background .2s; }
.st-fig a:hover .st-go { background: var(--gold); }

/* ===== 4차: 단지 상세 추가 정보 ===== */
.cmp.types { min-width: 640px; }
.lb-btn { border: 1px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.lb-btn:hover { background: var(--navy); color: #fff; }
.pays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.pays li { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; }
.pays li + li { border-left: 1px solid var(--line); }
.pays span { font-size: 14px; font-weight: 700; color: var(--muted); }
.pays b { font-family: "Nanum Myeongjo", serif; font-size: 40px; color: var(--navy); line-height: 1.1; }
.pays small { font-size: 13px; color: var(--gold-text); min-height: 1.4em; }
@media (max-width: 640px) { .pays { grid-template-columns: 1fr; } .pays li + li { border-left: 0; border-top: 1px solid var(--line); } }
.dgal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.lb-img { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in; position: relative; overflow: hidden; }
.lb-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.lb-img:hover img { transform: scale(1.04); }
.lb-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(10,10,10,.75)); color: #fff; font-weight: 700; font-size: 14px; text-align: left; }
.plb { position: fixed; inset: 0; z-index: 130; background: rgba(8,8,8,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.plb[hidden] { display: none; }
.plb img { max-width: min(1100px, 100%); max-height: calc(100vh - 110px); object-fit: contain; background: #fff; }
.plb p { color: #fff; margin: 12px 0 0; font-weight: 600; }
.plb button { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: #fff; font-size: 38px; cursor: pointer; line-height: 1; }

/* 갤러리: 안내 그림이 잘리지 않게 전체를 보여 준다 */
.lb-img img { object-fit: contain; background: #fff; }
/* 좁은 화면: 로고 아래 영문이 두 줄로 깨지지 않게 */
.brand small { white-space: nowrap; }
@media (max-width: 420px) { .brand { gap: 8px; } .brand i { width: 24px; height: 24px; } .brand i::after { width: 8px; height: 8px; } .brand b { font-size: 18px; } .brand small { font-size: 8.5px; letter-spacing: .14em; } .hd-tel { padding: 0 12px; } }
@media (max-width: 360px) { .brand small { display: none; } }

/* 바닥 바로가기 */
.ft-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; }
.ft-links p { margin: 0 0 14px; line-height: 1.9; }
.ft-links b { display: block; color: #fff; font-size: 13px; letter-spacing: .04em; margin-bottom: 4px; }
.ft-links a { color: rgba(255,255,255,.62); text-decoration: none; font-size: 13px; margin-right: 12px; white-space: nowrap; display: inline-block; }
.ft-links a:hover { color: var(--gold2); }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr; } }

/* ===== 6차: 디자인 업그레이드 ===== */
.hd { background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); }
@media (min-width: 861px) {
  .gnb a { position: relative; padding: 6px 0; }
  .gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .gnb a:hover::after, .gnb a[aria-current]::after { transform: scaleX(1); }
}
.gnb a[aria-current] { color: var(--gold-text); }

/* 첫 화면: 왼쪽 소개 + 오른쪽 청약 레이더 */
.hero .wrap.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; padding: 104px 0 156px; }
.hero::after { background: linear-gradient(100deg, rgba(19,36,59,.97) 22%, rgba(19,36,59,.7) 62%, rgba(19,36,59,.5)); }
.radar { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 24px 24px 18px; box-shadow: 0 34px 70px -34px rgba(0,0,0,.6); }
.radar-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.radar-head span { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; letter-spacing: .04em; }
.radar-head i { width: 8px; height: 8px; border-radius: 50%; background: #5ee08f; animation: radar-pulse 2.2s infinite; }
@keyframes radar-pulse { 0% { box-shadow: 0 0 0 0 rgba(94,224,143,.55); } 70% { box-shadow: 0 0 0 9px rgba(94,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(94,224,143,0); } }
.radar-head a { color: var(--gold2); font-size: 13px; font-weight: 600; text-decoration: none; }
.radar-head a:hover { color: #fff; }
.radar-list { list-style: none; margin: 0; padding: 0; }
.radar-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.radar-list .nm { color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radar-list a.nm:hover { color: var(--gold2); }
.radar-list .when { grid-column: 1; font-size: 13px; color: rgba(255,255,255,.66); font-variant-numeric: tabular-nums; }
.radar-list .pill { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 12px; font-weight: 700; padding: 5px 10px; border: 1px solid rgba(255,255,255,.3); color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.radar-list .pill.s0 { background: var(--wine); border-color: var(--wine); }
.radar-list .pill.s1 { background: var(--gold); border-color: var(--gold); }
.radar-list .pill.s2, .radar-list .pill.s3 { border-color: var(--gold2); color: var(--gold2); }
.radar-list .pill.s4 { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.2); }
.radar-list li.radar-empty { display: block; color: rgba(255,255,255,.6); font-size: 14px; }
.radar-note { margin: 12px 0 0; font-size: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 1040px) { .hero .wrap.hero-grid { grid-template-columns: 1fr; gap: 44px; } .radar { max-width: 600px; } }
@media (max-width: 600px) { .hero .wrap.hero-grid { padding: 64px 0 110px; gap: 36px; } .radar { padding: 18px 18px 14px; } .radar-list li:nth-child(n+4) { display: none; } }

/* 바로가기 타일(첫 화면 아래에 걸침) */
.quick { position: relative; z-index: 2; margin-top: -68px; }
.qtiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); box-shadow: 0 34px 60px -38px rgba(19,36,59,.5); }
.qtiles li + li { border-left: 1px solid var(--line); }
.qtiles a { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 28px 26px; text-decoration: none; height: 100%; transition: background .3s; }
.qtiles svg { grid-row: 1 / span 2; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--gold2); fill: none; stroke: var(--gold-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: background .3s, border-color .3s, stroke .3s; }
.qtiles b { color: var(--ink); font-size: 16.5px; line-height: 1.35; }
.qtiles span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.qtiles a::after { content: "→"; position: absolute; right: 22px; top: 50%; transform: translate(-8px, -50%); opacity: 0; color: var(--gold-text); transition: opacity .3s, transform .3s; }
.qtiles a:hover { background: var(--paper); }
.qtiles a:hover svg { background: var(--navy); border-color: var(--navy); stroke: #fff; }
.qtiles a:hover::after { opacity: 1; transform: translate(0, -50%); }
.quick + .sec { padding-top: 88px; }
@media (max-width: 900px) { .qtiles { grid-template-columns: repeat(2, 1fr); } .qtiles li:nth-child(3) { border-left: 0; } .qtiles li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) {
  .quick { margin-top: -54px; }
  .qtiles a { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 16px 12px; }
  .qtiles svg { width: 34px; height: 34px; padding: 7px; grid-row: auto; }
  .qtiles b { font-size: 14px; } .qtiles span, .qtiles a::after { display: none; }
  .quick + .sec { padding-top: 60px; }
}

/* 분양 단지: 구별 거르기 */
.gu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gu-chips button { font: inherit; font-size: 14px; font-weight: 600; height: 40px; padding: 0 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.gu-chips button small { font-size: 12px; color: var(--muted); margin-left: 2px; }
.gu-chips button:hover { border-color: var(--navy); }
.gu-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.gu-chips button.on small { color: var(--gold2); }
.dj[hidden] { display: none !important; }
.danji.filtered .dj.big { grid-column: auto; }
.danji.filtered .dj.big figure { aspect-ratio: 16 / 10; }
.danji.filtered .dj.big h3 { font-size: 18px; }
.dj .tag { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dj h3 a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .35s; }
.dj:hover h3 a { background-size: 100% 1px; }
@media (max-width: 640px) { .gu-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; } .gu-chips::-webkit-scrollbar { display: none; } .gu-chips button { flex: none; height: 38px; padding: 0 14px; } }

/* 휴대폰: 작은 단지 카드는 가로형으로 짧게 */
@media (max-width: 639px) {
  .danji { gap: 14px; }
  .dj:not(.big), .danji.filtered .dj { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .dj:not(.big) figure, .danji.filtered .dj figure { aspect-ratio: auto; height: 100%; min-height: 152px; }
  .dj:not(.big) figure > a, .danji.filtered .dj figure > a { display: block; height: 100%; }
  .dj:not(.big) .tag, .danji.filtered .dj .tag { left: 8px; top: 8px; font-size: 11px; padding: 3px 7px; }
  .dj:not(.big) .body, .danji.filtered .dj .body { padding: 14px; }
  .dj:not(.big) .rg, .danji.filtered .dj .rg { font-size: 12px; }
  .dj:not(.big) h3, .danji.filtered .dj h3 { font-size: 16.5px; margin: 2px 0 6px; }
  .dj:not(.big) .hl, .danji.filtered .dj .hl { font-size: 15px; }
  .dj:not(.big) .sub, .danji.filtered .dj .sub { font-size: 12.5px; }
  .dj:not(.big) .act, .danji.filtered .dj .act { padding-top: 12px; gap: 6px; }
  .dj:not(.big) .act a, .dj:not(.big) .act button, .danji.filtered .dj .act a, .danji.filtered .dj .act button { height: 38px; font-size: 13px; padding: 0 6px; }
}

/* 알아두기: 두 칸 */
.faq-two { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--hd) + 32px); }
.faq-side .eyebrow { color: var(--gold-text); }
.faq-side h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.faq-side > p { color: var(--muted); margin: 10px 0 30px; }
.ask-card { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 28px 28px 26px; }
.ask-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 150px; height: 150px; border: 1.5px solid var(--gold); opacity: .3; transform: rotate(45deg); }
.ask-card small { display: block; font-size: 14px; color: rgba(255,255,255,.7); }
.ask-card .tel { display: block; margin: 6px 0 20px; font-family: "Nanum Myeongjo", serif; font-weight: 800; font-size: 30px; color: var(--gold2); text-decoration: none; letter-spacing: .01em; }
.ask-card .btn { width: 100%; height: 50px; background: #fff; color: var(--navy); }
.ask-card .btn:hover { background: var(--gold2); }
.faq-two .faq { max-width: none; border-top: 2px solid var(--ink); }
@media (max-width: 900px) { .faq-two { grid-template-columns: 1fr; gap: 28px; } .faq-side { position: static; } .ask-card { display: none; } .faq-side > p { margin-bottom: 0; } }

/* 단지 상세 첫 화면 */
.dhero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 40px 0 60px; }
.dhero-bg { position: absolute; left: -40px; top: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(24px) saturate(1.1); opacity: .4; }
.dhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19,36,59,.97) 25%, rgba(19,36,59,.82) 60%, rgba(19,36,59,.62)); }
.dhero .wrap { position: relative; z-index: 1; }
.dhero .crumb { font-size: 13px; color: rgba(255,255,255,.6); }
.dhero .crumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.dhero .crumb a:hover { color: #fff; }
.dhero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin-top: 30px; }
.dhero .eyebrow { color: var(--gold2); }
.dhero h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 14px 0 18px; }
.dhero .hl { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.dhero .sub { color: var(--gold2); font-weight: 600; margin-top: 6px; }
.dfacts { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: 14px 36px; }
.dfacts small { display: block; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.dfacts b { font-size: 15px; font-weight: 700; color: #fff; }
.dhero .act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.dhero .act .btn { height: 50px; padding: 0 22px; font-size: 15px; }
.dhero-img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; box-shadow: 0 40px 70px -36px rgba(0,0,0,.75); }
.dhero-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.dhero-img:hover img { transform: scale(1.03); }
.dhero-img::before { content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(255,255,255,.35); pointer-events: none; }
.dhero-img span { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: rgba(10,10,10,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 10px; }
.dhero-note { margin: 34px 0 0; font-size: 13px; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .dhero { padding: 26px 0 42px; } .dhero-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 20px; } .dhero-img { order: -1; } .dhero .act .btn { flex: 1 1 auto; } .dhero-note { margin-top: 24px; } }

/* ===== 7차: 분양가 계산기 · 평면도 비교 ===== */
@media (min-width: 861px) and (max-width: 1239px) { .gnb { gap: 22px; } .gnb a { font-size: 15px; } .gnb a.g-consult { display: none; } }
.ctabs { display: flex; gap: 0; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.ctabs a { padding: 12px 22px; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ctabs a:hover { color: var(--ink); }
.ctabs a[aria-current] { color: var(--navy); border-bottom-color: var(--gold); }
.won-in { display: flex; align-items: center; position: relative; }
.won-in input { width: 100%; padding-right: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.won-in em { position: absolute; right: 14px; font-style: normal; color: var(--muted); font-size: 14px; pointer-events: none; }
.pcalc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc-quick { display: flex; gap: 8px; margin: -6px 0 18px; flex-wrap: wrap; }
.pc-quick button { font: inherit; font-size: 13px; font-weight: 600; height: 34px; padding: 0 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.pc-quick button:hover { border-color: var(--navy); color: var(--navy); }
.pc-ratio { border: 0; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pc-loan .pc-ratio { grid-template-columns: repeat(3, 1fr); }
.pc-ratio legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.pc-ratio label { margin-bottom: 0 !important; font-size: 14px; }
.pc-loan { margin: 14px 0 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.pc-loan summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.pc-out .pc-lab { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.pc-out .tot { font-size: clamp(34px, 4vw, 46px); word-break: keep-all; }
.pc-out li { gap: 14px; align-items: baseline; }
.pc-out li span { color: rgba(255,255,255,.82); }
.pc-out li b { text-align: right; white-space: nowrap; }
.pc-out li small { display: block; font-size: 12px; font-weight: 400; color: rgba(255,255,255,.6); margin-top: 2px; white-space: normal; }
.pc-out .warn { font-style: normal; color: #ffb3a7; }
.pc-loanbox { margin-top: 16px; padding: 14px 16px; background: rgba(255,255,255,.08); font-size: 14px; line-height: 1.8; }
.pc-loanbox b { color: var(--gold2); }
.pc-loanbox small { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 560px) { .pc-ratio { grid-template-columns: 1fr 1fr; } .pc-loan .pc-ratio { grid-template-columns: 1fr 1fr 1fr; } .pcalc .row { grid-template-columns: 1fr; gap: 0; } }

.pcmp { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pside { background: #fff; border: 1px solid var(--line); padding: 22px; position: relative; }
.pside-lab { position: absolute; left: -1px; top: -1px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--navy); color: var(--gold2); font-family: "Nanum Myeongjo", serif; font-weight: 800; }
#ps-b .pside-lab { background: var(--gold); color: #fff; }
.pside .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-left: 30px; }
.pside label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.pside select { width: 100%; height: 44px; margin-top: 4px; border: 1px solid var(--line); background: var(--paper); padding: 0 10px; font: inherit; font-size: 15px; color: var(--ink); }
.ps-img { position: relative; display: block; width: 100%; margin: 18px 0 0; padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.ps-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.ps-img span { position: absolute; right: 10px; bottom: 10px; background: rgba(19,36,59,.8); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px; }
.ps-facts { margin: 16px 0 0; border-top: 2px solid var(--ink); }
.ps-facts div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ps-facts dt { color: var(--muted); font-weight: 600; }
.ps-facts dd { margin: 0; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ps-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--gold-text); text-decoration: none; font-size: 14px; }
.ps-link:hover { color: var(--navy); }
.pcmp-sum { margin-top: 22px; text-align: center; font-size: 16px; color: var(--text); }
.pcmp-sum:empty { display: none; }
.pcmp-sum b { color: var(--navy); }
@media (max-width: 760px) {
  .pcmp { gap: 10px; }
  .pside { padding: 12px 10px; }
  .pside .row { grid-template-columns: 1fr; gap: 6px; padding-left: 0; padding-top: 30px; }
  .pside select { height: 40px; font-size: 13.5px; padding: 0 6px; }
  .ps-img { margin-top: 10px; }
  .ps-facts div { grid-template-columns: 1fr; gap: 0; padding: 8px 2px; font-size: 13px; }
  .ps-facts dt { font-size: 11.5px; }
}
.won-in input { margin-top: 6px; height: 50px; padding: 0 40px 0 14px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; transition: border-color .2s, background .2s; }
.won-in input:focus { outline: none; border-color: var(--gold); background: #fff; }
.won-in em { top: 50%; margin-top: 3px; transform: translateY(-50%); }
.pc-ratio .won-in input { height: 44px; font-size: 15px; padding-right: 32px; }
.pc-ratio .won-in em { right: 10px; }

/* ===== 8차: 크게 보기 — 그림만 확대 ===== */
.plb { display: block; padding: 0; background: rgba(8,8,8,.94); }
.plb-body { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 58px 12px 70px; }
.plb-body img { display: block; max-width: min(1200px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; }
.plb .plb-x { position: fixed; right: 12px; top: 10px; z-index: 2; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.plb .plb-cap { position: fixed; left: 16px; right: 70px; top: 18px; margin: 0; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.plb .plb-tip { position: fixed; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 12.5px; font-weight: 400; pointer-events: none; }
@media (hover: hover) { .plb .plb-tip { display: none; } }

/* ===== 9차: 계산기 4종 ===== */
.ctabs { overflow-x: auto; scrollbar-width: none; }
.ctabs::-webkit-scrollbar { display: none; }
.ctabs a { flex: none; white-space: nowrap; }
@media (max-width: 640px) { .ctabs a { padding: 11px 14px; font-size: 14.5px; } }
.pc-ratio label.radio { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); cursor: pointer; padding: 12px 10px; border: 1px solid var(--line); background: var(--paper); }
.pc-ratio label.radio input { accent-color: var(--navy); }
.pcalc select { width: 100%; }
.ln-sched .cmp td, .ln-sched .cmp th { text-align: right; font-variant-numeric: tabular-nums; }
.ln-sched .cmp td:first-child, .ln-sched .cmp th:first-child { text-align: left; }
.pc-loanbox ul li { padding: 6px 0; border-color: rgba(255,255,255,.1); }
/* 같은 줄 입력칸은 설명 길이와 상관없이 바닥에 맞춘다 */
.pcalc .row { align-items: stretch; }
.pcalc .row > label, .pcalc .pc-ratio > label { display: flex; flex-direction: column; }
.pcalc .row > label > .won-in, .pcalc .row > label > select, .pcalc .pc-ratio > label > .won-in { margin-top: auto; }

/* 계산 결과 이미지로 저장 */
.score p.k-shot-wrap { margin: 12px 0 0; }
.score .k-shot { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.score .k-shot:hover { background: rgba(255,255,255,.1); }
.score .k-shot:disabled { opacity: .7; cursor: wait; }
.score .k-shot-head { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.25); }
.score .k-shot-head b { display: block; font-size: 18px; color: #fff; }
.score .k-shot-head span { display: block; margin-top: 2px; font-size: 14px; color: rgba(255,255,255,.75); }
.score .k-shot-foot { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.6); text-align: right; }
.score .k-shot { flex: 1 1 0; width: auto; min-width: 0; }

/* ===== 10차: 첫 화면 — 바로가기 8칸 · 84㎡ 분양가 한눈에 · 분양 뉴스 ===== */
.qtiles li:nth-child(4n+1) { border-left: 0; }
.qtiles li:nth-child(n+5) { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .qtiles li:nth-child(odd) { border-left: 0; } .qtiles li:nth-child(even) { border-left: 1px solid var(--line); } }
.pbars-sec { padding-top: 0; }
.pbars { list-style: none; margin: 0; padding: 26px 30px; background: #fff; border: 1px solid var(--line); display: grid; gap: 4px; }
.pbars a { display: grid; grid-template-columns: 220px minmax(0, 1fr) 150px; align-items: center; gap: 22px; padding: 12px 0; text-decoration: none; border-bottom: 1px dashed var(--line); }
.pbars li:last-child a { border-bottom: 0; }
.pb-nm { font-weight: 700; color: var(--ink); line-height: 1.35; }
.pb-nm small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pb-bar { height: 14px; background: var(--ivory); position: relative; overflow: hidden; }
.pb-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--navy2), var(--navy)); transition: width .9s cubic-bezier(.2,.7,.2,1); }
.pbars a:hover .pb-bar i { background: linear-gradient(90deg, var(--gold), var(--gold-text)); }
.pb-v { text-align: right; font-family: "Nanum Myeongjo", serif; font-size: 19px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-na { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; }
.pb-na span { color: var(--muted); margin-right: 6px; }
.pb-na a { padding: 6px 12px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; }
.pb-na a:hover { border-color: var(--navy); color: var(--navy); }
.pb-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn-line-d { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.btn-line-d:hover { background: var(--navy); color: #fff; }
.nwlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nwlist li { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.nwlist li:hover { box-shadow: 0 24px 40px -30px rgba(19,36,59,.45); transform: translateY(-2px); }
.nw-a { display: block; padding: 22px 24px 10px; text-decoration: none; color: inherit; flex: 1; }
.nw-meta { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.nw-meta b { color: var(--gold-text); font-weight: 700; }
.nw-t { display: block; font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.5; word-break: keep-all; }
.nw-a:hover .nw-t { text-decoration: underline; text-underline-offset: 3px; }
.nw-tag { align-self: flex-start; margin: 0 24px 20px; font-size: 12.5px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold2); }
.nw-chips { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; }
.nw-chips span { color: var(--muted); margin-right: 6px; }
.nw-chips a { padding: 7px 13px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; }
.nw-chips a:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 860px) {
  .pbars { padding: 14px 16px; }
  .pbars a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm v" "bar bar"; gap: 6px 12px; }
  .pb-nm { grid-area: nm; } .pb-v { grid-area: v; font-size: 17px; } .pb-bar { grid-area: bar; height: 10px; }
  .nwlist { grid-template-columns: 1fr; }
  .nw-a { padding: 18px 18px 8px; } .nw-tag { margin: 0 18px 16px; }
}
/* 휴대폰: 청약 일정 표를 카드로 */
@media (max-width: 640px) {
  .sched-wrap { background: transparent; border: 0; overflow: visible; }
  .sched { min-width: 0; font-size: 14px; }
  .sched thead { display: none; }
  .sched, .sched tbody { display: block; }
  .sched tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 16px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); }
  .sched tbody tr:hover { background: #fff; }
  .sched td { padding: 0; border: 0; }
  .sched td:first-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .sched td.nm { grid-column: 1 / -1; font-size: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .sched td[data-l] { white-space: normal; font-size: 13.5px; }
  .sched td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; color: var(--muted); margin-bottom: 1px; }
  .sched td.sc-go { grid-column: 1 / -1; text-align: right; padding-top: 4px; }
  .sched td.sched-empty { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); }
}
/* 휴대폰 머리글: 메뉴(삼선) 단추에 색을 넣고 전화 단추와 크기를 맞춘다 (2026-10-09 주인 요청) */
.mnav-btn { background: var(--gold); border: 0; transition: background .2s; }
.mnav-btn:hover, .mnav-btn:focus-visible { background: var(--gold-text); }
.mnav-btn span, .mnav-btn span::before, .mnav-btn span::after { background: #fff; }
.mnav-open .mnav-btn { background: var(--navy); }
@media (max-width: 860px) {
  .mnav-btn { width: 40px; height: 40px; }
  .mnav-btn span { top: 19px; left: 10px; }
}

/* ===== 11차 (2026-10-09 벤치마킹 반영): 카드 상태 띠 · 대표 단지 슬라이드 · 단지 검색 · 뉴스 띠 ===== */
.st-line { display: inline-block; max-width: calc(100% - 28px); padding: 6px 11px; background: rgba(19,36,59,.86); color: #f3e7d1; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; border-left: 2px solid var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj figure .st-line { position: absolute; left: 14px; bottom: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* 뉴스 띠 */
.ticker { background: var(--navy); color: #e9e2d4; border-top: 1px solid rgba(255,255,255,.06); }
.tk-in { display: flex; align-items: center; gap: 16px; height: 46px; }
.tk-lab { flex: none; padding: 5px 10px; background: var(--gold); color: var(--navy); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.tk-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-track { display: flex; gap: 42px; width: max-content; margin: 0; padding: 0; list-style: none; animation: tkMove 60s linear infinite; }
.tk-view:hover .tk-track, .tk-view:focus-within .tk-track { animation-play-state: paused; }
.tk-track a { color: #e9e2d4; text-decoration: none; font-size: 14px; white-space: nowrap; }
.tk-track a b { color: var(--gold2); font-weight: 700; margin-right: 8px; }
.tk-track a small { color: rgba(233,226,212,.55); margin-left: 4px; }
.tk-track a:hover { color: #fff; text-decoration: underline; }
@keyframes tkMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-view { overflow-x: auto; } }
/* 대표 단지 슬라이드 */
.spot { padding: 56px 0 26px; background: var(--paper); }
.spot-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.spot-head h2 { margin: 6px 0 0; font-size: clamp(22px, 2.4vw, 30px); }
.spot-nav { display: flex; gap: 8px; }
.spot-nav button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.spot-nav button:hover { background: var(--navy); color: #fff; }
.spot-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.spot-track::-webkit-scrollbar { display: none; }
.spot-item { scroll-snap-align: start; }
.spot-item a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; }
.spot-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.spot-item a:hover img { transform: scale(1.05); }
.spot-item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,28,0) 35%, rgba(10,16,28,.82) 100%); }
.spot-cap { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.spot-cap b { font-family: "Nanum Myeongjo", serif; font-size: clamp(20px, 2vw, 27px); font-weight: 800; letter-spacing: -.02em; }
.spot-cap small { font-size: 13.5px; color: rgba(255,255,255,.85); }
.spot-cap em { font-style: normal; font-size: 12.5px; color: var(--gold2); letter-spacing: .04em; margin-top: 2px; }
.spot-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.spot-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.spot-dots i.on { width: 22px; border-radius: 4px; background: var(--gold); }
@media (max-width: 768px) {
  .spot { padding: 40px 0 18px; }
  .spot-track { grid-auto-columns: 86%; gap: 12px; }
  .spot-nav { display: none; }
  .spot-cap { left: 16px; right: 16px; bottom: 14px; }
  .tk-in { height: 42px; gap: 10px; } .tk-track a { font-size: 13px; }
}
/* 단지 검색·분양/임대 거르기 */
.dj-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.dj-search { position: relative; display: flex; align-items: center; }
.dj-search svg { position: absolute; left: 12px; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; pointer-events: none; }
.dj-search input { width: 220px; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14.5px; color: var(--ink); border-radius: 0; }
.dj-search input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.type-chips { display: flex; gap: 6px; }
.type-chips button { height: 40px; padding: 0 14px; border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.type-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.dj-none { margin: 0 0 18px; padding: 18px; background: var(--ivory); text-align: center; color: var(--muted); }
@media (max-width: 768px) { .dj-tools { justify-content: flex-start; width: 100%; } .dj-search, .dj-search input { width: 100%; } }

/* 슬라이드 다음의 바로가기 칸은 위로 겹치지 않게 (첫 화면 사진에만 겹친다) */
.spot + .quick { margin-top: 0; padding: 8px 0 0; background: var(--paper); }
@media (max-width: 768px) { .spot + .quick { margin-top: 0; } }

/* ===== 실거래가 조회 (2026-10-09) ===== */
.rt-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 6px 0 22px; padding: 18px; background: var(--ivory); border: 1px solid var(--line); }
.rt-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.rt-form select, .rt-form input { height: 44px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--ink); border-radius: 0; min-width: 150px; }
.rt-form .rt-q { flex: 1; min-width: 200px; } .rt-form .rt-q input { width: 100%; }
.rt-form .btn { height: 44px; }
.rt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.rt-stats div { padding: 18px 16px; background: #fff; border: 1px solid var(--line); }
.rt-stats small { display: block; font-size: 13px; color: var(--muted); }
.rt-stats b { display: block; margin-top: 6px; font-size: clamp(20px, 2vw, 26px); color: var(--navy); font-variant-numeric: tabular-nums; }
.rt-stats em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--gold-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-h2 { margin: 6px 0 14px; font-size: 20px; } .rt-h2 small { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.rt-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.rt-top a { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; height: 100%; transition: border-color .2s; }
.rt-top a:hover { border-color: var(--gold); }
.rt-top b { font-size: 15px; } .rt-top small { font-size: 12.5px; color: var(--muted); } .rt-top span { font-size: 13px; color: var(--navy); }
.rt-table .rt-p { font-weight: 700; color: var(--navy); }
.rt-cancel td { color: var(--muted); text-decoration: line-through; } .rt-cancel td:last-child { text-decoration: none; }
.rt-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 18px 0; }
.rt-pages a { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.rt-pages a[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.rt-areas { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 26px; font-size: 13.5px; }
.rt-areas b { width: 100%; font-size: 14px; } .rt-areas a { color: var(--text); } .rt-areas a[aria-current] { color: var(--wine); font-weight: 700; }
@media (max-width: 768px) { .rt-stats, .rt-top { grid-template-columns: repeat(2, 1fr); } .rt-form select, .rt-form input { min-width: 0; width: 100%; } .rt-form label { flex: 1 1 45%; } .rt-form .btn { width: 100%; } }

/* 바로가기 10칸: 넓은 화면은 5칸씩 두 줄 (2026-10-09 청약 일정 칸 추가) */
@media (min-width: 1025px) { .qtiles { grid-template-columns: repeat(5, 1fr); } .qtiles a { padding: 24px 18px; column-gap: 12px; } .qtiles li:nth-child(5n+1) { border-left: 0; } .qtiles li:nth-child(n+6) { border-top: 1px solid var(--line); } }

/* 실거래가: 긴 단지 이름이 칸을 밀어 휴대폰에서 화면이 옆으로 넘치던 것 고침 (2026-10-09 주인 캡처) */
.rt-stats, .rt-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rt-top a, .rt-stats div { min-width: 0; }
.rt-top b, .rt-top span { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 768px) { .rt-stats, .rt-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rt-stats b { font-size: 19px; overflow-wrap: anywhere; } .rt-form label { min-width: 0; } }

.rt-pages span { min-width: 22px; display: inline-flex; align-items: flex-end; justify-content: center; color: var(--muted); }

/* 쪽 번호가 휴대폰에서 두 줄로 넘어가지 않게 (2026-10-09 주인 캡처) */
.rt-pages { flex-wrap: nowrap; gap: 4px; }
@media (max-width: 768px) { .rt-pages a { min-width: 34px; height: 34px; font-size: 14px; padding: 0 6px; } .rt-pages span { min-width: 14px; } }

/* TOP 단추 게이지 (2026-10-09 주인 요청 "Top에도 게이지효과") - 단지 사이트처럼 읽은 만큼 금색 테두리가 차오르고 %를 보인다 */
.dock .d-top { position: relative; overflow: visible; }
.dock .d-top .d-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); margin: 0; transform: rotate(-90deg); pointer-events: none; }
.dock .d-top .d-ring circle { fill: none; stroke-width: 3; }
.dock .d-top .d-ring .d-ring-bg { stroke: rgba(19,36,59,.12); }
.dock .d-top .d-ring .d-ring-bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .12s linear; }
.dock .d-top .d-pct { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* % 숫자를 살짝 위로 (2026-10-09 주인 요청) */
.dock .d-top svg:not(.d-ring) { margin-bottom: 1px; }
.dock .d-top .d-pct { position: relative; top: -3px; }
/* 위 화살표는 살짝 아래로 (2026-10-09 주인 요청) */
.dock .d-top svg:not(.d-ring) { position: relative; top: 3px; }

/* 청약 일정 상태별 묶음 (2026-10-09) */
.sc-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 6px 0 26px; }
.sc-sum a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sc-sum b { font-size: 26px; color: var(--navy); font-variant-numeric: tabular-nums; } .sc-sum span { font-size: 13px; color: var(--muted); }
.sc-sec { margin-bottom: 26px; } .sc-h2 { font-size: 20px; margin: 0 0 6px; } .sc-h2 small { font-size: 14px; color: var(--muted); font-weight: 400; } .sc-lead { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.sc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sc-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-dd { font-size: 12px; padding: 3px 8px; background: var(--ivory); color: var(--gold-text); } .sc-dd.on { background: var(--wine); color: #fff; }
.sc-nm { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; } .sc-card small { color: var(--muted); font-size: 12.5px; }
.sc-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 4px 0 0; font-size: 13px; } .sc-card dt { color: var(--muted); } .sc-card dd { margin: 0; font-variant-numeric: tabular-nums; }
.sc-card a { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--navy); }
.sc-faq { margin-top: 34px; } .sc-more { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; }
@media (max-width: 900px) { .sc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sc-cards { grid-template-columns: 1fr; } .sc-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 청약제도 안내 · 분양·청약 가이드 (2026-10-09) */
.gd-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.gd-one { max-width: 820px; }
.gd-toc { position: sticky; top: calc(var(--hd) + 20px); display: flex; flex-direction: column; gap: 2px; padding: 18px; background: var(--ivory); border: 1px solid var(--line); font-size: 14px; }
.gd-toc b { margin-bottom: 8px; color: var(--navy); } .gd-toc a { padding: 6px 0; color: var(--text); text-decoration: none; border-bottom: 1px dashed var(--line); } .gd-toc a:hover { color: var(--wine); }
.gd-art { min-width: 0; font-size: 16px; line-height: 1.8; color: var(--text); }
.gd-sec { margin-bottom: 34px; } .gd-sec h2 { font-size: clamp(20px, 2vw, 24px); color: var(--navy); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.gd-sec ul, .gd-sec ol { padding-left: 1.2em; } .gd-sec li { margin: 4px 0; } .gd-sec strong { color: var(--ink); }
.gd-sec table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.gd-sec th, .gd-sec td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; } .gd-sec th { background: var(--ivory); white-space: nowrap; }
.gd-sum { padding: 18px 20px; margin-bottom: 28px; background: var(--ivory); border-left: 3px solid var(--gold); } .gd-sum b { color: var(--navy); } .gd-sum ul { margin: 8px 0 0; padding-left: 1.2em; }
.gd-src { margin: 30px 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); font-size: 14px; } .gd-src ul { margin: 8px 0; padding-left: 1.2em; } .gd-src p { margin: 6px 0 0; color: var(--muted); }
.gd-more { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-pn { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; } .gd-pn a { color: var(--navy); max-width: 48%; }
.gd-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gd-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.gd-list a:hover { border-color: var(--gold); } .gd-list b { font-size: 17px; } .gd-list span { font-size: 14px; color: var(--muted); line-height: 1.6; } .gd-list em { font-style: normal; margin-top: auto; font-size: 13px; color: var(--gold-text); }
.gd-list .gd-main { grid-column: 1 / -1; } .gd-list .gd-main a { background: var(--navy); border-color: var(--navy); color: #fff; } .gd-list .gd-main span { color: rgba(255,255,255,.75); } .gd-list .gd-main em { color: var(--gold2); }
@media (max-width: 900px) { .gd-wrap { grid-template-columns: 1fr; } .gd-toc { position: static; } .gd-list { grid-template-columns: 1fr; } }

/* 가이드·안내 대표 그림 (2026-10-09) */
.gd-cover { margin: 0 0 26px; line-height: 0; border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgba(19,36,59,.5); }
.gd-cover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.gd-list a img { width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; margin: -20px -20px 10px; }
.gd-list .gd-main a { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 24px; align-items: start; }
.gd-list .gd-main a img { grid-row: 1 / 4; width: 100%; margin: 0; }
@media (max-width: 900px) { .gd-list .gd-main a { display: flex; } .gd-list .gd-main a img { width: calc(100% + 40px); margin: -20px -20px 10px; } }
/* 모바일 메뉴: 메뉴만 따로 스크롤, 뒤 화면은 고정 (2026-10-09) */
@media (max-width: 860px) {
  .gnb { max-height: calc(100vh - var(--hd) - 58px); max-height: calc(100dvh - var(--hd) - 58px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  html:has(body.mnav-open) { overflow: hidden; }
  .mnav-open .dock { opacity: 0; visibility: hidden; pointer-events: none; }
}
.dj .tag.soon { background: var(--gold-text, #8a6a34); }
/* 단지 목록 더 보기 (2026-10-10) */
.dj-more { text-align: center; margin: 28px 0 0; }
.dj-more .btn { min-width: 260px; }
.dj-more .btn { gap: 8px; }
.dj-more-ar { display: inline-block; font-size: 1.1em; animation: djar 1.6s ease-in-out infinite; }
@keyframes djar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .dj-more-ar { animation: none; } }
/* 휴대폰 메뉴: 단지 사이트처럼 머리 아래 화면 전체를 덮는다 (주소창 높이 변화와 상관없이, 2026-10-10) */
@media (max-width: 860px) {
  .gnb { position: fixed; top: var(--hd); left: 0; right: 0; bottom: 0; max-height: none !important; overflow-y: auto; overscroll-behavior: contain; box-shadow: none; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mnav-open .gnb { display: flex; justify-content: flex-start; }
  .mnav-open .hd { z-index: 70; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mnav-open .mbar, .mnav-open .dock { display: none; }
  .gnb a:last-child { border-bottom: 1px solid var(--line); }
}
/* 디자인 검토 (2026-10-10)
   1) 오른쪽 빠른 버튼(상담·공유)이 남색 바닥글 위에서 바탕과 같은 색이라 안 보이던 것 → 금색 테두리로 늘 보이게 */
.dock > a, .dock > button { box-shadow: 0 0 0 1.5px rgba(201,166,108,.7), 0 10px 22px -8px rgba(0,0,0,.45); }
/* 2) 휴대폰에서 구 거르기 줄이 오른쪽에서 잘려 보이던 것 → 끝을 흐리게 해 옆으로 밀 수 있다는 걸 알린다 */
@media (max-width: 640px) {
  .gu-chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; }
}

/* ==========================================================================
   2026-10-10 디자인 업그레이드
   - 색 체계(남색·금색)는 그대로, 대비·간격·카드 깊이·표 가독성을 다듬는다.
   - 가벼움 유지: backdrop-filter 를 걷어 내고(그리기 비용 큰 효과), 새 글꼴 없음.
   - 휴대폰: 누르는 곳 44px 이상, 본문 15px 이상, 옆 넘침 없음.
   ========================================================================== */
:root {
  --muted: #736b61;                 /* 보조 글자 대비 보강(종이 바탕 4.9:1) */
  --line-soft: #efe8dc;
  --gold-btn: #a3804a; --gold-btn2: #8f6f3d;   /* 흰 글자가 읽히는 버튼용 금색 */
  --sh-1: 0 1px 2px rgba(19,36,59,.05), 0 10px 26px -20px rgba(19,36,59,.28);
  --sh-2: 0 2px 4px rgba(19,36,59,.05), 0 28px 50px -30px rgba(19,36,59,.42);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 머리: 흐림 효과 대신 거의 불투명한 흰 바탕 + 금색 머리선 */
.hd { background: rgba(255,255,255,.985); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line-soft); }
.hd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--navy) 0, var(--navy) 30%, var(--gold) 50%, var(--navy) 70%, var(--navy)); opacity: .9; }
.hd.is-scrolled { box-shadow: 0 1px 0 rgba(19,36,59,.04), 0 14px 30px -24px rgba(19,36,59,.4); }
.brand b { letter-spacing: -.03em; }
.hd-tel { transition: background .2s; }
.hd-tel:hover { background: var(--navy2); }
@media (max-width: 860px) {
  .hd-tel { height: 44px; }
  .mnav-btn { width: 44px; height: 44px; }
  .mnav-btn span { top: 21px; left: 12px; }
}

/* 버튼: 금색 버튼은 한 톤 깊게(흰 글자 대비), 눌림·초점 상태 통일 */
.btn { letter-spacing: -.01em; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .2s; }
.btn-gold { background: var(--gold-btn); }
.btn-gold:hover { background: var(--gold-btn2); box-shadow: 0 12px 24px -14px rgba(143,111,61,.7); }
.btn-navy:hover { box-shadow: 0 12px 24px -14px rgba(19,36,59,.7); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.mbar a:last-child { background: var(--gold-btn); }
.dock .d-call { background: var(--gold-btn); }

/* 첫 화면: 제목 줄 간격·자간, 숫자 줄 정돈, 레이더는 흐림 없이 */
.hero h1 { line-height: 1.22; letter-spacing: -.035em; }
.hero p.lead { line-height: 1.75; }
.hero-stats { border-top-color: rgba(217,192,154,.32); }
.hero-stats b { letter-spacing: -.01em; }
.radar { background: rgba(12,25,43,.72); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgba(217,192,154,.22); }
@media (max-width: 600px) {
  .eyebrow { font-size: 12px; letter-spacing: .24em; }
  .hero .wrap.hero-grid { padding-top: 52px; }
  .hero h1 { margin: 14px 0 14px; }
  .hero p.lead { margin-bottom: 28px; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 14px; }
  .hero-stats { margin-top: 40px; }
}

/* 구역 머리: 제목 아래 짧은 금색 선으로 리듬, '더 보기' 고리는 누르기 쉽게 */
.sec-head h2 { letter-spacing: -.035em; }
.sec-head h2::after { content: ""; display: block; width: 36px; height: 2px; margin-top: 16px; background: var(--gold); }
.sec-head p { line-height: 1.7; }
.faq-side h2 { letter-spacing: -.035em; }
.more { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; padding: 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; transition: color .2s; }
.more:hover { color: var(--gold-text); }
@media (max-width: 600px) {
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 26px; gap: 4px 20px; }
  .sec-head h2::after { margin-top: 12px; width: 28px; }
}

/* 단지 카드: 은은한 그림자로 띄우고, 이름과 가격 사이를 선으로 나눈다 */
.dj { border-color: var(--line-soft); box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.dj:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--gold2); }
.dj .tag { -webkit-backdrop-filter: none; backdrop-filter: none; padding: 6px 11px; letter-spacing: .02em; box-shadow: 0 4px 12px -4px rgba(0,0,0,.35); }
.dj figure .st-line, .st-line { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15,29,48,.9); }
.dj .rg { letter-spacing: .01em; }
.dj h3 { letter-spacing: -.02em; }
.dj .hl { padding-top: 12px; border-top: 1px solid var(--line-soft); letter-spacing: -.01em; }
.dj .act .btn-line2 { border-color: #ddd2bf; }
.dj .act .btn-line2:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 639px) {
  .dj:not(.big) .hl, .danji.filtered .dj .hl { padding-top: 0; border-top: 0; }
  .dj:not(.big) .act a, .dj:not(.big) .act button, .danji.filtered .dj .act a, .danji.filtered .dj .act button { height: 44px; font-size: 13.5px; }
  .dj.big .body { padding: 20px 20px 22px; }
}

/* 거르기 단추·작은 고리: 같은 모양, 휴대폰에선 44px */
.gu-chips button, .type-chips button, .sched-filter button { transition: background .2s, border-color .2s, color .2s; }
.type-chips button:hover, .sched-filter button:hover { border-color: var(--navy); }
.dj-search input { transition: border-color .2s; }
@media (max-width: 860px) {
  .gu-chips button, .type-chips button, .sched-filter button, .dj-search input { height: 44px; }
  .others a, .pb-na a, .nw-chips a { display: inline-flex; align-items: center; min-height: 44px; }
  .lb-btn { min-height: 44px; padding: 0 14px; }
  .pc-quick button { height: 44px; }
}
.others a { transition: border-color .2s, color .2s; }

/* 표: 머리 글자 대비, 줄 높이, 휴대폰에선 줄바꿈 대신 옆으로 밀기 + 첫 칸 고정 + 끝 그림자 */
.cmp thead th, .sched thead th { color: #5f584f; letter-spacing: .01em; }
.cmp-wrap, .sched-wrap { border-color: var(--line-soft); box-shadow: var(--sh-1); }
.cmp-wrap {
  background:
    linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left / 28px 100% no-repeat local,
    linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) right / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(19,36,59,.16), transparent) left / 10px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(19,36,59,.16), transparent) right / 10px 100% no-repeat scroll,
    #fff;
}
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.lb-btn { transition: background .2s, color .2s; }
@media (max-width: 860px) {
  .cmp, .cmp.types { min-width: 100%; width: max-content; }
  .cmp th, .cmp td { white-space: nowrap; padding: 11px 14px; }
  .cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line-soft); white-space: normal; width: 124px; min-width: 124px; line-height: 1.4; }
  .cmp thead th:first-child { background: var(--ivory); }
}
.kv { border-top-color: var(--navy); }
.kv th { background: #f8f4ec; }
@media (max-width: 600px) {
  .kv th, .kv td { padding: 13px 14px; font-size: 15px; }
  .kv th { width: 30%; }
}

/* 단지 상세 첫 화면: 사실 목록에 금색 세로선, 버튼은 2×2로 가지런히 */
.dhero h1 { letter-spacing: -.035em; }
.dfacts li { padding-left: 14px; border-left: 2px solid rgba(217,192,154,.55); }
.dfacts small { margin-bottom: 2px; }
.dhero .act { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.dhero .act .btn { height: auto; min-height: 50px; padding: 10px 16px; line-height: 1.3; text-align: center; }
.dhero .act .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dhero .act .btn-line { border-color: rgba(255,255,255,.4); }
.dhero-img { box-shadow: 0 40px 70px -36px rgba(0,0,0,.75), 0 0 0 1px rgba(217,192,154,.25); }
.dhero-note { color: rgba(255,255,255,.62); }
.two h3 { letter-spacing: -.02em; }
.two h3::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 12px; background: var(--gold); }
.pays { border-color: var(--line-soft); border-top: 2px solid var(--navy); box-shadow: var(--sh-1); }
.pays b { letter-spacing: -.01em; }
.ticks li { border-color: var(--line-soft); }
@media (max-width: 900px) {
  .dhero .act { max-width: none; }
  .dhero .act .btn { flex: none; }
}
@media (max-width: 600px) {
  .dhero .act .btn { font-size: 14.5px; padding: 10px 12px; }
  .dfacts { gap: 14px 22px; }
}

/* 상담 양식·질문 */
.form { border-color: var(--line-soft); box-shadow: var(--sh-2); }
.faq summary { transition: color .2s; padding-right: 48px; }
.faq summary:hover, .faq details[open] summary { color: var(--navy); }
.faq summary::after { top: 50%; right: 2px; width: 28px; height: 28px; margin-top: -14px; border: 1px solid var(--gold2); border-radius: 50%; display: grid; place-items: center; font-size: 18px; line-height: 1; transition: background .2s, color .2s, border-color .2s; }
.faq details[open] summary::after { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq details p { line-height: 1.8; padding-right: 8px; }

/* 글·소식 카드: 단지 카드와 같은 깊이 */
.sc a, .nwlist li, .gd-list a, .qtiles, .pbars { border-color: var(--line-soft); }
.sc a, .nwlist li, .gd-list a { box-shadow: var(--sh-1); }
.sc a:hover, .nwlist li:hover { box-shadow: var(--sh-2); }
.sc h3 { letter-spacing: -.02em; }
@media (max-width: 600px) {
  .sc p, .gd-list span { font-size: 15px; }
  .nw-t { font-size: 16px; }
}

/* 바닥: 금색 머리선, 휴대폰 고리는 누르기 쉽게 */
.ft { border-top: 2px solid var(--gold); }
@media (min-width: 861px) { .ft { padding-bottom: 72px; } }
.ft-links b { color: var(--gold2); letter-spacing: .06em; }
.ft-links a { transition: color .2s; }
@media (max-width: 860px) {
  .ft-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; margin-right: 16px; }
  .ft-links p { line-height: 1.5; }
  .ft button.link { min-height: 44px; }
}

/* 휴대폰 누르는 곳·작은 글자 보정 */
.tk-track a small { font-size: 12px; }
@media (max-width: 860px) {
  .radar-head a, .consult-tel a, .ft .tel { display: inline-flex; align-items: center; min-height: 44px; }
  .tk-in { height: 46px; }
  .tk-lab { display: inline-flex; align-items: center; min-height: 34px; }
  .tk-track a { display: inline-flex; align-items: center; min-height: 44px; }
  .form .agree button { padding: 11px 0; margin: -11px 0; }
  .crumb a { display: inline-block; padding: 14px 0; margin: -14px 0; }
  .nw-tag { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 6px; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--gold2); text-underline-offset: 4px; }
}
@media (max-width: 639px) {
  .dj:not(.big) .tag, .danji.filtered .dj .tag { font-size: 12px; }
}

/* 작은 노트북·가로 태블릿(861~1239px): 메뉴 글자가 두 줄로 깨지던 것 → 한 줄 유지, 전화 단추는 짧은 글자 */
@media (min-width: 861px) and (max-width: 1239px) {
  .gnb { gap: 18px; }
  .gnb a { font-size: 14.5px; white-space: nowrap; }
  .hd .wrap { gap: 22px; }
  .hd-tel .n { display: none; } .hd-tel .s { display: inline; }
}
@media (min-width: 861px) and (max-width: 1023px) {
  .gnb { gap: 12px; } .gnb a { font-size: 14px; }
  .hd .wrap { gap: 16px; }
  .brand b { font-size: 19px; } .brand i { width: 26px; height: 26px; } .brand small { font-size: 9px; letter-spacing: .2em; }
  .hd-tel { padding: 0 12px; }
}

/* 움직임 줄이기 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  .dj, .dj figure img, .sc a, .nwlist li, .btn, .spot-item img, .dhero-img img, .lb-img img { transition: none !important; }
  .dj:hover, .sc a:hover, .nwlist li:hover, .dj:hover figure img, .spot-item a:hover img, .dhero-img:hover img, .lb-img:hover img { transform: none !important; }
}

/* 2026-10-10 상단 게이지: 머리글 맨 위 선이 스크롤만큼 금색으로 차오른다 (portal.js 가 .hd 에 --sp 0~1 을 넣음) */
.hd::before { background: rgba(14,27,51,.14); opacity: 1; height: 3px; }
.hd::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; z-index: 1; }

/* 2026-10-10 사진 위 글씨 또렷하게: 얇은 어두운 테두리(글자 그림자)와 더 진한 아래쪽 그늘 */
.spot-cap b, .spot-cap small, .spot-cap em { text-shadow: 0 0 1px rgba(6,10,20,.95), 0 1px 2px rgba(6,10,20,.9), 0 0 10px rgba(6,10,20,.55); }
.spot-item a::after { background: linear-gradient(180deg, rgba(10,16,28,.05) 0%, rgba(10,16,28,.35) 30%, rgba(10,16,28,.88) 100%); }
.dj figure .st-line { text-shadow: 0 0 1px rgba(6,10,20,.9), 0 1px 2px rgba(6,10,20,.8); }
@media (max-width: 640px) { .spot-item a::after { background: linear-gradient(180deg, rgba(10,16,28,.15) 0%, rgba(10,16,28,.55) 30%, rgba(10,16,28,.9) 100%); } }

/* 2026-10-10 바닥글 배치: 분양 상담은 왼쪽(소개 아래), 오른쪽 칸은 단지별 모델하우스 */
@media (min-width: 901px) { .ft-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .85fr); gap: 48px; } }
.ft-call { margin-top: 22px; }
.ft-call p { margin: 0; font-size: 13px; color: var(--gold2); letter-spacing: .06em; }
.ft-call .tel { display: inline-block; margin-top: 2px; }
.ft-mh p { margin: 0; }
.ft-mh a { display: block; white-space: normal; margin-right: 0; }

/* 2026-10-10 휴대폰 바닥글 링크 간격 줄이기 (44px 높이 → 촘촘하게) */
@media (max-width: 860px) {
  .ft-links a { min-height: 0; padding: 5px 0; margin-right: 14px; font-size: 14px; line-height: 1.45; }
  .ft-links p { margin-bottom: 12px; line-height: 1.45; }
  .ft-links b { margin-bottom: 2px; }
  .ft-mh a { display: inline-block; margin-right: 14px; }
}

/* ===== 2026-10-10 주 메뉴 묶음 드롭다운: PC는 메뉴마다 따로 펼침, 휴대폰은 접고 펴기 ===== */
.g-it { position: relative; display: flex; align-items: center; }
.g-tog { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 30px; margin-left: 2px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); }
.g-tog::before { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.g-it.open .g-tog::before { transform: translateY(2px) rotate(-135deg); }
.g-sub { display: none; }
.gnb .g-sub a::after { display: none !important; }
@media (min-width: 861px) {
  .g-sub { position: absolute; top: 100%; left: -18px; z-index: 60; padding-top: 14px; }
  .g-it:hover .g-sub, .g-it:focus-within .g-sub, .g-it.open .g-sub { display: block; }
  .g-it:hover .g-tog::before { transform: translateY(2px) rotate(-135deg); }
  .g-box { min-width: 190px; padding: 10px 0; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: 0 18px 36px -18px rgba(14,27,51,.35); }
  .gnb .g-box a { display: block; padding: 9px 20px; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
  .gnb .g-box a:hover { background: #f6f3ec; color: var(--gold-text); }
  .g-sub-dj .g-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 470px; column-gap: 4px; }
  .g-sub-dj .g-box a:last-child { grid-column: 1 / -1; margin-top: 6px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--gold-text); font-weight: 600; }
}
@media (max-width: 860px) {
  .mnav-open .gnb { flex-direction: column; }
  .gnb .g-it { flex-wrap: wrap; border-top: 1px solid var(--line); }
  .gnb .g-it > .g-top { flex: 1; border-top: 0; }
  .gnb .g-tog { width: 56px; height: 56px; margin: 0; color: var(--ink); }
  .gnb .g-tog::before { width: 9px; height: 9px; border-width: 2px; }
  .gnb .g-it.open .g-sub { display: block; width: 100%; background: #f7f4ee; border-top: 1px solid var(--line); }
  .gnb .g-box { padding: 6px 0; }
  .gnb .g-box a { display: block; padding: 11px 20px 11px 34px; border-top: 0; font-size: 15.5px; font-weight: 500; color: var(--ink); }
  .g-sub-dj .g-box { display: grid; grid-template-columns: 1fr 1fr; }
  .g-sub-dj .g-box a { padding-left: 24px; font-size: 14.5px; }
  .g-sub-dj .g-box a:last-child { grid-column: 1 / -1; color: var(--gold-text); font-weight: 600; }
  .gnb .g-box a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .g-tog::before { transition: none; } }

/* ===== 2026-10-10 바닥글 링크 묶음 드롭다운 (details) ===== */
.ft-dd { border-top: 1px solid rgba(201,166,108,.26); }
.ft-dd:last-of-type { border-bottom: 1px solid rgba(201,166,108,.26); }
.ft-dd + .ft-dd { border-top-color: rgba(255,255,255,.08); }
.ft-dd > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 2px; cursor: pointer; color: var(--gold2); font-size: 14px; font-weight: 700; letter-spacing: .1em; transition: color .2s; }
.ft-dd > summary::-webkit-details-marker { display: none; }
.ft-dd > summary::after { content: ""; flex: none; width: 28px; height: 28px; border: 1px solid rgba(201,166,108,.55); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bf8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .2s, border-color .2s; }
.ft-dd > summary:hover { color: #fff; }
.ft-dd > summary:hover::after { border-color: var(--gold2); background-color: rgba(201,166,108,.12); }
.ft-dd[open] > summary { color: #fff; }
.ft-dd[open] > summary::after { transform: rotate(180deg); background-color: rgba(201,166,108,.16); border-color: var(--gold2); }
.ft-dd > summary:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.ft-dd-box { padding: 2px 2px 18px; line-height: 1.9; animation: ftDd .35s cubic-bezier(.2,.7,.2,1); }
.ft-dd-box a { position: relative; }
.ft-dd-box a:hover { color: #fff; }
@keyframes ftDd { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 901px) { .ft-links .ft-dd:first-child { margin-top: 2px; } }
@media (max-width: 860px) { .ft-dd-box { line-height: 1.45; } }
@media (prefers-reduced-motion: reduce) { .ft-dd-box { animation: none; } .ft-dd > summary::after { transition: none; } }

/* 2026-10-10 PC 메뉴 정렬을 단지 사이트처럼: 로고와 전화 사이 가운데에 같은 폭으로 고르게, 화살표 없이 마우스 올리면 펼침 */
@media (min-width: 861px) {
  .hd .wrap { gap: 24px; }
  .gnb { flex: 1; align-self: stretch; align-items: stretch; justify-content: center; gap: 0 !important; }
  .gnb > .g-it, .gnb > a { flex: 0 1 132px; display: flex; align-items: center; justify-content: center; text-align: center; }
  .gnb > a::after, .gnb .g-top::after { bottom: 22px; }
  .gnb .g-top, .gnb > a { font-size: 16px; font-weight: 600; white-space: nowrap; }
  .gnb .g-tog { display: none; }
  .g-sub { left: 50%; transform: translateX(-50%); padding-top: 0; }
  .g-box { text-align: left; }
}
@media (min-width: 861px) and (max-width: 1239px) { .gnb > .g-it, .gnb > a { flex-basis: 108px; } .gnb .g-top, .gnb > a { font-size: 15px; } }

/* 2026-10-10 바닥글: 가운데 = 분양 단지·모델하우스·정보 드롭다운, 오른쪽 = 분양 상담 */
.ft-right .ft-call { margin-top: 4px; }
@media (min-width: 901px) { .ft-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .75fr); } .ft-right { padding-left: 12px; } }
/* 2026-10-10 메뉴 밑줄이 글자 가운데를 지나가던 것 바로잡기: 글자 바로 아래로 */
@media (min-width: 861px) { .gnb .g-top, .gnb > a { position: relative; padding: 6px 0; } .gnb .g-top::after, .gnb > a::after { bottom: -2px !important; } .gnb > a { padding: 6px 0; } }
@media (min-width: 861px) { .gnb > a { align-self: center; } }
.ft-right button.link { display: inline-flex; align-items: center; margin-top: 16px; }

/* ==========================================================================
   2026-10-10 모던 정리 2
   - 남색·금색은 그대로. 모서리 하나(6px)로 통일, 선·그림자는 한 단계 가볍게,
     구역 간격·제목 크기를 정돈하고 장식 선을 덜어 낸다. 새 글꼴·흐림 효과 없음.
   ========================================================================== */
:root {
  --r: 6px; --r-s: 4px;
  --line: #e8e0d2; --line-soft: #f0eadf; --line-in: #ddd4c4;
  --sh-1: 0 1px 2px rgba(19,36,59,.04), 0 6px 18px -12px rgba(19,36,59,.18);
  --sh-2: 0 2px 6px rgba(19,36,59,.05), 0 18px 36px -22px rgba(19,36,59,.32);
}
body { line-height: 1.65; }

/* 구역 리듬·제목 */
.sec { padding: 96px 0; }
.quick + .sec { padding-top: 80px; }
.sec-head { margin-bottom: 36px; }
.sec-head h2, .faq-side h2, .consult-info h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.28; letter-spacing: -.03em; }
.sec-head h2::after, .two h3::after { display: none; }
.sec-head p { font-size: 16px; max-width: 640px; }
.eyebrow { font-size: 12px; letter-spacing: .28em; }
.phead { padding: 56px 0 48px; }
.phead::after { opacity: .12; }
.phead h1 { letter-spacing: -.03em; line-height: 1.25; }
.two h3 { font-size: 20px; }
@media (max-width: 600px) {
  .sec { padding: 60px 0; }
  .quick + .sec { padding-top: 56px; }
  .sec-head { margin-bottom: 24px; }
  .sec-head p { font-size: 15px; }
  .phead { padding: 40px 0 36px; }
}

/* 모서리 통일 6px */
.btn, .hd-tel, .mnav-btn, .spot-nav button, .gu-chips button, .type-chips button, .sched-filter button, .pc-quick button, .lb-btn,
.cal-head button, .others a, .pb-na a, .nw-chips a, .rt-pages a, .ft button.link, .score .k-shot, .plb .plb-x,
.dj, .sc a, .nwlist li, .gd-list a, .qtiles, .pbars, .pays, .form, .score, .cal, .pside, .ps-img, .ticks li, .st-box,
.cmp-wrap, .sched-wrap, .modal-box, .g-box, .spot-item a, .radar, .ask-card, .lb-img, .dhero-img, .dj-hero img, .gd-cover,
.gd-toc, .gd-sum, .gd-src, .rt-form, .rt-stats div, .rt-top a, .sc-sum a, .sc-card, .dj-none, .pc-loanbox, .pc-ratio label.radio,
.form input[type=text], .form input[type=tel], .form input[type=date], .form select, .form textarea, .won-in input,
.dj-search input, .pside select, .rt-form select, .rt-form input, .st-fig img, .toast { border-radius: var(--r); }
.dj, .sc a, .nwlist li, .gd-list a, .qtiles, .spot-item a, .lb-img, .dhero-img, .gd-cover, .ps-img, .cal, .pays, .ask-card { overflow: hidden; }
.st, .dd, .dj .tag, .st-line, .sc-dd, .tk-lab, .st-tags span, .ps-img span, .dhero-img span, .st-go, .radar-list .pill { border-radius: var(--r-s); }
.pside-lab { border-radius: var(--r) 0 var(--r-s) 0; left: 0; top: 0; }
.ev { border-radius: 3px; }

/* 버튼 높이 통일: 52 / 휴대폰 48 */
.btn { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-line2 { border-color: var(--line-in); }
.dj .act a, .dj .act button { height: 44px; }
@media (min-width: 1100px) { .dj:not(.big) .act a, .dj:not(.big) .act button { height: 44px; } }
@media (max-width: 600px) { .btn { height: 48px; padding: 0 20px; } }
.form .submit { height: 54px; font-size: 16.5px; }
.dhero .act .btn { min-height: 50px; }

/* 머리: 드롭다운 상자 */
@media (min-width: 861px) {
  .g-box { padding: 8px; border: 1px solid var(--line); box-shadow: var(--sh-2); }
  .gnb .g-box a { padding: 9px 14px; border-radius: var(--r-s); }
  .gnb .g-box a:hover { background: var(--ivory); }
  .g-sub-dj .g-box a:last-child { margin-top: 4px; border-top-color: var(--line-soft); }
}
@media (max-width: 860px) {
  .gnb .g-it, .gnb a { border-top-color: var(--line-soft); }
  .gnb .g-it.open .g-sub { background: #f8f6f1; border-top-color: var(--line-soft); }
}

/* 첫 화면 바로가기 타일 */
.qtiles { border-color: var(--line-soft); box-shadow: var(--sh-2); }
.qtiles li { border-color: var(--line-soft) !important; }
.qtiles svg { border: 0; border-radius: var(--r); background: var(--ivory); }
.qtiles a:hover svg { background: var(--navy); }

/* 대표 단지 슬라이드 */
.spot-nav button { font-size: 22px; border-color: var(--line-in); }
.spot-dots { margin-top: 14px; }

/* 단지 카드 */
.danji { gap: 24px; }
@media (min-width: 1100px) { .danji { gap: 20px; } }
.dj { border-color: var(--line-soft); }
.dj:hover { transform: translateY(-3px); border-color: var(--line); }
.dj .body { padding: 20px 22px 22px; }
.dj .rg { font-size: 12.5px; }
.dj h3 { margin: 4px 0 10px; line-height: 1.35; }
.dj .hl { padding-top: 10px; }
.dj .act { gap: 8px; padding-top: 18px; }
@media (min-width: 1100px) { .dj:not(.big) .body { padding: 18px 18px 20px; } }
@media (max-width: 639px) {
  .danji { gap: 12px; }
  .dj:not(.big) .body, .danji.filtered .dj .body { padding: 14px; }
  .dj:not(.big) .act a, .dj:not(.big) .act button, .danji.filtered .dj .act a, .danji.filtered .dj .act button { height: 44px; }
}
.dj-more { margin-top: 32px; }

/* 거르기 단추·검색 */
.gu-chips button, .type-chips button, .sched-filter button, .dj-search input { border-color: var(--line-in); }
.gu-chips button.on, .type-chips button.on, .sched-filter button.on { border-color: var(--navy); }
.dj-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,149,92,.18); }

/* 글·소식·가이드 카드 */
.scards { gap: 20px; }
.sc a, .nwlist li, .gd-list a { border-color: var(--line-soft); }
.sc a:hover { transform: translateY(-3px); }
.nwlist li:hover { transform: translateY(-2px); }
.sc div { padding: 16px 18px 20px; }
.sc h3 { font-size: 16.5px; line-height: 1.45; }
.gd-list a:hover, .sc a:hover, .nwlist li:hover { border-color: var(--line); }
.gd-list .gd-main a, .gd-list .gd-main a:hover { border-color: var(--navy); }
.gd-toc { background: #fff; border-color: var(--line-soft); }
.gd-toc a { border-bottom: 0; padding: 7px 0; }
.gd-sum { border-radius: 0 var(--r) var(--r) 0; }

/* 84㎡ 막대 */
.pbars { box-shadow: var(--sh-1); }
.pbars a { border-bottom-style: solid; border-bottom-color: var(--line-soft); }
.pb-bar, .pb-bar i { border-radius: 99px; }

/* 표: 가벼운 선, 휴대폰 가독성 */
.cmp-wrap, .sched-wrap { border-color: var(--line-soft); box-shadow: var(--sh-1); }
.cmp th, .cmp td, .sched th, .sched td { border-bottom-color: var(--line-soft); }
.cmp thead th, .sched thead th { background: #f7f4ee; }
.cmp tbody tr:hover, .sched tbody tr:hover { background: #fbf8f2; }
.kv { border-top: 2px solid var(--navy); }
.kv th, .kv td { border-bottom-color: var(--line-soft); }
.kv th { background: #f9f6f0; }
@media (max-width: 860px) {
  .cmp { font-size: 14px; }
  .cmp th:first-child, .cmp td:first-child { box-shadow: 1px 0 0 var(--line); }
  .cmp thead th:first-child { background: #f7f4ee; }
}
@media (max-width: 640px) {
  .sched-wrap { border-radius: 0; box-shadow: none; }
  .sched tbody tr { border-color: var(--line-soft); border-radius: var(--r); box-shadow: var(--sh-1); }
  .sched td.nm { border-bottom-color: var(--line-soft); }
  .sched tbody tr:has(> .sched-empty) { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .sched td.sched-empty { border-color: var(--line-soft); border-radius: var(--r); padding: 28px 16px; }
}
@media (max-width: 600px) {
  .kv th, .kv td { padding: 12px; font-size: 14.5px; line-height: 1.55; }
  .kv th { width: 1%; white-space: nowrap; font-size: 14px; }
}
.gd-sec th, .gd-sec td, .modal-box th, .modal-box td { border-color: var(--line); }

/* 상담 양식: 흰 입력칸, 또렷한 초점 */
.form { padding: 32px; border-color: var(--line-soft); box-shadow: var(--sh-2); }
.form label { margin-bottom: 16px; }
.form input[type=text], .form input[type=tel], .form input[type=date], .form select, .form textarea, .won-in input, .pside select, .rt-form select, .rt-form input {
  border-color: var(--line-in); background-color: #fff;
}
.form :is(input, select, textarea):hover, .won-in input:hover { border-color: #cbbfa9; }
.form :is(input, select, textarea):focus, .won-in input:focus, .pside select:focus, .rt-form :is(select, input):focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,149,92,.18); background-color: #fff; }
.form select, .pside select, .rt-form select {
  -webkit-appearance: none; appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8278' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.pside select { padding-right: 28px; background-position: right 8px center; }
.form ::placeholder { color: #a39a8e; }
.pc-ratio label.radio { background: #fff; border-color: var(--line-in); }
.pc-ratio label.radio:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.rt-form { background: #fff; border-color: var(--line-soft); box-shadow: var(--sh-1); }
@media (max-width: 900px) { .form { padding: 24px 20px; } }
@media (max-width: 600px) { .form input[type=text], .form input[type=tel], .form input[type=date], .form select, .won-in input { height: 48px; } }

/* 상담 안내 목록: 마름모 대신 작은 점 */
.consult-info li::before { width: 6px; height: 6px; border-radius: 50%; transform: none; left: 4px; top: .72em; }

/* 단지 상세: 장식 테두리 덜기 */
.dhero-img::before { display: none; }
.dhero-img { box-shadow: 0 30px 60px -34px rgba(0,0,0,.7); }
.ticks li { border-color: var(--line-soft); box-shadow: var(--sh-1); }
.ticks li::before { width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); }
.pays li + li { border-color: var(--line-soft); }
.lb-img { border-color: var(--line-soft); }
.others a { border-color: var(--line-in); }

/* 알아두기 */
.faq-two .faq { border-top: 1px solid var(--ink); }
.faq summary { padding-top: 20px; padding-bottom: 20px; font-size: 16.5px; line-height: 1.5; }

/* 청약 일정 묶음·실거래가·달력 */
.sc-sum a, .sc-card, .rt-stats div, .rt-top a, .cal { border-color: var(--line-soft); box-shadow: var(--sh-1); }
.cal-grid .d { border-color: var(--line-soft); }

/* 창(개인정보) */
.modal { background: rgba(10,14,22,.55); }
.modal-box { padding: 30px 28px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); }
.modal-x { width: 44px; height: 44px; right: 6px; top: 6px; line-height: 1; border-radius: var(--r); }
.modal-x:hover { background: var(--ivory); color: var(--ink); }

/* 바닥 */
.ft button.link { border-color: rgba(255,255,255,.28); transition: background .2s, border-color .2s; }
.ft button.link:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

@media (prefers-reduced-motion: reduce) {
  .gd-list a, .ft button.link { transition: none !important; }
}

/* 2026-10-10 바로가기 칸 구분선 바로잡기: 예전 4칸용 규칙이 5칸 배치에 남아 일부 선이 빠지던 것 */
.qtiles li { border-left: 0 !important; border-top: 0 !important; }
@media (min-width: 1025px) { .qtiles li:not(:nth-child(5n+1)) { border-left: 1px solid var(--line) !important; } .qtiles li:nth-child(n+6) { border-top: 1px solid var(--line) !important; } }
@media (min-width: 901px) and (max-width: 1024px) { .qtiles li:not(:nth-child(4n+1)) { border-left: 1px solid var(--line) !important; } .qtiles li:nth-child(n+5) { border-top: 1px solid var(--line) !important; } }
@media (max-width: 900px) { .qtiles li:nth-child(even) { border-left: 1px solid var(--line) !important; } .qtiles li:nth-child(n+3) { border-top: 1px solid var(--line) !important; } }

/* 계산기 빠른 금액 버튼: 누른 것 표시 (2026-10-10) */
.pc-quick button[aria-pressed="true"] { border-color: var(--navy) !important; background: var(--navy) !important; color: #fff !important; }

/* 휴대폰 작은 단지 카드: 사진 위 한 줄 정보가 말줄임으로 숫자 중간에서 잘리던 것 → 여러 줄로 (2026-10-11) */
@media (max-width: 640px) {
  .dj figure .st-line { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 8px; font-size: 11.5px; line-height: 1.35; white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; word-break: keep-all; }
}

/* 청약 일정 요약: 0건 항목은 누를 수 없는 흐린 칸 (2026-10-11) */
.sc-sum .sc-zero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; background: #fafafa; border: 1px solid var(--line-soft); border-radius: var(--r-s); color: var(--muted); }
.sc-sum .sc-zero b { color: var(--muted); }
.sc-sum .sc-zero span { font-size: 13px; }

/* 머리글(sticky) 안 단추에 초점이 가면 화면이 위로 튀던 것: 위쪽 여백은 쪽 안 이동 목표에만 (2026-10-11) */
html { scroll-padding-top: 0; }
main[id], main [id] { scroll-margin-top: calc(var(--hd) + 10px); }

/* 단지별 키워드 글 (2026-10-11) */
.kw-fig img { max-width: 760px; }
.kw-fig figcaption { margin-top: 10px; text-align: center; color: #8a8278; font-size: 13px; }
.kw-q { margin: 24px 0 6px; font-size: 17px; color: var(--ink); }
.st-box.kw-rel { display: block; }
.kw-rel ul { list-style: none; margin: 12px 0 16px; padding: 0; }
.kw-rel li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.kw-rel li a { color: var(--ink); text-decoration: none; }
.kw-rel li a:hover { text-decoration: underline; }
.kw-rel .btn { margin: 4px 6px 0 0; }

/* 분양 소식 탭 (2026-10-11) */
.st-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.st-tabs2 { margin-bottom: 30px; padding-top: 12px; border-top: 1px solid var(--line); }
.st-tab { min-height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.st-tab:hover { border-color: var(--gold, #b89a6a); }
.st-tab.on { background: var(--navy, #14213d); border-color: var(--navy, #14213d); color: #fff; }
.st-empty { margin: 30px 0; text-align: center; color: #8a8278; }
.scards > li[hidden] { display: none !important; }
@media (max-width: 640px) {
  .st-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .st-tabs::-webkit-scrollbar { display: none; }
  .st-tab { flex: none; font-size: 13.5px; }
  .st-tabs2 { padding-top: 12px; }
}
.st-more-w { margin: 34px 0 0; text-align: center; }
.st-more { min-width: 200px; }
.st-more span { margin-left: 4px; color: #8a8278; font-size: .9em; }

/* 디자인 검토 반영 (2026-10-12) */
/* 3. 분양 소식 목록 사진: 정사각형 대신 16:10, 평면도 글은 잘리지 않게 */
#st-list .sc figure { aspect-ratio: 16 / 10; }
#st-list .sc[data-t="plan"] figure { background: #fff; }
#st-list .sc[data-t="plan"] figure img { object-fit: contain; padding: 6px; }
/* 8. 글 끝 '다른 글' 목록: 낱말·단위가 줄 끝에서 끊기지 않게, 링크 표시 */
.kw-rel li a { display: flex; justify-content: space-between; gap: 12px; word-break: keep-all; }
.kw-rel li a::after { content: "›"; flex: none; color: var(--gold, #b89a6a); font-size: 1.2em; line-height: 1; }
/* 9. 글 속 그림: 본문 폭에 맞추고, 세로로 긴 그림은 높이 제한 · 설명 글자 진하게 */
.kw-fig img { max-width: 100%; max-height: 82vh; width: auto; object-fit: contain; }
.kw-fig figcaption { color: #6d665e; font-size: 13.5px; }

/* 분양 칼럼 목록: 대표 그림 글 주제가 잘리지 않게 그림 비율 그대로 (2026-10-12) */
.col-cards .sc figure { aspect-ratio: 1200 / 630; }
.col-cards .sc figure img { object-fit: cover; object-position: left center; }

/* 글 끝 바로가기 단추: 줄이 바뀌어도 위아래가 붙지 않게 간격, 휴대폰은 두 칸씩 같은 폭 (2026-10-12 주인 요청) */
.st-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.st-cta + .st-cta { margin-top: -8px; }
@media (max-width: 640px) { .st-cta .btn { flex: 1 1 calc(50% - 5px); min-width: 0; padding-left: 10px; padding-right: 10px; justify-content: center; text-align: center; } }

/* 메뉴 밑줄: 칸 폭이 아니라 글자 폭만큼 (분양 소식·분양 칼럼처럼 칸이 넓은 단독 메뉴) (2026-10-12 주인 캡처) */
@media (min-width: 861px) {
  .gnb > a::after { display: none; }
  .gnb > a > span { position: relative; display: inline-block; }
  .gnb > a > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .gnb > a:hover > span::after, .gnb > a[aria-current] > span::after { transform: scaleX(1); }
}

/* 첫 화면 "지금 주목할 단지" 슬라이드: 휴대폰에서 사진 높이를 키움 (16:9 → 8:7) (2026-10-12 주인 요청) */
@media (max-width: 768px) { .spot-item a { aspect-ratio: 8 / 7; } }
