/* =============================================================
   ARIA OlS / OncoRT AI — маркетинговый сайт
   Дизайн-система: светлая база, глубокий индиго, градиентные
   акценты, стеклянные панели, нумерованные блоки (стиль medtech).
   ============================================================= */

/* ---------- Токены ---------- */
:root {
  --ink: #0b1530;            /* основной тёмный */
  --ink-2: #1a2547;
  --text: #4a5670;
  --muted: #7a86a1;
  --bg: #f6f8fd;
  --white: #ffffff;
  --line: rgba(11, 21, 48, 0.08);
  --accent: #2e5cff;
  --violet: #7a3bff;
  --cyan: #00c8f0;
  --grad: linear-gradient(120deg, #2e5cff 0%, #7a3bff 55%, #00c8f0 110%);
  --grad-soft: linear-gradient(120deg, rgba(46, 92, 255, 0.12), rgba(122, 59, 255, 0.1), rgba(0, 200, 240, 0.12));
  --dark-bg: #0a1024;
  --dark-card: #111a38;
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 12px;
  --shadow-1: 0 6px 30px -8px rgba(11, 21, 48, 0.12);
  --shadow-2: 0 24px 60px -20px rgba(11, 21, 48, 0.22);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-body); /* одна пара шрифтов: Inter + моно */
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --nav-h: 76px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html { scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  font-weight: 800;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(46, 92, 255, 0.5); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(46, 92, 255, 0.18); }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--dark { background: var(--dark-bg); color: #b7c1dd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.section--dark .lead { color: #b7c1dd; } /* текст lead читается на тёмном фоне */

/* Пропуск навигации для клавиатуры/скринридеров */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Типографические утилиты ---------- */
.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.overline::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.h1 { font-size: clamp(38px, 6vw, 72px); }
.h2 { font-size: clamp(30px, 4.2vw, 52px); }
.h3 { font-size: clamp(20px, 2.4vw, 26px); }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--text); max-width: 62ch; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .overline::before { display: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(46, 92, 255, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(46, 92, 255, 0.6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(11, 21, 48, 0.18); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 255, 255, 0.35); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Шапка / навигация ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(246, 248, 253, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, height 0.25s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.86); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 8px 18px -6px rgba(46, 92, 255, 0.55);
}
.logo__col { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.logo__text b { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.logo__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase; margin-top: 2px;
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 16px;
  background: none; border: none;
}
.nav__link:hover { background: rgba(46, 92, 255, 0.07); color: var(--accent); }
.nav__link.is-active { color: var(--accent); }
.nav__link .caret { transition: transform 0.2s; }
.nav__item--drop { position: relative; }
.nav__item--drop.is-open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 320px; padding: 10px; border-radius: var(--radius-m);
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav__item--drop.is-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px; padding: 11px 14px;
  border-radius: 10px; color: var(--ink-2);
}
.dropdown a:hover { background: var(--grad-soft); color: var(--accent); }
.dropdown a strong { font-size: 14px; font-weight: 700; font-family: var(--font-display); }
.dropdown a span { font-size: 13px; color: var(--muted); }
.dropdown--wide { min-width: 420px; }
.dropdown__title {
  padding: 10px 14px 6px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.25s, opacity 0.25s, top 0.25s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 110px);
}
.hero--product { padding-bottom: clamp(40px, 6vw, 80px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; animation: float 14s ease-in-out infinite alternate; }
.blob--1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(46, 92, 255, 0.34), transparent 65%); top: -180px; left: -120px; }
.blob--2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(122, 59, 255, 0.28), transparent 65%); top: -60px; right: -140px; animation-delay: -6s; }
.blob--3 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(0, 200, 240, 0.26), transparent 65%); bottom: -220px; left: 34%; animation-delay: -10s; }
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, 24px, 0) scale(1.06); }
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.chip svg { color: var(--accent); flex: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Стеклянная панель со скрином */
.glass-panel {
  position: relative; border-radius: var(--radius-l);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 14px;
}
.glass-panel img { border-radius: calc(var(--radius-l) - 10px); width: 100%; height: auto; }
.glass-panel__badge {
  position: absolute; top: -16px; right: 22px;
  background: var(--grad); color: #fff; font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 9px 16px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(46, 92, 255, 0.6);
}
.glass-figure { margin: 0; }
.glass-figure figcaption { padding: 12px 8px 4px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Строка ценностей ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 30px 28px; transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.value-card__icon {
  width: 52px; height: 52px; border-radius: 15px; background: var(--grad-soft);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 18px;
}
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; margin: 0; color: var(--text); }

/* ---------- Градиентная плашка-манифест ---------- */
.statement {
  position: relative; overflow: hidden;
  background: var(--dark-bg); color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.statement::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 12% 10%, rgba(46, 92, 255, 0.4), transparent 60%),
    radial-gradient(50% 80% at 92% 88%, rgba(122, 59, 255, 0.38), transparent 62%),
    radial-gradient(40% 60% at 70% 10%, rgba(0, 200, 240, 0.25), transparent 65%);
}
.statement > * { position: relative; }
.statement h2 { color: #fff; font-size: clamp(26px, 3.4vw, 42px); }
.statement p { color: #b7c1dd; max-width: 52ch; }
.statement .glass-panel { background: rgba(17, 26, 56, 0.6); border-color: rgba(255, 255, 255, 0.14); }
.statement__cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.play-btn {
  display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600;
}
.play-btn__circle {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35); display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.play-btn:hover .play-btn__circle { background: var(--accent); transform: scale(1.06); }

/* ---------- Секция Today/Tomorrow ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card {
  border-radius: var(--radius-l); padding: clamp(28px, 3.4vw, 44px); min-height: 260px;
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
}
.duo-card--today { background: #fff; border: 1px solid var(--line); }
.duo-card--tomorrow {
  background: var(--grad); color: #fff;
}
.duo-card__tag {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.duo-card--tomorrow .duo-card__tag { color: rgba(255, 255, 255, 0.85); }
.duo-card h3 { font-size: clamp(20px, 2.2vw, 26px); max-width: 24ch; }
.duo-card--today h3 { color: var(--ink); }
.duo-card p { margin: 0; font-size: 16px; }
.duo-card--tomorrow p { color: rgba(255, 255, 255, 0.92); }

/* ---------- Нумерованные блоки 01/02 ---------- */
.num-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.num-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 32px 30px; }
.num-card__n {
  font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.num-card__n::after { content: ""; width: 40px; height: 1px; background: var(--line); }
.num-card h3 { font-size: 18px; }
.num-card p { font-size: 14px; margin: 0; }
.num-list { display: grid; gap: 0; counter-reset: num; }
.num-list li {
  counter-increment: num; display: grid; grid-template-columns: 90px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.num-list li:first-child { border-top: 1px solid var(--line); }
.num-list li::before {
  content: "0" counter(num); font-family: var(--font-mono); font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.num-list h3 { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 6px; }
.num-list p { margin: 0; max-width: 64ch; }

/* ---------- Модули продукта ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mod-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 30px 28px; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.mod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-1); }
.mod-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad); opacity: 0; transition: opacity 0.2s;
}
.mod-card:hover::after { opacity: 1; }
.mod-card__icon {
  width: 54px; height: 54px; border-radius: 16px; background: var(--grad);
  display: grid; place-items: center; color: #fff; margin-bottom: 4px;
  box-shadow: 0 10px 22px -8px rgba(46, 92, 255, 0.5);
}
.mod-card h3 { font-size: 18px; }
.mod-card p { font-size: 14px; margin: 0; flex: 1; }
.mod-card__link { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.mod-card__link:hover { gap: 12px; }
.mod-card__link { transition: gap 0.2s; }

/* ---------- Таблица ключевых возможностей ---------- */
.feature-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-1); }
.feature-table caption {
  text-align: left; padding: 0 0 16px; font-family: var(--font-display);
  font-weight: 800; font-size: 18px; color: var(--ink);
}
.feature-table th, .feature-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.feature-table thead th {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); background: #fafbfe;
}
.feature-table tbody th { font-weight: 600; color: var(--ink); width: 32%; }
.feature-table tr:last-child td { border-bottom: none; }

/* ---------- Галерея скринов ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.gallery__item { border-radius: var(--radius-m); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.gallery__item--wide { grid-column: span 12; }
.gallery__item--7 { grid-column: span 7; }
.gallery__item--5 { grid-column: span 5; }
.gallery__item--6 { grid-column: span 6; }
.gallery__item--4 { grid-column: span 4; }
.gallery__item img { width: 100%; height: auto; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.02); }
.gallery__item figcaption { padding: 14px 18px; font-size: 13px; color: var(--text); display: flex; gap: 10px; align-items: baseline; }
.gallery__item figcaption b { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; flex: none; }

/* ---------- Плейсхолдеры скринов ---------- */
.ph {
  border: 2px dashed rgba(46, 92, 255, 0.35); border-radius: var(--radius-m);
  background: repeating-linear-gradient(-45deg, rgba(46, 92, 255, 0.04) 0 14px, rgba(122, 59, 255, 0.05) 14px 28px);
  min-height: 240px; display: grid; place-items: center; text-align: center;
  padding: 28px; color: var(--ink-2);
}
.ph__inner { max-width: 420px; }
.ph__icon { color: var(--accent); margin-bottom: 12px; }
.ph b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.ph span { font-size: 13px; color: var(--muted); }
.ph--dark { border-color: rgba(255, 255, 255, 0.3); background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 14px, rgba(255, 255, 255, 0.02) 14px 28px); color: #cdd6ee; }
.ph--dark b { color: #fff; }
.ph--dark span { color: #8fa0c9; }

/* ---------- Цитата / отзыв ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-1);
  display: grid; grid-template-columns: 84px 1fr; gap: 26px; align-items: start;
}
.quote-card__mark {
  width: 84px; height: 84px; border-radius: 24px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-family: var(--font-display);
  font-size: 44px; font-weight: 800; line-height: 1; padding-top: 14px;
}
.quote-card blockquote { margin: 0; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; color: var(--ink-2); font-weight: 500; }
.quote-card figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.quote-card figcaption b { color: var(--ink); }
.quote-card--ph { grid-template-columns: 1fr; }
.ph-note { font-size: 12px; color: var(--accent); font-family: var(--font-mono); letter-spacing: 0.06em; }

/* ---------- Метрики / счётчики ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px 26px; text-align: left; }
.metric__value {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.03em; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.metric__label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- CTA-полоса ---------- */
.cta-band {
  background: var(--grad); border-radius: var(--radius-l); color: #fff;
  padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.14);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.9); max-width: 52ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- Слим-баннер модуля (манифест секции продукта) ---------- */
.mini-statement {
  display: flex; align-items: baseline; gap: 14px 20px; flex-wrap: wrap;
  background: var(--grad); color: #fff; border-radius: var(--radius-m);
  padding: 20px 26px; margin-top: 38px;
}
.mini-statement .mini-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.mini-statement p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.35; }

/* ---------- CTA-строка секции ---------- */
.section-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 34px; }

