/* Mebelsteps — лендинг. Токены из Figma (коллекция Mebelsteps) */
:root {
  --white: #fff;
  --mist-50: #F3F7F6;
  --mist-100: #E6EEED;
  --line: #DCE5E4;
  --ink-900: #132423;
  --ink-600: #536462;
  --ink-400: #93A2A0;
  --brand-50: #EAF6F6;
  --brand-100: #DDEFEE;
  --brand-500: #48B7BC;
  --brand-700: #1D7F84;
  --clay-50: #F8ECE5;
  --clay-500: #C96F4A;
  --clay-600: #B2573A;
  --clay-700: #95452D;

  --grad-warm-mist: linear-gradient(90deg, var(--clay-50) 0%, var(--white) 50%, var(--brand-100) 100%);
  --shadow-float: 0 18px 44px rgba(24, 32, 31, .14);
  --shadow-paper: 0 16px 36px -14px rgba(19, 36, 35, .18);

  --r-12: 12px; --r-16: 16px; --r-20: 20px; --r-24: 24px; --r-28: 28px; --r-32: 32px;
  --container: 1200px;
  --gutter: 24px;
  --section-y: 80px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 24px;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
b, strong { font-weight: 600; }
hr { border: 0; height: 1px; background: var(--line); margin: 0; }
:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 3px; border-radius: 6px; }
[data-inactive] { cursor: default; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

/* Фоны секций */
/* Фоны: белая страница + 1–2 мягких «шара» на секцию, смещённых влево или вправо.
   Шары — псевдоэлементы с радиальным градиентом без резких краёв; они могут
   выходить за границы секции, поэтому соседние секции прозрачные. */
:root {
  --orb-warm: 240, 205, 186;   /* терракотовый туман */
  --orb-teal: 182, 225, 223;   /* бирюзовый туман */
}
.bg-mist, .bg-warm, .bg-warm-soft { background: transparent; }
.orbs { position: relative; isolation: isolate; overflow-x: clip; }
/* Шары привязаны к колонке контента, а не к краям экрана: на 1920 они остаются за текстом и фото.
   --edge — ширина бокового поля (0 на узких экранах). */
.orbs::before, .orbs::after { --edge: max(0px, (100% - var(--container)) / 2); }
.orbs::before, .orbs::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  width: var(--s, 760px); height: var(--s, 760px);
  background: radial-gradient(closest-side, rgba(var(--c), .62) 0%, rgba(var(--c), .38) 38%, rgba(var(--c), .14) 66%, rgba(var(--c), 0) 100%);
}
.orbs::after { width: var(--s2, 640px); height: var(--s2, 640px); background: radial-gradient(closest-side, rgba(var(--c2), .62) 0%, rgba(var(--c2), .38) 38%, rgba(var(--c2), .14) 66%, rgba(var(--c2), 0) 100%); }
.orbs--one::after { display: none; }

/* Hero: тёплый шар слева за текстом, бирюзовый справа за фото */
.hero.orbs::before { --c: var(--orb-warm); --s: 900px; left: calc(var(--edge) - 440px); top: -260px; }
.hero.orbs::after { --c2: var(--orb-teal); --s2: 820px; right: calc(var(--edge) - 420px); top: 180px; }
/* Ваша идея: бирюзовый шар справа за окном приложения */
.order.orbs::before { --c: var(--orb-teal); --s: 860px; right: calc(var(--edge) - 340px); top: 50%; transform: translateY(-50%); }
/* Каждый шаг: тёплый шар слева за карточкой проекта */
.track.orbs::before { --c: var(--orb-warm); --s: 860px; left: calc(var(--edge) - 380px); top: 50%; transform: translateY(-50%); }
/* Почему выгодно: тёплый слева, лёгкий бирюзовый справа внизу */
.why.orbs::before { --c: var(--orb-warm); --s: 760px; left: calc(var(--edge) - 420px); top: 50%; transform: translateY(-50%); }
.why.orbs::after { --c2: var(--orb-teal); --s2: 560px; right: calc(var(--edge) - 280px); bottom: -180px; }
/* Отзывы: тёплый шар справа */
.reviews.orbs::before { --c: var(--orb-warm); --s: 780px; right: calc(var(--edge) - 380px); top: 50%; transform: translateY(-50%); }

@media (max-width: 760px) {
  .hero.orbs::before { --s: 560px; left: -260px; top: -200px; }
  .hero.orbs::after { --s2: 520px; right: -240px; top: auto; bottom: 0; }
  .order.orbs::before, .track.orbs::before, .why.orbs::before, .reviews.orbs::before { --s: 520px; }
  .order.orbs::before { right: -260px; }
  .track.orbs::before { left: -280px; }
  .why.orbs::before { left: -280px; }
  .why.orbs::after { --s2: 380px; right: -180px; }
  .reviews.orbs::before { right: -280px; }
}

