/* ============================================================
   ТОЧКА ЯСНОСТИ — дизайн-система
   Премиальный минимализм · скруглённые объекты · синий/белый/серый
   ============================================================ */

:root {
  /* Цвета */
  --bg: #EDF1F7;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --ink: #0C1A33;
  --ink-2: #45536D;
  --ink-3: #5C6D89;
  --line: #E2E8F2;

  --blue: #2456E6;
  --blue-deep: #1B41C0;
  --blue-ink: #0E2A66;
  --blue-soft: #E9F0FF;
  --blue-100: #D9E5FA;

  --navy: #0B1D4E;
  --navy-2: #122E7E;

  --btn-gray: #E8EDF4;
  --btn-gray-h: #DBE2EE;

  /* Геометрия */
  --r-xl: 40px;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;

  --side-w: 264px;
  --pad: 26px;
  --gap: 24px;

  /* Центрирование макета на широких экранах (референс thirdopinion.ai):
     общая ширина «оболочки» = pad + сайдбар + gap + max-width страницы.
     Всё, что шире, делится поровну на поля слева и справа */
  --shell-max: 1774px;
  --shell-edge: max(0px, calc((100vw - var(--shell-max)) / 2));

  /* Единая высота пилюль первого экрана: тег hero = бейдж «Атлас» */
  --hero-pill-h: 38px;

  /* Тени */
  --shadow-lg: 0 32px 72px -32px rgba(14, 42, 102, 0.20);
  --shadow-md: 0 18px 44px -20px rgba(14, 42, 102, 0.14);
  --shadow-sm: 0 8px 24px -10px rgba(14, 42, 102, 0.10);

  --ease: cubic-bezier(0.22, 0.72, 0.24, 1);
  /* Мягкая «посадка» появлений: длинное экспо-замедление без отскока
     (кривая из референса заказчика по анимациям) */
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  /* ═══ Базовая стеклянная поверхность ═══ */
  --glass-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 1.8px 3px 0px -2px rgba(255, 255, 255, 0.27),
    inset -2px -2px 0px -2px rgba(255, 255, 255, 0.24),
    inset -3px -8px 1px -6px rgba(255, 255, 255, 0.18),
    inset -0.3px -1px 4px 0px rgba(0, 0, 0, 0.24),
    inset -1.5px 2.5px 0px -2px rgba(0, 0, 0, 0.4),
    inset 0px 3px 4px -2px rgba(0, 0, 0, 0.4),
    inset 2px -6.5px 1px -4px rgba(0, 0, 0, 0.2),
    0px 1px 5px 0px rgba(0, 0, 0, 0.2),
    0px 6px 16px 0px rgba(0, 0, 0, 0.16);

  /* ═══ Активное / нажатое состояние (табы, сегменты) ═══ */
  --glass-shadow-active:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 1px 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px -1px 0 0 rgba(255, 255, 255, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.15);

  /* ═══ Ползунок-индикатор (сегментированный переключатель) ═══ */
  --glass-shadow-indicator:
    inset 0 0 0 1px #ffffff08,
    inset 2px 1px 0 -1px #ffffff45,
    inset -1.5px -1px 0 -1px #ffffff3d,
    inset -2px -6px 1px -5px #ffffff2e,
    inset -1px 2px 3px -1px #0006,
    inset 0 -4px 1px -2px #0003,
    0 3px 6px #00000029;
}

/* Базовое стекло — вешать на любую поверхность */
.glass { box-shadow: var(--glass-shadow); }

/* Активное стекло — подсветка нажатого/выбранного элемента */
.glass-active { box-shadow: var(--glass-shadow-active); }

/* Стеклянный ползунок-индикатор */
.glass-indicator { box-shadow: var(--glass-shadow-indicator); }

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

::selection { background: var(--blue-100); color: var(--blue-ink); }

:focus-visible {
  outline: 3px solid rgba(36, 86, 230, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============================================================
   САЙДБАР — плавающая геометрическая фигура слева
   ============================================================ */
.side {
  position: fixed;
  left: calc(var(--shell-edge) + var(--pad));
  top: var(--pad);
  bottom: var(--pad);
  width: var(--side-w);
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 30px 20px 22px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  /* Опоздание opacity: панель сначала заметно сжимается, потом тает —
     сворачивание читается как «уход в точку», а не как исчезновение */
  transition: transform 0.7s var(--ease), opacity 0.45s var(--ease) 0.15s, box-shadow 0.5s var(--ease);
}
.side::-webkit-scrollbar { display: none; }

/* Невысокие окна: ужимаем сайдбар, чтобы контент помещался целиком
   и внутренний мини-скролл не появлялся */
@media (min-width: 1121px) and (max-height: 820px) {
  .side { padding: 20px 18px 16px; }
  .side .brand { margin-bottom: 16px; }
  .side-label { margin: 10px 0 5px; }
  .side-nav a { padding: 8px 14px; font-size: 14px; }
  .side-foot { padding-top: 12px; }
  .side-progress { margin-bottom: 12px; }
  .side-cta .btn { padding: 11px 16px; }
  .side-next { width: 43px; height: 43px; }
}

.side.is-scrolled { box-shadow: var(--shadow-lg); }

/* Логотип */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  margin-bottom: 30px;
}
/* Фирменный знак (assets/images/logo_new.svg): вписывается в квадрат
   34px без искажения пропорций, по ховеру — мягкое приближение */
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.1); }
.brand-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.brand-name small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}

/* Навигация */
.side-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 14px;
  margin: 18px 0 8px;
}
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10.5px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    /* стаггер входа: --i ставится в main.js */
    opacity 0.5s var(--ease) calc(0.26s + var(--i, 0) * 0.05s);
}
.side-nav a .ic { width: 18px; height: 18px; flex: none; opacity: 0.75; }
.side-nav a:hover { background: var(--surface-2); color: var(--ink); transform: translateX(2px); }
.side-nav a.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(36, 86, 230, 0.55);
}
.side-nav a.is-active .ic { opacity: 1; }

/* Низ сайдбара */
.side-foot { margin-top: auto; padding-top: 22px; }
.side-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin: 0 6px 16px;
}
.side-progress i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #6E93F5);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.15s linear;
}
.side-cta { display: flex; gap: 10px; }
.side-cta .btn { flex: 1; justify-content: center; padding: 13px 18px; }
.side-next {
  flex: none;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #C5D3E8;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.side-next:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px transparent, 0 10px 20px -8px rgba(36, 86, 230, 0.55);
  transform: translateY(3px);
}
.side-next .ic { width: 17px; height: 17px; }

/* ============================================================
   МОБИЛЬНАЯ ШАПКА
   ============================================================ */
.topbar {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  top: 16px;
  z-index: 110;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 10px 12px 10px 18px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.topbar .brand { margin: 0; padding: 0; }
/* Бургер: три полу-чёрные линии, средняя короче — «живой» асимметричный
   штрих. Линии позиционируются абсолютно от центра кнопки, поэтому
   морф в крест — чистый поворот вокруг центра, без скачков. */
.burger {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--btn-gray);
  transition: background 0.3s var(--ease);
}
.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  margin: -1px 0 0 -10px;
  border-radius: 999px;
  background: rgba(13, 22, 44, 0.72);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.burger span:nth-child(1) { transform: translateY(-6.5px); }
