/* ============================================================
   ОЮИ Тесты — дизайн-система
   ============================================================ */

/* ── Шрифты ───────────────────────────────────────────────── */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Переменные ───────────────────────────────────────────── */
:root {
  --bg: #f6f6fb;
  --surface: #ffffff;
  --ink: #14142b;
  --ink-2: #2a2a44;
  --muted: #5f6077;
  --muted-2: #8a8aa3;
  --line: #e5e5ef;
  --line-2: #ededf5;
  --brand: #4b3fe0;
  --brand-dark: #2f2598;
  --brand-soft: #eeecff;
  --accent: #f5a524;
  --ok: #0f9d6e;
  --ok-soft: #e7f7f1;
  --tg: #229ed9;
  --wa: #25d366;
  --max: #4c6ef5;

  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 43, 0.06);
  --shadow-md: 0 20px 44px -24px rgba(20, 20, 43, 0.3);
  --shadow-lg: 0 40px 80px -40px rgba(28, 22, 100, 0.45);

  --container: 1160px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Сброс ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(75, 63, 224, 0.35);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 16px; }

/* ── Утилиты ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 900px) { .container { padding-inline: 32px; } }

.section { padding-block: clamp(56px, 7vw, 92px); }
.section--white { background: var(--surface); border-block: 1px solid var(--line-2); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.6;
}

h1, .h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}
h2, .h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h3, .h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.i { display: inline-flex; width: 20px; height: 20px; flex: 0 0 auto; }
.i svg { width: 100%; height: 100%; }

/* ── Кнопки ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1; text-align: center;
  cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn .i { width: 19px; height: 19px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -14px rgba(75, 63, 224, 0.9); }
.btn--primary:hover { background: #3b30cf; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(75, 63, 224, 0.9); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: #cfcfe2; background: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: rgba(255, 255, 255, 0.6); }
.btn--light:hover { transform: translateY(-1px); }
.btn--white-ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.btn--white-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 11px; }
.btn--lg { padding: 16px 26px; font-size: 16.5px; border-radius: 16px; }
.btn--full { width: 100%; }

/* ── Чипы и тики ──────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color 0.18s, transform 0.18s;
}
.chip .i { width: 17px; height: 17px; }
.chip--tg { color: var(--tg); }
.chip--wa { color: #1faa55; }
.chip--max { color: var(--max); }

.ticks { display: grid; gap: 9px; }
.ticks li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--muted); }
.ticks .i { width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }

/* ── Шапка ────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 251, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line-2);
  box-shadow: 0 10px 30px -24px rgba(20, 20, 43, 0.5);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.logo__mark { width: 38px; height: 38px; display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.logo__text span { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__link {
  padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.nav__link:hover { background: rgba(75, 63, 224, 0.07); color: var(--brand); }
.nav__link.is-active { color: var(--brand); background: var(--brand-soft); }

.header__side { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.header__phone .i { width: 17px; height: 17px; color: var(--brand); }

.burger {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; padding: 0;
}
.burger span {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transform: translateX(-50%); transition: transform 0.22s var(--ease), opacity 0.2s, top 0.22s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded='true'] span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* Мобильное меню */
.mmenu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 49; overflow-y: auto;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overscroll-behavior: contain;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(20, 20, 43, 0.4);
  animation: mmenu-in 0.22s var(--ease);
}
@keyframes mmenu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mmenu__inner { padding: 18px 20px 32px; display: grid; gap: 20px; align-content: start; }
.mnav { display: grid; gap: 2px; }
.mnav__link {
  padding: 14px 12px; border-radius: 12px; font-size: 18px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mnav__link:last-child { border-bottom: 0; }
.mnav__link:hover { background: var(--brand-soft); color: var(--brand); }
.mmenu__contacts { display: grid; gap: 12px; }
.mmenu__phone { font-size: 20px; font-weight: 800; color: var(--ink); }
.mmenu__messengers { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 84px) clamp(36px, 5vw, 64px); }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle at 50% 50%, rgba(75, 63, 224, 0.16), rgba(75, 63, 224, 0) 62%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(20, 20, 43, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20, 20, 43, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 68%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  padding: 7px 14px 7px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(15, 157, 110, 0.14); }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); white-space: nowrap; }
.hero__lead { max-width: 54ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; max-width: 520px; }
.hero__proof li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero__proof .i { width: 19px; height: 19px; color: var(--brand); }

