/* =========================================================
   Серия Воздух: лендинг
   Структура: токены → база → общие компоненты → секции по порядку страницы → адаптив
   Брейкпоинты: десктоп от 1200px, планшет 768–1199px, мобильный до 767px
   ========================================================= */

/* ---------- Токены ---------- */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --card: #efedea;
  --card-soft: #f9f7f5;
  --ink: #1c1a18;
  --dark: #221f1d;
  --muted: #6b655f;
  --muted-2: #534d47;
  --muted-3: #948a81;
  --line: #e5e2dd;
  --line-2: #cdc7c0;
  --accent: #b4541b;
  --accent-hover: #9a4716;
  --on-dark: #fefefe;
  --on-dark-muted: #aaa39c;

  --font: "Onest", Arial, sans-serif;
  --font-logo: "Manrope", "Onest", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: 20px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --shadow-soft: 0 8px 24px rgba(28, 25, 22, .12);
  --shadow-card: 0 18px 40px rgba(28, 25, 22, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.2 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.is-locked { overflow: hidden; }

.i { width: 1em; height: 1em; flex: none; fill: currentColor; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: 100px; scroll-margin-top: 90px; }
.panel { background: var(--surface); border-radius: var(--r-xl); padding: 100px 40px; }

.h1 { font-size: 44px; line-height: 1.2; font-weight: 400; }
.h2 { font-size: 44px; line-height: 1.2; font-weight: 400; letter-spacing: -.005em; }
.h3 { font-size: 20px; line-height: 1.2; font-weight: 500; }
.lead { margin-top: 20px; max-width: 590px; font-size: 18px; line-height: 1.22; color: var(--muted); }
.text { font-size: 16px; line-height: 1.2; color: var(--muted); }

/* ---------- Кнопки ---------- */
/* Пилюля с круглой стрелкой справа: основной паттерн сайта */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 6px 6px 6px 20px;
  border-radius: var(--r-pill);
  font-size: 16px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  background: var(--surface); color: var(--ink);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.btn__arrow {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  transition: transform .35s var(--ease), background-color .25s ease;
}
.btn__arrow .i { width: 10px; height: 10px; }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 52px; font-size: 18px; padding-left: 20px; }
.btn--outline { border: 1px solid var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent .btn__arrow { background: #fff; color: var(--accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--accent-arrow .btn__arrow { background: var(--accent); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; text-align: left; font-size: 16px; font-weight: 500; }
.link-arrow .i { width: 14px; height: 11px; transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px;
  border-radius: var(--r-pill); background: var(--card);
  font-size: 15px; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}
.chip:hover { background: #e4e1dc; }
.chip.is-active { background: var(--accent); color: #fff; }

.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .92);
  font-size: 13px; color: var(--ink);
}

.icon-circle {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); color: var(--ink);
}

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Шапка
   ========================================================= */
.header {
  position: absolute; z-index: 50; top: 24px; left: 50%; transform: translateX(-50%);
  width: min(1100px, calc(100% - 2 * var(--gutter) - 32px));
  display: flex; align-items: center; gap: 24px;
  height: 70px; padding: 0 14px 0 20px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 40px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.header.is-fixed {
  position: fixed; top: 10px;
  width: min(1120px, calc(100% - 16px));
  height: 66px;
  background: rgba(28, 26, 24, .86);
  border-color: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  animation: headerIn .5s var(--ease) both;
}
@keyframes headerIn { from { opacity: 0; transform: translate(-50%, -110%); } to { opacity: 1; transform: translate(-50%, 0); } }

.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--font-logo); white-space: nowrap; }
.logo__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #ff9200; background: radial-gradient(circle, #8a5a2b 0 45%, transparent 50%); flex: none; }

.nav { display: flex; gap: 16px; margin-left: auto; margin-right: 24px; }
.nav a { white-space: nowrap; font-size: 15px; line-height: 1.5; opacity: .92; transition: opacity .2s ease; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }

.header__phone { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.header__phone a { font-size: 16px; font-weight: 600; }
.header__phone span { font-size: 12px; opacity: .85; }
.header__cta {
  height: 40px; padding: 0 20px; border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background-color .25s ease;
}
.header__cta:hover { background: rgba(255, 255, 255, .26); }
.header__icon { display: none; width: 44px; height: 44px; place-items: center; color: #fff; }
.header__icon .i { width: 20px; height: 20px; }
.burger { position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }

/* Мобильное меню */
.menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  padding: 96px 24px calc(28px + env(safe-area-inset-bottom));
  background: var(--ink); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.menu__close { position: absolute; top: 22px; right: 20px; width: 44px; height: 44px; }
.menu__close::before, .menu__close::after { content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 1.5px; background: #fff; transform: rotate(45deg); }
.menu__close::after { transform: rotate(-45deg); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: 26px; font-weight: 300; line-height: 1.2; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s var(--ease);
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.menu__tel { font-size: 16px; font-weight: 500; }
.menu__hrs { font-size: 12px; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.menu__cta { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 30px; background: var(--accent); font-size: 14px; font-weight: 500; }

/* =========================================================
   01 · Первый экран
   ========================================================= */
.hero { padding-top: 12px; padding-bottom: 46px; }
.hero__frame {
  --h: clamp(700px, calc(100svh - 24px), 860px);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: var(--h); border-radius: var(--r-xl);
  background: #1b1816; color: #fff;
}

/* Сцена с фото: JS растягивает её «как cover» с запасом под параллакс */
.hero__stage {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: 104%; height: 104%;
  transform: translate3d(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)), 0);
  will-change: transform;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: filter 1.6s var(--ease);
  animation: heroZoom 2.4s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
.hero__frame[data-mode="off"] .hero__img { filter: sepia(.3) saturate(.8) brightness(.86) contrast(.94); }
.hero__frame[data-mode="on"] .hero__img { filter: saturate(1.05) brightness(1.04); }

/* Без системы: тёплая духота. С системой: прохладный свет от окон */
.hero__haze, .hero__fresh { position: absolute; inset: 0; pointer-events: none; transition: opacity 1.6s var(--ease); }
.hero__haze {
  background:
    radial-gradient(ellipse 45% 40% at 38% 62%, rgba(232, 150, 70, .30), transparent 70%),
    linear-gradient(rgba(110, 70, 35, .22), rgba(110, 70, 35, .22));
}
.hero__fresh {
  opacity: 0;
  background:
    radial-gradient(ellipse 40% 55% at 76% 38%, rgba(200, 228, 255, .26), transparent 70%),
    radial-gradient(ellipse 30% 40% at 58% 30%, rgba(200, 228, 255, .14), transparent 70%);
  mix-blend-mode: screen;
}
.hero__frame[data-mode="on"] .hero__haze { opacity: 0; }
.hero__frame[data-mode="on"] .hero__fresh { opacity: 1; }
.hero__air { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, .78) 0%, rgba(18, 16, 14, .42) 42%, rgba(18, 16, 14, 0) 70%),
    linear-gradient(0deg, rgba(18, 16, 14, .6) 0%, rgba(18, 16, 14, 0) 38%);
}

/* Точки на фото */
.hs { position: absolute; left: var(--x); top: var(--y); z-index: 2; animation: hsIn .6s var(--ease) both; animation-delay: calc(1.7s + var(--d) * .15s); }
@keyframes hsIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.hs__btn {
  position: relative; display: grid; place-items: center;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease), background-color .3s ease;
}
.hs__btn::before, .hs__btn::after { content: ""; position: absolute; background: var(--ink); border-radius: 1px; transition: transform .35s var(--ease); }
.hs__btn::before { width: 12px; height: 1.5px; }
.hs__btn::after { width: 1.5px; height: 12px; }
.hs__btn > span:not(.visually-hidden) { display: none; }
.hs::before {
  content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7); pointer-events: none;
  animation: hsPulse 2.4s var(--ease) infinite;
}
@keyframes hsPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.hs:hover .hs__btn, .hs.is-open .hs__btn { transform: scale(1.1); }
.hs.is-open .hs__btn { background: var(--accent); }
.hs.is-open .hs__btn::before, .hs.is-open .hs__btn::after { background: #fff; transform: rotate(45deg); }
.hs__card {
  position: absolute; top: 0; width: 250px; padding: 16px 18px;
  border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--muted);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  font-size: 14px; line-height: 1.4;
  opacity: 0; visibility: hidden; transform: translateY(-50%) translateX(8px) scale(.96);
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .3s;
}
.hs[data-side="left"] .hs__card { right: 30px; transform-origin: right center; }
.hs[data-side="right"] .hs__card { left: 30px; transform: translateY(-50%) translateX(-8px) scale(.96); transform-origin: left center; }
.hs[data-side="below"] .hs__card { top: 30px; left: -125px; transform: translateY(-8px) scale(.96); transform-origin: center top; }
.hs[data-side="below"].is-open .hs__card { transform: none; }
.hs__card b { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 500; color: var(--ink); }
.hs.is-open .hs__card { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .3s ease, transform .4s var(--ease); }

/* Текст и карточка поверх */
.hero__body {
  position: relative; z-index: 3; pointer-events: none;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 48px;
  min-height: var(--h); padding: 150px 40px 112px;
}
.hero__body > * { pointer-events: auto; }
.hero__text { pointer-events: none; }
.hero__text > * { pointer-events: auto; }
.hero__text { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; letter-spacing: .01em;
  animation: heroUp .9s var(--ease) .2s both;
}
.hero__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #8fd3b6; }
.hero__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #8fd3b6; animation: dotPulse 2s ease-out infinite; }
@keyframes dotPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

