:root {
  --bg: #081F5C;                 /* Galaxy — базовый тёмный */
  --bg-deep: #001166;            /* Atlantic Depths — глубина в градиентах */
  --bg-soft: #1B365D;            /* Pantone 534C — карточки на тёмном */
  --bg-light: #F5F7FB;           /* светлый с голубым подтоном */
  --ocean: #5B88B2;              /* Ocean — вторичный акцент */
  --accent: #E73B13;
  --accent-dark: #c93010;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #AAC2DE; /* приглушённый с подтоном Ocean */
  --text-on-dark-faint: #5B88B2; /* лейблы = чистый Ocean */
  --text-on-light: #081F5C;
  --text-on-light-muted: #3E5C8A;
  --border-dark: rgba(91,136,178,0.28);
  --border-light: #DFE5F0;
  --radius-sm: 10px;   /* кнопки, поля ввода */
  --radius: 14px;      /* карточки, плитки иконок */
  --radius-lg: 20px;   /* крупные панели (форма) */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* макет приложения в hero намеренно выходит за правый край (right: -8%);
   clip обрезает вылет без горизонтального скролла и, в отличие от hidden,
   не ломает position: sticky у навбара */
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text-on-dark);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; position: relative; }

/* ===== Темные секции ===== */
.section-dark {
  background: var(--bg);
  color: var(--text-on-dark);
}
/* ===== Светлые секции ===== */
.section-light { background: var(--bg-light); color: var(--text-on-light); }
.section-white { background: #fff; color: var(--text-on-light); }

/* ===== Заголовки ===== */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.012em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.section-light .eyebrow,
.section-white .eyebrow { color: var(--text-on-light-muted); }
h2.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  margin: 20px 0 16px;
  text-transform: uppercase;
}
.section-lead {
  font-size: 17px;
  max-width: 720px;
  color: var(--text-on-dark-muted);
}
.section-light .section-lead,
.section-white .section-lead { color: var(--text-on-light-muted); }

/* ===== Кнопки ===== */
.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(180deg, #FF5A2E 0%, var(--accent) 55%, var(--accent-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  box-shadow: 0 10px 24px -12px rgba(231,59,19,0.55);
}
.btn-primary:hover { background: linear-gradient(180deg, #F0491F 0%, var(--accent-dark) 100%); }
.btn-primary.sm { padding: 9px 18px; font-size: 13px; }
.btn-outline-dark {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 26px;
}
.btn-outline-dark:hover { border-color: rgba(255,255,255,0.6); }
.btn-link {
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  font-size: 14px;
  text-decoration: none;
}
.section-light .btn-link,
.section-white .btn-link { color: var(--text-on-light); border-color: rgba(8,31,92,0.3); }

/* ===== Навигация ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,31,92,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow .25s ease;
}
.nav-wrap.scrolled { box-shadow: 0 8px 24px -12px rgba(0,0,0,0.5); }
nav.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: 42px; height: 42px;
  display: block;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.logo:hover .logo-img { transform: rotate(-12deg) scale(1.06); }
.logo-text { font-weight: 500; font-size: 15px; }
.menu { display: flex; gap: 28px; align-items: center; }
.menu a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.menu a:hover { color: var(--text-on-dark); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 72px;
  position: relative;
}
/* мягкое акцентное свечение за макетом приложения */
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(231,59,19,0.10), transparent 70%);
  pointer-events: none;
}
.corner-decor { position: absolute; pointer-events: none; }
.corner-decor.tr { top: 0; right: 32px; width: 220px; height: 160px; }
.corner-decor.bl { bottom: 0; left: 32px; width: 140px; height: 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
h1.hero-title {
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.014em;
  margin: 28px 0 24px;
  text-transform: uppercase;
}
p.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-bullets {
  list-style: none;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.hero-bullets li {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.4;
}
.hero-bullets svg {
  color: var(--accent);
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.hero-actions { display: flex; align-items: center; gap: 22px; }

/* ===== Краткое описание (что это) ===== */

/* ===== Возможности — карточки ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px -18px rgba(8,31,92,0.25);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.feature-icon {
  width: 46px; height: 46px;
  padding: 11px;
  background: linear-gradient(135deg, rgba(231,59,19,0.14), rgba(231,59,19,0.05));
  border-radius: 12px;
  color: var(--accent);
}
.feature-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-on-light-muted);
  letter-spacing: 0.1em;
}
.feature-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-on-light);
}
.feature-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-on-light-muted);
}

/* ===== Применения ===== */
.applications-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-top: 48px;
}
.applications-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border-dark);
}
.applications-list .app-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-on-dark);
}
.applications-list .app-item:nth-child(odd) { padding-right: 24px; }
.applications-list .app-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--border-dark); }
.app-marker {
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.audience-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-on-light-muted);
}
.audience-tags {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-on-light-muted);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}
.tech-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.tech-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}

