/* tokens.css */
/* ==========================================================================
   Токены дизайн-системы (Vitrina, адаптировано для pavlyshen.ru)
   Компоненты ссылаются только на смысловые токены, не на сырые цвета.
   ========================================================================== */

/* ---------- Шрифты (локально, только кириллица + латиница) ---------- */
@font-face { font-family: "Unbounded"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/unbounded-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/unbounded-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/unbounded-rub-600.woff2") format("woff2"); unicode-range: U+20BD; }

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

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

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

:root {
  /* ---------- Сырые шкалы ---------- */
  --gray-black: #121614;
  --gray-darker: #262b29;
  --gray-dark: #454c49;
  --gray-medium: #626a66;
  --gray-light: #d3d9d6;
  --gray-lighter: #edf1ef;
  --gray-white: #ffffff;

  --color1-darker: #083b46;
  --color1-dark: #0b4e5d;
  --color1-main: #0e6377;
  --color1-light: #5fa6b6;
  --color1-lighter: #d6e9ed;

  --color2-darker: #7a4a00;
  --color2-dark: #b9771a;
  --color2-main: #e8a33d;
  --color2-light: #f3c886;
  --color2-lighter: #fcefd8;

  --success-dark: #17693a;
  --success-light: #d9f0e0;

  /* ---------- Смысловые токены ---------- */
  --bg: var(--gray-white);
  --bg-subtle: var(--gray-lighter);
  --bg-raised: var(--gray-white);
  --bg-brand: var(--color1-lighter);
  --bg-inverse: var(--gray-black);

  --text: var(--gray-black);
  --text-secondary: var(--gray-dark);
  --text-muted: var(--gray-medium);
  --text-inverse: #ffffff;
  --text-link: var(--color1-dark);

  --border: var(--gray-light);
  --border-control: #8b9490;

  --primary: var(--color1-main);
  --primary-hover: var(--color1-dark);
  --primary-press: var(--color1-darker);
  --on-primary: #ffffff;
  --primary-soft: var(--color1-lighter);
  --on-primary-soft: var(--color1-dark);

  --accent: var(--color2-main);
  --accent-hover: #d98f22;
  --on-accent: #2b1c00;
  --accent-soft: var(--color2-lighter);
  --on-accent-soft: var(--color2-darker);

  --success-text: var(--success-dark);
  --success-bg: var(--success-light);

  --focus: var(--color1-main);
  --overlay: rgba(18, 22, 20, 0.36);

  /* ---------- Типографика ---------- */
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---------- Отступы (шаг 4px) ---------- */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;

  /* ---------- Радиусы ---------- */
  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;
  --radius-block: 32px;
  --radius-full: 9999px;

  /* ---------- Тени (без смещения) ---------- */
  --shadow-s: 0 0 10px 2px rgba(18, 22, 20, 0.10);
  --shadow-m: 0 0 25px 5px rgba(18, 22, 20, 0.07);
  --shadow-l: 0 0 40px 5px rgba(18, 22, 20, 0.05);
  --shadow-xl: 0 0 64px 8px rgba(18, 22, 20, 0.06);

  /* ---------- Контролы ---------- */
  --control-l: 56px;
  --control-m: 48px;
  --control-s: 40px;

  /* ---------- Раскладка ---------- */
  --container: 1440px;
  --gutter: 64px;
  --header-h: 72px;      /* высота плавающей панели шапки */
  --header-top: 12px;    /* отступ панели от верха окна */
  --pill-pad: 24px;      /* внутренний отступ панели: контент шапки совпадает с краем контента страницы */
  --pill-w: calc(100% - 2 * max(8px, var(--gutter) - var(--pill-pad)));
  --pill-max: calc(var(--container) - 2 * (var(--gutter) - var(--pill-pad)));

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur: 150ms;
}

@media (max-width: 1199px) { :root { --gutter: 40px; } }
@media (max-width: 1023px) { :root { --gutter: 32px; --header-h: 64px; --pill-pad: 16px; } }
@media (max-width: 767px)  { :root { --gutter: 16px; --header-h: 60px; --header-top: 8px; --pill-pad: 8px; } }

/* base.css */
/* ==========================================================================
   База: сброс, типографика, общие компоненты (кнопки, чипы, иконки)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
/* Никакого горизонтального скролла на телефонах: всё, что вылезает за край, обрезается */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main, section, footer { max-width: 100vw; }
/* Место под плавающую шапку */
body { padding-top: calc(var(--header-h) + var(--header-top)); }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, picture { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-s); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-16); top: -100px; z-index: 100;
  padding: var(--space-12) var(--space-16); border-radius: var(--radius-m);
  background: var(--primary); color: var(--on-primary); font-weight: 600;
}
.skip-link:focus { top: var(--space-16); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Типографика ---------- */
.h1, .h2, .h3, .h4 { font-family: var(--font-display); font-weight: 600; }
.h1 { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4rem); line-height: 1.05; letter-spacing: -0.01em; }
.h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.625rem); line-height: 1.05; letter-spacing: -0.01em; }
.h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.1; }
.h4 { font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem); line-height: 1.15; }
.h5 { font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.t1 { font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem); line-height: 1.5; }
.t3 { font-size: 0.8125rem; line-height: 1.5; }
.text-brand { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* ---------- Иконки ---------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon--16 { width: 16px; height: 16px; }
.icon--18 { width: 18px; height: 18px; }
.icon--20 { width: 20px; height: 20px; }

/* ---------- Кнопки ---------- */
.btn {
  --h: var(--control-m);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  min-height: var(--h); padding: 0 var(--space-20);
  border-radius: var(--radius-m); border: 1.5px solid transparent;
  font-size: 1rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn--l { --h: var(--control-l); padding-inline: var(--space-24); }
.btn--s { --h: var(--control-s); padding-inline: var(--space-16); font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-press); }

.btn--soft { background: var(--primary-soft); color: var(--on-primary-soft); }
.btn--soft:hover { background: #c4dfe5; }

.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }

.btn--outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--border-control); }

.btn .icon { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(2px); }

/* Круглая кнопка-иконка */
.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: var(--control-m); height: var(--control-m);
  border-radius: var(--radius-full);
  background: var(--bg-subtle); color: var(--text);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--primary-soft); color: var(--on-primary-soft); }
.icon-btn--primary { background: var(--primary); color: var(--on-primary); }
.icon-btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.icon-btn--s { width: 44px; height: 44px; }

/* ---------- Чипы ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px var(--space-12); border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.chip--neutral { background: var(--bg-subtle); color: var(--text-secondary); }
.chip--brand   { background: var(--primary-soft); color: var(--on-primary-soft); }
.chip--promo   { background: var(--accent-soft); color: var(--on-accent-soft); }
.chip--outline { background: var(--bg); color: var(--text-secondary); box-shadow: inset 0 0 0 1px var(--border); }

/* ---------- Ссылка со стрелкой ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text-link); font-weight: 600; font-size: 0.875rem; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.icon-btn img, .f-contact__ico img { width: 22px; height: 22px; }
/* Иконка Яндекс Услуг в ссылке на рейтинг */
.yu-ico { width: 16px; height: 16px; margin-right: 4px; border-radius: 4px; flex: none; }

/* Хлебные крошки (внутренние страницы) */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-8); font-size: 0.875rem; color: var(--text-muted); }
.crumbs a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.crumbs a:hover { color: var(--primary); }

/* Мобильные: длинные кнопки переносятся, а не вылезают за экран */
@media (max-width: 767px) {
  .btn { white-space: normal; text-align: center; padding-block: 10px; max-width: 100%; }
  .btn--l { padding-inline: var(--space-20); }
}
/* Страховка: длинные слова в заголовках переносятся, а не вылезают */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 400px) { h1 { hyphens: auto; -webkit-hyphens: auto; } }
/* Зоны нажатия: крошки и ссылки в согласии — не меньше 24 px по высоте */
.crumbs { align-items: center; }
.crumbs a { display: inline-block; padding: 4px 0; min-height: 24px; }
.consent span { line-height: 1.75; }
.consent a { padding: 4px 0; }

/* ---------- Заголовки: шире контейнер, меньше строк ---------- */
.h1, .h2, .cx-final__title, .cs-hero__title, .ab-hero__title, .sv-hero__title, .sp-hero__title, .cx-hero__title, .bl-hero__title, .ct-hero__title { text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; }
html .ab-hero__title, html .sv-hero__title, html .sp-hero__title, html .cx-hero__title, html .bl-hero__title, html .ct-hero__title {
  font-size: clamp(1.875rem, 1.05rem + 1.9vw, 3rem); line-height: 1.08;
}
/* шапка секции: заголовок занимает всю свободную ширину, а не сжимается рядом с кнопкой */
.section__head > .section__titles { flex: 1 1 auto; min-width: min(100%, 520px); max-width: 1040px; }
/* узкие колонки (заголовок слева, контент справа): кегль от ширины колонки */
.cs-story__head, .how__intro, .bls__text, .cs-takes__grid > div, .sp-tl-box .section__titles { container-type: inline-size; }
.cs-story__head .h2, .how__intro .h2, .bls__text .h2, .cs-takes__grid > div > .h2, .sp-tl-box .section__titles .h2 { font-size: min(clamp(1.75rem, 1.2rem + 1.8vw, 2.625rem), 8.4cqi); }
html .cx-final__title { font-size: clamp(1.5rem, 1rem + 1.1vw, 2.125rem); line-height: 1.1; }
.h1 { font-size: clamp(2.125rem, 1.2rem + 2.6vw, 3.5rem); }

@media (max-width: 767px) {
  .h1 { font-size: clamp(1.625rem, 7.4vw, 2rem); line-height: 1.08; }
  .h2 { font-size: clamp(1.25rem, 5.9vw, 1.5rem); line-height: 1.12; }
  html .ab-hero__title, html .sv-hero__title, html .sp-hero__title, html .cx-hero__title, html .bl-hero__title, html .ct-hero__title, html .cs-hero__title { font-size: clamp(1.375rem, 6.4vw, 1.625rem); line-height: 1.1; }
  html .cx-final__title { font-size: clamp(1.25rem, 5.9vw, 1.5rem); }
  .cs-story__head .h2, .how__intro .h2, .bls__text .h2, .cs-takes__grid > div > .h2, .sp-tl-box .section__titles .h2 { font-size: clamp(1.25rem, 5.9vw, 1.5rem); }
  /* надзаголовки в первом экране — прячем, чтобы не отвлекали от H1 (у главной текст остаётся в H1 для поиска) */
  .hero__kicker { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .sp-hero__eyebrow, .ab-hero__status, .cs-hero .cs-tags { display: none !important; }
  .cs-hero .crumbs + .cs-hero__title, .ab-hero .crumbs + .ab-hero__title { margin-top: 12px; }
}
/* принудительные переносы в заголовках секций не нужны — ширину решает text-wrap: balance */
.h2 br, .cx-final__title br { display: none; }
@media (max-width: 767px) { h1 br, h2 br, .h1 br { display: none; } }

/* header.css */
/* ==========================================================================
   Шапка, мега-меню «Услуги», мобильное меню
   ========================================================================== */

.site-header {
  position: fixed; z-index: 50; left: 0; right: 0; top: var(--header-top);
}

.site-header__inner {
  width: var(--pill-w); max-width: var(--pill-max);
  height: var(--header-h); margin-inline: auto; padding-inline: var(--pill-pad);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(211, 217, 214, 0.7), 0 4px 24px -8px rgba(18, 22, 20, 0.08);
  transition: background-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.site-header.is-scrolled .site-header__inner { box-shadow: inset 0 0 0 1px rgba(211, 217, 214, 0.5), 0 10px 32px -10px rgba(18, 22, 20, 0.18); }
.site-header.is-open .site-header__inner { background: var(--bg-raised); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__inner { background: var(--bg-raised); }
}

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; flex: none; color: var(--text); }
.logo__svg { height: 46px; width: auto; }

/* ---------- Навигация ---------- */
.main-nav__list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: var(--space-4);
  height: 40px; padding: 0 14px; border-radius: var(--radius-m);
  font-size: 1rem; line-height: 1.4; color: var(--text); white-space: nowrap;
  transition: background-color var(--dur) var(--ease);
}
.nav-link:hover { background: var(--bg-subtle); }
.nav-link .icon { width: 18px; height: 18px; color: var(--text-muted); transition: transform 200ms var(--ease), color var(--dur) var(--ease); }
.nav-link[aria-expanded="true"] { background: var(--bg-subtle); font-weight: 600; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--primary); }

/* ---------- Действия ---------- */
.header-actions { display: flex; align-items: center; gap: var(--space-12); flex: none; }
.header-phone { display: flex; align-items: center; gap: 10px; padding-right: var(--space-8); }
.header-phone .icon { color: var(--primary); width: 22px; height: 22px; }
.header-phone__num { display: block; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.header-phone__note { display: block; font-size: 0.8125rem; line-height: 1.5; color: var(--text-muted); white-space: nowrap; }
.header-phone:hover .header-phone__num { color: var(--primary); }

.header-call, .burger { display: none; }

/* ---------- Мега-меню ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding-top: 8px;
}
.mega > .container { width: var(--pill-w); max-width: var(--pill-max); padding-inline: 0; }
.mega__panel {
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}
.mega.is-open .mega__panel { animation: mega-in 180ms var(--ease) both; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.mega__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 340px; gap: var(--space-8); padding: var(--space-16); }
.mega__col { padding: var(--space-12) var(--space-8) var(--space-8); }
.mega__head { display: flex; align-items: center; gap: var(--space-12); padding: 0 var(--space-12) var(--space-12); }
.mega__ico {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: var(--radius-m); background: var(--primary-soft); color: var(--on-primary-soft);
}
.mega__ico .icon { width: 22px; height: 22px; }
.mega__title { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.mega__sub { font-size: 0.8125rem; color: var(--text-muted); }

.mega__link {
  display: flex; align-items: center; gap: var(--space-12);
  padding: var(--space-12); border-radius: var(--radius-m);
  transition: background-color var(--dur) var(--ease);
}
.mega__link-text { flex: 1; min-width: 0; }
.mega__link-name { display: block; line-height: 1.4; }
.mega__link-price { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.mega__link .icon { width: 20px; height: 20px; color: var(--primary); opacity: 0; transform: translateX(-4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.mega__link:hover, .mega__link:focus-visible { background: var(--bg-subtle); }
.mega__link:hover .mega__link-name { font-weight: 600; }
.mega__link:hover .icon, .mega__link:focus-visible .icon { opacity: 1; transform: none; }

.mega__promo {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-16);
  padding: 28px; border-radius: 20px; background: var(--bg-brand);
}
.mega__promo-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-m); background: var(--accent); color: var(--on-accent); }
.mega__promo-ico .icon { width: 22px; height: 22px; }
.mega__promo-title { margin-top: var(--space-12); }
.mega__promo-text { margin-top: var(--space-12); color: var(--text-secondary); }

.mega__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-16);
  padding: var(--space-16) 28px; background: var(--bg-subtle);
}
.mega__foot-note { display: flex; align-items: center; gap: var(--space-12); font-size: 0.8125rem; color: var(--text-secondary); }

.page-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: var(--overlay);
  animation: fade-in 180ms var(--ease) both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Мобильное меню ---------- */
.mobile-menu {
  position: fixed; z-index: 49;
  top: calc(var(--header-top) + var(--header-h) + 8px); bottom: var(--header-top);
  left: 50%; width: var(--pill-w); max-width: var(--pill-max); transform: translateX(-50%);
  display: flex; flex-direction: column;
  border-radius: 20px; background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-l);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { animation: fade-in 160ms var(--ease) both; }
.mobile-menu__list { padding: var(--space-8) 16px 0; }
.mobile-menu__row {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--space-16) 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; text-align: left;
}
.mobile-menu__row .icon { width: 22px; height: 22px; color: var(--text-muted); transition: transform 200ms var(--ease); }
.mobile-menu__row[aria-expanded="true"] { color: var(--primary); border-bottom-color: transparent; }
.mobile-menu__row[aria-expanded="true"] .icon { color: var(--primary); transform: rotate(180deg); }

.mobile-menu__sub { margin-bottom: var(--space-8); padding: var(--space-8) var(--space-12); border-radius: var(--radius-l); background: var(--bg-subtle); }
.mobile-menu__sub-group + .mobile-menu__sub-group { border-top: 1px solid var(--border); }
.mobile-menu__sub-title { padding: var(--space-12) 0 var(--space-4); font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mobile-menu__sub a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-12); padding: 10px 0; }
.mobile-menu__sub a span:last-child { font-size: 0.8125rem; color: var(--text-muted); white-space: nowrap; }

.mobile-menu__bottom {
  margin-top: auto; display: grid; gap: var(--space-12);
  padding: var(--space-16);
  border-top: 1px solid var(--border);
}
.mobile-menu__contacts { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); }
.mobile-menu__phone { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.mobile-menu__messengers { display: flex; gap: var(--space-8); }

/* ---------- Адаптив ---------- */
@media (max-width: 1439px) {
  .header-phone__text { display: none; }
  .header-phone { padding-right: 0; }
  .nav-link { padding: 0 9px; }
  .logo__svg { height: 42px; }
  .site-header__inner { gap: var(--space-16); }
}
@media (max-width: 1199px) {
  .header-messenger { display: none; }
  .mega__body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__promo { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 20px 24px; }
  .mega__promo > div { display: flex; align-items: center; gap: var(--space-16); }
  .mega__promo-title { margin-top: 0; }
  .mega__promo-text { display: none; }
  .mega__promo .btn--block { width: auto; }
}
@media (max-width: 1023px) {
  .main-nav, .header-phone, .header-cta, .mega { display: none !important; }
  .header-call, .burger { display: inline-grid; }
  .header-actions { gap: var(--space-8); }
}
@media (max-width: 767px) {
  .logo__svg { height: 40px; }
  .header-call, .burger { width: 44px; height: 44px; }
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* Заголовок колонки — ссылка на раздел (хаб «Разработка сайтов») */
.mega__head--link { margin: -8px 0 var(--space-4); padding: var(--space-8) var(--space-12) var(--space-12); border-radius: var(--radius-m); transition: background-color var(--dur) var(--ease); }
.mega__head--link > div { flex: 1; min-width: 0; }
.mega__head--link .mega__sub { color: var(--primary); font-weight: 600; }
.mega__head-go { width: 20px; height: 20px; color: var(--primary); transition: transform var(--dur) var(--ease); }
.mega__head--link:hover { background: var(--bg-subtle); }
.mega__head--link:hover .mega__head-go { transform: translateX(3px); }
.mobile-menu__sub a.mobile-menu__parent { font-weight: 700; color: var(--primary); }
.mobile-menu__sub a.mobile-menu__child { padding-left: var(--space-16); border-left: 2px solid var(--border); margin-left: 2px; }
.mega__new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #1b1b1b; font-size: 0.6875rem; font-weight: 700; vertical-align: 2px; }

/* cases.css */
/* ==========================================================================
   Логотипы клиентов + Кейсы
   ========================================================================== */

/* ---------- Бегущая строка логотипов ---------- */
.clients {
  display: flex; align-items: center; gap: var(--space-24);
  padding-block: 28px;
  border-block: 1px solid var(--border);
}
.clients__label { flex: none; font-size: 0.875rem; color: var(--text-muted); }
.clients__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.clients__track { display: flex; gap: var(--space-16); width: max-content; animation: marquee 40s linear infinite; }
.clients__viewport:hover .clients__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--space-8))); } }
@media (prefers-reduced-motion: reduce) { .clients__track { animation: none; } }

.client-logo { display: grid; place-items: center; flex: none; height: 56px; padding: 0 20px; }
.client-logo img { height: 40px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: 0.55; transition: filter 250ms var(--ease), opacity 250ms var(--ease); }
.client-logo:hover img { filter: none; opacity: 1; }

/* ---------- Секция кейсов ---------- */
.section { padding-block: 96px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-32); margin-bottom: var(--space-48); }
.section__titles { display: flex; flex-direction: column; gap: var(--space-16); max-width: 760px; }
.section__sub { color: var(--text-secondary); }

.filters { display: flex; gap: var(--space-8); }
.filter {
  display: inline-flex; align-items: center; height: 36px; padding: 0 var(--space-16);
  border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px var(--border);
  font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.filter:hover { box-shadow: inset 0 0 0 1px var(--border-control); }
.filter[aria-pressed="true"] { background: var(--primary-soft); color: var(--on-primary-soft); box-shadow: none; }

.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }

/* Обычная карточка */
.case-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-32);
  min-height: 340px; padding: 28px; border-radius: var(--radius-xl);
  background: var(--bg-subtle);
  transition: box-shadow var(--dur) var(--ease), transform 200ms var(--ease);
}
.case-card:hover { box-shadow: var(--shadow-s); transform: translateY(-2px); }
.case-card[hidden] { display: none; }
.case-card__top { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-16); }
.case-card__client { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.case-card__metric { display: flex; align-items: center; gap: var(--space-8); }
.case-card__metric .icon { width: 0.8em; height: 0.8em; stroke-width: 2.5; }
.case-card__label { margin-top: 6px; color: var(--text-secondary); }
.case-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-12);
  padding-top: var(--space-16); border-top: 1px solid var(--border);
  font-size: 0.875rem; color: var(--text-muted);
}
.case-card__go {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--bg); color: var(--text);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.case-card__go .icon { width: 18px; height: 18px; }
.case-card:hover .case-card__go { background: var(--primary); color: var(--on-primary); }
/* Вся карточка кликабельна */
.case-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.case-card__link:focus-visible { outline: none; }
.case-card:has(.case-card__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Главный кейс — тёмный, на две колонки */
.case-card--featured {
  grid-column: span 2; min-height: 420px; padding: 36px 40px;
  border-radius: var(--radius-block); background: var(--bg-inverse); color: var(--text-inverse);
}
.case-card--featured .case-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-16); }
.case-card--featured .case-card__client { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.case-card__trend { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--success-bg); color: var(--success-text); flex: none; }
.case-card__trend .icon { width: 26px; height: 26px; }
.case-card__metrics { display: flex; align-items: flex-end; gap: 56px; flex-wrap: wrap; }
.case-card__big { font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 2rem + 4.5vw, 7rem); line-height: 0.9; letter-spacing: -0.03em; }
.case-card__second { color: var(--accent); }
.case-card__muted { margin-top: var(--space-8); opacity: 0.72; }
.case-card--featured .case-card__foot { border-top: 0; padding-top: 0; color: rgba(255, 255, 255, 0.72); }

.cases-more { display: flex; align-items: center; justify-content: center; gap: var(--space-16); margin-top: var(--space-48); }
.cases-empty { grid-column: 1 / -1; padding: var(--space-32); text-align: center; color: var(--text-muted); }

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
  .section__head { flex-direction: column; align-items: flex-start; }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .section { padding-block: 64px; }
  .section__head { margin-bottom: var(--space-32); gap: var(--space-24); }
  .clients { gap: var(--space-12); padding-block: 20px; }
  .clients__label { display: none; }
  .client-logo { height: 44px; padding: 0 14px; }
  .client-logo img { height: 30px; max-width: 130px; }
  .filters { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .cases-grid { grid-template-columns: minmax(0, 1fr); }
  .case-card--featured { grid-column: auto; min-height: 0; padding: 28px 24px; border-radius: var(--radius-xl); gap: var(--space-24); }
  .case-card { min-height: 0; padding: 24px; gap: var(--space-24); }
  .case-card__metrics { gap: var(--space-24); }
  .case-card--featured .case-card__foot { flex-direction: column; align-items: stretch; }
  .cases-more { flex-direction: column; }
  .cases-more .btn { width: 100%; }
}

/* ---------- Подборки кейсов на главной ---------- */
#cases .section__head { flex-direction: column; align-items: flex-start; }
.hc-filters { flex-wrap: wrap; }
.hc-filters .filter span { margin-left: 4px; font-size: 0.75rem; opacity: 0.55; }
.hc-card { min-height: 0; gap: var(--space-24); }
.hc-card__body { display: flex; flex-direction: column; }
.hc-card__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.4vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; color: var(--primary); }
.hc-card__sub { margin-top: var(--space-12); font-size: 0.875rem; color: var(--text-muted); }
.hc-card__sub b { color: var(--text); font-weight: 600; }
.hc-card__cover { display: block; margin-bottom: var(--space-16); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 10px 24px rgba(18, 22, 20, 0.12); }
.hc-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.hc-card:hover .hc-card__cover img { transform: scale(1.03); }
@media (max-width: 767px) {
  .hc-filters { flex-wrap: nowrap; }
  .hc-filters .filter { flex: none; }
}
.hc-card__cover--photo { position: relative; }
.hc-card__cover--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(1, 8, 11, 0.25)); }
.hc-card .case-card__top { gap: var(--space-12); }

/* process.css */
/* ==========================================================================
   Как работаю: шаги, договор, форма разбора
   ========================================================================== */

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-16); margin-bottom: var(--space-48); }
.step { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-16); }
.step__rail { display: flex; align-items: center; gap: var(--space-12); width: 100%; }
.step__num {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-soft); color: var(--on-primary-soft); font-weight: 600;
}
.step:first-child .step__num { background: var(--primary); color: var(--on-primary); }
.step__line { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--border); overflow: hidden; }
.step__line::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform-origin: left; transform: scaleX(1); }
.step:last-child .step__line { display: none; }
.step__title { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.step__text { color: var(--text-secondary); }

@media (prefers-reduced-motion: no-preference) {
  .js .steps .step__num { transform: scale(0.6); opacity: 0; transition: transform 500ms var(--ease-out), opacity 300ms ease; transition-delay: calc(var(--i) * 260ms); }
  .js .steps .step__line::after { transform: scaleX(0); transition: transform 500ms var(--ease-out); transition-delay: calc(var(--i) * 260ms + 180ms); }
  .js .steps .step__body { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 260ms + 100ms); }
  .js .steps.is-in .step__num { transform: none; opacity: 1; }
  .js .steps.is-in .step__line::after { transform: scaleX(1); }
  .js .steps.is-in .step__body { opacity: 1; transform: none; }
}
.step__body { display: flex; flex-direction: column; gap: var(--space-12); align-items: flex-start; }

/* ---------- Договор + форма ---------- */
.deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--space-16); align-items: stretch; }

.contract { display: flex; flex-direction: column; padding: 40px; border-radius: var(--radius-block); background: var(--bg-inverse); color: var(--text-inverse); }
.contract__list { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.contract__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-24); margin-top: auto; padding-top: var(--space-32); }
.contract__num { display: block; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1.1; color: var(--accent); }
.contract__cap { display: block; margin-top: 6px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }
.contract__head { display: flex; align-items: center; gap: var(--space-16); margin-bottom: 28px; }
.contract__head .icon { width: 36px; height: 36px; color: var(--accent); }
.contract__list li {
  display: flex; justify-content: space-between; gap: var(--space-24);
  padding: var(--space-16) 0; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contract__term { font-weight: 600; white-space: nowrap; }
.contract__desc { text-align: right; color: rgba(255, 255, 255, 0.72); }

.lead {
  display: flex; flex-direction: column; gap: var(--space-24);
  padding: 40px; border-radius: var(--radius-block); background: var(--bg-brand);
  scroll-margin-top: calc(var(--header-h) + var(--header-top) + 24px);
}
.lead__text { margin-top: var(--space-12); color: var(--text-secondary); }

/* ---------- Форма ---------- */
.form { display: grid; gap: var(--space-12); }
.field { display: grid; gap: 6px; }
.field__label { font-size: 0.875rem; font-weight: 600; }
.input {
  width: 100%; height: var(--control-l); padding: 0 var(--space-16);
  border: 1.5px solid transparent; border-radius: var(--radius-m);
  background: var(--bg-raised); color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder { color: var(--text-muted); }
.input:hover { border-color: var(--border); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 99, 119, 0.15); }
.input[aria-invalid="true"] { border-color: #b42318; }
.field__error { font-size: 0.8125rem; color: #b42318; }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8125rem; color: var(--text-secondary); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.consent a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }

.form .btn { margin-top: var(--space-4); }
.form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form__status { font-size: 0.875rem; }
.form__status--error { color: #b42318; }

.lead__done { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-12); }
.lead__done-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--success-bg); color: var(--success-text); }
.lead__done-ico .icon { width: 28px; height: 28px; }

.lead__alt { display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap; font-size: 0.8125rem; color: var(--text-muted); }
.lead__alt .icon-btn { width: 44px; height: 44px; background: var(--bg-raised); }

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { flex-direction: row; align-items: stretch; gap: var(--space-16); }
  .step__rail { flex-direction: column; width: auto; gap: 0; }
  .step__line { width: 2px; height: auto; min-height: 24px; margin: 8px 0; }
  .step__line::after { transform-origin: top; }
  .step:last-child .step__line { display: none; }
  .step__body { padding: 10px 0 var(--space-24); }
  @media (prefers-reduced-motion: no-preference) {
    .js .steps .step__line::after { transform: scaleY(0); }
    .js .steps.is-in .step__line::after { transform: scaleY(1); }
  }
  .deal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .contract, .lead { padding: 28px 24px; border-radius: var(--radius-xl); }
  .contract__list li { flex-direction: column; gap: 2px; }
  .contract__desc { text-align: left; }
  .contract__stats { gap: var(--space-12); }
  .contract__cap { font-size: 0.8125rem; }
}

/* cases-page.css */
/* ==========================================================================
   Страница «Кейсы» (/cases/) — витрина результатов
   ========================================================================== */

.cx-eyebrow { display: inline-block; margin-bottom: var(--space-16); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.cx-eyebrow--inv { color: var(--accent); }
.cx-head-note { max-width: 420px; color: var(--text-secondary); }
.crumbs--inv, .crumbs--inv a { color: rgba(255, 255, 255, 0.6); text-decoration-color: rgba(255, 255, 255, 0.25); }
.crumbs--inv a:hover { color: #fff; }
.btn--ghost-inv { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); background: transparent; }
.btn--ghost-inv:hover { background: rgba(255, 255, 255, 0.1); }
.btn .icon { flex: none; }

/* ==========================================================================
   1. Первый экран
   ========================================================================== */
.cx-hero { padding-top: var(--space-16); }
.cx-hero__box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-32) var(--space-48);
  padding: 56px 56px 40px; border-radius: var(--radius-block); overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, #12505f 0%, rgba(18, 80, 95, 0) 60%), var(--bg-inverse);
  color: var(--text-inverse);
}
.cx-hero__field { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--color1-light); opacity: 0.12; pointer-events: none; }
.cx-hero__text { position: relative; }
.cx-hero__title { margin-top: var(--space-24); font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; }
.cx-hero__title span { color: var(--accent); }
.cx-hero__lead { max-width: 520px; margin-top: var(--space-24); font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }
.cx-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-12); margin-top: var(--space-32); }

/* График роста */
.cx-hero__viz { position: relative; align-self: center; min-height: 340px; }
.cx-chart { position: absolute; inset: 20px 0 0; width: 100%; height: calc(100% - 20px); overflow: visible; }
.cx-chart__grid line { stroke: rgba(255, 255, 255, 0.08); stroke-dasharray: 4 6; }
.cx-chart__line { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cx-chart__dot { fill: var(--accent); stroke: rgba(232, 163, 61, 0.3); stroke-width: 14; }
.cx-float {
  position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.96); color: var(--text); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.cx-float b { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.1; color: var(--primary); }
.cx-float span { font-size: 0.8125rem; color: var(--text-muted); white-space: nowrap; }
.cx-float--1 { right: 0; top: 0; }
.cx-float--2 { left: 6%; top: 42%; }
.cx-float--3 { right: 8%; bottom: 6%; }

.cx-kpis { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--space-16); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cx-kpis li { display: flex; flex-direction: column; gap: 6px; padding: var(--space-24) var(--space-24) 0 0; }
.cx-kpis li + li { padding-left: var(--space-24); border-left: 1px solid rgba(255, 255, 255, 0.14); }
.cx-kpis b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1; }
.cx-kpis li > span { font-size: 0.875rem; line-height: 1.4; color: rgba(255, 255, 255, 0.6); }