/* Карточка заказа */
.order-wrap { position: relative; }
.order {
  position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; max-width: 430px; margin-left: auto;
}
.order__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.order__id { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--ok-soft); color: #0a7a56; font-size: 12.5px; font-weight: 700; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.order__rows { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.order__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.order__row span { color: var(--muted); }
.order__row b { font-weight: 700; text-align: right; }
.order__sum { display: flex; align-items: baseline; justify-content: space-between; padding-top: 16px; }
.order__sum span { font-size: 13px; color: var(--muted); }
.order__sum b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.order__bar { margin-top: 16px; height: 8px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; }
.order__bar i { display: block; height: 100%; width: 76%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #7a6cff); }
.order__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.order__foot .i { width: 16px; height: 16px; color: var(--ok); }

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700;
}
.float-chip .i { width: 17px; height: 17px; color: var(--brand); }
.float-chip--1 { top: -18px; left: -26px; transform: rotate(-2deg); }
.float-chip--2 { bottom: -18px; right: 10px; transform: rotate(1.5deg); }

/* ── Полоса доверия ───────────────────────────────────────── */
.trustbar { border-block: 1px solid var(--line-2); background: #fff; }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 22px; }
.trustbar__item { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trustbar__item .i { width: 22px; height: 22px; color: var(--brand); }

/* ── Сетки и карточки ─────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card--soft { background: #fbfbfe; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.feature__icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.feature__icon .i { width: 22px; height: 22px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
.step::after {
  content: ''; position: absolute; top: 40px; right: -19px; width: 20px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
}
.step:last-child::after { display: none; }

/* ── Цены ─────────────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.price-card h3 { font-size: 18px; margin-bottom: 10px; }
.price-card__value { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.price-card__value span { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card__text { font-size: 14.5px; color: var(--muted); margin: 14px 0 18px; }
.price-card .ticks { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }
.price-card--popular { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.price-card--popular .price-card__value span,
.price-card--popular .price-card__text,
.price-card--popular .ticks li { color: rgba(255, 255, 255, 0.68); }
.price-card--popular .ticks .i { color: var(--accent); }
.price-card--popular h3 { color: #fff; }
.price-card__flag {
  position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: #211500; font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item[open] { border-color: #d7d3f8; background: #fdfdff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; font-size: 16px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: translateY(-60%) rotate(45deg); transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }
.faq__a p + p { margin-top: 10px; }

/* ── Форма ────────────────────────────────────────────────── */
.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-md);
}
.lead-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 500; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fbfbfe;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: #a7a7bd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(75, 63, 224, 0.12);
}
.field textarea { resize: vertical; min-height: 88px; }
.field--area { margin-bottom: 16px; }

.lead-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: 0 0 auto; }
.consent a { text-decoration: underline; }

