:root {
  --bg: #F7F4EE;
  --surface: #FFFFFF;
  --ink: #23262E;
  --muted: #6E6A62;
  --line: #E4DED3;
  --accent: #B5452F;
  --accent2: #9C3A28;
  --soft: #EFE9DE;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
h1, h2, h3, .fact-num, .cd-num, dt, .promo-title, .sale-title, .flat-price, .card-price, .modal-title, .done-title, .footer-brand, .logo-name {
  font-family: Geologica, "Golos Text", sans-serif;
  font-weight: 500;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; margin-top: 18px; }
h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; }
.eyebrow + h2, .eyebrow + h3 { margin-top: 18px; }
p { margin: 0; }
.is-hidden { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 48px 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin-top: 18px; max-width: 52ch; text-wrap: pretty; }
.h2-narrow { max-width: 20ch; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: start; }
.two-col-middle { align-items: center; gap: 36px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border: none; border-radius: 2px;
  font: 500 14px/1 "Golos Text", sans-serif; cursor: pointer; white-space: nowrap;
}
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; height: 56px; font-size: 16px; margin-top: 20px; }
.btn-round { width: 100%; height: 60px; border-radius: 999px; font-size: 18px; margin-top: 26px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent2); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-white { background: #fff; color: var(--accent); height: 56px; padding: 0 28px; font-size: 16px; }
.btn-white:hover { background: rgba(255,255,255,0.88); color: var(--accent); }
.btn-outline-white { height: 52px; padding: 0 28px; border: 1px solid rgba(255,255,255,0.75); border-radius: 999px; color: #fff; font-size: 15px; }
.btn-outline-white:hover { background: #fff; color: var(--accent); }
.pill {
  height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px;
  background: transparent; color: var(--ink); font: 400 14px/1 "Golos Text", sans-serif; cursor: pointer;
}
.pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.logo-city { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; text-align: center; }
.main-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; margin-left: auto; }
.main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone { font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.phone:hover { color: var(--accent); }
.phone-lg { font-size: 20px; font-weight: 600; color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; background: #1b1d24; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,30,0.55) 0%, rgba(20,22,30,0.15) 40%, rgba(20,22,30,0.88) 100%); }
.hero-content { position: relative; width: 100%; padding-top: 120px; padding-bottom: 72px; }
.hero-badge { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.5); border-radius: 2px; color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; color: #fff; margin-top: 22px; max-width: 16ch; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: rgba(255,255,255,0.86); margin-top: 20px; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* Promo strip */
.promo-strip { background: var(--surface); padding-top: 28px; }
.promo { background: var(--ink); color: #fff; border-radius: 4px; padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 36px; }
.promo-title { font-size: 21px; line-height: 1.25; letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap; }
.promo-nowrap { white-space: nowrap; }
.countdown { display: flex; gap: 20px; align-items: flex-start; }
.cd-unit { text-align: center; min-width: 62px; }
.cd-num { display: block; font-size: 38px; line-height: 1; }
.cd-label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 6px; }
.cd-sep { font-family: Geologica, sans-serif; font-size: 38px; line-height: 1; color: rgba(255,255,255,0.45); }

/* Facts */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 30px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact:last-child { padding-right: 0; }
.fact-num { font-size: 30px; color: var(--ink); }
.fact-text { font-size: 15px; line-height: 1.45; color: var(--muted); margin-top: 8px; }

/* О проекте */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; border-top: 1px solid var(--line); padding-top: 28px; }
.stats > div { min-width: 0; }
.stats dt { font-size: clamp(22px, 2.6vw, 40px); line-height: 1; white-space: nowrap; }
.stats dd { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
#o-proekte .two-col { align-items: stretch; }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; height: 100%; min-height: 520px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.collage-wide { grid-column: 1 / -1; }

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-top: 36px; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 46px; padding: 0 20px; border: none; background: transparent; color: var(--muted); font: 400 15px/1 "Golos Text", sans-serif; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { margin-top: 40px; gap: 48px; }
.panel-img { width: 100%; height: 420px; object-fit: cover; border-radius: 2px; }
.poi { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.poi li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.poi-time { font-size: 13px; font-weight: 600; color: var(--accent); min-width: 74px; }
.map-block { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.map-addr { font-size: 15px; color: var(--muted); margin-top: 10px; }
.map-block iframe { width: 100%; height: 480px; margin-top: 20px; border: 1px solid var(--line); border-radius: 2px; display: block; }

/* Каталог */
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.switch { display: flex; gap: 6px; padding: 5px; background: var(--soft); border-radius: 2px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters-label { font-size: 14px; color: var(--muted); margin-right: 6px; }
.only-free { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; cursor: pointer; user-select: none; }
.only-free input { width: 18px; height: 18px; accent-color: var(--accent); }
.found { font-size: 14px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 22px; display: flex; flex-direction: column; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; }
.card-title { font-size: 16px; font-weight: 600; }
.nb { white-space: nowrap; }
.card-num { font-size: 12px; color: var(--muted); }
.plan-stub { width: 100%; height: 180px; margin-top: 16px; border: 1px solid var(--line); background-image: repeating-linear-gradient(135deg, var(--soft) 0, var(--soft) 8px, transparent 8px, transparent 16px); display: flex; align-items: center; justify-content: center; }
.plan-stub span { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--muted); background: var(--surface); padding: 4px 8px; }
.card-meta { display: flex; gap: 16px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.card-price { font-size: 24px; margin-top: 14px; }
.card .btn-outline { width: 100%; height: 48px; margin-top: 18px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; }
.card .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.chess-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 36px; align-items: start; }
.chess-scroll { overflow-x: auto; padding-bottom: 8px; }
.chess { min-width: 620px; }
.chess-row { display: grid; grid-template-columns: 52px repeat(8, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.chess-head { margin-bottom: 8px; }
.chess-head span { text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.floor-label { display: flex; align-items: center; font-size: 13px; color: var(--muted); }
.cell { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 46px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--ink); font-family: inherit; cursor: pointer; }
.cell-num { font-size: 13px; font-weight: 600; line-height: 1; }
.cell-area { font-size: 10px; opacity: 0.75; line-height: 1; margin-top: 4px; }
.cell.is-sold { background: var(--soft); color: var(--muted); border-color: transparent; }
.cell.is-sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.cell.is-dim { opacity: 0.28; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; display: inline-block; }
.sw-free { background: var(--surface); border: 1px solid var(--line); }
.sw-sel { background: var(--accent); }
.sw-sold { background: var(--soft); }

.flat-card { position: sticky; top: 92px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 26px; }
.flat-eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.flat-title { font-family: Geologica, sans-serif; font-size: 26px; margin-top: 12px; line-height: 1.1; }
.flat-card .plan-stub { height: 190px; margin-top: 18px; }
.flat-rows { margin-top: 20px; }
.flat-rows div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.flat-rows span:first-child { color: var(--muted); }
.flat-price { font-size: 30px; margin-top: 20px; }
.flat-fin { font-size: 13px; color: var(--muted); margin-top: 6px; }
.flat-card .btn { width: 100%; height: 54px; margin-top: 20px; font-size: 15px; }

/* Отделка */
.fin-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fin-row img { width: 100%; height: 140px; object-fit: cover; border-radius: 2px; }

/* Покупка */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 44px; }
.pay { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 30px; min-height: 260px; display: flex; flex-direction: column; }
.pay h3 { font-size: 24px; line-height: 1.15; }
.pay p { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 14px; }
.pay-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pay-dark p { color: rgba(255,255,255,0.85); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.tags span { border: 1px solid rgba(255,255,255,0.4); padding: 6px 12px; font-size: 13px; }
.sale-banner { margin-top: 24px; background: var(--accent); color: #fff; border-radius: 2px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.sale-title { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; }
.sale-sub { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 10px; }

/* Формы */
.office { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--muted); }
.office p + p { margin-top: 0; }
.lead-form { background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 32px; }
.lead-form label, .modal-box label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.lead-form label + input + label { margin-top: 20px; }
.lead-form input:not(.honeypot), .modal-box input:not(.honeypot) { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--ink); font: 400 16px/1 "Golos Text", sans-serif; }
.lead-form input:focus, .modal-box input:focus { outline: none; border-color: var(--accent); }
.lead-form input.is-invalid, .modal-box input.is-invalid { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.honeypot { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.interest { font-size: 13px; color: var(--muted); margin-top: 18px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.form-note a { color: var(--muted); text-decoration: underline; }
.form-note a:hover { color: var(--accent); }
.form-error { font-size: 14px; color: var(--accent); margin-top: 12px; line-height: 1.45; }
.form-done { min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.done-title { font-size: 26px; line-height: 1.15; }
.done-text { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 14px; }

/* Футер */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-brand { font-size: 18px; font-weight: 600; }
.footer-text { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; font-size: 14px; line-height: 2; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* Модалка */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(30,28,26,0.55); display: flex; align-items: center; justify-content: center; padding: 32px 24px; overflow-y: auto; }
.modal-box { position: relative; width: 100%; max-width: 520px; margin: auto; background: var(--surface); border-radius: 10px; padding: 44px 48px 40px; overflow: visible; }
.modal-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-title { font-family: Geologica, sans-serif; font-weight: 600; font-size: 30px; line-height: 1.12; text-align: center; letter-spacing: -0.01em; }
.modal-sub { font-size: 16px; line-height: 1.5; color: var(--muted); margin-top: 16px; text-align: center; }
.modal-subject { font-size: 14px; color: var(--accent); margin-top: 14px; text-align: center; }
.modal-box hr { border: none; height: 1px; background: var(--line); margin: 28px 0; }
.modal-box label { font-size: 15px; color: var(--ink); }
.modal-box label + input + label { margin-top: 22px; }
.modal-box input { border-radius: 6px; background: var(--soft); }
.modal-done { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.modal-done .done-title { font-size: 28px; font-weight: 600; }
.modal-done .done-text { max-width: 34ch; }
.modal-done .btn-round { width: auto; height: 54px; padding: 0 34px; font-size: 16px; }

/* Политика и внутренние страницы */
.page { padding: 72px 0 0; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.page h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; margin-top: 20px; }
.doc { max-width: 860px; }
.doc h2 { font-size: 22px; line-height: 1.25; margin-top: 40px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 22px; }
.doc li { margin-top: 8px; }

/* Бургер (только мобильные) */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); padding: 0; cursor: pointer; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .2s, opacity .2s; }
.burger.is-open i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-open i:nth-child(2) { opacity: 0; }
.burger.is-open i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }


/* === Планшетная раскладка (база 900px, масштабируется) === */
  html[data-l="t"] .promo { padding: 24px 26px; gap: 22px; }
  html[data-l="t"] .promo-title { font-size: 16px; white-space: normal; text-wrap: balance; max-width: 24ch; }
  html[data-l="t"] .countdown { gap: 14px; }
  html[data-l="t"] .cd-unit { min-width: 52px; }
  html[data-l="t"] .cd-num, html[data-l="t"] .cd-sep { font-size: 32px; }
  html[data-l="t"] .btn-outline-white { height: 46px; padding: 0 22px; font-size: 14px; }
  html[data-l="t"] .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-l="t"] .fact:nth-child(odd) { border-left: none; }
  html[data-l="t"] .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  html[data-l="t"] .header-inner { gap: 18px; }
  html[data-l="t"] .phone { font-size: 15px; }
  html[data-l="t"] .burger { display: block; }
  html[data-l="t"] .header-inner { flex-wrap: nowrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
  html[data-l="t"] .burger { border-color: transparent; margin-right: -13px; justify-content: flex-end; }
  html[data-l="t"] .header-cta { margin-left: auto; gap: 10px; }
  html[data-l="t"] .header-cta .btn { display: none; }
  html[data-l="t"] .header-cta .phone { display: inline-flex; }
  html[data-l="t"] .section { padding: 64px 0; }
  html[data-l="t"] .wrap { padding-left: 36px; padding-right: 36px; }
  html[data-l="t"] .two-col { gap: 36px; }
  html[data-l="t"] .fact { padding: 24px 20px; }
  html[data-l="t"] .fact:nth-child(odd) { padding-left: 0; }
  html[data-l="t"] .fact:nth-child(even) { padding-right: 0; }
  html[data-l="t"] .flat-card { position: static; max-width: none; justify-self: stretch; }
  html[data-l="t"] .chess-wrap { grid-template-columns: 1fr; gap: 24px; }
  html[data-l="t"] .collage { min-height: 420px; }
  html[data-l="t"] .panel-img { height: 300px; }
  html[data-l="t"] .tab-panel { margin-top: 28px; gap: 32px; }
  html[data-l="t"] .map-block iframe { height: 360px; }
  html[data-l="t"] .hero { min-height: 520px; }
  html[data-l="t"] .hero-content { padding-top: 96px; padding-bottom: 56px; }
  html[data-l="t"] .sale-banner { padding: 28px; }
  html[data-l="t"] .pay { min-height: auto; }
  html[data-l="t"] .modal { padding: 20px 16px; }
  html[data-l="t"] .modal-box { padding: 40px 22px 28px; }
  html[data-l="t"] .modal-close { top: 8px; right: 8px; }
  html[data-l="t"] .modal-title { font-size: 24px; }
  html[data-l="t"] .modal-sub { font-size: 15px; margin-top: 12px; }
  html[data-l="t"] .modal-box hr { margin: 20px 0; }
  html[data-l="t"] .sale-head, html[data-l="t"] .sale-body { padding: 24px 20px; }

/* === Мобильная раскладка (живая, от 560px и ниже) === */
  html[data-l="p"] .promo { grid-template-columns: 1fr; gap: 20px; }
  html[data-l="p"] .promo-title { grid-column: 1; max-width: none; }
  html[data-l="p"] .countdown { grid-column: 1; }
  html[data-l="p"] .promo .btn-outline-white { grid-column: 1; width: 100%; }
  html[data-l="p"] .facts-grid { grid-template-columns: 1fr; margin: 0; }
  html[data-l="p"] .fact { border-left: none; padding: 22px 0; border-top: 1px solid var(--line); }
  html[data-l="p"] .fact:first-child { border-top: none; }
  html[data-l="p"] .header-inner { gap: 18px; }
  html[data-l="p"] .phone { font-size: 15px; }
  html[data-l="p"] .burger { display: block; }
  html[data-l="p"] .header-inner { flex-wrap: nowrap; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
  html[data-l="p"] .burger { border-color: transparent; margin-right: -13px; justify-content: flex-end; }
  html[data-l="p"] .header-cta { margin-left: auto; gap: 10px; }
  html[data-l="p"] .header-cta .btn { display: none; }
  html[data-l="p"] .header-cta .phone { display: inline-flex; }
  html[data-l="p"] .section { padding: 64px 0; }
  html[data-l="p"] .wrap { padding-left: 20px; padding-right: 20px; }
  html[data-l="p"] .two-col { gap: 36px; }
  html[data-l="p"] .fact { padding: 24px 18px; }
  html[data-l="p"] .flat-card { position: static; max-width: none; justify-self: stretch; }
  html[data-l="p"] .collage { min-height: 0; grid-template-rows: 200px 130px; }
  html[data-l="p"] .panel-img { height: 300px; }
  html[data-l="p"] .tab-panel { margin-top: 28px; gap: 32px; }
  html[data-l="p"] .map-block iframe { height: 360px; }
  html[data-l="p"] .sale-banner { padding: 28px; }
  html[data-l="p"] .pay { min-height: auto; }
  html[data-l="p"] .modal { padding: 20px 16px; }
  html[data-l="p"] .modal-box { padding: 40px 22px 28px; }
  html[data-l="p"] .modal-close { top: 8px; right: 8px; }
  html[data-l="p"] .modal-title { font-size: 24px; }
  html[data-l="p"] .modal-sub { font-size: 15px; margin-top: 12px; }
  html[data-l="p"] .modal-box hr { margin: 20px 0; }
  html[data-l="p"] .sale-head, html[data-l="p"] .sale-body { padding: 24px 20px; }
  html[data-l="p"] .hero { min-height: 480px; }
  html[data-l="p"] .hero-content { padding-top: 88px; padding-bottom: 48px; }
  html[data-l="p"] .hero-badge { font-size: 11px; padding: 7px 11px; }
  html[data-l="p"] .hero h1 { max-width: none; }
  html[data-l="p"] .hero-sub { max-width: none; }
  html[data-l="p"] .hero-actions { gap: 10px; }
  html[data-l="p"] .hero-actions .btn { flex: 1 1 100%; }
  html[data-l="p"] .promo { padding: 24px 22px; grid-template-columns: 1fr; gap: 20px; }
  html[data-l="p"] .promo-title { max-width: none; font-size: 21px; text-wrap: balance; }
  html[data-l="p"] .promo .btn-outline-white { grid-column: 1; width: 100%; }
  html[data-l="p"] .countdown { gap: 8px; width: 100%; justify-content: space-between; }
  html[data-l="p"] .cd-unit { min-width: 0; flex: 1 1 0; }
  html[data-l="p"] .cd-sep { align-self: flex-start; }
  html[data-l="p"] .cd-num { font-size: 30px; }
  html[data-l="p"] .btn-outline-white { width: 100%; }
  html[data-l="p"] .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  html[data-l="p"] .stats dd { font-size: 13px; }
  html[data-l="p"] .collage { gap: 8px; grid-template-rows: 190px 130px; }
  html[data-l="p"] .tabs { gap: 0; }
  html[data-l="p"] .tab { padding: 0 14px; font-size: 14px; }
  html[data-l="p"] .panel-img { height: 220px; }
  html[data-l="p"] .poi-time { min-width: 66px; }
  html[data-l="p"] .map-block { margin-top: 40px; }
  html[data-l="p"] .map-block iframe { height: 300px; }
  html[data-l="p"] .cat-head { align-items: flex-start; }
  html[data-l="p"] .switch { width: 100%; }
  html[data-l="p"] .switch .pill { flex: 1; }
  html[data-l="p"] .filters { gap: 8px; }
  html[data-l="p"] .filters-label { width: 100%; margin: 0; }
  html[data-l="p"] .only-free { margin-left: 0; width: 100%; order: 5; }
  html[data-l="p"] .found { order: 6; }
  html[data-l="p"] .cards { grid-template-columns: 1fr; gap: 14px; }
  html[data-l="p"] .chess-wrap { grid-template-columns: 1fr; gap: 24px; }
  html[data-l="p"] .chess { min-width: 520px; }
  html[data-l="p"] .fin-row { grid-template-columns: 1fr 1fr; }
  html[data-l="p"] .pay { padding: 24px; }
  html[data-l="p"] .pay h3 { font-size: 21px; }
  html[data-l="p"] .sale-banner { padding: 24px; gap: 20px; }
  html[data-l="p"] .btn-white { width: 100%; }
  html[data-l="p"] .lead-form { padding: 22px; }
  html[data-l="p"] .office { margin-top: 24px; }
  html[data-l="p"] .footer-grid { gap: 24px; }
  html[data-l="p"] .doc h2 { font-size: 20px; margin-top: 32px; }
  html[data-l="p"] .page h1 { margin-top: 14px; }
  html[data-l="p"] .terms div { padding: 18px; }
  html[data-l="p"] .terms b { font-size: 21px; }
  html[data-l="p"] .facts-grid { grid-template-columns: 1fr; }
  html[data-l="p"] .logo-name { font-size: 16px; }
  html[data-l="p"] .logo-city { font-size: 10px; letter-spacing: 0.14em; }
  html[data-l="p"] .phone { font-size: 14px; }
  html[data-l="p"] .header-inner { gap: 10px; }
  html[data-l="p"] .stats { grid-template-columns: 1fr; gap: 0; margin-top: 32px; padding-top: 0; border-top: none; }
  html[data-l="p"] .stats > div { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
  html[data-l="p"] .stats dt { font-size: 26px; min-width: 84px; }
  html[data-l="p"] .stats dd { font-size: 14px; margin: 0; }

@media (max-width: 380px) {
  .logo-name { font-size: 15px; }
  .phone { font-size: 13px; }
  .fin-row { grid-template-columns: 1fr; }
  .fin-row img { height: 180px; }
}

/* Шторка меню (планшет/телефон) */
.drawer-foot { display: none; }
html[data-l="t"] .burger, html[data-l="p"] .burger { position: relative; z-index: 95; }
html[data-l="t"] .main-nav, html[data-l="p"] .main-nav {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; flex-wrap: nowrap;
  align-items: center; justify-content: center; gap: 0; margin: 0; padding: 96px 24px 48px;
  background: var(--surface); box-shadow: none; border: none;
  transform: translateX(100%); visibility: hidden; transition: transform .32s cubic-bezier(.4,0,.2,1), visibility .32s;
  overflow-y: auto;
}
html[data-l="t"] .main-nav.is-open, html[data-l="p"] .main-nav.is-open { transform: none; visibility: visible; }
html[data-l="t"] .main-nav a, html[data-l="p"] .main-nav a {
  width: 100%; max-width: 320px; padding: 16px 0; border: none;
  font-size: 20px; text-align: center; color: var(--ink);
}
html[data-l="t"] .main-nav a:hover, html[data-l="p"] .main-nav a:hover { color: var(--accent); }
html[data-l="t"] .drawer-foot, html[data-l="p"] .drawer-foot {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: 100%; max-width: 320px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line);
}
html[data-l="t"] .drawer-foot .btn, html[data-l="p"] .drawer-foot .btn { width: 100%; height: 54px; border-radius: 999px; font-size: 16px; }
html[data-l="t"] .main-nav:not(.is-open), html[data-l="p"] .main-nav:not(.is-open) { display: flex; }

.drawer-head { display: none; }
html[data-l="t"] .drawer-head, html[data-l="p"] .drawer-head {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line);
  width: 100%; max-width: 320px;
}
.drawer-name { font-family: Geologica, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.drawer-city { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
html[data-l="t"] .main-nav, html[data-l="p"] .main-nav { justify-content: flex-start; padding-top: 84px; }
html[data-l="t"] .drawer-foot, html[data-l="p"] .drawer-foot { margin-top: 32px; padding-top: 28px; }

html[data-l="t"] .burger i, html[data-l="p"] .burger i { margin-right: 0; margin-left: auto; }

/* акцентная цифра: ипотека */
.facts-grid .fact:nth-child(2) .fact-num { color: var(--accent); }