@media (prefers-reduced-motion: no-preference) {
  .js .cx-chart__line { stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-out) 300ms; }
  .js .cx-chart__area, .js .cx-chart__dot { opacity: 0; transition: opacity 800ms ease 1400ms; }
  .js .cx-float { opacity: 0; transform: translateY(16px) scale(0.96); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .cx-hero__box.is-in .cx-chart__line { stroke-dashoffset: 0; }
  .js .cx-hero__box.is-in .cx-chart__area, .js .cx-hero__box.is-in .cx-chart__dot { opacity: 1; }
  .js .cx-hero__box.is-in .cx-float { opacity: 1; transform: none; }
  .js .cx-hero__box.is-in .cx-float--1 { transition-delay: 900ms; }
  .js .cx-hero__box.is-in .cx-float--2 { transition-delay: 1150ms; }
  .js .cx-hero__box.is-in .cx-float--3 { transition-delay: 1400ms; }
  .cx-float { animation: cx-bob 6s ease-in-out infinite alternate; }
  .cx-float--2 { animation-delay: -2s; }
  .cx-float--3 { animation-delay: -4s; }
  .cx-chart__dot { animation: cx-pulse 2.4s ease-in-out infinite; }
}
@keyframes cx-bob { to { translate: 0 -8px; } }
@keyframes cx-pulse { 50% { stroke-width: 24; stroke: rgba(232, 163, 61, 0.15); } }

/* ==========================================================================
   2. Большие истории
   ========================================================================== */
.story {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-48); align-items: center;
  padding: 48px; border-radius: var(--radius-block);
}
.story + .story { margin-top: var(--space-16); }
.story--dark { background: var(--bg-inverse); color: var(--text-inverse); }
.story--brand { background: var(--primary-soft); color: var(--color1-darker); }
.story--accent { background: var(--accent-soft); color: var(--text); }

.story__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.story__chip { padding: 6px 12px; border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 600; }
.story__chip--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; opacity: 0.7; }
.story--brand .story__chip:not(.story__chip--ghost) { background: var(--primary); color: #fff; }
.story__client { margin-top: var(--space-24); font-size: 1.25rem; font-weight: 700; }
.story__big { margin-top: var(--space-8); font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 2rem + 5vw, 7.5rem); line-height: 0.9; letter-spacing: -0.03em; }
.story--dark .story__big { color: #fff; }
.story--brand .story__big { color: var(--primary); }
.story--accent .story__big { color: var(--color2-darker); }
.story__big-label { margin-top: var(--space-12); font-size: 1.0625rem; opacity: 0.75; }
.story__btn { margin-top: 40px; }

.story__media { position: relative; }
.story__frame {
  display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); transform: rotate(-2deg); transition: transform 600ms var(--ease-out);
}
.story--brand .story__frame { transform: rotate(2deg); }
.story:hover .story__frame { transform: rotate(0) scale(1.02); }
.story__frame img { width: 100%; height: 100%; object-fit: cover; }
.story__badge {
  position: absolute; left: -20px; bottom: -20px; display: flex; flex-direction: column; gap: 2px;
  padding: 16px 20px; border-radius: var(--radius-l); background: var(--accent); color: var(--on-accent);
  font-size: 0.8125rem; font-weight: 600; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}
.story__badge b { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.story__badge--light { left: auto; right: -20px; background: #fff; color: var(--text); }
.story__badge--light b { color: var(--primary); }

/* Поток денег: бюджет → заявки → оборот */
.flow { display: flex; align-items: stretch; gap: 0; margin-top: var(--space-32); padding-top: var(--space-24); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.flow__step { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 20px; }
.flow__step:first-child { padding-left: 0; }
.flow__step + .flow__arrow + .flow__step { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.flow__step b { font-size: 1.25rem; line-height: 1.15; }
.flow__step small { display: block; margin-top: 4px; font-size: 0.75rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); }
.flow__k { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.flow__step--hl b { color: var(--accent); }
.flow__arrow { display: none; }

/* Воронка */
.funnel2 { display: grid; gap: 10px; margin-top: var(--space-32); }
.funnel2__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: var(--space-12); font-size: 0.875rem; }
.funnel2__row i { display: block; height: 14px; border-radius: 7px; background: rgba(14, 99, 119, 0.12); position: relative; overflow: hidden; }
.funnel2__row i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--primary); transform-origin: left; }
.funnel2__row--hl i::after { background: var(--accent); }
.funnel2__row b { white-space: nowrap; }

/* Было / стало */
.ba { display: grid; grid-template-columns: 90px 90px minmax(0, 1fr); align-items: end; gap: var(--space-16); margin-top: var(--space-32); }
.ba__col { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.8125rem; }
.ba__col b { font-size: 1.125rem; }
.ba__bar { display: block; width: 56px; height: 140px; border-radius: 12px; background: rgba(122, 74, 0, 0.1); position: relative; overflow: hidden; }
.ba__bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: var(--color2-light); border-radius: inherit; transform-origin: bottom; }
.ba__col--hl .ba__bar::after { background: var(--primary); }
.ba__note { align-self: center; font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }

@media (prefers-reduced-motion: no-preference) {
  .js .funnel2__row i::after { transform: scaleX(0); transition: transform 1200ms var(--ease-out); }
  .js .story.is-in .funnel2__row i::after { transform: none; }
  .js .story.is-in .funnel2__row:nth-child(2) i::after { transition-delay: 200ms; }
  .js .story.is-in .funnel2__row:nth-child(3) i::after { transition-delay: 400ms; }
  .js .ba__bar::after { transform: scaleY(0); transition: transform 1200ms var(--ease-out) 300ms; }
  .js .story.is-in .ba__bar::after { transform: none; }
  .js .flow__step { opacity: 0; transform: translateX(-12px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
  .js .story.is-in .flow__step { opacity: 1; transform: none; }
  .js .story.is-in .flow__step:nth-of-type(2) { transition-delay: 250ms; }
  .js .story.is-in .flow__step:nth-of-type(3) { transition-delay: 500ms; }
}

/* ==========================================================================
   3. Цена заявки по нишам
   ========================================================================== */
.cx-cpa__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-48); align-items: start; }
.cx-cpa__intro { position: sticky; top: calc(var(--header-top) + var(--header-h) + 32px); }
.cx-cpa__text { margin-top: var(--space-16); color: var(--text-secondary); }
.cx-cpa__median { display: flex; align-items: center; gap: var(--space-16); margin: var(--space-32) 0 var(--space-16); padding: 18px 22px; border-radius: var(--radius-l); background: var(--bg-subtle); }
.cx-cpa__median b { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; color: var(--primary); white-space: nowrap; }
.cx-cpa__median span { font-size: 0.875rem; color: var(--text-secondary); }
.cx-cpa__legend { display: flex; gap: var(--space-16); margin-bottom: var(--space-32); font-size: 0.8125rem; color: var(--text-secondary); }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--primary); }
.lg--target::before { background: var(--accent); }
.lg--median::before { width: 0; height: 12px; border-radius: 0; background: none; border-left: 2px dashed var(--primary); }

.cpa { display: grid; gap: 2px; padding: 24px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.cpa__row a { display: grid; grid-template-columns: 190px minmax(0, 1fr) 92px; align-items: center; gap: 12px; padding: 7px 10px; margin: 0 -10px; border-radius: var(--radius-m); transition: background-color var(--dur) var(--ease); }
.cpa__row a:hover { background: var(--bg-raised); }
.cpa__name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpa__track { position: relative; display: block; height: 12px; }
/* пунктир медианы через все строки */
.cpa__track::after { content: ""; position: absolute; top: -10px; bottom: -10px; left: var(--med); border-left: 2px dashed rgba(14, 99, 119, 0.35); }
.cpa__bar { display: block; width: var(--w); height: 100%; border-radius: 6px; background: var(--primary); transform-origin: left; transition: background-color var(--dur) var(--ease); }
.cpa__row--target .cpa__bar { background: var(--accent); }
.cpa__row a:hover .cpa__bar { background: var(--color1-dark); }
.cpa__val { font-size: 0.875rem; font-weight: 700; text-align: right; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .js .cpa .cpa__bar { transform: scaleX(0); transition: transform 900ms var(--ease-out), background-color var(--dur) var(--ease); transition-delay: calc(var(--i) * 45ms); }
  .js .cpa.is-in .cpa__bar { transform: none; }
}

/* ==========================================================================
   4. Каталог кейсов по рекламе (в стиле карточек главной)
   ========================================================================== */
.cx-filters .filter span { margin-left: 4px; font-size: 0.75rem; opacity: 0.55; }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }
.acard {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-xl);
  background: var(--bg-subtle); overflow: hidden;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 200ms var(--ease);
}
.acard[hidden], .scard[hidden] { display: none; }
.acard:hover { background: var(--bg-raised); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.acard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-12); }
.acard__niche { padding: 5px 11px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px var(--border-control); font-size: 0.8125rem; font-weight: 600; }
.acard__thumb { flex: none; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; transform: rotate(4deg); box-shadow: 0 8px 18px rgba(18, 22, 20, 0.14); transition: transform 400ms var(--ease-out); }
.acard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.acard:hover .acard__thumb { transform: rotate(0) scale(1.08); }
.acard__client { margin-top: 4px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.acard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.acard__link:focus-visible { outline: none; }
.acard:has(.acard__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.acard__big { margin-top: var(--space-24); font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 1.6rem + 2vw, 3.5rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--primary); white-space: nowrap; }
.acard__label { margin-top: 6px; color: var(--text-secondary); }
.acard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-12); margin-top: auto; padding-top: var(--space-24); }
.acard__second { font-size: 0.875rem; color: var(--text-secondary); }
.acard__second b { display: block; font-size: 1.25rem; color: var(--text); }
.acard__go { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.acard__go .icon { width: 18px; height: 18px; }
.acard:hover .acard__go { background: var(--primary); color: #fff; box-shadow: none; }
.acard__ch { margin-top: var(--space-16); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

/* Ритм: каждая 5-я карточка тёмная */
.acard:nth-child(5n+1) { background: var(--bg-inverse); color: #fff; }
.acard:nth-child(5n+1) .acard__big { color: var(--accent); }
.acard:nth-child(5n+1) .acard__label, .acard:nth-child(5n+1) .acard__second, .acard:nth-child(5n+1) .acard__ch { color: rgba(255, 255, 255, 0.6); }
.acard:nth-child(5n+1) .acard__second b { color: #fff; }
.acard:nth-child(5n+1) .acard__niche { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.acard:nth-child(5n+1) .acard__go { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.acard:nth-child(5n+1):hover .acard__go { background: var(--accent); color: var(--on-accent); }

.cx-more { display: flex; justify-content: center; margin-top: var(--space-32); }
.cx-more[hidden] { display: none; }
.cx-more [data-n] { opacity: 0.55; }

/* ==========================================================================
   5. Сайты — витрина в окнах браузера
   ========================================================================== */
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-32) var(--space-24); }
.scard { position: relative; }
.scard__browser {
  display: block; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--border), 0 18px 40px rgba(18, 22, 20, 0.1);
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.scard:hover .scard__browser { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--border), 0 28px 56px rgba(18, 22, 20, 0.16); }
.scard__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.scard__bar i { width: 9px; height: 9px; border-radius: 50%; }
.scard__bar i:nth-child(1) { background: #ff6159; }
.scard__bar i:nth-child(2) { background: #ffbd2e; }
.scard__bar i:nth-child(3) { background: #28c941; }
.scard__url { flex: 1; min-width: 0; margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 0.6875rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.scard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1600ms var(--ease-out); }
.scard:hover .scard__shot img { transform: scale(1.06); }
.scard__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px var(--space-12); margin-top: var(--space-16); }
.scard__pl { grid-column: 2; grid-row: 1 / span 2; padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; }
.scard__pl--tilda { background: #1f1f1f; color: #fff; }
.scard__pl--wordpress { background: #21759b; color: #fff; }
.scard__pl--modx { background: #ffe7b3; color: #8a4b00; }
.scard__title { grid-column: 1; grid-row: 1; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.scard__link::after { content: ""; position: absolute; inset: 0; }
.scard:hover .scard__title { color: var(--primary); }
.scard__niche { grid-column: 1; font-size: 0.875rem; color: var(--text-muted); }

/* ==========================================================================
   6. Видео
   ========================================================================== */
.cx-video__box { padding: 56px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.cx-video__head .h2 { color: #fff; }
.cx-video__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-24); align-items: start; }
.player__screen, .player__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-xl); overflow: hidden; background: #000; }
.player__screen { position: relative; padding: 0; cursor: pointer; }
.player__screen[hidden] { display: none; }
.player__screen img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), opacity var(--dur) var(--ease); }
.player__screen:hover img { transform: scale(1.03); opacity: 0.85; }
.player__play {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 12px rgba(232, 163, 61, 0.25);
  transition: transform 200ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.player__play svg { margin-left: 4px; }
.player__screen:hover .player__play { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(232, 163, 61, 0.18); }
.player__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); margin-top: var(--space-16); }
.player__title { font-size: 1.25rem; font-weight: 700; }
.player__alt { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 14px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); font-size: 0.875rem; font-weight: 600; }
.player__alt:hover { background: rgba(255, 255, 255, 0.08); }

.vlist { display: grid; gap: 8px; }
.vlist__item { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: var(--space-16); width: 100%; padding: 8px; border-radius: var(--radius-l); text-align: left; color: inherit; transition: background-color var(--dur) var(--ease); }
.vlist__item:hover { background: rgba(255, 255, 255, 0.06); }
.vlist__item[aria-pressed="true"] { background: rgba(255, 255, 255, 0.1); box-shadow: inset 3px 0 0 var(--accent); }
.vlist__thumb { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; }
.vlist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vlist__text { display: flex; flex-direction: column; gap: 4px; }
.vlist__n { font-family: var(--font-display); font-size: 0.75rem; color: var(--accent); }
.vlist__title { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }

/* ==========================================================================
   7. Финальный призыв с формой
   ========================================================================== */
.cx-final__box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-48); align-items: center;
  padding: 64px; border-radius: var(--radius-block); overflow: hidden;
  background: radial-gradient(90% 120% at 0% 100%, #127189 0%, rgba(18, 113, 137, 0) 60%), var(--primary-press);
  color: #fff;
}
.cx-final__field { position: absolute; left: -260px; bottom: -340px; width: 800px; height: 800px; color: #fff; opacity: 0.07; pointer-events: none; }
.cx-final__text { position: relative; }
.cx-final__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); line-height: 1.05; }
.cx-steps { display: grid; gap: var(--space-16); margin-top: var(--space-32); }
.cx-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: var(--space-16); }
.cx-steps b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-family: var(--font-display); font-size: 0.875rem; color: var(--accent); }
.cx-steps span { font-size: 1.0625rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }
.cx-final__me { display: flex; align-items: center; gap: var(--space-12); margin-top: var(--space-32); }
.cx-final__me img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px var(--accent); object-fit: cover; }
.cx-final__me b { display: block; }
.cx-final__me span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }

.cx-final__form { position: relative; padding: 32px; border-radius: var(--radius-xl); background: #fff; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.cx-final__form-title { font-size: 1.375rem; font-weight: 700; }
.cx-final__form-sub { margin: 4px 0 var(--space-24); color: var(--text-muted); font-size: 0.9375rem; }
.cx-final__form .input { background: var(--bg-subtle); }
.cx-final__form .input:focus { background: #fff; border-color: var(--primary); }
.cx-final__alt { margin-top: var(--space-16); text-align: center; font-size: 0.875rem; color: var(--text-muted); }
.cx-final__alt a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1199px) {
  .cx-hero__box { padding: 48px 40px 32px; }
  .story { padding: 40px; gap: var(--space-32); }
  .cx-video__box, .cx-final__box { padding: 48px 40px; }
}
@media (max-width: 1023px) {
  .cx-hero__box { grid-template-columns: minmax(0, 1fr); }
  .cx-hero__viz { min-height: 300px; }
  .cx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-kpis li:nth-child(3) { padding-left: 0; border-left: 0; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story--brand .story__media { order: 2; }
  .story__media { max-width: 560px; }
  .cx-cpa__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-32); }
  .cx-cpa__intro { position: static; }
  .agrid, .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-video__grid { grid-template-columns: minmax(0, 1fr); }
  .vlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-final__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .flow { flex-direction: column; gap: 14px; }
  .flow__step { padding: 0; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
  .flow__step + .flow__arrow + .flow__step { border-left: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .flow__step b { text-align: right; }
  .cx-hero__box { padding: 28px 20px 24px; border-radius: var(--radius-xl); }
  .cx-hero__lead { font-size: 1rem; }
  .cx-hero__actions .btn { width: 100%; }
  .cx-hero__viz { min-height: 240px; }
  .cx-float { padding: 8px 12px; }
  .cx-float b { font-size: 1.0625rem; }
  .cx-float span { font-size: 0.6875rem; }
  .cx-float--2 { left: 0; }
  .cx-kpis li, .cx-kpis li + li { padding: var(--space-16) var(--space-12) 0 0; border-left: 0; }
  .story { padding: 28px 20px; border-radius: var(--radius-xl); }
  .story__btn { width: 100%; }
  .story__badge { left: auto; right: -6px; bottom: -14px; padding: 12px 14px; }
  .story__badge b { font-size: 1.375rem; }
  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); height: 16px; }
  .funnel2__row { grid-template-columns: 96px minmax(0, 1fr); }
  .funnel2__row b { grid-column: 2; font-size: 0.8125rem; }
  .ba { grid-template-columns: 80px 80px; }
  .ba__note { grid-column: 1 / -1; }
  .cpa { padding: 16px; }
  .cpa__row a { grid-template-columns: minmax(0, 1fr) 76px; grid-template-areas: "n v" "t t"; row-gap: 6px; }
  .cpa__name { grid-area: n; }
  .cpa__val { grid-area: v; }
  .cpa__track { grid-area: t; height: 8px; }
  .agrid, .sgrid { grid-template-columns: minmax(0, 1fr); }
  .acard { padding: 24px; }
  .cx-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); max-width: none; }
  .cx-filters::-webkit-scrollbar { display: none; }
  .cx-filters .filter { flex: none; }
  .cx-video__box, .cx-final__box { padding: 28px 20px; border-radius: var(--radius-xl); }
  .player__meta { flex-direction: column; align-items: flex-start; }
  .player__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .vlist { grid-template-columns: minmax(0, 1fr); }
  .vlist__item { grid-template-columns: 104px minmax(0, 1fr); }
  .cx-final__form { padding: 24px 20px; }
}
.scard__browser--cover { background: #0b1214; }

/* Карточка кейса с обложкой */
.acard__cover { display: block; margin: -28px -28px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: #06090c; }
.acard__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out); }
.acard:hover .acard__cover img { transform: scale(1.05); }
.acard--cover .acard__thumb { display: none; }
.acard--cover .acard__big { margin-top: var(--space-16); }
@media (max-width: 767px) { .acard__cover { margin: -24px -24px 18px; } }
.scard__res { margin: 8px 0 0; font-size: 0.875rem; color: var(--text-muted); }
.scard__res b { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--primary); margin-right: 4px; }
@media (max-width: 400px) { .cx-hero__title { font-size: clamp(1.875rem, 9.4vw, 2.25rem); } }
@media (max-width: 767px) { .cx-final__box { padding-left: 16px; padding-right: 16px; } }

/* uslugi.css */
/* ==========================================================================
   Страница «Услуги» (/uslugi/)
   Общие: .cx-eyebrow, .btn--ghost-inv, .cx-final — в cases-page.css
   ========================================================================== */

/* Логотипы сервисов (как в карточках услуг на главной) */
.svc-logos { display: flex; gap: 8px; }
.svc-logo {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px;
  border-radius: var(--radius-m); background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), inset 0 0 0 1px rgba(16, 24, 40, 0.06);
  transition: transform 200ms var(--ease-out);
}
.svc-logo img { width: 28px; height: 28px; object-fit: contain; }
.svc-logo--dark { background: #1d2b36; box-shadow: none; }
/* Логотип-приложение на всю плитку */
.svc-logo--full { overflow: hidden; box-shadow: none; }
.svc-logo--full img { width: 100%; height: 100%; }
.svc-logos--l .svc-logo { width: 56px; height: 56px; border-radius: var(--radius-l); }
.svc-logos--l .svc-logo img { width: 34px; height: 34px; }
.svc-logo { transition: transform 200ms var(--ease-out); }
.sv-logo--ico { color: var(--primary); }
.sv-logo--ico .icon { width: 24px; height: 24px; }

/* ==========================================================================
   Первый экран
   ========================================================================== */
.sv-hero { padding-top: var(--space-16); }
.sv-hero__box {
  position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
  min-height: 600px; padding: 56px; border-radius: var(--radius-block); overflow: hidden;
  background: #01060a; color: #fff; isolation: isolate;
}
.sv-hero__bg { position: absolute; inset: 0 0 0 24%; z-index: -1; }
.sv-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.sv-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #01060a 0%, rgba(1, 6, 10, 0) 30%), linear-gradient(0deg, #01060a 0%, rgba(1, 6, 10, 0) 30%); }
.sv-hero__text { position: relative; max-width: 560px; }
.sv-hero__title { margin-top: var(--space-32); font-family: var(--font-display); font-weight: 600; font-size: clamp(2.125rem, 1.2rem + 2.8vw, 3.75rem); line-height: 1.02; letter-spacing: -0.02em; }
.sv-hero__title span { color: var(--accent); }
.sv-hero__lead { margin-top: var(--space-24); font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.sv-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-12); margin-top: var(--space-32); }
.sv-hero__chain { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--space-48); border-top: 1px solid rgba(255, 255, 255, 0.14); counter-reset: ch; }
.sv-hero__chain li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: var(--space-20, 20px) var(--space-24) 0 0; counter-increment: ch; }
.sv-hero__chain li + li { padding-left: var(--space-24); }
.sv-hero__chain li::before { content: "0" counter(ch); font-family: var(--font-display); font-size: 0.75rem; color: var(--accent); }
.sv-hero__chain li:not(:last-child)::after { content: "→"; position: absolute; right: 8px; top: 34px; font-size: 1.25rem; color: rgba(255, 255, 255, 0.3); }
.sv-hero__chain b { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; }
.sv-hero__chain span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .js .sv-hero__bg img { transform: scale(1.06); transition: transform 2400ms var(--ease-out); }
  .js .sv-hero__box.is-in .sv-hero__bg img { transform: none; }
  .js .sv-hero__chain li { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .sv-hero__box.is-in .sv-hero__chain li { opacity: 1; transform: none; }
  .js .sv-hero__box.is-in .sv-hero__chain li:nth-child(2) { transition-delay: 150ms; }
  .js .sv-hero__box.is-in .sv-hero__chain li:nth-child(3) { transition-delay: 300ms; }
  .js .sv-hero__box.is-in .sv-hero__chain li:nth-child(4) { transition-delay: 450ms; }
}

/* ==========================================================================
   Подбор + карта системы
   ========================================================================== */
.sv-sits { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-sit {
  padding: 14px 20px; border-radius: var(--radius-full); background: var(--bg-subtle); font-weight: 600;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 150ms var(--ease);
}
.sv-sit:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.sv-sit:active { transform: scale(0.98); }
.sv-sit[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: none; }
.sv-result {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-24); margin-top: var(--space-16);
  padding: 22px 26px; border-radius: var(--radius-xl); background: var(--accent-soft); animation: sv-in 400ms var(--ease-out);
}
.sv-result[hidden] { display: none; }
.sv-result__title { font-size: 1.25rem; font-weight: 700; }
.sv-result__text { margin-top: 4px; max-width: 720px; color: var(--text-secondary); }
.sv-result .btn { flex: none; }
@keyframes sv-in { from { opacity: 0; transform: translateY(8px); } }

.sv-map { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); margin-top: var(--space-24); }
.sv-map__flow { position: absolute; left: 4%; right: 4%; top: 38px; width: 92%; height: 20px; z-index: 0; overflow: visible; pointer-events: none; }
.sv-map__flow path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 0.012 0.012; vector-effect: non-scaling-stroke; animation: sv-flow 1.6s linear infinite; }
@keyframes sv-flow { to { stroke-dashoffset: -0.024; } }
.sv-stage { position: relative; z-index: 1; padding: 28px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.sv-stage__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--primary); font-family: var(--font-display); font-weight: 600; color: var(--primary); }
.sv-stage--crm .sv-stage__n { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.sv-stage__name { margin-top: var(--space-16); font-size: 1.25rem; font-weight: 700; }
.sv-stage__desc { margin-top: 4px; font-size: 0.9375rem; color: var(--text-secondary); }
.sv-nodes { display: grid; gap: 8px; margin-top: var(--space-20, 20px); }
.sv-node {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); padding: 12px 16px;
  border-radius: var(--radius-l); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border);
  font-size: 0.9375rem; font-weight: 600; transition: background-color 250ms var(--ease), color 250ms var(--ease), box-shadow 250ms var(--ease), opacity 250ms var(--ease), transform 250ms var(--ease);
}
.sv-node b { flex: none; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.sv-node:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
/* подсветка при выборе ситуации */
.sv-map.is-picking .sv-node { opacity: 0.4; }
.sv-map.is-picking .sv-node.is-on { opacity: 1; background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(14, 99, 119, 0.3); transform: translateX(4px); }
.sv-map.is-picking .sv-node.is-on b { color: rgba(255, 255, 255, 0.8); }

/* ==========================================================================
   Каталог по этапам
   ========================================================================== */
.sv-catalog { padding-top: 0; }
.sv-group + .sv-group { margin-top: var(--space-64, 64px); }
.sv-group__head { display: flex; align-items: flex-start; gap: var(--space-24); margin-bottom: var(--space-32); }
.sv-group__n { flex: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--primary); }
.sv-group--crm .sv-group__n { -webkit-text-stroke-color: var(--accent); }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }

.sv-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-12); padding: 28px; border-radius: var(--radius-xl);
  background: var(--bg-subtle); scroll-margin-top: 120px;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 200ms var(--ease);
}
.sv-card:hover { background: var(--bg-raised); box-shadow: var(--shadow-s); transform: translateY(-2px); }
.sv-card:hover .svc-logo:nth-child(1) { transform: translateY(-2px) rotate(-4deg); }
.sv-card:hover .svc-logo:nth-child(2) { transform: translateY(-2px) rotate(4deg); }
.sv-card:target, .sv-card.is-flash { box-shadow: 0 0 0 3px var(--accent); }
.sv-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-12); margin-bottom: var(--space-8); }
.sv-card .svc-logo:not(.svc-logo--dark):not(.svc-logo--full) { background: #fff; }
.sv-card__promo, .sv-card__badge { padding: 5px 10px; border-radius: var(--radius-full); background: var(--accent-soft); color: var(--on-accent-soft); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.sv-card__badge { background: var(--primary-soft); color: var(--on-primary-soft); }
.sv-card__name { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.sv-card__desc { font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }
.sv-list { display: grid; gap: 8px; margin-top: var(--space-8); }
.sv-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9375rem; line-height: 1.4; }
.sv-list .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--success-text); }
.sv-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); margin-top: auto; padding-top: var(--space-16); border-top: 1px solid var(--border); }
.sv-card > .sv-list { margin-bottom: var(--space-8); }
.sv-card__price { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.1; white-space: nowrap; }
.sv-card__price span { margin-top: 4px; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.sv-card__ask { flex: none; }
.sv-card__more { display: inline-flex; align-items: center; gap: 4px; font-size: 0.875rem; font-weight: 600; color: var(--text-link); }
.sv-card__more .icon { width: 16px; height: 16px; }
.sv-card__more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Директ — широкая карточка с двумя тарифами */
.sv-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); grid-template-rows: auto auto 1fr auto; column-gap: var(--space-32); padding: 36px; background: var(--bg-raised); box-shadow: inset 0 0 0 2px var(--primary), 0 0 25px 5px rgba(11, 78, 93, 0.08); }
.sv-card--featured:hover { box-shadow: inset 0 0 0 2px var(--primary), var(--shadow-s); }
.sv-card--featured .svc-logo { width: 56px; height: 56px; border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px var(--border); }
.sv-card--featured .svc-logo img { width: 34px; height: 34px; }
.sv-card--featured .sv-card__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
.sv-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); margin-top: var(--space-12); }
.sv-tier { padding: 22px; border-radius: var(--radius-l); background: var(--bg-subtle); }
.sv-tier--dark { background: var(--bg-inverse); color: #fff; }
.sv-tier--dark .sv-list .icon { color: var(--accent); }
.sv-tier__name { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.sv-tier--dark .sv-tier__name { color: var(--accent); }
.sv-tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; margin: 6px 0 var(--space-12); font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; }
.sv-tier__price span { font-family: inherit; font-size: 0.8125rem; font-weight: 500; opacity: 0.6; font-family: var(--font-sans); }
.sv-card--featured .sv-card__foot { border-top: 0; }
.sv-card--featured > .sv-card__head, .sv-card--featured > .sv-card__name, .sv-card--featured > .sv-card__desc, .sv-card--featured > .sv-card__foot { grid-column: 1; }
.sv-card--featured > .sv-tiers { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
.sv-card--featured > .sv-card__foot { flex-direction: column; align-items: flex-start; gap: var(--space-16); }

/* ==========================================================================
   Пакеты
   ========================================================================== */
.sv-bundles { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%); }
.sv-bundles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); align-items: stretch; }
.sv-bundle { position: relative; display: flex; flex-direction: column; gap: var(--space-12); padding: 32px; border-radius: var(--radius-xl); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border); }
.sv-bundle--hl { background: var(--bg-inverse); color: #fff; box-shadow: 0 24px 48px rgba(18, 22, 20, 0.2); transform: translateY(-12px); }
.sv-bundle__flag { position: absolute; top: -14px; left: 32px; padding: 6px 12px; border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent); font-size: 0.75rem; font-weight: 700; }
.sv-bundle__name { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; }
.sv-bundle--hl .sv-bundle__name { color: var(--accent); }
.sv-bundle__for { color: var(--text-secondary); }
.sv-bundle--hl .sv-bundle__for { color: rgba(255, 255, 255, 0.65); }
.sv-bundle__stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: var(--space-8) 0; }
.sv-bundle__stages i { height: 6px; border-radius: 3px; background: var(--border); }
.sv-bundle__stages i.on { background: var(--primary); }
.sv-bundle--hl .sv-bundle__stages i { background: rgba(255, 255, 255, 0.12); }
.sv-bundle--hl .sv-bundle__stages i.on { background: var(--accent); }
.sv-bundle--hl .sv-list .icon { color: var(--accent); }
.sv-list li.is-mon span { margin-left: auto; padding-left: 8px; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.sv-bundle--hl .sv-list li.is-mon span { color: rgba(255, 255, 255, 0.5); }
.sv-bundle__price { display: grid; gap: 8px; margin-top: auto; padding-top: var(--space-16); border-top: 1px solid var(--border); }
.sv-bundle--hl .sv-bundle__price { border-color: rgba(255, 255, 255, 0.14); }
.sv-bundle__price p { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-12); }
.sv-bundle__price span { font-size: 0.875rem; color: var(--text-muted); }
.sv-bundle--hl .sv-bundle__price span { color: rgba(255, 255, 255, 0.55); }
.sv-bundle__price b { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; white-space: nowrap; }
.sv-bundle .btn { margin-top: var(--space-8); }
.sv-bundle--hl .btn--outline { color: #fff; }

/* ==========================================================================
   Прайс
   ========================================================================== */
.sv-prices__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--space-48); align-items: start; }
.sv-prices__grid > div:first-child { position: sticky; top: calc(var(--header-top) + var(--header-h) + 32px); }
.sv-prices__text { margin: var(--space-16) 0 var(--space-32); color: var(--text-secondary); }
.sv-price { border-radius: var(--radius-xl); background: var(--bg-subtle); padding: 8px 24px 16px; }
.sv-price table { width: 100%; border-collapse: collapse; }
.sv-price th, .sv-price td { padding: 14px 8px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.sv-price thead th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.sv-price tbody th { font-weight: 600; }
.sv-price tbody th a:hover { color: var(--primary); }
.sv-price td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.sv-price td:nth-child(3) { color: var(--text-muted); white-space: nowrap; }
.sv-price__group th { padding-top: 24px; font-size: 0.75rem !important; font-weight: 700 !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.sv-price__promo { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--radius-full); background: var(--accent-soft); color: var(--on-accent-soft); font-size: 0.6875rem; font-weight: 700; }
.sv-price__free th, .sv-price__free td { border-bottom: 0; color: var(--success-text) !important; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.sv-faq__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--space-48); }
.sv-faq__list { display: grid; gap: 8px; }
.sv-faq__item { border-radius: var(--radius-l); background: var(--bg-subtle); }
.sv-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); padding: 20px 24px; font-weight: 700; cursor: pointer; list-style: none; }
.sv-faq__item summary::-webkit-details-marker { display: none; }
.sv-faq__item summary .icon { flex: none; transition: transform var(--dur) var(--ease); }
.sv-faq__item[open] summary .icon { transform: rotate(180deg); }
.sv-faq__item p { padding: 0 24px 22px; color: var(--text-secondary); line-height: 1.6; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1199px) {
  .sv-hero__box { padding: 40px; min-height: 540px; }
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-card--featured { grid-template-columns: minmax(0, 1fr); }
  .sv-card--featured > .sv-tiers { grid-column: 1; grid-row: auto; margin-top: var(--space-12); }
}
@media (max-width: 1023px) {
  .sv-hero__box { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 320px; }
  .sv-hero__bg { inset: 0 0 auto 0; height: 440px; }
  .sv-hero__bg::after { background: linear-gradient(0deg, #01060a 0%, rgba(1, 6, 10, 0) 55%); }
  .sv-hero__chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-hero__chain li:nth-child(3) { padding-left: 0; }
  .sv-hero__chain li:nth-child(2)::after { display: none; }
  .sv-map { grid-template-columns: minmax(0, 1fr); }
  .sv-map__flow { display: none; }
  .sv-result { flex-direction: column; align-items: flex-start; }
  .sv-bundles__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .sv-bundle--hl { transform: none; }
  .sv-prices__grid, .sv-faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-24); }
  .sv-prices__grid > div:first-child { position: static; }
}
@media (max-width: 767px) {
  .sv-hero__box { padding: 210px 20px 24px; border-radius: var(--radius-xl); }
  .sv-hero__bg { height: 280px; }
  .sv-hero__title { margin-top: var(--space-20, 20px); }
  .sv-hero__lead { font-size: 1rem; }
  .sv-hero__actions .btn { width: 100%; }
  .sv-hero__chain li, .sv-hero__chain li + li { padding: var(--space-16) var(--space-12) 0 0; }
  .sv-hero__chain li::after { display: none; }
  .sv-hero__chain b { font-size: 1.125rem; }
  .sv-sits { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .sv-sits::-webkit-scrollbar { display: none; }
  .sv-sit { flex: none; padding: 12px 16px; font-size: 0.9375rem; }
  .sv-result .btn { width: 100%; }
  .sv-stage { padding: 22px; }
  .sv-group__head { gap: var(--space-16); }
  .sv-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .sv-card--featured { grid-column: auto; padding: 24px; }
  .sv-card { padding: 24px; }
  .sv-tiers { grid-template-columns: minmax(0, 1fr); }
  .sv-card__foot { flex-wrap: wrap; }
  .sv-card--featured .sv-card__foot .btn { width: 100%; }
  .sv-bundle { padding: 28px 22px; }
  .sv-price { padding: 4px 14px 8px; overflow-x: auto; }
  .sv-price th, .sv-price td { padding: 12px 6px; font-size: 0.875rem; }
  .sv-price td:nth-child(3) { display: none; }
  .sv-price thead th:nth-child(3) { display: none; }
}
.sv-group__link { margin-left: auto; align-self: center; flex: none; }
@media (max-width: 767px) { .sv-group__head { flex-wrap: wrap; } .sv-group__link { margin-left: 0; width: 100%; } }

/* service.css */
/* ==========================================================================
   Шаблон страницы услуги (/uslugi/<slug>/)
   Общие: .acard, .cx-final, .cx-eyebrow — cases-page.css; FAQ .sv-faq — uslugi.css
   ========================================================================== */

/* ==========================================================================
   Первый экран + анимированный логотип
   ========================================================================== */
.sp-hero { padding-top: var(--space-16); }
.sp-hero__box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-32); align-items: center;
  min-height: 560px; padding: 48px 56px; border-radius: var(--radius-block); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 78% 45%, rgba(49, 91, 234, 0.28) 0%, rgba(49, 91, 234, 0) 60%), radial-gradient(60% 60% at 100% 100%, rgba(232, 163, 61, 0.14) 0%, rgba(232, 163, 61, 0) 60%), #050b16;
  color: #fff;
}
.sp-hero__text { position: relative; z-index: 2; }
.sp-hero__eyebrow { margin-top: var(--space-48); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffd21e; }
.sp-hero__title { margin-top: var(--space-16); font-family: var(--font-display); font-weight: 600; font-size: clamp(2.125rem, 1.2rem + 2.8vw, 3.75rem); line-height: 1.02; letter-spacing: -0.02em; }
.sp-hero__title span { color: #ffd21e; }
.sp-hero__lead { max-width: 520px; margin-top: var(--space-24); font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-12); margin-top: var(--space-32); }
.sp-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); margin-top: var(--space-48); padding-top: var(--space-20, 20px); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.sp-trust b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.sp-trust span { font-size: 0.8125rem; line-height: 1.35; color: rgba(255, 255, 255, 0.55); }

/* --- Сцена с логотипом --- */
.dv { --R: 210px; position: relative; justify-self: center; width: 520px; height: 520px; max-width: 100%; }
.dv__glow { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; background: radial-gradient(circle, rgba(49, 91, 234, 0.55) 0%, rgba(49, 91, 234, 0) 70%); filter: blur(10px); animation: dv-breath 5s ease-in-out infinite; }
.dv__ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); }
.dv__ring--1 { width: 300px; height: 300px; border-color: rgba(255, 210, 30, 0.25); border-style: dashed; animation: dv-spin 40s linear infinite; }
.dv__ring--2 { width: calc(var(--R) * 2); height: calc(var(--R) * 2); }
.dv__ring--3 { width: 520px; height: 520px; border-color: rgba(255, 255, 255, 0.05); }
.dv__core { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; }
.dv__logo { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 50px rgba(47, 45, 212, 0.55)); }
.dv__arrow { animation: dv-launch 7s cubic-bezier(.6, 0, .2, 1) 2.2s infinite; }
/* искры, вылетающие из стрелки в сторону ленты заявок */
.dv__spark { position: absolute; left: 70%; top: 22%; width: 8px; height: 8px; border-radius: 50%; background: #ffd21e; box-shadow: 0 0 12px #ffd21e; opacity: 0; animation: dv-spark 7s ease-out 2.2s infinite; }
.dv__spark:nth-of-type(2) { animation-delay: 2.32s; width: 6px; height: 6px; }
.dv__spark:nth-of-type(3) { animation-delay: 2.44s; width: 4px; height: 4px; }

.dv__orbit { position: absolute; inset: 0; animation: dv-spin 60s linear infinite; }
.dv__orbit li { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(var(--a) * -1)); }
.dv__orbit span {
  display: block; translate: -50% -50%; padding: 7px 12px; border-radius: var(--radius-full); white-space: nowrap;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.8125rem; font-weight: 600; animation: dv-spin 60s linear infinite reverse;
}

/* лента событий */
.dv__feed { position: absolute; right: -24px; bottom: 6px; display: grid; gap: 8px; width: 230px; }
.dv-ev {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); position: relative; z-index: 2;
  animation: dv-ev-in 500ms cubic-bezier(.2, .9, .3, 1.2) both;
}
.dv-ev.is-out { animation: dv-ev-out 400ms ease both; }
.dv-ev__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #315bea; color: #fff; }
.dv-ev__ico .icon { width: 17px; height: 17px; stroke-width: 2; }
.dv-ev--call .dv-ev__ico { background: #22a861; }
.dv-ev--tg .dv-ev__ico { background: #2aabee; }
.dv-ev--tg .dv-ev__ico .icon { margin-left: -2px; }
.dv-ev--cart .dv-ev__ico { background: var(--accent); }
.dv-ev--pin .dv-ev__ico { background: #ff3b30; }
.dv-ev b { display: block; font-size: 0.8125rem; line-height: 1.2; }
.dv-ev p span { font-size: 0.6875rem; color: var(--text-muted); }

@keyframes dv-spin { to { rotate: 360deg; } }
@keyframes dv-breath { 50% { transform: scale(1.12); opacity: 0.8; } }
@keyframes dv-launch {
  0%, 70% { transform: translate(0, 0); }
  80% { transform: translate(90px, -90px); }
  80.01% { transform: translate(-110px, 110px); }
  92%, 100% { transform: translate(0, 0); }
}
@keyframes dv-spark {
  0%, 74% { opacity: 0; transform: translate(0, 0) scale(1); }
  76% { opacity: 1; }
  90% { opacity: 0; transform: translate(120px, 150px) scale(0.4); }
  100% { opacity: 0; }
}
@keyframes dv-ev-in { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
@keyframes dv-ev-out { to { opacity: 0; transform: translateY(-10px) scale(0.95); } }

/* появление сцены */
@media (prefers-reduced-motion: no-preference) {
  .js .dv__circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 900ms cubic-bezier(.2, .9, .3, 1.3) 200ms; }
  .js .dv__arrow { translate: -120px 120px; transition: translate 900ms cubic-bezier(.2, .9, .2, 1.1) 700ms; }
  .js .dv__orbit { opacity: 0; transition: opacity 800ms ease 1100ms; }
  .js .sp-hero__box.is-in .dv__circle { transform: none; }
  .js .sp-hero__box.is-in .dv__arrow { translate: 0 0; }
  .js .sp-hero__box.is-in .dv__orbit { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dv__orbit, .dv__orbit span, .dv__ring--1, .dv__glow, .dv__arrow, .dv__spark { animation: none; }
}

/* ==========================================================================
   Бегущая строка результатов
   ========================================================================== */
.sp-ticker { margin-top: var(--space-16); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sp-ticker__track { display: flex; width: max-content; animation: sp-marquee 50s linear infinite; }
.sp-ticker:hover .sp-ticker__track { animation-play-state: paused; }
.sp-ticker ul { display: flex; gap: 12px; padding-right: 12px; }
.sp-ticker a { display: flex; align-items: baseline; gap: 10px; padding: 16px 22px; border-radius: var(--radius-full); background: var(--bg-subtle); white-space: nowrap; transition: background-color var(--dur) var(--ease); }
.sp-ticker a:hover { background: var(--primary-soft); }
.sp-ticker b { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--primary); }
.sp-ticker span { font-size: 0.875rem; }
.sp-ticker em { font-style: normal; font-size: 0.8125rem; color: var(--text-muted); }
@keyframes sp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sp-ticker__track { animation: none; } }

/* ==========================================================================
   Проблемы
   ========================================================================== */
.sp-probs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }
.sp-prob { display: flex; flex-direction: column; gap: var(--space-16); padding: 28px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.sp-prob__n { font-family: var(--font-display); font-weight: 600; font-size: 3rem; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--primary); }
.sp-prob__pain { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.sp-prob__fix { margin-top: auto; padding-top: var(--space-16); border-top: 1px solid var(--border); font-size: 0.9375rem; line-height: 1.55; color: var(--text-secondary); }
.sp-prob__fix span { display: block; margin-bottom: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }

.pv { padding: 16px; border-radius: var(--radius-l); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border); font-size: 0.8125rem; }
.pv--audit { display: grid; gap: 8px; }
.pv--audit p { display: flex; align-items: center; gap: 8px; }
.pv--audit span { width: 10px; height: 10px; border-radius: 50%; }
.pv--audit .ok { background: var(--success-dark); }
.pv--audit .warn { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.pv__bar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--bg-subtle); }
.pv__good { flex: 0 0 92%; background: var(--primary); transform-origin: left; }
.pv__bad { flex: 1; background: repeating-linear-gradient(135deg, #d9534f 0 4px, #f1b0ae 4px 8px); }
.pv__legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--text-muted); }
.pv--chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pv--chain span { padding: 5px 9px; border-radius: var(--radius-full); background: var(--bg-subtle); font-weight: 600; }
.pv--chain span.hl { background: var(--accent); color: var(--on-accent); }
.pv--chain i { width: 12px; height: 2px; background: var(--border-control); }
@media (prefers-reduced-motion: no-preference) {
  .js .pv__good { transform: scaleX(0.3); transition: transform 1200ms var(--ease-out) 300ms; }
  .js .sp-probs__grid.is-in .pv__good { transform: none; }
}

/* ==========================================================================
   Форматы — мини-макеты
   ========================================================================== */
.sp-fmts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }
.sp-fmt { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 24px; border-radius: var(--radius-xl); background: var(--bg-subtle); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.sp-fmt:hover { background: var(--bg-raised); box-shadow: var(--shadow-s); }
.sp-fmt__mock { position: relative; height: 180px; margin-bottom: var(--space-12); border-radius: var(--radius-l); overflow: hidden; background: linear-gradient(160deg, #eef3ff, #f6f8fb); }
.sp-fmt__name { padding: 0 8px; font-size: 1.125rem; font-weight: 700; }
.sp-fmt__text { padding: 0 8px; font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }

.mk { position: absolute; inset: 16px; display: flex; flex-direction: column; gap: 8px; transition: transform 500ms var(--ease-out); }
.sp-fmt:hover .mk { transform: translateY(-4px); }
.mk i, .mk b { display: block; height: 7px; border-radius: 4px; background: #d6dbe6; }
.mk b { height: 9px; width: 70%; background: #2f2dd4; opacity: 0.85; }
.mk i.s { width: 55%; }
.mk__tag { align-self: flex-start; padding: 2px 6px; border-radius: 4px; background: #ffd21e; color: #1a1a1a; font-size: 9px; font-weight: 700; }
.mk__btn { display: block; width: 70px; height: 18px; border-radius: 6px; background: #ffd21e; }
.mk__pic { display: block; border-radius: 8px; background: linear-gradient(135deg, var(--color1-light), var(--primary)); }
/* поиск */
.mk__bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); font-size: 11px; color: var(--text-secondary); }
.mk__bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #ffd21e; background: none; }
.mk__ad { display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2px rgba(255, 210, 30, 0.7); }
.mk__links { display: flex; gap: 6px; }
.mk__links u { width: 40px; height: 6px; border-radius: 3px; background: #a9b6ff; }
.mk__res { display: flex; flex-direction: column; gap: 5px; padding: 0 10px; opacity: 0.5; }
.mk__res b { background: #8a96b8; width: 55%; }
/* РСЯ */
.mk--rsya .mk__site { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; opacity: 0.6; }
.mk__banner { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(47, 45, 212, 0.12); }
.mk--rsya .mk__pic { height: 64px; }
.mk__banner div { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
/* товары */
.mk--product { flex-direction: row; align-items: flex-end; gap: 8px; }
.mk__card { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }
.mk__card .mk__pic { height: 70px; }
.mk__card:nth-child(2) { transform: translateY(-12px); box-shadow: 0 0 0 2px rgba(255, 210, 30, 0.8), 0 10px 20px rgba(0, 0, 0, 0.08); }
.mk__price { display: block; width: 50%; height: 9px; border-radius: 4px; background: var(--accent); }
/* карты */
.mk--maps { inset: 0; }
.mk--maps svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk--maps path { fill: none; stroke: #fff; stroke-width: 6; }
.mk--maps path.r { stroke: #2f2dd4; stroke-width: 3; stroke-dasharray: 6 5; }
.mk__pin { position: absolute; left: 58%; top: 34%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: #ff3b30; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(255, 59, 48, 0.4); animation: mk-pin 2.4s ease-in-out infinite; }
.mk__pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.mk__place { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 5px; width: 55%; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1); }
@keyframes mk-pin { 50% { translate: 0 -6px; } }
/* telegram */
.mk--tg { justify-content: flex-end; background: none; }
.mk__msg { display: flex; flex-direction: column; gap: 6px; width: 75%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #fff; }
.mk__msg--ad { box-shadow: 0 0 0 2px #2aabee; }
.mk__msg--ad .mk__btn { width: 100%; height: 16px; background: #2aabee; }
/* квиз */
.mk__prog { height: 6px; border-radius: 3px; background: #e2e6ef; }
.mk__prog span { display: block; width: 60%; height: 100%; border-radius: inherit; background: var(--accent); }
.mk__opt { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: #fff; }
.mk__opt i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c5cbe0; background: none; }
.mk__opt span { display: block; width: 60%; height: 6px; border-radius: 3px; background: #d6dbe6; }
.mk__opt.is-on { box-shadow: 0 0 0 2px var(--primary); }
.mk__opt.is-on i { border-color: var(--primary); background: var(--primary); }

/* ==========================================================================
   Таймлайн запуска
   ========================================================================== */
.sp-tl-box { padding: 56px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.sp-tl-box .h2 { color: #fff; }
.sp-tl { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--space-16); }
.sp-tl li { display: flex; flex-direction: column; gap: 6px; }
.sp-tl__dot { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); font-family: var(--font-display); font-weight: 600; color: var(--accent); }
.sp-tl li:nth-child(4) .sp-tl__dot { background: var(--accent); color: var(--on-accent); }
.sp-tl b { font-size: 1.0625rem; }
.sp-tl li > span:last-child { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.sp-tl__line { position: relative; height: 10px; margin: 110px 0 80px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); }
.sp-tl__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--color1-light) 0%, var(--primary) 55%, var(--accent) 62%, #ffd21e 100%); transform-origin: left; }
.sp-tl__marks li { position: absolute; left: var(--at); top: -8px; display: flex; flex-direction: column; gap: 2px; padding-top: 34px; transform: translateX(-12px); }
.sp-tl__marks li::before { content: ""; position: absolute; left: 4px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15); }
.sp-tl__marks li:first-child { top: auto; bottom: -8px; padding: 0 0 34px; }
.sp-tl__marks li:first-child::before { top: auto; bottom: 0; }
.sp-tl__marks li:last-child { transform: translateX(calc(-100% + 24px)); align-items: flex-end; text-align: right; }
.sp-tl__marks li:last-child::before { left: auto; right: 4px; }
.sp-tl__marks b { font-size: 0.9375rem; white-space: nowrap; }
.sp-tl__marks span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .js .sp-tl__fill { transform: scaleX(0); transition: transform 2000ms var(--ease-out) 300ms; }
  .js .sp-tl-box.is-in .sp-tl__fill { transform: none; }
  .js .sp-tl li { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--i, 0) * 150ms); }
  .js .sp-tl-box.is-in .sp-tl li { opacity: 1; transform: none; }
}

/* ==========================================================================
   Цены
   ========================================================================== */
.sp-price__note { max-width: 340px; padding: 14px 18px; border-radius: var(--radius-l); background: var(--accent-soft); color: var(--on-accent-soft); font-size: 0.875rem; font-weight: 600; }
.sp-price__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); align-items: stretch; }
.sp-plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.sp-plan--hl { background: var(--bg-raised); box-shadow: inset 0 0 0 2px var(--primary), 0 20px 40px rgba(14, 99, 119, 0.12); }
.sp-plan__name { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.sp-plan__price { margin-top: var(--space-12); font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1.05; }
.sp-plan__unit { margin-top: 4px; font-size: 0.875rem; color: var(--text-muted); }
.sp-plan__text { margin-top: var(--space-16); padding-bottom: var(--space-16); border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.sp-plan__list { display: grid; gap: 10px; margin: var(--space-20, 20px) 0 var(--space-24); }
.sp-plan__list li { display: flex; gap: 8px; font-size: 0.9375rem; line-height: 1.4; }
.sp-plan__list .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--success-text); }
.sp-plan .btn { margin-top: auto; }

/* ==========================================================================
   Эксперт
   ========================================================================== */
.sp-expert__box { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-48); align-items: center; padding: 40px; border-radius: var(--radius-block); background: var(--bg-subtle); }
.sp-expert__photo { position: relative; }
.sp-expert__photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); }
.sp-expert__cert { position: absolute; right: -24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: var(--radius-l); background: #fff; box-shadow: 0 16px 32px rgba(18, 22, 20, 0.18); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.sp-expert__cert img { width: 72px; height: auto; border-radius: 6px; }
.sp-expert__text { display: flex; flex-direction: column; gap: var(--space-16); align-items: flex-start; }
.sp-expert__text .t1 { color: var(--text-secondary); }
.sp-expert__pts { display: grid; gap: 12px; margin: var(--space-8) 0 var(--space-16); }
.sp-expert__pts li { display: flex; gap: 10px; }
.sp-expert__pts .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--success-bg); color: var(--success-text); }
.sp-expert__pts b { display: block; }
.sp-expert__pts p { font-size: 0.9375rem; color: var(--text-secondary); }
.sp-expert__pts p b { color: var(--text); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1199px) {
  .sp-hero__box { padding: 40px; }
  .dv { --R: 180px; width: 440px; height: 440px; }
  .dv__ring--3 { width: 440px; height: 440px; }
  .dv__ring--1 { width: 250px; height: 250px; }
  .dv__core { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .sp-fmts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-tl-box { padding: 48px 40px; }
}
@media (max-width: 1023px) {
  .sp-hero__box { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dv { order: -1; margin-top: -8px; }
  .sp-probs__grid, .sp-price__grid { grid-template-columns: minmax(0, 1fr); }
  .sp-price__grid { max-width: 560px; }
  .sp-tl { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .sp-tl li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .sp-tl__dot { grid-row: 1 / span 2; margin: 0; }
  .sp-tl__line { display: none; }
  .sp-expert__box { grid-template-columns: minmax(0, 1fr); }
  .sp-expert__photo { max-width: 420px; }
}
@media (max-width: 767px) {
  .sp-hero__box { padding: 24px 20px; border-radius: var(--radius-xl); }
  .dv { --R: 118px; width: 300px; height: 300px; }
  .dv__ring--3 { width: 320px; height: 320px; }
  .dv__ring--1 { width: 180px; height: 180px; }
  .dv__core { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
  .dv__glow { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .dv__orbit span { padding: 5px 9px; font-size: 0.6875rem; }
  .dv__feed { right: 0; bottom: -6px; width: 190px; }
  .dv__feed .dv-ev:not(:last-child) { display: none; }
  .sp-hero__eyebrow { margin-top: var(--space-16); }
  .sp-hero__lead { font-size: 1rem; }
  .sp-hero__title { font-size: clamp(1.75rem, 7.6vw, 2.25rem); }
  .sp-hero__actions .btn { width: 100%; }
  .sp-trust { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: var(--space-32); }
  .sp-trust li { display: flex; align-items: baseline; gap: 10px; }
  .sp-trust b { flex: none; min-width: 90px; font-size: 1.0625rem; }
  .sp-ticker a { padding: 12px 18px; }
  .sp-prob, .sp-plan { padding: 24px; }
  .sp-fmts__grid { grid-template-columns: minmax(0, 1fr); }
  .sp-tl-box { padding: 28px 20px; border-radius: var(--radius-xl); }
  .sp-expert__box { padding: 20px; border-radius: var(--radius-xl); }
  .sp-expert__cert { right: 8px; }
}

/* ==========================================================================
   Принцип: продажи, а не клики (аналитика)
   ========================================================================== */
.an__box { padding: 56px; border-radius: var(--radius-block); background: radial-gradient(80% 100% at 100% 0%, #12505f 0%, rgba(18, 80, 95, 0) 60%), var(--bg-inverse); color: #fff; }
.an__box .h2 { color: #fff; }
.an__box .h2 span { color: var(--accent); }
.an__lead { max-width: 640px; color: rgba(255, 255, 255, 0.7); }
.an-flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-16); }
.an-flow::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: linear-gradient(90deg, var(--color1-light), var(--accent)); opacity: 0.6; transform-origin: left; }
.an-stage { position: relative; display: flex; flex-direction: column; gap: 8px; }
.an-stage__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #0b1a1e; box-shadow: inset 0 0 0 2px var(--color1-light); font-family: var(--font-display); font-weight: 600; color: #fff; }
.an-stage:last-child .an-stage__n { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.an-stage__name { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; }
.an-stage__q { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.6); }
.an-stage__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.an-tool { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 0.8125rem; font-weight: 600; }
.an-tool__ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; overflow: hidden; }
.an-tool__ico img { width: 18px; height: 18px; object-fit: contain; }
.an-tool__ico--i { background: rgba(255, 255, 255, 0.12); color: var(--accent); }
.an-tool__ico--i .icon { width: 15px; height: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .js .an-flow::before { transform: scaleX(0); transition: transform 1600ms var(--ease-out) 200ms; }
  .js .an__box.is-in .an-flow::before { transform: none; }
  .js .an-stage { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 200ms + 200ms); }
  .js .an__box.is-in .an-stage { opacity: 1; transform: none; }
}

/* ==========================================================================
   Нет сайта — сделаем
   ========================================================================== */
.ns__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-48); align-items: center; padding: 56px; border-radius: var(--radius-block); background: var(--primary-soft); overflow: hidden; }
.ns__box .h2 span { color: var(--primary); }
.ns__lead { margin-top: var(--space-16); color: var(--text-secondary); }
.ns__list { margin-top: var(--space-24); }
.ns__facts { display: flex; flex-wrap: wrap; gap: var(--space-24); margin-top: var(--space-24); padding-top: var(--space-20, 20px); border-top: 1px solid rgba(14, 99, 119, 0.15); }
.ns__facts b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--color1-darker); }
.ns__facts span { font-size: 0.8125rem; color: var(--text-muted); }
.ns__actions { display: flex; flex-wrap: wrap; gap: var(--space-12); margin-top: var(--space-32); }

/* «Обо мне» с главной на странице услуги */
.service-page .about__more { align-self: flex-start; margin-top: var(--space-8); }

@media (max-width: 1199px) {
  .an__box, .ns__box { padding: 40px; }
}
@media (max-width: 1023px) {
  .an-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-32); }
  .an-flow::before { display: none; }
  .ns__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .an__box, .ns__box { padding: 28px 20px; border-radius: var(--radius-xl); }
  .an-flow { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-24); }
  .ns__actions .btn { width: 100%; }
}

/* CTA под блоками */
.sp-cta { display: flex; justify-content: center; margin-top: var(--space-40, 40px); }
.an__box .sp-cta, .sp-tl-box .sp-cta { justify-content: flex-start; margin-top: var(--space-48); }
.sp-tl-box .sp-cta { margin-top: 0; }

/* ==========================================================================
   Как я работаю — вопросы клиента
   ========================================================================== */
.how__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: var(--space-48); align-items: start; }
.how__intro { position: sticky; top: calc(var(--header-top) + var(--header-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-16); }
.how__intro .h2 span { color: var(--primary); }
.how__lead { color: var(--text-secondary); margin-bottom: var(--space-8); }
.how__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16); }
.how-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-xl); background: var(--bg-subtle); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 200ms var(--ease); }
.how-card:hover { background: var(--bg-raised); box-shadow: var(--shadow-s); transform: translateY(-2px); }
.how-card__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: var(--radius-m); background: var(--primary); color: #fff; }
.how-card:nth-child(3n+2) .how-card__ico { background: var(--accent); color: var(--on-accent); }
.how-card:nth-child(3n) .how-card__ico { background: var(--bg-inverse); }
.how-card__ico .icon { width: 22px; height: 22px; }
.how-card__q { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.how-card__a { font-size: 0.9375rem; line-height: 1.55; color: var(--text-secondary); }
@media (prefers-reduced-motion: no-preference) {
  .js .how__cards .how-card { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); transition-delay: calc(var(--i) * 80ms); }
  .js .how__cards.is-in .how-card { opacity: 1; transform: none; }
}

/* ==========================================================================
   Нет сайта: платформы и витрина «ноутбук + телефон»
   ========================================================================== */
.ns__eng { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-16); }
.ns__eng li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--radius-full); background: #fff; box-shadow: 0 1px 2px rgba(8, 59, 70, 0.08); font-size: 0.875rem; font-weight: 600; }
.ns__eng img { width: 24px; height: 24px; padding: 2px; object-fit: contain; }

.ns__show { position: relative; height: 470px; }
.dev { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s 700ms; }
.dev.is-on { opacity: 1; visibility: visible; transition: opacity 700ms ease; }
.dev__laptop { position: absolute; left: 0; right: 12%; top: 20px; }
.dev__screen { display: block; padding: 10px 10px 0; border-radius: 18px 18px 0 0; background: #11161a; box-shadow: 0 30px 60px rgba(8, 59, 70, 0.28); }
.dev__screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; }
.dev__base { display: block; height: 16px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #d9dee2, #aab3b9); box-shadow: 0 18px 30px rgba(8, 59, 70, 0.22); }
.dev__base::before { content: ""; display: block; width: 18%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #9aa3aa; }
.dev__phone { position: absolute; right: 0; bottom: 30px; width: 27%; padding: 7px; border-radius: 28px; background: #11161a; box-shadow: 0 24px 50px rgba(8, 59, 70, 0.35); }
.dev__phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 22px; }
.dev__cap { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; font-size: 0.8125rem; color: var(--text-secondary); }
.dev__cap b { font-size: 1rem; color: var(--color1-darker); }
.dev.is-on .dev__laptop { animation: dev-in 900ms var(--ease-out) both; }
.dev.is-on .dev__phone { animation: dev-in 900ms var(--ease-out) 150ms both; }
@keyframes dev-in { from { opacity: 0; transform: translateY(18px); } }
.ns__dots { position: absolute; left: 0; bottom: -28px; display: flex; gap: 6px; }
.dev-dot { width: 26px; height: 6px; border-radius: 3px; background: rgba(14, 99, 119, 0.2); transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease); }
.dev-dot.is-on { width: 40px; background: var(--primary); }
.ns__badge { position: absolute; right: -8px; top: -6px; z-index: 4; display: flex; flex-direction: column; padding: 14px 18px; border-radius: var(--radius-l); background: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 600; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2); }
.ns__badge b { font-family: var(--font-display); font-size: 1.25rem; }

/* Сертификаты Яндекса в «Обо мне» на странице услуги */
.service-page .certs__grid { grid-template-columns: repeat(2, minmax(0, 190px)); gap: var(--space-16); }
.service-page .cert-card__img { display: block; aspect-ratio: auto; padding: 12px; }
.service-page .cert-card__img img { display: block; width: 100%; height: auto; max-height: none; border-radius: 4px; }