/* ===== Эффект — метрики ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.impact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.impact-value {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-family: 'IBM Plex Sans', sans-serif;
}
.impact-unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-on-dark-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: -8px;
}
.impact-label {
  font-size: 15px;
  color: var(--text-on-dark);
  line-height: 1.4;
  margin-top: 6px;
}

/* ===== Почему Дельта-Баланс ===== */
.why-block { margin-top: 56px; }
.why-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--border-light);
  align-items: start;
}
.why-row:last-child { border-bottom: 1px solid var(--border-light); }
.why-cat {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
}
.why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.why-list li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-on-light);
  padding-left: 24px;
  position: relative;
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.why-list li strong {
  font-weight: 600;
  color: var(--text-on-light);
}

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-on-light);
}
.faq-q::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-light-muted);
  max-width: 760px;
}

/* ===== Контакты ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 56px;
}
.contacts-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block {
  border-top: 1px solid var(--border-dark);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 14px;
  align-items: start;
}
.contact-icon {
  color: var(--accent);
  width: 18px; height: 18px;
  margin-top: 4px;
}
.contact-block .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 8px;
}
.contact-block .value {
  font-size: 16px;
  color: var(--text-on-dark);
}
.form-card {
  background: linear-gradient(170deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -32px rgba(0,0,0,0.6);
  padding: 40px;
}
.form-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.form-card p.form-lead {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 96px; resize: vertical; }
.form-card .btn { width: 100%; padding: 14px; font-size: 14px; }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border-dark);
  padding: 40px 0;
  font-size: 13px;
  color: var(--text-on-dark-faint);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===== Burger / Mobile menu ===== */
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-on-dark);
  cursor: pointer;
  padding: 8px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.burger svg { width: 22px; height: 22px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .burger { display: flex; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--border-dark);
  }
  .menu.open { display: flex; }
  .menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: 15px;
  }
  .menu a:last-child { border-bottom: none; }
  nav.topnav { position: relative; }

  .hero { padding: 48px 0 56px; }
  .hero-grid, .applications-block, .contacts-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  h1.hero-title { font-size: clamp(26px, 7vw, 36px); }
  .hero-bullets { grid-template-columns: 1fr; }
  .features-grid, .impact-grid { grid-template-columns: 1fr; }
  .applications-list { grid-template-columns: 1fr; }
  .applications-list .app-item:nth-child(odd),
  .applications-list .app-item:nth-child(even) {
    padding: 18px 0; border-left: none;
  }
  .why-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .corner-decor.tr { width: 140px; height: 100px; right: 16px; }
  .corner-decor.bl { display: none; }
  .form-card { padding: 28px 22px; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 12px; }
  h2.section-title { font-size: clamp(24px, 6vw, 36px); }
  .impact-value { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ===== Form states (добавлено) ===== */
.form-status {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  display: none;
  line-height: 1.45;
}
.form-status.show { display: block; }
.form-status.ok {
  background: rgba(40,167,69,0.12);
  border: 1px solid rgba(40,167,69,0.5);
  color: #7ee2a0;
}
.form-status.err {
  background: rgba(231,59,19,0.12);
  border: 1px solid rgba(231,59,19,0.5);
  color: #f0997b;
}
.form-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  line-height: 1.45;
}
.form-consent input { margin-top: 2px; }
.form-consent a { color: var(--text-on-dark); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* =====================================================================
   АНИМАЦИОННЫЙ СЛОЙ
   ===================================================================== */

/* --- Полоса прогресса прокрутки --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;
  will-change: transform;
}

/* --- Тень/уплотнение навбара при скролле --- */
.nav-wrap.scrolled {
  box-shadow: 0 1px 0 var(--border-dark), 0 8px 28px rgba(0,0,0,0.28);
  background: rgba(8,31,92,0.96);
}

/* --- Базовый reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1),
              transform 0.7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Направления */
.reveal.from-left  { transform: translateX(-30px); }
.reveal.from-right { transform: translateX(30px); }
.reveal.from-scale { transform: scale(.94); }
.reveal.from-left.is-visible,
.reveal.from-right.is-visible,
.reveal.from-scale.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-progress { display: none; }
  html { scroll-behavior: auto; }
}

