/* BeenBeen — лендинг. Тёмная «космическая» палитра: те же цвета, что у глобуса
   в приложении (lib/features/globe/globe_view.dart). */

:root {
  --space: #08182b;
  --space-2: #0c2440;
  --ink: #f2f7ff;
  --ink-dim: #b6c6da;
  --ink-mute: #7f93a9;
  --line: rgba(150, 220, 255, 0.16);
  --card: rgba(18, 42, 68, 0.55);
  --card-hi: rgba(26, 56, 88, 0.72);
  --brand: #1e88e5;
  --brand-hi: #5eb0ff;
  --cyan: #38bdf8;
  --green: #22c55e;
  --amber: #ffb300;
  --sky: #96dcff;
  --radius: 18px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--space);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Мягкое звёздное поле фоном всей страницы. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(56, 189, 248, 0.26), transparent 62%),
    radial-gradient(800px 560px at 6% 14%, rgba(34, 197, 94, 0.12), transparent 62%),
    radial-gradient(1200px 800px at 45% 108%, rgba(56, 189, 248, 0.16), transparent 66%),
    linear-gradient(180deg, #08182b 0%, #0b2137 42%, #08182b 100%);
}

main, header, footer { position: relative; z-index: 1; }

img, canvas, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1, h2 { text-wrap: balance; }
section[id] { scroll-margin-top: 84px; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 720px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 0.9rem;
}
.lead { color: var(--ink-dim); font-size: clamp(1rem, 1.15vw, 1.12rem); max-width: 56ch; }
.muted { color: var(--ink-mute); }
.micro { color: var(--ink-mute); font-size: 0.82rem; }
.center { text-align: center; }
.accent {
  background: linear-gradient(96deg, var(--green), var(--sky) 55%, var(--brand-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────────────────────────── кнопки и чипы ───────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
  cursor: pointer;
}
.btn-sm { padding: 0.52rem 1rem; font-size: 0.86rem; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #2fa3ff);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(47, 163, 255, 0.85);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(47, 163, 255, 0.95); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1px dashed rgba(150, 220, 255, 0.4);
  color: var(--ink-mute);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: default;
}
.soon::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); opacity: 0.7; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0; }
.chip {
  font: inherit;
  font-size: 0.84rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip:hover { border-color: rgba(150, 220, 255, 0.5); color: var(--ink); }
.chip.is-on { background: rgba(30, 136, 229, 0.22); border-color: rgba(94, 176, 255, 0.6); color: var(--ink); }

/* ─────────────────────────────── шапка ─────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(8, 24, 43, 0.88);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; letter-spacing: -0.02em; }
.logo b { color: var(--sky); font-weight: 700; }
.logo-mark { width: 28px; height: 28px; color: var(--sky); }
.site-nav { display: flex; gap: 1.35rem; margin-inline-start: auto; font-size: 0.92rem; color: var(--ink-dim); }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { display: none; } /* только в мобильном меню — в шапке есть кнопка */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
/* Выбор языка: <details> как выпадающий список (работает и без JS). */
.lang { position: relative; }
.lang > summary {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-dim);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover { color: var(--ink); border-color: rgba(150, 220, 255, 0.45); }
.lang > summary .icon { width: 16px; height: 16px; }
.lang .caret { width: 13px; height: 13px; transition: transform 0.2s ease; }
.lang[open] .caret { transform: rotate(180deg); }

.lang-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  z-index: 50;
  min-width: 186px;
  max-height: min(64vh, 420px);
  overflow-y: auto;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(9, 28, 48, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  display: grid;
  gap: 1px;
}
.lang-list a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 9px;
  font-size: 0.88rem;
  color: var(--ink-dim);
  white-space: nowrap;
}
.lang-list a:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.lang-list a.is-on { background: rgba(30, 136, 229, 0.22); color: var(--ink); }
.lang-list a b { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-mute); min-width: 1.6rem; }
.lang-list a.is-on b { color: var(--sky); }

