/* New Stage Real Estate — оформление витрины.
   Идея: утро над Заилийским Алатау. Холодный воздух (фон), тёмная хвоя (текст), золотой свет на вершинах (ключевой цвет).
   Ключевой цвет и «чернила» приходят из настроек через переменные --key / --ink (см. <style> в шапке страницы). */

:root {
  --key: #C9973F; --key2: #B5812A; --on-key: #0C2421; --key-deep: #8A6420; --key-soft: #F6EDD9;
  --ink: #0C2421; --night: #07171A;
  --snow: #FFFFFF; --mist: #F3F6F5; --frost: #E9EEEC; --line: #DCE4E1; --stone: #5C6B68; --fog: #8A9794;
  --ok: #1E7F5C; --ok-soft: #E1F2EA; --warn: #9A6A12; --warn-soft: #FBF1DA; --bad: #B4412F; --bad-soft: #F9E5E1; --info: #2B6C8F; --info-soft: #E2EFF6;
  --art-far: #D3E0DC; --art-mid: #BCCDC8; --art-near: #E4ECE9; --art-snow: #FFFFFF; --art-lit: var(--key); --art-glow: var(--key);
  --sans: 'Golos', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Cormorant', 'Times New Roman', Georgia, serif;
  --r-s: 8px; --r: 12px; --r-l: 18px;
  --sh-1: 0 1px 2px rgba(12, 36, 33, .06), 0 2px 8px rgba(12, 36, 33, .05);
  --sh-2: 0 2px 4px rgba(12, 36, 33, .05), 0 12px 32px rgba(12, 36, 33, .10);
  --sh-3: 0 24px 64px rgba(7, 23, 26, .22);
  --wrap: 1240px; --pad: clamp(16px, 4vw, 40px); --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font: 400 16px/1.55 var(--sans); color: var(--ink); background: var(--mist); font-feature-settings: 'tnum' 1; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--key) 70%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--key); }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--key2); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.ic { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: calc(760px + var(--pad) * 2); }
.sec { padding: clamp(48px, 7vw, 96px) 0; }
.sec--snow { background: var(--snow); }
.sec--night { background: var(--night); color: #EAF1EF; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.h-display { font: 500 clamp(40px, 6.2vw, 78px)/1.02 var(--serif); letter-spacing: -0.012em; text-wrap: balance; }
.h1 { font: 500 clamp(34px, 4.6vw, 56px)/1.06 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font: 500 clamp(28px, 3.4vw, 42px)/1.1 var(--serif); letter-spacing: -0.006em; text-wrap: balance; }
.h3 { font: 600 20px/1.3 var(--sans); }
.h4 { font: 600 16px/1.35 var(--sans); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--stone); max-width: 62ch; text-wrap: pretty; }
.sec--night .lead { color: #A9BBB7; }
.muted { color: var(--stone); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: var(--gap, 12px); flex-wrap: wrap; }
.grid { display: grid; gap: var(--gap, 24px); }
.more { font-weight: 600; white-space: nowrap; }

/* ── кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn-key { background: var(--key); color: var(--on-key); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-key:hover { background: var(--key2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--night); }
.btn-line { border-color: var(--line); background: var(--snow); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { padding: 0 14px; }
.btn-ghost:hover { background: var(--frost); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #18914A; }
.btn-s { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.sec--night .btn-line { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.sec--night .btn-line:hover { border-color: #fff; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; text-decoration: none; }
.icon-btn:hover { background: var(--frost); }
.cnt { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--key); color: var(--on-key); font: 600 11px/18px var(--sans); text-align: center; font-style: normal; }

/* ── поля ── */
.field { display: block; }
.field > span, .label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--snow); transition: border-color .15s; }
.textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 40px; background: var(--snow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235C6B68' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--fog); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--key) 30%, transparent); }
.input::placeholder, .textarea::placeholder { color: var(--fog); }
.field-err { display: block; color: var(--bad); font-size: 14px; margin-top: 6px; }
.is-invalid { border-color: var(--bad) !important; }
.hint { display: block; font-size: 13px; color: var(--stone); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--stone); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.check a { color: var(--ink); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 22px; background: var(--snow); font-weight: 500; transition: border-color .15s, background-color .15s; }
.chip input:hover + span { border-color: var(--fog); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--key2); outline-offset: 2px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-note { font-size: 13px; color: var(--stone); }

/* ── метки ── */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; font-weight: 600; background: var(--frost); color: var(--ink); white-space: nowrap; }
.badge-key { background: var(--key); color: var(--on-key); }
.badge-ink { background: var(--ink); color: #fff; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--frost); color: var(--stone); }

/* ── шапка ── */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--snow); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: var(--hdr); }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo img { width: 26px; height: 37px; }
.logo span { display: grid; line-height: 1; }
.logo b { font: 600 21px/1 var(--serif); letter-spacing: .01em; }
.logo small { font-size: 10.5px; letter-spacing: .2em; color: var(--stone); margin-top: 3px; text-transform: uppercase; }
.nav { display: none; gap: 2px; margin-left: 8px; }
.nav a { padding: 10px 12px; border-radius: var(--r-s); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a:hover { background: var(--frost); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--key); border-radius: 0; }
.hdr-act { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-phone { display: none; font-weight: 600; text-decoration: none; padding: 0 10px; white-space: nowrap; }
.hdr-login { display: none; }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } .hdr-phone, .hdr-login { display: inline-flex; } }
@media (max-width: 640px) { :root { --hdr: 58px; } .logo b { font-size: 19px; } }