/* --- Hero: заголовок построчно (fade-up, без обрезки текста) --- */
.hero-title .line {
  display: block;
}
.hero-title .line > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.hero.is-visible .hero-title .line:nth-child(1) > span { transition-delay: .05s; }
.hero.is-visible .hero-title .line:nth-child(2) > span { transition-delay: .15s; }
.hero.is-visible .hero-title .line:nth-child(3) > span { transition-delay: .25s; }
.hero.is-visible .hero-title .line > span { opacity: 1; transform: none; }

/* Прочие блоки hero выезжают следом */
.hero .hero-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.hero.is-visible .hero-fade { opacity: 1; transform: none; }
.hero.is-visible .hero-fade.d1 { transition-delay: .35s; }
.hero.is-visible .hero-fade.d2 { transition-delay: .45s; }
.hero.is-visible .hero-fade.d3 { transition-delay: .55s; }
.hero.is-visible .hero-fade.d4 { transition-delay: .65s; }

@media (prefers-reduced-motion: reduce) {
  .hero-title .line > span,
  .hero .hero-fade { transform: none !important; opacity: 1 !important; }
}

/* --- Декор hero: лёгкое «дыхание» + слой параллакса --- */
.corner-decor[data-parallax] {
  transition: transform .25s ease-out;
  will-change: transform;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.corner-decor.tr { animation: floaty 9s ease-in-out infinite; }
.corner-decor.bl { animation: floaty 11s ease-in-out infinite reverse; }
@media (prefers-reduced-motion: reduce) {
  .corner-decor { animation: none !important; }
}

/* --- Hover-лифт карточек --- */
.feature-card,
.impact-card{
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              background .35s ease, box-shadow .35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -28px rgba(8,31,92,.45);
  z-index: 2;
}
.impact-card:hover { background: var(--bg-soft); }

/* Иконка в карточке слегка оживает */
.feature-card .feature-icon{
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-3deg); }

/* --- Применения: подсветка строки --- */
.applications-list .app-item {
  transition: color .25s ease, padding-left .25s ease, background .25s ease;
}
.applications-list .app-item:hover { color: var(--accent); }
.app-marker { transition: transform .25s ease; }
.applications-list .app-item:hover .app-marker { transform: translateX(2px); }

/* --- Кнопки: акцент с подъёмом и «бегущим» бликом --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: background .15s ease, transform .2s ease, box-shadow .25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(231,59,19,.7);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 140%; }

.btn-link {
  transition: color .15s ease, border-color .15s ease;
  position: relative;
}
.btn-link:hover { letter-spacing: .02em; }

/* --- Меню: подчёркивание + активный пункт (scroll-spy) --- */
.menu a { position: relative; }
.menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .25s ease;
}
.menu a:hover::after,
.menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--text-on-dark); }

/* --- Бургер → крестик --- */
.burger svg line {
  transition: transform .3s ease, opacity .25s ease;
  transform-origin: center;
}
.burger.active svg line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.active svg line:nth-child(2) { opacity: 0; }
.burger.active svg line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --- FAQ: плавная высота вместо display:none --- */
.faq-a {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.22,.61,.36,1),
              opacity .3s ease,
              padding .4s ease;
}
.faq-item.open .faq-a {
  opacity: 1;
  padding-bottom: 24px;
}
.faq-q { transition: color .2s ease; }
.faq-q:hover { color: var(--accent); }

/* --- Метрики: акцентная пульсация подчёркивания при появлении --- */
.impact-value { transition: transform .4s ease; }
.impact-card:hover .impact-value { transform: scale(1.03); }

/* --- Поля формы: подъём label при фокусе --- */
.form-group { position: relative; }
.form-group input,
.form-group textarea {
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(231,59,19,.12);
}

/* --- why-list: маркер вырастает при наведении на строку --- */
.why-list li { transition: color .2s ease; }
.why-list li::before { transition: width .25s ease, background .25s ease; }
.why-list li:hover::before { width: 18px; }