.burger span:nth-child(2) { transform: scaleX(0.7); transform-origin: 0 50%; }
.burger span:nth-child(3) { transform: translateY(6.5px); }
.burger:hover span, .burger:active span { background: var(--ink); }
body.menu-open .burger { background: var(--blue-soft); }
body.menu-open .burger span { background: var(--blue-ink); }
body.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; transform: translateX(8px) scaleX(0.4); }
body.menu-open .burger span:nth-child(3) { transform: rotate(-45deg); }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(11, 29, 78, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
body.menu-open .scrim { opacity: 1; pointer-events: auto; }

/* ============================================================
   ОСНОВНАЯ ОБЛАСТЬ
   ============================================================ */
.page {
  margin-left: calc(var(--shell-edge) + var(--pad) + var(--side-w) + var(--gap));
  padding: var(--pad) var(--pad) var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  max-width: 1460px;
}

.card {
  background: var(--surface);
  border-radius: var(--r-lg);
}

/* Типографика */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.3vw, 62px); }
/* H2 по референсам (Heart Bloom, Medivise): крупнее и легче —
   иерархия размером, а не жирностью */
h2 { font-size: clamp(30px, 3.1vw, 46px); font-weight: 700; letter-spacing: -0.035em; }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }

.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); line-height: 1.7; }
/* Двухцветная фраза: смысловое начало — тёмным, хвост — серым */
.lead strong { font-weight: 600; color: var(--ink); }

/* Пилюля-тег вместо «точки»: паттерн секционных лейблов из референсов
   (Humanex / Nexura Care) — капсула с мягкой синей заливкой и hairline-рамкой */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(36, 86, 230, 0.16);
  border-radius: 999px;
  padding: 5.5px 12px;
  line-height: 1.5;
}

.dot-accent { color: var(--blue); }
/* Двухцветный заголовок (референсы MyDNA / Nexura): смысловое ядро тёмным,
   хвост пригашён — иерархия внутри самой фразы */
.h1-soft { color: #7A8AA9; }

/* Кнопки — мягкий премиальный отклик (в языке SAT-сайта):
   короткий transition, рассеянная тень-свечение, лёгкий подъём на 1px.
   Без жёстких тёмных inset-теней и «шторок» — глубина только светом */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 27px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn .ic { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translateY(1px); transition-duration: 0.1s; }

/* Плоская синяя пилюля (по базе референсов — Gudrix / Humanex / Nexura:
   кнопки без внутренних теней, бликов и градиентных «шторок») — глубина
   только наружными чернильными тенями: контактная у кромки + рассеянная
   ниже. По ховеру мягкий кроссфейд в более тёмный синий */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(11, 29, 78, 0.26),
    0 12px 28px -14px rgba(11, 29, 78, 0.48);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--blue-deep);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 3px rgba(11, 29, 78, 0.22),
    0 16px 34px -14px rgba(11, 29, 78, 0.52);
}
.btn-primary:hover::before { opacity: 1; }

/* «Шайба»-стрелка главных CTA (референс Humanex): иконка в круглой
   плашке у края пилюли, по ховеру мягко скользит вперёд */
