/* Кузница Контента, v2.
   Направление: цветные главы как плавающие панели. Тёмные и синие секции лежат на странице
   скруглёнными полями, между ними воздух. Кнопки-капсулы с градиентом логотипа,
   карточки со скруглением 20-28px и мягкой тенью. Один шрифт Mulish. */

@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/mulish-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/mulish-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }

:root {
  --page: #F4F8FD;
  --white: #FFFFFF;
  --tint: #EAF2FD;
  --pale: #D6E8FD;
  --navy: #0B2646;
  --navy-2: #0E3054;
  --navy-3: #123A66;
  --deep: #01439A;
  --mid: #0156C4;
  --blue: #0071F9;
  --cyan: #6FD0FF;
  --sky: #9CC9FC;
  --ink: #0E2A4A;
  --ink-2: #4C6179;
  --on-dark: #FFFFFF;
  --on-dark-2: #B9CCE4;
  --line: #DCE8F6;
  --star: #FFB547;
  --err: #C42B1C;
  --ok: #1E9E5A;

  --grad: linear-gradient(120deg, #1A8BFF 0%, #0164E0 45%, #01439A 100%);
  --grad-hover: linear-gradient(120deg, #3A9BFF 0%, #0A6FF0 45%, #0150B4 100%);
  --shadow-1: 0 1px 2px rgba(11, 38, 70, 0.05), 0 8px 24px rgba(11, 38, 70, 0.06);
  --shadow-2: 0 2px 6px rgba(11, 38, 70, 0.06), 0 24px 56px rgba(11, 38, 70, 0.14);
  --shadow-btn: 0 10px 24px rgba(1, 86, 196, 0.32);

  --r-xl: clamp(28px, 3vw, 44px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --font: "Mulish", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.5rem, 1.1rem + 5.4vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  --fs-h3: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --fs-body: 1.125rem;
  --fs-small: 0.9375rem;

  --gutter: clamp(16px, 4vw, 56px);
  --chap: clamp(64px, 8vw, 136px);
  --panel-x: clamp(8px, 1.1vw, 16px);
  --top-h: calc(88px + env(safe-area-inset-top, 0px));
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; overflow-x: clip; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: var(--fs-body);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mid); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--deep); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.dark :focus-visible, .blue :focus-visible, .hero :focus-visible { outline-color: var(--cyan); }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* Главы. Цветные секции превращаются в скруглённые панели */
/* Главы лежат друг на друге листами: у каждой следующей скруглён верх, фон рисует ::before,
   чтобы лист перекрывал низ предыдущей главы. Боковых полей нет, страница цельная. */
.chap { padding-block: var(--chap) calc(var(--chap) + var(--r-xl)); position: relative; }
.chap--tight { padding-block: clamp(40px, 5vw, 80px) calc(clamp(40px, 5vw, 80px) + var(--r-xl)); }
:is(main, .route) > section { position: relative; isolation: isolate; }
:is(main, .route) > section:not(.hero):not(.phero)::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: calc(-1 * var(--r-xl));
  border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--sec-bg, var(--page)); pointer-events: none; }
:is(main, .route) > section:first-child:not(.hero):not(.phero)::before { top: 0; border-radius: 0; }
.dark { color: var(--on-dark); }
.blue { color: var(--on-dark); }
.tint { --sec-bg: var(--white); }
.blue { --sec-bg: var(--grad); }
.dark a:not(.btn):not(.rating), .blue a:not(.btn):not(.rating) { color: var(--on-dark); }
.dark { --sec-bg: radial-gradient(60% 70% at 100% 10%, rgba(1, 113, 249, 0.28), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(111, 208, 255, 0.10), transparent 60%), var(--navy); }