.hero__title { margin-top: 24px; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.06; letter-spacing: -.02em; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; animation: wordUp 1s var(--ease) both; animation-delay: calc(.35s + var(--i) * .055s); }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }
.hero__lead { margin-top: 28px; max-width: 520px; font-size: 18px; line-height: 1.4; color: rgba(255, 255, 255, .8); animation: heroUp .9s var(--ease) .85s both; }
.hero__cta { display: flex; align-items: center; gap: 22px; margin-top: 40px; animation: heroUp .9s var(--ease) 1s both; }
.hero__cta .btn { font-size: 18px; min-height: 60px; padding: 8px 8px 8px 26px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.hero__cta .btn .btn__arrow { width: 44px; height: 44px; background: var(--accent); }
.hero__cta .btn:hover { box-shadow: 0 18px 44px rgba(180, 84, 27, .35); }
.hero__cta small { max-width: 190px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .7); }
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.header { animation: heroFade 1s ease .1s both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* Карточка «Воздух в этой комнате» */
.climate {
  --st: #f0a35e;
  padding: 20px; border-radius: var(--r-lg);
  background: rgba(24, 21, 19, .5); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .28);
  animation: heroUp 1s var(--ease) 1.15s both;
}
.hero__frame[data-mode="on"] .climate { --st: #8fd3b6; }
.hero__frame[data-mode="on"] .climate__status i { box-shadow: 0 0 0 4px rgba(143, 211, 182, .25); }
.climate__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.climate__label { font-size: 13px; color: rgba(255, 255, 255, .65); }
.climate__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.climate__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--st); box-shadow: 0 0 0 4px rgba(240, 163, 94, .25); transition: background-color .6s ease, box-shadow .6s ease; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; padding: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: #fff; transition: transform .55s var(--ease); }
.hero__frame[data-mode="on"] .seg__thumb { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; height: 38px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .72); transition: color .4s ease; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button:not([aria-pressed="true"]):hover { color: #fff; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.metric { padding: 14px 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); }
.metric__name { display: block; font-size: 12px; color: rgba(255, 255, 255, .62); }
.metric__val { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; white-space: nowrap; }
.metric__val b { font-size: 30px; line-height: 1; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.metric__val small { font-size: 12px; color: rgba(255, 255, 255, .6); }
.metric__bar { position: relative; display: block; height: 4px; margin-top: 14px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.metric__zone { position: absolute; top: 0; bottom: 0; left: var(--z1); width: var(--zw); border-radius: 2px; background: rgba(143, 211, 182, .38); }
.metric__dot {
  position: absolute; top: 50%; left: var(--p, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--c, #f0a35e); box-shadow: 0 0 0 3px rgba(24, 21, 19, .6);
  transition: left 1.4s var(--ease), background-color .6s ease;
}
.climate__note { margin-top: 12px; font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .45); }

.facts {
  position: relative; z-index: 2;
  width: min(1046px, calc(100% - 2 * var(--gutter)));
  margin: -56px auto 0;
  display: flex; justify-content: center; gap: 24px 56px;
  padding: 28px 40px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-card);
}
.facts li { display: flex; align-items: center; gap: 24px; font-size: 15px; line-height: 1.33; }
.facts img { width: 46px; height: 46px; }

/* =========================================================
   02 · Климатом занимаются во время ремонта
   ========================================================= */
.rs-head { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: end; gap: 40px; }
.rs-head .h2 { max-width: 640px; }
.rs-head .lead { margin-top: 0; }
.rs { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 20px; margin-top: 56px; }
.rs__side { display: flex; flex-direction: column; gap: 10px; }
.rs__tabs { display: flex; flex-direction: column; gap: 10px; }

.rs-tab {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 16px;
  padding: 16px 20px 16px 16px; border-radius: 20px; background: var(--card); text-align: left;
  transition: background-color .45s ease, color .45s ease, transform .3s var(--ease);
}
.rs-tab:hover { transform: translateX(3px); }
.rs-tab__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 15px; font-weight: 500; transition: background-color .45s ease, color .45s ease; }
.rs-tab b { display: block; font-size: 17px; line-height: 1.2; font-weight: 500; }
.rs-tab small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); transition: color .45s ease; }
.rs-tab[aria-selected="true"] { background: var(--dark); color: #fff; transform: none; }
.rs-tab[aria-selected="true"] .rs-tab__n { background: var(--accent); color: #fff; }
.rs-tab[aria-selected="true"] small { color: var(--on-dark-muted); }
.rs-tab__bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: rgba(255, 255, 255, .1); opacity: 0; transition: opacity .3s ease; }
.rs-tab__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.rs-tab.is-playing .rs-tab__bar { opacity: 1; }
.rs-tab.is-playing .rs-tab__bar i { animation: rsProg 6s linear forwards; }
.rs:hover .rs-tab.is-playing .rs-tab__bar i { animation-play-state: paused; }
@keyframes rsProg { to { transform: scaleX(1); } }

.rs-panel { display: flex; flex-direction: column; flex: 1; padding: 24px; border-radius: var(--r-lg); background: var(--surface); }
.rs-panel__item { animation: rsIn .55s var(--ease) both; }
.rs-panel__item[hidden] { display: none; }
@keyframes rsIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rs-panel__text { font-size: 16px; line-height: 1.45; color: var(--muted-2); }
.rs-meter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.rs-meter__label { font-size: 13px; color: var(--muted); }
.rs-meter b { grid-row: 1 / 3; grid-column: 2; font-size: 15px; font-weight: 500; }
.rs-meter__bars { display: flex; gap: 4px; }
.rs-meter__bars i { width: 26px; height: 6px; border-radius: 3px; background: var(--card); }
.rs-meter__bars i.on { background: var(--accent); animation: rsBar .5s var(--ease) both; }
.rs-meter__bars i:nth-child(2) { animation-delay: .06s; } .rs-meter__bars i:nth-child(3) { animation-delay: .12s; }
.rs-meter__bars i:nth-child(4) { animation-delay: .18s; } .rs-meter__bars i:nth-child(5) { animation-delay: .24s; }
@keyframes rsBar { from { transform: scaleX(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.rs-panel__cta { margin-top: auto; padding-top: 24px; align-self: flex-start; color: var(--accent); }

.rs__art { position: relative; display: grid; place-items: center; min-height: 100%; padding: 64px 32px 88px; border-radius: var(--r-lg); background: #f3eee7; overflow: hidden; }
.rs__chip { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; font-size: 13px; color: var(--muted); }
.rs__svg { width: 100%; height: auto; max-width: 640px; overflow: visible; }
.rs-room { fill: #fbf8f3; transition: fill .7s ease; }
.rs[data-stage="2"] .rs-room { fill: #e7e2da; }
.rs[data-stage="3"] .rs-room { fill: #f6f0e8; }
.rs-s { opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .7s var(--ease); }
.rs[data-stage="1"] .rs-s1, .rs[data-stage="2"] .rs-s2, .rs[data-stage="3"] .rs-s3 { opacity: 1; transform: none; transition-delay: .15s; }
.rs-draw { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.6s var(--ease) .35s; }
.rs-draw--2 { transition-delay: .7s; }
.rs[data-stage="1"] .rs-draw { stroke-dashoffset: 0; }
.rs-air { stroke-dasharray: 5 7; animation: rsFlow 1.1s linear infinite; }
.rs-air--plan { stroke-dasharray: 4 5; animation-duration: 1.6s; }
@keyframes rsFlow { to { stroke-dashoffset: -24; } }
.rs-t { font: 500 11px/1 var(--font); fill: #b4541b; letter-spacing: .01em; }
.rs-t--ink { fill: #6b655f; }
.rs-t--mob { display: none; }
.rs__seen {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  border-radius: var(--r-pill); background: #fff; font-size: 15px; color: var(--muted);
}
.rs__seen b { font-weight: 500; color: var(--ink); }
.rs__eye { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: var(--ink); }
.rs__eye svg { width: 18px; height: 18px; }
.rs__seen.is-swap b { animation: rsIn .45s var(--ease) both; display: inline-block; }

/* =========================================================
   03 · Технику будет не видно
   ========================================================= */
.hide-head { display: grid; grid-template-columns: minmax(0, 1fr) 460px; align-items: end; gap: 40px; }
.hide-head .lead { margin-top: 0; }
.hv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; margin-top: 64px; }
.hv__list { position: relative; padding-left: 36px; }
.hv__rail { position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 1px; background: var(--line); }
.hv__rail i { position: absolute; inset: 0; border-radius: 1px; background: var(--accent); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform .2s linear; }
.hv-item { cursor: pointer; position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 42vh; padding: 40px 0; }
.hv-item::before {
  content: ""; position: absolute; left: -41px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-2); transition: border-color .4s ease, background-color .4s ease, transform .4s var(--ease);
}
.hv-item.is-active::before { border-color: var(--accent); background: var(--accent); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(180, 84, 27, .14); }
.hv-item__n { font-size: 14px; font-weight: 500; color: var(--muted-3); letter-spacing: .04em; transition: color .4s ease; }
.hv-item__q { margin-top: 14px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; color: var(--muted-3); transition: color .5s ease; }
.hv-item__a { margin-top: 16px; max-width: 460px; font-size: 17px; line-height: 1.45; color: var(--muted); opacity: .35; transform: translateY(6px); transition: opacity .5s ease, transform .6s var(--ease); }
.hv-item.is-active .hv-item__n { color: var(--accent); }
.hv-item.is-active .hv-item__q { color: var(--ink); }
.hv-item.is-active .hv-item__a { opacity: 1; transform: none; }

.hv__media { position: relative; }
.hv__stack { position: sticky; top: calc(50vh - min(21vw, 260px)); aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.hm { position: absolute; inset: 0; z-index: 0; clip-path: inset(100% 0 0 0); transition: clip-path 0s linear .9s; }
.hm img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.hm.is-prev { z-index: 1; clip-path: inset(0); transition: none; }
.hm.is-active { z-index: 2; clip-path: inset(0); transition: clip-path .9s var(--ease); }
.hm.is-active img, .hm.is-prev img { transform: none; }
.hm__mark { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .5s var(--ease); }
.hm.is-active .hm__mark { opacity: 1; transform: none; transition-delay: .8s; }
.hm__mark i { position: relative; flex: none; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); }
.hm__mark i::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); animation: hsPulse 2.2s var(--ease) infinite; }
.hm__mark > span { margin-top: -9px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(28, 26, 24, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 14px; white-space: nowrap; }
.hv__count { position: absolute; z-index: 3; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hv__count b { font-weight: 500; color: var(--ink); }

/* =========================================================
   04 · Плашка «Не знаете, какая система нужна»
   ========================================================= */
.cta-banner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px;
  padding: 36px 40px; border-radius: var(--r-lg);
  background: var(--dark); color: #fff;
}
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); pointer-events: none; }
.cta-banner::before { width: 420px; height: 420px; right: 120px; top: -220px; }
.cta-banner::after { width: 330px; height: 330px; right: -60px; top: -40px; }
.cta-banner__ava { position: relative; width: 104px; height: 104px; }
.cta-banner__ava img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.cta-banner__ava i { position: absolute; z-index: 2; right: 4px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: #8fd3b6; box-shadow: 0 0 0 3px var(--dark); }
.cta-banner__ava i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #8fd3b6; animation: dotPulse 2.2s ease-out infinite; }
.cta-banner__title { font-size: 30px; line-height: 1.2; font-weight: 400; }
.cta-banner__body p { margin-top: 10px; max-width: 620px; font-size: 16px; line-height: 1.45; color: var(--on-dark-muted); }
.cta-banner__act { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-banner .btn { min-height: 60px; padding: 8px 8px 8px 22px; font-size: 17px; }
.cta-banner .btn__arrow { width: 44px; height: 44px; background: var(--accent); }
.cta-banner__act small { font-size: 13px; color: var(--on-dark-muted); }

/* =========================================================
   05 · Наши работы
   ========================================================= */
.works-head { display: flex; flex-direction: column; gap: 40px; }
.filters { position: relative; display: flex; gap: 6px; align-self: flex-start; padding: 5px; border-radius: var(--r-pill); background: var(--card); }
.filters__thumb { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: var(--r-pill); background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.filters .chip { position: relative; z-index: 1; height: 40px; background: transparent; transition: color .35s ease; }
.filters .chip:hover { background: transparent; color: var(--accent); }
.filters .chip.is-active, .filters .chip.is-active:hover { background: transparent; color: #fff; }
.filters .chip sup { margin-left: 5px; font-size: 11px; opacity: .55; }

.works { --gap: 48px; --bleed: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap) 20px; margin-top: 44px; }
.work { position: relative; display: flex; flex-direction: column; cursor: pointer; }
.work[hidden] { display: none; }
.work.is-in { animation: workIn .6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes workIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.work__hit { position: absolute; inset: 0; z-index: 2; border-radius: var(--r-lg); }
.work__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.work__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }
.work__tags { position: absolute; top: 12px; left: 12px; right: 56px; display: flex; flex-wrap: wrap; gap: 6px; }
.work__go { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; transition: transform .45s var(--ease), background-color .3s ease, color .3s ease; }
.work__go .i { width: 9px; height: 9px; }
.work:hover .work__go { transform: rotate(45deg); background: var(--accent); color: #fff; }
.work__addr { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.work__addr .i { width: 11px; height: 14px; color: var(--accent); }
.work .h3 { margin-top: 8px; transition: color .3s ease; }
.work:hover .h3 { color: var(--accent); }
.work__sum { flex: 1; margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.work__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.work__facts dt { font-size: 12px; color: var(--muted-3); }
.work__facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; white-space: nowrap; }
.work__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; font-weight: 500; }
.work__more .i { width: 13px; height: 11px; transition: transform .3s var(--ease); }
.work:hover .work__more .i { transform: translateX(4px); }
.work__hit:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* Выбранная карточка и остальные */
.work__media img, .work .h3, .work__addr, .work__sum, .work__facts, .work__more { transition: filter .5s ease, opacity .5s ease, color .4s ease, transform 1.2s var(--ease); }
.works.has-open .work:not(.is-open) .work__media img { filter: grayscale(1); opacity: .55; }
.works.has-open .work:not(.is-open) :is(.h3, .work__addr, .work__sum, .work__facts, .work__more, .work__tags) { opacity: .45; }
.works.has-open .work:not(.is-open):hover .work__media img { filter: grayscale(.3); opacity: .9; }
.works.has-open .work:not(.is-open):hover :is(.h3, .work__addr, .work__sum, .work__facts, .work__more, .work__tags) { opacity: 1; }
.work.is-open { z-index: 1; color: #fff; }
.work.is-open::before {
  content: ""; position: absolute; z-index: -1;
  left: calc(-1 * var(--bleed)); right: calc(-1 * var(--bleed)); top: calc(-1 * var(--bleed)); bottom: calc(-1 * var(--gap) - 1px);
  border-radius: calc(var(--r-lg) + var(--bleed)) calc(var(--r-lg) + var(--bleed)) 0 0; background: var(--dark);
  animation: tabIn .5s var(--ease) both;
}
@keyframes tabIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.work.is-open .h3, .work.is-open:hover .h3 { color: #fff; }
.work.is-open .work__addr, .work.is-open .work__sum { color: var(--on-dark-muted); }
.work.is-open .work__facts { border-color: rgba(255, 255, 255, .12); }
.work.is-open .work__facts dt { color: var(--on-dark-muted); }
.work.is-open .work__more { color: #fff; }
.work.is-open .work__more .i { transform: rotate(90deg); }
.work.is-open .work__go { transform: rotate(135deg); background: var(--accent); color: #fff; }
/* скруглённые «стыки» вкладки с панелью */
.work__join { display: none; position: absolute; left: calc(-1 * var(--bleed)); right: calc(-1 * var(--bleed)); bottom: calc(-1 * var(--gap)); height: 0; }
.work.is-open .work__join { display: block; }
.work__join::before, .work__join::after { content: ""; position: absolute; bottom: 0; width: 24px; height: 24px; animation: tabIn .5s var(--ease) both; }
.work__join::before { right: 100%; background: radial-gradient(circle at 0 0, transparent 23.5px, var(--dark) 24px); }
.work__join::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 23.5px, var(--dark) 24px); }
.work[data-edge~="first"] .work__join::before, .work[data-edge~="last"] .work__join::after { display: none; }

/* Панель кейса */
.cx { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; margin-inline: calc(-1 * var(--bleed)); transition: grid-template-rows .65s var(--ease); }
.cx.is-open { grid-template-rows: 1fr; }
.cx__in { min-height: 0; overflow: hidden; }
.cx__body { position: relative; padding: 32px; border-radius: calc(var(--r-lg) + var(--bleed)); background: var(--dark); color: #fff; }
.cx[data-edge~="first"] .cx__body { border-top-left-radius: 0; }
.cx[data-edge~="last"] .cx__body { border-top-right-radius: 0; }
.cx.is-swap .cx__top, .cx.is-swap .cx__bottom { animation: rsIn .6s var(--ease) both; }
.cx.is-swap .cx__bottom { animation-delay: .08s; }
.cx__close { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(43, 39, 36, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .3s var(--ease), background-color .3s ease; }
.cx__close:hover { transform: rotate(90deg); background: #3a3531; }
.cx__close .i { width: 12px; height: 12px; transform: rotate(45deg); }
.cx__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; }
.cx__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .06); }
.cx__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 1.2s var(--ease); }
.cx__main img.is-new { opacity: 0; transform: scale(1.05); }
.cx__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.cx__thumbs:empty { display: none; }
.cx__thumbs button { width: 84px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s ease, outline-color .3s ease; }
.cx__thumbs button:hover { opacity: .85; }
.cx__thumbs button.is-active { opacity: 1; outline-color: var(--accent); }
.cx__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cx__info { padding-right: 48px; }
.cx__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cx__tags .tag { background: rgba(255, 255, 255, .1); color: #fff; }
.cx__title { margin-top: 16px; font-size: 30px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.cx__addr { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--on-dark-muted); }
.cx__addr .i { width: 12px; height: 15px; color: var(--accent); }
.cx__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 24px 0 0; border-radius: var(--r-md); overflow: hidden; background: rgba(255, 255, 255, .1); }
.cx__facts div { padding: 14px 16px; background: #2b2724; }
.cx__facts div:last-child { grid-column: span 2; }
.cx__facts dt { font-size: 12px; color: var(--on-dark-muted); }
.cx__facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; line-height: 1.25; }
.cx__sec { margin-top: 28px; }
.cx__sec h4 { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.cx__sec > p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: #ddd8d1; }
.cx__bottom { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 260px; gap: 36px; margin-top: 12px; padding-top: 4px; }
.cx__steps { counter-reset: st; display: flex; flex-direction: column; margin-top: 16px; }
.cx__steps li { counter-increment: st; position: relative; padding: 0 0 16px 44px; font-size: 15px; line-height: 1.4; color: #ece8e2; }
.cx__steps li::before { content: counter(st); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); font-size: 12px; font-weight: 500; }
.cx__steps li::after { content: ""; position: absolute; left: 14px; top: 26px; bottom: 2px; width: 1px; background: rgba(255, 255, 255, .14); }
.cx__steps li:last-child { padding-bottom: 0; }
.cx__steps li:last-child::after { display: none; }
.cx__equip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cx__equip li { padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; }
.cx__result { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cx__result li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; }
.cx__result .i { flex: none; width: 22px; height: 22px; padding: 7px 6px; margin-top: -1px; border-radius: 50%; background: var(--accent); color: #fff; }
.cx__cta { align-self: start; display: flex; flex-direction: column; gap: 20px; margin-top: 28px; padding: 22px; border-radius: var(--r-lg); background: var(--accent); }
.cx__cta p { font-size: 15px; line-height: 1.4; }
.cx__cta .btn { white-space: normal; text-align: left; }
.cx__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.cx__nav button { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 500; color: #fff; transition: background-color .25s ease, color .25s ease; }
.cx__nav button:hover { background: #fff; color: var(--ink); }
.cx__nav button:disabled { opacity: .35; pointer-events: none; }
.cx__nav .i { width: 13px; height: 11px; }
.cx__pos { font-size: 13px; color: var(--on-dark-muted); }

.works-more { display: flex; justify-content: center; margin-top: 56px; }
.works-more[hidden] { display: none; }

/* =========================================================
   06 · Цифры
   ========================================================= */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 48px 40px; border-radius: var(--r-lg);
  background: var(--accent); color: var(--on-dark);
}
.stat { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font-size: 52px; line-height: 1; font-weight: 300; white-space: nowrap; }
.stat > span { display: block; margin-top: 18px; font-size: 16px; line-height: 1.38; }

/* =========================================================
   07 · Как проходит работа
   ========================================================= */
.pr-head { display: grid; grid-template-columns: minmax(0, 1fr) 460px; align-items: end; gap: 40px; }
.pr-head .lead { margin-top: 0; }
.pr { display: flex; flex-direction: column; gap: 56px; margin-top: 56px; }
.pr-phase__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.pr-phase__n { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pr-phase__title { font-size: 26px; line-height: 1.2; font-weight: 400; }
.pr-phase__time { margin-left: auto; font-size: 15px; color: var(--muted); }
.pr-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
.pr-row > li { display: flex; flex-direction: column; }

/* Линия с кружками: отрезок линии у каждого шага тянется до следующего */
.pr__rail { position: relative; height: 44px; margin-bottom: 20px; transition-delay: inherit; }
.pr__rail::before, .pr__rail::after { content: ""; position: absolute; left: 44px; right: -16px; top: 21px; height: 2px; border-radius: 1px; background: var(--line); }
.pr__rail::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); transition-delay: inherit; }
li:last-child > .pr__rail::before, li:last-child > .pr__rail::after { display: none; }
.pr__node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color .5s ease, color .5s ease, box-shadow .5s ease; transition-delay: inherit;
}
.pr__node--pause { background: var(--bg); border: 1px dashed var(--line-2); color: var(--muted); }
.pr__node--pause .i { width: 16px; height: 16px; }
.is-done > .pr__rail .pr__node:not(.pr__node--pause) { background: var(--accent); color: #fff; box-shadow: 0 0 0 5px rgba(180, 84, 27, .14); }
.is-done > .pr__rail::after { transform: scaleX(1); }
/* пауза: перед ней и после неё линия пунктирная */
.pr-pause > .pr__rail::before, .pr-pause > .pr__rail::after { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.pr-pause.is-done > .pr__rail::after { background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }

.pr-step__card { flex: 1; display: flex; flex-direction: column; padding: 22px 20px 20px; border-radius: var(--r-lg); background: var(--card); }
.pr-step__time { align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); background: #fff; font-size: 12px; line-height: 1.4; color: #443f3a; }
.pr-step__card .h3 { margin-top: 14px; }
.pr-step__text { margin-top: 12px; margin-bottom: 24px; font-size: 15px; line-height: 1.4; color: var(--muted-2); }
.pr-step__need { display: flex; gap: 12px; margin-top: auto; padding: 16px; border-radius: var(--r-md); background: #fff; }
.pr-step__need .i { width: 15px; height: 14px; margin-top: 1px; color: var(--accent); }
.pr-step__need b { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.pr-step__need span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.3; color: var(--ink); }
.pr-pause__card { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 22px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.pr-pause__card .h3 { font-size: 18px; }
.pr-pause__card p { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* =========================================================
   08 · Систему считают инженеры
   ========================================================= */
.eng-head { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: end; gap: 40px; }
.eng-head .h2 { max-width: 640px; }
.eng-head .lead { margin-top: 0; }
.eng { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; margin-top: 56px; }
.eng__list { display: flex; flex-direction: column; gap: 6px; }
.feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; align-items: start; padding: 16px 18px; margin-inline: -18px; border-radius: var(--r-lg); cursor: default; outline: none; transition: background-color .35s ease; }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color .35s ease; }
.feature__icon .i { width: 19px; height: 19px; }
.feature .h3 { margin-top: 2px; }
.feature p { margin-top: 8px; max-width: 470px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.feature.is-on { background: var(--card); }
.feature.is-on .feature__icon { background: var(--accent); }
.feature:focus-visible { box-shadow: 0 0 0 2px var(--accent); }

/* Лист проекта */
.sheet { position: relative; }
.sheet__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 40px rgba(28, 25, 22, .12)); }
.st { font: 400 11px/1 var(--font); fill: #3d3833; }
.st--s { font-size: 10px; fill: #8a827a; }
.st--h { font-size: 12px; font-weight: 600; fill: #1c1a18; }
.st--b { font-weight: 600; fill: #1c1a18; }
.st--a { font-size: 10px; font-weight: 500; fill: #b4541b; }
.st--stamp { font-size: 8.5px; font-weight: 600; letter-spacing: .06em; fill: #b4541b; }
.st--big { font-size: 16px; letter-spacing: .02em; }
.sg, .sheet__plan { transition: opacity .45s ease, filter .45s ease; }
.sg__hl { fill: rgba(180, 84, 27, .06); stroke: #b4541b; stroke-width: 1.5; stroke-dasharray: 5 4; opacity: 0; transition: opacity .35s ease; }
.sheet.has-on .sg:not(.is-on), .sheet.has-on .sheet__plan { opacity: .28; filter: grayscale(1); }
.sheet.has-on .sg.is-on .sg__hl { opacity: 1; }
.sheet [data-g="coord"].is-on, .sheet [data-g="norms"].is-on { filter: drop-shadow(0 6px 14px rgba(180, 84, 27, .35)); }
.sheet .sg[data-g="docs"] text { transition: fill .3s ease; }
.sheet .sg[data-g="docs"].is-on text { fill: #b4541b; font-weight: 600; }
/* трассы прорисовываются и печать ставится, когда лист появился */
.sheet__duct { stroke-dasharray: 260; stroke-dashoffset: 260; }
.sheet.is-in .sheet__duct { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .5s; }
.sheet__stamp { opacity: 0; transform-origin: 196px 528px; transform-box: view-box; }
.sheet.is-in .sheet__stamp { animation: stampIn .5s cubic-bezier(.3, 1.6, .5, 1) 1.5s both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.sheet__sign { stroke-dasharray: 140; stroke-dashoffset: 140; }
.sheet.is-in .sheet__sign { stroke-dashoffset: 0; transition: stroke-dashoffset 1s ease 1.9s; }
.sheet__photo {
  position: absolute; left: -5%; bottom: -3%; width: 25%; padding: 7px 7px 9px; border-radius: 6px; background: #fff;
  box-shadow: 0 16px 34px rgba(28, 25, 22, .2); transform: rotate(-5deg);
}
.sheet__photo::before { content: ""; position: absolute; left: 50%; top: -12px; width: 12px; height: 34px; margin-left: -6px; border: 2px solid #9a948c; border-radius: 6px; background: transparent; }
.sheet__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.sheet__photo span { display: block; margin-top: 6px; font-size: 11px; text-align: center; color: var(--muted); }
.sheet.has-on .sheet__photo.is-on { opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--accent), 0 20px 40px rgba(180, 84, 27, .3); }

/* =========================================================
   09 · Оборудование и склад
   ========================================================= */
.eq-head, .tiers-head { display: grid; grid-template-columns: minmax(0, 1fr) 460px; align-items: end; gap: 40px; }
.eq-head .lead, .tiers-head .lead { margin-top: 0; }
.eq { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; margin-top: 56px; }

.stock { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.stock__icon { width: 48px; height: 48px; background: var(--accent); color: #fff; }
.stock__icon .i { width: 20px; height: 13px; }
.stock__title { margin-top: 28px; font-size: 28px; line-height: 1.15; font-weight: 400; }
.stock__text { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--on-dark-muted); }
.stock__bars { display: flex; flex-direction: column; gap: 18px; margin-top: auto; padding-top: 32px; }
.stock__label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-dark-muted); }
.stock__label b { font-weight: 500; color: #fff; }
.stock__track { height: 10px; margin-top: 10px; border-radius: 5px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.stock__bar { display: block; height: 100%; border-radius: 5px; transform: scaleX(0); transform-origin: left; }
.stock__bar--long { width: 100%; background: repeating-linear-gradient(-45deg, #6d655e 0 6px, #575049 6px 12px); }
.stock__bar--short { width: 9%; background: var(--accent); }
.stock.is-in .stock__bar { transform: none; transition: transform 1.6s var(--ease) .4s; }
.stock.is-in .stock__bar--short { transition-duration: .5s; transition-delay: .5s; }

.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bt { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 136px; padding: 22px 18px 18px; border-radius: var(--r-lg); background: var(--card); transition: background-color .3s ease, transform .4s var(--ease); }
.bt:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.bt img { width: auto; max-width: 118px; height: 24px; object-fit: contain; object-position: left center; }
.bt > span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.bt--more { padding: 0; background: transparent; border: 1px dashed var(--line-2); }
.bt--more:hover { background: var(--card); box-shadow: none; }
.bt--more button { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; width: 100%; height: 100%; padding: 22px 18px 18px; text-align: left; }
.bt--more b { font-size: 16px; font-weight: 500; }
.bt--more span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.bt--more .i { width: 14px; height: 11px; margin-top: auto; color: var(--accent); transition: transform .3s var(--ease); }
.bt--more:hover .i { transform: translateX(4px); }

.tiers-head { margin-top: 100px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.tier { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.tier--best { background: var(--dark); color: #fff; }
.tier__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.tier__badge { padding: 5px 12px; border-radius: var(--r-pill); background: var(--accent); font-size: 12px; font-weight: 500; color: #fff; }
.tier__text { min-height: calc(4 * 1.45em); margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.tier--best .tier__text { color: var(--on-dark-muted); }
.tier__meters { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.tier--best .tier__meters { border-color: rgba(255, 255, 255, .12); }
.tier__meters div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tier__meters dt { font-size: 14px; }
.tier__meters dd { display: flex; gap: 4px; }
.tier__meters i { width: 18px; height: 6px; border-radius: 3px; background: rgba(28, 26, 24, .1); }
.tier--best .tier__meters i { background: rgba(255, 255, 255, .12); }
.tier__meters i.on { background: var(--accent); }
.tier.is-in .tier__meters i.on { animation: rsBar .45s var(--ease) both; }
.tier__meters i:nth-child(2) { animation-delay: .25s !important; } .tier__meters i:nth-child(3) { animation-delay: .32s !important; }
.tier__meters i:nth-child(4) { animation-delay: .39s !important; } .tier__meters i:nth-child(5) { animation-delay: .46s !important; }
.tier__meters i:nth-child(1) { animation-delay: .18s !important; }
.tier__fit { margin-top: auto; padding-top: 24px; font-size: 15px; line-height: 1.35; font-weight: 500; }
.tier__fit span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 400; color: var(--muted); }
.tier--best .tier__fit span { color: var(--on-dark-muted); }

/* =========================================================
   10 · Чем мы отличаемся от частной бригады
   ========================================================= */
.compare { position: relative; display: grid; grid-template-columns: 354px 370px 356px; margin-top: 60px; }
.compare__col-us { position: absolute; top: 0; bottom: 0; right: 0; width: 356px; border-radius: var(--r-lg); background: var(--dark); }
.compare__row { display: contents; }
.compare__cell { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px 0; font-size: 18px; line-height: 1.2; border-bottom: 1px solid var(--line); }
.compare__cell--label { font-weight: 500; color: #221f1d; }
.compare__cell--them { color: var(--muted); }
.compare__cell--us { padding: 12px 20px; color: #fff; font-weight: 500; border-color: rgba(255, 255, 255, .1); }
.compare__head .compare__cell { min-height: 0; padding: 30px 0 12px; border: 0; font-size: 18px; font-weight: 500; color: var(--muted-2); }
.compare__head .compare__cell--us { padding: 30px 20px 12px; color: #fff; }
.compare__row:last-child .compare__cell { border-bottom: 0; padding-bottom: 40px; min-height: 96px; }
.mark { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; }
.mark--no { background: var(--card); color: #aaa39c; }
.mark--no::before { content: ""; width: 10px; height: 1.5px; background: currentColor; border-radius: 1px; }
.mark--yes { background: #fff; color: var(--accent); }
.mark--yes .i { width: 11px; height: 8px; }
.compare .mark--yes { transform: scale(0); }
.compare.is-in .mark--yes { animation: markPop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes markPop { from { transform: scale(0); } to { transform: scale(1); } }
.compare.is-in .compare__row:nth-child(3) .mark--yes { animation-delay: 0.35s; }
.compare.is-in .compare__row:nth-child(4) .mark--yes { animation-delay: 0.47s; }
.compare.is-in .compare__row:nth-child(5) .mark--yes { animation-delay: 0.59s; }
.compare.is-in .compare__row:nth-child(6) .mark--yes { animation-delay: 0.71s; }
.compare.is-in .compare__row:nth-child(7) .mark--yes { animation-delay: 0.83s; }
.compare.is-in .compare__row:nth-child(8) .mark--yes { animation-delay: 0.95s; }
.compare.is-in .compare__row:nth-child(9) .mark--yes { animation-delay: 1.07s; }
.compare__cell { transition: color .25s ease; }
.compare__row:not(.compare__head):hover .compare__cell--label { color: var(--accent); }
.compare__row:not(.compare__head):hover .compare__cell--them { color: var(--ink); }

/* =========================================================
   11 · Что вы получаете вместе с системой
   ========================================================= */
.gx { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.gx > * { min-width: 0; }
.gx__title { align-self: end; max-width: 400px; padding-bottom: 8px; }
.gx-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: var(--card); }
.gx-card .icon-circle { width: 46px; height: 46px; background: #fff; }
.gx-card .icon-circle .i { width: 17px; height: 18px; }
.gx-card .h3 { margin-top: 28px; }
.gx-card p { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.gx-card--dark { background: var(--dark); color: #fff; }
.gx-card--dark .icon-circle { background: rgba(255, 255, 255, .1); color: #fff; }

.gx-guar { min-height: 340px; }
.gx-guar__num { margin-top: auto; padding-top: 20px; font-size: 32px; line-height: 1; color: #fff !important; }
.gx-guar__num b { font-size: 104px; line-height: .9; font-weight: 300; letter-spacing: -.04em; }
.gx-guar .h3 { margin-top: 14px; }
.gx-guar__years { margin-top: 28px; }
.gx-guar__track { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.gx-guar__track i { position: absolute; inset: 0; border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.gx-guar.is-in .gx-guar__track i { transform: none; transition: transform 2s var(--ease) .4s; }
.gx-guar__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--on-dark-muted); }

.gx-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: auto; padding-top: 22px; }
.gx-pay span { position: relative; padding-top: 14px; font-size: 11px; line-height: 1.3; color: var(--muted); }
.gx-pay span::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: var(--accent); opacity: .35; }
.gx-pay span:nth-child(2)::before { opacity: .65; } .gx-pay span:nth-child(3)::before { opacity: 1; }

.gx-service { background: var(--surface); border: 1px solid var(--line); }
.gx-service .h3 { margin-top: 0; }
.gx-service p { font-size: 14px; }
.gx-service .link-arrow { margin-top: 18px; color: var(--accent); }
.gx-months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 20px; }
.gx-months span { position: relative; display: grid; place-items: center; height: 30px; border-radius: 8px; background: var(--card); font-size: 11px; color: var(--muted); }
.gx-months .is-to { background: var(--accent); color: #fff; font-weight: 500; }
.gx-months .is-to i { position: absolute; top: -8px; right: -6px; padding: 1px 6px; border-radius: var(--r-pill); background: var(--ink); font-size: 10px; font-style: normal; color: #fff; }

/* =========================================================
   12 · Готовые решения
   ========================================================= */
.sol-head { display: grid; grid-template-columns: minmax(0, 1fr) 460px; align-items: end; gap: 40px; }
.sol-head .lead { margin-top: 0; }
.sol { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.sol__side { display: flex; flex-direction: column; gap: 10px; }
.sol__tabs { display: flex; flex-direction: column; gap: 10px; }
.sol-tab {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 20px; border-radius: var(--r-lg); background: var(--card); text-align: left;
  transition: background-color .45s ease, color .45s ease, transform .3s var(--ease);
}
.sol-tab:hover { transform: translateX(3px); }
.sol-tab__n { grid-row: 1 / 3; align-self: start; font-size: 13px; font-weight: 500; color: var(--muted-3); padding-top: 3px; transition: color .45s ease; }
.sol-tab__txt b { display: block; font-size: 18px; line-height: 1.2; font-weight: 500; }
.sol-tab__txt small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); transition: color .45s ease; }
.sol-tab__price { grid-column: 2; margin-top: 14px; font-size: 26px; line-height: 1; font-weight: 300; letter-spacing: -.01em; }
.sol-tab[aria-selected="true"] { background: var(--dark); color: #fff; transform: none; }
.sol-tab[aria-selected="true"] .sol-tab__n { color: var(--accent); }
.sol-tab[aria-selected="true"] small { color: var(--on-dark-muted); }
.sol__incl { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); font-size: 14px; line-height: 1.45; color: var(--muted); }
.sol__incl .icon-circle { width: 30px; height: 30px; background: var(--card); }
.sol__incl .i { width: 14px; height: 14px; }
.sol-custom { position: relative; display: flex; flex-direction: column; padding: 20px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.sol-custom__n { position: absolute; top: 22px; left: 20px; font-size: 13px; font-weight: 500; color: var(--accent); }
.sol-custom b { padding-left: 34px; font-size: 18px; font-weight: 500; }
.sol-custom p { margin-top: 8px; padding-left: 34px; font-size: 14px; line-height: 1.45; color: var(--on-dark-muted); }
.sol-custom__price { margin-top: 14px; padding-left: 34px; font-size: 22px; font-weight: 300; }
.sol-custom .link-arrow { margin-top: 14px; padding-left: 34px; color: #fff; }
.sol-custom .link-arrow:hover { color: var(--accent); }

.sol__card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.sol__art { position: relative; padding: 24px 28px 18px; background: #f3eee7; }
.sol-plan { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; overflow: visible; }
.sp { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.sol[data-active="1"] [data-sp="1"], .sol[data-active="2"] [data-sp="2"], .sol[data-active="3"] [data-sp="3"] { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.sp { position: relative; }
.spt { font: 400 12px/1 var(--font); fill: #8a827a; }
.spt--b { font-size: 13px; fill: #3d3833; }
.mk text { font: 500 10px/1 var(--font); fill: #6b655f; }
.mk--ac rect { fill: #fff; stroke: #1c1a18; stroke-width: 1.5; }
.mk--br circle { fill: #8fd3b6; stroke: #4d9c7b; stroke-width: 1.5; }
.mk--out rect { fill: #e7e1d8; stroke: #8f877c; stroke-width: 1.5; }
.mk--vent rect { fill: #1c1a18; }
.mk--vent text { font-size: 11px; font-weight: 600; fill: #fff; }
/* техника появляется по одной, когда вариант выбран */
.mk { opacity: 0; transform: translateY(-6px); transform-box: fill-box; transform-origin: center; }
.sol.is-in [data-sp].is-on .mk { animation: mkIn .45s var(--ease) both; animation-delay: calc(.25s + var(--d) * .12s); }
@keyframes mkIn { from { opacity: 0; transform: translateY(-6px) scale(.7); } to { opacity: 1; transform: none; } }
.sp-line { opacity: 0; transition: opacity .5s ease .7s; }
.sol.is-in .is-on .sp-line { opacity: 1; }
.sp-duct { stroke-dasharray: 260; stroke-dashoffset: 260; }
.sol.is-in .is-on .sp-duct { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) .45s; }
.sol-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.sol-legend li { display: inline-flex; align-items: center; gap: 8px; transition: opacity .3s ease; }
.lg { width: 16px; height: 10px; border-radius: 3px; }
.lg--ac { background: #fff; border: 1.5px solid #1c1a18; }
.lg--br { width: 12px; height: 12px; border-radius: 50%; background: #8fd3b6; border: 1.5px solid #4d9c7b; }
.lg--vent { background: linear-gradient(90deg, #1c1a18 0 45%, transparent 45% 55%, #b4541b 55%); }
.lg--out { background: #e7e1d8; border: 1.5px solid #8f877c; }
.sol[data-active="3"] [data-lg="br"], .sol:not([data-active="3"]) [data-lg="vent"] { display: none; }

.sol-panel { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.sol-panel[hidden] { display: none; }
.sol-panel:not([hidden]) { animation: rsIn .5s var(--ease) both; }
.sol-panel__title { font-size: 22px; line-height: 1.25; font-weight: 400; }
.sol-lists { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; margin-top: 20px; }
.sol-lists h4 { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3); }
.sol-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.sol-list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 15px; line-height: 1.35; }
.sol-list .i { width: 11px; height: 8px; margin-top: 6px; color: var(--accent); }
.sol-list--eq li { font-weight: 500; }
.sol-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 28px; }
.sol-price { font-size: 18px; color: var(--muted); }
.sol-price b { font-size: 44px; line-height: 1; font-weight: 300; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sol-panel__foot .btn { min-height: 56px; }

/* =========================================================
   13 · Форма «Расскажите про объект»
   ========================================================= */
.lead-section { position: relative; display: grid; grid-template-columns: 530px 1fr; gap: 100px; padding: 30px 40px 130px 48px; border-radius: var(--r-xl); overflow: hidden; background: #2a2522 url("../img/form-bg.webp") center / cover no-repeat; }
.lead-card { position: relative; z-index: 1; padding: 50px 27px 20px; border-radius: var(--r-lg); background: var(--surface); margin-top: 110px; margin-bottom: -6px; }
.lead-card .h2 { font-size: 44px; }
.lead-card .lead { margin-top: 30px; }
.lead-photo { position: relative; z-index: 1; align-self: start; margin-top: 263px; }
.lead-photo img { width: 100%; aspect-ratio: 438 / 548; object-fit: cover; border-radius: var(--r-lg); }
.lead-photo figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--r-lg); background: #fff;
  font-size: 16px; line-height: 1.38; font-weight: 500;
}
.lead-photo .icon-circle { width: 32px; height: 32px; }
.lead-photo .icon-circle .i { width: 14px; height: 13px; }

/* Форма (используется и в секции, и в поп-апе) */
.form { display: flex; flex-direction: column; margin-top: 60px; }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  width: 100%; height: 54px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-md); background: var(--card);
  font: 400 16px/1.2 var(--font); color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { padding-top: 16px; resize: vertical; min-height: 54px; }
.field input::placeholder, .field textarea::placeholder { color: #aaa39c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--line-2); background: #f4f2ef; }
.field.is-error input { border-color: #c4462d; }
.field__err { font-size: 12px; color: #c4462d; display: none; }
.field.is-error .field__err { display: block; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 13px; line-height: 1.4; color: #443f3a; cursor: pointer; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.check span { padding-top: 1px; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--ink); border-radius: 6px; display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); }
.check input:checked::after { opacity: 1; }
.check.is-error input { border-color: #c4462d; }
.form .btn { margin-top: 26px; min-height: 60px; font-size: 18px; padding: 8px 8px 8px 28px; }
.form .btn .btn__arrow { width: 44px; height: 44px; }
.form .btn .btn__arrow .i { width: 12px; height: 12px; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.form__success { display: none; padding: 24px; border-radius: var(--r-md); background: var(--card); font-size: 16px; line-height: 1.4; }
.form.is-sent > :not(.form__success) { display: none; }
.form.is-sent .form__success { display: block; }
.form__error { margin-top: 12px; font-size: 14px; color: #c4462d; }

.contact-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 24px; }
.contact-chip { display: inline-flex; align-items: center; gap: 14px; height: 40px; padding: 0 22px 0 6px; border-radius: var(--r-pill); background: var(--card); font-size: 15px; transition: background-color .2s ease; }
.contact-chip:hover { background: #e4e1dc; }
.contact-chip .icon-circle { width: 28px; height: 28px; background: #fff; }
.contact-chip .icon-circle .i { width: 13px; height: 13px; }
.contact-chips__br { flex-basis: 100%; height: 0; }

/* =========================================================
   14 · Отзывы
   ========================================================= */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.rating { display: flex; align-items: center; gap: 14px; padding: 10px 46px 10px 10px; border-radius: var(--r-pill); background: #fff; }
.rating__val { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card); font-size: 18px; font-weight: 500; }
.rating__stars { display: flex; gap: 2px; }
.rating__stars .i { width: 12px; height: 11px; }
.rating small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.carousel-nav { display: flex; gap: 12px; margin-top: 60px; }
.carousel-nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.carousel-nav button:last-child, .carousel-nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.carousel-nav .i { width: 13px; height: 11px; }
.track {
  display: grid; grid-auto-flow: column; gap: 20px; margin-top: 44px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track--reviews { grid-auto-columns: calc((100% - 20px) / 2); }
.track--videos { grid-auto-columns: calc((100% - 40px) / 3); }
.review { display: flex; flex-direction: column; padding: 40px 40px 38px; border-radius: var(--r-lg); background: var(--card-soft); }
.review .i-quote { width: 28px; height: 20px; color: var(--muted-3); align-self: center; }
.review blockquote { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.review.is-open blockquote { display: block; -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--accent); }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 30px; }
.review footer img { width: 44px; height: 44px; border-radius: 50%; }
.review footer b { display: block; font-size: 15px; font-weight: 500; }
.review footer span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.review time { margin-left: auto; font-size: 13px; color: var(--muted); }
.video { display: flex; flex-direction: column; gap: 22px; }
.video__cover { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; }
.video__cover img { width: 100%; aspect-ratio: 372 / 210; object-fit: cover; transition: transform 1.2s var(--ease); }
.video__cover:hover img { transform: scale(1.04); }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease); }
.video__cover:hover .video__play { transform: scale(1.08); }
.video__play .i { width: 16px; height: 19px; margin-left: 3px; }
.video p { font-size: 16px; }

/* =========================================================
   15 · От чего зависит стоимость
   ========================================================= */
.factors { display: grid; grid-template-columns: 1fr 520px; gap: 60px; }
.factors__intro { display: flex; flex-direction: column; }
.factors__intro .lead { max-width: 360px; margin-top: 40px; }
.factors__claim { margin-top: auto; max-width: 441px; font-size: 26px; line-height: 1.2; color: var(--muted-3); }
.factors__claim b { font-weight: 400; color: var(--ink); }
.factor-list { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.factor { display: inline-flex; align-items: center; gap: 16px; padding: 6px 30px 6px 6px; min-height: 50px; border-radius: var(--r-pill); background: var(--card); font-size: 16px; line-height: 1.3; }
.factor .icon-circle { width: 38px; height: 38px; background: #fff; }
.factor .icon-circle .i { width: 16px; height: 16px; }

/* =========================================================
   16 · Частые вопросы
   ========================================================= */
.faq { display: grid; grid-template-columns: 1fr 766px; gap: 20px; align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside p { margin-top: 20px; max-width: 300px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.faq__aside .btn { margin-top: 24px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--r-lg); background: #fff; }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 24px 24px 24px; text-align: left; font-size: 20px; line-height: 1.2; font-weight: 500; }
.faq-item__sign { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--card); color: var(--ink); transition: background-color .3s ease, color .3s ease, transform .4s var(--ease), width .3s var(--ease), height .3s var(--ease); }
.faq-item__sign .i { width: 12px; height: 12px; }
.faq-item.is-open .faq-item__sign { width: 40px; height: 40px; background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 90px 28px 24px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* =========================================================
   17 · Контакты
   ========================================================= */
.contacts { display: grid; grid-template-columns: 1fr 622px; gap: 40px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 82px; }
.contact-item { display: grid; grid-template-columns: 38px 1fr; gap: 20px; }
.contact-item .icon-circle { width: 38px; height: 38px; }
.contact-item .icon-circle .i { width: 15px; height: 15px; }
.contact-item small { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); }
.contact-item p, .contact-item a { display: block; font-size: 18px; line-height: 1.25; }
.contact-item a:hover { color: var(--accent); }
.map { position: relative; min-height: 553px; border-radius: var(--r-lg); overflow: hidden; background: var(--card) url("../img/map.webp") center / cover no-repeat; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s ease; }
.map.is-loaded iframe { opacity: 1; }
.map__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 16px; font-weight: 500; box-shadow: var(--shadow-soft); transition: background-color .25s ease, transform .3s var(--ease); }
.map__btn:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.03); }
.map__btn .i { width: 16px; height: 15px; }
.map__note { position: absolute; left: 50%; top: calc(50% + 40px); transform: translateX(-50%); width: max-content; max-width: 90%; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .85); font-size: 12px; color: var(--muted); text-align: center; }
.map.is-loaded .map__btn, .map.is-loaded .map__note { display: none; }

/* =========================================================
   18 · Подвал
   ========================================================= */
.footer { padding-block: 20px 20px; }
.footer__box { padding: 80px 40px 60px; border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__top .logo { margin-top: 10px; }
.footer__about { margin-top: 48px; max-width: 360px; font-size: 14px; line-height: 1.6; color: var(--on-dark-muted); }
.footer__phone { display: flex; flex-direction: column; align-items: flex-end; gap: 30px; }
.footer__phone > a { font-size: 76px; line-height: 1; font-weight: 300; letter-spacing: -.01em; white-space: nowrap; transition: color .2s ease; }
.footer__phone > a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a, .socials button { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); transition: background-color .2s ease, color .2s ease; }
.socials a:hover, .socials button:hover { background: #fff; color: var(--dark); }
.socials .i { width: 15px; height: 15px; }
.footer__links { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px 40px; padding: 44px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__links a { font-size: 14px; line-height: 1.6; color: #ddd9d3; transition: color .2s ease; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding-top: 46px; font-size: 13px; color: var(--on-dark-muted); }
.footer__cookie { font-size: 13px; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.footer__cookie:hover { color: #fff; }
.footer__disc { margin-top: 16px; max-width: 640px; font-size: 12px; line-height: 1.5; color: #847c74; }

/* Баннер cookie */
.cookie {
  position: fixed; z-index: 280; left: 20px; bottom: 20px; width: min(440px, calc(100% - 24px));
  padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 20px 50px rgba(28, 25, 22, .2);
  opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .5s var(--ease);
}
.cookie.is-on { opacity: 1; transform: none; }
.cookie p { font-size: 14px; line-height: 1.45; color: var(--muted-2); }
.cookie a { color: var(--accent); }
.cookie__btns { display: flex; gap: 8px; margin-top: 16px; }
.cookie__btn { flex: 1; height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: var(--card); font-size: 14px; font-weight: 500; transition: background-color .25s ease; }
.cookie__btn:hover { background: #e4e1dc; }
.cookie__btn--main { background: var(--ink); color: #fff; }
.cookie__btn--main:hover { background: var(--accent); }

/* =========================================================
   Поп-ап заявки
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgba(28, 26, 24, .55); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.modal__box { position: relative; width: min(560px, 100%); padding: 40px 26px 30px; border-radius: var(--r-xl); background: #fff; transform: translateY(20px) scale(.98); transition: transform .4s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__title { font-size: 32px; line-height: 1.2; font-weight: 400; padding-right: 40px; }
.modal__close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card); transition: transform .3s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close .i { width: 12px; height: 12px; transform: rotate(45deg); }
.modal .form { margin-top: 30px; }

/* =========================================================
   Нижняя панель действий (мобильный)
   ========================================================= */
.bar { display: none; }

/* =========================================================
   Адаптив: планшет и мобильный (до 1199px)
   ========================================================= */
@media (max-width: 1199px) {
  :root { --gutter: 16px; }
  .section { padding-block: 64px; scroll-margin-top: 80px; }
  .panel { padding: 64px 24px; border-radius: 28px; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 36px; }
  .lead { font-size: 17px; margin-top: 16px; }

  /* Шапка */
  .header { height: 60px; top: 14px; padding: 0 6px 0 16px; width: calc(100% - 2 * var(--gutter) - 16px); gap: 8px; }
  .header.is-fixed { top: 8px; height: 60px; width: calc(100% - 16px); }
  .nav, .header__phone, .header__cta { display: none; }
  .header__icon { display: grid; }
  .header__icon--first { margin-left: auto; }

  /* Первый экран */
  .hero { padding-top: 8px; padding-bottom: 32px; }
  .hero__frame { --h: 0px; border-radius: 28px; }
  .hero__shade { background: linear-gradient(0deg, rgba(18, 16, 14, .85) 0%, rgba(18, 16, 14, .5) 55%, rgba(18, 16, 14, .6) 100%); }
  .hs { display: none; }
  .hero__body { grid-template-columns: 1fr; gap: 40px; padding: 130px 24px 120px; }
  .hero__text { max-width: 620px; }
  .climate { max-width: 440px; }
  .facts { margin-top: -80px; width: calc(100% - 2 * var(--gutter) - 32px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; padding: 24px 20px; }
  .facts li { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* 02 */
  .rs-head { grid-template-columns: 1fr; gap: 16px; }
  .rs { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .rs__side { display: contents; }
  .rs__tabs { order: 1; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .rs__tabs::-webkit-scrollbar { display: none; }
  .rs-tab { flex: 0 0 min(300px, 78%); scroll-snap-align: start; }
  .rs-tab:hover { transform: none; }
  .rs__art { order: 2; padding: 56px 20px 84px; }
  .rs-panel { order: 3; }

  /* 03 */
  .hide-head { grid-template-columns: 1fr; gap: 16px; }
  .hv { display: flex; flex-direction: column-reverse; gap: 0; margin-top: 36px; }
  .hv__media { position: sticky; top: 64px; z-index: 2; margin-inline: -24px; padding: 12px 24px; background: var(--surface); }
  .hv__stack { position: relative; top: auto; aspect-ratio: 16 / 10; }
  .hv__list { padding-left: 28px; }
  .hv__rail { top: 0; }
  .hv-item { min-height: 0; padding: 28px 0 32px; }
  .hv-item::before { left: -33px; top: 46px; margin-top: 0; }
  .hv-item__q { margin-top: 10px; font-size: 24px; }
  .hv-item__a { font-size: 16px; }
  .hm__mark > span { font-size: 13px; padding: 6px 12px; }

  /* 04 */
  .cta-banner { grid-template-columns: auto minmax(0, 1fr); padding: 28px 24px; gap: 20px 24px; }
  .cta-banner__act { grid-column: 1 / -1; align-items: flex-start; }
  .cta-banner__title { font-size: 26px; }

  /* 05 */
  .works-head { gap: 28px; }
  .filters { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .cx__top { grid-template-columns: 1fr; gap: 24px; }
  .cx__info { padding-right: 0; }
  .cx__bottom { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .cx__cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cx__close { top: 16px; right: 16px; }

  /* 06 */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 0; padding: 36px 24px; }
  .stat, .stat:first-child { padding: 0 16px; border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .22); }
  .stat b { font-size: 44px; }

  /* 07 */
  .pr-head { grid-template-columns: 1fr; gap: 16px; }
  .pr { gap: 40px; margin-top: 36px; }
  .pr-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pr-row > li:nth-child(2n) > .pr__rail::before, .pr-row > li:nth-child(2n) > .pr__rail::after { display: none; }

  /* 08 */
  .eng-head { grid-template-columns: 1fr; gap: 16px; }
  .eng { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .sheet { order: -1; max-width: 520px; width: 100%; margin: 0 auto; padding-left: 6%; }
  .sheet__photo { left: 0; }
  .feature { padding: 14px; margin-inline: -14px; }

  /* 09 */
  .eq-head, .tiers-head { grid-template-columns: 1fr; gap: 16px; }
  .eq { grid-template-columns: 1fr; margin-top: 36px; }
  .stock__bars { margin-top: 0; }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiers-head { margin-top: 72px; }
  .tiers { grid-template-columns: 1fr; margin-top: 32px; max-width: 560px; }
  .tier__text { min-height: 0; }

  /* 10 */
  .compare { display: block; margin-top: 40px; }
  .compare__col-us, .compare__row.compare__head { display: none; }
  .compare__row { display: block; padding: 20px; margin-bottom: 14px; border-radius: var(--r-lg); background: var(--card); }
  .compare__cell { min-height: 0; padding: 0; border: 0; font-size: 16px; }
  .compare__cell--label { margin-bottom: 14px; font-size: 18px; }
  .compare__cell--them { margin-bottom: 10px; }
  .compare__cell--us { padding: 12px 14px; border-radius: var(--r-md); background: var(--dark); }
  .compare__row:last-child .compare__cell { padding-bottom: 0; min-height: 0; }
  .compare__row:last-child .compare__cell--us { padding: 12px 14px; }

  /* 11 */
  .gx { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gx__title { grid-column: 1 / -1; max-width: none; }
  .gx-guar { grid-column: 1 / -1; min-height: 0; }
  .gx-guar__num b { font-size: 96px; }

  /* 12 */
  .sol-head { grid-template-columns: 1fr; gap: 16px; }
  .sol { grid-template-columns: 1fr; margin-top: 32px; }
  .sol__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sol-tab:hover { transform: none; }
  .sol-tab__price { font-size: 22px; }
  .sol__side { display: contents; }
  .sol__tabs { order: 1; }
  .sol__card { order: 2; }
  .sol-custom { order: 3; }
  .sol__incl { order: 4; }

  /* 13 */
  .lead-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 16px 16px 24px; border-radius: 28px; }
  .lead-card { margin: 0; padding: 36px 20px 20px; }
  .lead-card .h2 { font-size: 36px; }
  .lead-photo { margin-top: 0; max-width: 440px; }

  /* 14 */
  .reviews-head { flex-direction: column; gap: 28px; }
  .carousel-nav { margin-top: 36px; }
  .track { margin-top: 28px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .track--reviews { grid-auto-columns: min(560px, 86%); }
  .track--videos { grid-auto-columns: min(372px, 80%); }
  .review { min-height: 0; padding: 28px 24px; }
  .review blockquote { font-size: 16px; }

  /* 15 */
  .factors { grid-template-columns: 1fr; gap: 40px; }
  .factors__intro .lead { margin-top: 16px; }
  .factors__claim { order: 3; margin-top: 0; font-size: 22px; }
  .factors__intro { display: contents; }
  .factor-list { order: 2; }
  .factor { font-size: 15px; padding-right: 20px; }

  /* 16 */
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq__aside { position: static; }
  .faq-item__q { font-size: 17px; padding: 20px; }
  .faq-item__a p { padding: 0 20px 24px; font-size: 15px; }

  /* 17 */
  .contacts { grid-template-columns: 1fr; }
  .contact-list { margin-top: 36px; }
  .map { min-height: 360px; }

  /* 18 */
  .footer__box { padding: 48px 24px 32px; border-radius: 28px; }
  .footer__top { flex-direction: column; gap: 32px; padding-bottom: 36px; }
  .footer__about { margin-top: 24px; }
  .footer__phone { align-items: flex-start; gap: 20px; }
  .footer__phone > a { font-size: clamp(34px, 9vw, 60px); }
  .footer__links { grid-template-columns: 1fr; padding: 32px 0; }
  .cookie { left: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .footer__bottom { flex-direction: column; padding-top: 28px; padding-bottom: 80px; }

  /* Нижняя панель */
  .bar {
    position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px; border-radius: 40px; background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .bar.is-on { transform: none; }
  .bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 60px; border-radius: 34px; font-size: 12px; color: var(--ink); transition: background-color .3s ease, color .3s ease; }
  .bar a .i { width: 18px; height: 18px; }
  .bar a.is-main { background: var(--ink); color: #fff; }
}

/* Узкий телефон */
@media (max-width: 767px) {
  .h1 { font-size: 32px; }
  .h2 { font-size: 28px; }
  .lead { font-size: 16px; }
  .panel { padding: 48px 20px; }
  .section { padding-block: 52px; }
  .hero__body { padding: 110px 16px 120px; gap: 32px; }
  .hero__eyebrow { font-size: 12px; height: 30px; }
  .hero__title { font-size: 34px; line-height: 1.08; margin-top: 18px; }
  .hero__lead { font-size: 16px; margin-top: 20px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 28px; }
  .hero__cta .btn { white-space: normal; text-align: left; font-size: 17px; }
  .hero__cta small { max-width: none; text-align: center; }
  .climate { padding: 16px; }
  .climate__label { font-size: 12px; white-space: nowrap; }
  .climate__status { font-size: 13px; }
  .metric { padding: 12px 12px 14px; }
  .metric__val b { font-size: 26px; }
  .seg button { font-size: 13px; }

  .facts { grid-template-columns: 1fr 1fr; width: calc(100% - 2 * var(--gutter)); }
  .pr-phase__time { margin-left: 0; flex-basis: 100%; }
  .pr-row { grid-template-columns: 1fr; gap: 0; }
  .pr-row > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding-bottom: 16px; }
  .pr-row > li:last-child { padding-bottom: 0; }
  .pr__rail { height: auto; margin: 0; }
  .pr-row > li:nth-child(n) > .pr__rail::before, .pr-row > li:nth-child(n) > .pr__rail::after { display: block; left: 21px; right: auto; top: 44px; bottom: -16px; width: 2px; height: auto; transform-origin: top; }
  .pr-row > li > .pr__rail::after { transform: scaleY(0); }
  .pr-row > li.is-done > .pr__rail::after { transform: scaleY(1); }
  .pr-row > li:nth-child(n):last-child > .pr__rail::before, .pr-row > li:nth-child(n):last-child > .pr__rail::after { display: none; }
  .pr-pause > .pr__rail::before { background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .pr-pause.is-done > .pr__rail::after { background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .bt { min-height: 120px; }
  .rs__art { padding: 52px 4px 80px; }
  .rs-t { font-size: 17px; }
  .rs-t--opt { display: none; }
  .rs-t--mob { display: inline; }
  .rs__chip { top: 14px; left: 14px; font-size: 12px; }
  .rs__seen { left: 12px; right: 12px; bottom: 12px; font-size: 14px; line-height: 1.25; }
  .rs-tab b { font-size: 16px; }
  .rs-meter__bars i { width: 20px; }
  .hm__mark > span { display: none; }
  .hv__media { margin-inline: -20px; padding-inline: 20px; }
  .works { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .works::-webkit-scrollbar { display: none; }
  .work { scroll-snap-align: start; }
  .works-more { display: none !important; }
  .filters { align-self: stretch; border-radius: 22px; }
  .work__facts { gap: 16px; }
  .work.is-open::before { bottom: calc(-1 * var(--bleed)); border-radius: calc(var(--r-lg) + var(--bleed)); }
  .work.is-open .work__join { display: none; }
  .works { padding-top: 12px; padding-bottom: 12px; }
  .cx { margin: 8px 0 0; }
  .cx__body { padding: 20px 16px; border-radius: var(--r-lg); }
  .cx__title { font-size: 24px; padding-right: 44px; }
  .cx__facts { grid-template-columns: 1fr 1fr; }
  .cx__facts div:last-child { grid-column: 1 / -1; }
  .cx__bottom { grid-template-columns: 1fr; }
  .cx__cta { flex-direction: column; align-items: stretch; }
  .cx__nav button span { display: none; }
  .cx__nav button { width: 42px; padding: 0; justify-content: center; }
  .work__facts dd { font-size: 15px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 36px; }
  .stat > span { font-size: 14px; margin-top: 10px; }
  .stat:last-child { grid-column: 1 / -1; border-left: 0; }

  .gx { grid-template-columns: 1fr; }
  .sol__tabs { grid-template-columns: 1fr; }
  .sol-tab { padding: 16px; }
  .sol__art { padding: 16px 8px 14px; }
  .sol-panel { padding: 20px 18px 22px; }
  .sol-lists { grid-template-columns: 1fr; gap: 20px; }
  .sol-panel__foot { flex-direction: column; align-items: stretch; }
  .sol-price b { font-size: 38px; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__ava { width: 72px; height: 72px; }
  .cta-banner__act { align-items: stretch; }
  .cta-banner .btn { width: 100%; }
  .cta-banner__act small { text-align: center; }
  .footer__links a { font-size: 14px; }
  .contact-chip { padding-right: 18px; }
  .modal__title { font-size: 26px; }
  .modal__box { padding: 32px 18px 24px; border-radius: 28px; }
}

/* Меньше движения, если так настроена система */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
