/* ============ Арктика — стили сайта ============ */
:root {
  --snow: #f6f3ee;
  --paper: #ffffff;
  --ink: #1c2023;
  --ink-2: #444c51;
  --muted: #7b8387;
  --wood: #9b7a4e;
  --wood-d: #7a5e37;
  --wood-l: #ece3d5;
  --line: rgba(28, 32, 35, .12);
  --tg: #229ed9;
  --max: #2b2bd9;
  --radius: 6px;
  --max-w: 1240px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font: 700 20px/1.3 var(--sans); letter-spacing: -.005em; }
p { margin: 0; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #eae6df; }
.eyebrow {
  font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--wood); margin-bottom: 18px; display: block;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 620px; }
.section--ink .lead { color: #b6b2aa; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.head .lead { margin-top: 18px; }
.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius); border: 1px solid transparent;
  font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--wood { background: var(--wood); color: #fff; }
.btn--wood:hover { background: var(--wood-d); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--line { border-color: rgba(28,32,35,.28); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #1a8bc0; }
.btn--max { background: var(--max); color: #fff; }
.btn--max:hover { background: #1f1fb0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.is-missing { opacity: .55; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 40px; height: auto; }
.brand b { display: block; font: 700 18px/1 "Montserrat", var(--sans); letter-spacing: .08em; }
.brand small { display: block; font: 500 11px/1.2 var(--sans); color: var(--muted); margin-top: 4px; letter-spacing: .02em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font: 600 14px/1 var(--sans); color: var(--ink-2); text-decoration: none; padding: 8px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-color: var(--wood); }
.header__contacts { display: flex; align-items: center; gap: 8px; }
.header__phone { font: 800 16px/1 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; margin-right: 6px; }
.chip {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; flex: none; transition: transform .2s;
}
.chip:hover { transform: translateY(-2px); }
.chip .icon { width: 19px; height: 19px; }
.chip--tg { background: var(--tg); }
.chip--max { background: var(--max); }
.chip--call { background: var(--ink); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,19,21,.82) 0%, rgba(16,19,21,.55) 45%, rgba(16,19,21,.1) 100%),
              linear-gradient(0deg, rgba(16,19,21,.6) 0%, rgba(16,19,21,0) 45%);
}
.hero__in { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 82px); max-width: 900px; }
.hero h1 em { font-style: italic; color: #e2cba6; }
.hero .lead { color: rgba(255,255,255,.86); margin: 26px 0 36px; max-width: 560px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero__facts div { background: rgba(16,19,21,.45); padding: 20px 24px; }
.hero__facts b { display: block; font: 700 clamp(20px, 2.2vw, 28px)/1.1 var(--sans); }
.hero__facts span { font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- Карточки моделей ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .3s, transform .3s; }
.model:hover { box-shadow: 0 24px 48px -24px rgba(28,32,35,.35); transform: translateY(-4px); }
.model__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--wood-l); }
.model__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.model:hover .model__img img { transform: scale(1.04); }
.model__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--ink); font: 700 12px/1 var(--sans); padding: 8px 12px; border-radius: 99px; }
.model__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.model__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.model__name { font: 500 30px/1 var(--serif); }
.model__price { font: 800 20px/1 var(--sans); color: var(--wood-d); white-space: nowrap; }
.model__desc { color: var(--ink-2); font-size: 15px; }
@media (min-width: 761px) { .model__desc { min-height: 4.8em; } }
.specs-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.specs-inline span { font: 600 13px/1 var(--sans); padding: 9px 12px; border-radius: 99px; background: var(--snow); color: var(--ink-2); }
.model__more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; font: 700 15px/1 var(--sans); color: var(--ink); }
.model__more .icon { transition: transform .3s; }
.model:hover .model__more .icon { transform: translateX(4px); }

/* ---------- В цене ---------- */
.included { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); margin-top: 24px; }
.included div { padding: 22px 22px 24px; border-right: 1px solid var(--line); }
.included div:last-child { border-right: 0; }
.included b { display: block; font-weight: 700; margin-top: 12px; }
.included span { color: var(--muted); font-size: 14px; }
.included .icon { color: var(--wood); width: 26px; height: 26px; }