@media (max-width: 1023px) {
  .how__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-32); }
  .how__intro { position: static; }
  .ns__show { height: 420px; max-width: 600px; margin-bottom: 30px; }
}
@media (max-width: 767px) {
  .how__cards { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .how-card { padding: 22px; }
  .ns__show { height: 300px; }
  .dev__screen { padding: 6px 6px 0; border-radius: 12px 12px 0 0; }
  .dev__base { height: 10px; }
  .dev__phone { width: 30%; padding: 4px; border-radius: 16px; bottom: 34px; }
  .dev__phone img { border-radius: 13px; }
  .ns__badge { top: -14px; padding: 10px 14px; }
  .ns__badge b { font-size: 1rem; }
  .sp-cta .btn { width: 100%; height: auto; min-height: var(--control-l, 56px); padding-block: 12px; white-space: normal; text-align: center; }
}

/* ==========================================================================
   Таргет: радар аудитории
   ========================================================================== */
.sp-hero__box:has(.tr) { background: radial-gradient(70% 90% at 78% 45%, rgba(0, 119, 255, 0.26) 0%, rgba(0, 119, 255, 0) 60%), radial-gradient(60% 60% at 100% 100%, rgba(42, 171, 238, 0.16) 0%, rgba(42, 171, 238, 0) 60%), #050b16; }
.sp-hero__box:has(.tr) .sp-hero__eyebrow, .sp-hero__box:has(.tr) .sp-hero__title span { color: #5aa9ff; }
.tr__glow { background: radial-gradient(circle, rgba(0, 119, 255, 0.5) 0%, rgba(0, 119, 255, 0) 70%); }
.tr__radar { position: absolute; inset: 40px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.tr__ring { position: absolute; inset: 16%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); }
.tr__ring:nth-child(2) { inset: 32%; }
.tr__ring:nth-child(3) { inset: 0; border: 0; background: linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.06) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgba(255, 255, 255, 0.06) 50%, transparent 50.2%); }
.tr__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(90, 169, 255, 0.45), rgba(90, 169, 255, 0) 70deg, transparent 360deg); animation: dv-spin 6s linear infinite; }
.tr__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.tr__dot:nth-child(3n) { animation: tr-hit 6s ease-out infinite; animation-delay: var(--d); }
@keyframes tr-hit {
  0%, 2% { background: #ffd21e; box-shadow: 0 0 0 0 rgba(255, 210, 30, 0.7); transform: scale(1.6); }
  30% { box-shadow: 0 0 0 10px rgba(255, 210, 30, 0); transform: scale(1.2); background: #ffd21e; }
  60%, 100% { background: rgba(255, 255, 255, 0.35); transform: none; box-shadow: none; }
}
.tr__core { position: absolute; left: 50%; top: 50%; width: 200px; height: 170px; margin: -85px 0 0 -100px; }
.tr__logo { position: absolute; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 26px; background: #fff; box-shadow: 0 20px 40px rgba(0, 40, 120, 0.5); }
.tr__logo img { width: 56px; height: 56px; }
.tr__logo--vk { left: 0; top: 0; background: #0077ff; transform: rotate(-8deg); animation: tr-float 5s ease-in-out infinite; }
.tr__logo--vk img { filter: brightness(0) invert(1); }
.tr__logo--tg { left: 58px; bottom: 0; width: 84px; height: 84px; padding: 0; border-radius: 50%; background: none; box-shadow: 0 20px 40px rgba(34, 158, 217, 0.45); animation: tr-float 5s ease-in-out -2.5s infinite; }
.tr__logo--max { right: 0; top: 6px; width: 80px; height: 80px; border-radius: 22px; background: none; box-shadow: 0 20px 40px rgba(85, 51, 238, 0.45); transform: rotate(8deg); animation: tr-float 5s ease-in-out -1.2s infinite; }
.dv-ev--max .dv-ev__ico { background: linear-gradient(135deg, #44ccff, #5533ee 66%, #9933dd); }
@keyframes tr-float { 50% { translate: 0 -8px; } }
.dv-ev--chat .dv-ev__ico { background: #0077ff; }
.dv-ev--form .dv-ev__ico { background: #315bea; }
@media (prefers-reduced-motion: no-preference) {
  .js .tr__core { opacity: 0; transform: scale(0.7); transition: opacity 700ms ease 200ms, transform 900ms cubic-bezier(.2, .9, .3, 1.3) 200ms; }
  .js .sp-hero__box.is-in .tr__core { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .tr__sweep, .tr__dot, .tr__logo { animation: none; } }
@media (max-width: 1199px) { .tr__core { transform: scale(0.85); } }
@media (max-width: 767px) {
  .tr__radar { inset: 24px; }
  .tr__core { width: 140px; height: 120px; margin: -60px 0 0 -70px; }
  .tr__logo { width: 58px; height: 58px; border-radius: 16px; }
  .tr__logo img { width: 36px; height: 36px; }
  .tr__logo--tg, .tr__logo--max { width: 58px; height: 58px; }
  .tr__logo--tg { left: 41px; }
}

/* Мини-графика для проблем таргета */
.pv--tests { display: grid; gap: 8px; }
.pv--tests p { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 8px; }
.pv--tests i { display: block; width: var(--w); height: 10px; border-radius: 5px; background: var(--border-control); transform-origin: left; }
.pv--tests i.hl { background: var(--primary); }
.pv--quality { display: grid; gap: 8px; }
.pv__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 8px; }
.pv__q { display: block; height: 10px; border-radius: 5px; background: var(--border-control); transform-origin: left; }
.pv__q--ok { width: 100%; background: var(--primary); }
.pv__q--all { width: 100%; background: repeating-linear-gradient(135deg, var(--border-control) 0 4px, var(--bg-subtle) 4px 8px); }
@media (prefers-reduced-motion: no-preference) {
  .js .pv--tests i, .js .pv__q--ok { transform: scaleX(0.15); transition: transform 1200ms var(--ease-out) 300ms; }
  .js .sp-probs__grid.is-in .pv--tests i, .js .sp-probs__grid.is-in .pv__q--ok { transform: none; }
}

/* Мини-макеты форматов таргета */
.mk__head { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; }
.mk__ava { width: 26px; height: 26px; border-radius: 50%; background: #0077ff; }
.mk__head div { display: flex; flex-direction: column; gap: 4px; }
.mk__pic--wide { flex: 1; min-height: 70px; }
.mk__btn--vk { background: #0077ff; width: 110px; }
.mk__btn--full { width: 100%; }
.mk--vkpost { padding: 10px; inset: 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); }
.mk--leadform { padding: 12px; inset: 12px 30px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(0, 119, 255, 0.12); gap: 7px; }
.mk__field { padding: 6px 9px; border-radius: 7px; background: #f1f3f7; font-size: 10px; color: var(--text-muted); }
.mk--chat { gap: 6px; }
.mk__bubble { align-self: flex-start; max-width: 78%; padding: 7px 10px; border-radius: 12px 12px 12px 4px; background: #fff; font-size: 10.5px; line-height: 1.3; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.mk__bubble--me { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: #0077ff; color: #fff; }
.mk__chips { display: flex; gap: 6px; }
.mk__chips u { padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px #0077ff; color: #0077ff; font-size: 10px; text-decoration: none; }
.mk--retarget { flex-direction: row; align-items: center; justify-content: center; gap: 6px; }
.mk__node { padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 10.5px; font-weight: 700; text-align: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); }
.mk__node--hl { background: var(--primary); color: #fff; }
.mk__arrow { width: 16px; height: 2px; background: var(--primary); position: relative; flex: none; }
.mk__arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--primary); border-right: 0; }
.mk--aud { display: grid; grid-template-columns: repeat(6, 1fr); place-items: center; gap: 10px; align-content: center; }
.mk__dot { width: 22px; height: 22px; border-radius: 50%; background: #d6dbe6; }
.mk__dot.on { background: #0077ff; box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.18); }
.sp-fmt:hover .mk__dot.on { animation: mk-pin 1.2s ease-in-out infinite; }

/* Карточка-призыв в сетке кейсов */
.acard--cta { background: var(--accent-soft); justify-content: center; }
.acard--cta .acard__client { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.acard--cta .acard__label { margin-top: var(--space-12); }
.acard--cta:hover { background: var(--accent-soft); }

.sp-hero__title--s { font-size: clamp(1.875rem, 1.1rem + 2.3vw, 3.125rem); }
.sp-hero__title--s span { display: block; }
@media (max-width: 767px) { .sp-hero__title--s { font-size: clamp(1.5rem, 6.9vw, 2rem); } }

/* ==========================================================================
   Доп. услуги: чат-боты и оформление сообщества
   ========================================================================== */
.ad .h2 .hl-primary { color: var(--primary); }
.ad__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16); }
.ad-card { display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--bg-subtle); overflow: hidden; }
.ad-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--space-12); padding: 28px 32px 32px; }
.ad-card__name { font-size: 1.375rem; font-weight: 700; line-height: 1.25; }
.ad-card__text { color: var(--text-secondary); line-height: 1.55; }
.ad-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); margin-top: auto; padding-top: var(--space-16); border-top: 1px solid var(--border); }
.ad-card__price { display: flex; flex-direction: column; font-weight: 700; font-size: 1.125rem; }
.ad-card__price span { font-size: 0.8125rem; font-weight: 500; color: var(--text-muted); }

.ad-mock { position: relative; height: 300px; overflow: hidden; }
.ad-mock--bot { background: radial-gradient(80% 90% at 50% 100%, rgba(0, 119, 255, 0.25), rgba(0, 119, 255, 0) 70%), linear-gradient(160deg, #0b1830, #050b16); }
.ad-phone { position: absolute; left: 50%; top: 28px; width: 250px; margin-left: -125px; padding: 10px; border-radius: 30px 30px 0 0; background: #0f141b; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.ad-phone__head { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px 10px; border-radius: 20px 20px 0 0; background: #fff; }
.ad-phone__ava { grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.ad-phone__head b { font-size: 0.75rem; }
.ad-phone__head i { font-style: normal; font-size: 0.625rem; color: #22a861; }
.ad-chat { display: flex; flex-direction: column; gap: 6px; height: 260px; padding: 10px; background: #e9eef4; }
.ad-msg { align-self: flex-start; max-width: 85%; padding: 7px 10px; border-radius: 12px 12px 12px 4px; background: #fff; font-size: 0.6875rem; line-height: 1.35; }
.ad-msg--me { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: #0077ff; color: #fff; }
.ad-msg--sys { align-self: center; background: #d9f0e0; color: #17693a; font-weight: 700; border-radius: 999px; }
.ad-btns { display: grid; gap: 4px; }
.ad-btns u { padding: 6px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #0077ff; color: #0077ff; font-size: 0.6875rem; font-weight: 600; text-align: center; text-decoration: none; }
.ad-plats { position: absolute; right: 22px; top: 50%; display: grid; gap: 10px; transform: translateY(-50%); }
.ad-plats li { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); animation: tr-float 5s ease-in-out infinite; }
.ad-plats li:nth-child(1) { background: #0077ff; }
.ad-plats li:nth-child(1) img { filter: brightness(0) invert(1); }
.ad-plats li:nth-child(2) { animation-delay: -1.6s; }
.ad-plats li:nth-child(3) { animation-delay: -3.2s; }
.ad-plats img { width: 30px; height: 30px; border-radius: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .js .ad__grid .ad-chat > * { opacity: 0; transform: translateY(8px); transition: opacity 400ms ease, transform 400ms var(--ease-out); }
  .js .ad__grid.is-in .ad-chat > * { opacity: 1; transform: none; }
  .js .ad__grid.is-in .ad-chat > :nth-child(2) { transition-delay: 500ms; }
  .js .ad__grid.is-in .ad-chat > :nth-child(3) { transition-delay: 1100ms; }
  .js .ad__grid.is-in .ad-chat > :nth-child(4) { transition-delay: 1600ms; }
  .js .ad__grid.is-in .ad-chat > :nth-child(5) { transition-delay: 2200ms; }
}

.ad-mock--group { background: linear-gradient(160deg, #dfeaff, #f4f7fb); }
.ad-vk { position: absolute; left: 32px; right: 32px; top: 28px; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 20px 40px rgba(0, 60, 160, 0.15); overflow: hidden; transition: transform 600ms var(--ease-out); }
.ad-card:hover .ad-vk { transform: translateY(-6px); }
.ad-vk__cover { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 110px; padding: 0 22px; background: radial-gradient(60% 120% at 90% 10%, rgba(232, 163, 61, 0.9), rgba(232, 163, 61, 0) 60%), linear-gradient(120deg, var(--color1-darker), var(--primary)); color: #fff; }
.ad-vk__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.ad-vk__offer { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.6875rem; font-weight: 700; }
.ad-vk__head { display: grid; grid-template-columns: 56px 1fr auto; align-items: end; gap: 12px; margin-top: -24px; padding: 0 18px; }
.ad-vk__ava { width: 56px; height: 56px; border-radius: 50%; border: 4px solid #fff; background: linear-gradient(135deg, var(--accent), var(--primary)); }
.ad-vk__head div { display: grid; gap: 5px; padding-bottom: 4px; }
.ad-vk__head b { width: 120px; height: 9px; border-radius: 4px; background: #222; }
.ad-vk__head i { width: 80px; height: 6px; border-radius: 3px; background: #c8ced8; }
.ad-vk__btn { padding: 6px 12px; border-radius: 8px; background: #0077ff; color: #fff; font-size: 0.6875rem; font-weight: 600; }
.ad-vk__menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px 18px 0; }
.ad-vk__menu span { padding: 10px 4px; border-radius: 10px; background: var(--primary-soft); color: var(--color1-darker); font-size: 0.6875rem; font-weight: 700; text-align: center; }
.ad-vk__post { display: grid; gap: 6px; margin: 12px 18px; padding: 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #e4e8ef; }
.ad-vk__pin { font-size: 0.625rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ad-vk__post i { height: 7px; border-radius: 4px; background: #d6dbe6; }
.ad-vk__post i.s { width: 60%; }

@media (max-width: 1023px) { .ad__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }
@media (max-width: 767px) {
  .ad-mock { height: 260px; }
  .ad-phone { width: 220px; margin-left: -140px; }
  .ad-plats { right: 14px; }
  .ad-vk { left: 16px; right: 16px; }
  .ad-card__body { padding: 22px 20px 24px; }
  .ad-card__foot { flex-wrap: wrap; }
}

/* ==========================================================================
   Авито: лента объявлений с нативной рекламой
   ========================================================================== */
.sp-hero__box:has(.avf) { background: radial-gradient(55% 70% at 80% 30%, rgba(0, 170, 255, 0.22) 0%, rgba(0, 170, 255, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(151, 207, 38, 0.18) 0%, rgba(151, 207, 38, 0) 60%), radial-gradient(40% 50% at 55% 90%, rgba(161, 105, 247, 0.16) 0%, rgba(161, 105, 247, 0) 60%), #060b12; }
.sp-hero__box:has(.avf) .sp-hero__eyebrow { color: #97cf26; }
.sp-hero__box:has(.avf) .sp-hero__title span { color: #00aaff; }
.avf__glow { background: radial-gradient(circle, rgba(0, 170, 255, 0.45) 0%, rgba(0, 170, 255, 0) 70%); }
.avf .dv__orbit li { z-index: 1; }
.avf__phone {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 270px; height: 400px; margin: -200px 0 0 -135px; padding: 10px;
  border-radius: 34px; background: #0e1319; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg); overflow: hidden;
}
.avf__bar { display: flex; align-items: center; gap: 8px; padding: 10px 10px 8px; border-radius: 24px 24px 0 0; background: #fff; }
.avf__logo img { display: block; width: 22px; height: 22px; }
.avf__search { flex: 1; padding: 6px 10px; border-radius: 8px; background: #f2f3f5; font-size: 0.625rem; color: #8a9099; }
.avf__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: calc(100% - 44px); padding: 8px; background: #fff; border-radius: 0 0 24px 24px; align-content: start; animation: avf-scroll 14s ease-in-out infinite; }
@keyframes avf-scroll { 0%, 15% { transform: translateY(0); } 50%, 65% { transform: translateY(-40px); } 100% { transform: translateY(0); } }
.avf__card { display: flex; flex-direction: column; gap: 4px; }
.avf__pic { display: block; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #cfe9ff, #9fd2ff); }
.avf__pic--1 { background: linear-gradient(135deg, #e3f3c8, #b7dc6f); }
.avf__pic--2 { background: linear-gradient(135deg, #ffd9d9, #ff9d9f); }
.avf__pic--3 { background: linear-gradient(135deg, #e8dcff, #c3a6fb); }
.avf__price { font-size: 0.5625rem; font-weight: 800; color: #111; white-space: nowrap; }
.avf__card i { display: block; height: 4px; border-radius: 2px; background: #dfe2e6; }
.avf__card i.s { width: 60%; }
.avf__card--ad { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 90px 1fr; grid-template-rows: auto auto 1fr; column-gap: 10px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px #00aaff, 0 10px 24px rgba(0, 170, 255, 0.35); animation: avf-pulse 3.5s ease-in-out infinite; }
.avf__card--ad .avf__pic { grid-row: 1 / span 3; background: radial-gradient(60% 60% at 70% 40%, #ffb37a, #e8a33d 40%, #0e6377); }
.avf__tag { justify-self: start; padding: 1px 5px; border-radius: 4px; background: #f2f3f5; color: #8a9099; font-size: 0.5rem; font-weight: 700; }
.avf__title { font-size: 0.75rem; line-height: 1.2; color: #111; }
.avf__btn { align-self: end; justify-self: start; padding: 5px 10px; border-radius: 8px; background: #00aaff; color: #fff; font-size: 0.625rem; font-weight: 700; }
@keyframes avf-pulse { 50% { box-shadow: 0 0 0 2px #00aaff, 0 14px 34px rgba(0, 170, 255, 0.6); } }
.avf__cursor { position: absolute; left: 60%; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); animation: avf-click 3.5s ease-in-out infinite; }
.avf__cursor::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #00aaff; opacity: 0; animation: avf-ring 3.5s ease-out infinite; }
@keyframes avf-click { 0%, 100% { transform: translate(40px, 60px); opacity: 0; } 25% { opacity: 1; } 45% { transform: translate(0, 0); } 50% { transform: translate(0, 0) scale(0.8); } 55% { transform: translate(0, 0); } 80% { opacity: 1; } }
@keyframes avf-ring { 0%, 48% { opacity: 0; transform: scale(0.6); } 52% { opacity: 1; } 75% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .avf__grid, .avf__card--ad, .avf__cursor, .avf__cursor::after { animation: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .avf__phone { opacity: 0; translate: 0 30px; transition: opacity 700ms ease 200ms, translate 900ms var(--ease-out) 200ms; }
  .js .sp-hero__box.is-in .avf__phone { opacity: 1; translate: 0 0; }
}
@media (max-width: 1199px) { .avf__phone { transform: rotate(-4deg) scale(0.88); } }
@media (max-width: 767px) { .avf__phone { transform: rotate(-4deg) scale(0.62); } }

/* Факты и тесты */
.fx-market { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-16); }
.fx-market li { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.fx-market b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1; color: var(--primary); }
.fx-market span { color: var(--text-secondary); line-height: 1.4; }
.fx-src { margin-top: var(--space-12); font-size: 0.8125rem; color: var(--text-muted); }
.fx-mine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-24) var(--space-32); margin-top: var(--space-32); padding: 40px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.fx-mine__head { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-16); }
.fx-mine__head p { color: rgba(255, 255, 255, 0.7); }
.fx-mine__badge { flex: none; padding: 6px 12px; border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 700; }
.fx-tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fx-test { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.06); }
.fx-test__niche { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.fx-test b { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; color: var(--accent); }
.fx-test > span:last-child { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.fx-bids { display: grid; gap: 12px; align-content: center; padding: 20px 24px; border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.fx-bids__title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.fx-bid { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 4px 12px; align-items: center; }
.fx-bid > span { font-family: var(--font-display); font-weight: 600; }
.fx-bid i { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); }
.fx-bid em { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00aaff, #97cf26); transform-origin: left; }
.fx-bid b { grid-column: 2; font-size: 0.8125rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); }
.fx-mine__more { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; justify-self: start; color: var(--accent); font-weight: 600; }
.fx-mine__more .icon { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .js .fx-bid em { transform: scaleX(0); transition: transform 1200ms var(--ease-out) 300ms; }
  .js .fx-mine.is-in .fx-bid em { transform: none; }
}

/* Видеоблок */
.vb__box { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-48); align-items: center; padding: 48px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.vb__box .h2 { color: #fff; }
.vb__lead { margin-top: var(--space-16); color: rgba(255, 255, 255, 0.7); }
.vb__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-24); }
.vb__player .player__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-xl); }

/* Мини-макеты Авито */
.mk__btn--av { background: #00aaff; }
.mk--avgrid { flex-direction: row; align-items: center; gap: 8px; }
.mk__avc { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 10px; background: #fff; }
.mk__avc .mk__pic { height: 58px; background: linear-gradient(135deg, #cfe9ff, #9fd2ff); }
.mk__avc b.p { width: 60%; background: #111; }
.mk__avc--ad { flex: 1.3; box-shadow: 0 0 0 2px #00aaff, 0 10px 20px rgba(0, 170, 255, 0.25); }
.mk__avc--ad .mk__pic { background: linear-gradient(135deg, #ffd9a8, #e8a33d); }
.mk--avban { gap: 8px; }
.mk__avtop { display: flex; gap: 8px; align-items: center; }
.mk__avlogo { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#00aaff 0 25%, #97cf26 0 50%, #ff6163 0 75%, #a169f7 0); }
.mk__avsearch { flex: 1; height: 16px; border-radius: 6px; background: #fff; }
.mk__banner-big { display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 74px; padding: 0 14px; border-radius: 12px; background: linear-gradient(110deg, #0e6377, #00aaff); }
.mk__banner-big b { background: #fff; width: 55%; opacity: 1; }
.mk__banner-big i { background: rgba(255, 255, 255, 0.6); width: 40%; }
.mk__avrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mk__avrow span { height: 40px; border-radius: 8px; background: #fff; }
.mk--avvideo { gap: 8px; }
.mk__vid { position: relative; flex: 1; border-radius: 12px; background: linear-gradient(135deg, #102030, #0e6377); }
.mk__vplay { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); }
.mk__vplay::after { content: ""; position: absolute; left: 14px; top: 11px; border: 7px solid transparent; border-left: 11px solid #00aaff; border-right: 0; }
.mk__vbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); }
.mk__vbar i { display: block; width: 40%; height: 100%; border-radius: inherit; background: #00aaff; }
.mk--lal { flex-direction: row; align-items: center; justify-content: center; gap: 10px; }
.mk__crm { display: flex; flex-direction: column; gap: 5px; width: 70px; padding: 8px; border-radius: 10px; background: #fff; }
.mk__crm span { font-size: 10px; font-weight: 800; color: var(--primary); }
.mk__aud2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk__aud2 .mk__dot { width: 18px; height: 18px; }
.mk__aud2 .mk__dot.on { background: #00aaff; box-shadow: 0 0 0 4px rgba(0, 170, 255, 0.18); }

@media (max-width: 1023px) {
  .fx-market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-mine, .vb__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .fx-market li { padding: 18px; }
  .fx-mine, .vb__box { padding: 28px 20px; border-radius: var(--radius-xl); }
  .fx-mine__head { flex-direction: column; align-items: flex-start; }
  .fx-tests { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Хаб «Разработка сайтов»: сборка сайта в браузере
   ========================================================================== */
.sb__glow { background: radial-gradient(circle, rgba(232, 163, 61, 0.42) 0%, rgba(232, 163, 61, 0) 70%); }
.sb .dv__orbit li { z-index: 1; }
.sb__browser {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 380px; height: 300px; margin: -170px 0 0 -210px;
  border-radius: 16px; background: #fff; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
}
.sb__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #eef1f3; border-bottom: 1px solid #e1e5e8; }
.sb__bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff6159; }
.sb__bar i:nth-child(2) { background: #ffbd2e; }
.sb__bar i:nth-child(3) { background: #28c941; }
.sb__url { flex: 1; margin-left: 6px; padding: 2px 8px; border-radius: 5px; background: #fff; font-size: 0.5625rem; color: #7b858c; }
.sb__page { display: grid; gap: 7px; padding: 9px; }
/* каркас-«чертёж» под каждым блоком */
.sb__blk { position: relative; border-radius: 8px; outline: 1.5px dashed rgba(14, 99, 119, 0.35); outline-offset: -1px; background: repeating-linear-gradient(45deg, rgba(14, 99, 119, 0.04) 0 6px, transparent 6px 12px); }
.sb__in { height: 100%; border-radius: inherit; }
.sb__nav { height: 22px; }
.sb__nav .sb__in { display: flex; align-items: center; gap: 8px; padding: 0 8px; background: #fff; box-shadow: 0 0 0 1px #edf0f2; }
.sb__logo { width: 16px; height: 16px; border-radius: 5px; background: var(--primary); }
.sb__nav i { width: 28px; height: 5px; border-radius: 3px; background: #d7dde1; }
.sb__navbtn { margin-left: auto; width: 46px; height: 12px; border-radius: 4px; background: var(--accent); }
.sb__hero { height: 104px; }
.sb__hero .sb__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; padding: 12px; background: linear-gradient(135deg, #0e6377, #0a4655); }
.sb__txt { display: flex; flex-direction: column; gap: 6px; }
.sb__txt b { display: block; height: 9px; width: 95%; border-radius: 4px; background: #fff; }
.sb__txt b.s { width: 60%; background: var(--accent); }
.sb__txt i { display: block; height: 4px; width: 90%; border-radius: 2px; background: rgba(255, 255, 255, 0.4); }
.sb__txt i.s { width: 70%; }
.sb__btn { display: block; width: 70px; height: 16px; margin-top: auto; border-radius: 5px; background: var(--accent); }
.sb__pic { border-radius: 8px; background: radial-gradient(60% 60% at 60% 40%, #f7c97a, #e8a33d 50%, #b56d12); }
.sb__cards { height: 58px; }
.sb__cards .sb__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sb__cards span { display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 7px; background: #f3f6f7; }
.sb__cards u { display: block; height: 24px; border-radius: 5px; background: #d6e9ee; }
.sb__cards i { display: block; height: 4px; width: 70%; border-radius: 2px; background: #cdd5da; }
.sb__form { height: 46px; }
.sb__form .sb__in { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 6px; padding: 0 8px; background: #fdf3e2; }
.sb__form b { display: block; height: 7px; border-radius: 4px; background: #c48b31; }
.sb__field { height: 18px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px #ecd9b8; }
.sb__btn--send { width: auto; height: 18px; margin: 0; padding: 0 10px; font-size: 0.5rem; font-weight: 700; line-height: 18px; color: #1b1b1b; }
.sb__tag { position: absolute; left: 12px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: #0b1214; color: #fff; font-size: 0.625rem; font-weight: 600; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25); }
.sb__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #28c941; vertical-align: 1px; animation: sb-blink 1.6s ease-in-out infinite; }
@keyframes sb-blink { 50% { opacity: 0.25; } }
.sb__phone {
  position: absolute; z-index: 3; right: 30px; top: 230px; display: flex; flex-direction: column; gap: 5px; width: 92px; height: 176px; padding: 16px 8px 8px;
  border-radius: 18px; background: #fff; box-shadow: 0 0 0 4px #10181b, 0 24px 50px rgba(0, 0, 0, 0.5); transform: rotate(6deg);
}
.sb__notch { position: absolute; left: 50%; top: 5px; width: 30px; height: 5px; margin-left: -15px; border-radius: 3px; background: #10181b; }
.sb__m--hero { height: 52px; border-radius: 6px; background: linear-gradient(135deg, #0e6377, #0a4655); }
.sb__phone i { display: block; height: 4px; border-radius: 2px; background: #d7dde1; }
.sb__phone i.s { width: 60%; }
.sb__m--btn { height: 12px; border-radius: 4px; background: var(--accent); }
.sb__m--card { height: 26px; border-radius: 5px; background: #f0f4f5; }
@media (prefers-reduced-motion: no-preference) {
  .sb__in { animation: sb-fill 10s var(--ease-out) infinite; animation-delay: calc(var(--d) * 0.45s); }
  .sb__phone { animation: sb-phone 10s var(--ease-out) infinite; }
}
@keyframes sb-fill { 0%, 6% { opacity: 0; transform: translateY(10px) scale(0.97); } 14%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes sb-phone { 0%, 30% { opacity: 0; translate: 0 24px; } 40%, 88% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; translate: 0 0; } }
.sb .dv__feed { right: -36px; bottom: -18px; }
.sp-hero__box:has(.sb) { background: radial-gradient(55% 70% at 80% 35%, rgba(232, 163, 61, 0.2) 0%, rgba(232, 163, 61, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(14, 99, 119, 0.45) 0%, rgba(14, 99, 119, 0) 60%), #0b1214; }
@media (max-width: 1199px) { .sb__browser { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) scale(0.86); } .sb__phone { right: 10px; top: 200px; } }
@media (max-width: 767px) {
  .sb__browser { width: 380px; margin: -150px 0 0 -190px; transform: scale(0.72); }
  .sb__phone { right: -6px; top: 150px; transform: rotate(6deg) scale(0.72); }
  .sb .dv__feed { right: 0; bottom: -10px; }
}

/* --- Мини-макеты «Что внутри» --- */
.mk--calc { justify-content: center; gap: 12px; padding: 4px 8px; }
.mk__range { position: relative; height: 6px; border-radius: 3px; background: #dde3ea; }
.mk__range span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: inherit; background: var(--primary); }
.mk__range span::after { content: ""; position: absolute; right: -7px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--primary); }
.mk__sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06); font-size: 0.75rem; color: var(--text-muted); }
.mk__sum strong { font-family: var(--font-display); font-size: 1.125rem; color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .mk__range span { animation: mk-range 4s ease-in-out infinite alternate; } }
@keyframes mk-range { from { width: calc(var(--v) - 20%); } to { width: var(--v); } }
.mk--adapt { flex-direction: row; align-items: flex-end; justify-content: center; gap: 10px; }
.mk--adapt > div { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 3px #1e2a30, 0 10px 20px rgba(0, 0, 0, 0.12); }
.mk__desk { width: 46%; height: 112px; }
.mk__tab { width: 24%; height: 96px; }
.mk__mob { width: 15%; height: 82px; border-radius: 10px !important; }
.mk--adapt .mk__pic { flex: 1; }
.mk--speed { align-items: center; justify-content: center; gap: 0; }
.mk--speed svg { width: 150px; overflow: visible; }
.mk--speed path { fill: none; stroke-width: 10; stroke-linecap: round; }
.mk--speed path.bg { stroke: #dde3ea; }
.mk--speed path.fg { stroke: #22a861; stroke-dasharray: 95 100; }
@media (prefers-reduced-motion: no-preference) { .mk--speed path.fg { animation: mk-speed 3s var(--ease-out) infinite; } }
@keyframes mk-speed { 0% { stroke-dasharray: 0 100; } 50%, 100% { stroke-dasharray: 95 100; } }
.mk--speed strong { margin-top: -38px; font-family: var(--font-display); font-size: 1.75rem; color: #22a861; }
.mk--speed span { font-size: 0.6875rem; color: var(--text-muted); }
.mk--widget .mk__site { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: #fff; height: 100%; }
.mk__wbtns { position: absolute; right: 10px; bottom: 6px; display: flex; flex-direction: column; gap: 7px; align-items: center; }
.mk__wbtns span { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15); }
.mk__wbtns .w-call { background: #22a861; }
.mk__wbtns .w-tg { background: #2aabee; }
.mk__wbtns .w-max { background: linear-gradient(135deg, #44ccff, #5533ee 66%, #9933dd); }
.mk__wbtns .w-main { width: 40px; height: 40px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .mk__wbtns span:not(.w-main) { animation: mk-pop 3.6s var(--ease-out) infinite; } .mk__wbtns .w-tg { animation-delay: 0.12s; } .mk__wbtns .w-call { animation-delay: 0.24s; } }
@keyframes mk-pop { 0%, 10% { opacity: 0; transform: translateY(10px) scale(0.6); } 25%, 80% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.mk--seotree { justify-content: center; gap: 6px; }
.mk__q { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; background: #fff; font-size: 0.6875rem; }
.mk__q span { color: var(--text); }
.mk__q em { font-style: normal; font-weight: 700; color: var(--primary); white-space: nowrap; }
.mk__q--hl { background: var(--primary); }
.mk__q--hl span, .mk__q--hl em { color: #fff; }
/* «Почему не продаёт»: воронка */
.pv--conv { display: grid; gap: 8px; }
.pv--conv p { display: grid; grid-template-columns: 110px minmax(0, 1fr) 40px; align-items: center; gap: 8px; }
.pv--conv i { display: block; width: var(--w); min-width: 4px; height: 10px; border-radius: 5px; background: var(--border-control); }
.pv--conv i.hl { background: #e5484d; }
.pv--conv b { text-align: right; font-variant-numeric: tabular-nums; }

/* --- Виды сайтов --- */
.st-pick { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-12); margin-bottom: var(--space-24); }
.st-pick__q { font-weight: 700; }
.st-pick__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chip { padding: 9px 16px; border-radius: var(--radius-full); background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border); font-size: 0.9375rem; font-weight: 600; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.st-chip:hover { background: var(--primary-soft); }
.st-chip[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: none; }
.st-pick__why { flex-basis: 100%; padding: 12px 16px; border-radius: var(--radius-m); background: var(--accent-soft); font-size: 0.9375rem; }
.st__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }
.st-card { display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--bg-subtle); overflow: hidden; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease), opacity 300ms var(--ease); }
.st-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m, 0 20px 40px rgba(18, 22, 20, 0.12)); }
.st-card.is-pick { background: var(--bg-raised); box-shadow: 0 0 0 2px var(--primary), 0 24px 48px rgba(14, 99, 119, 0.18); }
.st-card.is-dim { opacity: 0.55; }
.st-card__mock { position: relative; height: 200px; margin: 12px 12px 0; border-radius: var(--radius-l); background: linear-gradient(160deg, #e6f1f3, #f5f8f9); overflow: hidden; }
.st-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.st-card__for { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.st-card__name { margin-top: 6px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.st-card__name a:hover { color: var(--primary); }
.st-card__text { margin-top: 8px; font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }
.st-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.st-card__meta div { padding: 10px 12px; border-radius: var(--radius-m); background: var(--bg-raised); }
.st-card.is-pick .st-card__meta div { background: var(--bg-subtle); }
.st-card__meta dt { font-size: 0.75rem; color: var(--text-muted); }
.st-card__meta dd { font-weight: 700; white-space: nowrap; }
.st-card .sv-list { margin-bottom: 20px; }
.st-card__foot { display: grid; gap: 8px; margin-top: auto; }
/* макеты видов сайтов */
.stm { position: absolute; inset: 14px; }
.stm--lp { left: 50%; width: 120px; margin-left: -60px; display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 12px 26px rgba(14, 99, 119, 0.15); }
.stm__sec { display: block; height: 18px; border-radius: 4px; background: #e3eaee; }
.stm__sec--hero { height: 44px; background: linear-gradient(135deg, #0e6377, #0a4655); }
.stm__sec--quiz { display: flex; gap: 4px; padding: 4px; height: 26px; background: #fdf3e2; }
.stm__sec--quiz i { flex: 1; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px #ecd9b8; }
.stm__sec--form { height: 22px; background: var(--accent); }
.stm__arrow { position: absolute; right: -34px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.stm__arrow::after { content: ""; position: absolute; left: -4px; bottom: -2px; border: 5px solid transparent; border-top: 7px solid var(--accent); }
@media (prefers-reduced-motion: no-preference) { .stm--lp { animation: stm-scroll 8s ease-in-out infinite; } }
@keyframes stm-scroll { 0%, 20% { transform: translateY(6px); } 60%, 80% { transform: translateY(-6px); } 100% { transform: translateY(6px); } }
.stm--tree { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.stm__node { padding: 5px 9px; border-radius: 7px; background: #fff; font-size: 0.6875rem; font-weight: 700; box-shadow: 0 4px 10px rgba(14, 99, 119, 0.12); white-space: nowrap; }
.stm__node--root { background: var(--primary); color: #fff; }
.stm__lines { width: 76%; height: 16px; border: 2px solid rgba(14, 99, 119, 0.3); border-bottom: 0; border-radius: 8px 8px 0 0; margin-top: 8px; }
.stm__row { display: flex; gap: 6px; }
.stm__row--sub { margin-top: 10px; gap: 5px; }
.stm__row--sub span { width: 30px; height: 22px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px #d5e3e7; }
@media (prefers-reduced-motion: no-preference) { .stm__row--sub span { animation: stm-pop 4s var(--ease-out) infinite; } .stm__row--sub span:nth-child(2) { animation-delay: .15s; } .stm__row--sub span:nth-child(3) { animation-delay: .3s; } .stm__row--sub span:nth-child(4) { animation-delay: .45s; } .stm__row--sub span:nth-child(5) { animation-delay: .6s; } .stm__row--sub span:nth-child(6) { animation-delay: .75s; } }
@keyframes stm-pop { 0%, 10% { opacity: 0; transform: translateY(6px); } 25%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stm--shop { display: flex; align-items: center; justify-content: center; }
.stm__grid { display: grid; grid-template-columns: repeat(3, 58px); gap: 7px; }
.stm__item { display: flex; flex-direction: column; gap: 4px; padding: 5px; border-radius: 7px; background: #fff; box-shadow: 0 4px 10px rgba(14, 99, 119, 0.1); }
.stm__item u { height: 34px; border-radius: 5px; background: #dbe9ed; }
.stm__item:nth-child(3n+2) u { background: #f7e2bd; }
.stm__item i { height: 4px; border-radius: 2px; background: #d7dde1; }
.stm__item b { width: 60%; height: 6px; border-radius: 3px; background: var(--primary); }
.stm__cart { position: absolute; right: 2px; top: 2px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #1b1b1b; box-shadow: 0 8px 18px rgba(232, 163, 61, 0.45); }
.stm__cart .icon { width: 20px; height: 20px; }
.stm__cart em { position: absolute; right: -5px; top: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 0.625rem; font-style: normal; font-weight: 700; line-height: 18px; text-align: center; }
@media (prefers-reduced-motion: no-preference) { .stm__cart { animation: stm-bump 3s var(--ease-out) infinite; } }
@keyframes stm-bump { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.15) rotate(-6deg); } 86% { transform: scale(0.96); } }
/* сравнение */
.st-cmp { margin-top: var(--space-32); }
.st-cmp__title { margin-bottom: var(--space-12); font-weight: 700; }
.st-cmp__scroll { overflow-x: auto; border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px var(--border); }
.st-cmp table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9375rem; }
.st-cmp th, .st-cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.st-cmp tbody tr:last-child > * { border-bottom: 0; }
.st-cmp thead th { background: var(--bg-subtle); font-weight: 700; }
.st-cmp thead a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14, 99, 119, 0.3); }
.st-cmp tbody th { font-weight: 600; color: var(--text-secondary); width: 26%; }
.st-cmp td .icon { width: 20px; height: 20px; color: var(--success-dark, #1f8a4c); }

/* --- Платформы --- */
.eng__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-16); }
.eng-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.eng-card__head { display: flex; align-items: center; gap: 12px; }
.eng-card__logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.eng-card__logo img { width: 30px; height: 30px; object-fit: contain; }
.eng-card__name { font-size: 1.25rem; font-weight: 700; }
.eng-card__best { font-weight: 700; color: var(--primary); }
.eng-card__text { font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }
.eng-card__fit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.eng-card__fit span { padding: 4px 10px; border-radius: var(--radius-full); background: var(--bg-raised); font-size: 0.8125rem; font-weight: 600; }

/* --- Портфолио --- */
.pf__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-12); margin-bottom: var(--space-24); }
.pf__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: var(--radius-full); background: var(--bg-subtle); }
.pf-tab { padding: 8px 16px; border-radius: var(--radius-full); font-size: 0.9375rem; font-weight: 600; color: var(--text-secondary); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.pf-tab:hover { color: var(--text); }
.pf-tab[aria-selected="true"] { background: var(--bg-raised); color: var(--primary); box-shadow: var(--shadow-s); }
.pf__go { font-weight: 700; color: var(--primary); }
.pf__go[hidden] { display: none; }
.pf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-32) var(--space-24); }
.pf__grid .scard[hidden] { display: none; }
.pf .sp-cta [hidden], .pf [data-pf-more][hidden] { display: none; }

/* --- Что дальше --- */
.nx__box { padding: 56px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.nx__box .h2 span { color: var(--accent); }
.nx__lead { max-width: 640px; color: rgba(255, 255, 255, 0.7); }
.nx__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-16); margin-top: var(--space-32); }
.nx-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: background-color var(--dur) var(--ease), transform 300ms var(--ease-out); }
.nx-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }
.nx-card__logo { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 14px; background: #fff; color: var(--primary); }
.nx-card__logo img { width: 32px; height: 32px; object-fit: contain; }
.nx-card__logo .icon { width: 26px; height: 26px; }
.nx-card__step { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.nx-card__name { font-size: 1.125rem; font-weight: 700; }
.nx-card__text { font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.65); }
.nx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; }
.nx-card__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #1b1b1b; transition: transform var(--dur) var(--ease); }
.nx-card__go .icon { width: 18px; height: 18px; }
.nx-card:hover .nx-card__go { transform: translateX(3px); }

@media (max-width: 1199px) {
  .eng__grid, .nx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx__box { padding: 48px 40px; }
}
@media (max-width: 1023px) {
  .st__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .eng__grid, .nx__grid, .pf__grid { grid-template-columns: minmax(0, 1fr); }
  .nx__box { padding: 28px 20px; border-radius: var(--radius-xl); }
  .st-card__body { padding: 18px 18px 20px; }
  .pf__tabs { border-radius: var(--radius-l); }
  .st-pick__chips { flex-direction: column; width: 100%; }
  .st-chip { text-align: left; }
}
.st-card__meta dd { margin: 0; }
.st-card__foot .btn { white-space: normal; text-align: center; }
.sb__phone { top: 180px; }
@media (max-width: 1199px) { .sb__phone { top: 160px; } }
@media (max-width: 767px) { .sb__phone { top: 120px; } }

/* ==========================================================================
   Сайт с помощью ИИ
   ========================================================================== */
.sp-hero__box:has(.aif) { background: radial-gradient(55% 70% at 78% 35%, rgba(217, 119, 87, 0.22) 0%, rgba(217, 119, 87, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(66, 133, 244, 0.22) 0%, rgba(66, 133, 244, 0) 60%), radial-gradient(40% 50% at 55% 95%, rgba(14, 99, 119, 0.4) 0%, rgba(14, 99, 119, 0) 60%), #0b0f14; }
.sp-hero__box:has(.aif) .sp-hero__title span { background: linear-gradient(90deg, #f0a37f, #e8a33d 40%, #8ab4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aif__glow { background: radial-gradient(circle, rgba(217, 119, 87, 0.4) 0%, rgba(217, 119, 87, 0) 70%); }
.aif .dv__ring--2 { border-style: dashed; border-color: rgba(255, 255, 255, 0.12); }
.aif__orbit { animation-duration: 80s; }
.aif__logo { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); }
.aif .dv__orbit li > .aif__logo { padding: 0; background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: none; backdrop-filter: none; animation: dv-spin 80s linear infinite reverse; }
.aif__logo img { width: 30px; height: 30px; }
.aif__card { position: absolute; left: 50%; top: 50%; z-index: 2; width: 300px; margin: -150px 0 0 -150px; border-radius: 18px; background: #11171d; color: #e7edf2; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1); overflow: hidden; }
.aif__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.75rem; font-weight: 700; }
.aif__head em { margin-left: auto; font-style: normal; font-weight: 500; color: var(--accent); }
.aif__dot { width: 8px; height: 8px; border-radius: 50%; background: #28c941; box-shadow: 0 0 0 4px rgba(40, 201, 65, 0.15); }
.aif__body { display: grid; gap: 6px; padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6875rem; line-height: 1.4; }
.aif__line { color: rgba(231, 237, 242, 0.8); }
.aif__line b { color: #8ab4ff; font-weight: 600; }
.aif__run { padding: 0 14px 12px; }
.aif__bar { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.aif__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #d97757, #e8a33d, #8ab4ff); transform-origin: left; }
.aif__steps { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.625rem; color: rgba(231, 237, 242, 0.55); }
.aif__steps u { text-decoration: none; }
.aif__ok { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; background: rgba(40, 201, 65, 0.12); color: #6fe08a; font-size: 0.75rem; font-weight: 700; }
.aif__ok .icon { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .aif__line { animation: aif-line 9s steps(1) infinite; animation-delay: calc(var(--i) * 0.5s); }
  .aif__bar i { animation: aif-bar 9s ease-in-out infinite; }
  .aif__steps u { animation: aif-step 9s infinite; }
  .aif__steps u:nth-child(2) { animation-delay: 0.9s; }
  .aif__steps u:nth-child(3) { animation-delay: 1.8s; }
  .aif__ok { animation: aif-ok 9s ease infinite; }
}
@keyframes aif-line { 0% { opacity: 0; } 2%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes aif-bar { 0%, 30% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes aif-step { 0%, 40% { color: rgba(231, 237, 242, 0.35); } 50%, 92% { color: #fff; } }
@keyframes aif-ok { 0%, 72% { opacity: 0; transform: translateY(8px); } 78%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.aif .dv__feed { right: -30px; bottom: -6px; }
@media (max-width: 767px) {
  .aif__card { transform: scale(0.72); }
  .aif__logo { width: 40px; height: 40px; border-radius: 12px; }
  .aif__logo img { width: 22px; height: 22px; }
  .aif .dv__feed { right: 0; bottom: -18px; }
}

/* --- Логотипы нейросетей --- */
.ail__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-12); }
.ail { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius-xl); background: var(--bg-subtle); transition: background-color var(--dur) var(--ease), transform 300ms var(--ease-out), box-shadow var(--dur) var(--ease); }
.ail:hover { background: var(--bg-raised); transform: translateY(-3px); box-shadow: var(--shadow-s); }
.ail__logo { grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.ail__logo img { width: 30px; height: 30px; }
.ail b { align-self: end; font-size: 1.0625rem; }
.ail > span:last-child { align-self: start; font-size: 0.8125rem; line-height: 1.35; color: var(--text-secondary); }
.ail__note { margin-top: var(--space-16); font-size: 0.75rem; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .ail__grid .ail { opacity: 0; translate: 0 14px; transition: opacity 500ms ease, translate 600ms var(--ease-out), background-color var(--dur) var(--ease), transform 300ms var(--ease-out); transition-delay: calc(var(--i) * 60ms), calc(var(--i) * 60ms), 0s, 0s; }
  .js .ail__grid.is-in .ail { opacity: 1; translate: 0 0; }
}

/* --- Сам vs специалист --- */
.avs__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-32); align-items: start; }
.avs__prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.avs__prompt { padding: 12px 14px; border-radius: var(--radius-m); font-size: 0.875rem; line-height: 1.4; }
.avs__prompt span { display: block; margin-bottom: 4px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.avs__prompt--a { background: #f3f3f3; color: #555; }
.avs__prompt--a span { color: #999; }
.avs__prompt--b { background: var(--primary-soft); color: var(--text); }
.avs__prompt--b span { color: var(--primary); }
.avs__view { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 0 0 1px var(--border), 0 24px 50px rgba(18, 22, 20, 0.12); container-type: inline-size; }
.avs__site { aspect-ratio: 16 / 10.5; padding: 2.4cqw 3cqw; font-size: 1.6cqw; }
.avs__site--b { position: relative; background: #fff; }
.avs__site--a { position: absolute; inset: 0; z-index: 2; background: #f6f6f6; clip-path: inset(0 0 0 var(--pos)); font-family: "Times New Roman", Georgia, serif; }
.vs-nav { display: flex; align-items: center; gap: 2cqw; padding-bottom: 1.6cqw; border-bottom: 1px solid #e6e6e6; }
.vs-nav i { width: 7cqw; height: 0.8cqw; border-radius: 1cqw; background: #d4d4d4; }
.vs-nav b { margin-right: auto; font-size: 2cqw; letter-spacing: 0.1em; color: #888; }
.vs-logo { color: var(--primary) !important; font-family: var(--font-display); letter-spacing: 0 !important; font-size: 2.4cqw !important; }
.vs-logo em { font-style: normal; color: var(--accent); }
.vs-phone { font-weight: 700; font-size: 1.6cqw; }
.vs-msg { width: 3cqw; height: 3cqw; border-radius: 50%; background: #2aabee; }
.vs-hero { margin-top: 2.6cqw; }
.vs-hero--a { padding: 4cqw; border-radius: 1cqw; background: linear-gradient(135deg, #b8c6db, #f5f7fa); text-align: center; }
.vs-hero--a .vs-h { font-size: 3.4cqw; color: #333; }
.vs-hero--a .vs-p { margin: 1.4cqw auto 0; max-width: 70%; color: #666; font-size: 1.6cqw; }
.vs-btn--a { margin-top: 2cqw; background: #9aa5b1 !important; color: #fff; }
.vs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 2.6cqw; }
.vs-cards span { padding: 3cqw 1cqw; border-radius: 1cqw; background: #fff; text-align: center; color: #777; font-size: 1.7cqw; box-shadow: 0 0 0 1px #e3e3e3; }
.vs-foot { margin-top: 2.4cqw; text-align: center; color: #aaa; font-size: 1.3cqw; }
.vs-hero--b { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3cqw; align-items: center; padding: 3.4cqw; border-radius: 1.6cqw; background: linear-gradient(135deg, #0e6377, #0a4655); color: #fff; }
.vs-hero--b .vs-h { font-family: var(--font-display); font-size: 2.9cqw; line-height: 1.12; }
.vs-ul { display: grid; gap: 0.8cqw; margin-top: 2cqw; font-size: 1.6cqw; }
.vs-ul li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.vs-ul li:last-child { font-weight: 700; color: var(--accent); }
.vs-quiz { display: grid; gap: 1.1cqw; padding: 2.2cqw; border-radius: 1.4cqw; background: #fff; color: var(--text); }
.vs-quiz p { font-weight: 700; font-size: 1.7cqw; line-height: 1.25; }
.vs-opt { padding: 1cqw 1.4cqw; border-radius: 0.8cqw; box-shadow: inset 0 0 0 1px #dfe5e8; font-size: 1.5cqw; }
.vs-opt.is-on { box-shadow: inset 0 0 0 2px var(--primary); font-weight: 700; }
.vs-btn { display: inline-block; padding: 1.1cqw 2.4cqw; border-radius: 0.8cqw; background: var(--accent); font-weight: 700; font-size: 1.5cqw; text-align: center; }
.vs-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 2.6cqw; }
.vs-trust span { padding: 2cqw; border-radius: 1.2cqw; background: #f3f6f7; font-size: 1.5cqw; color: var(--text-secondary); }
.vs-trust b { display: block; font-family: var(--font-display); font-size: 2.8cqw; color: var(--text); }
.avs__pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.avs-pin { position: absolute; left: var(--x); top: var(--y); transition: opacity 250ms ease, transform 250ms var(--ease-out); }
.avs-pin span { display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--accent); color: #1b1b1b; font-size: 0.75rem; font-weight: 800; box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.3), 0 6px 14px rgba(0, 0, 0, 0.2); animation: avs-pulse 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 0.3s); }
.avs-pin em { display: none; }
.avs-pin.is-off { opacity: 0; transform: scale(0.5); }
@keyframes avs-pulse { 50% { box-shadow: 0 0 0 9px rgba(232, 163, 61, 0), 0 6px 14px rgba(0, 0, 0, 0.2); } }
.avs__handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 18px rgba(0, 0, 0, 0.25); pointer-events: none; }
.avs__handle i { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.avs__handle i::before, .avs__handle i::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.avs__handle i::before { left: 6px; border-right-color: var(--primary); }
.avs__handle i::after { right: 6px; border-left-color: var(--primary); }
.avs__tag { position: absolute; z-index: 5; bottom: 12px; padding: 5px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; pointer-events: none; }
.avs__tag--b { left: 12px; background: var(--primary); color: #fff; }
.avs__tag--a { right: 12px; background: #fff; color: #666; box-shadow: 0 0 0 1px #ddd; }
.avs__stage { position: relative; }
.avs__range { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.avs__hint { margin-top: 10px; font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
.avs__legend { display: grid; gap: 10px; counter-reset: none; }
.avs__legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 600; }
.avs__legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); font-size: 0.8125rem; font-weight: 800; }
.avs__rows { display: grid; margin-top: var(--space-24); border-radius: var(--radius-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.avs__rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.avs__rows li:last-child { border-bottom: 0; }
.avs__rows-h { background: var(--bg-subtle); font-weight: 700; }
.avs__rows .no { font-weight: 500; color: #b4433f; }
.avs__rows .yes { font-weight: 700; color: var(--primary); }
.avs__rows-h b { color: var(--text) !important; }
@media (max-width: 1023px) { .avs__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .avs__prompts { grid-template-columns: 1fr; } .avs-pin span { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 0.625rem; } .avs__handle i { width: 34px; height: 34px; margin: -17px 0 0 -17px; } }

/* --- Эффект наблюдателя --- */
.obs__box { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: var(--space-48); padding: 56px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.obs__box .h2 span { color: var(--accent); }
.obs__lead { margin-top: var(--space-16); color: rgba(255, 255, 255, 0.72); }
.obs__quote { margin-top: var(--space-24); padding: 16px 20px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-m) var(--radius-m) 0; background: rgba(255, 255, 255, 0.05); font-size: 1.0625rem; font-style: italic; }
.obs__work { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--space-20, 20px); align-items: start; }
.obs__draft { position: sticky; top: 100px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.obs__bar { display: flex; align-items: center; gap: 4px; padding: 7px 9px; background: #eef1f3; font-size: 0.5625rem; color: #7b858c; }
.obs__bar i { width: 6px; height: 6px; border-radius: 50%; background: #ccc; }
.obs__bar span { margin-left: 4px; }
.obs__page { display: grid; gap: 6px; padding: 10px; }
.obs__page span { display: block; border-radius: 3px; background: #e2e6ea; }
.d-h { height: 10px; width: 90%; background: #b9c3cc !important; }
.d-h.s { width: 60%; }
.d-p { height: 5px; }
.d-img { height: 70px; background: linear-gradient(135deg, #c7d2fe, #fbcfe8) !important; }
.d-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 5px; background: none !important; }
.d-cards i { height: 34px; border-radius: 4px; background: #eef1f3; }
.d-form { height: 26px; }
.obs__scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, rgba(232, 163, 61, 0) 0%, rgba(232, 163, 61, 0.35) 100%); border-bottom: 2px solid var(--accent); }
.obs-mark { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid #e5484d; background: rgba(229, 72, 77, 0.2); }
.obs__list { display: grid; gap: 10px; }
.obs-i { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.obs-i__cat { justify-self: start; padding: 2px 8px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255, 255, 255, 0.1); }
.obs-i--mkt .obs-i__cat { background: rgba(232, 163, 61, 0.2); color: #f3c27a; }
.obs-i--dev .obs-i__cat { background: rgba(138, 180, 255, 0.18); color: #a9c6ff; }
.obs-i--seo .obs-i__cat { background: rgba(111, 224, 138, 0.16); color: #8be6a1; }
.obs-i--law .obs-i__cat { background: rgba(229, 72, 77, 0.2); color: #ff9a9d; }
.obs-i--fact .obs-i__cat { background: rgba(196, 160, 255, 0.18); color: #d4bcff; }
.obs-i p { font-size: 0.9375rem; line-height: 1.4; }
.obs-i__fix { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: #6fe08a; }
.obs-i__fix .icon { width: 15px; height: 15px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .obs__scan { animation: obs-scan 4s ease-in-out infinite; }
  .obs-mark { opacity: 0; animation: obs-mark 4s ease-out infinite; animation-delay: calc(var(--i) * 0.5s); }
  .js .obs-i { opacity: 0; translate: 16px 0; transition: opacity 500ms ease, translate 600ms var(--ease-out); transition-delay: calc(var(--i) * 140ms + 200ms); }
  .js .obs__box.is-in .obs-i { opacity: 1; translate: 0 0; }
}
@keyframes obs-scan { 0% { transform: translateY(-40px); } 100% { transform: translateY(260px); } }
@keyframes obs-mark { 0%, 10% { opacity: 0; transform: scale(2); } 20%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 1199px) { .obs__box { grid-template-columns: minmax(0, 1fr); padding: 48px 40px; } }
@media (max-width: 767px) { .obs__box { padding: 28px 20px; border-radius: var(--radius-xl); } .obs__work { grid-template-columns: minmax(0, 1fr); } .obs__draft { position: relative; top: 0; max-width: 220px; } }

/* --- Роли и скорость --- */
.rl__grid { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.rl__col { padding: 28px; border-radius: var(--radius-xl); }
.rl__col--ai { background: linear-gradient(160deg, #eef3ff, #f7f8fb); }
.rl__col--me { background: var(--primary); color: #fff; }
.rl__h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; }
.rl__h em { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-family: var(--font-text, "Onest", sans-serif); font-size: 0.75rem; font-style: normal; font-weight: 700; background: rgba(0, 0, 0, 0.06); }
.rl__col--me .rl__h em { background: var(--accent); color: #1b1b1b; }
.rl__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; overflow: hidden; font-family: var(--font-display); font-size: 0.9375rem; }
.rl__ico--ai { background: linear-gradient(135deg, #d97757, #8ab4ff); color: #fff; }
.rl__ico--me img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rl__col ul { display: grid; gap: 14px; }
.rl__col li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.rl__col li .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--primary); }
.rl__col--me li .icon { color: var(--accent); }
.rl__col li b { display: block; font-size: 1rem; }
.rl__col li p { font-size: 0.9375rem; line-height: 1.45; color: var(--text-secondary); }
.rl__col--me li p { color: rgba(255, 255, 255, 0.75); }
.rl__col--me li b { color: #fff; }
.rl__plus { display: grid; place-items: center; font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); }
.sp-speed { margin-top: var(--space-32); padding: 28px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.sp-speed__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sp-speed__title { font-size: 1.25rem; font-weight: 700; }
.sp-speed__legend { display: flex; gap: 16px; font-size: 0.8125rem; }
.sp-speed__legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.sp-speed__legend .cl::before { background: #c9d1d6; }
.sp-speed__legend .ai::before { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.sp-speed__rows { display: grid; gap: 12px; }
.sp-speed__rows li { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 16px; }
.sp-name { font-size: 0.9375rem; font-weight: 600; }
.sp-bars { display: grid; gap: 4px; }
.sp-bars i { display: block; width: var(--w); height: 10px; border-radius: 5px; transform-origin: left; }
.sp-bars .cl { background: #c9d1d6; }
.sp-bars .ai { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.sp-speed__total { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 1rem; }
.sp-speed__total span { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.25); }
.sp-speed__total b { color: var(--primary); }
.sp-speed__note { margin-top: 6px; font-size: 0.8125rem; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .sp-speed .sp-bars i { transform: scaleX(0); transition: transform 1100ms var(--ease-out); }
  .js .sp-speed .sp-bars i.ai { transition-delay: 300ms; }
  .js .sp-speed.is-in .sp-bars i { transform: scaleX(1); }
}
@media (max-width: 1023px) { .rl__grid { grid-template-columns: minmax(0, 1fr); } .rl__plus { height: 48px; } }
@media (max-width: 767px) { .rl__col, .sp-speed { padding: 20px; } .sp-speed__rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; } .rl__h { flex-wrap: wrap; font-size: 1.125rem; } .rl__h em { margin-left: 0; } .ail__grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) and (max-width: 1199px) { .ail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Таблица трёх способов --- */
.aic__tbl table { min-width: 720px; }
.aic__tbl th.hl, .aic__tbl td.hl { background: var(--primary-soft); }
.aic__tbl thead th.hl { background: var(--primary); color: #fff; }
.aic__tbl .x { color: #c9524e; font-weight: 700; }

/* --- Команда --- */
.tm__flow { position: relative; }
.tm__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-16); counter-reset: tm; }
.tm-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.tm-card:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -15px; top: 52px; width: 14px; height: 14px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: rotate(45deg); }
.tm-card__ava { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; }
.tm-card__ava .icon { width: 30px; height: 30px; }
.tm-card__ava img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tm-card--me { background: var(--primary); color: #fff; }
.tm-card--me .tm-card__ava { box-shadow: 0 0 0 3px var(--accent); }
.tm-card__role { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; }
.tm-card__who { font-size: 0.875rem; color: var(--text-muted); }
.tm-card--me .tm-card__who { color: var(--accent); font-weight: 600; }
.tm-card__does { display: grid; gap: 6px; margin-top: 10px; font-size: 0.9375rem; }
.tm-card__does li { padding-left: 14px; position: relative; }
.tm-card__does li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tm__loop { display: block; width: 100%; height: 48px; margin-top: 4px; overflow: visible; }
.tm__loop path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 0.012 0.008; vector-effect: non-scaling-stroke; }
.tm__loopcap { text-align: center; font-size: 0.9375rem; font-weight: 600; color: var(--text-secondary); }
@media (max-width: 1023px) { .tm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tm-card::after, .tm__loop { display: none; } }
@media (max-width: 767px) { .tm__grid { grid-template-columns: minmax(0, 1fr); } .tm-card { padding: 20px; } }
.st-ai { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-24); margin-top: var(--space-16); padding: 20px 24px; border-radius: var(--radius-xl); background: linear-gradient(110deg, #0b0f14 0%, #15202b 60%, #2a1d18 100%); color: #fff; transition: transform 300ms var(--ease-out), box-shadow var(--dur) var(--ease); }
.st-ai:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(11, 15, 20, 0.25); }
.st-ai__logos { display: flex; }
.st-ai__logos span { display: grid; place-items: center; width: 46px; height: 46px; margin-left: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #0b0f14; }
.st-ai__logos span:first-child { margin-left: 0; }
.st-ai__text { display: grid; gap: 4px; }
.st-ai__text b { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; }
.st-ai__text > span:last-child { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); }
.st-ai__tag { justify-self: start; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: #1b1b1b; font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.st-ai__price { display: flex; align-items: center; gap: 14px; font-weight: 700; white-space: nowrap; }
.st-ai__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #1b1b1b; transition: transform var(--dur) var(--ease); }
.st-ai:hover .st-ai__go { transform: translateX(4px); }
@media (max-width: 1023px) { .st-ai { grid-template-columns: minmax(0, 1fr); gap: 14px; } .st-ai__price { justify-content: space-between; } }
/* логотипы на орбите — без подложки, крупнее */
.aif .dv__orbit li > .aif__logo { width: 52px; height: 52px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.aif__logo img { width: 44px; height: 44px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55)); }
@media (max-width: 767px) { .aif .dv__orbit li > .aif__logo { width: 34px; height: 34px; border-radius: 0; } .aif__logo img { width: 30px; height: 30px; } }

/* --- Портфолио: bento с обложками --- */
.pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-24); grid-auto-flow: dense; }
.pfc { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pfc[hidden] { display: none; }
.pfc__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-xl); overflow: hidden; background: #0b1214; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px rgba(11, 18, 20, 0.14); transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease); }
.pfc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out); }
.pfc:hover .pfc__media { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(11, 18, 20, 0.24); }
.pfc:hover .pfc__media img { transform: scale(1.05); }
.pfc__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; }
.pfc__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 0.8125rem; }
.pfc__kind { padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.pfc__niche { color: var(--text-muted); }
.pfc__title { grid-column: 1; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.pfc__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl); }
.pfc:hover .pfc__title { color: var(--primary); }
.pfc__go { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-subtle); color: var(--primary); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pfc__go .icon { width: 18px; height: 18px; }
.pfc:hover .pfc__go { background: var(--accent); color: #1b1b1b; transform: rotate(45deg); }
.pfc--hero { grid-column: span 2; grid-row: span 2; }
.pfc--hero .pfc__media { flex: 1; aspect-ratio: auto; min-height: 0; }
.pfc--hero .pfc__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.pfc--hero .pfc__go { width: 52px; height: 52px; background: var(--accent); color: #1b1b1b; }
.pf[data-filtered] .pfc--hero { grid-column: auto; grid-row: auto; }
.pf[data-filtered] .pfc--hero .pfc__media { flex: none; aspect-ratio: 16 / 10; }
.pf[data-filtered] .pfc--hero .pfc__title { font-family: inherit; font-size: 1.0625rem; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .js .pfc { animation: pfc-in 600ms var(--ease-out) both; }
}
@keyframes pfc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) { .pf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pfc--hero { grid-row: auto; } .pfc--hero .pfc__media { flex: none; aspect-ratio: 16 / 10; } }
@media (max-width: 767px) { .pf__grid { grid-template-columns: minmax(0, 1fr); } .pfc--hero { grid-column: auto; } .pfc--hero .pfc__title { font-size: 1.25rem; } }

/* --- «Этот сайт сделан с ИИ» --- */
.prf__box { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: var(--space-48); padding: 24px 56px 24px 24px; border-radius: var(--radius-block); background: linear-gradient(120deg, #0b1214 0%, #0e2a31 100%); color: #fff; overflow: hidden; }
.prf__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.prf__media img { display: block; width: 100%; height: auto; transition: transform 1400ms var(--ease-out); }
.prf__box:hover .prf__media img { transform: scale(1.03); }
.prf__badge { position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(11, 18, 20, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); font-weight: 700; }
.prf__logos { display: flex; gap: 4px; padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.prf__logos img { width: 20px; height: 20px; }
.prf__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #1b1b1b; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.prf__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1b1b1b; animation: sb-blink 1.6s ease-in-out infinite; }
.prf__text .h2 { margin-top: var(--space-16); }
.prf__text .h2 span { color: var(--accent); }
.prf__lead { margin-top: var(--space-16); color: rgba(255, 255, 255, 0.75); }
.prf__list { margin-top: var(--space-20, 20px); color: rgba(255, 255, 255, 0.9); }
.prf__list .icon { color: var(--accent); }
.prf__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-24); }
@media (max-width: 1023px) { .prf__box { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 32px; gap: var(--space-24); } }
@media (max-width: 767px) { .prf__box { border-radius: var(--radius-xl); } .prf__actions .btn { width: 100%; } .prf__badge { left: 10px; top: 10px; font-size: 0.8125rem; } }

/* ==========================================================================
   Лендинг
   ========================================================================== */
.sp-hero__box:has(.lpv) { background: radial-gradient(55% 70% at 78% 35%, rgba(47, 91, 234, 0.28) 0%, rgba(47, 91, 234, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(232, 163, 61, 0.2) 0%, rgba(232, 163, 61, 0) 60%), #090d13; }
.lpv__glow { background: radial-gradient(circle, rgba(47, 91, 234, 0.45) 0%, rgba(47, 91, 234, 0) 70%); }
.lpv__browser { position: absolute; left: 50%; top: 50%; z-index: 2; width: 330px; height: 430px; margin: -230px 0 0 -230px; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); transform: perspective(1400px) rotateY(10deg); }
.lpv__viewport { position: relative; height: calc(100% - 26px); overflow: hidden; }
.lpv__page { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) { .lpv__page { animation: lpv-scroll 16s cubic-bezier(.6, 0, .3, 1) infinite; } }
@keyframes lpv-scroll {
  0%, 8% { transform: translateY(0); }
  18%, 24% { transform: translateY(-14%); }
  34%, 40% { transform: translateY(-30%); }
  50%, 56% { transform: translateY(-46%); }
  66%, 72% { transform: translateY(-58%); }
  84%, 92% { transform: translateY(-70%); }
  100% { transform: translateY(0); }
}
.lpv__steps { position: absolute; right: 0; top: 50%; z-index: 3; display: grid; gap: 10px; margin-top: -170px; }
.lpv__steps li { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); }
.lpv__steps li span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
@media (prefers-reduced-motion: no-preference) { .lpv__steps li { animation: lpv-step 16s infinite; animation-delay: calc(var(--i) * 2.66s); } .lpv__steps li span { animation: lpv-dot 16s infinite; animation-delay: calc(var(--i) * 2.66s); } }
@keyframes lpv-step { 0%, 15% { background: rgba(255, 255, 255, 0.14); color: #fff; } 18%, 100% { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.55); } }
@keyframes lpv-dot { 0%, 15% { background: var(--accent); box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.25); } 18%, 100% { background: rgba(255, 255, 255, 0.25); box-shadow: none; } }
.lpv__conv { position: absolute; left: 0; top: 40px; z-index: 3; display: grid; padding: 12px 16px; border-radius: 16px; background: var(--accent); color: #1b1b1b; box-shadow: 0 16px 34px rgba(232, 163, 61, 0.35); transform: rotate(-4deg); }
.lpv__conv b { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.lpv__conv span { font-size: 0.75rem; font-weight: 600; }
.lpv .dv__feed { right: -20px; bottom: -14px; }
@media (max-width: 1199px) { .lpv__steps { right: -10px; } }
@media (max-width: 767px) {
  .lpv__browser { width: 220px; height: 290px; margin: -150px 0 0 -150px; }
  .lpv__steps { right: 0; margin-top: -120px; gap: 6px; }
  .lpv__steps li { padding: 4px 9px 4px 6px; font-size: 0.6875rem; }
  .lpv__conv { top: 0; padding: 8px 12px; }
  .lpv__conv b { font-size: 1.25rem; }
}

/* --- Пути к заявке --- */
.pv--paths { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pv__p { padding: 5px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.pv__p--off { background: var(--bg-subtle); color: var(--text-muted); text-decoration: line-through; }
.pv__arr { color: var(--text-muted); }

/* --- A/B мок --- */
.mk--ab { flex-direction: row; align-items: stretch; gap: 10px; }
.mk__var { position: relative; flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }
.mk__var > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #e2e6ef; font-size: 0.75rem; font-weight: 800; }
.mk__var u { display: block; height: 16px; width: 60%; margin-top: auto; border-radius: 5px; background: #c5cbe0; }
.mk__var em { position: absolute; right: 10px; top: 10px; font-style: normal; font-weight: 800; font-size: 0.875rem; color: var(--text-muted); }
.mk__var--win { box-shadow: 0 0 0 2px #22a861, 0 10px 20px rgba(34, 168, 97, 0.15); }
.mk__var--win > span { background: #22a861; color: #fff; }
.mk__var--win u { background: var(--accent); }
.mk__var--win em { color: #22a861; }

/* --- Анатомия лендинга --- */
.ana__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-48); align-items: start; }
.ana__shot { position: sticky; top: 100px; }
.ana__frame { border-radius: var(--radius-xl); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--border), 0 30px 60px rgba(18, 22, 20, 0.14); }
.ana__page { position: relative; height: 560px; overflow: hidden; }
.ana__inner { position: relative; }
.ana__inner img { display: block; width: 100%; height: auto; }
.ana-mark { position: absolute; left: 12px; top: var(--y); z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; margin-top: 8px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 6px 14px rgba(0, 0, 0, 0.2); transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.ana-mark.is-on { background: var(--accent); color: #1b1b1b; transform: scale(1.15); }
.ana__hl { position: absolute; left: 0; right: 0; z-index: 1; border: 3px solid var(--accent); background: rgba(232, 163, 61, 0.08); border-radius: 6px; transition: top 500ms var(--ease-out), height 500ms var(--ease-out); pointer-events: none; }
.ana__case { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--primary); }
.ana__case .icon { width: 18px; height: 18px; }
.ana__list { display: grid; gap: 10px; }
.ana-item { border-radius: var(--radius-l); background: var(--bg-subtle); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ana-item.is-on { background: var(--bg-raised); box-shadow: 0 0 0 2px var(--primary), 0 16px 32px rgba(14, 99, 119, 0.12); }
.ana-item__btn { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 16px 20px; text-align: left; }
.ana-item__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.ana-item.is-on .ana-item__n { background: var(--accent); color: #1b1b1b; }
.ana-item__btn b { font-size: 1.125rem; }
.ana-item__btn em { font-style: normal; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }
.ana-item__text { display: none; padding: 0 20px 18px 70px; font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }
.ana-item.is-on .ana-item__text { display: block; }
@media (max-width: 1023px) { .ana__grid { grid-template-columns: minmax(0, 1fr); } .ana__shot { position: relative; top: 0; } .ana__page { height: 420px; } }
@media (max-width: 767px) { .ana-item__btn { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 16px; } .ana-item__btn em { grid-column: 2; } .ana-item__text { padding: 0 16px 16px 62px; } }
@media (max-width: 767px) { .lpv__steps { display: none; } .lpv__browser { margin-left: -110px; } }

/* ==========================================================================
   Корпоративный сайт
   ========================================================================== */
.sp-hero__box:has(.cv) { background: radial-gradient(55% 70% at 78% 35%, rgba(14, 99, 119, 0.5) 0%, rgba(14, 99, 119, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(232, 163, 61, 0.18) 0%, rgba(232, 163, 61, 0) 60%), #0a1113; }
.cv__glow { background: radial-gradient(circle, rgba(14, 99, 119, 0.6) 0%, rgba(14, 99, 119, 0) 70%); }
.cv__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cv__ln { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.5; }
.cv__q-ln { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 0.02 0.015; }
.cv__node { position: absolute; z-index: 2; translate: -50% -50%; padding: 7px 13px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: #fff; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cv__node--l0 { padding: 10px 18px; background: var(--primary); box-shadow: 0 10px 30px rgba(14, 99, 119, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.25); font-size: 0.9375rem; }
.cv__node--l1 { background: rgba(255, 255, 255, 0.14); }
.cv__q { position: absolute; z-index: 2; translate: -50% -50%; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; color: #1b1b1b; font-size: 0.75rem; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.cv__q .icon { width: 14px; height: 14px; color: var(--primary); }
.cv__badge { position: absolute; left: -10px; top: 330px; z-index: 3; display: grid; padding: 12px 16px; border-radius: 16px; background: var(--accent); color: #1b1b1b; transform: rotate(-4deg); box-shadow: 0 16px 34px rgba(232, 163, 61, 0.35); }
.cv__badge b { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.05; }
.cv__badge span { font-size: 0.75rem; font-weight: 600; }
.cv .dv__feed { right: -30px; bottom: -40px; }
@media (prefers-reduced-motion: no-preference) {
  .cv__node, .cv__q { animation: cv-pop 9s var(--ease-out) infinite; animation-delay: var(--d); opacity: 0; }
  .cv__ln, .cv__q-ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: cv-draw 9s ease infinite; animation-delay: var(--d); }
  .cv__q-ln { stroke-dasharray: 1 1; }
}
@keyframes cv-pop { 0% { opacity: 0; scale: 0.6; } 6%, 88% { opacity: 1; scale: 1; } 96%, 100% { opacity: 0; scale: 1; } }
@keyframes cv-draw { 0% { stroke-dashoffset: 1; } 8%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (max-width: 767px) {
  .cv__svg, .cv > .cv__node, .cv > .cv__q { transform-origin: 0 0; }
  .cv { zoom: 0.58; width: 520px !important; height: 520px !important; margin-left: auto; margin-right: auto; }
  .cv .dv__feed { zoom: 1.5; right: 0; bottom: -20px; }
  .cv__badge { zoom: 1.4; top: 230px; left: 0; }
}

/* --- Структура под запросы --- */
.sem__box { padding: 56px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.sem__box .h2 span { color: var(--accent); }
.sem__lead { max-width: 720px; color: rgba(255, 255, 255, 0.7); }
.sem__cols { display: grid; grid-template-columns: minmax(0, 1.2fr) 60px minmax(0, 1fr); gap: 16px; margin-top: var(--space-32); padding: 0 4px 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.sem__list { display: grid; gap: 12px; }
.sem-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 60px minmax(0, 1fr); align-items: center; gap: 16px; }
.sem-row__cl { position: relative; padding: 16px 18px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); overflow: hidden; }
.sem-row__bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, rgba(232, 163, 61, 0.16), rgba(232, 163, 61, 0)); }
.sem-row__cl b { position: relative; display: block; font-size: 1.0625rem; }
.sem-row__cl ul { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sem-row__cl li { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.75); }
.sem-row__arrow { position: relative; height: 2px; background: linear-gradient(90deg, rgba(232, 163, 61, 0.2), var(--accent)); }
.sem-row__arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--accent); border-right: 0; }
.sem-row__page { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius-l); background: #fff; color: var(--text); }
.sem-row__url { font-family: ui-monospace, Menlo, monospace; font-size: 0.75rem; color: #1a7f37; }
.sem-row__page b { font-size: 1.0625rem; }
.sem-row__h1 { font-size: 0.8125rem; color: var(--text-muted); }
.sem__note { margin-top: var(--space-16); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }
@media (prefers-reduced-motion: no-preference) {
  .js .sem__box .sem-row { opacity: 0; translate: 0 14px; transition: opacity 500ms ease, translate 600ms var(--ease-out); transition-delay: calc(var(--i) * 120ms + 150ms); }
  .js .sem__box.is-in .sem-row { opacity: 1; translate: 0 0; }
  .js .sem__box .sem-row__arrow { transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 120ms + 450ms); }
  .js .sem__box.is-in .sem-row__arrow { transform: scaleX(1); }
}
@media (max-width: 1023px) { .sem__box { padding: 40px 28px; } }
@media (max-width: 767px) {
  .sem__box { padding: 28px 20px; border-radius: var(--radius-xl); }
  .sem__cols { display: none; }
  .sem-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sem-row__arrow { width: 2px; height: 18px; margin-left: 24px; background: var(--accent); }
  .sem-row__arrow::after { right: auto; left: -5px; top: auto; bottom: -4px; border: 6px solid transparent; border-top: 9px solid var(--accent); border-bottom: 0; }
}

/* --- Моки: админка и блог --- */
.mk--cms { flex-direction: row; gap: 8px; }
.mk__side { display: flex; flex-direction: column; gap: 6px; width: 28%; padding: 10px 8px; border-radius: 10px; background: #1d2a30; }
.mk__side i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.mk__side i.on { background: var(--accent); }
.mk__edit { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: #fff; }
.mk__field2 { padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--primary); font-size: 0.6875rem; font-weight: 600; }
.mk__area { flex: 1; border-radius: 6px; background: repeating-linear-gradient(180deg, #e3e7ee 0 5px, transparent 5px 11px); }
.mk__save { align-self: flex-end; padding: 5px 10px; border-radius: 6px; background: #22a861; color: #fff; font-size: 0.625rem; font-weight: 700; }
.mk--blog { justify-content: center; gap: 7px; }
.mk__post { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 7px; border-radius: 10px; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); }
.mk__post .mk__pic { height: 38px; }
.mk__post div { display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.mk__post b { width: 80%; }
.cv .dv__feed { top: -30px; bottom: auto; right: -40px; width: 220px; }
.cv__badge { top: 20px; left: -30px; }
@media (max-width: 767px) { .cv .dv__feed { top: auto; bottom: -40px; } .cv__badge { top: 0; left: 0; } }

/* ==========================================================================
   Мобильные: длинные сетки карточек → горизонтальная лента со свайпом
   ========================================================================== */
@media (max-width: 767px) {
  .sp-probs__grid, .sp-fmts__grid, .sp-price__grid, .how__cards, .service-page .agrid, .nx__grid, .eng__grid, .tm__grid, .ad__grid, .st__grid {
    display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 16px; scroll-padding-inline: var(--gutter); max-width: none;
  }
  .sp-probs__grid::-webkit-scrollbar, .sp-fmts__grid::-webkit-scrollbar, .sp-price__grid::-webkit-scrollbar, .how__cards::-webkit-scrollbar, .service-page .agrid::-webkit-scrollbar, .nx__grid::-webkit-scrollbar, .eng__grid::-webkit-scrollbar, .tm__grid::-webkit-scrollbar, .ad__grid::-webkit-scrollbar, .st__grid::-webkit-scrollbar { display: none; }
  .sp-probs__grid > *, .sp-fmts__grid > *, .sp-price__grid > *, .how__cards > *, .service-page .agrid > *, .nx__grid > *, .eng__grid > *, .tm__grid > *, .ad__grid > *, .st__grid > * { flex: 0 0 86%; scroll-snap-align: start; min-width: 0; }
  .sp-fmts__grid > *, .eng__grid > *, .how__cards > *, .nx__grid > * { flex-basis: 78%; }
  /* подсказка «листайте» */
  .sp-probs__grid::after, .sp-fmts__grid::after, .sp-price__grid::after, .how__cards::after, .service-page .agrid::after, .nx__grid::after, .eng__grid::after, .tm__grid::after, .ad__grid::after, .st__grid::after { content: ""; flex: 0 0 1px; }
  .tm-card::after { display: none; }
  .tm__loop, .tm__loopcap { display: none; }
  .sp-price__grid { max-width: none; }
  .st__grid { max-width: none; }
  /* портфолио: две колонки мелких карточек вместо длинной ленты */
  .pf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .pfc--hero { grid-column: 1 / -1; }
  .pfc__title { font-size: 0.875rem; }
  .pfc__meta { font-size: 0.6875rem; }
  .pfc__niche { display: none; }
  .pfc__go { display: none; }
  .pfc--hero .pfc__go { display: grid; width: 40px; height: 40px; }
  .pfc__media { border-radius: var(--radius-l); }
  /* логотипы нейросетей — по две в ряд */
  .ail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ail { grid-template-columns: 40px minmax(0, 1fr); padding: 12px; column-gap: 10px; }
  .ail__logo { width: 40px; height: 40px; border-radius: 12px; }
  .ail__logo img { width: 22px; height: 22px; }
  .ail b { font-size: 0.9375rem; }
  .ail > span:last-child { font-size: 0.75rem; }
}
.swipe-hint { display: none; }
@media (max-width: 767px) { .swipe-hint { display: flex; align-items: center; gap: 6px; margin: -4px 0 4px; font-size: 0.8125rem; color: var(--text-muted); } }
@media (max-width: 767px) {
  .pf__bar { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .pf__tabs { flex-wrap: nowrap; border-radius: 999px; }
  .pf-tab { white-space: nowrap; }
}
/* Планшет: две карточки в кадре + свайп вместо узкой колонки */
@media (min-width: 768px) and (max-width: 1023px) {
  .sp-probs__grid, .sp-price__grid, .st__grid, .ad__grid {
    display: flex !important; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 16px; scroll-padding-inline: var(--gutter); max-width: none;
  }
  .sp-probs__grid > *, .sp-price__grid > *, .st__grid > *, .ad__grid > * { flex: 0 0 calc(50% - 24px); scroll-snap-align: start; min-width: 0; }
  .sp-probs__grid::after, .sp-price__grid::after, .st__grid::after, .ad__grid::after { content: ""; flex: 0 0 1px; }
  .pfc__title { font-size: 1rem; }
}
/* Мобильные: этапы аналитики компактнее — номер слева, текст справа */
@media (max-width: 767px) {
  .an-flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .an-stage { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .an-stage__n { grid-row: 1 / span 3; width: 40px; height: 40px; margin: 0; font-size: 1rem; }
  .an-stage__name { margin-top: 0; font-size: 1.25rem; }
  .an-stage__q { margin-top: 2px; }
  .an-stage__tools { margin-top: 8px; }
}

/* ==========================================================================
   Интернет-магазин
   ========================================================================== */
.sp-hero__box:has(.shv) { background: radial-gradient(55% 70% at 78% 35%, rgba(232, 163, 61, 0.24) 0%, rgba(232, 163, 61, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(14, 99, 119, 0.5) 0%, rgba(14, 99, 119, 0) 60%), #0b0f12; }
.shv__glow { background: radial-gradient(circle, rgba(232, 163, 61, 0.4) 0%, rgba(232, 163, 61, 0) 70%); }
.shv__browser { position: absolute; left: 50%; top: 50%; z-index: 2; width: 420px; margin: -190px 0 0 -230px; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); }
.shv__cart { position: relative; display: grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; color: #1b1b1b; }
.shv__cart .icon { width: 16px; height: 16px; }
.shv__cart em { position: absolute; right: -6px; top: -5px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: #e5484d; color: #fff; font-size: 0.5625rem; font-style: normal; font-weight: 800; line-height: 14px; text-align: center; }
.shv__cart em::after { content: "2"; }
.shv__body { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 10px; }
.shv__filters { display: grid; align-content: start; gap: 7px; font-size: 0.625rem; color: #555; }
.shv__fh { font-weight: 800; color: #1b1b1b; }
.shv__filters li { display: flex; align-items: center; gap: 6px; }
.shv__filters li span { width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #c8cfd4; }
.shv__filters li.on span { background: var(--primary); box-shadow: none; }
.shv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.shv__item { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 9px; background: #f5f7f8; }
.shv__pic { display: block; aspect-ratio: 1; border-radius: 7px; background: linear-gradient(135deg, #dbe9ed, #a9cfd8); }
.shv__pic--1 { background: linear-gradient(135deg, #f7e2bd, #e8b35f); }
.shv__pic--2 { background: linear-gradient(135deg, #e3e6f5, #aab3df); }
.shv__pic--3 { background: linear-gradient(135deg, #e3f0dc, #9ccc8f); }
.shv__item i { display: block; height: 4px; border-radius: 2px; background: #d7dde1; }
.shv__item b { font-size: 0.625rem; font-weight: 800; color: #1b1b1b; }
.shv__item u { display: block; height: 12px; border-radius: 4px; background: #e2e7ea; }
.shv__add { display: block; padding: 3px 0; border-radius: 4px; background: var(--accent); color: #1b1b1b; font-size: 0.5625rem; font-weight: 800; text-align: center; }
.shv__item--hl { background: #fff; box-shadow: 0 0 0 2px var(--accent), 0 10px 22px rgba(232, 163, 61, 0.3); }
.shv__cursor { position: absolute; left: 63%; top: 82%; width: 20px; height: 20px; border-radius: 50%; background: rgba(27, 27, 27, 0.85); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9); }
.shv__feed { position: absolute; left: -10px; bottom: 30px; z-index: 3; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: #fff; }
.shv__feedlogo { grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; }
.shv__feed b { font-size: 0.8125rem; }
.shv__feed > span:last-child { font-size: 0.6875rem; color: rgba(255, 255, 255, 0.65); }
.shv .dv__feed { right: -40px; top: -20px; bottom: auto; }
@media (prefers-reduced-motion: no-preference) {
  .shv__cursor { animation: shv-click 5s ease-in-out infinite; }
  .shv__add { animation: shv-btn 5s ease-in-out infinite; }
  .shv__cart em { animation: shv-badge 5s ease-in-out infinite; }
  .shv__cart em::after { animation: shv-count 5s steps(1) infinite; }
}
@keyframes shv-click { 0%, 100% { transform: translate(60px, 40px); opacity: 0; } 20% { opacity: 1; } 40% { transform: translate(0, 0); } 45% { transform: scale(0.75); } 50% { transform: none; } 80% { opacity: 1; } }
@keyframes shv-btn { 0%, 42% { background: var(--accent); } 46%, 70% { background: #22a861; color: #fff; } 74%, 100% { background: var(--accent); } }
@keyframes shv-badge { 0%, 46% { transform: none; } 50% { transform: scale(1.45); } 56%, 100% { transform: none; } }
@keyframes shv-count { 0%, 47% { content: "2"; } 48%, 100% { content: "3"; } }
@media (max-width: 1199px) { .shv__browser { transform: perspective(1400px) rotateY(-9deg) rotateX(4deg) scale(0.88); } }
@media (max-width: 767px) {
  .shv__browser { width: 300px; margin: -140px 0 0 -150px; transform: none; }
  .shv__body { grid-template-columns: minmax(0, 1fr); }
  .shv__filters { display: none; }
  .shv__feed { left: 0; bottom: -6px; padding: 8px 12px 8px 8px; }
  .shv .dv__feed { display: none; }
}

/* --- Путь покупателя --- */
.co__box { padding: 56px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.co__box .h2 span { color: var(--accent); }
.co__lead { max-width: 720px; color: rgba(255, 255, 255, 0.7); }
.co__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: var(--space-32); }
.co-step { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.co-step__head { display: flex; align-items: center; gap: 10px; }
.co-step__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font-weight: 800; }
.co-step:last-child .co-step__n { background: var(--accent); color: #1b1b1b; }
.co-step__head b { font-size: 1.0625rem; }
.co-step__bar { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.co-step__bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary-light, #3fa3b8), var(--accent)); transform-origin: left; }
.co-step p { font-size: 0.875rem; line-height: 1.45; }
.co-step p span { display: block; margin-bottom: 3px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.co-step__pain { color: rgba(255, 255, 255, 0.65); }
.co-step__pain span { color: #ff9a9d; }
.co-step__fix { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.co-step__fix span { color: #6fe08a; }
.co__note { margin-top: var(--space-16); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }
@media (prefers-reduced-motion: no-preference) {
  .js .co__box .co-step__bar i { transform: scaleX(0); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 140ms + 200ms); }
  .js .co__box.is-in .co-step__bar i { transform: scaleX(1); }
}
@media (max-width: 1199px) { .co__box { padding: 40px 28px; } .co__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .co__box { padding: 28px 20px; border-radius: var(--radius-xl); }
  .co__steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding: 0 20px 8px; scroll-padding-inline: 20px; }
  .co__steps > * { flex: 0 0 80%; scroll-snap-align: start; }
}

/* --- Моки магазина --- */
.mk--feedmk { flex-direction: row; align-items: center; gap: 10px; }
.mk__xml { flex: 1.2; display: grid; gap: 3px; padding: 10px; border-radius: 10px; background: #1d2a30; color: #9fd6e2; font-family: ui-monospace, Menlo, monospace; font-size: 0.625rem; }
.mk__xml .i { padding-left: 10px; color: #f3c27a; }
.mk--feedmk .mk__card { flex: 1; }
.mk--feedmk .mk__card .mk__pic { height: 60px; }
.mk--sync { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; gap: 8px; }
.mk__sys { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #fff; font-weight: 800; font-size: 0.8125rem; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08); }
.mk__sys--site { background: var(--primary); color: #fff; }
.mk__sync-ln { position: relative; width: 34px; height: 2px; background: #c5d3d8; overflow: hidden; }
.mk__sync-ln i { position: absolute; top: -2px; left: 0; width: 8px; height: 6px; border-radius: 3px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .mk__sync-ln i { animation: mk-flow 1.6s linear infinite; } .mk__sync-ln + .mk__sys + .mk__sync-ln i { animation-delay: 0.8s; } }
@keyframes mk-flow { from { left: -8px; } to { left: 34px; } }
.mk__sync-row { flex-basis: 100%; display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.mk__sync-row span { padding: 3px 8px; border-radius: 999px; background: #fff; font-size: 0.6875rem; font-weight: 600; color: var(--primary); }
.mk--checkout { justify-content: center; }
.mk--checkout .mk__opt em { margin-left: auto; font-style: normal; font-size: 0.6875rem; font-weight: 700; color: var(--text-secondary); }
.mk__pay { display: flex; gap: 6px; }
.mk__pay span { flex: 1; padding: 6px 0; border-radius: 6px; background: #fff; font-size: 0.6875rem; font-weight: 700; text-align: center; }
.mk__pay span:first-child { box-shadow: inset 0 0 0 2px var(--primary); }
.mk--checkout .mk__btn { width: 100%; height: 20px; background: var(--accent); }
.pf__grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf__grid--few .pfc__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; }
@media (max-width: 767px) { .pf__grid--few { grid-template-columns: minmax(0, 1fr); } .pf__grid--few .pfc__title { font-size: 1.125rem; } .pf__grid--few .pfc__go { display: grid; } }
@media (max-width: 767px) { .shv__feed { bottom: -34px; left: 8px; } .shv { margin-bottom: 30px; } }

/* ==========================================================================
   CRM
   ========================================================================== */
.mono { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 8px; background: var(--mc); color: #fff; font-weight: 800; font-size: 0.75rem; letter-spacing: -0.02em; }
.sp-hero__box:has(.crv) { background: radial-gradient(55% 70% at 78% 35%, rgba(47, 198, 246, 0.2) 0%, rgba(47, 198, 246, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(14, 99, 119, 0.5) 0%, rgba(14, 99, 119, 0) 60%), #0a1014; }
.sp-hero__box:has(.crv) .sp-hero__title span { color: #2fc6f6; }
.crv__glow { background: radial-gradient(circle, rgba(47, 198, 246, 0.35) 0%, rgba(47, 198, 246, 0) 70%); }
.crv__board { position: absolute; inset: 40px 0; z-index: 2; display: flex; flex-direction: column; padding: 20px; border-radius: 24px; background: #f4f7f9; color: #1b1b1b; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.crv__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.crv__top b { font-size: 1.125rem; }
.crv__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.crv__chip { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: #2fc6f6; color: #062a36; font-size: 0.75rem; font-weight: 800; }
.crv__cols { position: relative; flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.crv__col { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 16px; background: #e6edf0; }
.crv__ch { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 800; }
.crv__ch i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.crv__slot { height: 78px; flex: none; }
.crv__card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #fff; opacity: 0.6; }
.crv__card b { font-size: 0.9375rem; }
.crv__card span { font-size: 0.8125rem; color: #7b858c; }
.crv__deal { position: absolute; left: 12px; top: 40px; width: calc((100% - 24px) / 3 - 24px); height: 78px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px #2fc6f6, 0 18px 34px rgba(47, 198, 246, 0.35); }
.crv__st { position: absolute; inset: 0; display: grid; align-content: center; gap: 3px; padding: 0 14px; opacity: 0; }
.crv__st b { font-size: 0.9375rem; }
.crv__st em { font-style: normal; font-size: 0.75rem; color: #7b858c; }
.crv__st--0 { opacity: 1; }
.crv__st--2 em { font-size: 1rem; font-weight: 800; color: #22a861; }
@media (prefers-reduced-motion: no-preference) {
  .crv__deal { animation: crv-move 9s cubic-bezier(.65, 0, .3, 1) infinite; }
  .crv__st--0 { animation: crv-s0 9s infinite; }
  .crv__st--1 { animation: crv-s1 9s infinite; }
  .crv__st--2 { animation: crv-s2 9s infinite; }
}
@keyframes crv-move {
  0% { transform: translateY(-16px); opacity: 0; }
  6%, 28% { transform: none; opacity: 1; box-shadow: 0 0 0 2px #2fc6f6, 0 18px 34px rgba(47, 198, 246, 0.35); }
  38%, 60% { transform: translateX(calc(100% + 36px)); box-shadow: 0 0 0 2px #e8a33d, 0 18px 34px rgba(232, 163, 61, 0.35); }
  70%, 92% { transform: translateX(calc(200% + 72px)); opacity: 1; box-shadow: 0 0 0 2px #22a861, 0 18px 34px rgba(34, 168, 97, 0.35); }
  100% { transform: translateX(calc(200% + 72px)); opacity: 0; }
}
@keyframes crv-s0 { 0%, 32% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes crv-s1 { 0%, 32% { opacity: 0; } 36%, 64% { opacity: 1; } 68%, 100% { opacity: 0; } }
@keyframes crv-s2 { 0%, 64% { opacity: 0; } 68%, 100% { opacity: 1; } }
@media (max-width: 1199px) { .crv__board { inset: 30px 0; } }
@media (max-width: 767px) {
  .crv__board { inset: 10px 0; padding: 12px; border-radius: 18px; }
  .crv__top { margin-bottom: 10px; gap: 8px; }
  .crv__top b { font-size: 0.9375rem; }
  .crv__logo { width: 32px; height: 32px; }
  .crv__chip { padding: 4px 8px; font-size: 0.625rem; }
  .crv__cols { gap: 6px; }
  .crv__col { padding: 8px 6px; gap: 6px; border-radius: 12px; }
  .crv__ch { font-size: 0.6875rem; gap: 5px; }
  .crv__slot, .crv__deal { height: 64px; }
  .crv__deal { left: 6px; top: 30px; width: calc((100% - 12px) / 3 - 12px); }
  .crv__card { padding: 8px; }
  .crv__card b, .crv__st b { font-size: 0.75rem; }
  .crv__card span, .crv__st em { font-size: 0.625rem; }
  .crv__st { padding: 0 8px; }
  .crv__st--2 em { font-size: 0.8125rem; }
  @keyframes crv-move {
    0% { transform: translateY(-10px); opacity: 0; }
    6%, 28% { transform: none; opacity: 1; }
    38%, 60% { transform: translateX(calc(100% + 18px)); }
    70%, 92% { transform: translateX(calc(200% + 36px)); opacity: 1; }
    100% { transform: translateX(calc(200% + 36px)); opacity: 0; }
  }
}

/* --- До / после --- */
.bfa__box { padding: 28px; border-radius: var(--radius-block); background: var(--bg-subtle); }
.bfa__heads, .bfa-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 12px; align-items: center; }
.bfa__heads { margin-bottom: 12px; }
.bfa__h { justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 800; }
.bfa__h--no { background: #fde8e8; color: #b4433f; }
.bfa__h--yes { background: var(--primary); color: #fff; }
.bfa__list { display: grid; gap: 10px; }
.bfa-row__no { padding: 14px 16px; border-radius: var(--radius-l); background: var(--bg-raised); color: var(--text-secondary); text-decoration: line-through; text-decoration-color: rgba(180, 67, 63, 0.4); }
.bfa-row__arr { position: relative; height: 2px; background: linear-gradient(90deg, rgba(14, 99, 119, 0.2), var(--primary)); }
.bfa-row__arr::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--primary); border-right: 0; }
.bfa-row__yes { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-l); background: var(--bg-raised); box-shadow: inset 0 0 0 2px var(--primary); font-weight: 600; }
.bfa-row__yes .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--primary); }
@media (prefers-reduced-motion: no-preference) {
  .js .bfa__box .bfa-row { opacity: 0; translate: 0 12px; transition: opacity 500ms ease, translate 600ms var(--ease-out); transition-delay: calc(var(--i) * 100ms); }
  .js .bfa__box.is-in .bfa-row { opacity: 1; translate: 0 0; }
}
@media (max-width: 767px) {
  .bfa__box { padding: 16px; border-radius: var(--radius-xl); }
  .bfa__heads { display: none; }
  .bfa-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .bfa-row__arr { display: none; }
  .bfa-row__no { padding: 10px 14px; font-size: 0.875rem; }
  .bfa-row__no::before { content: "Без CRM: "; font-weight: 700; text-decoration: none; display: inline; }
}

/* --- Партнёр Битрикс24 --- */
.prt__box { padding: 56px; border-radius: var(--radius-block); background: radial-gradient(50% 70% at 0% 0%, rgba(47, 198, 246, 0.22), rgba(47, 198, 246, 0) 70%), linear-gradient(120deg, #0a1014, #0e2a35); color: #fff; }
.prt__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-48); align-items: center; }
.prt__brand { display: flex; align-items: center; gap: 14px; margin-bottom: var(--space-20, 20px); }
.prt__logo { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(47, 198, 246, 0.35); }
.prt__eyebrow { display: grid; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.prt__eyebrow b { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: #2fc6f6; }
.prt__text .h2 span { color: #2fc6f6; }
.prt__lead { margin: var(--space-16) 0 var(--space-24); color: rgba(255, 255, 255, 0.75); }
.prt__pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prt-pt { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.prt-pt__ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; background: rgba(47, 198, 246, 0.16); color: #2fc6f6; }
.prt-pt__ico .icon { width: 20px; height: 20px; }
.prt-pt b { font-size: 1rem; }
.prt-pt > span:last-child { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.prt__certs-wrap { margin-top: var(--space-40, 40px); padding-top: var(--space-32); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.prt__certs-t { margin-bottom: 16px; font-weight: 700; }
.prt__certs-t span { font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.prt__certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.prt-cert { display: grid; gap: 10px; width: 100%; text-align: left; color: #fff; }
.prt-cert__img { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 12px; border-radius: 16px; background: #fff; overflow: hidden; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease); }
.prt-cert__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); }
.prt-cert:hover .prt-cert__img { transform: translateY(-4px); box-shadow: 0 0 0 3px #2fc6f6, 0 16px 32px rgba(0, 0, 0, 0.35); }
.prt-cert__t { font-size: 0.875rem; font-weight: 600; }
@media (max-width: 1023px) { .prt__box { padding: 40px 28px; } .prt__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-32); } .prt__certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .prt__box { padding: 28px 20px; border-radius: var(--radius-xl); } .prt__pts { grid-template-columns: minmax(0, 1fr); } .prt-pt { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 14px; } .prt-pt__ico { grid-row: 1 / span 2; margin: 0; } .prt__text .btn { width: 100%; } .prt__certs { gap: 10px; } .prt-cert__t { font-size: 0.75rem; } }

/* --- Выбор CRM --- */
.chz__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16); }
.chz-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.chz-card__head { display: flex; align-items: center; gap: 14px; }
.chz-card__logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.chz-card__head h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.chz-card__head p { color: var(--text-muted); }
.chz-card__pick { margin-top: auto; padding: 14px 16px; border-radius: var(--radius-l); background: var(--bg-raised); font-weight: 600; }
.chz-card__pick span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
@media (max-width: 767px) { .chz__grid { grid-template-columns: minmax(0, 1fr); } .chz-card { padding: 20px; } }

/* --- Кастомные интеграции --- */
.cst__box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-48); align-items: center; padding: 56px; border-radius: var(--radius-block); background: var(--bg-inverse); color: #fff; }
.cst__box .h2 span { color: var(--accent); }
.cst__lead { margin-top: var(--space-16); color: rgba(255, 255, 255, 0.72); }
.cst__exs { display: grid; gap: 8px; margin: var(--space-24) 0; }
.cst-ex { display: grid; gap: 2px; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, 0.05); }
.cst-ex span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }
.cst__flow { padding: 24px; border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.cst__case { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.cst__nodes { position: relative; display: grid; gap: 22px; margin: 18px 0; }
.cst__nodes::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
@media (prefers-reduced-motion: no-preference) { .cst__nodes::before { animation: cst-flow 1s linear infinite; background-size: 2px 12px; } }
@keyframes cst-flow { to { background-position: 0 12px; } }
.cst-node { position: relative; display: flex; align-items: center; gap: 14px; }
.cst-node__ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--primary); }
.cst-node__ico .icon, .cst-node__ico img { width: 24px; height: 24px; }
.cst-node--mid .cst-node__ico { background: var(--accent); color: #1b1b1b; }
.cst-node--dst .cst-node__ico { box-shadow: 0 0 0 3px #2fc6f6; }
.cst-node b { font-size: 1rem; }
.cst__res { display: flex; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(111, 224, 138, 0.12); color: #a8eebb; font-size: 0.875rem; }
.cst__res .icon { flex: none; width: 18px; height: 18px; color: #6fe08a; }
@media (max-width: 1023px) { .cst__box { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; } }
@media (max-width: 767px) { .cst__box { padding: 28px 20px; border-radius: var(--radius-xl); } .cst__text .btn { width: 100%; } }

/* --- Интеграции --- */
.itgs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }
.itg-g { padding: 22px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.itg-g__t { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 800; }
.itg-g__t .icon { width: 20px; height: 20px; color: var(--primary); }
.itg-g__list { display: flex; flex-wrap: wrap; gap: 8px; }
.itg { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border); font-size: 0.875rem; font-weight: 600; transition: transform 200ms var(--ease-out), box-shadow var(--dur) var(--ease); }
.itg:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--primary); }
.itg__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #fff; color: var(--primary); }
.itg__logo img { width: 20px; height: 20px; object-fit: contain; }
.itg__logo .icon { width: 18px; height: 18px; }
.itg__logo .mono { border-radius: 50%; font-size: 0.625rem; }
.itgs__note { margin-top: var(--space-16); font-size: 0.875rem; color: var(--text-muted); }
@media (max-width: 1023px) { .itgs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .itgs__grid { grid-template-columns: minmax(0, 1fr); } .itg-g { padding: 18px; } }

/* --- Моки CRM --- */
.mk--kanban { flex-direction: row; gap: 6px; }
.mk__kc { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 8px; background: #e8eef1; }
.mk__kh { display: block; height: 6px; border-radius: 3px; background: var(--c); }
.mk__kcard { display: block; height: 26px !important; border-radius: 6px !important; background: #fff !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
.mk__kfly { position: absolute; left: 8px; top: 30px; width: 22%; height: 26px !important; border-radius: 6px !important; background: #fff !important; box-shadow: 0 0 0 2px var(--accent), 0 8px 16px rgba(0, 0, 0, 0.12); }
@media (prefers-reduced-motion: no-preference) { .mk__kfly { animation: mk-kfly 5s cubic-bezier(.6, 0, .3, 1) infinite; } }
@keyframes mk-kfly { 0%, 15% { transform: none; } 35%, 45% { transform: translateX(105%); } 65%, 75% { transform: translateX(210%); } 92%, 100% { transform: translateX(315%); } }
.mk--robot { justify-content: center; align-items: center; gap: 4px; }
.mk__rn { padding: 7px 12px; border-radius: 10px; background: #fff; font-size: 0.75rem; font-weight: 700; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); }
.mk__rn--hl { background: var(--primary); color: #fff; }
.mk--robot .mk__arrow { width: 2px; height: 14px; background: var(--accent); }
.mk--inbox { justify-content: center; gap: 6px; }
.mk__ib { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; }
.mk__ib span { flex: none; width: 20px; height: 20px; border-radius: 50%; }
.mk__ib .tg { background: #26a5e4; }
.mk__ib .wa { background: #25d366; }
.mk__ib .mx { background: linear-gradient(135deg, #44ccff, #5533ee 66%, #9933dd); }
.mk__ib .vk { background: #0077ff; }
.mk__ib b { flex: 1; width: auto !important; height: 7px !important; background: #d6dbe6 !important; }
.mk__ib em { padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 0.625rem; font-style: normal; font-weight: 800; }
.mk--calls { justify-content: center; gap: 8px; }
.mk__call { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #fff; }
.mk__cico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #22a861; }
.mk__call--miss .mk__cico { background: #e5484d; }
.mk__call > div { flex: 1; display: grid; gap: 5px; }
.mk__call > div b { width: 70% !important; }
.mk__wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.mk__wave u { display: block; width: 3px; height: 40%; border-radius: 2px; background: var(--primary); }
.mk__wave u:nth-child(3n) { height: 90%; } .mk__wave u:nth-child(4n+1) { height: 60%; }
@media (prefers-reduced-motion: no-preference) { .mk__wave u { animation: mk-wave 1.2s ease-in-out infinite; } .mk__wave u:nth-child(2n) { animation-delay: .2s; } .mk__wave u:nth-child(3n) { animation-delay: .4s; } }
@keyframes mk-wave { 50% { transform: scaleY(0.4); } }
.mk__call em { padding: 3px 8px; border-radius: 999px; background: #fde8e8; color: #b4433f; font-size: 0.625rem; font-style: normal; font-weight: 700; }
.mk--report { flex-direction: row; align-items: flex-end; gap: 12px; }
.mk__bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; height: 100%; padding: 10px; border-radius: 12px; background: #fff; }
.mk__bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--primary), #3fa3b8); }
.mk__bars span:last-child { background: var(--accent); }
.mk__kpi { display: grid; padding: 10px; border-radius: 12px; background: #fff; }
.mk__kpi b { font-family: var(--font-display); font-size: 1.25rem; color: #22a861; }
.mk__kpi span { font-size: 0.625rem; color: var(--text-muted); }
@media (max-width: 767px) {
  .crv__cols { grid-template-columns: repeat(3, 1fr); }
  .crv__col:nth-child(4) { display: none; }
  .crv__card b { font-size: 0.6875rem; }
  .crv__new { width: 88px; }
  @keyframes crv-move { 0%, 8% { transform: none; opacity: 0; } 14% { opacity: 1; } 28%, 45% { transform: none; } 60%, 75% { transform: translate(101px, 0); } 90% { transform: translate(202px, 0); opacity: 1; } 100% { transform: translate(202px, 0); opacity: 0; } }
}
.mk__kpi b { height: auto !important; width: auto !important; background: none !important; opacity: 1 !important; line-height: 1.1; }
.mk__kpi { width: 96px; }

/* Воронка: подгонка высоты карточки и доски */
.crv__board { inset: 70px 0; }
.crv__slot, .crv__deal { height: 76px; }
.crv__chip { white-space: nowrap; }
@media (max-width: 1199px) { .crv__board { inset: 50px 0; } }
@media (max-width: 767px) { .crv__board { inset: 20px 0; } .crv__slot, .crv__deal { height: 58px; } .crv__chip { font-size: 0.5625rem; } .crv__top b { font-size: 0.8125rem; } }
.itg__logo { width: 32px; height: 32px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--border); }
.itg__logo img { width: 24px; height: 24px; border-radius: 5px; }
@media (min-width: 1200px) { .dv.crv { width: 600px; height: 500px; justify-self: end; } .crv__board { inset: 40px 0; } }

/* ==========================================================================
   Колтрекинг: номер на сайте меняется под источник посетителя
   ========================================================================== */
.sp-hero__box:has(.ctv) { background: radial-gradient(55% 70% at 78% 35%, rgba(34, 168, 97, 0.2) 0%, rgba(34, 168, 97, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(14, 99, 119, 0.5) 0%, rgba(14, 99, 119, 0) 60%), #0a1012; }
.sp-hero__box:has(.ctv) .sp-hero__title span { color: #4fdc8e; }
.ctv__glow { background: radial-gradient(circle, rgba(34, 168, 97, 0.35) 0%, rgba(34, 168, 97, 0) 70%); }
@media (min-width: 1200px) { .dv.ctv { width: 580px; justify-self: end; } }
.ctv__site { position: absolute; left: 0; right: 0; top: 20px; z-index: 2; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.ctv__bar { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #edf0f2; }
.ctv__logo { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); }
.ctv__bar > i { width: 60px; height: 8px; border-radius: 4px; background: #dfe4e7; }
.ctv__phone { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 8px 14px; border-radius: 12px; background: #e8f7ee; box-shadow: inset 0 0 0 2px #22a861; color: #1b5e37; }
.ctv__phone .icon { width: 20px; height: 20px; }
.ctv__nums { position: relative; display: block; width: 172px; height: 22px; overflow: hidden; }
.ctv__n { position: absolute; inset: 0; font-size: 1rem; font-weight: 800; white-space: nowrap; opacity: 0; }
.ctv__n--0 { opacity: 1; }
.ctv__hero { display: grid; gap: 10px; padding: 24px 20px 28px; background: linear-gradient(135deg, #0e6377, #0a4655); }
.ctv__hero b { height: 14px; width: 70%; border-radius: 7px; background: #fff; }
.ctv__hero b.s { width: 45%; background: var(--accent); }
.ctv__hero i { height: 7px; width: 80%; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.ctv__hero i.s { width: 55%; }
.ctv__hero span { width: 150px; height: 34px; margin-top: 6px; border-radius: 10px; background: var(--accent); }
.ctv__visitors { position: absolute; left: 0; top: 270px; z-index: 3; display: grid; gap: 10px; width: 62%; }
.ctv__v { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: #fff; }
.ctv__src { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; }
.ctv__src img { width: 24px; height: 24px; }
.ctv__vt { display: grid; }
.ctv__vt b { font-size: 0.9375rem; }
.ctv__vt em { font-style: normal; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.ctv__num { font-size: 0.75rem; font-weight: 700; color: #4fdc8e; }
.ctv__call { position: absolute; right: 0; top: 300px; z-index: 4; display: flex; align-items: center; gap: 12px; width: 44%; padding: 16px; border-radius: 18px; background: #fff; color: #1b1b1b; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); }
.ctv__ring { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #22a861; color: #fff; }
.ctv__ring .icon { width: 22px; height: 22px; }
.ctv__calls { position: relative; flex: 1; height: 44px; }
.ctv__c { position: absolute; inset: 0; display: grid; align-content: center; opacity: 0; }
.ctv__c b { font-size: 0.875rem; }
.ctv__c span { font-size: 0.75rem; color: #6b757c; }
.ctv__c--0 { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ctv__n, .ctv__c { animation: ctv-swap 9s infinite; }
  .ctv__n--1, .ctv__c--1 { animation-delay: 3s; }
  .ctv__n--2, .ctv__c--2 { animation-delay: 6s; }
  .ctv__n--0, .ctv__c--0 { opacity: 0; }
  .ctv__v { animation: ctv-act 9s infinite; }
  .ctv__v--1 { animation-delay: 3s; }
  .ctv__v--2 { animation-delay: 6s; }
  .ctv__call { animation: ctv-ring 3s infinite; }
  .ctv__ring { animation: ctv-pulse 1s ease-in-out infinite; }
}
@keyframes ctv-swap { 0% { opacity: 0; transform: translateY(8px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes ctv-act { 0%, 33% { background: rgba(79, 220, 142, 0.18); box-shadow: inset 0 0 0 2px #4fdc8e; transform: translateX(10px); } 37%, 100% { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transform: none; } }
@keyframes ctv-ring { 0%, 30% { transform: translateY(10px); opacity: 0; } 40%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes ctv-pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 168, 97, 0.2); } }
@media (max-width: 767px) {
  .ctv__site { top: 0; }
  .ctv__bar { padding: 10px 12px; gap: 8px; }
  .ctv__bar > i { display: none; }
  .ctv__logo { width: 26px; height: 26px; }
  .ctv__phone { padding: 6px 10px; gap: 6px; }
  .ctv__nums { width: 136px; height: 18px; }
  .ctv__n { font-size: 0.8125rem; }
  .ctv__hero { padding: 14px 12px 16px; gap: 7px; }
  .ctv__hero span { width: 100px; height: 24px; }
  .ctv__visitors { top: 175px; width: 100%; gap: 6px; }
  .ctv__v { padding: 6px 10px 6px 6px; grid-template-columns: 32px minmax(0, 1fr); }
  .ctv__src { width: 32px; height: 32px; }
  .ctv__num { display: none; }
  .ctv__call { display: none; }
}
@media (max-width: 767px) {
  .dv.ctv { width: 100%; height: 330px; }
  .ctv__visitors { top: 168px; gap: 6px; }
  .ctv__vt b { font-size: 0.8125rem; }
  .ctv__vt em { font-size: 0.6875rem; }
  @keyframes ctv-act { 0%, 33% { background: rgba(79, 220, 142, 0.18); box-shadow: inset 0 0 0 2px #4fdc8e; } 37%, 100% { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); } }
}
@media (max-width: 767px) { .dv.ctv { height: 350px; } .ctv__visitors { top: 186px; } }

/* ==========================================================================
   IP-телефония: звонок → голосовое меню → очередь → запись в CRM
   ========================================================================== */
.sp-hero__box:has(.pbx) { background: radial-gradient(55% 70% at 78% 35%, rgba(138, 108, 240, 0.24) 0%, rgba(138, 108, 240, 0) 60%), radial-gradient(45% 55% at 95% 95%, rgba(14, 99, 119, 0.5) 0%, rgba(14, 99, 119, 0) 60%), #0b0d14; }
.sp-hero__box:has(.pbx) .sp-hero__title span { color: #b3a0ff; }
.pbx__glow { background: radial-gradient(circle, rgba(138, 108, 240, 0.4) 0%, rgba(138, 108, 240, 0) 70%); }
@media (min-width: 1200px) { .dv.pbx { width: 540px; justify-self: end; } }
.pbx__card { position: absolute; inset: 10px 0; z-index: 2; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 24px; background: #f5f6fa; color: #1b1b1b; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55); }
.pbx__in { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 2px #22a861; }
.pbx__ring { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #22a861; color: #fff; }
.pbx__ring .icon { width: 24px; height: 24px; }
.pbx__num { display: grid; flex: 1; }
.pbx__num b { font-size: 1.0625rem; }
.pbx__num em { font-style: normal; font-size: 0.8125rem; color: #6b757c; }
.pbx__tag { padding: 4px 10px; border-radius: 999px; background: #e8f7ee; color: #1b7a43; font-size: 0.75rem; font-weight: 800; }
.pbx__lbl { margin-bottom: 8px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #8a929a; }
.pbx__menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pbx__opt { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #fff; font-size: 0.875rem; font-weight: 700; }
.pbx__opt span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: #eceef4; font-size: 0.8125rem; }
.pbx__staff { display: grid; gap: 8px; }
.pbx__emp { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.pbx__ava { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; }
.pbx__who { display: grid; flex: 1; }
.pbx__who b { font-size: 0.9375rem; }
.pbx__who em { font-style: normal; font-size: 0.75rem; color: #8a929a; }
.pbx__st { width: 10px; height: 10px; border-radius: 50%; background: #cfd4dc; }
.pbx__emp--1 .pbx__st { background: #22a861; }
.pbx__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px 14px; border-radius: 14px; background: #1b1e2b; color: #fff; font-size: 0.8125rem; font-weight: 700; }
.pbx__rec { display: flex; align-items: center; gap: 6px; }
.pbx__rec i { width: 9px; height: 9px; border-radius: 50%; background: #e5484d; }
.pbx__wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 24px; }
.pbx__wave u { flex: 1; height: 35%; border-radius: 2px; background: #b3a0ff; }
.pbx__wave u:nth-child(3n) { height: 85%; } .pbx__wave u:nth-child(4n+1) { height: 60%; } .pbx__wave u:nth-child(5n) { height: 100%; }
.pbx__crm { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #fff; color: #1b1b1b; }
.pbx__crm img { width: 20px; height: 20px; border-radius: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .pbx__ring { animation: pbx-ring 1.2s ease-in-out infinite; }
  .pbx__opt--0 { animation: pbx-opt 8s infinite; }
  .pbx__emp--1 { animation: pbx-emp 8s infinite; }
  
  .pbx__rec i { animation: pbx-blink 1s steps(1) infinite; }
  .pbx__wave u { animation: mk-wave 1.1s ease-in-out infinite; transform-origin: center; }
  .pbx__wave u:nth-child(2n) { animation-delay: .2s; } .pbx__wave u:nth-child(3n) { animation-delay: .35s; }
}
@keyframes pbx-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 168, 97, 0.45); } 50% { box-shadow: 0 0 0 10px rgba(34, 168, 97, 0); } }
@keyframes pbx-opt { 0%, 15% { background: #fff; color: inherit; } 22%, 92% { background: #8a6cf0; color: #fff; } 100% { background: #fff; } }
@keyframes pbx-emp { 0%, 35% { box-shadow: none; transform: none; } 42%, 92% { box-shadow: 0 0 0 2px #22a861, 0 12px 24px rgba(34, 168, 97, 0.2); transform: translateX(8px); } 100% { box-shadow: none; transform: none; } }
@keyframes pbx-blink { 50% { opacity: 0.2; } }
@media (max-width: 767px) {
  .dv.pbx { width: 100%; height: 380px; }
  .pbx__card { inset: 0; padding: 14px; gap: 10px; border-radius: 18px; }
  .pbx__in { padding: 10px; gap: 10px; }
  .pbx__ring { width: 38px; height: 38px; }
  .pbx__num b { font-size: 0.875rem; }
  .pbx__tag { display: none; }
  .pbx__opt { padding: 7px; gap: 5px; font-size: 0.6875rem; }
  .pbx__opt span { width: 20px; height: 20px; }
  .pbx__emp { padding: 6px 10px; }
  .pbx__emp--2 { display: none; }
  .pbx__ava { width: 30px; height: 30px; }
  .pbx__foot { padding: 8px 10px; }
}

/* ===== Лента событий на телефоне: компактная «пилюля» в одну строку под визуалом (все страницы услуг) ===== */
@media (max-width: 767px) {
  .sp-hero [data-feed].dv__feed {
    top: auto; right: auto; left: 50%; bottom: -14px; transform: translateX(-50%);
    width: max-content; max-width: min(300px, calc(100vw - 72px)); display: block; z-index: 3;
  }
  .sp-hero .cv [data-feed].dv__feed { zoom: 1.72; bottom: -6px; }
  .sp-hero .shv [data-feed].dv__feed { display: none; }
  .sp-hero [data-feed] .dv-ev:not(:last-child) { display: none; }
  .sp-hero [data-feed] .dv-ev {
    grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.96); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5);
  }
  .sp-hero [data-feed] .dv-ev__ico { width: 22px; height: 22px; border-radius: 50%; }
  .sp-hero [data-feed] .dv-ev__ico .icon { width: 12px; height: 12px; }
  .sp-hero [data-feed] .dv-ev p { min-width: 0; margin: 0; }
  .sp-hero [data-feed] .dv-ev b { font-size: 0.75rem; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sp-hero [data-feed] .dv-ev p span { display: none; }
}

/* Телефон: без надзаголовка — первый экран легче, сразу H1 после крошек */
@media (max-width: 767px) {
  .sp-hero__eyebrow { display: none; }
  .sp-hero .crumbs + .sp-hero__title, .sp-hero .crumbs ~ .sp-hero__title { margin-top: var(--space-16); }
}
@media (max-width: 400px) { .sp-plan__price { font-size: clamp(1.5rem, 7.6vw, 2rem); overflow-wrap: anywhere; } }

/* reviews.css */
/* ==========================================================================
   Отзывы: рейтинг, карусель цитат из писем, галерея сканов, просмотрщик
   ========================================================================== */

.reviews { background: var(--bg-subtle); overflow: clip; }

/* ---------- Рейтинг в заголовке ---------- */
.rating-card {
  display: flex; align-items: center; gap: var(--space-16); flex: none;
  padding: var(--space-16) var(--space-24); border-radius: var(--radius-xl); background: var(--bg-raised);
}
.rating-card__value { font-family: var(--font-display); font-weight: 600; font-size: 2.5rem; line-height: 1; }
.rating-card__meta { display: flex; flex-direction: column; gap: 4px; }
.rating-card .stars .icon { width: 18px; height: 18px; }

/* ---------- Карусель ---------- */
.quotes { position: relative; }
.quotes__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--space-16)) / 3);
  gap: var(--space-16); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding-bottom: 4px;
}
.quotes__track::-webkit-scrollbar { display: none; }
.quote {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: var(--space-24);
  padding: 32px; border-radius: var(--radius-xl); background: var(--bg-raised);
}
.quote__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); }
.quote__mark { font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: 0.6; height: 28px; color: var(--accent); }
.quote__text { flex: 1; font-size: 1.125rem; line-height: 1.5; }
.quote__author { display: flex; align-items: center; gap: var(--space-12); padding-top: var(--space-20); border-top: 1px solid var(--border); }
.quote__avatar {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-soft); color: var(--on-primary-soft);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.quote__who { flex: 1; min-width: 0; }
.quote__name { display: block; font-weight: 600; line-height: 1.4; }
.quote__role { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.quote__doc {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 36px; padding: 0 var(--space-12); border-radius: var(--radius-full);
  background: var(--bg-subtle); font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.quote__doc:hover { background: var(--primary-soft); color: var(--on-primary-soft); }
.quote__doc .icon { width: 16px; height: 16px; }

.quotes__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); margin-top: var(--space-24); }
.quotes__dots { display: flex; gap: 6px; }
.quotes__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--border); transition: width 250ms var(--ease-out), background-color 250ms ease; }
.quotes__dot[aria-current="true"] { width: 28px; background: var(--primary); }
.quotes__arrows { display: flex; gap: var(--space-8); }
.quotes__arrows .icon-btn { background: var(--bg-raised); }
.quotes__arrows .icon-btn[disabled] { opacity: 0.4; cursor: default; }
.quotes__arrows .icon-btn:not([disabled]):hover { background: var(--primary); color: var(--on-primary); }
.icon--flip { transform: scaleX(-1); }

/* ---------- Галерея писем ---------- */
.letters { margin-top: var(--space-64); }
.letters__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-16); margin-bottom: var(--space-24); }
.letters__grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: var(--space-12); }
.letter {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 360 / 509; border-radius: var(--radius-m); background: var(--bg-raised);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease;
}
.letter img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.letter::after {
  content: attr(data-company); position: absolute; inset: auto 0 0 0;
  padding: 24px 8px 8px; font-size: 0.75rem; font-weight: 600; line-height: 1.2; color: #fff;
  background: linear-gradient(to bottom, transparent, rgba(18, 22, 20, 0.75));
  opacity: 0; transition: opacity 200ms ease;
}
.letter:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow-m); }
.letter:hover::after, .letter:focus-visible::after { opacity: 1; }

/* ---------- Просмотрщик ---------- */
.viewer {
  width: min(960px, calc(100vw - 32px)); height: min(1200px, calc(100dvh - 32px)); max-height: none;
  padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--bg-raised); color: var(--text);
  box-shadow: var(--shadow-l); overflow: hidden;
}
.viewer::backdrop { background: rgba(18, 22, 20, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.viewer[open] { display: flex; flex-direction: column; animation: viewer-in 220ms var(--ease-out) both; }
@keyframes viewer-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); padding: var(--space-12) var(--space-12) var(--space-12) var(--space-24); border-bottom: 1px solid var(--border); }
.viewer__title { font-weight: 600; }
/* Документ целиком помещается в окно — без прокрутки, печать и подпись видны сразу */
.viewer__body { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--bg-subtle); }
.viewer__body img {
  position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px);
  object-fit: contain; filter: drop-shadow(0 4px 16px rgba(18, 22, 20, 0.14));
}
.viewer__nav { display: flex; gap: var(--space-8); }

/* ---------- Анимация ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .letters__grid .letter { opacity: 0; transform: translateY(16px); }
  .js .letters__grid.is-in .letter { opacity: 1; transform: none; transition: opacity 500ms ease, transform 700ms var(--ease-out); transition-delay: calc(var(--i) * 60ms); }
  .js .letters__grid.is-in .letter:hover { transform: translateY(-4px) rotate(-1deg); transition-delay: 0ms; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
  .quotes__track { grid-auto-columns: calc((100% - var(--space-16)) / 2); }
  .letters__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rating-card { width: 100%; }
  .quotes__track { grid-auto-columns: 86%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .quote { padding: 24px; }
  .quote__text { font-size: 1rem; }
  .quote__author { flex-wrap: wrap; row-gap: var(--space-12); }
  .quote__who { min-width: calc(100% - 60px); }
  .quote__doc { margin-left: 60px; }
  .quotes__arrows { display: none; }
  .letters { margin-top: var(--space-48); }
  .letters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
  .letters__head { flex-direction: column; gap: 4px; }
  .viewer__bar { padding-left: var(--space-16); }
  .viewer { height: calc(100dvh - 24px); width: calc(100vw - 16px); }
  .viewer__body img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
}

/* about.css */
/* ==========================================================================
   Обо мне
   ========================================================================== */

.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-64); align-items: start; }

/* ---------- Фото ---------- */
.about__media { position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); }
.about__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-block); background: #8f9089; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.award {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: var(--space-12);
  padding: 14px 16px; border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-m);
}
.award__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-m); background: var(--accent); color: var(--on-accent); }
.award__ico .icon { width: 22px; height: 22px; }
.award__title { display: block; font-weight: 600; line-height: 1.3; }
.award__sub { display: block; font-size: 0.8125rem; color: var(--text-muted); }

/* ---------- Текст ---------- */
.about__body { display: flex; flex-direction: column; gap: var(--space-32); }
.about__intro { display: flex; flex-direction: column; gap: var(--space-16); }
.about__lead { color: var(--text-secondary); }

.principles { display: grid; gap: 0; border-top: 1px solid var(--border); }
.principle { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-16); padding: var(--space-20) 0; border-bottom: 1px solid var(--border); }
.principle__num { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--primary); }
.principle__title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.principle__text { margin-top: 4px; color: var(--text-secondary); }

.about__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12); }
.stat { display: flex; align-items: baseline; gap: var(--space-12); padding: var(--space-20) var(--space-24); border-radius: var(--radius-l); background: var(--bg-subtle); }
.stat__value { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.1; white-space: nowrap; }
.stat__label { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--text-secondary); }
.stat--brand { background: var(--primary); color: var(--on-primary); }
.stat--brand .stat__label { color: rgba(255, 255, 255, 0.8); }

.certs__title { margin-bottom: var(--space-12); font-size: 0.875rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.certs__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-12); }
.cert-card { display: block; width: 100%; border-radius: var(--radius-m); }
.cert-card__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; padding: 12px; border-radius: var(--radius-m); background: var(--bg-subtle); overflow: hidden; transition: background-color 200ms ease; }
.cert-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 10px rgba(18, 22, 20, 0.12); transition: transform 300ms var(--ease-out); }
.cert-card:hover .cert-card__img { background: var(--bg-brand); }
.cert-card:hover .cert-card__img img { transform: scale(1.05) rotate(-1deg); }
.certs__note { margin-top: var(--space-12); font-size: 0.8125rem; color: var(--text-muted); }
.cert {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: var(--radius-full);
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--border);
  font-size: 0.875rem; line-height: 1.3;
}
.cert .icon { width: 18px; height: 18px; color: var(--success-text); }
.cert b { font-weight: 600; }

.tg-card {
  display: flex; align-items: center; gap: var(--space-16);
  padding: var(--space-20) var(--space-24); border-radius: var(--radius-xl);
  background: var(--bg-brand);
  transition: transform 200ms var(--ease), box-shadow var(--dur) var(--ease);
}
.tg-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.tg-card__avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg-raised); }
.tg-card__sub b { font-weight: 600; color: var(--text); }
.tg-card__desc { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--text-muted); }
.tg-card__text { flex: 1; min-width: 0; }
.tg-card__title { display: block; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.tg-card__sub { display: block; font-size: 0.875rem; color: var(--text-secondary); }
.tg-card .btn { flex: none; }

/* ---------- Анимация ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .principles .principle { opacity: 0; transform: translateX(-12px); transition: opacity 500ms ease, transform 700ms var(--ease-out); transition-delay: calc(var(--i) * 140ms + 100ms); }
  .js .principles.is-in .principle { opacity: 1; transform: none; }
  .js .certs__grid .cert-card { opacity: 0; transform: scale(0.92); transition: opacity 400ms ease, transform 500ms var(--ease-out); transition-delay: calc(var(--i) * 50ms); }
  .js .certs.is-in .cert-card { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
  .about__grid { gap: var(--space-32); }
}
@media (max-width: 899px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 1199px) { .certs__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .certs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
  .about__photo { border-radius: var(--radius-xl); aspect-ratio: 1 / 1; }
  .award { left: 12px; right: 12px; bottom: 12px; }
  .principle { grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-12); }
  .principle__num { font-size: 1.375rem; }
  .stat { flex-direction: column; gap: 6px; padding: var(--space-16); }
  .stat:last-child { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: var(--space-12); }
  .tg-card { flex-wrap: wrap; padding: var(--space-20); }
  .tg-card .btn { width: 100%; }
}
.about__more { align-self: flex-start; }

/* faq.css */
/* ==========================================================================
   Частые вопросы — нативный <details>, работает без JS
   ========================================================================== */

.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-64); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); display: flex; flex-direction: column; gap: var(--space-24); }
.faq__sub { color: var(--text-secondary); }

.ask-card { display: flex; flex-direction: column; gap: var(--space-16); padding: 28px; border-radius: var(--radius-xl); background: var(--bg-inverse); color: var(--text-inverse); }
.ask-card__text { color: rgba(255, 255, 255, 0.72); }
.ask-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.ask-card .btn--ghost { color: var(--text-inverse); border-color: rgba(255, 255, 255, 0.24); }
.ask-card .btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); }

.faq__list { display: grid; gap: var(--space-8); }
.qa { border-radius: var(--radius-l); background: var(--bg-subtle); transition: background-color var(--dur) var(--ease); }
.qa[open] { background: var(--bg-raised); box-shadow: inset 0 0 0 1.5px var(--border); }
.qa__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-16);
  padding: var(--space-20) var(--space-24); cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 600; line-height: 1.35;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--primary); }
.qa__q:focus-visible { outline-offset: -2px; border-radius: var(--radius-l); }
.qa__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-raised); transition: background-color 200ms ease, transform 300ms var(--ease-out);
}
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; }
.qa__icon::after { transform: rotate(90deg); transition: transform 300ms var(--ease-out); }
.qa[open] .qa__icon { background: var(--primary); color: var(--on-primary); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }

.qa__a { padding: 0 var(--space-24) var(--space-24); color: var(--text-secondary); }
.qa__a p + p, .qa__a p + ul, .qa__a ul + p { margin-top: var(--space-12); }
.qa__a ul { display: grid; gap: 6px; }
.qa__a li { position: relative; padding-left: 18px; }
.qa__a li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.qa__a b { color: var(--text); font-weight: 600; }

/* Плавное раскрытие там, где браузер это умеет (Chrome 131+); в остальных — мгновенно */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq__list { interpolate-size: allow-keywords; }
    .qa::details-content { height: 0; overflow: clip; transition: height 350ms var(--ease-out), content-visibility 350ms allow-discrete; }
    .qa[open]::details-content { height: auto; }
  }
}

@media (max-width: 1023px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-16); }
  .faq__aside { display: contents; }
  .faq__list { order: 2; margin-top: var(--space-16); }
  .ask-card { order: 3; margin-top: var(--space-16); }
}
@media (max-width: 767px) {
  .qa__q { padding: var(--space-16) var(--space-16) var(--space-16) var(--space-20); font-size: 1rem; }
  .qa__a { padding: 0 var(--space-20) var(--space-20); }
  .ask-card { padding: 24px; }
  .ask-card__actions .btn { flex: 1; }
}
@media (max-width: 767px) { .ask-card__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; } .ask-card__actions .btn { width: 100%; } }

/* footer.css */
/* ==========================================================================
   Подвал
   ========================================================================== */

.site-footer {
  position: relative; overflow: hidden;
  margin-top: var(--space-32);
  padding: 72px 0 var(--space-32);
  background: var(--bg-inverse); color: var(--text-inverse);
  border-radius: var(--radius-block) var(--radius-block) 0 0;
}
/* Крупный знак-магнит фоном */
.site-footer::before {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 520px; height: 520px;
  background: url("../img/logo/logo-mark.svg") center / contain no-repeat;
  opacity: 0.05; pointer-events: none;
}

.footer__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-32); padding-bottom: var(--space-48); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer__brand { display: flex; flex-direction: column; gap: var(--space-16); max-width: 520px; }
.footer__logo img { height: 52px; width: auto; }
.footer__cta { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-12); }
.footer__cta-note { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); }

.footer__cols { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: var(--space-32); padding: var(--space-48) 0; }
.footer__title { margin-bottom: var(--space-16); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: rgba(255, 255, 255, 0.85); transition: color var(--dur) var(--ease); }
.footer__links a:hover { color: var(--accent); }

.footer__contacts { display: grid; gap: var(--space-16); }
.f-contact { display: flex; align-items: center; gap: var(--space-12); }
.f-contact__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--accent); }
.f-contact__ico .icon { width: 20px; height: 20px; }
.f-contact__main { display: block; font-weight: 600; line-height: 1.3; }
.f-contact__sub { display: block; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }
a.f-contact:hover .f-contact__main { color: var(--accent); }

.socials { display: grid; gap: 6px; }
.soc { display: flex; align-items: center; gap: var(--space-12); padding: 6px 0; }
.soc__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius-m); background: #fff; transition: transform 200ms var(--ease-out); }
.soc__ico img { width: 24px; height: 24px; object-fit: contain; }
.soc__name { display: block; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.92); }
.soc__sub { display: block; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }
.soc:hover .soc__ico { transform: translateY(-2px) rotate(-4deg); }
.soc:hover .soc__name { color: var(--accent); }
.footer__cookie { font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.footer__cookie:hover { color: var(--text-inverse); }
.social {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.9);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.social .icon { width: 18px; height: 18px; }
.social:hover { background: var(--accent); color: var(--on-accent); box-shadow: none; }

.footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-12) var(--space-32);
  padding-top: var(--space-24); border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55);
}
.footer__legal { display: flex; flex-direction: column; gap: 4px; }
.footer__docs { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-24); }
.footer__docs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.footer__docs a:hover { color: var(--text-inverse); text-decoration-color: currentColor; }

.to-top {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--text-inverse);
  transition: background-color var(--dur) var(--ease), transform 200ms var(--ease);
}
.to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top:hover { background: var(--primary); transform: translateY(-2px); }

.site-footer :focus-visible { outline-color: var(--accent); }

/* ---------- Адаптив ---------- */
@media (max-width: 1023px) {
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__cta { align-items: flex-start; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .site-footer { padding-top: var(--space-48); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .site-footer::before { width: 320px; height: 320px; right: -80px; bottom: -60px; }
  .footer__logo img { height: 44px; }
  .footer__top { padding-bottom: var(--space-32); gap: var(--space-24); }
  .footer__cta, .footer__cta .btn { width: 100%; }
  .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-32) var(--space-16); padding: var(--space-32) 0; }
  .footer__col--contacts { grid-column: 1 / -1; order: -1; }
  .footer__col--social { grid-column: 1 / -1; order: 1; }
  .socials { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { align-items: flex-end; }
  .footer__legal { max-width: calc(100% - 60px); }
}

/* modal.css */
/* ==========================================================================
   Попапы заявок: аудит (2 шага), консультация, разработка сайта
   ========================================================================== */

.lead-modal {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--radius-xl);
  background: var(--bg-raised); color: var(--text); box-shadow: var(--shadow-l);
  overflow: auto; overscroll-behavior: contain;
}
.lead-modal::backdrop { background: rgba(18, 22, 20, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lead-modal[open] { animation: lm-in 260ms var(--ease-out) both; }
.lead-modal[open]::backdrop { animation: fade-in 200ms ease both; }
@keyframes lm-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

.lm { position: relative; display: flex; flex-direction: column; gap: var(--space-20); padding: 32px; }
.lm__close { position: absolute; top: 16px; right: 16px; }
.lm__head { display: flex; flex-direction: column; gap: var(--space-8); padding-right: 48px; }
.lm__person { display: flex; align-items: center; gap: var(--space-12); margin-bottom: var(--space-8); }
.lm__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--bg-raised), 0 0 0 5px var(--primary-soft); }
.lm__person-name { display: block; font-weight: 600; line-height: 1.3; }
.lm__person-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--success-text); }
.lm__person-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--success-bg); }
.lm__title { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.15; }
.lm__sub { color: var(--text-secondary); }

/* Шаги */
.lm__progress { display: flex; align-items: center; gap: var(--space-12); padding-right: 52px; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }
.lm__dot { display: inline-flex; align-items: center; gap: 8px; }
.lm__dot span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-subtle); color: var(--text-muted); transition: background-color 200ms ease, color 200ms ease; }
.lm__dot[aria-current="step"] { color: var(--text); }
.lm__dot[aria-current="step"] span, .lm__dot.is-done span { background: var(--primary); color: var(--on-primary); }
.lm__line { flex: 1; height: 2px; border-radius: 2px; background: var(--border); position: relative; overflow: hidden; }
.lm__line::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.lm__line.is-done::after { transform: scaleX(1); }

/* Выбор формата */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); border: 0; padding: 0; margin: 0; }
.formats legend { margin-bottom: var(--space-12); font-size: 0.875rem; font-weight: 600; }
.format { position: relative; cursor: pointer; }
.format input { position: absolute; opacity: 0; pointer-events: none; }
.format__card {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: var(--space-16); border-radius: var(--radius-l);
  box-shadow: inset 0 0 0 1.5px var(--border); transition: box-shadow 150ms ease, background-color 150ms ease;
}
.format__ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: var(--radius-m); background: var(--bg-subtle); color: var(--text-secondary); transition: background-color 150ms ease, color 150ms ease; }
.format__ico .icon { width: 22px; height: 22px; }
.format__name { font-weight: 600; }
.format__note { font-size: 0.8125rem; color: var(--text-muted); }
.format:hover .format__card { box-shadow: inset 0 0 0 1.5px var(--border-control); }
.format input:checked + .format__card { background: var(--bg-brand); box-shadow: inset 0 0 0 2px var(--primary); }
.format input:checked + .format__card .format__ico { background: var(--primary); color: var(--on-primary); }
.format input:focus-visible + .format__card { outline: 2px solid var(--focus); outline-offset: 2px; }

.lm__result { padding: var(--space-16) var(--space-20); border-radius: var(--radius-l); background: var(--bg-subtle); }
.lm__result-title { font-size: 0.875rem; font-weight: 600; }
.lm__result-text { margin-top: 4px; font-size: 0.875rem; color: var(--text-secondary); }

.lm__back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); }
.lm__back:hover { color: var(--primary); }

/* Поля в попапе — на сером фоне */
.lead-modal .input { background: var(--bg-subtle); }
.lead-modal .input:hover { border-color: var(--border); }
.lm__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-secondary); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); }

.lm__or { display: flex; align-items: center; gap: var(--space-12); font-size: 0.8125rem; color: var(--text-muted); }
.lm__or::before, .lm__or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.messengers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.messenger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--control-m); border-radius: var(--radius-m); box-shadow: inset 0 0 0 1.5px var(--border);
  font-weight: 600; transition: box-shadow 150ms ease, background-color 150ms ease;
}
.messenger:hover { background: var(--bg-subtle); box-shadow: inset 0 0 0 1.5px var(--border-control); }
.messenger .icon, .messenger img { width: 20px; height: 20px; }
.messenger--tg .icon { color: #229ed9; }

/* Успех */
.lm__done { display: flex; flex-direction: column; align-items: center; gap: var(--space-12); padding: var(--space-24) 0 var(--space-8); text-align: center; }
.lm__done-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--success-bg); color: var(--success-text); animation: pop 400ms var(--ease-out) both; }
.lm__done-ico .icon { width: 36px; height: 36px; stroke-width: 2.25; }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }

[data-step][hidden] { display: none !important; }

@media (max-width: 767px) {
  .lead-modal { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .lead-modal[open] { animation-name: lm-up; }
  @keyframes lm-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .lm { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .lm__title { font-size: 1.375rem; }
  .lm__row { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .format__card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .format__ico { margin: 0; }
  .format__note { flex-basis: 100%; }
}

.lm__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 8px; font-size: 0.875rem; color: var(--text-secondary); }
.lm__list li { position: relative; padding-left: 16px; }
.lm__list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 767px) { .lm__list { grid-template-columns: 1fr; } }

/* ---------- Мобильная форма — в один экран ---------- */
@media (max-width: 767px) {
  .lead-modal { max-height: 100dvh; }
  .lm { gap: 14px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
  .lm__close { top: 10px; right: 10px; }
  .lm__progress { padding-right: 48px; }
  .lm__dot span { width: 22px; height: 22px; font-size: 0.75rem; }
  .lm__title { font-size: 1.25rem; }
  .lm__sub, .lm__analyze, .lm__result, .format__note, .formats legend { display: none !important; }
  .formats { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px !important; }
  .format__card { flex-direction: column; align-items: flex-start; padding: 12px; gap: 6px; min-height: 0; }
  .format__ico { width: 34px; height: 34px; }
  .format__name { font-size: 0.9375rem; line-height: 1.2; }
  .lm [data-step-next] { margin-top: 4px !important; }
  .lm__head { gap: 4px; margin-top: 0 !important; }
  .lm__person { margin-bottom: 4px; gap: 10px; }
  .lm__avatar { width: 40px; height: 40px; }
  .lm__person-status { font-size: 0.75rem; }
  .lead-modal .form { gap: 10px; }
  .lead-modal .input { min-height: 48px; padding-block: 10px; }
  .lead-modal .form .btn--l { min-height: 52px; }
  .lead-modal .checkbox, .lead-modal .consent { font-size: 0.8125rem; }
  .lm__back { font-size: 0.8125rem; }
}

/* cookie.css */
/* Плашка cookie */
.cookie {
  position: fixed; z-index: 60; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: var(--space-16);
  width: min(560px, calc(100vw - 32px)); padding: var(--space-16) var(--space-16) var(--space-16) var(--space-20);
  border-radius: var(--radius-l); background: var(--bg-raised); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-l);
  animation: cookie-in 400ms var(--ease-out, ease) both;
}
.cookie[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--on-accent-soft); }
.cookie__ico .icon { width: 22px; height: 22px; }
.cookie__text { flex: 1; font-size: 0.8125rem; line-height: 1.45; color: var(--text-secondary); }
.cookie__text a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; flex-direction: column; gap: 6px; flex: none; }
.cookie__actions .btn { min-height: 36px; padding: 0 14px; font-size: 0.8125rem; }
.cookie__more { font-size: 0.75rem; color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.cookie__more:hover { color: var(--text); }
@media (max-width: 767px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; width: auto; flex-wrap: wrap; padding: var(--space-16); }
  .cookie__ico { display: none; }
  .cookie__actions { flex-direction: row; width: 100%; align-items: center; }
  .cookie__actions .btn { flex: 1; }
  .cookie__more { flex: none; }
}

/* motion.css */
/* ==========================================================================
   Анимации: появление при прокрутке, фото, «магнитное поле», инфографика.
   Всё включается только при JS (класс .js на <html>) и без prefers-reduced-motion.
   ========================================================================== */

:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- Появление блоков ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Фото: раскрытие маской + лёгкий «наезд» камеры */
  .js [data-reveal="photo"] {
    transform: none; opacity: 1;
    clip-path: inset(7% 7% 7% 7% round var(--radius-block));
    transition: clip-path 1100ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal="photo"].is-in { clip-path: inset(0 round var(--radius-block)); }
  .js [data-reveal="photo"] img { transform: scale(1.08); transition: transform 1600ms var(--ease-out); }
  .js [data-reveal="photo"].is-in img { transform: none; }
}

/* ---------- Магнитное поле за фото ---------- */
.hero { overflow: clip; }
.hero__visual { grid-area: media; align-self: start; position: relative; isolation: isolate; }
.hero__visual .hero__media { grid-area: auto; }
.hero__field {
  position: absolute; z-index: -1; pointer-events: none;
  left: -36.765%; top: -29.412%; width: 173.53%; height: 158.82%;
  overflow: visible;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 82%), linear-gradient(to right, transparent 8%, #000 22%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 82%), linear-gradient(to right, transparent 8%, #000 22%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.hero__field path { fill: none; vector-effect: non-scaling-stroke; }
.field-lines path { stroke: var(--primary); stroke-width: 1.5; opacity: 0.16; }
.field-dots path { stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0 0.0625; opacity: 0.9; }
.field-dots path:nth-child(2) { stroke-width: 5; opacity: 0.6; }
.field-dots path:nth-child(3) { stroke-width: 4; opacity: 0.35; }

@media (prefers-reduced-motion: no-preference) {
  .js .field-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-out); }
  .js .field-lines path:nth-child(2) { transition-delay: 150ms; }
  .js .field-lines path:nth-child(3) { transition-delay: 300ms; }
  .js .hero__visual.is-in .field-lines path { stroke-dashoffset: 0; }

  .js .field-dots { opacity: 0; transition: opacity 800ms ease 900ms; }
  .js .hero__visual.is-in .field-dots { opacity: 1; }
  .field-dots path { animation: field-flow 3.2s linear infinite; }
  .field-dots path:nth-child(2) { animation-duration: 4.4s; animation-direction: reverse; }
  .field-dots path:nth-child(3) { animation-duration: 6s; }
}
@keyframes field-flow { to { stroke-dashoffset: -0.125; } }

@media (max-width: 899px) { .hero__field { display: none; } }

/* ---------- Инфографика в кейсах ---------- */
.funnel { display: grid; gap: 10px; }
.funnel__row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 128px; align-items: center; gap: var(--space-12); font-size: 0.875rem; }
.funnel__name { color: rgba(255, 255, 255, 0.72); }
.funnel__val { font-weight: 600; text-align: right; white-space: nowrap; }
.funnel__track { height: 10px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.funnel__bar { display: block; height: 100%; min-width: 8px; width: var(--w); border-radius: inherit; background: var(--color1-light); }
.funnel__bar--accent { background: var(--accent); }

.bars { display: grid; gap: 8px; margin-top: var(--space-16); }
.bars__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: var(--space-8); font-size: 0.8125rem; color: var(--text-muted); }
.bars__track { height: 8px; border-radius: var(--radius-full); background: var(--bg); overflow: hidden; }
.bars__bar { display: block; height: 100%; min-width: 6px; width: var(--w); border-radius: inherit; background: var(--border-control); }
.bars__bar--brand { background: var(--primary); }

@media (prefers-reduced-motion: no-preference) {
  .js .funnel__bar, .js .bars__bar { width: 0; transition: width 1400ms var(--ease-out) 350ms; }
  .js .bars__row + .bars__row .bars__bar, .js .funnel__row + .funnel__row .funnel__bar { transition-delay: 650ms; }
  .js .is-in .funnel__bar, .js .is-in .bars__bar { width: var(--w); }
}

@media (max-width: 767px) {
  .funnel__row { grid-template-columns: 60px minmax(0, 1fr) auto; gap: var(--space-8); font-size: 0.8125rem; }
}

/* Первый экран виден сразу: без ожидания скрипта анимаций (Speed Index / LCP) */
.js main > section:first-of-type [data-reveal],
.js main > section:first-of-type[data-reveal],
.js main > section:first-of-type .hero__visual { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
.js main > section:first-of-type [data-reveal="photo"] img { transform: none !important; }

/* assistant.css */
/* ==========================================================================
   ИИ-консультант: кнопка в углу + окно чата
   ========================================================================== */
.aiw { --aiw-w: 400px; font-family: var(--font-sans); }
.aiw [hidden] { display: none !important; }

/* --- Кнопка --- */
.aiw__launch {
  position: fixed; z-index: 70; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 6px;
  border-radius: 999px; background: var(--primary); color: #fff;
  box-shadow: 0 16px 36px rgba(14, 99, 119, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-weight: 700; font-size: 0.9375rem;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease);
}
.aiw__launch:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(14, 99, 119, 0.5); }
.aiw__launch-ava { position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--accent); }
.aiw__launch-ava img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.aiw__launch-dot { position: absolute; left: 44px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: #28c941; box-shadow: 0 0 0 3px var(--primary); }
.aiw__launch-txt { display: grid; line-height: 1.15; text-align: left; }
.aiw__launch-txt small { font-size: 0.6875rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.aiw.is-open .aiw__launch { transform: scale(0.8); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .aiw__launch-dot { animation: aiw-pulse 2s ease-in-out infinite; }
  .aiw__launch { animation: aiw-in 600ms var(--ease-out) 1.2s both; }
}
@keyframes aiw-pulse { 50% { box-shadow: 0 0 0 3px var(--primary), 0 0 0 7px rgba(40, 201, 65, 0.25); } }
@keyframes aiw-in { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: none; } }

/* --- Подсказка над кнопкой --- */
.aiw__teaser {
  position: fixed; z-index: 70; right: 20px; bottom: 92px; width: 280px; padding: 14px 36px 14px 16px;
  border-radius: 18px 18px 6px 18px; background: var(--bg-raised); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-l); font-size: 0.9375rem; line-height: 1.4;
  animation: aiw-in 500ms var(--ease-out) both; cursor: pointer;
}
.aiw__teaser b { display: block; margin-bottom: 2px; }
.aiw__teaser-x { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--text-muted); }
.aiw__teaser-x:hover { background: var(--bg-subtle); }
.aiw__teaser-x .icon { width: 14px; height: 14px; }

/* --- Окно --- */
.aiw__panel {
  position: fixed; z-index: 80; right: 20px; bottom: 20px; display: flex; flex-direction: column;
  width: var(--aiw-w); height: min(680px, calc(100dvh - 40px)); border-radius: 24px; overflow: hidden;
  background: var(--bg); box-shadow: 0 30px 80px rgba(11, 18, 20, 0.35), 0 0 0 1px rgba(11, 18, 20, 0.08);
  transform-origin: 100% 100%; animation: aiw-open 300ms var(--ease-out) both;
}
@keyframes aiw-open { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.aiw__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(120deg, #0b1214, #0e3a45); color: #fff; }
.aiw__ava { position: relative; flex: none; width: 44px; height: 44px; }
.aiw__ava img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; box-shadow: 0 0 0 2px var(--accent); }
.aiw__ava-ai { position: absolute; right: -4px; bottom: -3px; padding: 1px 5px; border-radius: 6px; background: var(--accent); color: #1b1b1b; font-size: 0.5625rem; font-weight: 800; }
.aiw__who { flex: 1; min-width: 0; }
.aiw__who b { display: block; font-size: 1rem; }
.aiw__who span { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }
.aiw__who span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #28c941; }
.aiw__hbtn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; }
.aiw__hbtn:hover { background: rgba(255, 255, 255, 0.12); }
.aiw__hbtn .icon { width: 20px; height: 20px; }

.aiw__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-subtle); }
.aiw__note { align-self: center; max-width: 92%; padding: 8px 12px; border-radius: 12px; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border); font-size: 0.75rem; line-height: 1.4; color: var(--text-muted); text-align: center; }
.aiw__msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 0.9375rem; line-height: 1.45; white-space: normal; word-wrap: break-word; animation: aiw-msg 260ms var(--ease-out) both; }
@keyframes aiw-msg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.aiw__msg--bot { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--bg-raised); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.aiw__msg--me { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--primary); color: #fff; }
.aiw__msg p + p, .aiw__msg p + ul, .aiw__msg ul + p { margin-top: 6px; }
.aiw__msg ul { display: grid; gap: 3px; padding-left: 0; }
.aiw__msg li { position: relative; padding-left: 14px; }
.aiw__msg li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.aiw__msg b { font-weight: 700; }
.aiw__links { display: grid; gap: 6px; align-self: flex-start; width: 86%; }
.aiw__link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--bg-raised); box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); font-size: 0.875rem; font-weight: 700; }
.aiw__link:hover { background: var(--primary-soft); }
.aiw__link .icon { width: 16px; height: 16px; flex: none; }
.aiw__typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--bg-raised); }
.aiw__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: aiw-dot 1.2s ease-in-out infinite; }
.aiw__typing i:nth-child(2) { animation-delay: 0.15s; }
.aiw__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiw-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.aiw__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--bg-subtle); }
.aiw__chip { padding: 8px 12px; border-radius: 999px; background: var(--bg-raised); box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); font-size: 0.8125rem; font-weight: 700; text-align: left; }
.aiw__chip:hover { background: var(--primary); color: #fff; }

/* --- Форма контактов внутри чата --- */
.aiw__form { align-self: stretch; display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: var(--bg-raised); box-shadow: inset 0 0 0 2px var(--accent), 0 10px 24px rgba(232, 163, 61, 0.15); animation: aiw-msg 260ms var(--ease-out) both; }
.aiw__form-t { font-weight: 800; }
.aiw__form-s { margin-top: -4px; font-size: 0.8125rem; color: var(--text-muted); }
.aiw__form input[type="text"], .aiw__form input[type="tel"] { width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border); font: inherit; font-size: 1rem; color: var(--text); }
.aiw__form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--primary); }
.aiw__form input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e5484d; }
.aiw__via { display: flex; gap: 6px; }
.aiw__via label { flex: 1; }
.aiw__via input { position: absolute; opacity: 0; pointer-events: none; }
.aiw__via span { display: block; padding: 8px 4px; border-radius: 10px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border); font-size: 0.8125rem; font-weight: 700; text-align: center; cursor: pointer; }
.aiw__via input:checked + span { background: var(--primary); color: #fff; box-shadow: none; }
.aiw__via input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.aiw__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.75rem; line-height: 1.4; color: var(--text-secondary); }
.aiw__consent input { margin-top: 2px; flex: none; accent-color: var(--primary); }
.aiw__consent a { color: var(--text-link); text-decoration: underline; }
.aiw__form .btn { width: 100%; }
.aiw__err { font-size: 0.8125rem; color: #c23a3e; }
.aiw__done { align-self: stretch; padding: 16px; border-radius: 18px; background: #e8f7ee; color: #1b5e37; font-size: 0.9375rem; line-height: 1.45; }
.aiw__done b { display: block; margin-bottom: 4px; font-size: 1.0625rem; }

/* --- Ввод --- */
.aiw__foot { padding: 10px 12px 12px; background: var(--bg); border-top: 1px solid var(--border); }
.aiw__input { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 22px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border); }
.aiw__input:focus-within { box-shadow: inset 0 0 0 2px var(--primary); }
.aiw__input textarea { flex: 1; min-height: 24px; max-height: 120px; padding: 7px 0; border: 0; background: none; resize: none; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--text); outline: none; }
.aiw__send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #1b1b1b; }
.aiw__send:disabled { opacity: 0.4; cursor: default; }
.aiw__send .icon { width: 18px; height: 18px; }
.aiw__meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 0 4px; font-size: 0.6875rem; color: var(--text-muted); }
.aiw__meta button { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* --- Мобильные: окно на весь экран --- */
@media (max-width: 767px) {
  .aiw__launch { right: 12px; bottom: 12px; height: 56px; padding: 0 4px; }
  .aiw__launch-ava { width: 48px; height: 48px; }
  .aiw__launch-txt { display: none; }
  .aiw__launch-dot { left: 40px; top: 4px; }
  .aiw__teaser { right: 12px; bottom: 80px; width: calc(100vw - 88px); max-width: 280px; }
  .aiw__panel { inset: 0; width: 100%; height: 100dvh; border-radius: 0; }
  body:has(.cookie:not([hidden])) .aiw__launch { bottom: 150px; }
  body:has(.cookie:not([hidden])) .aiw__teaser { display: none; }
  body.aiw-locked { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .aiw__panel, .aiw__msg, .aiw__form, .aiw__teaser, .aiw__launch { animation: none; } }

/* Уходит, когда мешает заявке (меню, окно, форма в зоне видимости, ввод в поле) */
.aiw__launch, .aiw__teaser { transition: opacity 200ms ease, transform 250ms ease, visibility 0s; }
.aiw.is-away .aiw__launch, .aiw.is-away .aiw__teaser { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; transition: opacity 200ms ease, transform 250ms ease, visibility 0s 250ms; }