/* Типографика */
.h1 { font-size: 54px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.h1 em { font-style: normal; color: var(--clay-600); white-space: nowrap; }
.h1__tail { display: block; margin-top: 14px; font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-900); }
.h2 { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.015em; }
.h2-lg { font-size: 44px; line-height: 52px; font-weight: 600; letter-spacing: -0.015em; }
.h2-xl { font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -0.015em; }
.h3 { font-size: 22px; line-height: 30px; font-weight: 600; }
.body-l { font-size: 18px; line-height: 28px; color: var(--ink-600); }
.body-l.strong { color: var(--ink-900); font-weight: 600; }
.muted { color: var(--ink-600); }
.center { text-align: center; }
.caption { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-600); }
.caption-r { font-size: 14px; line-height: 20px; color: var(--ink-600); }
.kicker { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-700); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 18px 28px; border-radius: 999px;
  font-size: 16px; line-height: 20px; font-weight: 600; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--clay-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(178, 87, 58, .7); }
.btn--primary:hover { background: #A04C31; box-shadow: 0 12px 26px -10px rgba(178, 87, 58, .75); }
.btn--outline { background: var(--white); color: var(--clay-700); border: 1.5px solid var(--clay-600); }
.btn--outline:hover { background: var(--clay-50); }
.btn--ondark { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid #fff; }
.btn--ondark:hover { background: rgba(255, 255, 255, .16); }
.btn--sm { min-height: 44px; padding: 12px 24px; }
.btn--md { min-height: 52px; padding: 15px 24px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--ink-900); color: var(--ink-900);
  transition: background-color .2s, color .2s, opacity .2s;
}
.icon-btn:hover { background: var(--ink-900); color: #fff; }
.icon-btn:disabled { opacity: .35; pointer-events: none; }

.brand-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-600);
}
.avatar {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--mist-100); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--ink-900);
}
.avatar--brand { background: var(--brand-100); color: var(--brand-700); }

/* ===== Хедер ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(19, 36, 35, .25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 72px; }
.header__logo img { width: 158px; height: 40px; }
.nav { display: flex; gap: 36px; }
.nav__link { position: relative; font-size: 15px; line-height: 24px; font-weight: 500; color: var(--ink-900); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[data-inactive]:hover::after { transform: scaleX(0); }
.nav__link--underline { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nav__link--underline::after { display: none; }
.header__actions { display: flex; align-items: center; gap: 24px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.header__phone:hover { color: var(--clay-700); }
.burger { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); }

/* Мобильное меню */
.mmenu { position: fixed; inset: 0; z-index: 60; background: rgba(19, 36, 35, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s var(--ease); }
.mmenu.is-open { opacity: 1; }
.mmenu__panel { position: absolute; inset: 0 0 auto 0; background: radial-gradient(circle 420px at 0 0, rgba(var(--orb-warm), .55), rgba(var(--orb-warm), 0) 100%), radial-gradient(circle 380px at 100% 100%, rgba(var(--orb-teal), .6), rgba(var(--orb-teal), 0) 100%), #fff; padding: 11px var(--gutter) 28px; border-radius: 0 0 28px 28px; transform: translateY(-16px); transition: transform .35s var(--ease); box-shadow: var(--shadow-float); }
.mmenu.is-open .mmenu__panel { transform: none; }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; }
.mmenu__nav { display: flex; flex-direction: column; margin: 24px 0; }
.mmenu__nav > * { padding: 14px 0; font-size: 20px; line-height: 28px; font-weight: 600; border-bottom: 1px solid var(--line); text-align: left; }
.mmenu__bottom { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.mmenu__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ===== Hero ===== */
.hero { padding: 48px 0 80px; margin-top: -1px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 600px) 536px; justify-content: space-between; align-items: center; gap: 64px; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__lead { font-size: 20px; line-height: 30px; color: var(--ink-600); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.hero__cats { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; line-height: 20px; font-weight: 500; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.chip:hover { border-color: #C9D6D4; box-shadow: 0 6px 16px -10px rgba(19, 36, 35, .35); transform: translateY(-1px); }

.hero__visual { position: relative; width: 536px; height: 600px; }
.hero__photo { position: absolute; left: 36px; top: 0; width: 500px; height: 600px; border-radius: var(--r-32); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(19, 36, 35, .35); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: var(--white); border-radius: var(--r-20); box-shadow: var(--shadow-float); }
.stages-card { left: 322px; top: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; animation: float 7s ease-in-out infinite; }
.stages-card__row { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 24px; font-weight: 500; white-space: nowrap; }
.stages-card__row svg { width: 22px; height: 22px; }
.stages-card__row.is-current { font-weight: 600; }
.stages-card__row.is-next { color: var(--ink-600); }
.offers-card { left: 0; top: 484px; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; animation: float 7s ease-in-out -3.5s infinite; }
.avatars { display: flex; flex: none; padding-left: 3px; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-sizing: content-box; margin: -3px; object-fit: cover; }
.avatars img + img { margin-left: -15px; }
.offers-card__title { font-size: 16px; line-height: 20px; font-weight: 600; }
.offers-card__text { font-size: 14px; line-height: 20px; color: var(--ink-600); margin-top: 2px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== Секции ===== */
.section { padding: var(--section-y) 0; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.section-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* Split (демо) */
.split__inner { display: grid; grid-template-columns: 408px 728px; justify-content: space-between; align-items: center; gap: 64px; }
.split__inner--rev { grid-template-columns: 728px 408px; }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.demo-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-24);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-paper);
}
.demo-card__title { font-size: 26px; line-height: 34px; font-weight: 600; }

.seg { display: grid; grid-template-columns: repeat(3, 154px); gap: 16px; }
.seg__item {
  padding: 8px 12px; border-radius: var(--r-12); background: var(--brand-50); border: 1px solid transparent;
  font-size: 12px; line-height: 18px; font-weight: 500; text-align: center; transition: background .2s, border-color .2s, color .2s;
}
.seg__item:hover { background: var(--brand-100); }
.seg__item.is-active { background: var(--clay-50); border-color: var(--clay-600); color: var(--clay-700); }
.field { border: 1px solid var(--brand-700); border-radius: var(--r-12); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink-600); }
.field__value { font-size: 16px; line-height: 26px; min-height: 52px; }
.field__value.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 18px; margin-left: 2px; vertical-align: -3px; background: var(--brand-700); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.order-demo__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 16px; border-radius: var(--r-12); background: var(--white); border: 1px solid var(--line); }
.mini-card--tint { background: var(--brand-50); border-color: var(--brand-50); }
.mini-card b { display: block; font-size: 16px; line-height: 20px; }
.mini-card small { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-600); }
.mini-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); }
.order-demo__works { display: flex; flex-direction: column; gap: 6px; }
.order-demo__works p { font-size: 14px; line-height: 22px; font-weight: 600; }

