/* 바른터 공인중개사사무소 — 쿨 화이트 · 코발트 블루, 프롭테크 앱 스타일 */
:root {
  --brand: #2350e6; --brand-ink: #fff; --accent: #ff7a45;
  --bg: #f5f7fb; --bg2: #eaeef6; --card: #fff; --line: #dfe4ee; --soft: #e8eeff;
  --ink: #0d1530; --sub: #69728a; --field: #fff; --radius: 14px;
  --num: 'Outfit', 'Pretendard Variable', sans-serif;
  --sale: #2350e6; --jeonse: #14a37f; --monthly: #ff7a45;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 4.5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Pretendard Variable', system-ui, sans-serif; line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--brand); color: #fff; padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--sub); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(35, 80, 230, .7); }
.btn--brand:hover { background: #173fc4; }
.btn--line { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 10px 16px; font-size: 13.5px; border-radius: 10px; }
.link { color: var(--brand); font-weight: 700; text-decoration: none; }
.link-btn { border: 0; background: none; color: var(--brand); cursor: pointer; font-weight: 600; text-decoration: underline; padding: 0; }
.num { margin: 0 0 12px; font-family: var(--num); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.h2 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.25; }
.h2 em, h1 em { font-style: normal; color: var(--brand); }
.lede { color: var(--sub); max-width: 560px; margin: 14px 0 0; font-size: clamp(14.5px, 1.2vw, 16px); }
.sec { padding: clamp(70px, 9vw, 120px) var(--pad); max-width: 1440px; margin: 0 auto; }
.sec__head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.sec__head--row .lede { margin: 0; max-width: 460px; }
.chip { padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-size: 13.5px; font-weight: 600; color: #3c4560; transition: all .2s; white-space: nowrap; }
.chip:hover { border-color: #b9c3d8; }
.chip[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip--xs { padding: 5px 10px; font-size: 12.5px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 3px; padding: 4px; border-radius: 12px; background: var(--bg2); flex-wrap: wrap; }
.seg button { padding: 8px 14px; border-radius: 9px; border: 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--sub); transition: all .2s; }
.seg button[aria-pressed=true] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(13, 21, 48, .1); }
.dl { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 800; color: #fff; font-style: normal; line-height: 1.3; }
.dl--sale { background: var(--sale); } .dl--jeonse { background: var(--jeonse); } .dl--monthly { background: var(--monthly); }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* header */
.head { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 26px; padding: 14px var(--pad); background: rgba(245, 247, 251, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.is-scrolled { border-color: var(--line); }
.head:has(.nav.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo__mark { display: flex; align-items: flex-end; gap: 3px; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--brand); }
.logo__mark i { flex: 1; background: #fff; border-radius: 2px 2px 0 0; }
.logo__mark i:nth-child(1) { height: 50%; } .logo__mark i:nth-child(2) { height: 100%; } .logo__mark i:nth-child(3) { height: 72%; opacity: .7; }
.logo b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.logo small { font-size: 11.5px; color: var(--sub); }
.nav { display: flex; gap: 24px; }
.nav a { font-size: 14.5px; font-weight: 600; text-decoration: none; color: #3c4560; }
.nav a:hover { color: var(--brand); }
.head__open { margin: 0; font-size: 12.5px; color: var(--sub); white-space: nowrap; }
.head__open.is-open { color: var(--jeonse); font-weight: 600; }
.head__open::before { content: '● '; }
.head__tel { font-family: var(--num); font-weight: 700; font-size: 16px; text-decoration: none; padding: 9px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger i { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.burger[aria-expanded=true] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded=true] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px) var(--pad) clamp(50px, 7vw, 90px); max-width: 1440px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--jeonse); box-shadow: 0 0 0 4px rgba(20, 163, 127, .15); }
.hero h1 { margin: 0; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.15; font-weight: 800; letter-spacing: -.05em; }
.hero h1 em { position: relative; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: rgba(35, 80, 230, .16); border-radius: 4px; z-index: -1; }
.hero__lead { margin: 22px 0 30px; color: var(--sub); font-size: clamp(15px, 1.3vw, 17px); max-width: 520px; }
.search { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 18px; background: var(--card); box-shadow: 0 20px 50px -30px rgba(13, 21, 48, .5), 0 0 0 1px var(--line); max-width: 640px; }
.search__deal { display: flex; gap: 2px; padding: 3px; background: var(--bg2); border-radius: 12px; }
.search__deal button { padding: 9px 12px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--sub); }
.search__deal button[aria-pressed=true] { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(13, 21, 48, .1); }
.search__q input { width: 100%; border: 0; padding: 12px 8px; font: inherit; font-size: 15.5px; background: transparent; color: var(--ink); outline: none; }
.hero__facts { list-style: none; margin: 34px 0 0; padding: 0; display: flex; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.hero__facts li { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 3px; }
.hero__facts b { font-family: var(--num); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.02em; }
.hero__facts span { font-weight: 700; color: var(--brand); }
.hero__facts small { grid-column: 1 / -1; font-size: 12.5px; color: var(--sub); }
.hero__art { position: relative; height: min(560px, 46vw); min-height: 400px; }
.hero__img { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(13, 21, 48, .55); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--a { inset: 0 12% 12% 0; }
.hero__img--b { right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--bg); }
.hero__badge { position: absolute; left: -14px; top: 26px; padding: 12px 16px; border-radius: 16px; background: var(--brand); color: #fff; box-shadow: 0 16px 30px -14px rgba(35, 80, 230, .8); display: flex; flex-direction: column; }
.hero__badge b { font-size: 17px; }
.hero__badge small { font-size: 12px; opacity: .85; }
.ticker { position: absolute; left: 6%; bottom: 4%; width: min(320px, 70%); }
.ticker__card { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(13, 21, 48, .55); cursor: pointer; animation: slideUp .6s var(--ease); }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } }
.ticker__card img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.ticker__card span { display: flex; flex-direction: column; min-width: 0; }
.ticker__card small { font-size: 11.5px; color: var(--sub); }
.ticker__card small .dl { padding: 1px 6px; font-size: 10.5px; margin-right: 4px; }
.ticker__card b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker__card em { font-style: normal; font-family: var(--num); font-weight: 700; color: var(--brand); }

/* 01 listings */
.listings { max-width: 1520px; }
.filters { position: sticky; top: 70px; z-index: 30; display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 30px -24px rgba(13, 21, 48, .6), 0 0 0 1px var(--line); margin-bottom: 18px; }
.filters__row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.range2 { display: flex; align-items: center; gap: 14px; flex: 1 1 320px; min-width: 260px; }
.range2__k { font-size: 13px; font-weight: 700; color: var(--sub); white-space: nowrap; min-width: 170px; }
.range2__k output { color: var(--ink); margin-left: 4px; }
.range2__track { position: relative; flex: 1; height: 28px; }
.range2__track::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--bg2); }
.range2__track i { position: absolute; top: 12px; height: 4px; border-radius: 4px; background: var(--brand); }
.range2__track input { position: absolute; inset: 0; width: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range2__track input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 8px rgba(13, 21, 48, .2); cursor: grab; }
.range2__track input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); cursor: grab; }
.sort select { padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.board__list { max-height: calc(100vh - 210px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.board__count { margin: 0 0 10px; font-size: 14px; color: var(--sub); }
.board__count b { color: var(--ink); font-family: var(--num); font-size: 18px; }
.cards { display: grid; gap: 12px; }
.empty { padding: 40px 20px; text-align: center; color: var(--sub); background: var(--card); border-radius: 18px; border: 1px dashed var(--line); }
.lcard { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .25s, transform .25s var(--ease); }
.lcard:hover, .lcard.is-hot { box-shadow: 0 0 0 2px var(--brand), 0 16px 30px -22px rgba(35, 80, 230, .7); }
.lcard.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { transform: scale(1.015); box-shadow: 0 0 0 3px var(--accent); } }
.lcard__img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3.2; }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lcard:hover .lcard__img img { transform: scale(1.06); }
.lcard__img .dl { position: absolute; left: 8px; top: 8px; }
.lcard__hot { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(13, 21, 48, .78); color: #fff; font-size: 11px; font-weight: 700; }
.fav { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #c3c9d6; font-size: 16px; cursor: pointer; transition: transform .2s, color .2s; }
.fav:hover { transform: scale(1.1); }
.fav.is-on { color: #ff3d6a; }
.lcard__body { min-width: 0; display: flex; flex-direction: column; }
.lcard__meta { margin: 2px 0 0; font-size: 12.5px; color: var(--sub); }
.lcard__meta span { font-family: var(--num); }
.lcard__price { margin: 2px 0 0; font-family: var(--num); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.lcard h3 { margin: 0; font-size: 15.5px; font-weight: 700; }
.lcard__spec { margin: 4px 0 0; font-size: 13px; color: #49526b; }
.lcard__tags { margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12px; }
.lcard__tags i { font-style: normal; padding: 2px 8px; border-radius: 6px; background: var(--bg2); color: #49526b; }
.lcard__tags span { color: var(--sub); margin-left: 4px; }
.lcard__cmp { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 4px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--sub); cursor: pointer; }
.lcard__cmp input { accent-color: var(--brand); width: 16px; height: 16px; }

.board__map { position: sticky; top: 196px; }
.mapbox { position: relative; height: calc(100vh - 220px); min-height: 440px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #eef1f6; }
.mapbox__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapbox__lbl { font-size: 12px; fill: #7a9a73; text-anchor: middle; font-weight: 600; }
.mapbox__lbl--river { fill: #6f93bf; letter-spacing: .6em; font-size: 14px; }
.mapbox__pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 10px; border: 0; color: #fff; font-family: var(--num); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; box-shadow: 0 8px 16px -8px rgba(13, 21, 48, .6); transition: transform .25s var(--ease), opacity .25s, box-shadow .25s; z-index: 2; }
.pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0; z-index: -1; }
.pin--sale { background: var(--sale); } .pin--jeonse { background: var(--jeonse); } .pin--monthly { background: var(--monthly); }
.pin:hover, .pin.is-hot { transform: translate(-50%, -100%) scale(1.18); z-index: 5; box-shadow: 0 0 0 3px #fff, 0 12px 20px -8px rgba(13, 21, 48, .6); }
.pin.is-dim { opacity: .28; transform: translate(-50%, -100%) scale(.85); }
.station { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: #3c4560; pointer-events: none; z-index: 1; }
.station i { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: #fff; box-shadow: 0 2px 6px rgba(13, 21, 48, .2); }
.station em { width: 9px; height: 9px; border-radius: 50%; }
.mapbox__legend { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 12px; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; }
.lg { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.lg--sale { background: var(--sale); } .lg--jeonse { background: var(--jeonse); } .lg--monthly { background: var(--monthly); }

.compare { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 58; width: min(720px, calc(100% - 24px)); animation: slideUp .4s var(--ease); }
.compare[hidden] { display: none; }
.compare__in { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 24px 50px -20px rgba(13, 21, 48, .8); }
.compare__slots { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; min-width: 0; }
.slot { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .08); min-width: 0; font-size: 12.5px; }
.slot img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.slot b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot button { position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; font-size: 12px; cursor: pointer; line-height: 1; }
.slot--empty { justify-content: center; color: rgba(255, 255, 255, .45); border: 1px dashed rgba(255, 255, 255, .25); background: none; min-height: 48px; }
.compare__x { border: 0; background: none; color: rgba(255, 255, 255, .6); cursor: pointer; font-size: 12.5px; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); z-index: 90; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; animation: slideUp .3s var(--ease); }

/* dialogs */
.sheet { width: min(980px, calc(100% - 24px)); max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: 26px; background: var(--card); color: var(--ink); overflow: auto; box-shadow: 0 40px 80px -30px rgba(13, 21, 48, .7); }
.sheet::backdrop { background: rgba(13, 21, 48, .55); backdrop-filter: blur(3px); }
.sheet[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.sheet__x { position: sticky; top: 12px; float: right; margin: 12px 12px -52px 0; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px rgba(13, 21, 48, .2); font-size: 22px; cursor: pointer; }
.sheet__body { display: grid; grid-template-columns: 1.1fr 1fr; }
.sheet--wide .sheet__body { display: block; padding: 28px; }
.sheet__h { margin: 0 0 16px; font-size: 22px; }
.gal { padding: 14px; }
.gal > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.gal__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gal__thumbs button { width: 76px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .6; transition: all .2s; }
.gal__thumbs button[aria-pressed=true] { border-color: var(--brand); opacity: 1; }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.det { padding: 24px 26px 26px 10px; }
.det__meta { margin: 0; font-size: 13px; color: var(--sub); }
.det h3 { margin: 6px 0 2px; font-size: 24px; letter-spacing: -.03em; }
.det__price { margin: 0 0 14px; font-family: var(--num); font-size: 34px; font-weight: 700; color: var(--brand); letter-spacing: -.02em; }
.det__price small { font-family: 'Pretendard Variable', sans-serif; font-size: 13px; color: var(--sub); font-weight: 500; margin-left: 6px; }
.det__spec { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.det__spec > div { background: var(--card); padding: 9px 12px; }
.det__spec dt { font-size: 11.5px; color: var(--sub); }
.det__spec dd { margin: 0; font-size: 14px; font-weight: 600; }
.det__k { margin: 16px 0 8px; font-size: 13px; font-weight: 700; color: var(--sub); }
.plan { width: 100%; max-width: 360px; background: #f9fbff; border-radius: 12px; }
.plan text { font-size: 12px; fill: #49526b; text-anchor: middle; font-weight: 600; }
.plan .plan__big { font-size: 14px; }
.det__cost ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.det__cost li { display: flex; justify-content: space-between; }
.det__cost li span { color: var(--sub); }
.det__total { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); text-align: right; font-size: 14px; }
.det__total b { font-family: var(--num); font-size: 18px; color: var(--brand); }
.det__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.det__check { margin: 14px 0 0; font-size: 12.5px; color: var(--jeonse); font-weight: 600; }
.table-x { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 520px; }
.cmp th, .cmp td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 14px; }
.cmp th { width: 110px; color: var(--sub); font-weight: 600; font-size: 13px; }
.cmp tr:first-child td { vertical-align: top; }
.cmp tr:first-child img { width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.cmp td.is-best { background: var(--soft); color: var(--brand); font-weight: 700; }
.cmp td.is-best::after { content: ' ★'; }

/* 02 market */
.market { max-width: none; background: var(--card); border-block: 1px solid var(--line); }
.market__in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 18px; }
.legend button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-size: 13px; font-weight: 600; transition: opacity .2s; }
.legend button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.legend button[aria-pressed=false] { opacity: .4; }
.mk-stats { margin: 0; display: grid; gap: 8px; }
.mk-stats > div { padding: 12px 14px; border-radius: 14px; background: var(--bg); border-left: 4px solid var(--c); }
.mk-stats dt { font-size: 13px; color: var(--sub); }
.mk-stats dd { margin: 0; display: flex; align-items: baseline; gap: 6px; font-family: var(--num); font-size: 22px; font-weight: 700; }
.mk-stats small { font-family: 'Pretendard Variable', sans-serif; font-size: 12px; color: var(--sub); font-weight: 500; }
.mk-stats em { margin-left: auto; font-style: normal; font-size: 14px; }
.mk-stats .up { color: #e5484d; } .mk-stats .down { color: var(--brand); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-dasharray: 3 4; }
.chart .ax { font-size: 12px; fill: var(--sub); text-anchor: middle; font-family: var(--num); }
.chart .ax--y { text-anchor: end; }
.chart .cursor { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart__tip { position: absolute; top: 10px; display: grid; gap: 3px; min-width: 190px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12.5px; pointer-events: none; box-shadow: 0 14px 30px -14px rgba(13, 21, 48, .7); }
.chart__tip[hidden] { display: none; }
.chart__tip span { display: flex; align-items: center; gap: 6px; }
.chart__tip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chart__tip em { margin-left: auto; font-style: normal; font-family: var(--num); font-weight: 700; }

/* 03 calc */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--bg2); margin-bottom: 18px; }
.tabs button { padding: 11px 20px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--sub); }
.tabs button[aria-selected=true] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(13, 21, 48, .1); }
.calc__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc__panel[hidden] { display: none; }
.calc__form, .result { padding: clamp(20px, 2.6vw, 32px); border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.calc__form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--sub); }
.field output { color: var(--brand); font-family: var(--num); font-size: 18px; margin-left: 6px; }
.money { position: relative; }
.money input { width: 100%; padding: 14px 64px 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); font-family: var(--num); font-size: 22px; font-weight: 700; color: var(--ink); background: var(--field); }
.money input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--soft); }
.money i { position: absolute; right: 16px; bottom: 18px; font-style: normal; color: var(--sub); font-size: 14px; }
.money[hidden] { display: none; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 0; }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--k, 50%), var(--bg2) var(--k, 50%)); cursor: pointer; }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 3px 10px rgba(35, 80, 230, .35); }
.slider input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.result { background: linear-gradient(160deg, #10183a, #1d2f78); color: #fff; box-shadow: 0 30px 60px -36px rgba(13, 21, 48, .9); }
.result__k { margin: 0; font-size: 14px; opacity: .75; }
.result__v { margin: 4px 0 18px; font-size: 18px; }
.result__v b { font-family: var(--num); font-size: clamp(38px, 4vw, 54px); font-weight: 700; letter-spacing: -.02em; margin-right: 4px; }
.result__dl { margin: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 14px; overflow: hidden; }
.result__dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; background: rgba(13, 21, 48, .6); font-size: 14px; }
.result__dl dt { opacity: .7; }
.result__dl dd { margin: 0; font-weight: 700; text-align: right; }
.result__dl .is-p dt::before, .result__dl .is-i dt::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: #8fb3ff; }
.result__dl .is-i dt::before { background: var(--accent); }
.result__note { margin: 16px 0 0; font-size: 12.5px; opacity: .65; line-height: 1.6; }
.loanbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin: -4px 0 16px; background: rgba(255, 255, 255, .1); }
.loanbar i { flex-basis: 0; transition: flex-grow .6s var(--ease); }
.loanbar i:first-child { background: #8fb3ff; } .loanbar i:last-child { background: var(--accent); }

/* 04 sell */
.sell { max-width: none; background: var(--ink); color: #fff; }
.sell__in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.sell .num { color: #8fb3ff; }
.sell .h2 em { color: #8fb3ff; }
.sell .lede { color: rgba(255, 255, 255, .7); margin-bottom: 26px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: s; }
.steps li { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s var(--ease); }
.steps li:hover { background: rgba(35, 80, 230, .35); transform: translateY(-4px); }
.steps b { font-family: var(--num); font-size: 14px; color: #8fb3ff; }
.steps h3 { margin: 10px 0 4px; font-size: 19px; }
.steps p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 14px; }

/* 05 agents */
.agent-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.agent { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 26px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.agent__mono { width: 120px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 26px; background: linear-gradient(140deg, var(--brand), #6b8bff); color: #fff; font-size: 52px; font-weight: 800; }
.agent:nth-child(2) .agent__mono { background: linear-gradient(140deg, var(--jeonse), #6fd8b9); }
.agent__role { margin: 0; color: var(--brand); font-size: 13px; font-weight: 700; }
.agent h3 { margin: 2px 0 2px; font-size: 24px; }
.agent__reg { margin: 0 0 10px; font-size: 12.5px; color: var(--sub); font-family: var(--num); }
.agent ul { margin: 0; padding: 0 0 0 16px; font-size: 14px; color: #3c4560; }
.agent__focus { margin: 10px 0 0; font-size: 13.5px; color: var(--sub); }
.agent__focus b { color: var(--ink); }
.trust { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 18px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.trust div { padding: 16px 18px; background: var(--card); display: flex; flex-direction: column; font-size: 14px; }
.trust b { font-size: 12.5px; color: var(--sub); font-weight: 600; }

/* 06 reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 50px; }
.review { margin: 0; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.review p { margin: 0 0 16px; font-size: 15px; line-height: 1.75; flex: 1; }
.review footer { font-size: 13px; color: var(--brand); font-weight: 600; }
.faq { max-width: 920px; display: grid; gap: 8px; }
.faq details { border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); color: var(--brand); font-family: var(--num); font-size: 13px; flex: none; }
.faq summary i { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: rotate(45deg); transition: transform .3s; flex: none; }
.faq details[open] summary i { transform: rotate(-135deg); }
.faq p { margin: 0; padding: 0 20px 20px 60px; color: var(--sub); }

/* 07 book */
.book { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(26px, 5vw, 80px); align-items: start; }
.book__side { position: sticky; top: 100px; }
.book__today { margin: 20px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--soft); color: var(--brand); font-weight: 700; font-size: 14px; }
.book__mobile { display: inline-flex; gap: 8px; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-size: 14px; }
.book__mobile b { font-family: var(--num); }
.lead__form, .lead__done { border-radius: 22px; }

/* 08 map */
.map { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 80px); border-top: 1px solid var(--line); }
.map__addr { font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; margin: 22px 0 8px; }
.map__links { display: flex; gap: 18px; margin: 16px 0; }
.map__tel { font-family: var(--num); font-weight: 700; font-size: clamp(28px, 3vw, 40px); text-decoration: none; color: var(--brand); }
.hours { list-style: none; margin: 0; padding: 6px 18px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li:last-child { border: 0; }
.hours li span { color: var(--sub); }
.hours li.is-today span, .hours li.is-today b { color: var(--brand); font-weight: 800; }
.hours li.note { display: block; color: var(--sub); font-size: 13px; }

.foot { padding: 56px var(--pad) 110px; background: #0a1027; color: #9aa3bb; font-size: 13px; }
.foot p { margin: 0 0 12px; max-width: 1150px; }
.foot__logo { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.foot__logo small { font-size: 14px; color: #9aa3bb; font-weight: 500; margin-left: 4px; }
.foot__notice { padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); }
.foot__links a, .foot__samples a { color: #fff; text-decoration: none; margin-right: 16px; }
.foot__samples a { display: inline-block; margin: 4px 12px 0 0; color: #9aa3bb; }
.foot a:hover { color: #8fb3ff; }
.fab { display: none; }

@media (max-width: 1200px) {
  .nav { gap: 16px; }
  .head__open { display: none; }
  .lcard { grid-template-columns: 140px 1fr; }
}
@media (max-width: 1000px) {
  .burger { display: flex; }
  .head__tel { display: none; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px; padding: 80px var(--pad) 40px; background: rgba(245, 247, 251, .98); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav a { font-size: clamp(26px, 7vw, 40px); font-weight: 800; color: var(--ink); }
  .hero { grid-template-columns: 1fr; }
  .hero__art { height: 380px; min-height: 0; order: -1; }
  .filters { top: 66px; }
  .board { grid-template-columns: 1fr; }
  .board__map { position: relative; top: 0; order: -1; }
  .mapbox { height: 340px; min-height: 0; }
  .board__list { max-height: none; overflow: visible; padding: 0; }
  .sheet__body { grid-template-columns: 1fr; }
  .det { padding: 0 20px 24px; }
  .market__in, .calc__panel, .sell__in, .book { grid-template-columns: 1fr; }
  .book__side { position: static; }
  .agent-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero__art { height: 300px; }
  .hero__badge { left: 8px; top: 12px; }
  .search { grid-template-columns: 1fr auto; }
  .search__deal { grid-column: 1 / -1; }
  .search__deal button { flex: 1; }
  .filters { position: static; padding: 12px; }
  .range2 { flex-direction: column; align-items: stretch; gap: 4px; }
  .range2__track { flex: none; }
  .lcard { grid-template-columns: 1fr; padding: 10px; }
  .lcard__img { aspect-ratio: 16 / 9; }
  .lcard__price { font-size: 22px; }
  .steps { grid-template-columns: 1fr; }
  .agent { grid-template-columns: 1fr; text-align: left; }
  .agent__mono { width: 72px; font-size: 32px; border-radius: 18px; }
  .trust, .reviews { grid-template-columns: 1fr; }
  .map { grid-template-columns: 1fr; }
  .compare__slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot b { display: none; }
  .slot { justify-content: center; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 10px 8px; font-size: 14px; }
  .faq p { padding-left: 20px; }
  .fab { display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; padding: 14px 20px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(35, 80, 230, .7); }
  body:has(.compare:not([hidden])) .fab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .chart .line { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