.btn-primary .ic,
.btn-white .ic {
  width: 30px;
  height: 30px;
  flex: none;
  padding: 7.5px;
  border-radius: 50%;
  margin: -8px -14px -8px 2px;
}
.btn-primary .ic { background: #fff; color: var(--blue-deep); }
.btn-white .ic { background: var(--blue); color: #fff; }
.btn-primary:hover .ic,
.btn-white:hover .ic { transform: translateX(3px); }

/* Вторичная кнопка: рамка + спокойный фейд серой заливки по ховеру */
.btn-gray {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px #C5D3E8;
}
.btn-gray:hover {
  background: var(--btn-gray);
  box-shadow: inset 0 0 0 1.5px #B7C7E2;
}

.btn-white {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F4FA 100%);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 12px 34px rgba(4, 16, 46, 0.22);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 16px 44px rgba(4, 16, 46, 0.3); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Появление при скролле (активно только при работающем JS,
   без JS контент виден сразу — прогрессивное улучшение).
   Анимация, а не transition: не конфликтует с собственными
   hover-transition карточек и строк (background/transform). */
html.js .reveal { opacity: 0; }
html.js .reveal.in {
  opacity: 1;
  animation: reveal-in 0.9s var(--ease-soft) var(--d, 0s) backwards;
}
/* Крупные полотна (секции, CTA, подписка, футер) въезжают глубже
   и «наводятся на резкость» — блочная хореография референса заказчика */
html.js .card.section.reveal.in,
html.js .subscribe.reveal.in,
html.js .site-footer.reveal.in,
html.js .cta.reveal.in {
  animation-name: reveal-in-card;
  animation-duration: 1s;
}
/* Карточки статистики: каскад с лёгким scale и расфокусом —
   цифры «проявляются», после чего счётчик досчитывает значение */
html.js .stat.reveal.in { animation-name: reveal-in-stat; animation-duration: 0.95s; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Крупные полотна: подъём чуть дальше + лёгкий scale + расфокус,
   резкость возвращается к середине пути */
@keyframes reveal-in-card {
  from { opacity: 0; transform: translateY(38px) scale(0.988); filter: blur(8px); }
  55% { filter: blur(0); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: none; }
}
@keyframes reveal-in-stat {
  from { opacity: 0; transform: translateY(26px) scale(0.96); filter: blur(5px); }
  55% { filter: blur(0); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ============================================================
   ВХОДНАЯ ХОРЕОГРАФИЯ — первый кадр сайта
   Скрытые состояния живут, пока <html> не получит .is-loaded
   (main.js ставит класс на втором кадре). Каскад: сайдбар →
   карточки hero → контент hero построчно → атрибуты сцены.
   ============================================================ */
html.js:not(.is-loaded) .side { opacity: 0; transform: translateX(-22px); }
html.js:not(.is-loaded) .topbar { opacity: 0; transform: translateY(-14px); }
html.js:not(.is-loaded) .side .brand,
html.js:not(.is-loaded) .side-label,
html.js:not(.is-loaded) .side-nav a,
html.js:not(.is-loaded) .side-foot { opacity: 0; }
html.js:not(.is-loaded) .hero-copy { opacity: 0; transform: translateY(26px); }
html.js:not(.is-loaded) .hero-copy > * { opacity: 0; transform: translateY(20px); }
html.js:not(.is-loaded) .hero-visual { opacity: 0; transform: translateY(24px) scale(0.98); }
html.js:not(.is-loaded) .stage-badge,
html.js:not(.is-loaded) .stage-controls { opacity: 0; }
html.js:not(.is-loaded) .page-head > * { opacity: 0; transform: translateY(18px); }

.topbar { transition: opacity 0.6s var(--ease) 0.05s, transform 0.6s var(--ease) 0.05s; }
.hero-copy { transition: opacity 0.8s var(--ease) 0.05s, transform 0.8s var(--ease) 0.05s; }
.hero-copy > * { transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.hero-copy > .eyebrow { transition-delay: 0.3s; }
.hero-copy > h1 { transition-delay: 0.38s; }
.hero-copy > .lead { transition-delay: 0.46s; }
.hero-copy > .hero-actions { transition-delay: 0.54s; }
.hero-copy > .hero-facts { transition-delay: 0.62s; }
.hero-visual { transition: opacity 0.9s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s; }
.stage-badge, .stage-controls { transition: opacity 0.7s var(--ease) 0.75s; }
.side .brand { transition: opacity 0.5s var(--ease) 0.12s; }
.side-label { transition: opacity 0.5s var(--ease) 0.2s; }
.side-foot { transition: opacity 0.5s var(--ease) 0.6s; }
.page-head > * { transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.page-head > *:nth-child(1) { transition-delay: 0.18s; }
.page-head > *:nth-child(2) { transition-delay: 0.27s; }
.page-head > *:nth-child(3) { transition-delay: 0.36s; }

/* ============================================================
   HERO — две карточки: визуал + текст
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: var(--gap);
  /* Первый экран строго по линиям сайдбара: от верхнего до нижнего отступа */
  min-height: calc(100vh - var(--pad) * 2);
}

.hero-copy {
  padding: clamp(36px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--r-xl);
}
/* Заголовок hero — крупный дисплейный, ложится в 3 строки
   («Ясность в / каждом / диагнозе.») по скриншоту заказчика */
.hero-copy h1 { margin: 34px 0 26px; font-size: clamp(44px, 5.2vw, 82px); }
.hero-copy .lead { max-width: 52ch; }
/* Пилюля hero (по скриншоту заказчика): обычный регистр, синий текст
   на голубой плашке-скруглённом прямоугольнике, ширина — по контенту */
/* Текст по центру плашки: высота задана явно, строка с line-height: 1
   центрируется флексом — никаких асимметричных внутренних отступов */
/* Высота пилюли = высоте бейджа «Атлас» соседней карточки */
.hero-copy .eyebrow {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  line-height: 1;
  min-height: var(--hero-pill-h);
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: none;
  border-radius: 11px;
  padding: 0 15px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Полоса фактов без коробок (референсы Gudrix / Nexura): значения и подписи
   через hairline-разделители — вместо прежних пилюль-бейджей */
.hero-facts {
  display: flex;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-facts .fact { flex: 1; min-width: 0; padding-right: 18px; }
.hero-facts .fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-facts b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-facts span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-3);
}

/* Визуальная карточка */
.hero-visual {
  position: relative;
  overflow: hidden;
  order: -1; /* визуал слева, текст справа; DOM-порядок (текст первым) сохранён для чтения */
  border-radius: var(--r-xl);
  background: linear-gradient(158deg, #E2EBFA 0%, #CDDDF8 48%, #BBD0F5 100%);
  min-height: 420px;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 12px 17px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-ink);
  will-change: transform;
  animation: floaty 7s ease-in-out infinite;
}
.chip b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.chip small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.chip .chip-ic {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
}
.chip .chip-ic .ic { width: 16px; height: 16px; }
.chip:nth-of-type(2) { animation-delay: -2.4s; }
.chip:nth-of-type(3) { animation-delay: -4.8s; }

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

/* ============================================================
   ЛЕНТА-РАЗДЕЛИТЕЛЬ с пилюлей «Посмотреть всё»
   ============================================================ */
.strip {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 4px 12px;
}
.strip-note {
  display: flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}
.strip-line { flex: 1; border-top: 2px dashed #C7D3E6; }

/* ============================================================
   БЕНТО — фон, поделённый на 4 информационных прямоугольника
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.bento-card {
  grid-column: span 5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.6vw, 42px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bento-card h3 { font-size: clamp(19px, 1.6vw, 23px); max-width: 22ch; }
.bento-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); max-width: 48ch; }

/* Первая и последняя карточки шире: сетка 7+5 / 5+7 */
.bento-card:nth-child(1), .bento-card:nth-child(4) { grid-column: span 7; }

.bento-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}
.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
}
.bento-pill .ic { width: 13px; height: 13px; color: var(--blue); }
.bento-live {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

/* Тёмно-синяя карточка с орбитами (перекликается с CTA) */
.bento-navy {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 90%);
  color: #fff;
}
.bento-navy::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -190px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.bento-navy p { color: rgba(255, 255, 255, 0.7); }
.bento-navy .bento-pill { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); }
.bento-navy .bento-pill .ic { color: #8FB0FF; }

/* Голубая карточка в тон сцене атласа */
.bento-blue { background: linear-gradient(150deg, #E6EFFC 0%, #C9DCF8 100%); }
.bento-blue p { color: #37476B; }
.bento-blue .bento-pill { background: rgba(255, 255, 255, 0.62); color: var(--blue-ink); }

/* ============================================================
   АТЛАС — интерактивная сцена (живёт в hero-visual)
   ============================================================ */
.atlas-stage {
  position: relative;
  min-height: 560px;
  touch-action: pan-y;
}

/* Чипы статистики: скрыты, чтобы не перекрывать модель.
   Мягко всплывают при наведении на сцену и плывут за курсором:
   параллакс задаётся переменными --px/--py из JS, двигаем только transform */
.hero-visual .chip {
  z-index: 5;
  pointer-events: none;
  animation: none;
  opacity: 0;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) translateY(16px) scale(0.96);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.hero-visual.is-live .chip {
  opacity: 1;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}
.hero-visual.is-live .chip + .chip { transition-delay: 0.07s; }
.stage-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-ink);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  height: var(--hero-pill-h);
  padding: 0 16px;
}
.stage-badge .ic { width: 14px; height: 14px; color: var(--blue); }

.stage-scene {
  position: absolute;
  inset: 0;
  perspective: 1300px;
  cursor: grab;
}
.stage-scene.is-dragging { cursor: grabbing; }

.bust {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(76%, 424px);
  transform: translateX(-50%);
}
.bust-inner {
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
  animation: idle-sway 9s ease-in-out infinite;
}
.stage-scene.is-dragging .bust-inner,
.stage-scene.was-touched .bust-inner,
.hero-visual.is-live .bust-inner { animation: none; }

@keyframes idle-sway {
  0%, 100% { transform: rotateY(-7deg); }
  50% { transform: rotateY(7deg); }
}

/* Орбита вращения */
.stage-orbit {
  position: absolute;
  left: 50%;
  bottom: 24%;
  width: min(84%, 470px);
  aspect-ratio: 3.4 / 1;
  /* Параллакс: --px/--py из JS, движение только через transform */
  transform: translateX(-50%) translate3d(var(--px, 0px), var(--py, 0px), 0);
  border: 1.5px dashed rgba(36, 86, 230, 0.35);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.5s ease-out;
}
.stage-orbit::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 18%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(36, 86, 230, 0.18);
}

/* Подиум-тень */
.stage-podium {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 58%;
  height: 44px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(14, 42, 102, 0.22), rgba(14, 42, 102, 0) 68%);
  filter: blur(6px);
  pointer-events: none;
}

/* Хотспоты */
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 5;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hotspot i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3.5px solid var(--blue);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(36, 86, 230, 0.55);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.7; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}
.hotspot:hover i { transform: scale(1.25); }
.hotspot.is-on i { background: var(--blue); border-color: #fff; transform: scale(1.35); box-shadow: 0 6px 18px -4px rgba(36, 86, 230, 0.7); }

/* Инфокарточка органа */
.stage-tip {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 6;
  max-width: 270px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  /* Скрыта по умолчанию: не заслоняет хотспоты. Появляется при наведении
     или клике на орган — мягкое параллакс-всплытие */
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}
.stage-tip.is-show { opacity: 1; transform: none; }
.stage-tip.is-show.swap { opacity: 0; transform: translateY(8px); }
.stage-tip h4 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.stage-tip h4 .tip-acc { font-size: 11.5px; font-weight: 800; color: var(--blue); background: var(--blue-soft); padding: 3px 9px; border-radius: 999px; }
.stage-tip p { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin-top: 7px; }

/* Управление сценой */
.stage-controls {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 6;
  display: flex;
  gap: 9px;
}
.stage-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(155%);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  color: var(--blue-ink);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.stage-controls button:hover { background: #fff; transform: translateY(-2px); }
.stage-controls .ic { width: 17px; height: 17px; }

.stage-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #4A5B80;
  white-space: nowrap;
  transition: opacity 0.5s var(--ease);
}
/* Гость уже взаимодействует со сценой — подсказка не нужна */
.hero-visual.is-live .stage-hint,
.hero-visual:has(.stage-scene.was-touched) .stage-hint { opacity: 0; }
.stage-hint .ic { width: 15px; height: 15px; animation: spin-slow 6s linear infinite; }

@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ============================================================
   СЕКЦИИ
   ============================================================ */
.section { padding: clamp(34px, 3.6vw, 56px) clamp(28px, 3.4vw, 56px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}
/* Единый отступ «пилюля → заголовок» по всем секциям и страницам: 18px */
.section-head h2 { margin-top: 18px; max-width: 22ch; }
.section-head .aside-note { font-size: 14px; font-weight: 700; color: var(--ink-3); white-space: nowrap; padding-bottom: 8px; }

/* --- О нас: сплит со статистикой ---
   Заголовок живёт внутри левой колонки, поэтому верх текста
   и верх сетки статистики выравниваются по одной линии. */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 60px);
  align-items: center;
}
.about-copy h2 { margin-top: 18px; max-width: 22ch; }
.about-copy .lead { margin: 22px 0 30px; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 26px 24px 22px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stat:hover { transform: translateY(-5px); background: var(--blue-soft); box-shadow: var(--shadow-sm); }
.stat b {
  display: block;
  font-size: clamp(33px, 2.9vw, 45px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); line-height: 1.4; display: block; margin-top: 6px; }

/* --- Продукция: пронумерованные строки-модули --- */
.products-list { display: flex; flex-direction: column; }
.product-row {
  display: grid;
  grid-template-columns: 66px 48px 0.95fr 1.3fr auto;
  gap: 26px;
  align-items: center;
  padding: 25px 22px;
  border-top: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.product-row:hover { background: var(--surface-2); padding-left: 32px; }
.product-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-100);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s var(--ease);
}
.product-row:hover .product-num,
.product-row.is-flag .product-num { color: var(--blue); }
.product-ic {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.product-ic .ic { width: 22px; height: 22px; }
.product-row:hover .product-ic { background: var(--blue); color: #fff; }
.product-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.product-name h3 { font-size: 20px; }
.product-flag {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 11px;
  border-radius: 999px;
}
.product-row p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.product-row:hover .arrow-btn { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1.5px transparent; transform: rotate(-45deg); }

/* Карточки материалов (страница «Ресурсы») */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 30px 28px 26px;
  min-height: 250px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.product:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); background: #fff; }
.product .product-ic { margin-bottom: 20px; }
.product h3 { margin-bottom: 9px; }
.product p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.product-foot {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-foot span { font-size: 13.5px; font-weight: 800; }
.product:hover .arrow-btn { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1.5px transparent; transform: rotate(-45deg); }

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #C9D6EA;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.arrow-btn .ic { width: 16px; height: 16px; }

/* --- Этапы (Технологии) --- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 76px 1fr 1.35fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px 22px;
  border-top: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.step:hover { background: var(--surface-2); padding-left: 32px; }
.step-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-100);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s var(--ease);
}
.step:hover .step-num { color: var(--blue); }
.step h3 { font-size: 20px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.step-tag {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-2);
  background: var(--btn-gray);
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* --- Партнёры --- */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 44px;
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #9AA7BD;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: default;
}
.partner .ic { width: 20px; height: 20px; }
.partner:hover { color: var(--blue-ink); transform: translateY(-2px); }

/* --- Сегменты (Для кого) --- */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.segment {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.segment:hover { transform: translateY(-7px); background: #fff; box-shadow: var(--shadow-md); }
.segment h3 { margin: 18px 0 8px; }
.segment > p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 18px; }
.segment ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.segment li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.45;
}
.segment li .ic { width: 16px; height: 16px; flex: none; color: var(--blue); margin-top: 2px; }

/* ============================================================
   CTA — тёмно-синяя карточка
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 85%);
  color: #fff;
  padding: clamp(52px, 6vw, 92px) clamp(30px, 5vw, 80px);
  text-align: center;
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.cta::before { width: 560px; height: 560px; left: -180px; top: -280px; }
.cta::after { width: 640px; height: 640px; right: -240px; bottom: -380px; border-color: rgba(255, 255, 255, 0.07); }
.cta .eyebrow {
  color: #A9C3FF;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.cta h2 { max-width: 21ch; margin: 18px auto 18px; color: #fff; }
.cta p { max-width: 54ch; margin: 0 auto; color: rgba(255, 255, 255, 0.68); font-size: 16.5px; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; position: relative; z-index: 2; }
/* Строка «Или напишите нам»: обычное начертание и воздух до кнопок —
   строка читается как подпись, а не как ещё одна кнопка.
   Селектор с p — иначе margin перебивается правилом `.cta p` выше */
.cta p.cta-mail { margin: 44px auto 0; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, 0.6); }
.cta-mail a { color: #A9C3FF; font-weight: 500; transition: color 0.25s; }
.cta-mail a:hover { color: #fff; }

/* ============================================================
   ФУТЕР — серая карточка в языке сайта: бренд + колонки ссылок
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #E7EDF6 0%, #E0E8F3 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--r-xl);
  padding: clamp(34px, 3.6vw, 56px) clamp(28px, 3.4vw, 56px) clamp(22px, 2.4vw, 30px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.foot-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 36px clamp(28px, 3vw, 56px);
}
.foot-brand .brand { margin-bottom: 18px; padding: 0; }
.foot-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 34ch;
  margin-bottom: 20px;
}
.foot-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-pills .bento-pill { background: rgba(255, 255, 255, 0.72); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.foot-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.foot-col a {
  display: inline-block;
  padding: 6.5px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.foot-col a:hover { color: var(--blue); transform: translateX(2px); }
/* display: перебиваем .foot-col a (inline-block) — иначе стрелка падает на вторую строку */
.foot-col .btn { display: inline-flex; margin-top: 14px; padding: 12px 22px; font-size: 14px; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 30px;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: 20px;
  border-top: 1px solid rgba(14, 42, 102, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

@media (max-width: 1120px) {
  .foot-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .foot-main { grid-template-columns: 1fr; gap: 26px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ============================================================ */
.page-head {
  border-radius: var(--r-xl);
  padding: clamp(44px, 5vw, 76px) clamp(30px, 4.5vw, 68px);
  position: relative;
  overflow: hidden;
}
/* h1 внутренних страниц сдержаннее главной: это служебные шапки */
.page-head h1 { margin: 18px 0 18px; max-width: 20ch; font-size: clamp(31px, 3.3vw, 48px); position: relative; z-index: 2; }
.page-head .lead { max-width: 56ch; position: relative; z-index: 2; }
/* Орб прижат к правому краю и крупнее — угол карточки заполнен,
   белой «проплешины» у кромки не остаётся */
.page-head-orbs {
  position: absolute;
  right: -110px;
  top: -170px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle at 46% 44%, #D6E4FA 0%, rgba(214, 228, 250, 0) 70%);
  pointer-events: none;
}
/* Пилюля-тег всегда над орбом (как h1 и лид) */
.page-head .eyebrow { position: relative; z-index: 2; }
/* Мобильные: орб уходит в самый угол и уменьшается — не наезжает на текст */
@media (max-width: 720px) {
  .page-head-orbs {
    width: 300px;
    height: 300px;
    right: -130px;
    top: -150px;
  }
}

/* Ресурсы: список статей */
.article-row {
  display: grid;
  grid-template-columns: 66px 210px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 27px 22px;
  border-top: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.article-row:hover { background: var(--surface-2); padding-left: 32px; }
.article-num { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--blue-100); font-variant-numeric: tabular-nums; transition: color 0.35s; }
.article-row:hover .article-num { color: var(--blue); }
.article-meta { font-size: 12.5px; font-weight: 700; color: var(--ink-3); line-height: 1.5; }
.article-meta em { font-style: normal; color: var(--blue); display: block; }
.article-row h3 { font-size: 18px; max-width: 44ch; }
.article-row:hover .arrow-btn { background: var(--blue); color: #fff; transform: rotate(-45deg); }

/* Подписка */
.subscribe {
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #E6EFFC, #CBDDF8 60%, #BDD4F7);
  padding: clamp(40px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
/* Заголовок подписки скромнее секционных h2: блок вспомогательный.
   Выравнивание колонок — по центру (align-items: center в базовом правиле):
   текст и форма сидят на общей оси, подтверждено заказчиком */
.subscribe > div:first-child { max-width: 46ch; }
.subscribe h2 { margin: 18px 0 12px; font-size: clamp(25px, 2.3vw, 34px); }
.subscribe .eyebrow {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}
.subscribe p { color: #37476B; font-size: 14px; line-height: 1.65; max-width: 44ch; }
.subscribe-form { display: flex; flex-direction: column; gap: 12px; }
.subscribe-form label { font-size: 13px; font-weight: 800; color: var(--blue-ink); }
.subscribe-row { display: flex; gap: 10px; }
.subscribe-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.subscribe-row input::placeholder { color: var(--ink-3); }
.subscribe-row input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(36, 86, 230, 0.25); }
.subscribe-hint { font-size: 12px; font-weight: 600; color: #5A6B8F; }
.subscribe-hint a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.subscribe-hint a:hover { color: var(--blue); }

/* ============================================================
   DOT-НАВИГАЦИЯ — сайдбар сворачивается в точки при скролле
   ============================================================ */
@media (min-width: 1121px) {
  /* Сворачивание как в macOS: панель сжимается в точку-логотип рельсы
     и «растворяется» в ней; при раскрытии — вырастает из той же точки */
  body.nav-dots .side {
    transform: scale(0.08);
    transform-origin: 17px 50%;
    opacity: 0;
    pointer-events: none;
  }
  body.nav-dots.side-peek .side {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow-lg);
  }
  body.side-peek .scrim { opacity: 1; pointer-events: auto; }
}

.dotnav {
  position: fixed;
  left: calc(var(--shell-edge) + var(--pad));
  top: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  opacity: 0;
  pointer-events: none;
  /* Рельса вырастает из точки, в которую сжался сайдбар (ось логотипа) */
  transform: translateY(-50%) scale(0.7);
  transform-origin: 17px center;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}
body.nav-dots .dotnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
  transition-delay: 0.18s; /* сайдбар сначала сжимается, рельса вырастает следом */
}
body.nav-dots.side-peek .dotnav { opacity: 0; pointer-events: none; transition-delay: 0s; }

/* Логотип-знак: раскрывает сайдбар по наведению */
.dotnav-menu {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dotnav-menu svg, .dotnav-menu img { width: 22px; height: 22px; object-fit: contain; }
.dotnav-menu:hover { transform: scale(1.12); box-shadow: var(--shadow-md); }

/* Палочки-сегменты: вертикальная рельса под логотипом.
   Каждая палочка плавно заливается синим по мере чтения своего раздела */
.dotnav .dot {
  display: flex;
  align-items: center;
  padding: 2px 8px 2px 0;
}
.dotnav .dot i {
  position: relative;
  overflow: hidden;
  flex: none;
  width: 3.5px;
  height: 26px;
  margin-left: 15px; /* ось рельсы = центр логотипа (34px) */
  border-radius: 999px;
  background: #C9D6EA;
  transition: background 0.3s var(--ease);
}
.dotnav .dot i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--blue);
  transform: scaleY(var(--fill, 0));
  transform-origin: 0 0;
  transition: transform 0.25s ease-out;
}
.dotnav .dot:hover i { background: #AFC2DF; }

/* Названия разделов: статичные серые подписи у каждой палочки.
   Когда раздел становится активным, подпись мягко получает
   белую пилюлю и синий цвет — только paint-свойства, без layout */
.dotnav .dot span {
  margin-left: 12px;
  padding: 5px 12px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0);
  border-radius: 999px;
  box-shadow: 0 8px 24px -10px rgba(14, 42, 102, 0);
  transition:
    color 0.35s var(--ease),
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.dotnav .dot:hover span { color: var(--ink); }
.dotnav .dot.is-active span {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
/* Невысокие экраны (ноутбуки): ужимаем hero, чтобы низ карточек
   всегда совпадал с нижней кромкой сайдбара */
@media (min-width: 1121px) and (max-height: 880px) {
  .hero-copy { padding: 34px 46px; }
  .hero-copy h1 { font-size: clamp(32px, 3.4vw, 50px); margin: 16px 0 14px; }
  .hero-copy .lead { font-size: 15.5px; }
  .hero-actions { margin-top: 24px; }
  .hero-facts { margin-top: 26px; padding-top: 18px; }
  .hero-visual { min-height: 440px; }
}

@media (min-width: 1121px) and (max-height: 740px) {
  .hero-copy h1 { font-size: clamp(28px, 2.9vw, 42px); }
  .hero-copy { padding: 28px 40px; }
  .hero-facts { margin-top: 18px; padding-top: 14px; }
  .hero-visual { min-height: 400px; }
  .bust { width: min(64%, 360px); }
  /* 12 пунктов сайдбара (7 разделов + label + 3 страницы) на невысоком
     экране: ужимаем сильнее, чтобы «Связаться» не уходил под обрез */
  .side { padding: 16px 16px 14px; }
  .side .brand { margin-bottom: 10px; }
  .side-label { margin: 8px 0 4px; }
  .side-nav { gap: 2px; }
  .side-nav a { padding: 6px 12px; font-size: 13.5px; }
  .side-nav a .ic { width: 16px; height: 16px; }
  .side-foot { padding-top: 10px; }
  .side-progress { margin-bottom: 10px; }
  .side-cta .btn { padding: 9px 14px; font-size: 14px; }
  .side-next { width: 38px; height: 38px; }
}

/* Кнопки hero в вырезе карточки с обратными скруглениями (референс Third Opinion) */
@media (min-width: 1121px) {
  /* Пилюля-тег — на одной линии с бейджем «Атлас» соседней карточки
     (обе пилюли высотой --hero-pill-h при top 26 — центры совпадают).
     ТРЕБОВАНИЕ ЗАКАЗЧИКА (повторено дважды): h1 + лид — ПО СЕРЕДИНЕ блока,
     не прижимать кверху. Свободное место делится поровну auto-марджинами
     h1 и фактов; факты прижаты к низу, к линии кнопок */
  .hero-copy { position: relative; padding-top: 26px; padding-bottom: 86px; justify-content: flex-start; }
  .hero-copy > h1 { margin-top: auto; }
  .hero-copy .hero-facts { margin-top: auto; padding-top: 28px; }
  .hero-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 2;
    background: var(--bg);
    padding: 14px 0 0 14px;
    border-top-left-radius: 30px;
  }
  /* Обратные скругления: белая карточка плавно «перетекает» в вырез */
  .hero-actions::before,
  .hero-actions::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 0 0, rgba(237, 241, 247, 0) 29px, var(--bg) 30px);
  }
  .hero-actions::before { right: 0; bottom: 100%; }
  .hero-actions::after { right: 100%; bottom: 0; }
}

@media (max-width: 1420px) {
  .step { grid-template-columns: 60px 1fr 1.2fr auto; }
  .product-row { grid-template-columns: 56px 48px 1fr 1.2fr auto; }
}

@media (max-width: 1280px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .products-grid, .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .atlas-stage { min-height: 520px; }
  .bento-card,
  .bento-card:nth-child(1), .bento-card:nth-child(4) { grid-column: span 6; }
}

@media (max-width: 1120px) {
  .topbar { display: flex; }
  .dotnav { display: none; }
  .side {
    z-index: 120;
    left: 16px;
    top: 16px;
    bottom: 16px;
    width: min(320px, 84vw);
    transform: translateX(calc(-100% - 32px));
    box-shadow: var(--shadow-lg);
  }
  body.menu-open .side { transform: none; }
  /* Появление пунктов меню каскадом: пока панель выезжает, ссылки
     догоняют её слева-направо с небольшим сдвигом. При закрытии
     задержек нет — панель уходит мгновенно целиком. */
  .side-label, .side-nav a, .side-foot {
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  body.menu-open .side-label,
  body.menu-open .side-nav a,
  body.menu-open .side-foot { opacity: 1; transform: none; }
  body.menu-open .side-nav > *:nth-child(1) { transition-delay: 0.1s; }
  body.menu-open .side-nav > *:nth-child(2) { transition-delay: 0.14s; }
  body.menu-open .side-nav > *:nth-child(3) { transition-delay: 0.18s; }
  body.menu-open .side-nav > *:nth-child(4) { transition-delay: 0.22s; }
  body.menu-open .side-nav > *:nth-child(5) { transition-delay: 0.26s; }
  body.menu-open .side-nav > *:nth-child(6) { transition-delay: 0.3s; }
  body.menu-open .side-nav > *:nth-child(7) { transition-delay: 0.34s; }
  body.menu-open .side-nav > *:nth-child(8) { transition-delay: 0.38s; }
  body.menu-open .side-nav > *:nth-child(9) { transition-delay: 0.42s; }
  body.menu-open .side-foot { transition-delay: 0.48s; }
  .page {
    margin-left: 0;
    padding: 96px 16px 16px;
  }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { order: 0; } /* на мобиле текст снова первым */
  .about-grid { grid-template-columns: 1fr; }
  .subscribe { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr auto; }
  .step p { grid-column: 2 / -1; }
  .product-row { grid-template-columns: 48px 48px 1fr auto; gap: 18px; }
  .product-row p { grid-column: 3 / -1; }
  .article-row { grid-template-columns: 48px 1fr auto; }
  .article-meta { grid-column: 2 / -1; order: 3; }
}

@media (max-width: 720px) {
  :root { --r-xl: 30px; --r-lg: 26px; }
  .products-grid, .segments-grid, .stats-grid { grid-template-columns: 1fr; }
  .bento-card,
  .bento-card:nth-child(1), .bento-card:nth-child(4) { grid-column: span 12; }
  .hero-visual .chip { display: none; }
  .product-row { grid-template-columns: 40px 1fr auto; padding: 22px 14px; }
  .product-row .product-ic { display: none; }
  .product-row p { grid-column: 2 / -1; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .strip { flex-wrap: wrap; }
  .strip-note { white-space: normal; }
  .strip-line { min-width: 60px; }
  .atlas-stage { min-height: 460px; }
  .bust { width: min(88%, 370px); }
  .stage-tip { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }
  .stage-controls { right: 16px; bottom: auto; top: 74px; flex-direction: column; }
  .stage-hint { display: none; }
  .step { padding: 24px 14px; }
  .step-tag { display: none; }
  .cta-actions .btn { width: 100%; }
  /* Кнопки: на узких экранах пилюли не режутся и не вылезают из
     карточек — складываются в колонку на всю ширину, длинные
     подписи переносятся внутри пилюли */
  .btn { max-width: 100%; white-space: normal; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .about-copy .btn { width: 100%; }
  .subscribe-row { flex-direction: column; }
}

@media (max-width: 560px) {
  /* Узкие экраны: компактнее внутренние поля карточек — контенту
     остаётся полезная ширина, ничего не упирается в скругления */
  .section { padding: 30px 20px; }
  .hero-copy { padding: 30px 20px; }
  .hero-copy h1 { font-size: clamp(34px, 9.5vw, 44px); margin: 24px 0 20px; }
  .cta { padding: 44px 22px; }
  .page-head { padding: 38px 22px; }
  .subscribe { padding: 32px 20px; }
  .site-footer { padding: 30px 20px 22px; }
  /* Узкие экраны: полоса фактов складывается в колонку,
     hairline-разделители становятся горизонтальными */
  .hero-facts { flex-direction: column; gap: 12px; }
  .hero-facts .fact { padding-right: 0; }
  .hero-facts .fact + .fact {
    padding-left: 0;
    border-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
}

/* Предпочтение уменьшенного движения: убираем ДВИЖЕНИЕ (transform,
   параллакс, автоанимации), но оставляем мягкие opacity-фейды —
   иначе появление блоков и сворачивание меню читаются как «щелчок».
   Важно для Windows с выключенными «Эффектами анимации». */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal,
  .hero-copy, .hero-copy > *, .hero-visual, .page-head > *,
  .stage-badge, .stage-controls, .topbar,
  .side .brand, .side-label, .side-nav a, .side-foot {
    transform: none !important;
    transition-property: opacity !important;
    transition-duration: 0.45s !important;
  }
  /* Ревил при reduce: вместо keyframes-движения — чистый opacity-фейд */
  html.js .reveal.in { animation: none !important; }
  html.js .reveal { transition: opacity 0.45s ease var(--d, 0s) !important; }
  /* Без hover-хореографии контент сцены показываем сразу */
  .hero-visual .chip { opacity: 1; transform: none; }
  .stage-tip { opacity: 1; transform: none; }
}
/* Сворачивание сайдбара в рельсу при reduce-motion — мягкий кроссфейд
   на месте вместо масштабного морфинга */
@media (prefers-reduced-motion: reduce) and (min-width: 1121px) {
  .side { transform: none !important; transition: opacity 0.4s ease !important; }
  .dotnav { transform: translateY(-50%) !important; transition: opacity 0.4s ease !important; }
}
/* Cookie-плашка и кнопка «наверх» при reduce-motion: движение убираем,
   но мягкий фейд оставляем — иначе появление/закрытие читается щелчком */
@media (prefers-reduced-motion: reduce) {
  .cookiebar, .totop {
    transform: none !important;
    filter: none !important;
    transition: opacity 0.45s ease !important;
  }
}

/* ============================================================
   МОДАЛЬНОЕ ОКНО «ЗАПРОСИТЬ ДЕМОНСТРАЦИЮ»
   Панель всплывает из глубины (подъём + scale + расфокус),
   поля формы догоняют каскадом — хореография в языке hero.
   При reduce-motion глобальные правила выше гасят движение.
   ============================================================ */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  /* Пока идёт анимация закрытия, слой ещё виден; прячем с опозданием */
  transition: visibility 0s linear 0.55s;
}
.modal-root.is-open { visibility: visible; transition-delay: 0s; }
body.modal-open { overflow: hidden; }

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 78, 0.52);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.modal-root.is-open .modal-scrim { opacity: 1; }

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  /* Орб выступает за правую кромку — без этого появляется горизонтальный скролл */
  overflow-x: hidden;
  /* Прокрутка остаётся, но полосы скролла не рисуем — панель выглядит цельной */
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.8vw, 30px) clamp(20px, 3vw, 34px) clamp(18px, 2.2vw, 26px);
  box-shadow: 0 44px 110px -34px rgba(4, 16, 46, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  filter: blur(6px);
  transition: opacity 0.5s var(--ease), transform 0.65s var(--ease), filter 0.5s var(--ease);
  /* Свой контекст наложения: орб с z-index:-1 уходит ЗА контент,
     но остаётся поверх белой подложки панели */
  isolation: isolate;
}
.modal-root.is-open .modal-panel { opacity: 1; transform: none; filter: none; }
.modal-panel::-webkit-scrollbar { display: none; }

/* Голубой орб слева — перекликается с page-head. Живёт ПОД контентом
   (z-index:-1 внутри isolate-панели) и приглушён, чтобы текст читался */
.modal-orb {
  position: absolute;
  z-index: -1;
  left: -130px;
  top: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, #C3D7F9 0%, rgba(195, 215, 249, 0) 70%);
  opacity: 0.55;
  pointer-events: none;
}

/* Каскад содержимого: панель стартует, строки догоняют с --d */
.modal-panel .m-stagger {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease) var(--d, 0s), transform 0.55s var(--ease) var(--d, 0s);
}
.modal-root.is-open .m-stagger { opacity: 1; transform: none; }

.modal-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
/* Заголовок в одну строку, лид без «рваного» переноса — ровная шапка окна */
.modal-title { margin-top: 12px; font-size: clamp(20px, 2.1vw, 24px); white-space: nowrap; }
.modal-sub { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }

.modal-close {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #C5D3E8;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.45s var(--ease);
}
.modal-close svg { width: 15px; height: 15px; }
.modal-close:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px transparent, 0 10px 22px -8px rgba(36, 86, 230, 0.55);
  transform: rotate(90deg);
}

/* --- Форма --- */
.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 12px;
  margin-top: 18px;
}
.demo-form .field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.demo-form .is-full { grid-column: 1 / -1; }
.demo-form label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  padding-left: 6px;
}
/* Важные строчки: синяя звёздочка обязательности */
.demo-form .req::after { content: " *"; color: var(--blue); font-weight: 800; }

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  border-radius: 13px;
  padding: 10px 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.demo-form input::placeholder,
.demo-form textarea::placeholder { color: var(--ink-3); font-weight: 500; }
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 86, 230, 0.14);
}

/* Выпадающий список: собственный шеврон вместо системного */
.demo-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6D89' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.demo-form textarea {
  min-height: 58px;
  resize: vertical;
  border-radius: 14px;
  line-height: 1.5;
}

/* --- Согласие на обработку данных --- */
.consent { grid-column: 1 / -1; margin-top: 4px; }
.consent label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-3);
}
.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.consent .cbx {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1.5px #C5D3E8;
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
/* Нажатие: квадратик мягко «утапливается» под пальцем */
.consent label:active .cbx { transform: scale(0.82); }
.consent .cbx svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.35) rotate(-12deg);
  /* Пружинный overshoot: галочка «выпрыгивает» чуть дальше и садится на место */
  transition: opacity 0.2s var(--ease), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.consent input:checked + .cbx {
  background: var(--blue);
  box-shadow: inset 0 0 0 1.5px transparent, 0 8px 18px -8px rgba(36, 86, 230, 0.6);
  animation: cbx-pop 0.4s var(--ease);
}
.consent input:checked + .cbx svg { opacity: 1; transform: scale(1) rotate(0deg); }
@keyframes cbx-pop {
  0% { transform: scale(0.82); }
  55% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
.consent input:focus-visible + .cbx {
  box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(36, 86, 230, 0.18);
}
.consent a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(36, 86, 230, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s var(--ease);
}
.consent a:hover { text-decoration-color: var(--blue); }

.modal-actions { grid-column: 1 / -1; margin-top: 4px; }
.modal-actions .btn { width: 100%; padding-top: 13px; padding-bottom: 13px; }

/* --- Состояние «заявка отправлена» --- */
.modal-success { display: none; text-align: center; padding: 34px 8px 18px; }
.modal-root.is-done .demo-form { display: none; }
.modal-root.is-done .modal-sub { display: none; }
.modal-root.is-done .modal-success { display: block; }

.success-ic {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 44px -14px rgba(36, 86, 230, 0.6);
  animation: success-pop 0.65s var(--ease) backwards;
}
.success-ic svg { width: 34px; height: 34px; }
/* Галочка «прорисовывается» после появления круга */
.success-ic svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: success-draw 0.5s var(--ease) 0.25s forwards;
}
.modal-success h3 { font-size: 22px; }
.modal-success p {
  margin: 10px auto 24px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

@keyframes success-pop {
  from { opacity: 0; transform: scale(0.5); }
  60% { transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes success-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 560px) {
  .modal-root { padding: 14px; }
  .demo-form { grid-template-columns: 1fr; }
  /* На узких экранах заголовку разрешаем перенос, иначе он упрётся в кромку */
  .modal-title { white-space: normal; }
}

/* Ссылки на документы в нижней строке футера */
.foot-bottom a { color: var(--ink-3); transition: color 0.25s var(--ease); }
.foot-bottom a:hover { color: var(--blue); }
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }

/* ============================================================
   КНОПКА ЗАКРЫТИЯ МОБИЛЬНОГО МЕНЮ
   Живёт внутри панели: бургер-крестик шапки больше не наезжает
   на скругление сайдбара — шапка прячется, пока меню открыто
   ============================================================ */
.side-close {
  display: none;
  position: absolute;
  top: 26px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #C5D3E8;
  place-items: center;
  color: var(--ink-2);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.45s var(--ease);
}
.side-close svg { width: 14px; height: 14px; }
.side-close:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px transparent, 0 10px 22px -8px rgba(36, 86, 230, 0.55);
  transform: rotate(90deg);
}
@media (max-width: 1120px) {
  .side-close { display: grid; }
  /* Открытое меню: шапка с бургером тает — панель закрывается своим крестиком */
  body.menu-open .topbar { opacity: 0; pointer-events: none; transform: translateY(-10px); }
}