/* Как это работает */
.how { padding: 72px 0 80px; }
.how .h2 { margin-bottom: 40px; }
.how__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how__steps::before { content: ""; position: absolute; top: 232px; left: calc(100% / 6); right: calc(100% / 6); border-top: 1.5px dashed #C3CFCD; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step__ill { width: 220px; height: 176px; border-radius: var(--r-20); background: var(--mist-50); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover .step__ill { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(19, 36, 35, .35); }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; margin: 32px 0 24px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font-weight: 600; position: relative; }
.step .h3 { margin-bottom: 8px; max-width: 320px; }
.step .body-l { max-width: 320px; }
.offers-ill .oc { transition: transform .5s var(--ease), opacity .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.offers-ill[data-offers="1"] .oc-2, .offers-ill[data-offers="1"] .oc-3 { opacity: 0; transform: translateY(14px); }
.offers-ill[data-offers="2"] .oc-3 { opacity: 0; transform: translateY(14px); }
.offers-ill .oc-badge { transition: transform .3s var(--ease); transform-box: fill-box; transform-origin: center; }
.offers-ill.is-bump .oc-badge { transform: scale(1.14); }


/* Сценарии */
.scope__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.scope-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px;
  border-radius: var(--r-16); background: var(--white); border: 1px solid var(--line);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.scope-tab:hover { border-color: #BFD3D1; box-shadow: 0 10px 24px -18px rgba(19, 36, 35, .4); }
.scope-tab b { display: block; font-size: 22px; line-height: 30px; }
.scope-tab small { display: block; margin-top: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-600); }
.radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: border-color .25s; }
.radio::after { content: ""; position: absolute; inset: 1.5px; border-radius: 50%; background: var(--brand-700); transform: scale(0); transition: transform .25s var(--ease); }
.scope-tab.is-active { background: var(--brand-50); border: 1px solid var(--brand-700); box-shadow: inset 0 0 0 .5px var(--brand-700); }
.scope-tab.is-active .radio { border-color: transparent; }
.scope-tab.is-active .radio::after { transform: scale(1); }
.scope__panel { background: var(--mist-50); border-radius: var(--r-24); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.scope__head { display: flex; flex-direction: column; gap: 8px; }
.scope__head p, .scope__foot p { transition: opacity .2s; }
.scope__stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stage {
  display: flex; flex-direction: column; gap: 12px; padding: 12px; min-height: 86px;
  border-radius: var(--r-12); border: 1px solid var(--line); background: transparent;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-600);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.stage em { font-style: normal; display: none; }
.stage.is-on { background: var(--white); border-color: var(--brand-500); }
.stage.is-on .stage__num { color: var(--brand-700); }
.stage.is-on em { display: inline; }
.stage.is-on .stage__name { color: var(--ink-900); }
.scope__panel[data-mode="custom"] .stage { cursor: pointer; }
.scope__panel[data-mode="custom"] .stage:hover { border-color: var(--brand-500); }
.scope__panel[data-mode="custom"] .stage__name { color: var(--ink-900); }
.scope__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; }

/* Демо «как в приложении»: окно браузера с экраном создания заявки */
.app-mock { position: relative; margin: 0; padding-top: 18px; }
.app-mock__badge { position: absolute; top: 0; left: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ink-900); color: #fff; font-size: 12px; line-height: 16px; font-weight: 500; box-shadow: 0 8px 18px -10px rgba(19, 36, 35, .6); }
.app-mock__window { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #D5DEDC; box-shadow: 0 30px 60px -30px rgba(19, 36, 35, .35), 0 2px 6px rgba(19, 36, 35, .05); }
.app-mock__bar { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 14px; background: #EEF2F1; border-bottom: 1px solid #DDE4E2; }
.app-mock__dots { display: flex; gap: 6px; }
.app-mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D3DBD9; }
.app-mock__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 320px; margin: 0 auto; height: 24px; padding: 0 12px; border-radius: 8px; background: #fff; font: 500 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif; color: #7E8D8B; transform: translateX(-20px); }
.app-mock__screen { background: #F6F8F7; padding: 20px 22px 18px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #111; }
.app-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12px; line-height: 16px; color: #6B7775; white-space: nowrap; }
.app-steps li { display: flex; align-items: center; gap: 6px; }
.app-steps li + li::before { content: ""; width: 28px; height: 1px; background: #D6DEDC; margin-right: 4px; }
.app-steps b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #E7ECEB; font-size: 11px; font-weight: 600; color: #6B7775; }
.app-steps .is-current { color: #111; font-weight: 600; }
.app-steps .is-current b { background: #146C68; color: #fff; }
.app-card { background: #fff; border: 1px solid #E1E7E5; border-radius: 12px; padding: 18px; }
.app-card__title { font-size: 19px; line-height: 24px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.app-label { display: block; font-size: 12px; line-height: 16px; font-weight: 600; margin: 12px 0 6px; }
.app-card .app-label:first-of-type { margin-top: 0; }
.app-mock .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.app-mock .seg__item { padding: 6px 12px; border-radius: 7px; background: #fff; border: 1px solid #D9E0DE; font-size: 13px; line-height: 18px; font-weight: 500; color: #111; text-align: center; }
.app-mock .seg__item:hover { background: #F2F6F5; }
.app-mock .seg__item.is-active { background: #E5F2F1; border-color: #146C68; color: #146C68; font-weight: 600; }
.seg__more { display: grid; place-items: center; padding: 6px 10px; border-radius: 7px; border: 1px dashed #D9E0DE; font-size: 13px; line-height: 18px; color: #8A9694; }
.app-input { min-height: 36px; padding: 8px 12px; border-radius: 8px; border: 1px solid #D9E0DE; background: #fff; font-size: 13px; line-height: 20px; }
.app-input--area { min-height: 64px; }
.app-input p.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 14px; margin-left: 2px; vertical-align: -2px; background: #146C68; animation: caret 1s steps(1) infinite; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.app-chip { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; border: 1px solid #E1E7E5; background: #fff; min-width: 0; }
.app-chip--tint { background: #EEF6F5; border-color: #E0EEEC; }
.app-chip__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #E5F2F1; }
.app-chip img { flex: none; width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }
.app-chip img.is-round { border-radius: 50%; }
.app-chip b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }
.app-chip small { display: block; font-size: 11px; line-height: 15px; color: #6B7775; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-chip > span { min-width: 0; }
.app-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 12px; line-height: 16px; color: #6B7775; }
.app-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px; background: #146C68; color: #fff; font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) {
  .app-mock__badge { left: 16px; }
  .app-mock__window { border-radius: 14px; }
  .app-mock__url { transform: none; font-size: 11px; }
  .app-mock__screen { padding: 14px 12px; }
  .app-steps { gap: 6px; font-size: 11px; }
  .app-steps li:not(.is-current) span, .app-steps li + li::before { width: 10px; }
  .app-steps li:not(.is-current) { font-size: 0; gap: 0; }
  .app-steps li:not(.is-current) b { font-size: 11px; }
  .app-card { padding: 14px; }
  .app-card__title { font-size: 17px; }
  .app-row { grid-template-columns: 1fr; }
  .seg__more { display: none; }
  .app-foot span:first-child { display: none; }
  .app-foot { justify-content: flex-end; }
  .app-btn { width: 100%; justify-content: center; padding: 11px 14px; }
}

/* Отслеживание */
.track-demo__head { display: flex; align-items: center; gap: 20px; }
.track-demo__head img { border-radius: var(--r-12); }
.track-demo__head .caption { margin-top: 8px; }
.timeline { display: flex; flex-direction: column; gap: 8px; }
.tl { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-16); }
.tl b { display: block; font-size: 16px; line-height: 20px; }
.tl small { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-600); }
.tl__mark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line); font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink-400); }
.tl + .tl::before { content: ""; position: absolute; left: 27.25px; top: -18px; height: 26px; border-left: 1.5px solid #C9D3D2; }
.tl + .tl::after { content: ""; position: absolute; left: 24.5px; top: 3px; width: 5px; height: 5px; border-right: 1.5px solid #C9D3D2; border-bottom: 1.5px solid #C9D3D2; transform: rotate(45deg); }
.tl.is-done .tl__mark { background: var(--brand-100); border-color: var(--brand-100); color: var(--brand-700); }
.tl.is-done small { color: var(--brand-700); }
.tl.is-done + .tl::before, .tl.is-done + .tl::after { border-color: #9CD3D5; }
.tl.is-current { background: var(--clay-50); }
.tl.is-current .tl__mark { background: #F1D5C8; border-color: #D9A08A; color: var(--clay-700); box-shadow: 0 0 0 4px rgba(201, 111, 74, .14); }
.tl.is-current small { color: var(--clay-700); }
.tl.is-current small i { width: 6px; height: 6px; border-radius: 50%; background: var(--clay-500); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.docs { background: var(--clay-50); border-radius: var(--r-12); padding: 6px 16px; }
.docs__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.docs__row + .docs__row { border-top: 1px solid rgba(178, 87, 58, .15); }
.docs__row b { font-size: 16px; line-height: 24px; }
.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.file { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 14px; border-radius: var(--r-12); background: var(--clay-50); text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.file:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(19, 36, 35, .45); }
.file__icon { position: relative; color: #C9B7AD; }
.file--doc .file__icon { color: #A9C4D6; }
.file__icon em { position: absolute; left: -6px; bottom: 5px; padding: 2px 5px; border-radius: 5px; font-style: normal; font-size: 9px; line-height: 12px; font-weight: 600; letter-spacing: .04em; color: #fff; background: var(--clay-600); }
.file--doc .file__icon em { background: #2F6E9E; }
.file__name { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-900); overflow-wrap: anywhere; }
@media (max-width: 760px) { .files { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-600); }
.link-btn { text-decoration: underline; text-decoration-color: rgba(83, 100, 98, .45); text-underline-offset: 3px; }
.link-btn svg { color: var(--ink-900); }

/* Примеры работ */
.works__grid { display: grid; grid-template-columns: 728px 408px; justify-content: space-between; align-items: start; gap: 64px; }
.work { display: flex; flex-direction: column; gap: 16px; }
.work__img { display: block; width: 100%; border-radius: var(--r-24); overflow: hidden; background: var(--mist-50); cursor: zoom-in; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work__img:hover img { transform: scale(1.035); }
.work--wide .work__img { aspect-ratio: 728 / 440; }
.work--tall .work__img { aspect-ratio: 408 / 503; }
.works__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.thumb { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-16); overflow: hidden; cursor: zoom-in; background: var(--mist-50); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.thumb:hover img { transform: scale(1.06); }

/* Почему выгодно */
.why__inner { display: grid; grid-template-columns: 360px 792px; justify-content: space-between; align-items: center; gap: 48px; }
.why__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.why__quote { font-size: 18px; line-height: 28px; }
.why__text .body-l.muted { margin-top: -8px; }
.why__text .btn { margin-top: 16px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-28); overflow: hidden; display: grid; place-items: center; }
.video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--white); color: var(--ink-900); box-shadow: 0 12px 32px rgba(19, 36, 35, .18);
  transition: transform .3s var(--ease);
}
.video__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.video:hover .video__play { transform: scale(1.06); }
.video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing .video__play, .video.is-playing > img { display: none; }

/* Сравнение */
.compare .h2 { margin-bottom: 48px; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { display: flex; flex-direction: column; gap: 24px; padding: 36px; border-radius: var(--r-28); background: var(--white); border: 1px solid var(--line); }
.price-card__title { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 20px; font-weight: 600; color: var(--ink-600); }
.price-card--brand { background: linear-gradient(90deg, var(--white) 0%, var(--brand-50) 48%, var(--brand-100) 100%); border-color: var(--brand-700); box-shadow: 0 24px 48px -30px rgba(29, 127, 132, .45); }
.price-card--brand .price-card__title { color: var(--ink-900); }
.price-card__body { display: grid; grid-template-columns: 200px 1fr; }
.price-card__price { display: flex; flex-direction: column; gap: 4px; padding-right: 32px; }
.price-card__price strong { font-size: 38px; line-height: 48px; white-space: nowrap; }
.price-card__details { display: flex; flex-direction: column; gap: 10px; padding-left: 32px; border-left: 1px solid var(--line); }
.price-card--brand .price-card__details { border-left-color: var(--ink-600); }
.price-card__details hr { margin: 10px 0; }
.price-card--brand hr { background: var(--ink-600); }
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 24px; }
.ticks svg { flex: none; width: 20px; height: 20px; }
.ic-dot, .ic-x, .ic-dash { color: var(--ink-400); }
.ic-check { color: var(--brand-700); }
.ticks .is-off { color: var(--ink-600); }
.ticks s { text-decoration-thickness: 1px; }
.price-card--brand .btn { margin-top: auto; }
.compare__note { margin-top: 48px; font-size: 14px; line-height: 22px; color: var(--ink-600); }

/* Отзывы */
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 232px; padding: 32px; border-radius: var(--r-24); background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.review:hover { box-shadow: 0 18px 36px -24px rgba(19, 36, 35, .35); transform: translateY(-2px); }
.stars { display: flex; gap: 4px; color: var(--clay-500); margin-bottom: 20px; }
.stars svg { width: 18px; height: 18px; }
.review p { font-size: 18px; line-height: 28px; }
.review footer { display: flex; align-items: center; gap: 12px; font-weight: 600; line-height: 20px; }
.carousel-nav { display: flex; gap: 12px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; background: var(--ink-400); transition: width .3s var(--ease), background .3s; }
.dots button.is-active { width: 28px; background: var(--ink-900); }

/* Категории */
.cats .section-head { margin-bottom: 48px; }
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat { position: relative; display: flex; align-items: flex-end; height: 380px; padding: 16px; border-radius: var(--r-24); overflow: hidden; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 36, 35, 0) 55%, rgba(19, 36, 35, .35) 100%); }
.cat:hover img { transform: scale(1.05); }
.cat__bar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.cat__label { padding: 12px 18px; border-radius: 999px; background: var(--white); font-weight: 600; line-height: 20px; }
.cat__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); transition: background .3s, color .3s, transform .3s var(--ease); }
.cat:hover .cat__arrow { background: var(--clay-600); color: #fff; transform: rotate(45deg); }
.cats__cta-m { display: none; margin-top: 24px; }

/* ===== Футер ===== */
.footer { background: linear-gradient(90deg, var(--ink-900) 0%, #214A45 100%); color: #fff; padding: 88px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 24px; }
.footer__col > * { text-align: left; color: rgba(255, 255, 255, .92); transition: color .2s; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__contacts { display: flex; flex-direction: column; gap: 16px; font-style: normal; }
.footer__contacts a { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.footer__contacts svg { color: var(--brand-500); }
.footer__contacts a:hover { color: #BFE6E8; }
.footer__hr { margin: 48px 0; background: rgba(255, 255, 255, .5); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 32px; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .85); }
.footer__bottom > p { max-width: 560px; }
.footer__pay { display: flex; align-items: center; gap: 20px; }
.footer__pay p { max-width: 250px; }
.pay-chip { flex: none; display: block; padding: 10px 16px; border-radius: 12px; background: #fff; }
.pay-chip img { width: 308px; height: 24px; object-fit: contain; }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 40px 96px; background: rgba(13, 24, 23, .9); opacity: 0; transition: opacity .3s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__fig img { max-width: min(1100px, 100%); max-height: calc(100vh - 140px); border-radius: var(--r-20); object-fit: contain; }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .8); font-size: 14px; }
.lightbox .icon-btn { position: absolute; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }
.lightbox .icon-btn:hover { background: #fff; color: var(--ink-900); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Окно заявки */
.lead { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 24px; background: rgba(19, 36, 35, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); overflow-y: auto; }
.lead.is-open { opacity: 1; }
.lead__panel { position: relative; width: min(480px, 100%); background: #fff; border-radius: var(--r-28); padding: 36px; box-shadow: 0 40px 80px -30px rgba(19, 36, 35, .5); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); }
.lead.is-open .lead__panel { transform: none; }
.lead__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-color: var(--line); }
.lead__form { display: flex; flex-direction: column; gap: 16px; }
.lead__form .kicker { margin-bottom: -8px; }
.lead__title { font-size: 26px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; padding-right: 40px; }
.lead__summary { padding: 14px 16px; border-radius: var(--r-16); background: var(--brand-50); border: 1px solid var(--brand-100); }
.lead__scenario { font-weight: 600; font-size: 15px; line-height: 22px; }
.lead__stages { font-size: 13px; line-height: 20px; color: var(--ink-600); margin-top: 2px; }
.lead__field { display: flex; flex-direction: column; gap: 6px; }
.lead__field > span { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-600); }
.lead__field input { height: 52px; padding: 0 16px; border-radius: var(--r-12); border: 1px solid var(--line); background: #fff; font: inherit; font-size: 16px; color: var(--ink-900); outline: none; transition: border-color .2s, box-shadow .2s; }
.lead__field input:focus { border-color: var(--brand-700); box-shadow: 0 0 0 4px rgba(29, 127, 132, .12); }
.lead__field input.is-invalid { border-color: var(--clay-600); box-shadow: 0 0 0 4px rgba(178, 87, 58, .1); }
.lead__error { font-style: normal; font-size: 13px; line-height: 18px; color: var(--clay-700); }
.lead__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--ink-600); cursor: pointer; }
.lead__consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--clay-600); }
.lead__consent a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.lead__consent.is-invalid span { color: var(--clay-700); }
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__form .btn:disabled { opacity: .7; cursor: wait; }
.lead__fail { font-size: 14px; line-height: 20px; color: var(--clay-700); text-align: center; }
.lead__fail a { font-weight: 600; white-space: nowrap; }
.lead__done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 16px 0 4px; }
.lead__done .lead__title { padding: 0; }
.lead__done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); margin-bottom: 4px; }
.lead__done .btn { margin-top: 8px; min-width: 160px; }
@media (max-width: 760px) {
  .lead { place-items: end center; padding: 0; }
  .lead__panel { width: 100%; border-radius: 24px 24px 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .lead__title { font-size: 22px; line-height: 30px; }
  .lead__close { top: 12px; right: 12px; }
}

/* Появление при скролле */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal--right { transform: translateX(32px); }
.js .reveal--left { transform: translateX(-32px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 1024px) { .js .reveal--right, .js .reveal--left { transform: translateY(24px); } }

/* ===== Адаптив ===== */
@media (min-width: 1680px) {
  :root { --container: 1280px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 560px; gap: 96px; }
  .hero__visual { width: 560px; height: 620px; }
  .hero__photo { width: 520px; height: 620px; left: 40px; }
  .stages-card { left: auto; right: 24px; }
  .offers-card { top: auto; bottom: 56px; }
  .split__inner { grid-template-columns: 420px minmax(0, 1fr); gap: 96px; }
  .split__inner--rev { grid-template-columns: minmax(0, 1fr) 420px; }
  .works__grid { grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr); gap: 72px; }
  .why__inner { grid-template-columns: 380px minmax(0, 1fr); gap: 72px; }
}

@media (max-width: 1240px) {
  .nav { gap: 24px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 480px; gap: 40px; }
  .hero__visual { width: 480px; height: 560px; }
  .hero__photo { width: 450px; height: 560px; left: 30px; }
  .stages-card { left: auto; right: 16px; }
  .offers-card { top: auto; bottom: 40px; }
  .h1 { font-size: 48px; line-height: 56px; }
  .split__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
  .split__inner--rev { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .seg { grid-template-columns: repeat(3, 1fr); }
  .works__grid { grid-template-columns: 1.78fr 1fr; gap: 32px; }
  .why__inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.75fr); }
  .price-card__body { grid-template-columns: auto 1fr; }
}

@media (max-width: 1100px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .header__actions { gap: 12px; }
  :root { --header-h: 76px; }
}

@media (max-width: 1024px) {
  :root { --section-y: 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { width: min(100%, 600px); height: 600px; margin-inline: auto; }
  .hero__photo { width: auto; left: 36px; right: 0; height: 100%; }
  .split__inner, .split__inner--rev { grid-template-columns: 1fr; gap: 40px; }
  .split__inner--rev .split__text { order: -1; }
  .split__text { max-width: 640px; }
  .d-only { display: none; }
  .scope__stages { grid-template-columns: repeat(3, 1fr); }
  .why__inner { grid-template-columns: 1fr; gap: 40px; }
  .why__text { max-width: 600px; }
  .compare__grid { grid-template-columns: 1fr; }
  .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; row-gap: 40px; }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --section-y: 56px; --header-h: 66px; }
  .header.is-scrolled .header__inner { height: 62px; }
  .header__logo img { width: 142px; height: 36px; }
  .h1 { font-size: 36px; line-height: 42px; }
  .h1__tail { font-size: 22px; line-height: 30px; margin-top: 10px; }
  .h2, .h2-lg, .h2-xl { font-size: 30px; line-height: 38px; }
  .h3 { font-size: 20px; line-height: 28px; }
  .body-l { font-size: 16px; line-height: 26px; }
  .hero { padding: 24px 0 48px; }
  .hero__text { gap: 20px; }
  .hero__lead { font-size: 17px; line-height: 26px; }
  .hero__ctas { flex-direction: column; width: 100%; padding-top: 4px; }
  .hero__ctas .btn { width: 100%; }
  .hero__cats { padding-top: 8px; }
  .hero__visual { height: 420px; }
  .hero__photo { left: 0; border-radius: var(--r-24); }
  .stages-card { top: 16px; right: 16px; padding: 16px; gap: 10px; }
  .stages-card__row { font-size: 14px; }
  .offers-card { left: 16px; right: 16px; bottom: 16px; padding: 14px; }
  .demo-card { padding: 20px; border-radius: var(--r-20); }
  .demo-card__title { font-size: 22px; line-height: 30px; }
  .seg { gap: 8px; }
  .order-demo__row { grid-template-columns: 1fr; }
  .mini-card { min-height: 72px; }
  .how { padding: 56px 0; }
  .how__steps { grid-template-columns: 1fr; gap: 16px; }
  .how__steps::before { display: none; }
  .step { display: grid; grid-template-columns: 128px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 16px; text-align: left; align-items: start; padding: 12px; border-radius: var(--r-20); border: 1px solid var(--line); }
  .step__ill { grid-row: 1 / -1; width: 128px; height: 102px; border-radius: var(--r-16); }
  .step__ill img, .step__ill svg { width: 128px; height: 102px; }
  .step__num { width: 28px; height: 28px; margin: 2px 0 8px; font-size: 13px; }
  .step .h3 { font-size: 17px; line-height: 22px; margin-bottom: 4px; }
  .step .body-l { font-size: 14px; line-height: 20px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .scope__tabs { grid-template-columns: 1fr; gap: 12px; }
  .scope-tab { padding: 18px 20px; }
  .scope-tab b { font-size: 18px; line-height: 26px; }
  .scope-tab small { margin-top: 2px; }
  .scope__panel { padding: 20px; }
  .scope__stages { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .scope__foot { flex-direction: column; align-items: stretch; }
  .scope__foot .btn { width: 100%; }
  .track-demo__head { gap: 14px; }
  .track-demo__head img { width: 84px; height: auto; }
  .docs__row b { font-size: 15px; }
  .works__grid { grid-template-columns: 1fr; gap: 28px; }
  .works__cta { display: none; }
  .works__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; margin-top: 28px; }
  .works__strip::-webkit-scrollbar { display: none; }
  .works__strip { scroll-padding-inline: var(--gutter); }
  .works__strip::after { content: ""; flex: 0 0 1px; }
  .works__strip .thumb { flex: 0 0 42%; scroll-snap-align: start; }
  .video__play { width: 72px; height: 72px; }
  .video__play svg { width: 26px; height: 26px; }
  .price-card { padding: 24px; }
  .price-card__body { grid-template-columns: 1fr; gap: 20px; }
  .price-card__price { padding: 0; }
  .price-card__details { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .price-card--brand .price-card__details { border-top-color: var(--ink-600); }
  .price-card .btn { white-space: normal; text-align: center; }
  .compare .h2 { margin-bottom: 32px; }
  .compare__note { margin-top: 24px; }
  .reviews__track { grid-auto-columns: 86%; gap: 16px; }
  .review { padding: 24px; min-height: 0; }
  .review p { font-size: 17px; line-height: 26px; }
  .carousel-nav { display: none; }
  .dots { margin-top: 24px; }
  .cats .section-head { margin-bottom: 28px; }
  .cats__cta { display: none; }
  .cats__cta-m { display: inline-flex; }
  .cats__grid { gap: 12px; }
  .cat { height: 240px; padding: 10px; border-radius: var(--r-20); }
  .cat__label { padding: 9px 14px; font-size: 14px; }
  .cat__arrow { display: none; }
  .footer { padding: 56px 0 32px; }
  .footer__top { grid-template-columns: 1fr 1.25fr; grid-template-areas: "brand brand" "plat docs" "cab docs" "cont cont"; grid-template-rows: auto auto 1fr auto; column-gap: 20px; row-gap: 0; }
  .footer__brand { grid-area: brand; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  .footer__brand .btn { width: 100%; }
  .footer__col { gap: 10px; font-size: 14px; line-height: 20px; }
  .footer__col:nth-of-type(1) { grid-area: plat; margin-bottom: 10px; }
  .footer__col:nth-of-type(2) { grid-area: cab; align-self: start; }
  .footer__col:nth-of-type(3) { grid-area: docs; }
  .footer__contacts { grid-area: cont; display: grid; grid-template-columns: max-content max-content; justify-content: space-between; gap: 14px 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
  .footer__contacts a { font-size: 14px; gap: 8px; }
  .footer__contacts svg { width: 18px; height: 18px; flex: none; }
  .footer__hr { margin: 36px 0; }
  .footer__pay { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pay-chip img { width: 260px; height: 20px; }
  .lightbox { padding: 64px 12px 88px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

@media (max-width: 400px) {
  .footer__contacts { grid-template-columns: 1fr; }
  .h1 { font-size: 32px; line-height: 38px; }
  .h1__tail { font-size: 20px; line-height: 28px; }
  .seg__item { padding: 8px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