/* ---------- Аккордеон ---------- */
.accordion { display: grid; gap: 14px; }
.accordion__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.accordion__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink);
}
.accordion__btn .chev { flex: none; transition: transform 0.25s; color: var(--accent); }
.accordion__item.is-open .accordion__btn .chev { transform: rotate(180deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion__panel > div { padding: 0 24px 22px; font-size: 14px; }
.accordion__item.is-open .accordion__panel { max-height: 320px; }

/* ---------- Форма ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.form-field label .req { color: #e2445c; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 14px; color: var(--ink);
  padding: 13px 16px; border-radius: var(--radius-s);
  border: 1px solid rgba(11, 21, 48, 0.16); background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s; width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46, 92, 255, 0.12);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #e2445c; }
.form-error { font-size: 12px; color: #e2445c; min-height: 16px; }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text); }
.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-success {
  display: none; background: #eafaf1; border: 1px solid #b7e6cd; color: #14683b;
  border-radius: var(--radius-m); padding: 22px 26px; margin-top: 18px;
}
.form-success.is-visible { display: block; animation: rise 0.4s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Карточки документов ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.doc-card__tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  background: var(--grad-soft); border-radius: 999px; padding: 6px 12px;
}
.doc-card h3 { font-size: 18px; margin: 4px 0 0; }
.doc-card p { font-size: 14px; margin: 0; flex: 1; color: var(--text); }
.doc-card__meta { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }

/* ---------- Команда ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.team-card__photo { aspect-ratio: 1 / 1.08; }
.team-card__avatar {
  aspect-ratio: 1 / 1.08; display: grid; place-items: center;
  background: var(--grad-soft);
}
.team-card__avatar span {
  width: 84px; height: 84px; border-radius: 24px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: 0 10px 24px -8px rgba(46, 92, 255, 0.5);
}
.team-card__body { padding: 20px 22px; }
.team-card__body h3 { font-size: 18px; margin-bottom: 4px; }
.team-card__body p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Партнёры (плейсхолдеры логотипов) ---------- */
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.logo-cell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  min-height: 86px; display: grid; place-items: center; padding: 18px;
  color: var(--muted); font-weight: 700; font-family: var(--font-display);
  font-size: 14px; text-align: center; letter-spacing: 0.02em;
  filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s;
}
.logo-cell:hover { filter: none; opacity: 1; }
.logo-cell--ph { border-style: dashed; color: var(--accent); font-size: 13px; font-weight: 600; }

/* ---------- Футер ---------- */
.footer { background: var(--dark-bg); color: #97a5c8; padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.footer .logo__text { color: #fff; }
.footer .logo__tag { color: #7181a8; }
.footer__about { font-size: 14px; max-width: 40ch; margin-top: 18px; }
.footer__mail { color: #fff; font-weight: 600; }
.footer__mail:hover { color: var(--cyan); }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #97a5c8; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; font-size: 13px; color: #7181a8; }
.footer__legal { font-size: 13px; color: #7181a8; max-width: 72ch; margin-top: 18px; }
.footer__legal a { color: #97a5c8; text-decoration: underline; }

/* ---------- Сетка контактов ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Grid-элементы должны уметь сжиматься ниже min-content (иначе переполнение на мобиле) */
.hero__inner > *, .duo-grid > *, .num-row > *, .statement > *, .contact-grid > *,
.value-grid > *, .mod-grid > *, .doc-grid > *, .metrics > *, .team-grid > *,
.gallery > *, .form-grid > * { min-width: 0; }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Хлебные крошки (внутренние страницы) ---------- */
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs--dark { color: #8fa0c9; margin: 0 0 14px; }
.crumbs--dark a { color: #8fa0c9; }
.crumbs--dark a:hover { color: #fff; }

/* ---------- Блок состояния входа в шапке ---------- */
.nav__auth { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__auth-note { font-size: 13px; color: var(--muted); white-space: nowrap; }
.nav__auth-note a { color: var(--accent); font-weight: 600; }
@media (max-width: 1024px) { .nav__auth-note { display: none; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .value-grid, .mod-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .gallery__item--7, .gallery__item--5, .gallery__item--6, .gallery__item--4 { grid-column: span 12; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(246, 248, 253, 0.98); backdrop-filter: blur(18px);
    padding: 24px 24px 40px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.28s ease, visibility 0s 0.28s;
  }
  .nav__links.is-open { transform: none; visibility: visible; transition: transform 0.28s ease; }
  .nav__link { font-size: 16px; padding: 14px 16px; justify-content: space-between; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: hidden; display: none;
    min-width: 0; box-shadow: none; border: none; background: rgba(46, 92, 255, 0.05);
  }
  .nav__item--drop.is-open .dropdown { display: block; transform: none; }
  .burger { display: block; margin-left: auto; }
  .nav__cta { margin-left: 0; }
  .statement, .duo-grid, .num-row { grid-template-columns: 1fr; }
  .quote-card { grid-template-columns: 1fr; }
  .quote-card__mark { width: 64px; height: 64px; font-size: 34px; border-radius: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .feature-table { display: block; overflow-x: auto; }
  .value-grid, .mod-grid, .doc-grid, .metrics, .team-grid, .form-grid { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .num-list li { grid-template-columns: 56px 1fr; }
  .hero__cta .btn { width: 100%; }
  .section-cta .btn { white-space: normal; } /* длинные подписи кнопок переносятся на узких экранах */
  .cta-band { padding: 30px 26px; }
}