/* ============================================================
   COOKIE-УВЕДОМЛЕНИЕ — тёмная карточка справа снизу.
   Приподнята над вырезом с кнопками hero, чтобы «Запросить демо»
   оставалась видимой. Появление кинематографичное: подъём из
   глубины с расфокусом — в языке модального окна
   ============================================================ */
.cookiebar {
  position: fixed;
  right: var(--pad);
  bottom: calc(var(--pad) + 96px);
  z-index: 150;
  width: min(380px, calc(100vw - 32px));
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 90%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 22px 24px 20px;
  box-shadow: 0 32px 74px -26px rgba(4, 16, 46, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.65s var(--ease), transform 0.8s var(--ease), filter 0.65s var(--ease);
}
.cookiebar.is-show { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.cookiebar p {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.cookiebar p strong { color: #fff; font-weight: 700; }
.cookiebar p a {
  color: #A9C3FF;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(169, 195, 255, 0.4);
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}
.cookiebar p a:hover { color: #fff; }
.cookiebar .btn {
  margin-top: 16px;
  width: 100%;
  padding: 12px 22px;
  font-size: 14.5px;
}
@media (max-width: 1120px) {
  /* На мобильных кнопки hero в потоке, вырез не мешает — прижимаемся к низу */
  .cookiebar { right: 16px; bottom: 16px; }
}
@media (max-width: 720px) {
  .cookiebar { left: 16px; width: auto; }
}

/* ============================================================
   КНОПКА «НАВЕРХ» — справа снизу, появляется после двух экранов
   ============================================================ */
/* В языке круглой кнопки сайдбара (.side-next): стеклянная подложка,
   hairline-рамка, по ховеру — синяя заливка. Стрелка по наведению
   «улетает» вверх и тут же подъезжает снизу свежая */
.totop {
  position: fixed;
  right: var(--pad);
  bottom: var(--pad);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  display: grid;
  place-items: center;
  color: var(--ink);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1.5px #C5D3E8,
    0 10px 26px -10px rgba(14, 42, 102, 0.3);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease),
    transform 0.5s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 17px; height: 17px; }
.totop.is-show:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1.5px transparent,
    0 14px 30px -10px rgba(36, 86, 230, 0.55);
}
.totop.is-show:hover svg { animation: totop-arrow 0.55s var(--ease-soft); }
.totop:active { transform: translateY(-1px); transition-duration: 0.12s; }
/* Свап стрелки: вылет вверх с затуханием → мгновенный перенос вниз → посадка */
@keyframes totop-arrow {
  0% { transform: translateY(0); opacity: 1; }
  42% { transform: translateY(-18px); opacity: 0; }
  50% { transform: translateY(18px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 720px) {
  .totop { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}

/* ============================================================
   ЮРИДИЧЕСКИЕ ДОКУМЕНТЫ — политика и соглашение
   Спокойная документная типографика в языке сайта: узкая
   колонка, разделы с якорями, синие маркеры списков
   ============================================================ */
.legal { max-width: 840px; }
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 8px 16px;
}
.legal-updated .ic { width: 14px; height: 14px; color: var(--blue); }

.legal h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 38px 0 14px;
  scroll-margin-top: 24px;
}
.legal p { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal ul {
  list-style: none;
  margin: 12px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal a { color: var(--blue); font-weight: 600; }
.legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 700; color: var(--ink); }

/* Врезка-акцент: главная мысль документа одним абзацем */
.legal-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 26px 0 6px;
  background: var(--blue-soft);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.legal-note .ic { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.legal-note p { font-size: 14px; line-height: 1.65; color: var(--blue-ink); }

/* ============================================================
   КАЛЬКУЛЯТОР ЭФФЕКТА — слайдеры слева, navy-карточка результата
   справа. Числа досчитываются, бары растут — язык живых данных
   ============================================================ */
.calc-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(26px, 3vw, 52px);
  align-items: stretch;
}
.calc-controls { display: flex; flex-direction: column; gap: 30px; padding: 6px 0; }
.calc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.calc-label label { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.calc-val {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: inset 0 0 0 1px rgba(36, 86, 230, 0.14);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calc-val b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: var(--blue); }
.calc-val span { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }

/* Слайдер: заполненная часть синяя (JS ведёт --p), белая «шайба»
   с синим кольцом — в языке кнопок-шайб главных CTA */
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
}
.calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) var(--p, 50%), var(--blue-100) var(--p, 50%));
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1.5px rgba(36, 86, 230, 0.4),
    0 4px 12px -2px rgba(14, 42, 102, 0.35),
    inset 0 1px 0 #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.calc-field input[type="range"]:hover::-webkit-slider-thumb,
.calc-field input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.16);
  box-shadow:
    0 0 0 1.5px var(--blue),
    0 6px 16px -2px rgba(14, 42, 102, 0.4),
    inset 0 1px 0 #fff;
}
.calc-field input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--blue-100); }
.calc-field input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--blue); }
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1.5px rgba(36, 86, 230, 0.4),
    0 4px 12px -2px rgba(14, 42, 102, 0.35);
}
.calc-field input[type="range"]:focus-visible { outline-offset: 4px; border-radius: 999px; }
.calc-note {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 54ch;
}