/* выезжающее меню на телефоне */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(7, 23, 26, .5); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--snow); padding: 14px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.drawer-panel a.dl { display: flex; align-items: center; gap: 12px; padding: 13px 8px; text-decoration: none; font-size: 17px; font-weight: 500; border-radius: var(--r-s); }
.drawer-panel a.dl:hover { background: var(--frost); }
.drawer-sep { height: 1px; background: var(--line); margin: 10px 0; }

/* нижняя панель на телефоне */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--snow); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 11px; font-weight: 500; color: var(--stone); text-decoration: none; }
.tabbar a[aria-current], .tabbar .is-key { color: var(--ink); }
.tabbar .is-key .ic { color: var(--key-deep); }
.tabbar .cnt { top: 2px; right: calc(50% - 22px); }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* ── первый экран ── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F8FAF9 0%, var(--mist) 70%); }
.hero-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: min(78%, 560px); pointer-events: none; }
.hero-in { position: relative; padding-top: clamp(36px, 6vw, 84px); padding-bottom: clamp(170px, 23vw, 330px); }
.hero-title { max-width: 12.6em; }
.hero-sub { margin-top: 18px; max-width: 46ch; }
.hero-art-lit { animation: dawn 2.2s .2s both ease-out; }
@keyframes dawn { from { opacity: 0; } to { opacity: 1; } }

.finder { position: relative; margin-top: clamp(24px, 3vw, 36px); background: var(--snow); border-radius: var(--r-l); box-shadow: var(--sh-2); padding: 8px; max-width: 980px; }
.finder-tabs { display: flex; gap: 2px; padding: 4px 4px 8px; }
.finder-tabs label { position: relative; }
.finder-tabs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.finder-tabs span { display: block; padding: 9px 16px; border-radius: 10px; font-weight: 600; color: var(--stone); }
.finder-tabs input:checked + span { background: var(--ink); color: #fff; }
.finder-tabs input:focus-visible + span { outline: 2px solid var(--key2); outline-offset: 2px; }
.finder-row { display: grid; gap: 8px; }
.finder-cell { display: grid; gap: 2px; padding: 8px 14px 10px; border-radius: var(--r); background: var(--mist); min-width: 0; }
.finder-cell > span { font-size: 12.5px; color: var(--stone); font-weight: 500; }
.finder-cell select, .finder-cell input[type=text] { border: 0; background: transparent; padding: 0; min-height: 28px; font-weight: 600; width: 100%; outline: 0; appearance: none; }
.finder-cell:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.finder-rooms { display: flex; gap: 6px; padding-top: 2px; }
.finder-rooms label { position: relative; flex: 1; }
.finder-rooms input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.finder-rooms span { display: grid; place-items: center; height: 30px; border-radius: 8px; background: var(--snow); font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); }
.finder-rooms input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.finder .btn { min-height: 58px; }
@media (min-width: 860px) { .finder-row { grid-template-columns: 1.15fr 1.1fr .9fr auto; } }
.hero-alt { margin-top: 18px; font-size: 15px; color: var(--stone); }
.hero-alt a { color: var(--ink); font-weight: 600; }