/* ---------- Производство ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media { border-radius: var(--radius); overflow: hidden; position: relative; background: #2a2f33; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media__cap { position: absolute; left: 16px; bottom: 16px; background: rgba(16,19,21,.72); color: #fff; font: 600 13px/1 var(--sans); padding: 10px 14px; border-radius: 99px; }
.prod-media { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.prod-media .media { aspect-ratio: 3 / 4; }
.prod-media .media:last-child { aspect-ratio: auto; }
.prod-media .media:last-child img { position: absolute; inset: 0; }
.points { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.section--ink .points { border-color: rgba(255,255,255,.14); }
.point { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.section--ink .point { border-color: rgba(255,255,255,.14); }
.point__n { font: 500 26px/1 var(--serif); color: var(--wood); }
.point b { display: block; margin-bottom: 4px; }
.point p { color: var(--ink-2); font-size: 15px; }
.section--ink .point p { color: #a9a59d; }

/* ---------- Технологии / климат ---------- */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.tech div { background: var(--ink); padding: 32px 30px; }
.tech .icon { width: 30px; height: 30px; color: #d6bb8f; margin-bottom: 22px; }
.tech b { display: block; font: 700 18px/1.3 var(--sans); color: #fff; margin-bottom: 8px; }
.tech p { color: #a9a59d; font-size: 15px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { border-top: 2px solid var(--line); padding-top: 22px; }
.step:first-child { border-color: var(--wood); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 400 40px/1 var(--serif); color: #c9b89c; margin-bottom: 16px; }
.step b { display: block; font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* ---------- Гарантия, оплата, ипотека ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trio--2 { grid-template-columns: 1fr 1fr; }
/* элементы сетки не распирают страницу на узких экранах */
.house-layout > *, .trio > *, .others > *, .kompl > *, .models > *, .split > *, .about > *, .visit > *, .house-head > * { min-width: 0; }
body { overflow-wrap: break-word; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.panel h3 { font: 500 28px/1.1 var(--serif); }
.rows { display: grid; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows div:last-child { border-bottom: 0; }
.rows span { color: var(--ink-2); }
.rows b { color: var(--wood-d); white-space: nowrap; }
.pay { display: grid; gap: 12px; }
.pay div { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; background: var(--snow); border-radius: var(--radius); padding: 16px 18px; }
.pay b { font: 800 26px/1 var(--sans); color: var(--wood-d); }
.pay span { font-size: 14px; color: var(--ink-2); }
.panel .note { font-size: 13px; color: var(--muted); margin-top: auto; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--wood); border-bottom: 2px solid var(--wood); transform: rotate(-45deg); }

/* ---------- О компании ---------- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about .media { aspect-ratio: 4 / 3; }
.quote { font: italic 500 clamp(22px, 2.4vw, 30px)/1.35 var(--serif); color: var(--wood-d); border-left: 2px solid var(--wood); padding-left: 22px; margin-top: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stats div { border-top: 1px solid var(--line); padding-top: 14px; }
.stats b { display: block; font: 700 26px/1.1 var(--sans); }
.stats span { font-size: 14px; color: var(--muted); }

/* ---------- Показ / контакты ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.visit__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.c-label { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.c-phone { display: block; font: 800 clamp(24px, 2.6vw, 30px)/1.25 var(--sans); color: var(--ink); text-decoration: none; }
.c-phone:hover { color: var(--wood-d); }
.c-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channel {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); text-decoration: none; font: 700 15px/1.2 var(--sans); color: var(--ink); transition: border-color .2s, background .2s;
}
.channel:hover { border-color: var(--ink); background: var(--snow); }
.channel small { display: block; font: 500 12px/1.2 var(--sans); color: var(--muted); margin-top: 3px; }
.channel__ic { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.channel__ic .icon { width: 18px; height: 18px; }
.ic-tg { background: var(--tg); } .ic-max { background: var(--max); } .ic-vk { background: #0077ff; } .ic-avito { background: #fff; border: 1px solid var(--line); } .ic-mail { background: var(--wood); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--wood-l); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.addr { font-weight: 700; font-size: 18px; line-height: 1.45; }
.coords { font: 600 14px ui-monospace, Menlo, Consolas, monospace; color: var(--wood-d); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 700 18px/1.4 var(--sans); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 30px/1 var(--sans); color: var(--wood); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 760px; }

/* ---------- CTA-полоса ---------- */
.cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); max-width: 620px; }
.cta p { color: #b6b2aa; margin-top: 12px; max-width: 560px; }

/* ---------- Подвал ---------- */
.footer { background: #141719; color: #9da3a6; padding: 64px 0 120px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #8a9195; }
.footer h4 { color: #fff; font: 700 14px/1 var(--sans); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #6f777b; }

/* ---------- Нижняя панель (телефон) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius); color: #fff; font: 700 15px/1 var(--sans); text-decoration: none; }
.dock .d-call { background: var(--ink); } .dock .d-max { background: var(--max); } .dock .d-tg { background: var(--tg); }

/* ============ Страница дома ============ */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.house-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding: 20px 0 32px; }
.house-head h1 { font-size: clamp(48px, 7vw, 88px); }
.house-head .lead { margin-top: 14px; }
.house-price { text-align: right; }
.house-price b { display: block; font: 800 clamp(30px, 3.6vw, 44px)/1 var(--sans); color: var(--wood-d); }
.house-price span { display: block; font-size: 14px; color: var(--muted); margin-top: 10px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(150px, 17vw, 240px); gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--wood-l); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery--one { grid-template-columns: 1fr; grid-auto-rows: clamp(260px, 42vw, 560px); }
.gallery--one button:first-child { grid-row: auto; }
.gallery__all { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--ink); font: 700 13px/1 var(--sans); padding: 10px 14px; border-radius: 99px; }
.keyspecs { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-top: 24px; overflow: hidden; }
.keyspecs div { padding: 20px 22px; border-right: 1px solid var(--line); }
.keyspecs div:last-child { border-right: 0; }
.keyspecs b { display: block; font: 800 24px/1.1 var(--sans); }
.keyspecs span { font-size: 13px; color: var(--muted); }
.house-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.aside h3 { font: 500 26px/1.15 var(--serif); }
.aside p { color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }
.aside .btn { width: 100%; }
.aside .c-sub { text-align: center; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table span { color: var(--muted); }
.spec-table b { font-weight: 600; text-align: right; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plans button { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: zoom-in; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.plans img { width: 100%; height: 420px; object-fit: contain; }
@media (max-width: 760px) { .plans img { height: 360px; } }
.plans--one img { max-height: none; }
.plans span { font: 700 14px/1 var(--sans); text-align: left; }
.plans--one { grid-template-columns: 1fr; }
.plan-empty { border: 1px dashed rgba(28,32,35,.25); border-radius: var(--radius); padding: 40px 28px; text-align: center; color: var(--ink-2); display: grid; gap: 16px; justify-items: center; }
.kompl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.kompl h3 { font-size: 17px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--wood); }
.kompl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.kompl li { font-size: 15px; color: var(--ink-2); padding-left: 16px; position: relative; }
.kompl li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--wood); }
.subhead { font: 500 clamp(28px, 3.2vw, 40px)/1.1 var(--serif); margin-bottom: 28px; }
.block + .block { margin-top: clamp(56px, 7vw, 88px); }
.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Сравнение моделей ---------- */
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 500 24px/1.1 var(--serif); padding-top: 22px; padding-bottom: 18px; }
.compare thead a { text-decoration: none; }
.compare thead a:hover { color: var(--wood-d); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.compare tbody tr:first-child td { font-weight: 800; color: var(--wood-d); font-size: 17px; }
.compare tfoot th, .compare tfoot td { border-bottom: 0; }
.cmp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.cmp-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.cmp-link:hover .icon { transform: translateX(3px); }

/* ---------- Видеопоказ ---------- */
.videoshow { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.videoshow > * { min-width: 0; }
.videoshow__text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.videoshow__text .eyebrow { color: #e2cba6; }
.videoshow__text h2 { font-size: clamp(28px, 3.4vw, 42px); }
.videoshow__text .lead { color: #b6b2aa; margin: 18px 0 28px; }
.videoshow__img { position: relative; min-height: 320px; }
.videoshow__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.videoshow__badge { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); color: var(--ink); font: 700 14px/1 var(--sans); padding: 12px 16px; border-radius: 99px; }
.videoshow__badge .icon { color: var(--max); }

/* ---------- Лайтбокс ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12,14,15,.95); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font: 300 28px/1 var(--sans); cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.24); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============ Адаптив ============ */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--snow); border-bottom: 1px solid var(--line); padding: 8px 32px 20px; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-open .nav { display: flex; }
  .burger { display: block; margin-left: 0; }
  .header__contacts { margin-left: auto; }
  .models { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: repeat(3, 1fr); }
  .included div:nth-child(3) { border-right: 0; }
  .included div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .tech, .trio { grid-template-columns: 1fr 1fr; }
  .trio--2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .house-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .keyspecs { grid-template-columns: repeat(3, 1fr); }
  .keyspecs div:nth-child(3) { border-right: 0; }
  .keyspecs div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header__in { height: 64px; gap: 12px; }
  .nav { top: 64px; padding: 4px 16px 16px; }
  .brand img { width: 34px; }
  .brand b { font-size: 16px; }
  .brand small { display: none; }
  .header__phone, .header__contacts .chip--tg, .header__contacts .chip--max { display: none; }
  .hero { min-height: auto; display: block; }
  .hero__img { position: relative; height: auto; aspect-ratio: 4 / 3; object-position: 40% 70%; }
  .hero::after { display: none; }
  .hero__in { padding-top: 28px; padding-bottom: 32px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { margin: 18px 0 26px; }
  .hero .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .hero__facts div { padding: 14px 16px; }
  .models, .tech, .trio, .trio--2, .split, .about, .visit, .others, .kompl, .plans { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr 1fr; }
  .included div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .included div:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .included div:last-child { grid-column: span 2; border-bottom: 0; border-right: 0 !important; }
  /* «Уже в цене» на телефоне — списком: иконка слева, текст справа */
  .included { grid-template-columns: 1fr !important; }
  .included div { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; grid-column: auto !important; }
  .included div:nth-child(n) { border-right: 0 !important; }
  .included div:last-child { border-bottom: 0 !important; }
  .included .icon { grid-row: span 2; width: 26px; height: 26px; }
  .included b { margin-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .prod-media .media { aspect-ratio: 3 / 4; }
.prod-media .media:last-child { aspect-ratio: auto; }
.prod-media .media:last-child img { position: absolute; inset: 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats b { font-size: 20px; }
  .channels { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .house-head { grid-template-columns: 1fr; gap: 16px; }
  .house-price { text-align: left; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 8px; }
  .gallery button:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery button:nth-child(n+6) { display: none; }
  .gallery--one { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery--one button:first-child { grid-column: auto; grid-row: auto; }
  .keyspecs { grid-template-columns: 1fr 1fr; }
  .keyspecs div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .keyspecs div:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .keyspecs div:last-child { grid-column: span 2; border-bottom: 0; border-right: 0 !important; }
  .spec-table { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 110px; }
  .dock { display: grid; }
  .cta .btn { flex: 1 1 100%; }
  .videoshow { grid-template-columns: 1fr; }
  .videoshow__img { order: -1; min-height: 220px; }
  .videoshow .btn { flex: 1 1 100%; }
  .compare table { min-width: 0; table-layout: fixed; font-size: 13px; }
  .compare th, .compare td { padding: 10px 6px; vertical-align: top; }
  .compare th:first-child, .compare td:first-child { padding-left: 12px; }
  .compare tbody th { width: 32%; font-size: 12px; }
  .compare thead th { font-size: 17px; padding-top: 16px; padding-bottom: 12px; }
  .compare tbody tr:first-child td { font-size: 14px; }
  .cmp-link { font-size: 12px; }
  .cmp-link .icon { display: none; }
  .lb { padding: 64px 8px; }
  .lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; }
}