/* --- Статус формы: мягкое появление --- */
.form-status { transition: opacity .3s ease; }
.form-status.show { animation: statusIn .35s ease; }
@keyframes statusIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* =====================================================================
   НОВЫЕ СЕКЦИИ (контент v2)
   ===================================================================== */

/* ===== Проблема рынка ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px -18px rgba(8,31,92,0.25);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -28px rgba(8,31,92,.45);
  z-index: 2;
}
.problem-value {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.problem-value span { display: inline; }
.problem-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-on-light-muted);
}
@media (max-width: 1000px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ===== Как это работает — 3 шага ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.how-step {
  background: linear-gradient(160deg, var(--bg-soft), rgba(0,17,102,0.55));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -24px rgba(0,0,0,0.6);
  padding: 36px 30px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .35s ease, box-shadow .35s ease;
}
.how-step:hover {
  transform: translateY(-6px);
  border-color: rgba(231,59,19,.4);
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.5);
}
.how-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-on-dark-faint);
  letter-spacing: 0.1em;
}
.how-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(231,59,19,0.22), rgba(231,59,19,0.06));
  border-radius: 12px;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 4px 0 6px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.how-step:hover .how-icon { transform: scale(1.08); }
.how-icon svg { width: 26px; height: 26px; }
.how-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-on-dark);
}
.how-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  flex-grow: 1;
}
.how-tag {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #FF8A66;
  background: rgba(231,59,19,0.14);
  border-radius: 8px;
  padding: 6px 12px;
}
.how-cta { margin-top: 44px; }
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* ===== Для кого — строки ролей ===== */
.audience-rows {
  margin-top: 56px;
  border-top: 1px solid var(--border-dark);
}
.aud-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-dark);
  align-items: baseline;
  transition: padding-left .25s ease, background .25s ease;
}
.aud-row:hover {
  padding-left: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(231,59,19,0.10), transparent 60%);
}
.aud-role {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-dark);
  position: relative;
  padding-left: 24px;
}
.aud-role::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}
.aud-row:hover .aud-role::before { width: 18px; }
.aud-benefit {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}
.audience-cta { margin-top: 44px; }
@media (max-width: 760px) {
  .aud-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}

/* ===== Footer tagline ===== */
.footer-tagline {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-on-dark);
  max-width: 820px;
  padding: 8px 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-dark);
  letter-spacing: -0.01em;
}

/* ===== Офисы в контактах ===== */
.office-block {
  border-top: 1px solid var(--border-dark);
  padding-top: 22px;
}
.office-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 8px;
}
.office-city {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 6px;
}
.office-addr {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

/* ===== Примечание под формой ===== */
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-on-dark-faint);
  text-align: center;
}

/* =====================================================================
   КОНТЕНТ v3 — дословный
   ===================================================================== */

/* ===== Что такое Дельта-Баланс — список ===== */
.product-list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.product-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px -18px rgba(8,31,92,0.25);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: start;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-on-light);
  transition: background .3s ease;
}
.product-item:hover { background: var(--bg-light); }
.product-icon {
  width: 24px; height: 24px;
  min-width: 24px; min-height: 24px;
  max-width: 24px; max-height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}
@media (max-width: 760px) {
  .product-list { grid-template-columns: 1fr; }
}

/* ===== Решение (после метрик проблемы) ===== */
.problem-solution {
  text-wrap: pretty;         /* браузер сам избегает висячего последнего слова */
  margin-top: 48px;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-on-light);
  max-width: 880px;
  letter-spacing: -0.01em;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

/* ===== Макет приложения в hero ===== */
.app-mockup {
  position: absolute;
  top: -20px;                /* приподнимаем к верху hero */
  right: -10%;
  left: 47%;                 /* начинается после текстовой колонки (1fr ≈ 46.5%) */
  transform: none;
  z-index: 1;
  pointer-events: none;
}
.app-mockup svg {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 70px rgba(0,0,0,.5));
}
/* текстовая колонка hero — ПОВЕРХ макета */
.hero-grid > div:first-child {
  position: relative;
  z-index: 5;
  pointer-events: none;      /* пустые зоны пропускают, интерактив возвращаем ниже */
}
.hero-grid > div:first-child .eyebrow,
.hero-grid > div:first-child h1,
.hero-grid > div:first-child p,
.hero-grid > div:first-child .hero-bullets,
.hero-grid > div:first-child .hero-actions {
  pointer-events: auto;      /* текст и кнопки кликабельны */
}
@media (max-width: 1100px) {
  .app-mockup { left: 46%; right: -10%; }
}
/* на узких экранах макет в потоке под текстом, на всю ширину */
@media (max-width: 900px) {
  .app-mockup {
    position: static;
    transform: none;
    margin-top: 8px;
  }
  .app-mockup svg { width: 100%; filter: drop-shadow(0 16px 32px rgba(0,0,0,.35)); }
}