/* ── карточка объекта ── */
.cards { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { position: relative; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: var(--frost); }
.card-scroll { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card-scroll::-webkit-scrollbar { display: none; }
.card-scroll img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.cover-art { width: 100%; height: 100%; }
.cover-art-label { font: 500 30px var(--serif); fill: #EAF1EF; }
.card-zones { position: absolute; inset: 0; display: none; }
.card-zones i { flex: 1; }
.card-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.card-dots i.is-on { background: #fff; }
@media (hover: hover) { .card-media:hover .card-zones { display: flex; } }
.card-badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 70px); }
.card-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 13px; background: rgba(7, 23, 26, .62); color: #fff; font-size: 13px; font-weight: 500; }
.fav { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--sh-1); }
.fav:hover { background: #fff; }
.fav[aria-pressed=true] { color: var(--bad); }
.fav[aria-pressed=true] svg { fill: currentColor; }
.card-body { padding: 14px 4px 0; display: grid; gap: 4px; }
.card-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.card-price small { font-size: 13.5px; font-weight: 400; color: var(--stone); letter-spacing: 0; }
.card-title { font-weight: 500; text-decoration: none; }
.card-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-title:hover { text-decoration: underline; text-decoration-color: var(--key); }
.specs { display: flex; flex-wrap: wrap; column-gap: 14px; color: var(--stone); font-size: 15px; }
.specs span + span { position: relative; }
.specs span + span::before { content: ''; position: absolute; left: -8px; top: .42em; width: 1px; height: .8em; background: var(--line); }
.card-place { color: var(--stone); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .fav, .card .card-zones { z-index: 2; }
.card-row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; }
.card-row .card-media { border-radius: var(--r); aspect-ratio: 4 / 3; }

/* ── «чем помочь» ── */
.intents { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.intent { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-l); background: var(--snow); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.intent:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.intent-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--key-soft); color: var(--key-deep); flex: none; }
.intent b { display: block; font-weight: 600; font-size: 17px; }
.intent span { color: var(--stone); font-size: 14.5px; line-height: 1.4; }
.intent .ic.go { margin-left: auto; color: var(--fog); }

/* ── блок для собственников: макет отчёта ── */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.1fr .9fr; } }
.ticks { display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ticks .ic { color: var(--key-deep); margin-top: 2px; }
.ticks b { font-weight: 600; }
.report-demo { background: var(--snow); border-radius: var(--r-l); box-shadow: var(--sh-2); padding: 22px; display: grid; gap: 18px; }
.report-demo header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--mist); border-radius: var(--r); padding: 12px 14px; }
.kpi b { display: block; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.kpi span { font-size: 13px; color: var(--stone); }
.feed { display: grid; gap: 10px; }
.feed li { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; font-size: 14.5px; padding-top: 10px; border-top: 1px solid var(--frost); }
.feed time { color: var(--stone); white-space: nowrap; }
.spark { width: 100%; height: 34px; }
.spark polyline { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }

/* ── ступени ── */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step { position: relative; padding: 22px 0 0; border-top: 2px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: -17px; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--stone); font-size: 15px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 0; } .step { padding-right: 20px; } }

