/* =========================================================
   PR-Volga — главная (ПК)
   ========================================================= */

:root {
  --red: #D71920;
  --red-dark: #A80F17;
  --red-light: #FF5A60;
  --red-bright: #FF3B42;
  --red-soft: #FFE3E4;
  --pink: #FCE9EA;

  --ink: #15171C;
  --dark-1: #1C1F26;
  --dark-2: #23262E;
  --dark-3: #2A2E37;
  --dark-4: #3A3E48;

  --gray-50: #F5F6F8;
  --gray-200: #E4E7EC;
  --gray-300: #D0D5DD;
  --gray-400: #98A2B3;
  --gray-500: #667085;
  --gray-600: #475467;
  --muted-dark: #98A0AE;
  --light-dark: #C9CDD6;

  --ff-text: 'Inter', sans-serif;
  --ff-head: 'Manrope', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
input, button { font-family: inherit; }
input::placeholder { color: var(--gray-400); }
button { cursor: pointer; }
[hidden] { display: none !important; }

.page {
  font-family: var(--ff-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
}

/* ---------- Сетка и утилиты ---------- */
.container { max-width: 1248px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.grid-12 > * { min-width: 0; }

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-4-9  { grid-column: 4 / span 9; }
.col-5-8  { grid-column: 5 / span 8; }
.col-6-2  { grid-column: 6 / span 2; }
.col-6-7  { grid-column: 6 / span 7; }
.col-7-6  { grid-column: 7 / span 6; }
.col-8-4  { grid-column: 8 / span 4; }
.col-8-5  { grid-column: 8 / span 5; }
.col-9-4  { grid-column: 9 / span 4; }
.col-10-3 { grid-column: 10 / span 3; }

.section { padding-top: 120px; padding-bottom: 120px; }
.section--no-bottom { padding-bottom: 0; }
.section--no-top { padding-top: 0; }
.section-head { align-items: end; }
.section-head > p { margin: 0; }

.bg-gray { background: var(--gray-50); }
.bg-dark { background: var(--ink); color: #fff; }
.bg-pink { background: var(--pink); }

.mt-20 { margin-top: 20px !important; }
.mt-120 { margin-top: 120px !important; }
.fw-600 { font-weight: 600; }
.text-right { text-align: right; }
.text-15 { font-size: 15px; line-height: 1.55; }
.text-16 { font-size: 16px; line-height: 1.6; }
.text-muted { color: var(--gray-500); }
.text-light { color: var(--light-dark); }
.accent { color: var(--red); }
.accent-bright { color: var(--red-bright); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--light { color: var(--light-dark); }
.eyebrow--muted { color: var(--gray-500); }
.eyebrow--dim { color: var(--muted-dark); }
.eyebrow--red { color: var(--red); }
.eyebrow--dark-red { color: var(--red-dark); }

.h2, .h3 { margin: 0; font-family: var(--ff-head); font-weight: 800; text-wrap: balance; }
.h2--48 { font-size: 48px; line-height: 1.08; letter-spacing: -.03em; }
.h2--56 { font-size: 56px; line-height: 1.04; letter-spacing: -.04em; }
.h2--72 { font-size: 72px; line-height: 1; letter-spacing: -.045em; text-wrap: wrap; }
.h3 { font-size: 44px; line-height: 1.08; letter-spacing: -.03em; text-wrap: wrap; }

/* Кнопки-«пилюли» */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600;
  transition: background .2s, color .2s;
}
.btn-pill--white { background: #fff; color: var(--ink); }
.btn-pill--white:hover { background: var(--red); color: #fff; }
.btn-pill--red { background: var(--red); color: #fff; }
.btn-pill--red:hover { background: var(--red-dark); color: #fff; }

.round-btn {
  all: unset; box-sizing: border-box; cursor: pointer;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: background .2s, color .2s;
}
.round-btn--outline { border: 1px solid var(--ink); }
.round-btn--outline:hover { background: var(--ink); color: #fff; }
.round-btn--dark { background: var(--ink); color: #fff; }
.round-btn--dark:hover { background: var(--red); }

/* Плейсхолдер изображения — заменить на <img> */
.img-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; text-align: center;
  font-size: 13px; line-height: 1.3; color: var(--gray-400);
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(21,23,28,.03) 10px 20px);
}
.img-ph--dark { color: #667085; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255,255,255,.03) 10px 20px); }
.img-ph > img, .case__img > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Курсор ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--red);
  pointer-events: none; mix-blend-mode: multiply; opacity: 0;
  transition: width .3s, height .3s, margin .3s, opacity .3s;
}
.cursor.is-hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(215,25,32,.22); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(21,23,28,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner { height: 80px; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.header__logo { display: flex; flex: none; }
.header__logo img { height: 34px; display: block; }
.header__nav {
  display: flex; gap: clamp(14px, 2vw, 28px);
  font-size: 15px; font-weight: 500; white-space: nowrap; min-width: 0; overflow: hidden;
}
.header__nav a { color: #fff; transition: color .2s; }
.header__nav a:hover { color: var(--red-light); }
.header__right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.header__phone, .header__phone:hover { font-family: var(--ff-head); font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; }
.header__cta {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .2s;
}
.header__cta:hover { background: var(--red-dark); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@media (max-width: 1099px) { .header__phone { display: none; } }

/* ---------- 01 Первый экран / диагностика ---------- */
.hero { position: relative; background: var(--ink); color: #fff; }
.hero__inner { padding-top: 56px; padding-bottom: 96px; }
.hero__eyebrows { display: flex; justify-content: space-between; gap: 24px; }
.hero__title {
  margin: 36px 0 0; font-family: var(--ff-head);
  font-size: clamp(60px, 8vw, 106px); line-height: .95; font-weight: 800; letter-spacing: -.055em;
}
.hero__dot {
  display: inline-block; width: .2em; height: .2em; margin-left: .2em;
  border-radius: 50%; background: var(--red); vertical-align: .32em;
}
.hero__bottom { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 44px; }
.hero__lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted-dark); max-width: 560px; }
.hero__actions { display: flex; gap: 12px; flex: none; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 64px; padding: 0 34px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.hero-btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 40px -6px rgba(215,25,32,.6); }
.hero-btn--red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.hero-btn--white { background: #fff; color: var(--ink); }
.hero-btn--white:hover { background: var(--gray-200); color: var(--ink); }

.diag-form {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 48px; padding: 22px 24px 14px 48px;
  border-radius: 24px 24px 24px 24px; background: #2E323B;
}
.diag-form__text { min-width: 0; }
.diag-form__title { font-family: var(--ff-head); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.diag-form__sub { margin-top: 6px; font-size: 15px; color: var(--muted-dark); }
.diag-form__control { flex: 0 0 46%; }
.diag-form__field {
  display: flex; gap: 8px; padding: 6px;
  border-radius: 16px; background: var(--ink); border: 1px solid var(--ink);
}
.diag-form__field.is-error { border-color: var(--red); }
.diag-form__field input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  padding: 0 14px; color: #fff; font-size: 17px;
}
.diag-form__field input::placeholder { color: var(--gray-500); }
.diag-form__btn {
  all: unset; cursor: pointer; flex: none;
  height: 52px; min-width: 200px; padding: 0 22px; border-radius: 12px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; font-size: 15px; font-weight: 600;
  transition: background .2s;
}
.diag-form__btn:hover { background: var(--red-dark); }
.diag-form__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; min-height: 18px; }
.diag-form__err { color: #FF7B80; }
.diag-form__demo { all: unset; cursor: pointer; color: var(--light-dark); text-decoration: underline; }

.diag { margin-top: 12px; border-radius: 28px; background: var(--dark-1); border: 1px solid var(--dark-3); padding: 28px 28px 24px; }
.diag__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted-dark); }
.diag__status { display: flex; align-items: center; gap: 10px; }
.diag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dark); }
.diag__leads { font-family: var(--ff-head); font-size: 20px; color: #fff; }
.diag__chain { position: relative; height: 240px; margin-top: 12px; }
.diag__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.diag-node {
  position: absolute; top: 50%;
  width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--dark-4); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s, transform .5s cubic-bezier(.3,1.5,.5,1);
}
.diag-node__n { font-size: 12px; font-weight: 600; opacity: .7; }
.diag-node__t { font-family: var(--ff-head); font-size: 20px; font-weight: 800; }
.diag-node__tag { font-size: 12px; font-weight: 700; min-height: 16px; }
.diag-node.is-scanning { border-color: var(--red-light); transform: scale(1.05); }
.diag-node.is-bad { border-color: var(--red); }
.diag-node.is-break {
  background: rgba(215,25,32,.16); border-color: var(--red); transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(215,25,32,.12), 0 0 50px rgba(215,25,32,.6);
}
.diag-node.is-lit { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 0 40px rgba(255,255,255,.18); }
.diag-node--last.is-lit { background: var(--red); border-color: var(--red); color: #fff; }

.diag__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.diag-card {
  padding: 18px 20px; border-radius: 18px;
  background: var(--ink); border: 1px solid var(--dark-3);
  opacity: .25; transform: translateY(10px);
  transition: opacity .5s, transform .5s, background .4s, border-color .4s;
}
.diag-card.is-visible { opacity: 1; transform: none; }
.diag-card.is-bad { background: rgba(215,25,32,.1); border-color: rgba(215,25,32,.5); }
.diag-card.is-lit { background: var(--dark-2); }
.diag-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.diag-card__t { font-size: 14px; color: var(--light-dark); }
.diag-card__score { font-family: var(--ff-head); font-size: 22px; font-weight: 800; color: #fff; }
.diag-card[data-bad] .diag-card__score { color: var(--red-light); }
.diag-card.is-lit .diag-card__score { color: #fff; }
.diag-card__note { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--gray-200); }

.diag-concl {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 16px; padding: 20px 24px; border-radius: 18px;
  background: rgba(215,25,32,.12); opacity: 0;
  transition: opacity .5s, background .4s;
}
.diag-concl.is-visible { opacity: 1; }
.diag-concl.is-fixed { background: var(--red); }
.diag-concl__t { font-family: var(--ff-head); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.diag-concl__d { margin-top: 2px; font-size: 15px; color: var(--light-dark); }
.diag-concl.is-fixed .diag-concl__d { color: var(--red-soft); }
.diag-concl__actions { display: flex; gap: 10px; flex: none; }
.diag-concl__reset, .diag-concl__btn {
  all: unset; cursor: pointer; height: 52px; border-radius: 12px;
  font-size: 15px; display: flex; align-items: center;
}
.diag-concl__reset { padding: 0 20px; border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; }
.diag-concl__btn { padding: 0 26px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; gap: 10px; transition: background .2s; }
.diag-concl__btn:hover { background: var(--red-dark); }
.diag-concl__reset { border-radius: 999px; }
.diag-concl.is-fixed .diag-concl__btn { background: #fff; color: var(--ink); }
.diag__note { margin-top: 12px; font-size: 12px; color: var(--gray-500); }

/* ---------- 02 Результаты ---------- */
.results { margin-top: 48px; border-top: 2px solid var(--ink); }
.results__row { align-items: center; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.results__n { font-size: 14px; font-weight: 600; color: var(--gray-400); }
.results__v {
  font-family: var(--ff-head); font-size: 168px; line-height: 1; font-weight: 800; letter-spacing: -.06em;
  height: 168px; display: flex; overflow: hidden;
}
.results__v--accent { color: var(--red); }
.results__t { font-family: var(--ff-head); font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }

/* ---------- 03 Задачи (стек) ---------- */
.tasks { margin-top: 56px; }
.task-card {
  position: sticky; margin-bottom: 24px; min-height: 340px;
  border-radius: 32px; padding: 48px; border: 1px solid;
  transform-origin: 50% 0; box-shadow: 0 8px 40px -12px rgba(21,23,28,.14);
}
.task-card__n { font-family: var(--ff-head); font-size: 140px; line-height: .8; font-weight: 800; letter-spacing: -.06em; }
.task-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.task-card__t { font-family: var(--ff-head); font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.task-card__d { font-size: 19px; line-height: 1.6; max-width: 620px; }
.task-card--1 { top: 110px; background: #fff; color: var(--ink); border-color: var(--gray-200); }
.task-card--1 .task-card__n { color: var(--red); }
.task-card--1 .task-card__d { color: var(--gray-600); }
.task-card--2 { top: 138px; background: var(--ink); color: #fff; border-color: var(--ink); }
.task-card--2 .task-card__n { color: var(--red); }
.task-card--2 .task-card__d { color: var(--light-dark); }
.task-card--3 { top: 166px; background: #fff; color: var(--ink); border-color: var(--gray-200); }
.task-card--3 .task-card__n { color: var(--red); }
.task-card--3 .task-card__d { color: var(--gray-600); }
.task-card--4 { top: 194px; background: var(--red); color: #fff; border-color: var(--red); }
.task-card--4 .task-card__n { color: #fff; }
.task-card--4 .task-card__d { color: var(--red-soft); }

/* ---------- 03b CTA ---------- */
.cta-section { padding-bottom: 48px; }
.cta {
  position: relative; overflow: hidden;
  border-radius: 32px; color: #fff; padding: 52px 50px; align-items: stretch;
  border: 1px solid rgba(215,25,32,.55);
  background:
    radial-gradient(120% 70% at 15% 0%, rgba(176,24,32,.75) 0%, rgba(176,24,32,0) 60%),
    linear-gradient(180deg, #8C1017 0%, #6B0309 40%, #2A1418 75%, #1C1A1F 100%);
}
.cta__info { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.cta__title { font-family: var(--ff-head); font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.cta__text { margin: 0; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.9); max-width: 560px; }
.cta__done { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.12); }
.cta__check {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800;
}
.cta__done-t { font-family: var(--ff-head); font-size: 22px; font-weight: 800; }
.cta__done-d { font-size: 15px; color: var(--red-soft); }
.cta__form { display: flex; flex-direction: column; gap: 14px; }
.cta__form input[type="text"], .cta__form input[type="tel"] {
  width: 100%; min-width: 0; height: 56px; border-radius: 14px;
  border: 2px solid #fff; background: #fff;
  padding: 0 18px; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .2s;
}
.cta__form input[type="text"]:focus, .cta__form input[type="tel"]:focus { border-color: var(--gray-300); }
.cta__form input.is-error { border-color: var(--red-light); }
.cta__agree { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.85); }
.cta__agree input { position: absolute; opacity: 0; pointer-events: none; }
.cta__agree-box {
  flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: transparent;
  transition: background .2s, border-color .2s;
}
.cta__agree input:checked + .cta__agree-box { background: var(--red); border-color: var(--red); color: #fff; }
.cta__agree input:focus-visible + .cta__agree-box { outline: 2px solid #fff; outline-offset: 2px; }
.cta__agree.is-error .cta__agree-box { border-color: var(--red-light); box-shadow: 0 0 0 3px rgba(255,90,96,.35); }
.cta__agree a, .cta__agree a:hover { color: inherit; text-decoration: none; }
.cta__btn {
  all: unset; box-sizing: border-box; cursor: pointer;
  height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; white-space: nowrap; transition: background .2s;
}
.cta__btn:hover { background: var(--red-dark); }
.cta__err { min-height: 16px; margin-top: -4px; font-size: 13px; color: #FFB3B6; font-weight: 600; }
.cta__err:empty { display: none; }

/* ---------- 04 Услуги ---------- */
.services-section {
  color: #fff;
  background:
    radial-gradient(60% 45% at 50% 100%, rgba(226,48,62,.9) 0%, rgba(226,48,62,0) 100%),
    linear-gradient(180deg, #19191C 0%, #3A0B0F 22%, #6C0309 52%, #8E0C14 78%, #A3131C 100%);
}
.services-section .eyebrow--red { color: var(--red-bright); }
.services { margin-top: 64px; }
.service, .service:hover {
  position: relative; align-items: center;
  padding: 40px 24px; margin: 0 -24px; border-radius: 0 0 24px 24px;
  border-bottom: 1px solid rgba(255,90,96,.55); color: #fff; background: transparent;
  transition: background .35s, border-color .35s;
}
.service__n { font-size: 14px; font-weight: 600; color: #fff; transition: color .35s; }
.service__t { font-family: var(--ff-head); font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; transition: transform .4s var(--ease); }
.service__d { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.86); }
.service__arrow {
  justify-self: end; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: #fff; color: var(--ink); transition: transform .4s, background .35s, color .35s;
}
.service:hover { background: rgba(0,0,0,.22); border-color: rgba(255,90,96,.9); }
.service:hover .service__n { color: var(--red-light); }
.service:hover .service__t { transform: translateX(12px); }
.service:hover .service__arrow { background: var(--red); color: #fff; transform: rotate(-45deg); }

/* ---------- 05 Кейс ---------- */
.case { margin-top: 64px; }
.case__info, .case__metrics { display: flex; flex-direction: column; }
.case__img { position: relative; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; background: #313A4F; }
.case__badge {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none;
}
.case__title { margin: 28px 0 0; font-family: var(--ff-head); font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.case__props { display: flex; flex-direction: column; margin-top: 20px; font-size: 15px; border-top: 1px solid var(--dark-3); }
.case__prop { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dark-3); }
.case__prop > span:first-child { color: var(--muted-dark); }
.case__metrics-head, .metric {
  display: grid; grid-template-columns: minmax(0,1fr) 140px 145px; gap: 16px; align-items: baseline;
}
.case__metrics-head {
  padding-bottom: 16px; border-bottom: 1px solid var(--dark-4);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark);
}
.metric { padding: 34px 0; border-bottom: 1px solid var(--dark-3); }
.metric__t { font-size: 16px; color: var(--light-dark); }
.metric__from { font-size: 17px; color: var(--muted-dark); }
.metric__to { font-family: var(--ff-head); font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.case__btn { margin-top: 32px; align-self: flex-start; gap: 8px; height: 58px; font-weight: 700; }

/* ---------- Сравнение «до / после» (шторка) ----------
   Все размеры внутри — в cqw (доля ширины блока), чтобы макеты сайтов
   масштабировались целиком. */
.compare {
  --pos: 50%;
  position: relative; container-type: inline-size;
  margin: 40px clamp(-48px, calc((1200px - 100vw) / 2 + 16px), 0px) 0;
  aspect-ratio: 895 / 503; border-radius: 24px; overflow: hidden;
  background: #000; user-select: none; -webkit-user-select: none;
}
.compare__pane { position: absolute; inset: 0; }
.compare__after { background: #000; color: #fff; }
.compare__before { background: #DCDCDC; color: #3A3E48; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

/* Старый сайт */
.mock-old__head, .mock-old__hero, .mock-old__menu, .mock-old__text { position: absolute; }
.mock-old__head {
  left: 4.25cqw; right: 4.25cqw; top: 3.24cqw; height: 3.13cqw;
  display: flex; align-items: center; padding-left: 1.3cqw;
  background: #C5CAD1; font-size: 1.45cqw; font-weight: 700;
}
.mock-old__hero {
  left: 4.25cqw; right: 4.25cqw; top: 7.6cqw; height: 14cqw;
  display: flex; align-items: center; justify-content: center;
  background: #C5CAD1; font-size: 2.2cqw; font-weight: 700;
}
.mock-old__menu, .mock-old__text { top: 22.7cqw; height: 21.8cqw; padding: 1.1cqw; font-size: 1.06cqw; line-height: 1.25; }
.mock-old__menu { left: 4.45cqw; width: 30cqw; background: #C5CAD1; }
.mock-old__text { left: 35.7cqw; right: 4.25cqw; background: #E3E5E8; }

/* Новый сайт */
.mock-new__head {
  position: absolute; left: 4.25cqw; right: 4.36cqw; top: 3.24cqw; height: 2.9cqw;
  display: flex; align-items: center; justify-content: space-between;
}
.mock-new__logo { font-family: var(--ff-head); font-size: 1.6cqw; font-weight: 800; }
.mock-new__nav { display: flex; align-items: center; gap: 1.65cqw; font-size: 1.23cqw; }
.mock-new__btn, .mock-new__cta {
  display: inline-flex; align-items: center; height: 2.9cqw; padding: 0 1.4cqw; border-radius: .7cqw;
  background: var(--red); color: #fff; font-size: 1.23cqw;
}
.mock-new__hero { position: absolute; left: 4.25cqw; top: 9.3cqw; width: 56cqw; }
.mock-new__title { font-family: var(--ff-head); font-size: 4.6cqw; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.mock-new__sub { margin-top: 1.4cqw; font-size: 1.5cqw; color: #98A0AE; }
.mock-new__cta { margin-top: 2cqw; height: 3.6cqw; padding: 0 2cqw; font-weight: 600; }
.mock-new__img { position: absolute; left: 62.9cqw; right: 4.36cqw; top: 9.05cqw; height: 23.35cqw; border-radius: 1.56cqw; background: #2B2F38; }
.mock-new__tiles {
  position: absolute; left: 4.25cqw; right: 4.36cqw; top: 33.9cqw;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw;
}
.mock-new__tiles span {
  height: 3.9cqw; display: flex; align-items: center; padding: 0 1.25cqw;
  border-radius: .9cqw; background: #1C1F26; font-size: 1.34cqw;
}

/* Плашки с цифрами */
.compare__badge { position: absolute; bottom: 2.8cqw; display: flex; flex-direction: column; border-radius: max(8px, 1.1cqw); }
.compare__badge-l { font-size: max(10px, 1.06cqw); }
.compare__badge-v { display: flex; align-items: baseline; gap: .5cqw; font-size: max(10px, 1.12cqw); font-weight: 600; }
.compare__badge-v b { font-family: var(--ff-head); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.compare__badge--before { left: 3.1cqw; padding: 1.4cqw 1.6cqw; background: #fff; color: var(--ink); }
.compare__badge--before .compare__badge-l { color: var(--gray-500); }
.compare__badge--before b { font-size: max(20px, 2.9cqw); }
.compare__badge--after { right: 3cqw; padding: 1.2cqw 1.6cqw; align-items: flex-end; background: var(--red); color: #fff; }
.compare__badge--after .compare__badge-l { color: var(--red-soft); }
.compare__badge--after b { font-size: max(26px, 4cqw); }

/* Подсказка, линия и ручка */
.compare__hint {
  position: absolute; left: 50%; top: 1.7cqw; transform: translateX(-50%); z-index: 3;
  padding: .6cqw 1.2cqw; border-radius: 999px; background: rgba(40,42,48,.92); color: #fff;
  font-size: max(10px, 1.12cqw); white-space: nowrap; pointer-events: none;
}
.compare__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2;
  width: 2px; margin-left: -1px; background: #fff; pointer-events: none;
}
.compare__handle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(36px, 4.9cqw); height: max(36px, 4.9cqw); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); border: 2px solid #fff; color: #fff; font-size: max(14px, 1.8cqw);
  box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s;
}
.compare.is-dragging .compare__handle, .compare__range:focus-visible ~ .compare__divider .compare__handle { transform: translate(-50%, -50%) scale(1.12); }
.compare { cursor: ew-resize; touch-action: pan-y; }
/* Ползунок нужен только для клавиатуры и скринридеров — перетаскивание обрабатывает JS */
.compare__range {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0;
  opacity: 0; pointer-events: none;
}

/* ---------- 06 Воронка и этапы ---------- */
.funnel { display: flex; margin-top: 72px; }
.funnel__item {
  flex: 1; aspect-ratio: 1; position: relative;
  border-radius: 50%; border: 1.5px solid var(--gray-300);
  background: rgba(255,255,255,.6); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transform: scale(.9);
  transition: background .5s, color .5s, border-color .5s, transform .6s cubic-bezier(.3,1.4,.5,1);
}
.funnel__item + .funnel__item { margin-left: -24px; }
.funnel__item:nth-child(1) { z-index: 5; }
.funnel__item:nth-child(2) { z-index: 4; }
.funnel__item:nth-child(3) { z-index: 3; }
.funnel__item:nth-child(4) { z-index: 2; }
.funnel__item:nth-child(5) { z-index: 1; }
.funnel__n { font-size: 13px; font-weight: 600; color: var(--gray-500); transition: color .5s; }
.funnel__t { font-family: var(--ff-head); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.funnel__item.is-active { background: var(--ink); color: #fff; border-color: var(--ink); transform: none; }
.funnel__item.is-active .funnel__n { color: rgba(255,255,255,.7); }
.funnel__item.is-final { background: var(--red); border-color: var(--red); }

.funnel-result {
  margin-top: 32px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 28px;
  padding: 30px 36px; border-radius: 999px; background: var(--ink); color: #fff;
  opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s;
}
.funnel-result.is-visible { opacity: 1; transform: none; }
.funnel-result__badge { padding: 8px 16px; border-radius: 999px; background: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.funnel-result__t { font-family: var(--ff-head); font-size: 22px; line-height: 1.3; font-weight: 700; }
.funnel-result__link, .funnel-result__link:hover { font-weight: 600; color: var(--red-light); white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.step { border-top: 1.5px solid var(--ink); padding-top: 20px; transition: border-color .3s; }
.step__n {
  font-family: var(--ff-head); font-size: 96px; line-height: 1; font-weight: 800; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.2px var(--ink); transition: color .3s;
}
.step__t { margin-top: 24px; font-family: var(--ff-head); font-size: 21px; font-weight: 700; line-height: 1.25; }
.step__d { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--gray-500); }
.step.is-active { border-color: var(--red); }
.step.is-active .step__n { color: var(--red); -webkit-text-stroke-color: var(--red); }

/* ---------- 07 Команда ---------- */
.org { margin-top: 64px; display: flex; flex-direction: column; align-items: center; }
.org__client { padding: 20px 34px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--ff-head); font-size: 20px; font-weight: 800; }
.org__plan { padding: 17px 28px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--ff-head); font-size: 17px; font-weight: 700; }
.org__line { width: 1.5px; height: 32px; background: var(--ink); }
.org__roles { position: relative; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; padding-top: 32px; }
/* Линия идёт ровно от центра первой карточки до центра последней: (ширина − 3 промежутка) / 8 */
.org__hline { position: absolute; top: 0; left: calc((100% - 48px) / 8); right: calc((100% - 48px) / 8); height: 1.5px; background: var(--ink); }
.org-role {
  position: relative; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--gray-200);
  min-height: 200px; display: flex; flex-direction: column;
}
.org-role::before { content: ''; position: absolute; left: 50%; top: -33px; width: 1.5px; height: 33px; margin-left: -.75px; background: var(--ink); }
.org-role__n { font-size: 13px; font-weight: 600; color: var(--red); }
/* Заголовки всех карточек — на одной линии сразу под номером */
.org-role__t { margin-top: 28px; font-family: var(--ff-head); font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.org-role__d { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--gray-500); }
.org-note {
  margin-top: 24px; padding: 40px 44px; border-radius: 24px; background: #fff; border: 1px solid var(--gray-200);
  font-family: var(--ff-head); font-size: 30px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--red);
}
.org-note__text { margin: 0; max-width: 820px; }

.why { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 52px; margin-top: 28px; border-top: 1.5px solid var(--dark-4); }
.why__item { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 0; padding: 44px 0 40px; border-bottom: 1px solid var(--gray-300); }
.why__n {
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 15px; font-weight: 800;
}
.why__t { font-family: var(--ff-head); font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.why__d { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--gray-500); }

.team { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 40px; }
.team__item:nth-child(even) { margin-top: 48px; }
.team__photo { position: relative; aspect-ratio: 4/5; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--gray-200); }
.team__name { margin-top: 18px; font-family: var(--ff-head); font-size: 20px; font-weight: 800; }
.team__role { margin-top: 4px; font-size: 15px; color: var(--gray-500); }

/* ---------- 08 AI-поиск ---------- */
.ai__title {
  margin: 24px 0 0; font-family: var(--ff-head); font-size: 80px; line-height: .98; font-weight: 800;
  letter-spacing: -.05em; max-width: 1100px; text-wrap: balance;
}
.ai__grid { margin-top: 64px; align-items: start; }
.ai__text { display: flex; flex-direction: column; gap: 16px; }
.ai__text p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--light-dark); }
.ai__btn { margin-top: 20px; align-self: flex-start; }

.chat { display: flex; flex-direction: column; gap: 14px; }
.chat__input { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 13px 13px 44px; border-radius: 999px; background: #fff; color: var(--ink); }
.chat__q { flex: 1; max-width: 310px; font-size: 18px; line-height: 1.4; min-height: 2.8em; }
.chat__caret { display: inline-block; width: 2px; height: 20px; background: var(--red); vertical-align: -3px; margin-left: 2px; }
.chat__send { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.chat__answer {
  padding: 24px; border-radius: 28px; background: var(--dark-1); border: 1px solid var(--dark-3);
  transition: opacity .6s, transform .6s;
}
.js-motion .chat__answer { opacity: 0; transform: translateY(20px); }
.js-motion .chat__answer.is-visible { opacity: 1; transform: none; }
.chat__label { font-size: 14px; color: var(--muted-dark); }
.chat__intro { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--gray-200); }
.chat__list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.chat__item { padding: 14px 16px; border-radius: 16px; background: var(--dark-2); color: var(--gray-500); }
.chat__item--us { display: flex; align-items: center; gap: 12px; background: var(--red); color: #fff; }
.chat__item--us b { font-family: var(--ff-head); font-size: 17px; }
.chat__item--us span { font-size: 14px; }
.chat__item--us .chat__mention { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--red-dark); }
.chat__note { margin-top: 14px; font-size: 12px; color: var(--muted-dark); }

/* ---------- 09 Отрасли ---------- */
/* Композиция кругов: координаты сняты с макета, в % от ширины/высоты блока */
.industries {
  position: relative; margin-top: 46px; container-type: inline-size;
  aspect-ratio: 838 / 295;
}
.industry, .industry:hover {
  position: absolute; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gray-200);
  background: var(--gray-50); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 3cqw; transition: background .35s, color .35s, border-color .35s;
}
.industry:nth-child(even), .industry:nth-child(even):hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.industry--1 { left: 0;     top: 3.05%; width: 22.9%; z-index: 1; }
.industry--2 { left: 18.5%; top: 31.5%; width: 24.1%; z-index: 3; }
.industry--3 { left: 35.6%; top: 0;     width: 26.7%; z-index: 2; }
.industry--4 { left: 58.6%; top: 26.1%; width: 25.8%; z-index: 4; }
.industry--5 { left: 76.8%; top: 4.07%; width: 19.9%; z-index: 1; }
.industry__t { font-family: var(--ff-head); font-size: clamp(14px, 2.6cqw, 23px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.industry__more { font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.industries .industry:hover { z-index: 10; background: var(--red); color: #fff; border-color: var(--red); }
.industry:hover .industry__more { opacity: 1; }

/* ---------- 10 Отзывы ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.reviews__title { max-width: 720px; }
.reviews__nav { display: flex; gap: 8px; }
.reviews__body { margin-top: 56px; }
.review { padding: 48px; border-radius: 32px; background: #fff; }
.review__side { display: flex; flex-direction: column; gap: 20px; }
.review__logo { position: relative; width: 180px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--gray-50); }
.review__source {
  align-self: flex-start; display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--gray-50); font-family: var(--ff-head); font-size: 16px; font-weight: 800;
}
.review__author { margin-top: auto; }
.review__pos { font-size: 14px; color: var(--gray-500); }
.review__link { font-size: 15px; font-weight: 600; }
.review__quote-mark { font-family: var(--ff-head); font-size: 110px; line-height: .78; font-weight: 800; color: var(--red); height: 54px; overflow: hidden; }
.review__text { margin: 0; font-family: var(--ff-head); font-size: 26px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; text-wrap: pretty; }
.reviews__pager { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.reviews__count { font-family: var(--ff-head); font-size: 15px; font-weight: 700; }
.reviews__dots { display: flex; gap: 6px; }
.reviews__dot {
  all: unset; cursor: pointer; height: 4px; width: 16px; border-radius: 2px;
  background: rgba(21,23,28,.2); transition: width .3s, background .3s;
}
.reviews__dot.is-active { width: 40px; background: var(--red); }

/* Отзывы на тёмном фоне */
.reviews-section .round-btn--outline { border-color: rgba(255,255,255,.35); color: #fff; }
.reviews-section .round-btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.reviews-section .round-btn--dark { background: #fff; color: var(--ink); }
.reviews-section .round-btn--dark:hover { background: var(--red); color: #fff; }
.reviews-section .review { color: var(--ink); }
.reviews-section .reviews__count { color: #fff; }
.reviews-section .reviews__dot { background: var(--dark-4); }
.reviews-section .reviews__dot.is-active { background: var(--red); }
.reviews-section .review__source {
  width: 186px; height: 66px; padding: 0 18px; border-radius: 14px; justify-content: center;
}

/* ---------- 11 Блог ---------- */
.blog__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.blog__aside p { margin: 0; }
.blog { margin-top: 56px; align-items: start; }
.articles { border-top: 2px solid var(--ink); }
.article, .article:hover {
  display: grid; grid-template-columns: 140px minmax(0,1fr) 56px; gap: 24px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--gray-200); color: var(--ink);
}
.article__meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--gray-500); }
.article__tag { font-weight: 600; color: var(--ink); transition: color .3s; }
.article__t { display: block; font-family: var(--ff-head); font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; transition: color .3s; }
.article__d { display: block; margin-top: 8px; font-size: 15.5px; color: var(--gray-500); }
.article__arrow {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gray-50); color: var(--ink); transition: background .3s, color .3s;
}
.article.is-active .article__tag, .article.is-active .article__t { color: var(--red); }
.article.is-active .article__arrow { background: var(--red); color: #fff; }
.blog__cover-wrap { position: sticky; top: 120px; }
.blog__cover { position: relative; aspect-ratio: 3/4; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--gray-50); }

/* ---------- 12 Форма заявки ---------- */
.form-section { background: #fff; }
.form-section__title {
  margin: 0; font-family: var(--ff-head); font-size: 96px; line-height: 1.04; font-weight: 800;
  letter-spacing: -.055em; max-width: 1100px;
}
.form-section__grid { margin-top: 76px; align-items: start; }

.manager {
  display: flex; flex-direction: column; gap: 22px; padding: 26px; border-radius: 30px;
  background: #fff; box-shadow: 0 10px 36px -8px rgba(21,23,28,.16), 0 1px 3px rgba(21,23,28,.05);
}
.manager__head { display: flex; align-items: center; gap: 18px; }
.manager__photo { position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--gray-200); }
.manager__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.manager__name { font-family: var(--ff-head); font-size: 19px; font-weight: 700; }
.manager__pos { margin-top: 2px; font-size: 15px; color: var(--gray-500); }
.manager__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--gray-600); }
.manager__tg {
  display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink); font-size: 17px; font-weight: 600; transition: background .2s, color .2s;
}
.manager__tg:hover { background: var(--ink); color: #fff; }
.manager__contacts { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.manager__phone, .manager__phone:hover { font-family: var(--ff-head); font-size: 23px; font-weight: 800; color: var(--ink); }
.manager__mail, .manager__mail:hover { font-size: 16px; color: var(--gray-500); }

.lead-done { padding: 48px; border-radius: 28px; background: var(--ink); color: #fff; }
.lead-done__check { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.lead-done__t { margin-top: 24px; font-family: var(--ff-head); font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.lead-done__d { margin: 10px 0 0; font-size: 17px; color: var(--light-dark); }
.lead-done__again { all: unset; cursor: pointer; margin-top: 24px; font-weight: 600; color: var(--red-light); }

.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 10px; }
.lead-field__label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-600); }
.lead-field input {
  width: 100%; min-width: 0; height: 58px; padding: 0 19px;
  border: 1px solid var(--gray-400); border-radius: 14px; outline: none; background: #fff;
  font-family: var(--ff-text); font-size: 17px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.lead-field input::placeholder { color: var(--gray-500); }
.lead-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21,23,28,.06); }
.lead-field.is-error input { border-color: var(--red); }
.lead-field__err { font-size: 13px; color: var(--red); min-height: 16px; margin-top: -4px; }
.lead-field--optional { margin-bottom: 16px; }
.lead-form__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }

.agree { cursor: pointer; display: flex; align-items: flex-start; gap: 12px; max-width: 420px; font-size: 14px; line-height: 1.55; color: var(--gray-600); }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree__box {
  flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 5px; border: 1px solid var(--gray-400);
  background: transparent; display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent; transition: background .2s;
}
.agree input:checked + .agree__box { background: var(--red); border-color: var(--red); color: #fff; }
.agree.is-error .agree__box { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,25,32,.2); }
.agree input:focus-visible + .agree__box { outline: 2px solid var(--red); outline-offset: 2px; }
.agree a, .agree a:hover { color: inherit; text-decoration: none; }
.agree a:hover { color: var(--ink); }

.lead-form__btn {
  all: unset; box-sizing: border-box; cursor: pointer; flex: none;
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 42px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 17px; font-weight: 600; transition: background .2s;
}
.lead-form__btn:hover { background: var(--red-dark); }
.lead-form__btn.is-loading { background: #7A2A2E; }

/* ---------- 13 Сертификаты и клиенты ---------- */
.trust { padding-top: 64px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 104px; }

/* Карусель: заголовок + стрелки, лента с прокруткой и привязкой к карточкам */
.carousel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.carousel__sub { margin: 18px 0 0; font-size: 15px; color: var(--gray-500); }
.carousel__nav { display: flex; gap: 8px; flex: none; padding-top: 12px; }
.carousel__nav .round-btn[disabled] { opacity: .35; cursor: default; pointer-events: none; }
.carousel__track {
  --per: 4; --gap: 76px;
  display: flex; gap: var(--gap); margin: 28px 0 -24px; padding: 8px 0 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; min-width: 0; }
.carousel__track--clients { --per: 1; --gap: 48px; }
.clients-page { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 106px; }
.client-logo { display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.client-logo img { display: block; max-width: 80%; max-height: 46px; width: auto; height: auto; opacity: .9; transition: opacity .25s, transform .25s; }
.client-logo:hover img { opacity: 1; transform: scale(1.04); }

.cert-card { margin: 0; }
.cert-card__img {
  aspect-ratio: 496 / 322; border-radius: 16px; overflow: hidden; background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cert-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cert-card:hover .cert-card__img { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(21,23,28,.3); }
.cert-card__t { margin-top: 26px; font-family: var(--ff-head); font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }


/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: var(--muted-dark); font-size: 14px; overflow: hidden; }
.footer__top { padding-top: 64px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 30px; align-self: flex-start; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__bottom a { color: var(--muted-dark); }
.footer__col a:hover, .footer__bottom a:hover { color: #fff; }
.footer__h { color: #fff; font-weight: 600; }
.footer__col .footer__phone { color: #fff; font-family: var(--ff-head); font-size: 20px; font-weight: 700; }
/* Слово-знак растягивается на всю ширину контейнера (размер в cqw от ширины контейнера) */
.footer__mark { container-type: inline-size; }
.footer__word {
  margin-top: 40px; padding-bottom: .27em; font-family: var(--ff-head); font-size: 28.3cqw; line-height: .82; font-weight: 700;
  letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.2px var(--dark-4); white-space: nowrap; transition: color .5s;
}
.footer__word:hover { color: var(--red); -webkit-text-stroke: 1.5px var(--red); }
.footer__bottom { display: flex; justify-content: space-between; padding: 24px 0 32px; border-top: 1px solid var(--dark-2); margin-top: 24px; }

/* Курсор только для мыши */
@media (hover: none) { .cursor { display: none; } }

/* =========================================================
   Бургер (виден только на планшете/телефоне)
   ========================================================= */
.header__nav-phone { display: none; }
.header__burger {
  display: none; position: relative; flex: none;
  width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  background: transparent; color: #fff;
}
.header__burger span,
.header__burger span::before,
.header__burger span::after {
  position: absolute; width: 18px; height: 2px;
  background: currentColor; border-radius: 1px; transition: transform .25s, background .2s;
}
.header__burger span { left: 50%; top: 50%; margin: -1px 0 0 -9px; }
.header__burger span::before, .header__burger span::after { content: ""; left: 0; }
.header__burger span::before { top: -6px; }
.header__burger span::after { top: 6px; }
.header.is-open .header__burger span { background: transparent; }
.header.is-open .header__burger span::before { transform: translateY(6px) rotate(45deg); background: #fff; }
.header.is-open .header__burger span::after { transform: translateY(-6px) rotate(-45deg); background: #fff; }

/* =========================================================
   АДАПТИВ
   ========================================================= */

/* ---------- ≤ 1200px: ноутбук ---------- */
@media (max-width: 1200px) {
  .h2--56 { font-size: 48px; }
  .h2--72 { font-size: 60px; }
  .h3 { font-size: 38px; }
  .results__v { font-size: 136px; height: 136px; }
  .results__t { font-size: 26px; }
  .task-card__n { font-size: 112px; }
  .task-card__t { font-size: 38px; }
  .service__t { font-size: 36px; }
  .ai__title { font-size: 64px; }
  .form-section__title { font-size: 76px; }
  .step__n { font-size: 76px; }
}

/* ---------- ≤ 900px: планшет ---------- */
@media (max-width: 900px) {
  .section { padding-top: 88px; padding-bottom: 88px; }
  .section--no-bottom { padding-bottom: 0; }
  .section--no-top { padding-top: 0; }
  .mt-120 { margin-top: 88px !important; }

  /* Сетка: колонки складываются в одну */
  .grid-12 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .grid-12 > [class*="col-"] { grid-column: 1 / -1; }
  .section-head { gap: 16px; }
  .text-right { text-align: left; }

  .h2--48, .h2--56 { font-size: 40px; }
  .h2--72 { font-size: 52px; }
  .h3 { font-size: 32px; }

  /* Шапка → бургер */
  .header__inner { height: 68px; }
  .header__logo img { height: 30px; }
  .header__burger { display: block; }
  .header__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 24px 24px;
    background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 20px; font-weight: 600; overflow: visible;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .header__nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .header__nav .header__nav-phone { display: block; font-family: var(--ff-head); font-weight: 800; border-bottom: 0; }
  .header.is-open .header__nav { visibility: visible; opacity: 1; transform: none; }
  .header__right { gap: 10px; }

  /* Первый экран */
  .hero__inner { padding-top: 40px; padding-bottom: 72px; }
  .hero__eyebrows { flex-direction: column; gap: 8px; }
  .hero__title { margin-top: 24px; font-size: clamp(42px, 11vw, 88px); }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 28px; }
  .diag-form { flex-direction: column; align-items: stretch; gap: 18px; padding: 24px; }
  .diag-form__control { flex: none; }
  .diag { padding: 20px 16px 16px; border-radius: 24px; }
  .diag__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .diag__chain { height: 180px; }
  .diag-node { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .diag-node__t { font-size: 16px; }
  .diag__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diag-concl { flex-direction: column; align-items: flex-start; gap: 16px; }
  .diag-concl__actions { flex-wrap: wrap; }

  /* Результаты */
  .results__row { grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; padding: 24px 0; }
  .results__row > .results__n { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 8px; }
  .results__row > .results__v, .results__row > .results__t { grid-column: 2; }
  .results__v { font-size: 112px; height: 112px; }
  .results__t { font-size: 22px; }

  /* Задачи */
  .task-card { min-height: 0; padding: 32px; border-radius: 28px; }
  .task-card__n { font-size: 80px; }
  .task-card__t { font-size: 30px; }
  .task-card__d { font-size: 17px; }
  .task-card__body { gap: 16px; }
  .task-card--1 { top: 84px; }
  .task-card--2 { top: 100px; }
  .task-card--3 { top: 116px; }
  .task-card--4 { top: 132px; }

  /* CTA */
  .cta { padding: 36px 32px; border-radius: 28px; gap: 28px; }
  .cta__info { gap: 16px; }
  .cta__title { font-size: 32px; }
  .cta-section { padding-bottom: 40px; }

  /* Услуги */
  .service, .service:hover { grid-template-columns: 40px minmax(0, 1fr) 56px; gap: 12px 16px; padding: 28px 20px; margin: 0 -20px; }
  .service > .service__n { grid-column: 1; grid-row: 1; padding-top: 10px; }
  .service > .service__t { grid-column: 2; grid-row: 1; }
  .service > .service__arrow { grid-column: 3; grid-row: 1; }
  .service > .service__d { grid-column: 2 / -1; grid-row: 2; }
  .service__t { font-size: 30px; }
  .service:hover .service__t { transform: none; }

  /* Кейс */
  .case { margin-top: 40px; gap: 48px; }
  .case__metrics-head, .metric { grid-template-columns: minmax(0, 1fr) 100px 120px; }
  .metric { padding: 26px 0; }
  .compare { margin-top: 32px; border-radius: 20px; }
  .metric__to { font-size: 26px; }

  /* Воронка и этапы */
  .funnel { margin-top: 48px; }
  .funnel__item + .funnel__item { margin-left: -12px; }
  .funnel__t { font-size: 16px; }
  .funnel__n { font-size: 11px; }
  .funnel-result { grid-template-columns: 1fr; justify-items: start; gap: 14px; padding: 28px; border-radius: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .step__n { font-size: 64px; }

  /* Команда */
  .org__roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org__hline, .org-role::before { display: none; }
  .org-role { min-height: 0; }
  .org-note { padding: 28px; font-size: 24px; }
  .why { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* AI */
  .ai__title { font-size: 48px; }
  .ai__grid { margin-top: 40px; gap: 40px; }

  /* Отрасли: композиция сохраняется, только подпись при наведении скрыта */
  .industries { margin-top: 36px; }
  .industry__more { display: none; }

  /* Отзывы */
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .reviews__body { margin-top: 32px; }
  .review { padding: 32px; border-radius: 28px; gap: 24px; }
  .review__text { font-size: 21px; }
  .review__author { margin-top: 0; }

  /* Блог */
  .blog { margin-top: 40px; }
  .blog__cover-wrap { display: none; }
  .article, .article:hover { grid-template-columns: 110px minmax(0, 1fr) 48px; gap: 16px; }
  .article__t { font-size: 22px; }
  .article__arrow { width: 48px; height: 48px; }

  /* Форма */
  .form-section__title { font-size: 56px; }
  .form-section__grid { margin-top: 48px; gap: 40px; }

  /* Сертификаты и клиенты */
  .trust { gap: 80px; padding-bottom: 88px; }
  .carousel__track { --per: 3; --gap: 32px; }
  .carousel__track--clients { --per: 1; --gap: 32px; }
  .clients-page { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 96px; }
  .cert-card__t { margin-top: 18px; font-size: 18px; }

  /* Подвал */
  .footer__top { gap: 32px 16px; }
  .footer__top > .footer__brand { grid-column: 1 / -1; }
  .footer__top > .footer__col { grid-column: span 6; }
  .footer__top > .footer__col:last-child { grid-column: 1 / -1; }
}

/* ---------- ≤ 600px: телефон ---------- */
@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section--no-bottom { padding-bottom: 0; }
  .section--no-top { padding-top: 0; }
  .mt-120 { margin-top: 64px !important; }

  .h2--48, .h2--56 { font-size: 32px; }
  .h2--72 { font-size: 40px; }
  .h3 { font-size: 26px; }
  .eyebrow { font-size: 11px; }

  .header__cta { display: none; }

  /* Первый экран */
  .hero__inner { padding-top: 32px; padding-bottom: 48px; }
  .hero__title { font-size: clamp(38px, 12vw, 56px); letter-spacing: -.045em; }
  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: column; align-self: stretch; }
  .hero-btn { justify-content: center; height: 56px; }
  .diag-form { padding: 20px 16px 12px; margin-top: 32px; }
  .diag-form__title { font-size: 20px; }
  .diag-form__btn { min-width: 0; padding: 0 16px; }
  .diag__chain { height: 140px; }
  .diag-node { width: 72px; height: 72px; margin: -36px 0 0 -36px; border-width: 1.5px; }
  .diag-node__n { display: none; }
  .diag-node__t { font-size: 13px; }
  .diag-node__tag { font-size: 9px; min-height: 11px; letter-spacing: -.02em; }
  .diag__cards { gap: 8px; }
  .diag-card { padding: 14px; border-radius: 14px; }
  .diag-card__score { font-size: 18px; }
  .diag-card__note { font-size: 13px; }
  .diag-concl { padding: 18px; }
  .diag-concl__t { font-size: 18px; }
  .diag-concl__actions, .diag-concl__btn, .diag-concl__reset { width: 100%; justify-content: center; box-sizing: border-box; }

  /* Результаты */
  .results { margin-top: 32px; }
  .results__v { font-size: 72px; height: 72px; }
  .results__t { font-size: 18px; }

  /* Задачи */
  .tasks { margin-top: 32px; }
  .task-card { padding: 24px; border-radius: 24px; margin-bottom: 16px; }
  .task-card__n { font-size: 56px; }
  .task-card__t { font-size: 24px; }
  .task-card__d { font-size: 15px; }

  /* CTA */
  .cta-section { padding-bottom: 32px; }
  .cta { padding: 28px 22px; border-radius: 24px; }
  .cta__info { gap: 14px; }
  .cta__title { font-size: 26px; }
  .cta__text { font-size: 15px; line-height: 1.6; }

  /* Услуги */
  .services { margin-top: 32px; }
  .service, .service:hover { grid-template-columns: minmax(0, 1fr) 44px; padding: 24px 0; margin: 0; border-radius: 0; }
  .service:hover { background: transparent; }
  .service > .service__n { display: none; }
  .service > .service__t { grid-column: 1; }
  .service > .service__arrow { grid-column: 2; width: 44px; height: 44px; }
  .service > .service__d { grid-column: 1 / -1; }
  .service__t { font-size: 24px; }
  .service__d { font-size: 15px; }

  /* Кейс */
  .case__title { font-size: 24px; }
  .case__metrics-head { display: none; }
  .metric { grid-template-columns: auto auto; justify-content: start; gap: 6px 16px; padding: 20px 0; }
  .metric__t { grid-column: 1 / -1; font-size: 15px; }
  .compare { border-radius: 16px; aspect-ratio: 4 / 3; }
  .compare__hint { top: auto; bottom: 76px; }
  .compare__hint-note { display: none; }
  .compare__badge { bottom: 12px; padding: 6px 10px; }
  .compare__badge--before { left: 12px; }
  .compare__badge--after { right: 12px; }
  .metric__from { font-size: 15px; }
  .metric__to { font-size: 22px; }
  .case__btn { align-self: stretch; justify-content: center; }

  /* Воронка → вертикальный список */
  .funnel { flex-direction: column; gap: 8px; margin-top: 32px; }
  .funnel__item { aspect-ratio: auto; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 24px; border-radius: 999px; transform: none; }
  .funnel__item + .funnel__item { margin-left: 0; }
  .funnel__t { font-size: 18px; }
  .funnel-result__t { font-size: 18px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step__n { font-size: 56px; }

  /* Команда */
  .org { margin-top: 40px; }
  .org__roles { grid-template-columns: 1fr; gap: 10px; }
  .org-role { min-height: 0; padding: 22px; }
  .org-role__t { margin-top: 12px; font-size: 20px; }
  .org__plan { text-align: center; }
  .org-note { padding: 22px; font-size: 19px; }
  .why__item { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .why__n { width: 40px; height: 40px; font-size: 13px; }
  .why__t { font-size: 20px; }
  .team { gap: 16px; }
  .team__item:nth-child(even) { margin-top: 24px; }
  .team__name { font-size: 17px; }

  /* AI */
  .ai__title { font-size: 36px; }
  .ai__text p { font-size: 16px; }
  .ai__btn { height: auto; min-height: 56px; padding: 14px 24px; white-space: normal; text-align: center; justify-content: center; align-self: stretch; }
  .chat__input { padding-left: 18px; }
  .chat__q { font-size: 15px; }
  .chat__item--us { flex-wrap: wrap; }

  /* Отрасли */
  /* Отрасли на телефоне: круги по два в ряд с лёгким нахлёстом */
  .industries { aspect-ratio: auto; margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; }
  .industry, .industry:hover { position: relative; left: auto; top: auto; flex: 0 0 52%; width: auto; padding: 16px; }
  .industry:nth-child(even) { margin-left: -4%; }
  .industry:nth-child(n+3) { margin-top: -6%; }
  .industry__t { font-size: 16px; }

  /* Отзывы */
  .review { padding: 24px; }
  .review__quote-mark { font-size: 80px; height: 36px; }
  .review__text { font-size: 17px; }
  .round-btn { width: 52px; height: 52px; }

  /* Блог */
  .blog__aside { gap: 12px; }
  .article, .article:hover { grid-template-columns: minmax(0, 1fr) 44px; padding: 24px 0; }
  .article__meta { grid-column: 1 / -1; flex-direction: row; gap: 8px; }
  .article__t { font-size: 19px; }
  .article__arrow { width: 44px; height: 44px; }

  /* Форма */
  .form-section__title { font-size: 38px; }
  .form-section__grid { margin-top: 32px; }
  .lead-field input { font-size: 16px; height: 54px; }
  .lead-form__bottom { flex-direction: column; align-items: stretch; }
  .lead-form__btn { justify-content: center; height: 56px; }
  .manager { padding: 22px; border-radius: 24px; }

  /* Сертификаты и клиенты */
  .trust { padding-top: 48px; padding-bottom: 64px; gap: 56px; }
  .carousel__nav { padding-top: 4px; }
  .carousel__sub { margin-top: 8px; font-size: 14px; }
  .carousel__track { --per: 1.4; --gap: 16px; margin-top: 16px; }
  .carousel__track--clients { --per: 1; --gap: 24px; }
  .clients-page { grid-auto-rows: 72px; }
  .client-logo img { max-height: 36px; max-width: 92%; }
  .cert-card__t { font-size: 16px; margin-top: 14px; }

  /* Подвал */
  .footer__top { padding-top: 48px; }
  .footer__top > .footer__col { grid-column: 1 / -1; }
  .footer__word { margin-top: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