.burger { display: none; width: 40px; height: 34px; border: 0; background: none; cursor: pointer; padding: 6px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: 0.2s; }

/* ──────────────────────────────── герой ──────────────────────────────── */

.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.8rem 0 2.2rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  column-gap: clamp(1.1rem, 2.6vw, 2.4rem);
  row-gap: 1rem;
  margin: 0 0 0.8rem;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-value {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-suffix { font-size: 0.62em; color: var(--ink-dim); margin-inline-start: 0.15em; }
.stat-label { font-size: 0.76rem; color: var(--ink-mute); line-height: 1.3; }

.hero-viz { position: relative; aspect-ratio: 1; min-height: 320px; }
.hero-viz canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero-viz canvas.is-grabbing { cursor: grabbing; }
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.28), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.badge {
  position: absolute;
  top: 0.4rem;
  inset-inline-start: 0.4rem;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #b6f2cd;
}
.hint {
  position: absolute;
  bottom: 0.2rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-size: 0.74rem;
  color: var(--ink-mute);
  white-space: nowrap;
}
.globe-label {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, 120px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(4, 6, 14, 0.78);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.globe-label.is-on { opacity: 1; }

/* ─────────────────────────────── секции ─────────────────────────────── */

.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section-alt {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 30, 52, 0.92), rgba(11, 38, 64, 0.92));
  border-block: 1px solid var(--line);
}
/* Тонкая голубая подсветка на стыке блоков — граница читается, но не режет. */
.section-alt::before,
.section-alt::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 90px;
  pointer-events: none;
}
.section-alt::before { top: 0; background: linear-gradient(180deg, rgba(56, 189, 248, 0.14), transparent); }
.section-alt::after { bottom: 0; background: linear-gradient(0deg, rgba(56, 189, 248, 0.09), transparent); }
.section-alt > .wrap { position: relative; z-index: 1; }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.eyebrow::before {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 0.85rem;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-reverse .split-viz { order: 1; }

.ticks { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-inline-start: 1.75rem; color: var(--ink-dim); font-size: 0.95rem; }
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.legend { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.legend-item { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: var(--ink-dim); }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-visited { background: var(--green); }
.dot-wish { background: var(--amber); }
.dot-region-on { background: #1e88e5; }
.dot-region-off { background: #e3e8ef; }

.map-frame, .travel-map {
  position: relative;
  border: 1px solid rgba(150, 220, 255, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  background: #b7d9ee;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.map-frame canvas { width: 100%; aspect-ratio: 16 / 10; }
.region-frame {
  position: relative;
  border: 1px solid rgba(150, 220, 255, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7fafd;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.region-frame canvas { width: 100%; aspect-ratio: 4 / 3; }
.region-progress { display: flex; flex-direction: column; gap: 0.2rem; margin: 1.4rem 0 0.2rem; }
.region-progress .stat-value { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--brand-hi); }
.travel-map { margin-bottom: 2rem; }
.travel-map canvas { width: 100%; aspect-ratio: 21 / 9; }
.hint-map { bottom: 0.5rem; color: #4a6b86; }

.map-tip {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  margin: -2.6rem 0 0 0.8rem;
  border-radius: 10px;
  background: rgba(4, 6, 14, 0.9);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.map-tip.is-on { opacity: 1; }
.map-tip i { font-style: normal; font-size: 0.72rem; color: var(--ink-mute); }
.map-tip i[data-status='visited'] { color: var(--green); }
.map-tip i[data-status='wish'] { color: var(--amber); }

/* Телефон с глобусом. */
.phone {
  width: min(310px, 78vw);
  margin-inline: auto;
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #c2d0de, #7d8fa3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #04060e;
  display: grid;
  grid-template-rows: 58px 1fr auto;
}
.phone-video { aspect-ratio: 9 / 16; }
.phone-video .phone-screen { display: block; background: #04060e; }
.phone-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.phone-video::before { display: none; } /* динамик не нужен — кадр целиком */
.phone-screen canvas { width: 100%; height: 100%; touch-action: pan-y; }
.phone-bar {
  display: flex;
  align-items: flex-end;
  padding: 0 1rem 0.45rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.phone-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0.5rem 0.4rem 0.9rem;
  background: linear-gradient(180deg, rgba(4, 6, 14, 0), rgba(4, 6, 14, 0.92) 45%);
}
.layer {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.4rem 0.1rem;
  border: 0;
  border-radius: 12px;
  background: none;
  color: rgba(255, 255, 255, 0.42);
  font: inherit;
  font-size: 0.62rem;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.layer .icon { width: 19px; height: 19px; }
.layer.is-on { color: #fff; background: rgba(255, 255, 255, 0.10); }
.layer:hover { color: #fff; }

/* ────────────────────────── плитки, карточки, шаги ────────────────────────── */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.tile {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-bottom: 1.4rem; }
.way {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.09), var(--card));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.way:hover { transform: translateY(-4px); border-color: rgba(150, 220, 255, 0.4); }
.way p { color: var(--ink-dim); font-size: 0.92rem; margin: 0; }
.way-num {
  position: absolute;
  top: 1.1rem;
  inset-inline-end: 1.2rem;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(150, 220, 255, 0.16);
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.1rem; }
.card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(150, 220, 255, 0.35); background: var(--card-hi); }
.card p { color: var(--ink-dim); font-size: 0.92rem; margin: 0; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  margin-bottom: 0.9rem;
  background: linear-gradient(140deg, rgba(30, 136, 229, 0.35), rgba(34, 197, 94, 0.22));
  color: var(--sky);
}
.icon { width: 22px; height: 22px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.steps li { padding-top: 0.4rem; }
.steps p { color: var(--ink-dim); font-size: 0.94rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 0.9rem;
  font-weight: 700;
  color: #04060e;
  background: linear-gradient(135deg, var(--sky), var(--green));
}

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.3rem; align-items: start; }
.plan { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.plan p { color: var(--ink-dim); margin: 0; }
.plan-premium { border-color: rgba(94, 176, 255, 0.45); background: linear-gradient(160deg, rgba(30, 136, 229, 0.16), var(--card)); }
.plan-premium ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.8rem; }
.plan-premium li { display: grid; gap: 0.1rem; }
.plan-premium li strong { font-size: 0.95rem; }
.plan-premium li span { color: var(--ink-dim); font-size: 0.86rem; }

.cta-final { padding-bottom: clamp(4rem, 8vw, 7rem); }
.cta-box {
  text-align: center;
  padding: clamp(2.4rem, 5vw, 4rem) 1.5rem;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(30, 136, 229, 0.24), transparent 70%),
    var(--card);
}
.cta-box .lead { margin-inline: auto; }
.cta-box .hero-cta { justify-content: center; }

/* ─────────────────────────────── подвал ─────────────────────────────── */

.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); margin-bottom: 0.8rem; }
.footer-grid nav { display: grid; gap: 0.5rem; align-content: start; font-size: 0.9rem; color: var(--ink-dim); }
.footer-grid nav a:hover { color: var(--ink); }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-mute); }

/* ─────────────────────────── юридические страницы ─────────────────────────── */

.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2.2rem; }
.legal p { color: var(--ink-dim); }

/* ────────────────────────── появление при скролле ────────────────────────── */

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ─────────────────────────────── адаптив ─────────────────────────────── */

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-reverse .split-copy, .split-reverse .split-viz { order: initial; }
  .hero-viz { order: -1; min-height: 0; width: min(100%, 460px); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    gap: 0;
    background: #08182b;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9);
  }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { display: block; color: var(--brand-hi); font-weight: 650; border-bottom: 0; }
  body.nav-open .site-nav { transform: none; }
  .burger { display: block; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
}