/* =====================================================================
   v4 — ТИПОГРАФИКА: Manrope ExtraBold для заголовков
   (жирный + разреженный uppercase даёт «широкий» постерный характер,
   тело остаётся на IBM Plex Sans)
   ===================================================================== */
h1, h2, h3, h4 {
  font-family: 'Manrope', 'IBM Plex Sans', system-ui, sans-serif;
}
h1, h2 { font-weight: 800; }
h1.hero-title { letter-spacing: 0.015em; }
h2.section-title { letter-spacing: 0.02em; }

.feature-title, .how-title, .aud-role, .office-city, .footer-tagline {
  font-family: 'Manrope', 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 700;
}
.problem-value, .impact-value {
  font-family: 'Manrope', 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 800;
}

/* =====================================================================
   v5 — технологичные элементы + sticky-навбар
   ===================================================================== */

/* CTA в навбаре */
.nav-cta { margin-left: 8px; }
@media (max-width: 900px) {
  .menu .nav-cta {
    margin: 14px 0 0;
    align-self: flex-start;
    border-bottom: none;
  }
}

/* Декоративная блок-схема в hero: медленно «текущие» потоки */
.hero-flow {
  position: absolute;
  left: -40px;
  bottom: -30px;
  width: 460px;
  height: auto;
  color: var(--ocean);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.hero-flow .flow {
  stroke-dasharray: 5 9;
  animation: flowDash 26s linear infinite;
}
.hero-flow .flow.f2 { animation-duration: 34s; animation-direction: reverse; }
.hero-flow .flow.f3 { animation-duration: 42s; }
@keyframes flowDash {
  to { stroke-dashoffset: -280; }
}
@media (max-width: 900px) {
  .hero-flow { display: none; }
}

/* Пунктирные коннекторы между шагами «Как это работает»
   (линия видна только в зазорах сетки — читается как связи между блоками) */
.how-grid {
  position: relative;
}
.how-grid::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 4%;
  right: 4%;
  border-top: 1.5px dashed rgba(91,136,178,0.45);
  z-index: 0;
}
.how-step { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .how-grid::before { display: none; }
}

/* Кликабельные значения в контактах */
.contact-block .value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: border-color .2s ease, color .2s ease;
}
.contact-block .value a:hover {
  color: #fff;
  border-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .hero-flow .flow { animation: none; }
}

@media (max-width: 900px) {
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
  }

/* =====================================================================
   «КТО МЫ» — цельная панель с водяным знаком
   ===================================================================== */
.about-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(680px 340px at 88% -20%, rgba(231,59,19,0.14), transparent 65%),
    linear-gradient(150deg, var(--bg-soft) 0%, rgba(0,17,102,0.65) 100%);
  box-shadow: 0 24px 60px -36px rgba(0,0,0,0.7);
  padding: 52px 56px 44px;
  margin: 24px 0;
}
/* крупный водяной знак — заполняет правую часть, не требуя внимания */
.about-watermark {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  width: 340px;
  height: 340px;
  opacity: 0.07;
  filter: grayscale(1) brightness(3);
  pointer-events: none;
  user-select: none;
}
.about-panel .about-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.about-panel .about-label::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent);
}
.about-panel .about-text {
  position: relative;
  margin-top: 22px;
  max-width: 780px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  color: var(--text-on-dark);
  text-wrap: pretty;
}
.about-stats {
  position: relative;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-stat-value {
  font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--text-on-dark);
}
.about-stat-value::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  margin-top: 10px;
  background: var(--accent);
  opacity: 0.8;
}
.about-stat-label {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-on-dark-muted);
  max-width: 220px;
}
@media (max-width: 900px) {
  .about-panel { padding: 32px 24px 28px; }
  .about-watermark { width: 240px; height: 240px; right: -90px; opacity: 0.05; }
  .about-stats { grid-template-columns: 1fr; gap: 20px; }
  .about-stat-value { font-size: 28px; }
}