.lead-form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lead-form__hint { font-size: 13px; color: var(--muted-2); }
.lead-form__status { margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.lead-form__status.is-ok { color: var(--ok); }
.lead-form__status.is-error { color: #c02626; }
.lead-form__alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.lead-form__alt a { font-weight: 700; }

.form-note { font-size: 13px; color: var(--muted-2); }

/* ── CTA-полоса ───────────────────────────────────────────── */
.cta-band { padding-block: clamp(28px, 4vw, 44px); }
.cta-band__inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(120deg, #241c7a 0%, #4b3fe0 58%, #6f5bff 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band__inner::after {
  content: ''; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
}
.cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 56ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Подвал ───────────────────────────────────────────────── */
.footer { background: #0e0e1c; color: rgba(255, 255, 255, 0.72); padding-top: clamp(44px, 6vw, 68px); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 44px; }
.footer__brand p { margin: 16px 0 20px; font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.logo--footer { color: #fff; }
.logo--footer .logo__text span { color: rgba(255, 255, 255, 0.55); }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__contacts a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 600; }
.footer__contacts .i { width: 17px; height: 17px; }
.footer__col h3 { color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.5); }
.footer__bottom a:hover { color: #fff; }

/* ── Мессенджеры ──────────────────────────────────────────── */
.dock { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.dock__btn {
  position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; box-shadow: 0 14px 28px -12px rgba(20, 20, 43, 0.55);
  transition: transform 0.18s var(--ease), box-shadow 0.18s;
}
.dock__btn:hover { transform: translateY(-3px) scale(1.03); }
.dock__btn .i { width: 27px; height: 27px; }
.dock__btn--tg { background: linear-gradient(160deg, #38b0e3, #1d8fc7); }
.dock__btn--wa { background: linear-gradient(160deg, #34d97a, #1faa55); }
.dock__btn--max { background: linear-gradient(160deg, #6079ff, #3b4fe0); }
.dock__label {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 11px; border-radius: 8px;
  opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity 0.15s, transform 0.15s;
}
.dock__btn:hover .dock__label, .dock__btn:focus-visible .dock__label { opacity: 1; transform: translateY(-50%) translateX(0); }

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.mobile-bar__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 7px 4px; border-radius: 12px; font-size: 11.5px; font-weight: 700;
}
.mobile-bar__btn .i { width: 22px; height: 22px; }
.mobile-bar__btn--tg { color: var(--tg); background: rgba(34, 158, 217, 0.09); }
.mobile-bar__btn--wa { color: #1faa55; background: rgba(37, 211, 102, 0.11); }
.mobile-bar__btn--max { color: var(--max); background: rgba(76, 110, 245, 0.1); }

/* ── Крошки, prose, статьи ────────────────────────────────── */
.crumbs { padding-top: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

.page-head { padding-block: clamp(26px, 4vw, 44px) clamp(24px, 3vw, 36px); }
.page-head h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 20ch; }
.page-head .lead { margin-top: 16px; max-width: 62ch; }

.prose { max-width: 780px; font-size: 16.5px; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 40px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { display: grid; gap: 9px; padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--brand);
  background: #fff; border-radius: 0 14px 14px 0; color: var(--muted);
}
.prose .note {
  padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 700; color: var(--ink); background: #fff; }

.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ── Вспомогательные блоки ────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }

.hero-list { display: grid; gap: 12px; }
.hero-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.hero-list .i { color: var(--ok); width: 19px; height: 19px; margin-top: 3px; }

.subject-group { margin-bottom: 34px; }
.subject-group h3 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.subject-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chips span {
  padding: 8px 13px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); transition: border-color 0.15s, color 0.15s;
}
.subject-chips span:hover { border-color: var(--brand); color: var(--brand); }

.callout {
  display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--brand-soft); border: 1px solid #dcd7fb; color: var(--brand-dark); font-size: 15px;
}
.callout .i { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; margin-top: 2px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .feature__icon { margin-bottom: 0; width: 40px; height: 40px; border-radius: 12px; }
.contact-card b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.contact-card a, .contact-card span { font-size: 16px; font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-card a:hover { color: var(--brand); }

/* ── Адаптив ──────────────────────────────────────────────── */
@media (max-width: 1180px) and (min-width: 861px) {
  .trustbar__inner { padding-right: 88px; }
  .trustbar__item { font-size: 13px; }
}

@media (max-width: 1080px) {
  .nav__link { padding-inline: 9px; font-size: 13.5px; }
  .header__phone span:last-child { display: none; }
  .hero__grid { gap: 36px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__cta { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .order { margin: 0 auto; }
  .float-chip--1 { left: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .prices { grid-template-columns: 1fr; max-width: 560px; }
  .price-card--popular { order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .dock { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .hero { padding-top: 32px; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { grid-template-columns: 1fr; gap: 8px; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .cta-band__actions .btn { width: 100%; }
  .float-chip { display: none; }
  .order { padding: 18px; }
  .page-head h1 { max-width: none; }
}

@media (max-width: 400px) {
  h1, .h1 { font-size: 1.85rem; }
  .btn { padding: 12px 16px; font-size: 15px; }
}