/* Типографика */
.hero-title { font-size: var(--fs-hero); font-weight: 850; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); font-weight: 850; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem); line-height: 1.55; max-width: 44ch; text-wrap: pretty; }
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-2); }
.dark .muted, .blue .muted { color: var(--on-dark-2); }
.blue .muted { color: #DCEAF9; }
p { text-wrap: pretty; }
.head { display: grid; gap: 20px; margin-bottom: clamp(36px, 4.5vw, 64px); max-width: 920px; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 48px; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.meta-note { font-size: 0.8125rem; color: var(--ink-2); margin-top: 8px; max-width: 70ch; }
.accent { color: var(--cyan); }

/* Кнопки-капсулы */
.btn { --t: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px;
  padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--grad); color: var(--t); font-weight: 800; font-size: 1.0625rem;
  line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; box-shadow: var(--shadow-btn);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 180ms ease, color 180ms ease; }
.btn:hover { color: var(--t); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(1, 86, 196, 0.38); background: var(--grad-hover); }
.btn:active { transform: translateY(0); }
.btn__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); flex: none; transition: transform 320ms var(--ease), background-color 200ms ease; }
.btn .chev { width: 16px; height: 11px; fill: currentColor; }
.btn:hover .btn__ic { transform: translateX(3px); background: rgba(255, 255, 255, 0.28); }
.btn--light { --t: var(--navy); background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.btn--light:hover { background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24); }
.btn--light .btn__ic { background: var(--tint); color: var(--mid); }
.btn--light:hover .btn__ic { background: var(--pale); }
.btn--ghost { --t: var(--ink); background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--sky), 0 10px 24px rgba(11, 38, 70, 0.08); }
.btn--ghost .btn__ic { background: var(--tint); color: var(--mid); }
.dark .btn--ghost, .blue .btn--ghost, .hero .btn--ghost { --t: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22); }
.dark .btn--ghost:hover, .blue .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
.dark .btn--ghost .btn__ic, .blue .btn--ghost .btn__ic, .hero .btn--ghost .btn__ic { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn--sm { min-height: 46px; padding: 5px 5px 5px 20px; font-size: 0.9375rem; gap: 10px; }
.btn--sm .btn__ic { width: 36px; height: 36px; }
.btn--wide { width: 100%; justify-content: space-between; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Рейтинг-ссылка */
.rating { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; text-decoration: none;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-1); font-size: 0.9375rem; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.rating:hover { color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.rating__num { background: var(--navy); color: #fff; font-weight: 900; border-radius: 999px; padding: 4px 10px; font-size: 0.9375rem; }
.rating__txt { font-weight: 700; text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 0.22em; }
.rating--dark { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.rating--dark:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.rating--dark .rating__num { background: #fff; color: var(--navy); }
.rating--dark .rating__txt { text-decoration-color: rgba(255, 255, 255, 0.4); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--star); }

/* Шапка: часть первого экрана. Не закреплена, уходит вместе с ним при прокрутке */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.top__in { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px); min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; min-height: 44px; }
.logo:hover { color: var(--ink); }
.logo__tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(90deg, #007AFF, #004A9A); }
.logo__tile .mark { width: 27px; height: auto; fill: #fff; }
.logo__word { font-weight: 900; font-size: 0.9375rem; line-height: 1.05; letter-spacing: -0.01em; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a { display: block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.96875rem; padding: 10px 14px; border-radius: 999px; transition: background-color 180ms ease; }
.nav__list a:hover { background: var(--tint); color: var(--ink); }
.nav__list a[aria-current="page"] { background: var(--tint); color: var(--mid); }
.top__phone { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 0.96875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.top__cta { flex: none; }
.top__cta-short { display: none; }
.burger { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 46px; min-width: 46px; padding: 8px 16px; background: var(--tint); border: 0; border-radius: 999px; cursor: pointer; font-weight: 800; color: var(--ink); }
.burger__lines { width: 18px; height: 12px; position: relative; border-top: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; border-radius: 2px; }
.burger[aria-expanded="true"] .burger__lines { border-color: transparent; }
.burger[aria-expanded="true"] .burger__lines::before, .burger[aria-expanded="true"] .burger__lines::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; margin-top: -1.25px; background: currentColor; border-radius: 2px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: rotate(-45deg); }
/* На тёмном первом экране шапка белая */
[data-page="home"] .top .logo, [data-page="home"] .top .nav__list a, [data-page="home"] .top .top__phone, [data-page="home"] .top .burger,
.top.is-open .logo, .top.is-open .burger { color: #fff; }
[data-page="home"] .top .nav__list a:hover, [data-page="home"] .top .nav__list a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); color: #fff; }
[data-page="home"] .top .burger, .top.is-open .burger { background: rgba(255, 255, 255, 0.12); }
[data-page="home"] .top .top__cta { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
/* Меню на телефоне: экран поверх страницы, шапка при открытом меню фиксируется, чтобы крестик был под рукой */
.top.is-open { position: fixed; z-index: 61; }
.top.is-open .top__in { position: relative; z-index: 62; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding-top: calc(var(--top-h) + 8px); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.menu-open { overflow: hidden; }
.menu__in { padding-block: 12px 28px; display: grid; gap: 24px; }
.menu__list a { display: block; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.375rem; padding: 7px 0; }
.menu__sub a { display: block; text-decoration: none; font-size: 1.0625rem; font-weight: 600; color: var(--on-dark-2); padding: 5px 0 5px 16px; }
.menu__sub a:hover, .menu__list a:hover, .menu__head:hover { color: var(--cyan); }
.menu__head { display: block; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.375rem; padding: 7px 0; }
.menu__sub-list { display: grid; }
.menu__contacts { display: grid; gap: 10px; }
.menu__cta { display: none; }
.menu__contacts a { color: var(--cyan); font-weight: 800; font-size: 1.125rem; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1220px) { .top__phone { display: none; } }
@media (max-width: 1060px) {
  .nav { display: none; }
  .top__cta { margin-left: auto; }
  .burger { display: inline-flex; padding: 8px 14px; }
  .burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 640px) {
  .top__in { gap: 10px; }
  .top__cta { padding: 5px 16px; font-size: 0.875rem; min-height: 44px; }
  .top__cta .btn__ic { display: none; }
}
@media (max-width: 640px) {
  .top__cta-full { display: none; }
  .top__cta-short { display: inline; }
}

/* Первый экран */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  padding-block: calc(var(--top-h) + clamp(32px, 5vw, 72px)) calc(clamp(48px, 6vw, 88px) + var(--r-xl)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 75% at 85% 15%, rgba(1, 113, 249, 0.45), transparent 62%), radial-gradient(45% 60% at 5% 105%, rgba(111, 208, 255, 0.16), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__text { display: grid; gap: 28px; align-content: start; }
.hero__pain { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font-weight: 700; font-size: 0.96875rem; color: #fff; }
.hero__pain b { background: var(--cyan); color: var(--navy); border-radius: 999px; padding: 3px 10px; font-size: 0.8125rem; font-weight: 900; }
.hero-title .dim { color: rgba(255, 255, 255, 0.55); }
.hero .lead { color: var(--on-dark-2); max-width: 40ch; }
.wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.win { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.win b { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.win span { font-size: 0.875rem; line-height: 1.35; color: var(--on-dark-2); }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); background: var(--navy-2); }
.float { position: absolute; background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: var(--r-md); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28); padding: 18px 20px; display: grid; gap: 4px; }
.float--case { left: 20px; bottom: 20px; width: min(300px, calc(100% - 40px)); }
.float--rate { right: 20px; top: 20px; text-decoration: none; padding: 14px 16px; gap: 6px; }
.float--rate:hover { color: var(--ink); }
.float__where { font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); }
.float__big { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float__text { font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.float__rate { display: flex; align-items: center; gap: 8px; }
.float__rate b { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.float--rate .float__text { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 0.2em; font-weight: 700; color: var(--ink); }

/* Полоса доверия */
.trust { padding-block: clamp(40px, 5vw, 72px) calc(clamp(40px, 5vw, 72px) + var(--r-xl)); }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 12px; align-items: stretch; }
.stat { background: #fff; border-radius: var(--r-md); padding: 22px 22px 20px; box-shadow: var(--shadow-1); display: grid; gap: 6px; align-content: start; }
.stat b { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.4; }
.platforms { background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 18px; display: grid; gap: 10px; text-decoration: none; transition: transform 220ms var(--ease); }
a.platforms:hover { color: #fff; transform: translateY(-2px); }
.platform { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 10px 14px; }
.platform b { font-weight: 800; }
.platform span { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; }
.platforms__more { font-size: 0.875rem; color: var(--cyan); font-weight: 800; text-decoration: underline; text-underline-offset: 0.2em; }

/* Боли */
.pains { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.pains__head { display: grid; gap: 24px; position: sticky; top: 130px; }
.pains__list { display: grid; gap: 12px; }
.pain { background: var(--page); border-radius: var(--r-md); padding: clamp(22px, 2.6vw, 32px); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 18px; }
.pain__mark { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.125rem; }
.pain__q { font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; }
.pain__a { color: var(--ink-2); }
.pain__a b { color: var(--ink); }

/* Услуги */
.svc { display: grid; gap: 10px; }
.svc__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(170px, 0.6fr) auto; gap: 14px 36px; align-items: center;
  padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px); background: #fff; border-radius: var(--r-md); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-1); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.svc__row:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.svc__name { font-size: var(--fs-h3); font-weight: 850; line-height: 1.2; }
.svc__desc { color: var(--ink-2); font-size: 1rem; }
.svc__price { font-weight: 900; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.1; white-space: nowrap; }
.svc__price small { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); margin-top: 4px; white-space: normal; }
.svc__go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--mid); transition: background 200ms ease, color 200ms ease; }
.svc__go .btn__ic { background: none; width: auto; height: auto; }
.svc__go .chev { width: 18px; height: 12px; fill: currentColor; transition: transform 320ms var(--ease); }
.svc__row:hover .svc__go { background: var(--grad); color: #fff; }
.svc__row:hover .svc__go .chev { transform: translateX(3px); }
.svc__note { margin-top: 20px; color: var(--ink-2); font-size: var(--fs-small); }

/* Кейсы */
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.case { grid-column: span 4; background: var(--navy-2); border-radius: var(--r-md); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; }
.case--hero { grid-column: span 8; grid-row: span 2; background: var(--grad); align-content: space-between; }
.case__where { justify-self: start; font-size: 0.8125rem; font-weight: 800; color: var(--cyan); background: rgba(111, 208, 255, 0.12); padding: 5px 12px; border-radius: 999px; }
.case--hero .case__where { color: #fff; background: rgba(255, 255, 255, 0.16); }
.case__niche { font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; color: #fff; }
.case__desc { color: #DCEAF9; font-size: 1.0625rem; max-width: 46ch; }
.case__big { display: grid; gap: 4px; margin-top: 6px; }
.case__big .num { font-size: clamp(2.75rem, 1.9rem + 3vw, 4.75rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.035em; color: #fff; }
.case--hero .case__big .num { font-size: clamp(4.25rem, 2.2rem + 7.5vw, 9.5rem); }
.case__label { font-weight: 700; color: var(--on-dark-2); }
.case--hero .case__label { color: #DCEAF9; }
.case__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 14px 22px; margin-top: 10px; }
.case__facts dt { font-size: 0.8125rem; color: var(--on-dark-2); }
.case--hero .case__facts dt { color: #DCEAF9; }
.case__facts dd { font-weight: 800; font-size: 1.0625rem; color: #fff; font-variant-numeric: tabular-nums; }
.cases--light .case { background: #fff; box-shadow: var(--shadow-1); }
.cases--light .case__where { color: var(--mid); background: var(--tint); }
.cases--light .case__niche, .cases--light .case__big .num, .cases--light .case__facts dd { color: var(--ink); }
.cases--light .case__label, .cases--light .case__facts dt { color: var(--ink-2); }
.cases--light .case--hero { background: var(--grad); }
.cases--light .case--hero .case__niche, .cases--light .case--hero .case__big .num, .cases--light .case--hero .case__facts dd { color: #fff; }
.cases--light .case--hero .case__where { color: #fff; background: rgba(255, 255, 255, 0.16); }
.cases--light .case--hero .case__label, .cases--light .case--hero .case__facts dt { color: #DCEAF9; }
.cases--n2 .case { grid-column: span 6; }
.cases--n4 .case--hero { grid-column: span 12; grid-row: auto; }
.cases__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr); gap: 12px; align-items: start; }
.calc__panel { background: var(--page); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px); display: grid; gap: 36px; }
.calc__group { display: grid; gap: 14px; border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__group legend { font-weight: 850; font-size: var(--fs-h3); line-height: 1.2; padding: 0; margin-bottom: 14px; }
.calc__hint { font-size: var(--fs-small); color: var(--ink-2); margin-top: -8px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.opt__box { display: grid; gap: 3px; min-height: 64px; padding: 14px 16px 14px 50px; background: #fff; border-radius: var(--r-sm); position: relative; height: 100%;
  box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 160ms ease, background-color 160ms ease; }
.opt__box::before { content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 2px var(--sky); transition: background-color 150ms ease, box-shadow 150ms ease; }
.opt input[type="radio"] + .opt__box::before { border-radius: 50%; }
.opt input:checked + .opt__box { box-shadow: inset 0 0 0 2px var(--mid); background: #F7FBFF; }
.opt input:checked + .opt__box::before { background: var(--mid); box-shadow: inset 0 0 0 2px var(--mid), inset 0 0 0 6px #fff; }
.opt input[type="checkbox"]:checked + .opt__box::before { box-shadow: none; background: var(--mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5.5 11.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.opt:hover .opt__box { box-shadow: inset 0 0 0 2px var(--sky); }
.opt:hover input:checked + .opt__box { box-shadow: inset 0 0 0 2px var(--mid); }
.opt__name { font-weight: 800; line-height: 1.25; }
.opt__price { font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sub-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-opts .opt__box { min-height: 48px; padding: 12px 18px 12px 46px; border-radius: 999px; }
.sub-opts .opt__box::before { top: 13px; left: 14px; }
.range { display: grid; gap: 10px; background: #fff; border-radius: var(--r-sm); padding: 16px 18px 12px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.range__top label { font-weight: 800; }
.range__val { font-weight: 900; font-size: 1.375rem; font-variant-numeric: tabular-nums; color: var(--mid); }
.range__track { position: relative; }
/* Касания и мышь ловит прозрачный слой поверх ползунка: родной range на телефонах тянется ненадёжно */
.range__hit { position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; z-index: 1; touch-action: none; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; pointer-events: none; }
.range__track.is-active input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--mid) inset, 0 0 0 8px rgba(1, 86, 196, 0.18), 0 4px 12px rgba(1, 86, 196, 0.35); }
input[type="range"]:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 999px; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(var(--mid), var(--mid)) 0 / var(--fill, 0%) 100% no-repeat, var(--pale); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--pale); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--mid); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; cursor: grab; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px var(--mid) inset, 0 4px 12px rgba(1, 86, 196, 0.35); }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--mid); box-sizing: border-box; box-shadow: 0 4px 12px rgba(1, 86, 196, 0.35); }
.range__scale { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.calc__sum { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); display: grid; gap: 20px; position: sticky; top: 104px; overflow: hidden; isolation: isolate; }
.calc__sum::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 100% 0%, rgba(1, 113, 249, 0.35), transparent 65%); }
.calc__sum h3 { font-size: var(--fs-h3); font-weight: 850; }
.sum__lines { display: grid; gap: 8px; }
.sum__line { display: flex; justify-content: space-between; gap: 16px; font-size: 0.96875rem; color: var(--on-dark-2); }
.sum__line b { color: #fff; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum__empty { color: var(--on-dark-2); }
.sum__total { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.sum__total span { color: var(--on-dark-2); font-weight: 700; }
.sum__total strong { font-size: clamp(2.5rem, 1.9rem + 2vw, 3.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.sum__once { color: var(--cyan); font-weight: 800; }
.sum__budget { font-size: 0.9375rem; color: var(--on-dark-2); }
.forecasts { display: grid; gap: 8px; }
.forecast { background: rgba(255, 255, 255, 0.07); border-radius: var(--r-sm); padding: 16px 18px; display: grid; gap: 6px; }
.forecast__title { font-weight: 800; color: var(--cyan); font-size: 0.875rem; }
.forecast p { font-size: 0.96875rem; line-height: 1.5; }
.forecast b { color: #fff; font-size: 1.1875rem; }
.forecast__src { color: var(--on-dark-2); font-size: 0.8125rem !important; }
.calc__note { font-size: 0.8125rem; color: var(--on-dark-2); }
.calc__mini { display: none; }

/* Этапы */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.tl { background: #fff; border-radius: var(--r-md); padding: 24px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-1); position: relative; }
.tl__when { justify-self: start; background: var(--grad); color: #fff; font-weight: 900; font-size: 0.875rem; border-radius: 999px; padding: 6px 14px; }
.tl p { color: var(--ink-2); font-size: 1rem; }
.launch__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); margin-top: 12px; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; background: #fff; border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--shadow-1); }
.step__n { min-width: 56px; height: 56px; border-radius: 16px; padding: 0 10px; background: var(--grad); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 0.875rem; line-height: 1.1; text-align: center; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: 1rem; }

/* Бот */
.bot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.bot__text { display: grid; gap: 22px; }
.chat { background: #E6F0FB; border-radius: var(--r-lg); padding: clamp(14px, 2.2vw, 24px); display: grid; gap: 10px; color: var(--ink); max-width: 500px; width: 100%; justify-self: end; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 12px; border-bottom: 1px solid #D3E2F3; margin-bottom: 4px; }
.chat__ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(90deg, #007AFF, #004A9A); display: grid; place-items: center; flex: none; }
.chat__ava .mark { width: 24px; fill: #fff; }
.chat__head b { display: block; font-size: 1rem; }
.chat__head span { font-size: 0.8125rem; color: var(--ink-2); }
.msg { background: #fff; padding: 12px 16px; max-width: 92%; font-size: 0.96875rem; line-height: 1.45; border-radius: 6px 18px 18px 18px; box-shadow: 0 1px 1px rgba(11, 38, 70, 0.06); }
.msg--me { justify-self: end; background: #D7F7D3; border-radius: 18px 6px 18px 18px; }
.msg__time { display: block; text-align: right; font-size: 0.75rem; color: var(--ink-2); margin-top: 2px; }
.rate { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 92%; }
.rate button { min-height: 44px; border: 0; background: #fff; color: var(--mid); font-weight: 900; font-size: 1.125rem; cursor: pointer; border-radius: 12px; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease); }
.rate button:hover { background: var(--pale); transform: translateY(-1px); }
.rate button[aria-pressed="true"] { background: var(--mid); color: #fff; }
.chat__hint { font-size: 0.8125rem; color: var(--ink-2); text-align: center; padding-top: 4px; }

/* Отзывы */
.review { background: #fff; border-radius: var(--r-md); padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-1); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review__src { font-size: 0.75rem; font-weight: 800; color: var(--mid); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.review blockquote p { font-size: 1rem; line-height: 1.55; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; }
.review figcaption > span:last-child { display: grid; gap: 1px; }
.review figcaption > span:last-child span { color: var(--ink-2); }
.ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 900; flex: none; }
.review--big { padding: clamp(28px, 4vw, 56px); }
.review--big blockquote p { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); font-weight: 700; line-height: 1.45; }
.reviews { columns: 3 300px; column-gap: 12px; }
.reviews .review { break-inside: avoid; margin-bottom: 12px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; box-shadow: var(--shadow-1); transition: background-color 160ms ease, color 160ms ease; }
.filter button:hover { background: var(--tint); }
.filter button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Живая лента */
.feed { position: relative; display: grid; gap: 12px; margin-inline: calc(-1 * var(--gutter)); }
.feed__row { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.feed__row::-webkit-scrollbar { display: none; }
.feed__track { display: flex; gap: 12px; width: max-content; padding: 6px var(--gutter) 18px; }
.review--feed { width: clamp(280px, 30vw, 380px); flex: none; }
.feed.is-live .feed__row { overflow: hidden; }
.feed.is-live .feed__track { animation: feed var(--dur, 80s) linear infinite; will-change: transform; }
.feed.is-live .feed__row--rev .feed__track { animation-direction: reverse; }
@keyframes feed { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.dark .review { box-shadow: none; }

.shots { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: stretch; margin-bottom: 40px; }
.shot { background: #fff; padding: 16px; border-radius: var(--r-md); display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-1); }
.shot img { width: 100%; border-radius: 10px; }
.shot figcaption { font-size: 0.875rem; color: var(--ink-2); }
.score-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.score { background: #fff; border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-1); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: center; }
.score__n { grid-row: span 2; font-size: clamp(3rem, 2.4rem + 2vw, 4.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score__t { font-weight: 800; }
.score__s { color: var(--ink-2); font-size: 0.9375rem; }

/* Сравнение */
.compare-wrap { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0 8px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; font-size: 1rem; line-height: 1.45; }
.compare thead th { font-size: 1.0625rem; font-weight: 900; padding-block: 8px; }
.compare thead th:nth-child(2) { color: var(--mid); }
.compare tbody th { font-weight: 800; background: var(--page); width: 24%; border-radius: 16px 0 0 16px; }
.compare tbody td { background: var(--page); color: var(--ink-2); }
.compare tbody td:last-child { border-radius: 0 16px 16px 0; }
.compare tbody td:nth-child(2) { background: var(--pale); color: var(--ink); font-weight: 700; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__head { display: grid; gap: 18px; }
.faq__list { display: grid; gap: 8px; }
.faq__item { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.tint .faq__item { background: var(--page); box-shadow: none; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-weight: 800; font-size: 1.0625rem; line-height: 1.35; border-radius: var(--r-md); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); position: relative; transition: background-color 200ms ease; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2.5px; margin-top: -1.25px; background: var(--mid); border-radius: 2px; transition: transform 240ms var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--mid); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: #fff; }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__item p { padding: 0 22px 22px; color: var(--ink-2); max-width: 64ch; }

/* Форма */
.leadbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.leadbox__text { display: grid; gap: 22px; }
.leadbox__alt { font-size: 1rem; opacity: 0.92; max-width: 44ch; }
.leadbox__alt a { font-weight: 800; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 700; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.12em; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3 3 7-7' fill='none' stroke='%230B2646' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18); }
.form a { color: var(--mid); }
.form__title { font-size: 1.375rem; font-weight: 850; letter-spacing: -0.01em; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; font-size: 0.9375rem; }
.field .opt { display: inline; font-weight: 600; color: var(--ink-2); font-size: 0.8125rem; margin-left: 6px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: var(--r-sm); background: var(--page);
  box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1rem; transition: box-shadow 160ms ease, background-color 160ms ease; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #6A7E95; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--mid), 0 0 0 4px rgba(1, 113, 249, 0.14); }
.field.is-bad input, .field.is-bad textarea { box-shadow: inset 0 0 0 2px var(--err); }
.field__err { color: var(--err); font-size: 0.8125rem; font-weight: 700; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.875rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mid); cursor: pointer; }
.form__note { font-size: 0.8125rem; color: var(--ink-2); text-align: center; }
/* Переключатель «куда прислать план»: Telegram или MAX */
.field--seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--seg legend { font-weight: 800; font-size: 0.9375rem; padding: 0; margin-bottom: 7px; }
.chan { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: var(--page); box-shadow: inset 0 0 0 1.5px var(--line); }
.chan__opt { position: relative; display: block; cursor: pointer; }
.chan__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chan__opt span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: calc(var(--r-sm) - 4px); font-weight: 800; font-size: 0.9375rem; color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.chan__opt input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11, 38, 70, 0.12), inset 0 0 0 2px var(--mid); }
.chan__opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form__note a { font-weight: 700; }
.form__done { background: var(--page); border-radius: var(--r-sm); padding: 20px; display: grid; gap: 12px; font-size: 1rem; }
.form__done b { font-size: 1.125rem; }
.form__done textarea { width: 100%; min-height: 110px; padding: 12px; border: 0; border-radius: 12px; background: #fff; font-size: 0.875rem; resize: vertical; }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* Внутренние страницы */
.phero { background: #fff; padding-block: calc(var(--top-h) + clamp(28px, 4vw, 64px)) calc(clamp(44px, 5.5vw, 88px) + var(--r-xl)); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.phero__text { display: grid; gap: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-hidden] { color: var(--sky); }
.phero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.pricebox { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; position: relative; overflow: hidden; isolation: isolate; }
.pricebox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 100% 0%, rgba(1, 113, 249, 0.4), transparent 65%); }
.pricebox__label { color: var(--on-dark-2); font-weight: 700; font-size: var(--fs-small); }
.pricebox__val { font-size: clamp(2.5rem, 1.8rem + 2.4vw, 4.25rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.pricebox__unit { font-weight: 800; color: var(--cyan); }
.pricebox__note { color: var(--on-dark-2); font-size: 0.9375rem; }

.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.incl__item { background: var(--navy-2); border-radius: var(--r-md); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; }
.incl__item h3 { color: #fff; }
.incl__item p { color: var(--on-dark-2); font-size: 1rem; }
.incl__item::before { content: ""; width: 36px; height: 6px; border-radius: 999px; background: var(--cyan); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.split--center { align-items: center; }
.split__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose h2 { margin-top: 20px; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { padding-left: 24px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.choose { display: grid; gap: 10px; }
.choose__item { background: var(--page); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 6px; }
.choose__item b { font-size: 1.0625rem; }
.choose__item span { color: var(--ink-2); }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: var(--r-lg); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.svc-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.svc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 600ms var(--ease); }
.svc-card:hover img { transform: scale(1.03); }
.svc-card__body { padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; }
.svc-card__price { font-weight: 900; font-size: 1.375rem; }
.svc-card__price small { font-weight: 600; font-size: 0.9375rem; color: var(--ink-2); }
.svc-card p { color: var(--ink-2); }
.svc-card--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
.svc-card--wide img { height: 100%; aspect-ratio: auto; min-height: 300px; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--mid); font-weight: 800; }
.audit-card { grid-column: 1 / -1; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; isolation: isolate; }
.audit-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(1, 113, 249, 0.4), transparent 65%); }
.audit-card > div { display: grid; gap: 8px; max-width: 60ch; }
.audit-card p { color: var(--on-dark-2); }

/* Самопроверка */
.quiz { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.quiz__intro { display: grid; gap: 22px; position: sticky; top: 130px; }
.quiz__progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--cyan); border-radius: 999px; transition: width 300ms var(--ease); }
.quiz__list { display: grid; gap: 8px; }
.q { background: rgba(255, 255, 255, 0.06); border-radius: var(--r-md); padding: 14px 14px 14px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; }
.q p { font-weight: 700; line-height: 1.4; }
.q__btns { display: flex; gap: 6px; }
.q__btns button { min-width: 64px; min-height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 800; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.q__btns button:hover { background: rgba(255, 255, 255, 0.18); }
.q__btns button[aria-pressed="true"][data-v="1"] { background: var(--cyan); color: var(--navy); }
.q__btns button[aria-pressed="true"][data-v="0"] { background: #fff; color: var(--navy); }
.quiz__result { background: var(--grad); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; margin-top: 12px; }
.quiz__score { font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.quiz__result ul { display: grid; gap: 8px; }
.quiz__result li { padding-left: 22px; position: relative; }
.quiz__result li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }

/* О нас */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mate { background: var(--page); border-radius: var(--r-md); padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center; }
.mate .ava { grid-row: span 2; width: 48px; height: 48px; font-size: 1.125rem; }
.mate b { font-size: 1.25rem; font-weight: 900; }
.mate span:last-child { color: var(--ink-2); font-size: 0.9375rem; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pillar { background: var(--navy-2); border-radius: var(--r-md); padding: 26px; display: grid; gap: 12px; align-content: start; }
.pillar .step__n { width: 48px; min-width: 48px; height: 48px; border-radius: 14px; font-size: 1.125rem; }
.pillar p { color: var(--on-dark-2); font-size: 1rem; }
.report { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.report__col { background: var(--page); border-radius: var(--r-md); padding: 26px; display: grid; gap: 12px; align-content: start; }
.report__col ul { display: grid; gap: 8px; color: var(--ink-2); }
.report__col h3 { color: var(--mid); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.fact { background: #fff; border-radius: var(--r-md); padding: 22px 24px; font-weight: 700; line-height: 1.45; box-shadow: var(--shadow-1); }
.tint .fact { background: var(--page); box-shadow: none; }
.big-pct { font-size: clamp(5rem, 3rem + 9vw, 12rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.045em; color: var(--cyan); }

/* Контакты */
.contact-list { display: grid; gap: 10px; }
.contact { display: grid; gap: 4px; background: var(--page); border-radius: var(--r-md); padding: 20px 24px; text-decoration: none; color: var(--ink); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
a.contact:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.contact span { font-size: 0.875rem; color: var(--ink-2); font-weight: 700; }
.contact b { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); font-weight: 900; overflow-wrap: anywhere; }
.copyrow > a { display: inline-flex; align-items: center; min-height: 44px; }
.copyrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.copybtn { min-height: 44px; padding: 6px 14px; border: 0; border-radius: 999px; background: #fff; color: var(--mid); font-weight: 800; font-size: 0.8125rem; cursor: pointer; }

/* Подвал */
.foot { margin: 0; color: #fff; padding-block: clamp(56px, 7vw, 104px) clamp(32px, 4vw, 48px); position: relative; isolation: isolate; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(-1 * var(--r-xl)); z-index: -1; border-radius: var(--r-xl) var(--r-xl) 0 0; background: radial-gradient(50% 60% at 0% 20%, rgba(1, 113, 249, 0.25), transparent 60%), var(--navy); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot__col--main { display: grid; gap: 22px; align-content: start; justify-items: start; }
.foot__lead { font-size: 1.1875rem; font-weight: 700; max-width: 30ch; }
.foot__h { font-size: 0.875rem; font-weight: 800; color: var(--cyan); margin-bottom: 12px; }
.foot__col ul { display: grid; gap: 9px; }
.foot__col a:not(.btn) { color: #fff; text-decoration: none; font-size: 0.96875rem; }
.foot__col a:not(.btn):hover { color: var(--cyan); text-decoration: underline; }
.foot__name { font-size: clamp(2.25rem, 9vw, 9rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.045em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-block: clamp(48px, 6vw, 96px) 24px; }
.foot__legal { display: grid; gap: 5px; font-size: 0.8125rem; color: var(--on-dark-2); }
.foot__legal a { color: var(--on-dark-2); }

/* Нижняя плашка на телефоне. Без слушателя скролла: показ и скрытие по IntersectionObserver */
/* Нижняя плашка: меню, Telegram и разбор на всех ширинах, появляется после первого экрана */
.dock { display: grid; grid-template-columns: auto 0.9fr 1.1fr; gap: 6px; position: fixed; left: 8px; right: 8px; max-width: 600px; margin-inline: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(11, 38, 70, 0.22);
  transform: translate3d(0, 0, 0); transition: transform 320ms var(--ease), opacity 320ms var(--ease); will-change: transform; contain: layout paint; }
.dock.is-hidden { transform: translate3d(0, 140%, 0); opacity: 0; pointer-events: none; }
.dock__btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 0; cursor: pointer; font: inherit; border-radius: 999px; background: var(--tint); color: var(--ink); font-weight: 800; text-decoration: none; font-size: 0.875rem; white-space: nowrap; }
.dock__btn--tg { background: var(--grad); color: #fff; }
.dock__btn--menu { padding: 0 14px; }
.dock__btn--menu .burger__lines { width: 16px; height: 11px; }
.dock__label { font-size: 0.875rem; }
@media (max-width: 400px) { .dock__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .dock__btn--menu { width: 48px; padding: 0; } }
.foot { padding-bottom: 104px; }
/* Кнопка «наверх»: появляется вместе с нижней плашкой, висит над ней справа */
.totop { position: fixed; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-weight: 800; font-size: 0.8125rem; cursor: pointer; box-shadow: 0 10px 24px rgba(11, 38, 70, 0.28);
  transform: translate3d(0, 0, 0); transition: transform 320ms var(--ease), opacity 320ms var(--ease); }
.totop svg { width: 14px; height: 14px; }
.totop:hover { background: var(--mid); color: #fff; }
.totop.is-hidden { transform: translate3d(0, 160%, 0); opacity: 0; pointer-events: none; }
@media (min-width: 1061px) { .totop { right: 24px; bottom: 22px; } }
@media (max-width: 400px) { .totop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .totop { width: 44px; padding: 0; justify-content: center; } }
/* Назад и крошки на внутренних страницах */
.crumbs-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--tint); color: var(--ink); font-weight: 800; font-size: 0.875rem; text-decoration: none; }
.back:hover { background: var(--pale); color: var(--ink); }
.back svg { width: 12px; height: 12px; }
/* Соцсети иконками */
.socrow { display: flex; flex-wrap: wrap; gap: 8px; }
.socbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.9375rem; }
.socbtn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.socbtn .soc { width: 26px; height: 26px; fill: currentColor; }
.foot .socbtn .soc, .menu .socbtn .soc { color: #fff; }
/* Подгруппы калькулятора раскрываются прямо под отмеченной услугой */
.opts > .calc__sub { scroll-margin: 72px 0 96px; grid-column: 1 / -1; background: var(--tint); border-radius: var(--r-sm); padding: 14px 14px 16px; gap: 12px; margin: -2px 0 6px; }
.opts > .calc__sub legend { font-size: 1rem; margin-bottom: 4px; float: left; width: 100%; }
.opts > .calc__sub .range { padding: 14px 16px 10px; }
/* При открытом меню крестик виден на любой ширине, десктопное меню прячется */
.top.is-open .burger { display: inline-flex; margin-left: auto; }
.top.is-open .nav, .top.is-open .top__cta, .top.is-open .top__phone { display: none; }


.nf { min-height: 46vh; display: grid; align-content: center; gap: 24px; }

/* Адаптив */
@media (max-width: 1100px) {
  .svc__row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .svc__desc { grid-column: 1 / 2; grid-row: 2; }
  .case { grid-column: span 6; }
  .case--hero { grid-column: span 12; grid-row: auto; }
  .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .platforms { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .platforms__more { grid-column: 1 / -1; }
  .wins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__grid, .phero__grid, .pains, .bot, .faq, .leadbox, .split, .quiz, .calc, .head--split { grid-template-columns: minmax(0, 1fr); }
  .head--split { row-gap: 16px; }
  .hero__media { max-width: 520px; width: 100%; justify-self: center; }
  .float--case { left: 12px; }
  .float--rate { right: 12px; }
  .pains__head, .quiz__intro { position: static; }
  /* relative, а не static: иначе абсолютный ::before итога растягивается на всю главу и перехватывает касания ползунков */
  .calc__sum { position: relative; top: auto; }
  .chat { justify-self: start; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__col--main { grid-column: 1 / -1; }
  .report { grid-template-columns: minmax(0, 1fr); }
  .svc-card--wide { grid-template-columns: minmax(0, 1fr); }
  .svc-card--wide img { min-height: 0; aspect-ratio: 16 / 9; }
  .shots, .score-cards { grid-template-columns: minmax(0, 1fr); }
  .phero__img { max-width: 520px; }
  .calc__mini { display: flex; position: sticky; top: calc(8px + env(safe-area-inset-top, 0px)); z-index: 5; margin-bottom: 4px; order: -1; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--navy); color: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow-2); text-decoration: none; }
  .calc__mini:hover { color: #fff; }
  .calc__mini b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
  .calc__mini span:last-child { background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 0.875rem; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .svc__row { grid-template-columns: minmax(0, 1fr) auto; }
  .svc__name { grid-column: 1 / -1; }
  .svc__desc { grid-column: 1 / -1; grid-row: auto; }
  .svc__go { width: 46px; height: 46px; }
  .case, .case--hero, .cases--n2 .case { grid-column: span 12; }
  .incl, .pillars, .svc-grid, .timeline { grid-template-columns: minmax(0, 1fr); }
  .q { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .btns .btn { width: 100%; justify-content: space-between; }
  .top { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  :root { --top-h: calc(76px + env(safe-area-inset-top, 0px)); }
  .top__in { min-height: 56px; }
  .logo__tile { width: 40px; height: 40px; border-radius: 11px; }
  .hero { padding-block: calc(var(--top-h) + 6px) calc(40px + var(--r-xl)); }
  .phero { padding-top: calc(var(--top-h) + 10px); }
  .wins { grid-template-columns: minmax(0, 1fr); }
  .win { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 16px; }
  .win b { min-width: 92px; }
  .float--case { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 12px 0; }
  .float--rate { top: 12px; right: 12px; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .pain { grid-template-columns: minmax(0, 1fr); }
  .pain__mark { grid-row: auto; width: 40px; height: 40px; border-radius: 12px; }
  .launch__img img { aspect-ratio: 4 / 3; }
  .faq__item summary { padding: 18px; }
  .faq__item p { padding: 0 18px 20px; }
  .review--feed { width: 82vw; }
  .compare th, .compare td { padding: 14px; }
}

/* Движение. Скрытые состояния только когда анимация разрешена и скрипт готов */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 700ms var(--ease-slow), transform 700ms var(--ease-slow); transition-delay: var(--d, 0ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
  .js .hero__media img { animation: settle 1300ms var(--ease-slow) both; }
  .js .float--case { animation: pop 900ms var(--ease) 350ms both; }
  .js .float--rate { animation: pop 900ms var(--ease) 550ms both; }
  @keyframes pop { 0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.96); } 100% { opacity: 1; transform: none; } }
  @keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
  .route.is-entering { animation: routein 420ms var(--ease) both; }
  @keyframes routein { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
}

/* v2: служебные элементы */
.preview-root { position: relative; }
.chat__log { display: grid; gap: 12px; }
.chat__log:empty { display: none; }
.phero .score-cards { margin: clamp(32px, 4vw, 56px) 0 0; }
.score__t { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feed.is-off .feed__track { animation-play-state: paused; }
.feed__cta { margin-top: 28px; justify-content: center; }
.calc__mini { transition: opacity 240ms ease, transform 240ms var(--ease); border: 0; width: 100%; cursor: pointer; font: inherit; }
.calc__mini.is-off { opacity: 0; transform: translate3d(0, 12px, 0); pointer-events: none; }
.hero__text > .rating { justify-self: start; }
.dark .form a:not(.btn), .blue .form a:not(.btn) { color: var(--mid); text-decoration: underline; }
.calc__mini span { white-space: nowrap; }
@media (max-width: 640px) {
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__text > .rating { justify-self: stretch; }
  .calc__mini { padding: 6px 6px 6px 18px; font-size: 0.9375rem; }
  .calc__mini b { font-size: 1.0625rem; }
}
.choose__item { background: #fff; box-shadow: var(--shadow-1); }
.tint .choose__item { background: var(--page); box-shadow: none; }

/* v3 */
.dark .meta-note, .blue .meta-note { color: var(--on-dark-2); }
.soc { width: 22px; height: 22px; flex: none; fill: currentColor; }
.soclink { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; }
.soc--tg { color: #2AABEE; }
.soc--vk { color: #0077FF; }
.foot .soc, .menu .soc { color: #fff; }
.foot__col a.soclink:hover .soc { color: var(--cyan); }
.foot__proof { font-size: 0.9375rem; color: var(--cyan); font-weight: 800; }
.contact--soc { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
.contact--soc .soc { grid-row: span 2; width: 32px; height: 32px; }
.menu__contacts .soclink { color: var(--cyan); }

.calc { display: grid; }

/* ---------- v4: смыслы и SEO-страницы ---------- */
.eyebrow { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.eyebrow--dark { color: var(--cyan); }
.hero-title--page { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4.5rem); }
.phero .eyebrow { margin-bottom: 0; }
.phero__text { display: grid; gap: 18px; }

.svc-grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .svc-grid--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Группы услуг на главной */
.svc__group { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); padding: 18px 4px 4px; }
.svc__group:first-child { padding-top: 0; }

/* Кому подходит и кому нет */
.fit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 12px; align-items: stretch; }
.fit__col { border-radius: var(--r-lg); padding: clamp(26px, 3.2vw, 44px); display: grid; gap: 16px; align-content: start; }
.fit__col--yes { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.fit__col--yes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 100% 0%, rgba(1, 113, 249, 0.45), transparent 65%); }
.fit__col--yes .lead { color: var(--on-dark-2); }
.fit__col--no { background: #fff; box-shadow: var(--shadow-1); }
.fit__list { display: grid; gap: 10px; }
.fit__list li { padding-left: 26px; position: relative; color: var(--ink-2); }
.fit__list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px; border-radius: 50%; background: var(--tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 4l6 6M10 4l-6 6' stroke='%230156C4' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seg { background: #fff; border-radius: var(--r-md); padding: 22px 24px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow-1); }
.seg b { font-size: 1.0625rem; }
.seg span { color: var(--ink-2); font-size: 0.9375rem; }
.segs__no { margin-top: 20px; color: var(--ink-2); font-size: var(--fs-small); }

/* Что если */
.fears { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.fears__head { display: grid; gap: 16px; position: sticky; top: 130px; }
.fears__list { display: grid; gap: 12px; }
.fear { background: #fff; border-radius: var(--r-md); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 10px; box-shadow: var(--shadow-1); }
.tint .fear { background: var(--page); box-shadow: none; }
.fear__q { font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; }
.fear__a { color: var(--ink-2); }

/* Основатель */
.founder { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.founder__card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); display: grid; gap: 8px; justify-items: start; position: relative; overflow: hidden; isolation: isolate; }
.founder__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 100% 0%, rgba(1, 113, 249, 0.45), transparent 65%); }
.ava--big { width: 88px; height: 88px; font-size: 2.25rem; margin-bottom: 10px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: var(--navy); }
.founder__name { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.02em; }
.founder__role { color: var(--on-dark-2); margin-bottom: 18px; }
.founder__text { display: grid; gap: 22px; }
.founder__reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.review--quiet { background: #fff; }

/* Часто берут вместе */
.rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rel__card { background: #fff; border-radius: var(--r-md); padding: 22px 24px; display: grid; gap: 6px; align-content: start; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.rel__card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.rel__group { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: var(--mid); }
.rel__name { font-weight: 850; font-size: 1.125rem; line-height: 1.25; }
.rel__price { font-weight: 900; margin-top: 6px; }
.rel__price small { font-weight: 600; font-size: 0.8125rem; color: var(--ink-2); }

/* Статьи */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 2.8vw, 36px); display: grid; gap: 14px; align-content: start; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.post:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.post p { color: var(--ink-2); }
.post__tag { background: var(--tint); color: var(--mid); border-radius: 999px; padding: 3px 10px; }
.posts .h3 { font-size: 1.25rem; }
.calc-cta { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden; isolation: isolate; }
.calc-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 100% 0%, rgba(1, 113, 249, 0.35), transparent 65%); }
.calc-cta__t { font-weight: 850; font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 8px; }
.calc-cta p:not(.calc-cta__t) { color: var(--on-dark-2); max-width: 60ch; }
@media (max-width: 760px) { .calc-cta { grid-template-columns: minmax(0, 1fr); } .calc-cta .btn { width: 100%; justify-content: space-between; } }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 0.8125rem; font-weight: 700; color: var(--ink-2) !important; }
.post__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--mid); margin-top: auto; }
.post__more .btn__ic { width: 28px; height: 28px; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.art__body { display: grid; gap: 16px; max-width: 70ch; font-size: 1.125rem; line-height: 1.65; }
.art__body h2 { margin-top: 22px; }
.art__body h2:first-child { margin-top: 0; }
.art__side { display: grid; gap: 12px; position: sticky; top: 120px; }
.art__card { background: #fff; border-radius: var(--r-md); padding: 24px 26px; display: grid; gap: 14px; box-shadow: var(--shadow-1); }
.art__card-title { font-weight: 850; font-size: 1.0625rem; }
.art__card ul { display: grid; gap: 10px; }
.art__card li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
.art__card li a { display: inline-flex; align-items: center; min-height: 40px; }
.art__card li span { color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.art__card--dark { background: var(--navy); color: #fff; }
.art__card--dark p { color: var(--on-dark-2); }
.art__card--dark .art__card-title { color: #fff; }

/* Форма: необязательные поля свёрнуты */
.form__more summary { cursor: pointer; font-weight: 800; font-size: 0.9375rem; color: var(--mid); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary::before { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 200ms ease; margin-top: -4px; }
.form__more[open] summary::before { transform: rotate(-135deg); margin-top: 4px; }
.form__more[open] summary { margin-bottom: 14px; }
.form__more .field + .field { margin-top: 14px; }

@media (max-width: 1100px) {
  .segs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .fit, .fears, .founder, .art { grid-template-columns: minmax(0, 1fr); }
  .fears__head, .art__side { position: static; }
  .founder__reviews { grid-template-columns: minmax(0, 1fr); }
  .posts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .segs, .rel { grid-template-columns: minmax(0, 1fr); }
  .svc-grid--n3 { grid-template-columns: minmax(0, 1fr); }
  .eyebrow { font-size: 0.75rem; }
}

/* v7: ленты карточек на телефоне (до 900px). На компьютере те же блоки остаются сеткой */
@media (max-width: 900px) {
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))) calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px)));
    padding: 4px max(var(--gutter), env(safe-area-inset-right, 0px)) 12px max(var(--gutter), env(safe-area-inset-left, 0px)); scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 min(82vw, 340px); width: min(82vw, 340px); scroll-snap-align: start; grid-column: auto; grid-row: auto; }
  .rail .case--hero { align-content: start; }
  .rail .case--hero .case__big .num { font-size: clamp(3rem, 2rem + 4vw, 4.75rem); }
  .rail .case__desc { font-size: 1rem; }
}
.rail__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.rail__nav[hidden] { display: none; }
.rail__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.rail__btn svg { width: 16px; height: 16px; }
.rail__btn:disabled { opacity: 0.35; cursor: default; }
.rail__count { font-weight: 800; font-size: 0.875rem; color: inherit; opacity: 0.75; font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }

/* v7: окно формы поверх страницы. На телефоне выезжает снизу, на компьютере по центру */
.sheet { position: fixed; inset: 0; z-index: 70; display: grid; align-items: end; justify-items: center; }
.sheet[hidden] { display: none; }
.sheet__back { position: absolute; inset: 0; background: rgba(5, 18, 40, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: sheet-fade 240ms ease; }
.sheet__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; outline: none;
  background: #fff; color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 14px max(var(--gutter), 20px) calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3); animation: sheet-up 320ms var(--ease); }
.sheet__panel::before { content: ""; width: 44px; height: 5px; border-radius: 999px; background: var(--line); margin: 0 auto 2px; }
.sheet__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.sheet__close:hover { background: var(--sky); }
.sheet__title { font-size: 1.375rem; font-weight: 850; letter-spacing: -0.01em; line-height: 1.2; padding-right: 52px; }
.sheet__sub { color: var(--ink-2); font-size: 0.9375rem; }
.sheet .form { padding: 0; box-shadow: none; gap: 14px; border-radius: 0; }
.sheet-open { overflow: hidden; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes sheet-fade { from { opacity: 0; } }
@media (min-width: 641px) { .sheet { align-items: center; padding: 24px; } .sheet__panel { border-radius: var(--r-lg); padding-top: 24px; } .sheet__panel::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .sheet__panel, .sheet__back { animation: none; } }


/* v8. Меню на компьютере: три колонки вместо одного узкого списка */
@media (min-width: 1061px) {
  .menu { display: flex; align-items: center; }
  .menu__in { width: 100%; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; padding-block: 24px 40px; }
  .menu__list a { font-size: 1.625rem; padding: 9px 0; }
  .menu__uslugi { display: none; }
  .menu__head { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); padding: 12px 0 10px; }
  .menu__sub-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .menu__sub a { padding: 9px 0; font-size: 1.125rem; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .menu__contacts { gap: 14px; padding: 12px 0 0 clamp(24px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, 0.12); align-content: start; }
  .menu__cta { display: block; margin-bottom: 8px; }
  .menu__cta .btn { width: 100%; }
  /* Нижняя плашка на компьютере: компактная, в правом нижнем углу, не перекрывает текст по центру */
  .dock { left: auto; right: 24px; max-width: none; width: auto; margin: 0; bottom: 22px; grid-template-columns: auto auto auto; }
  .dock__btn { min-height: 44px; font-size: 0.8125rem; padding: 0 14px; }
  .dock.is-hidden { transform: translate3d(0, 140%, 0); }
  .totop { right: 24px; bottom: 84px; }
  .foot { padding-bottom: clamp(64px, 8vw, 136px); }
}

/* v8. Подсказка «?» у поля ниши */
.field__lab { display: flex; align-items: center; gap: 8px; }
.hint { position: relative; display: inline-flex; }
.hint__btn { position: relative; isolation: isolate; width: 40px; height: 40px; margin: -9px 0; border-radius: 50%; border: 0; background: transparent; color: #fff; font: inherit; font-size: 0.8125rem; font-weight: 900; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.hint__btn::before { content: ""; position: absolute; z-index: -1; left: 9px; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--mid); }
.hint__btn:hover::before, .hint__btn:focus-visible::before, .hint.is-open .hint__btn::before { background: var(--navy); }
.hint__pop { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); width: min(320px, 80vw); padding: 12px 14px; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-size: 0.875rem; font-weight: 500; line-height: 1.45; box-shadow: 0 12px 30px rgba(11, 38, 70, 0.3); z-index: 5;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms; }
.hint__pop::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--navy); }
.hint:hover .hint__pop, .hint__btn:focus-visible + .hint__pop, .hint.is-open .hint__pop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; transition-delay: 0s; }
/* На телефоне подсказка раскрывается под подписью поля, а не всплывает поверх */
@media (max-width: 640px) { .field__lab { flex-wrap: wrap; } .hint { display: contents; }
  .hint__pop { position: static; display: none; flex: 1 0 100%; width: auto; transform: none; transition: none; box-shadow: none; margin-top: 2px; }
  .hint.is-open .hint__pop, .hint__btn:focus-visible + .hint__pop { display: block; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .hint__pop::after { display: none; } }
/* Кнопка в карточке основателя не должна переноситься на две строки */
.founder__card .btn { max-width: 100%; }


/* v9. Надзаголовок внутри H1 первого экрана: ключ «SMM-агентство» попадает в заголовок, вид прежний */
.hero-title .eyebrow { display: block; font-size: 0.875rem; line-height: 1.4; letter-spacing: 0.02em; margin-bottom: 20px; }

/* v9. Блок цен: строка «что / цена / что входит» */
.prices { display: grid; gap: 10px; }
.prow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 8px 24px; align-items: start; background: #fff; border-radius: var(--r-md); padding: 20px 24px; box-shadow: var(--shadow-1); }
.tint .prow { background: var(--page); box-shadow: none; }
.dark .prow, .blue .prow { background: rgba(255, 255, 255, 0.06); color: #fff; }
.prow__name { font-size: 1.0625rem; font-weight: 800; }
.prow__price { font-size: 1.25rem; font-weight: 900; color: var(--mid); letter-spacing: -0.01em; }
.dark .prow__price, .blue .prow__price { color: var(--cyan); }
.prow__note { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }
.dark .prow__note, .blue .prow__note { color: var(--on-dark-2); }
@media (max-width: 760px) {
  .prow { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 18px; }
  .prow__price { font-size: 1.125rem; }
}