/* Карточка результата — язык CTA: navy-градиент, кольца-орбиты */
.calc-result {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 85%);
  color: #fff;
  padding: clamp(28px, 2.8vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.calc-result::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -190px;
  top: -230px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.calc-result .eyebrow {
  color: #A9C3FF;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.calc-big { position: relative; z-index: 2; }
.calc-big b {
  display: block;
  font-size: clamp(42px, 3.9vw, 62px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.calc-big > span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.65); }
/* Пара цифр через hairline — как факты в hero */
.calc-sub { display: flex; position: relative; z-index: 2; }
.calc-stat { padding-right: 22px; }
.calc-stat + .calc-stat {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.calc-stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc-stat span { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }

.calc-bars { width: 100%; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.calc-bar {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 700;
}
.calc-bar-name { color: rgba(255, 255, 255, 0.65); }
.calc-bar-track {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.calc-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: 0;
  transition: width 0.8s var(--ease);
}
/* Бары стартуют с нуля и вырастают, когда карточка появилась в кадре */
.calc-result.in .calc-bar-fill { width: var(--w, 0%); }
.calc-bar-fill.is-now { background: rgba(255, 255, 255, 0.36); }
.calc-bar-fill.is-ai { background: linear-gradient(90deg, #5B82F2, #9DB8F5); }
.calc-bar-val { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-result .btn { position: relative; z-index: 2; margin-top: 2px; }

/* ============================================================
   FAQ-АККОРДЕОН — строки в языке «Продукции»: номер, вопрос,
   круглая кнопка. Раскрытие через grid-rows: плавно и без JS-замеров
   ============================================================ */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: background 0.35s var(--ease);
}
.faq-item:hover, .faq-item.is-open { background: var(--surface-2); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 24px 22px;
  text-align: left;
  transition: padding 0.35s var(--ease);
}
.faq-item:hover .faq-q { padding-left: 32px; }
.faq-num {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-100);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s var(--ease);
}
.faq-item:hover .faq-num,
.faq-item.is-open .faq-num { color: var(--blue); }
.faq-t { font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; }
.faq-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #C9D6EA;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.45s var(--ease);
}
.faq-ic .ic { width: 16px; height: 16px; }
.faq-item:hover .faq-ic { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1.5px transparent; }
/* Плюс доворачивается в крестик — знак «свернуть» */
.faq-item.is-open .faq-ic {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px transparent;
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-soft);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
/* ВАЖНО: без min-height:0 — в auto-height grid он обнуляет вклад
   контента в 1fr-трек, и аккордеон перестаёт раскрываться */
.faq-a-in { overflow: hidden; }
/* Нижний отступ анимируется вместе с высотой (приём референса):
   раскрытие читается как одно непрерывное движение, ответ
   догоняет фейдом с лёгкой задержкой */
.faq-a-in p {
  padding: 0 24px 0 114px; /* 22 + 66 (номер) + 26 (gap) — ответ под вопросом */
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 78ch;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.45s var(--ease) 0s,
    transform 0.45s var(--ease) 0s,
    padding 0.6s var(--ease-soft);
}
.faq-item.is-open .faq-a-in p {
  opacity: 1;
  transform: none;
  padding-bottom: 26px;
  transition-delay: 0.12s, 0.12s, 0s;
}

/* ---------- Адаптив новых секций ---------- */
@media (max-width: 1120px) {
  .calc-grid { grid-template-columns: 1fr; }
  .faq-q { grid-template-columns: 48px 1fr auto; gap: 18px; }
  .faq-a-in p { padding-left: 88px; } /* 22 + 48 + 18 */
  /* Каскад мобильного меню: пункты 10–12 (в сайдбаре стало больше ссылок) */
  body.menu-open .side-nav > *:nth-child(10) { transition-delay: 0.46s; }
  body.menu-open .side-nav > *:nth-child(11) { transition-delay: 0.5s; }
  body.menu-open .side-nav > *:nth-child(12) { transition-delay: 0.54s; }
}
@media (max-width: 720px) {
  .faq-q { grid-template-columns: 1fr auto; padding: 20px 14px; }
  .faq-num { display: none; }
  .faq-t { font-size: 16px; }
  /* Только горизонталь: нижний отступ анимирует базовое правило */
  .faq-a-in p { padding-left: 14px; padding-right: 14px; }
  .calc-bar { grid-template-columns: 84px 1fr auto; gap: 10px; }
  .calc-result .btn { width: 100%; }
  .calc-sub { flex-direction: column; gap: 12px; }
  .calc-stat { padding-right: 0; }
  .calc-stat + .calc-stat { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
}

/* Прямое управление остаётся плавным и при reduce-motion (та же логика,
   что у вращения бюста и кнопки «наверх»): раскрытие аккордеона и бары
   калькулятора — отклик на действие пользователя, а не автодвижение.
   Блок стоит в конце файла — перебивает глобальное гашение транзишенов */
@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: grid-template-rows 0.45s ease !important; }
  .faq-a-in p {
    transform: none !important;
    transition: opacity 0.3s ease 0.06s, padding 0.45s ease !important;
  }
  .calc-bar-fill { transition: width 0.5s ease !important; }
}

/* Строки каталога продуктов (products.html): описание + пилюли фактов */
.product-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.row-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.row-pills .bento-pill { background: var(--blue-soft); color: var(--blue-ink); }
.product-row .arrow-btn { justify-self: end; }
@media (max-width: 1120px) {
  .product-row .product-body { grid-column: 3 / -1; }
}
@media (max-width: 720px) {
  .product-row .product-body { grid-column: 2 / -1; }
}