/* ── команда ── */
.team { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.person { position: relative; display: grid; gap: 10px; text-decoration: none; }
.person-ph { aspect-ratio: 3 / 4; border-radius: var(--r-l); overflow: hidden; background: #0C1E20; }
.person-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-ph .initials { display: grid; place-items: center; width: 100%; height: 100%; font: 500 54px var(--serif); color: var(--key); }
.person b { font-weight: 600; display: block; line-height: 1.3; }
.person span { font-size: 14px; color: var(--stone); }
.sec--night .person span { color: #9DB0AC; }
.facts { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); margin-top: clamp(32px, 4vw, 56px); }
.facts li { padding: 20px 20px 4px 0; font-size: 15px; line-height: 1.45; color: #C9D6D3; }
.facts li b { display: block; color: #fff; font: 500 22px/1.2 var(--serif); margin-bottom: 4px; }

/* ── журнал ── */
.posts { display: grid; gap: 0; }
.post { display: grid; gap: 6px 24px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.post:last-child { border-bottom: 1px solid var(--line); }
.post h3 { font: 500 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--key); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.post p { color: var(--stone); max-width: 70ch; }
.post-meta { font-size: 14px; color: var(--stone); display: flex; gap: 14px; }
@media (min-width: 800px) { .post { grid-template-columns: 170px 1fr; } .post-meta { flex-direction: column; gap: 2px; padding-top: 6px; } }

/* ── заявка ── */
.cta { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr 440px; align-items: start; } }
.panel { background: var(--snow); border-radius: var(--r-l); padding: clamp(20px, 3vw, 28px); box-shadow: var(--sh-1); color: var(--ink); }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { margin-top: 3px; color: var(--key); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: #9DB0AC; font-size: 14px; }
.ok-box { display: grid; gap: 10px; justify-items: start; padding: 8px 0; }
.ok-box .ic { color: var(--ok); }

/* ── подвал ── */
.ftr { background: var(--night); color: #C9D6D3; padding: clamp(40px, 5vw, 64px) 0 28px; font-size: 15px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ftr h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.ftr li + li { margin-top: 8px; }
.ftr .logo b { color: #fff; }
.ftr .logo small { color: #9DB0AC; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #9DB0AC; }
.linklike { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }

/* ── каталог ── */
.page-head { padding-top: clamp(24px, 3vw, 40px); padding-bottom: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--stone); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span::before { content: '/'; margin-right: 8px; color: var(--fog); }
.filters { position: sticky; top: var(--hdr); z-index: 30; background: var(--mist); padding: 10px 0; border-bottom: 1px solid var(--line); }
.filters-row { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filters-row::-webkit-scrollbar { display: none; }
.fbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--snow); border: 1.5px solid var(--line); font-weight: 500; white-space: nowrap; flex: none; text-decoration: none; }
.fbtn:hover { border-color: var(--fog); }
.fbtn.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.fbtn select { border: 0; background: transparent; font-weight: 500; outline: 0; padding-right: 2px; max-width: 190px; }
.seg { display: inline-flex; padding: 3px; border-radius: 22px; background: var(--frost); flex: none; }
.seg a, .seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 19px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--stone); }
.seg .is-on { background: var(--snow); color: var(--ink); box-shadow: var(--sh-1); }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0; }
.empty-state { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 5vw, 56px); background: var(--snow); border-radius: var(--r-l); max-width: 760px; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 40px 0 8px; flex-wrap: wrap; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; text-decoration: none; font-weight: 600; background: var(--snow); border: 1.5px solid var(--line); }
.pager a:hover { border-color: var(--ink); }
.pager .is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog-map { display: grid; gap: 20px; }
.map { width: 100%; height: 60vh; min-height: 340px; border-radius: var(--r-l); overflow: hidden; background: #E6ECEA repeating-linear-gradient(0deg, transparent 0 39px, rgba(12, 36, 33, .045) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(12, 36, 33, .045) 39px 40px); z-index: 0; }
@media (min-width: 1000px) { .catalog-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .catalog-map .map { position: sticky; top: calc(var(--hdr) + 76px); height: calc(100vh - var(--hdr) - 100px); } .catalog-map .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
.pin { display: inline-block; transform: translate(-50%, -100%); padding: 5px 10px; border-radius: 16px; background: var(--ink); color: #fff; font: 600 13px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 2px 8px rgba(7, 23, 26, .3); border: 2px solid #fff; }
.pin.is-on, .pin:hover { background: var(--key); color: var(--on-key); }
.leaflet-popup-content-wrapper { border-radius: var(--r) !important; box-shadow: var(--sh-2) !important; }
.leaflet-popup-content { margin: 10px !important; font: 14px/1.4 var(--sans) !important; width: 220px !important; }
.map-card { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.map-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.map-card b { font-size: 16px; }

/* ── страница объекта ── */
.gallery { display: grid; gap: 8px; border-radius: var(--r-l); overflow: hidden; position: relative; }
.gallery button { position: relative; display: block; width: 100%; overflow: hidden; background: var(--frost); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-main { aspect-ratio: 4 / 3; }
.gallery .g-side { display: none; }
.gallery .gallery-all { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: auto; display: inline-flex; background: var(--snow); overflow: visible; }
@media (min-width: 800px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: min(56vh, 520px); }
  .gallery .g-main { grid-row: 1 / 3; aspect-ratio: auto; }
  .gallery .g-side { display: block; }
  .gallery.n4 button:nth-child(4) { grid-column: 2 / 4; }
  .gallery.n1 { grid-template-columns: 1fr; } .gallery.n2 { grid-template-columns: 2fr 1fr; } .gallery.n2 .g-side { grid-row: 1 / 3; } .gallery.n3 { grid-template-columns: 2fr 1fr; }
}
.obj { display: grid; gap: 32px; margin-top: 28px; }
@media (min-width: 1000px) { .obj { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; } .obj-side { position: sticky; top: calc(var(--hdr) + 20px); } }
.obj-title { font: 500 clamp(30px, 3.6vw, 44px)/1.08 var(--serif); letter-spacing: -0.008em; }
.obj-price { font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.keyfacts div { background: var(--snow); padding: 14px 16px; }
.keyfacts dt { font-size: 13px; color: var(--stone); }
.keyfacts dd { font-weight: 600; font-size: 18px; }
.block { padding: 28px 0; border-top: 1px solid var(--line); }
.block > .h3 { margin-bottom: 14px; }
.prose { font-size: 16.5px; line-height: 1.65; max-width: 70ch; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose h2 { font: 500 28px/1.2 var(--serif); margin: 32px 0 12px; }
.prose h3 { font: 600 18px/1.3 var(--sans); margin: 24px 0 8px; }
.prose ul { display: grid; gap: 6px; padding-left: 20px; list-style: none; }
.prose li { position: relative; }
.prose li::before { content: ''; position: absolute; left: -16px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--key); }
.clamp { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.clamp.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.dl { display: grid; gap: 0 32px; }
@media (min-width: 700px) { .dl { grid-template-columns: 1fr 1fr; } }
.dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--frost); font-size: 15.5px; }
.dl dt { color: var(--stone); }
.dl dd { text-align: right; font-weight: 500; }
.trust { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--ok-soft); color: #14553F; font-size: 14.5px; line-height: 1.45; }
.trust .ic { margin-top: 1px; }
.agent-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.agent-card img, .agent-card .initials { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; background: #0C1E20; }
.agent-card .initials { display: grid; place-items: center; font: 500 26px var(--serif); color: var(--key); }
.agent-card b { display: block; font-weight: 600; }
.agent-card a { text-decoration: none; }
.side-actions { display: grid; gap: 10px; margin-top: 18px; }
.mini-calc { display: grid; gap: 10px; }
.mini-calc output { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.range { width: 100%; accent-color: var(--ink); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 44; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 10px 12px; background: var(--snow); border-top: 1px solid var(--line); }
.sticky-cta .btn { min-height: 46px; padding: 0 8px; font-size: 15px; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }
@media (max-width: 999px) { body.has-sticky { padding-bottom: calc(128px + env(safe-area-inset-bottom)); } }
.price-hist { display: grid; gap: 6px; font-size: 15px; }
.price-hist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--frost); }
.down { color: var(--ok); } .up { color: var(--bad); }

/* просмотр фото на весь экран */
.lightbox { position: fixed; inset: 0; z-index: 80; background: #05100F; display: none; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox.is-open { display: grid; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.lb-stage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.lb-stage::-webkit-scrollbar { display: none; }
.lb-stage figure { flex: none; width: 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; padding: 0 8px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav { display: flex; justify-content: center; gap: 12px; padding: 12px; }
.lightbox .icon-btn { color: #fff; background: rgba(255, 255, 255, .1); }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .2); }

/* ── окно заявки ── */
.dialog { border: 0; padding: 0; border-radius: var(--r-l); width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--snow); color: var(--ink); box-shadow: var(--sh-3); overflow-y: auto; }
.dialog::backdrop { background: rgba(7, 23, 26, .55); }
.dialog-in { padding: 24px; display: grid; gap: 16px; }
.dialog-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.dialog-head .h3 { font: 500 28px/1.15 var(--serif); }
@media (max-width: 560px) { .dialog { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: var(--r-l) var(--r-l) 0 0; } }

/* ── cookie, подсказки ── */
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 70; max-width: 560px; margin: 0 auto 0 0; background: var(--snow); border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 20px; display: grid; gap: 14px; }
@media (min-width: 900px) { .cookie { left: 24px; bottom: 24px; } }
.cookie p { font-size: 14.5px; line-height: 1.5; color: var(--stone); }
.cookie p b { color: var(--ink); }
.cookie-btns { display: grid; gap: 8px; }
@media (min-width: 520px) { .cookie-btns { grid-template-columns: repeat(3, 1fr); } }
.cookie-btns .btn { padding: 0 10px; font-size: 15px; }
.cookie-opts { display: grid; gap: 10px; padding: 12px 0 2px; border-top: 1px solid var(--line); }
.switch { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; font-size: 14.5px; }
.switch small { grid-column: 1; color: var(--stone); font-size: 13px; line-height: 1.4; }
.switch input { grid-row: 1 / 3; grid-column: 2; width: 44px; height: 26px; appearance: none; border-radius: 13px; background: var(--line); position: relative; cursor: pointer; transition: background-color .15s; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .15s; }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:disabled { opacity: .6; cursor: default; }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 90; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 24px; font-weight: 500; font-size: 15px; box-shadow: var(--sh-2); max-width: calc(100vw - 32px); }
.nudge { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 43; width: min(340px, calc(100vw - 32px)); background: var(--snow); border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 18px; display: grid; gap: 10px; }
@media (min-width: 900px) { .nudge { bottom: 24px; right: 24px; } }
.nudge-close { position: absolute; top: 6px; right: 6px; }
.flash { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--ok-soft); color: #14553F; font-weight: 500; }
.flash.is-err { background: var(--bad-soft); color: var(--bad); }
.recent { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.recent .card { flex: none; width: 220px; }

/* ── таблицы и сравнение ── */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--frost); vertical-align: top; }
.tbl th { font-weight: 500; color: var(--stone); font-size: 14px; white-space: nowrap; }
.tbl .num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.compare th[scope=row] { position: sticky; left: 0; background: var(--snow); min-width: 150px; }
.compare td { min-width: 210px; }
.best { font-weight: 600; color: var(--ok); }

/* ── страницы с текстом ── */
.article-head { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(20px, 3vw, 36px); }
.doc-meta { font-size: 14px; color: var(--stone); margin-top: 14px; }
.take { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--stone); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; color: var(--stone); max-width: 68ch; }
.services { display: grid; gap: 0; }
.service { display: grid; gap: 8px 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.service h3 { font: 500 28px/1.15 var(--serif); }
@media (min-width: 800px) { .service { grid-template-columns: 300px 1fr auto; align-items: start; } }
.calc { display: grid; gap: 24px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 380px; align-items: start; } }
.calc-out { background: var(--night); color: #EAF1EF; border-radius: var(--r-l); padding: 26px; display: grid; gap: 14px; }
.calc-out output { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.calc-out dl { display: grid; gap: 8px; font-size: 15px; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 12px; }
.calc-out dt { color: #A9BBB7; }
.idea { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.vote { display: grid; justify-items: center; align-content: start; gap: 2px; min-width: 56px; padding: 8px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--snow); font-weight: 600; }
.vote:hover { border-color: var(--ink); }
.vote[aria-pressed=true] { background: var(--key-soft); border-color: var(--key); }

/* ── вход и кабинет ── */
.auth { min-height: calc(100dvh - var(--hdr)); display: grid; place-items: center; padding: 32px var(--pad) 64px; }
.auth-box { width: min(440px, 100%); display: grid; gap: 18px; }
.code-input { font-size: 28px; letter-spacing: .4em; text-align: center; font-weight: 600; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: var(--stone); font-size: 14px; }
.or::before, .or::after { content: ''; height: 1px; background: var(--line); }
.cab { display: grid; gap: 28px; padding: 28px 0 64px; }
@media (min-width: 900px) { .cab { grid-template-columns: 230px 1fr; gap: 48px; } }
.cab-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cab-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r); text-decoration: none; font-weight: 500; white-space: nowrap; }
.cab-nav a:hover { background: var(--frost); }
.cab-nav a[aria-current] { background: var(--ink); color: #fff; }
@media (min-width: 900px) { .cab-nav { flex-direction: column; position: sticky; top: calc(var(--hdr) + 20px); } }
.list-card { background: var(--snow); border-radius: var(--r-l); padding: 18px 20px; display: grid; gap: 8px; }
.err-page { min-height: 60vh; display: grid; place-content: center; justify-items: start; gap: 16px; padding: 64px var(--pad); max-width: 640px; margin: 0 auto; }
.err-code { font: 500 96px/1 var(--serif); color: var(--key); }

/* ── печать: «унести с собой» ── */
@media print {
  .hdr, .ftr, .tabbar, .sticky-cta, .cookie, .nudge, .fav, .gallery-all, .side-actions, .share-row, .take, .no-print, .filters, .drawer, .toast { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12pt; }
  .obj { grid-template-columns: 1fr 240px; gap: 24px; }
  .gallery { height: 300px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery .g-side { display: block; }
  a { text-decoration: none; }
  .sec { padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ── дополнения: фильтры, плитки, графики, отзывы ── */
.fbtn.is-set { border-color: var(--ink); }
.fbtn-rooms { gap: 6px; padding-right: 6px; color: var(--stone); }
.mini { position: relative; }
.mini input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mini span { display: grid; place-items: center; min-width: 34px; height: 32px; padding: 0 8px; border-radius: 16px; background: var(--mist); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.mini input:checked + span { background: var(--ink); color: #fff; }
.mini input:focus-visible + span { outline: 2px solid var(--key2); outline-offset: 2px; }
.more-filters { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; padding: 14px 2px 6px; }
@media (min-width: 560px) { .more-filters .mf-wide { grid-column: span 2; } }
.btn[data-fav][aria-pressed=true] { color: var(--bad); }
.btn[data-fav][aria-pressed=true] svg { fill: currentColor; }
.btn[data-cmp][aria-pressed=true] { background: var(--key-soft); }

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tile { position: relative; background: var(--snow); border-radius: var(--r-l); padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; align-content: start; text-decoration: none; }
.tile b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.tile span { font-size: 13.5px; color: var(--stone); line-height: 1.35; }
a.tile:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.delta { font-size: 13px; font-weight: 600; white-space: nowrap; }
.delta.is-good { color: var(--ok); } .delta.is-bad { color: var(--bad); } .delta.is-flat { color: var(--fog); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--frost); color: var(--stone); }
.pill-ok { background: var(--ok-soft); color: var(--ok); } .pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: var(--bad-soft); color: var(--bad); } .pill-info { background: var(--info-soft); color: var(--info); }
.empty { padding: 24px; text-align: center; color: var(--stone); background: var(--mist); border-radius: var(--r); font-size: 14.5px; }

.chart { --chart-h: 220px; margin: 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; font-size: 14px; color: var(--stone); }
.chart-key { display: inline-flex; align-items: center; gap: 8px; }
.chart-key i { width: 18px; height: 3px; border-radius: 2px; }
.chart-key i.is-dash { background-image: linear-gradient(90deg, transparent 0 30%, var(--snow) 30% 60%, transparent 60%); }
.chart-body { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 8px; height: var(--chart-h); }
.chart-y { position: relative; font-size: 12px; color: var(--fog); font-variant-numeric: tabular-nums; }
.chart-y span { position: absolute; right: 0; transform: translateY(50%); white-space: nowrap; }
.chart-plot { position: relative; min-width: 0; touch-action: pan-y; }
.chart-plot:focus-visible { outline: 2px solid var(--key2); outline-offset: 4px; }
.chart-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart-grid { stroke: var(--frost); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart-line.is-dash { stroke-dasharray: 5 5; }
.chart-line.is-bold { stroke-width: 3; }
.chart-cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fog); pointer-events: none; }
.chart-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--snow); pointer-events: none; }
.chart-tip { position: absolute; z-index: 5; top: 6px; pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.55; white-space: nowrap; box-shadow: var(--sh-2); }
.chart-tip div { display: flex; gap: 8px; align-items: center; }
.chart-tip i { width: 12px; height: 3px; border-radius: 2px; flex: none; }
.chart-tip span, .chart-tip .chart-tip-h { opacity: .75; }
.chart-x { position: relative; height: 24px; margin-left: 48px; font-size: 12px; color: var(--fog); }
.chart-x span { position: absolute; top: 6px; transform: translateX(-50%); white-space: nowrap; }
.chart-cols { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-around; gap: 2px; border-bottom: 1px solid var(--line); }
.chart-cols i { flex: 1; max-width: 24px; min-width: 2px; background: var(--c, #08A086); border-radius: 4px 4px 0 0; }
.chart-cols i.is-on { filter: brightness(.82); }
.chart-table { margin-top: 8px; font-size: 13px; }
.chart-table summary { cursor: pointer; color: var(--stone); width: fit-content; }
.bars { display: grid; gap: 10px; }
.bars-row { display: grid; grid-template-columns: minmax(110px, 34%) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14.5px; }
.bars-label { min-width: 0; overflow-wrap: anywhere; }
.bars-label small { display: block; color: var(--fog); font-size: 12.5px; }
.bars-track { height: 10px; background: var(--frost); border-radius: 5px; overflow: hidden; }
.bars-track i { display: block; height: 100%; background: #08A086; border-radius: 0 5px 5px 0; min-width: 2px; }
.bars-val { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; min-width: 44px; }
.bars-val small { font-weight: 400; color: var(--fog); margin-left: 6px; }

.agent-hero { display: grid; gap: clamp(24px, 4vw, 56px); padding: 16px 0 clamp(32px, 5vw, 64px); }
@media (min-width: 800px) { .agent-hero { grid-template-columns: minmax(240px, 340px) 1fr; align-items: start; } }
.review { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.stars { display: flex; gap: 2px; color: var(--line); }
.stars i.is-on { color: var(--key); }
.stars i.is-on svg { fill: currentColor; }
.stars-input { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.stars-input legend { width: 100%; padding: 0; }
.stars-input input { position: absolute; opacity: 0; }
.stars-input label { cursor: pointer; color: var(--line); }
.stars-input input:checked ~ label { color: var(--key); }
.stars-input input:checked ~ label svg { fill: currentColor; }
.stars-input input:focus-visible + label { outline: 2px solid var(--key2); border-radius: 6px; }
@media (min-width: 900px) { .steps--6 { grid-template-columns: repeat(3, 1fr); row-gap: 44px; } }
.facts--light { border-top: 1px solid var(--line); margin-top: 0; grid-template-columns: 1fr; }
.facts--light li { color: var(--stone); border-bottom: 1px solid var(--line); padding: 16px 0; }
.facts--light li b { color: var(--ink); }
.contact-list--light small { color: var(--stone); }
.contact-list--light .ic { color: var(--key-deep); }

.tiles--5 { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
@media (max-width: 560px) { .tiles--5 { grid-template-columns: 1fr 1fr; } }

/* «м²» в крупных заголовках */
.sq { font-size: .58em; line-height: 0; position: relative; top: -.66em; margin-left: .05em; letter-spacing: 0; font-variant-numeric: lining-nums; }
