/* =========================================================
   AXIOM — стили сайта
   Все цвета и шрифты заданы переменными ниже: поменяешь здесь —
   поменяется на всём сайте.
   ========================================================= */
:root {
  /* Холодная тёмная палитра */
  --bg: #8aa3bb;          /* фон страницы (холодный стальной) */
  --panel: #2d4258;       /* большие панели (глубокий холодный синий) */
  --panel-deep: #22344a;  /* ещё темнее — форма, интро */
  --card: #9bb3ca;        /* карточки услуг */
  --card-hover: #afc5d9;
  --ink: #eaf1f8;         /* светлый текст на панели */
  --ink-soft: #a9bfd4;    /* приглушённый светлый текст */
  --ink-mute: #7891aa;
  --navy: #0e1a26;        /* тёмный текст на светлом фоне */
  --navy-soft: #22364b;
  --deep: #2b4259;        /* огромное слово AXIOM внизу */
  --ice: #d6e8f6;
  --error: #ffc7c2;

  /* Акцент: ледяной неон */
  --accent: #7fe3ff;
  --accent-soft: #c4f6ff;
  --accent-deep: #2aa6d0;
  --glow: rgba(127, 227, 255, 0.55);

  --line: rgba(234, 241, 248, 0.16);
  --line-strong: rgba(234, 241, 248, 0.34);
  --line-dark: rgba(14, 26, 38, 0.24);

  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-body: "Inter", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --cut: 22px;            /* размер срезанного угла у карточек */
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-gutter: stable; }
body {
  /* фон: холодное сияние по углам + лёгкий перелив сверху вниз */
  background:
    radial-gradient(60% 45% at 0% 0%, rgba(214, 232, 246, 0.45), transparent 70%),
    radial-gradient(50% 40% at 100% 55%, rgba(127, 227, 255, 0.14), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(30, 50, 72, 0.25), transparent 70%),
    linear-gradient(180deg, #93abc2 0%, var(--bg) 40%, #7c95ae 100%);
  background-attachment: fixed;
  color: var(--navy);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Лёгкое «зерно» поверх всего сайта — убирает пластиковую плоскость заливок */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Слои: фон-карта снизу, страница над ней */
.bg-topo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }

/* Огромные контурные номера разделов на светлом фоне */
.watermark {
  position: absolute;
  right: max(var(--gutter), (100vw - var(--max)) / 2);
  top: 50%;
  translate: 0 -40%;
  z-index: -1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(160px, 20vw, 300px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(234, 241, 248, 0.3);
  pointer-events: none;
  user-select: none;
}
/* в «О нас» — сбоку от блока команды, не поверх цифр */
.watermark--about { right: 0; top: auto; bottom: clamp(60px, 8vw, 110px); translate: none; }
.about { position: relative; isolation: isolate; }
.process-sticky { isolation: isolate; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Контейнер: ширина максимум 1240px, по бокам отступы */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Мелкие моноширинные подписи — фирменная деталь стиля */
.label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
}
.dim { color: var(--ink-soft); }
.dim-label { color: var(--ink-soft); display: block; }
.accent-text { color: var(--accent); text-shadow: 0 0 28px rgba(127, 227, 255, 0.45); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* =========================================================
   КНОПКИ — мягкие обводки
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease), color 0.35s var(--ease), translate 0.35s var(--ease);
}
.btn:hover { translate: 0 -1px; }
.btn:active { translate: 0 0; }

/* Главная кнопка — ледяной неон */
.btn--accent {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 55%, #5fcdf0 100%);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 1px rgba(127, 227, 255, 0.25), 0 12px 34px -12px var(--glow);
}
.btn--accent:hover {
  box-shadow: inset 0 1px 0 #fff, 0 0 0 6px rgba(127, 227, 255, 0.16), 0 16px 42px -10px var(--glow);
}

.btn--light {
  background: rgba(234, 241, 248, 0.94);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px -14px rgba(8, 16, 26, 0.7);
}
.btn--light:hover { background: #fff; }

.btn--ghost {
  color: var(--ink);
  background: rgba(234, 241, 248, 0.05);
  border-color: rgba(234, 241, 248, 0.22);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(234, 241, 248, 0.11);
  border-color: rgba(234, 241, 248, 0.45);
  box-shadow: 0 0 0 6px rgba(214, 232, 246, 0.06);
}

.btn--dark {
  background: var(--navy);
  color: var(--ink);
  border-color: rgba(234, 241, 248, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 26px -14px rgba(8, 16, 26, 0.8);
}
.btn--dark:hover {
  background: #15263a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 6px rgba(14, 26, 38, 0.12), 0 14px 30px -14px rgba(8, 16, 26, 0.9);
}
.btn .dot {                 /* светящаяся точка-акцент в тёмной кнопке */
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.btn--sm { padding: 11px 18px; font-size: 11px; }
.btn--wide { width: 100%; padding-block: 16px; }

.chip {
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}

/* =========================================================
   ИНТРО — круг рисуется, буквы раздвигаются, страница раскрывается
   ========================================================= */
.intro { display: none; }
.intro-on, .intro-on body { overflow: hidden; }
.intro-on { background: var(--panel-deep); }   /* закрашиваем место под полосу прокрутки */
.intro-on .intro {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, #2a3f55 0%, var(--panel-deep) 60%, #182739 100%);
  color: var(--ink);
}
.intro-svg {
  grid-area: 1 / 1;
  width: min(58vmin, 300px);
  overflow: visible;
  transform: scale(var(--ring-scale, 1));
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s ease;
}
.intro-orbit {
  fill: none;
  stroke: var(--line-strong);
  stroke-dasharray: 2 7;
  transform-origin: 100px 100px;
  animation: spin 9s linear infinite;
}
.intro-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  animation: draw 1.35s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}
.intro-dots circle {
  fill: var(--accent);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.45s var(--ease) forwards;
  animation-delay: calc(0.2s + var(--i) * 0.11s);
}
.intro-count {
  position: absolute;
  top: calc(50% + clamp(34px, 6vw, 56px));
  left: 50%;
  translate: -50% 0;
  color: var(--ink-soft);
  transition: opacity 0.4s;
}
.intro-on.is-expanded .intro-count { opacity: 0; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop  { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

/* ---- Название: A D S → AXIOM DEVELOPMENT STUDIO ----
   Одинаковая разметка у интро и у логотипа в шапке,
   поэтому фраза может «прилететь» точно на место логотипа. */
.brand {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: var(--f-display);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.03em;
}
.brand b { font-weight: inherit; }
.brand-w { display: inline-flex; }
.brand-w + .brand-w { margin-left: 0.28em; }
.brand-main { font-weight: 700; }
.brand-sub { font-weight: 500; }
.rest { display: inline-block; }

.intro-brand { display: none; }
.intro-on .intro-brand {
  display: inline-flex;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;                 /* над страницей, чтобы долететь до шапки */
  transform: translate(-50%, -50%);
  transform-origin: 0 0;
  font-size: clamp(24px, 4.6vw, 52px);
  color: var(--ink);
  pointer-events: none;
}
.intro-on .intro-brand .brand-w + .brand-w { margin-left: 0.14em; transition: margin-left 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.intro-on .intro-brand .rest {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.7s ease 0.15s;
}
.intro-on .intro-brand b {
  opacity: 0;
  transform: translateY(40%);
  animation: letter-in 0.6s var(--ease) forwards;
}
.intro-on .intro-brand .brand-w:nth-child(1) b { animation-delay: 0.35s; }
.intro-on .intro-brand .brand-w:nth-child(2) b { animation-delay: 0.5s; }
.intro-on .intro-brand .brand-w:nth-child(3) b { animation-delay: 0.65s; }
@keyframes letter-in { to { opacity: 1; transform: none; } }

.intro-brand .brand-main,
.intro-brand .brand-sub { transition: color 1s ease; }
.intro-on.is-expanded .intro-brand .brand-w + .brand-w { margin-left: 0.28em; }
.intro-on.is-expanded .intro-brand .rest { opacity: 1; }
.intro-on.is-expanded .intro-brand .brand-sub { color: var(--ink-soft); }
.intro-on .intro-brand.is-landing .brand-main { color: var(--navy); }
.intro-on .intro-brand.is-landing .brand-sub { color: var(--navy-soft); }

/* Страница поверх интро: сначала спрятана в точку, потом раскрывается кругом */
.intro-on .page {
  position: relative;
  z-index: 1;
  background: var(--bg);
  clip-path: circle(0px at 50% 50vh);
}
.intro-on.is-open .page {
  clip-path: circle(150vmax at 50% 50vh);
  transition: clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1);
}
.intro-on.is-open .intro-svg { transform: scale(calc(var(--ring-scale, 1) * 2.4)); opacity: 0; }
/* пока идёт интро, настоящий логотип спрятан — на его место прилетит фраза */
.intro-on .logo-text { opacity: 0; }
.intro-on .logo-mark { opacity: 0; transform: scale(0.4) rotate(-90deg); }

/* =========================================================
   ШАПКА — закреплена сверху
   ========================================================= */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.top-bar.is-scrolled { border-bottom-color: var(--line-dark); }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

/* Логотип: знак-кольцо + полное название */
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -8px rgba(8, 16, 26, 0.7), 0 0 0 1px rgba(127, 227, 255, 0.18);
  transition: opacity 0.5s ease, transform 0.7s var(--ease);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-ring { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.logo-dot { fill: var(--accent); filter: drop-shadow(0 0 3px var(--accent)); }
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo-text { font-size: 24px; }
.logo-text .brand-main { color: var(--navy); }
.logo-text .brand-sub { color: var(--navy-soft); }

/* Меню: каждый пункт — овал с фоном, все вместе — в общей «капсуле» */
.nav {
  display: flex;
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(234, 241, 248, 0.16);
  border: 1px solid rgba(234, 241, 248, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: rgba(234, 241, 248, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 12px -8px rgba(8, 16, 26, 0.5);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, translate 0.3s var(--ease);
}
.nav-num { font-size: 10px; opacity: 0.55; }
.nav-link:hover { background: rgba(234, 241, 248, 0.72); translate: 0 -1px; }
.nav-link.is-active {         /* раздел, в котором сейчас пользователь */
  color: var(--ink);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 6px 16px -8px rgba(8, 16, 26, 0.8);
}
.nav-link.is-active .nav-num { color: var(--accent); opacity: 1; }

.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(234, 241, 248, 0.25);
  cursor: pointer;
  place-content: center;
  gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--navy); transition: transform 0.3s var(--ease); }
.top-bar.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.top-bar.menu-open .menu-btn span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* Полоска прогресса прокрутки */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--accent-deep));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* =========================================================
   ПАНЕЛИ — с объёмом: свет сверху, тень снизу, холодный блик
   ========================================================= */
.panel {
  position: relative;
  background:
    radial-gradient(110% 55% at 88% 0%, rgba(127, 227, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #33495f 0%, var(--panel) 30%, #273a4f 100%);
  color: var(--ink);
  padding: clamp(14px, 2vw, 22px) clamp(14px, 2vw, 22px) clamp(36px, 5vw, 64px);
  box-shadow:
    inset 0 1px 0 rgba(234, 241, 248, 0.18),
    inset 0 0 0 1px rgba(234, 241, 248, 0.04),
    0 50px 90px -50px rgba(6, 14, 24, 0.75);
}
.panel > .section,
.panel > .hero-grid,
.panel > .hero-bottom { padding-inline: clamp(6px, 2.4vw, 34px); }
.panel > .section:first-child { padding-top: clamp(28px, 4vw, 48px); }

/* =========================================================
   ЛЕДНИК В РАМКЕ
   ========================================================= */
.glacier {
  position: relative;
  height: clamp(440px, 68vh, 660px);
  isolation: isolate;
}
.glacier-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(#1f3247, #87a2bb);
  box-shadow: inset 0 0 0 1px rgba(234, 241, 248, 0.08), 0 30px 60px -30px rgba(4, 10, 18, 0.8);
}
.glacier canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.glacier-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(45, 66, 88, 0.96) 0%, rgba(45, 66, 88, 0.6) 26%, rgba(45, 66, 88, 0) 55%),
    linear-gradient(to right, rgba(20, 33, 48, 0.5) 0%, rgba(20, 33, 48, 0) 55%),
    linear-gradient(to bottom, rgba(20, 33, 48, 0.45) 0%, rgba(20, 33, 48, 0) 22%);
  pointer-events: none;
}
.glacier-view::after {      /* тонкая внутренняя рамка */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(234, 241, 248, 0.22);
  pointer-events: none;
  z-index: 2;
}
.corner {                   /* уголки как в видоискателе */
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--ink);
  z-index: 3;
}
.corner--tl { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; }
.corner--tr { top: 14px; right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; }
.corner--bl { bottom: 14px; left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner--br { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.glacier-meta {
  position: absolute;
  top: 30px;
  left: 38px;
  right: 38px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}
.glacier-meta .label { font-size: 14px; letter-spacing: 0.1em; font-weight: 500; }
.glacier-scroll {
  position: absolute;
  right: 38px;
  bottom: 40px;
  z-index: 3;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.glacier-scroll:hover { color: var(--ink); }
/* Заголовок лежит поверх ледника и «выходит» за его нижний край */
.glacier-content { position: absolute; left: 38px; right: 38px; bottom: -0.3em; z-index: 4; font-size: clamp(42px, 6.6vw, 94px); }

.h1 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(42px, 6.6vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 13ch;
  text-shadow: 0 2px 30px rgba(10, 20, 32, 0.45);
}

/* =========================================================
   ПОД ЛЕДНИКОМ
   ========================================================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: start;
  margin-top: clamp(64px, 8vw, 96px);
}
.hero-lead {
  max-width: 480px;
  color: var(--ink-soft);
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-steps { margin-top: 34px; color: var(--ink-soft); }

/* Схема с ядром и направлениями */
.diagram { max-width: 500px; justify-self: end; width: 100%; }
.diagram svg { width: 100%; height: auto; }
.d-ring { fill: none; stroke: var(--line); stroke-dasharray: 2 6; }
.d-line {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0.45;
  animation: flow 2.4s linear infinite;   /* «бегущие данные» по линиям */
}
@keyframes flow { to { stroke-dashoffset: -20; } }
.d-core-glow { fill: rgba(127, 227, 255, 0.07); stroke: rgba(127, 227, 255, 0.25); stroke-dasharray: 1 5; }
.d-core { fill: var(--panel-deep); stroke: var(--ink); stroke-width: 1; }
.d-core-text {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  fill: var(--ink);
}
.d-node { fill: var(--accent); filter: drop-shadow(0 0 5px rgba(127, 227, 255, 0.8)); }
.d-halo { fill: var(--panel); stroke: var(--ink-soft); opacity: 0.8; }
.d-label {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 1px;
  fill: var(--ink-soft);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}
.badge { display: flex; align-items: center; gap: 18px; }
.badge-circle {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(234, 241, 248, 0.03);
  transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.badge:hover .badge-circle { transform: rotate(45deg); border-color: var(--accent); box-shadow: 0 0 24px -4px var(--glow); color: var(--accent); }
.badge-num {
  display: block;
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}
.slogan {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 0.95;
  text-align: right;
}

/* =========================================================
   СЕКЦИИ И ЗАГОЛОВКИ
   ========================================================= */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}
.sec-num { display: block; margin-bottom: 10px; opacity: 0.85; }
.sec-hint { text-align: right; color: var(--ink-soft); }
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1;
}

/* ---------- Объём при наведении: карточка наклоняется, по ней бежит блик ---------- */
[data-tilt] { position: relative; transform-style: preserve-3d; }
[data-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.32), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
[data-tilt].is-tilting::after { opacity: 1; }
.js [data-reveal].is-tilting { transition: opacity 0.7s ease, transform 0.12s ease-out; }

/* ---------- Консоль на первом экране ---------- */
.console {
  max-width: 500px;
  margin-top: 30px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(10, 20, 32, 0.55), rgba(10, 20, 32, 0.35));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(234, 241, 248, 0.08), 0 30px 60px -36px rgba(4, 10, 18, 0.9);
}
.console-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(234, 241, 248, 0.03);
  color: var(--ink-mute);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(234, 241, 248, 0.16); }
.console-dots i:first-child { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.console-body {
  min-height: 214px;
  padding: 14px 16px 16px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.c-line { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.c-cmd { color: var(--ink); }
.c-cmd::before { content: "> "; color: var(--accent); }
.c-ok .mark { color: var(--accent); }
.c-done { color: var(--accent); text-shadow: 0 0 14px rgba(127, 227, 255, 0.5); }
.c-bar .track { color: var(--accent); letter-spacing: -0.05em; }
.c-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Бегущая строка ---------- */
.marquee {
  margin: clamp(56px, 7vw, 88px) calc(-1 * clamp(14px, 2vw, 22px)) 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(127, 227, 255, 0.04), rgba(127, 227, 255, 0) 50%, rgba(127, 227, 255, 0.04));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  text-transform: uppercase;
  color: var(--ink);
  margin-right: 28px;
}
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--ink-soft); }
.marquee i { font-style: normal; color: var(--accent); margin-right: 28px; text-shadow: 0 0 12px var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 Услуги: бенто-сетка из стеклянных карточек ---------- */
.directions { margin-top: clamp(64px, 8vw, 100px); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 14px;
}
.card--big { grid-column: span 2; grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(127, 227, 255, 0.06), transparent 55%),
    linear-gradient(160deg, rgba(234, 241, 248, 0.09), rgba(234, 241, 248, 0.02));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(234, 241, 248, 0.1), 0 24px 50px -30px rgba(4, 10, 18, 0.8);
  transition: border-color 0.35s, box-shadow 0.35s, translate 0.4s var(--ease);
}
.card::before {             /* светящаяся линия сверху при наведении */
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover, .card:focus-visible {
  translate: 0 -4px;
  border-color: rgba(127, 227, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(234, 241, 248, 0.14), 0 0 0 1px rgba(127, 227, 255, 0.1), 0 30px 60px -28px rgba(42, 166, 208, 0.5);
}
.card:hover::before, .card:focus-visible::before { opacity: 1; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(127, 227, 255, 0.07);
  border: 1px solid rgba(127, 227, 255, 0.22);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card-icon { background: rgba(127, 227, 255, 0.14); box-shadow: 0 0 22px -4px var(--glow); }
.card-no { color: var(--ink-mute); }
.card h3 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.05;
  margin-top: auto;
  padding-top: 26px;
}
.card p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tags b {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(234, 241, 248, 0.05);
  border: 1px solid var(--line);
}
.card-go {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.35s, border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.35s;
}
.card-go svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: stroke 0.35s; }
.card:hover .card-go {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 22px -2px var(--glow);
}
.card:hover .card-go svg { stroke: var(--navy); }

.card--big h3 { font-size: clamp(30px, 3vw, 40px); }
.card--big p { font-size: 15px; max-width: 46ch; }
.card--wide h3 { padding-top: 18px; }

/* Мини-макет сайта в большой карточке */
.card-art { margin-top: 20px; }
.art-browser {
  flex: 1;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10, 20, 32, 0.35);
  transform: perspective(900px) rotateX(6deg);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease);
}
.card--big:hover .art-browser { transform: perspective(900px) rotateX(0deg) translateY(-4px); }
.ab-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ab-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(234, 241, 248, 0.18); }
.ab-bar span {
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgba(234, 241, 248, 0.06);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-mute);
}
.ab-body { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 18px; }
.ab-line { display: block; height: 8px; width: 70%; border-radius: 4px; background: rgba(234, 241, 248, 0.12); }
.ab-line--title { height: 16px; width: 55%; background: rgba(234, 241, 248, 0.32); }
.ab-line--short { width: 45%; }
.ab-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--accent);
  box-shadow: 0 0 16px -2px var(--glow);
}
.ab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.ab-grid span { height: 46px; border-radius: 8px; background: rgba(234, 241, 248, 0.06); border: 1px solid var(--line); }

/* Схема «Сайт → Webhook → Telegram» в широкой карточке */
.art-flow { display: flex; align-items: center; gap: 0; }
.af-node {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(234, 241, 248, 0.06);
  border: 1px solid var(--line-strong);
}
.af-node--hot { color: var(--navy); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 18px -2px var(--glow); }
.af-link {
  flex: 1;
  min-width: 18px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  opacity: 0.7;
  animation: flow-x 1s linear infinite;
}
@keyframes flow-x { to { background-position: 24px 0; } }

/* ---------- 02 Процесс: горизонтальная лента ---------- */
.process { padding-top: clamp(72px, 9vw, 120px); }
.process .sec-num, .process .label { color: var(--navy-soft); }
.process-pin { position: relative; }
.process-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.process-head { margin-bottom: 36px; }
.lane-counter { font-size: 13px; }
.lane-counter b { font-family: var(--f-display); font-size: 40px; font-weight: 600; color: var(--navy); letter-spacing: 0; vertical-align: -4px; }
/* Лента ездит только в пределах ширины контента, края мягко растворяются */
.lane-viewport {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin: -28px auto;
  padding-block: 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.lane {
  list-style: none;
  display: flex;
  gap: 20px;
  padding-inline: 24px;
  width: max-content;
  will-change: transform;
}
.lane-card {
  --focus: 1;
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 360px);
  height: clamp(300px, 46vh, 380px);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(234, 241, 248, 0.55), rgba(234, 241, 248, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 30px 60px -36px rgba(8, 16, 26, 0.6);
  backdrop-filter: blur(8px);
  opacity: calc(0.45 + var(--focus) * 0.55);
  transform: scale(calc(0.93 + var(--focus) * 0.07));
  transition: opacity 0.2s linear, transform 0.2s linear;
}
.lane-num {                 /* огромная контурная цифра на фоне карточки */
  position: absolute;
  top: -18px;
  right: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 190px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 26, 38, 0.2);
  pointer-events: none;
}
.lane-card h3 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 1;
  margin: 8px 0 10px;
}
.lane-card p { font-size: 15px; color: var(--navy-soft); max-width: 26ch; }
.lane-card--key {
  background: radial-gradient(120% 80% at 80% 0%, rgba(127, 227, 255, 0.22), transparent 60%), linear-gradient(160deg, #1b2c3e, var(--navy));
  border-color: rgba(127, 227, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(127, 227, 255, 0.15), 0 30px 70px -30px rgba(42, 166, 208, 0.65);
  color: var(--ink);
}
.lane-card--key .lane-num { -webkit-text-stroke-color: rgba(127, 227, 255, 0.35); }
.process .lane-card--key .label { color: var(--accent); }
.lane-card--key h3 { color: var(--accent); text-shadow: 0 0 24px rgba(127, 227, 255, 0.45); font-size: 56px; }
.lane-card--key p { color: var(--ink-soft); }
.lane-end {
  flex: 0 0 auto;
  width: clamp(260px, 26vw, 340px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding-left: 12px;
}
.lane-end p { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; font-size: 34px; line-height: 1; }
.lane-bar { margin-top: 36px; height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.lane-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--accent-deep));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- 03 Цены ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(234, 241, 248, 0.08), rgba(234, 241, 248, 0.02));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(234, 241, 248, 0.1), 0 24px 50px -30px rgba(4, 10, 18, 0.8);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.price:hover { border-color: rgba(127, 227, 255, 0.45); box-shadow: inset 0 1px 0 rgba(234, 241, 248, 0.14), 0 0 0 1px rgba(127, 227, 255, 0.12), 0 24px 50px -24px rgba(42, 166, 208, 0.5); }
.price-num { color: var(--ink-mute); }
.price h3 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.05;
  margin-top: 18px;
}
.price p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.price-rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--ink-soft);
}
.price-rate b {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 26px rgba(127, 227, 255, 0.4);
}
.price-note { margin-top: 24px; color: var(--ink-soft); }

/* ---------- 04 О нас ---------- */
.about { padding: clamp(80px, 10vw, 130px) 0; }
.about .sec-num, .about .chip { color: var(--navy-soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { position: relative; border-top: 1px solid var(--line-dark); padding-top: 20px; }
.stat::before {             /* светящаяся метка над цифрой */
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.stat-num {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1;
  color: var(--navy);
}
.stat h3 {
  font-family: var(--f-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 20px;
  margin: 14px 0 6px;
}
.stat p { font-size: 14px; color: var(--navy-soft); }

.team { margin-top: clamp(72px, 9vw, 110px); }
.team-head { text-align: center; margin-bottom: 36px; }
.team-title {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1;
}
.team-tree { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.team-lines {
  width: calc(50% + 12px);
  height: 56px;
  overflow: visible;
  fill: none;
  stroke: var(--navy-soft);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}
.team-lines path { vector-effect: non-scaling-stroke; }
.team-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
.member {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(234, 241, 248, 0.6), rgba(234, 241, 248, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 24px 50px -30px rgba(8, 16, 26, 0.6);
}
.member--lead {
  width: min(100%, 400px);
  background: radial-gradient(120% 90% at 85% 0%, rgba(127, 227, 255, 0.2), transparent 60%), linear-gradient(160deg, #1d2f42, var(--navy));
  border-color: rgba(127, 227, 255, 0.4);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(127, 227, 255, 0.1), 0 30px 60px -28px rgba(42, 166, 208, 0.55);
}
.avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #3b5873, var(--navy));
  border: 1.5px solid rgba(234, 241, 248, 0.5);
  box-shadow: 0 0 0 4px rgba(234, 241, 248, 0.25);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.member--lead .avatar {
  width: 80px;
  height: 80px;
  font-size: 28px;
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(127, 227, 255, 0.12), 0 0 30px -4px var(--glow);
}
.member-role { color: var(--navy-soft); }
.member--lead .member-role { color: var(--accent); }
.member-name {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.member--lead .member-name { font-size: 24px; }

/* ---------- Первые проекты ---------- */
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.offer-title { font-size: clamp(36px, 4.4vw, 58px); margin-top: 12px; }
.offer-text { margin-top: 18px; color: var(--ink-soft); font-size: 17px; max-width: 460px; }
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.slot {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 12px;
  border-radius: 20px;
  border: 1px dashed rgba(127, 227, 255, 0.45);
  background: rgba(127, 227, 255, 0.04);
  text-align: center;
}
.slot .label { color: var(--ink-soft); }
.slot b { font-family: var(--f-display); font-weight: 500; font-size: 20px; text-transform: uppercase; color: var(--accent); }
.slot-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 18px -2px var(--glow), inset 0 0 10px -2px var(--glow);
  animation: breathe 2.8s ease-in-out infinite;
}
.slot:nth-child(2) .slot-ring { animation-delay: 0.4s; }
.slot:nth-child(3) .slot-ring { animation-delay: 0.8s; }
@keyframes breathe { 50% { transform: scale(0.82); opacity: 0.6; } }
.slots-cta { grid-column: 1 / -1; justify-self: start; }

/* ---------- 05 Заявка ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: clamp(72px, 9vw, 120px);
}
.contact-title { font-size: clamp(42px, 5.4vw, 72px); line-height: 0.95; }
.contact .hero-lead { margin-top: 22px; }
.contact-points { list-style: none; margin-top: 28px; color: var(--ink-soft); display: grid; gap: 6px; }

.form {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 30px;
  background: linear-gradient(160deg, #26394e, var(--panel-deep));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(234, 241, 248, 0.1), 0 40px 70px -40px rgba(4, 10, 18, 0.9);
}
.field { display: grid; gap: 4px; }
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(234, 241, 248, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a9bfd4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field select option { background: var(--panel-deep); color: var(--ink); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(234, 241, 248, 0.07);
  box-shadow: 0 0 0 4px rgba(127, 227, 255, 0.12);
}
.field ::placeholder { color: var(--ink-mute); }
.field select.is-flash { box-shadow: 0 0 0 4px rgba(127, 227, 255, 0.35); border-color: var(--accent); }

/* Ошибки показываем только после попытки отправить */
.field-error { display: none; font-size: 13px; color: var(--error); }
.form.was-submitted .field:has(:invalid) .field-error { display: block; }
.form.was-submitted .field :invalid { border-color: var(--error); }
.form.was-submitted .check:has(:invalid) + .field-error--check { display: block; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form-note { color: var(--accent); }
.form-note:empty { display: none; }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.foot { padding-top: 48px; overflow: hidden; }
.foot-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 24px;
  color: var(--navy-soft);
}
.barcode {
  width: 130px;
  height: 26px;
  margin-bottom: 10px;
  background: repeating-linear-gradient(90deg,
    var(--navy) 0 2px, transparent 2px 4px,
    var(--navy) 4px 5px, transparent 5px 8px,
    var(--navy) 8px 11px, transparent 11px 13px);
}
.foot-nav { display: flex; flex-direction: column; }
.foot-nav a { transition: color 0.2s; }
.foot-nav a:hover { color: var(--navy); }
.logo--small b { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--navy); }
.giant {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(110px, 30vw, 420px);
  line-height: 0.78;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 40px;
  user-select: none;
  /* буквы как толща льда: темнее книзу, с холодным бликом сверху */
  background: linear-gradient(180deg, #4a6680 0%, var(--deep) 45%, #1d2f42 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(234, 241, 248, 0.35));
}

/* Кнопка «наверх» */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ink);
  border: 1px solid rgba(127, 227, 255, 0.2);
  box-shadow: 0 12px 30px -12px rgba(8, 16, 26, 0.8);
  opacity: 0;
  translate: 0 12px;
  pointer-events: none;
  transition: opacity 0.35s, translate 0.35s var(--ease), box-shadow 0.3s, color 0.3s;
}
.to-top.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { color: var(--accent); box-shadow: 0 0 0 6px rgba(127, 227, 255, 0.12), 0 12px 30px -12px rgba(8, 16, 26, 0.8); }
.intro-on .to-top { display: none; }

/* =========================================================
   БОКОВЫЕ ПОЛЯ: слева ДНК, справа «маршрут»
   Показываем только там, где по краям есть свободное место.
   ========================================================= */
.side-dna, .side-rail { display: none; }

@media (min-width: 1360px) {
  .side-dna {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: calc((100vw - var(--max)) / 2);
    height: 100vh;
    z-index: 5;
    pointer-events: none;
    transition: opacity 1.2s ease;
  }
  .side-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: fixed;
    right: 0;
    top: calc(var(--header-h) + 28px);
    bottom: 92px;               /* оставляем место под кнопку «наверх» */
    width: calc((100vw - var(--max)) / 2);
    z-index: 30;
    color: var(--navy-soft);
    transition: opacity 1.2s ease;
  }
}
.intro-on .side-dna, .intro-on .side-rail { opacity: 0; }

.rail-body { position: relative; flex: 1; width: 100%; }
.rail-ticks {               /* шкала: мелкие и крупные деления, ползут при прокрутке */
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 22px;
  margin-left: -30px;
  background-image:
    linear-gradient(to bottom, rgba(14, 26, 38, 0.55) 0 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 26, 38, 0.3) 0 1px, transparent 1px);
  background-size: 22px 50px, 10px 10px;
  background-position: right 0, right 0;
  background-repeat: repeat-y;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.rail-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line-dark);
}
.rail-fill {
  position: absolute;
  left: -0.5px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--navy), var(--accent-deep));
  transform-origin: top;
  transform: scaleY(0);
}
.rail-dot {
  position: absolute;
  left: 0.5px;
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid var(--navy-soft);
  background: var(--bg);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, scale 0.3s var(--ease);
}
.rail-dot::before { content: ""; position: absolute; inset: -10px; }   /* попасть пальцем легче */
.rail-dot.is-passed { background: var(--navy); border-color: var(--navy); }
.rail-dot.is-current {
  scale: 1.25;
  background: var(--accent);
  border-color: var(--navy);
  box-shadow: 0 0 0 5px rgba(234, 241, 248, 0.45), 0 0 16px 2px var(--glow);
}
.rail-num {
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 -50%;
  font-size: 9px;
  color: var(--navy-soft);
}
.rail-name {
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, translate 0.25s var(--ease);
}
.rail-dot:hover .rail-name, .rail-dot:focus-visible .rail-name { opacity: 1; translate: -4px -50%; }
.rail-cap, .rail-readout { color: var(--navy-soft); font-size: 10px; }
.rail-readout { color: var(--navy); }

/* =========================================================
   ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ
   ========================================================= */
/* Слова появляются по одному */
.js [data-words] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease), filter 0.6s ease;
  transition-delay: calc(var(--i) * 55ms);
}
.js [data-words].in .w { opacity: 1; transform: none; filter: none; }

/* Блоки (карточки, шаги, форма) выезжают по очереди */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* =========================================================
   АДАПТИВ: планшеты и телефоны
   ========================================================= */
.nav-cta { display: none; }

/* Шапка: длинному логотипу нужно место — меню прячем в кнопку раньше */
@media (max-width: 1300px) {
  .menu-btn { display: grid; }

  /* Меню — выпадающая панель */
  .nav {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 24px 50px -20px rgba(8, 16, 26, 0.8);
    opacity: 0;
    translate: 0 -8px;
    pointer-events: none;
    transition: opacity 0.3s, translate 0.3s var(--ease);
  }
  .top-bar.menu-open .nav { opacity: 1; translate: 0 0; pointer-events: auto; }
  .nav-link {
    color: var(--ink);
    font-family: var(--f-display);
    font-size: 24px;
    text-transform: uppercase;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(234, 241, 248, 0.06);
    border-color: var(--line);
    box-shadow: none;
  }
  .nav-link:hover { color: var(--ink); background: rgba(234, 241, 248, 0.12); translate: none; }
  .nav-link.is-active { color: var(--navy); background: var(--accent); border-color: transparent; }
  .nav-link.is-active .nav-num { color: var(--navy); }
  .nav-num { font-size: 11px; }
  .nav-cta { display: flex; margin-top: 8px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .diagram { justify-self: center; }
  .cards, .prices { grid-template-columns: repeat(2, 1fr); }
  .card--big { grid-row: span 1; }
  .console { max-width: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .offer, .contact { grid-template-columns: 1fr; gap: 32px; }
  .foot-row { grid-template-columns: 1fr 1fr; }
}

/* На узких экранах (и без анимаций) лента процесса становится обычным списком */
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .process-pin { height: auto !important; }
  .process-sticky { position: static; height: auto; min-height: 0; display: block; overflow: visible; }
  .lane-viewport { width: auto; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .lane { width: auto; flex-direction: column; padding-inline: var(--gutter); transform: none !important; }
  .lane-card { width: 100%; height: auto; min-height: 220px; opacity: 1; transform: none; }
  .lane-num { font-size: 130px; -webkit-text-stroke-color: rgba(14, 26, 38, 0.12); }
  .lane-end { width: 100%; padding: 12px 0 0; }
  .lane-bar, .lane-counter { display: none; }
  .process { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  .top-actions .btn--sm { display: none; }   /* на телефоне кнопка заявки — внутри меню */
  .logo { gap: 9px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-mark svg { width: 22px; height: 22px; }
  .logo-text { font-size: 17px; }
  .glacier { height: clamp(440px, 72vh, 560px); }
  .glacier-view::after { inset: 10px; }
  .corner--tl, .corner--tr { top: 10px; }
  .corner--bl, .corner--br { bottom: 10px; }
  .corner--tl, .corner--bl { left: 10px; }
  .corner--tr, .corner--br { right: 10px; }
  .glacier-meta { top: 24px; left: 24px; right: 24px; }
  .glacier-meta .label { font-size: 12px; letter-spacing: 0.06em; }
  .glacier-meta-right, .glacier-scroll { display: none; }
  .glacier-content { left: 24px; right: 24px; }
  .d-label { font-size: 15px; letter-spacing: 0; }
  .slogan { text-align: left; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-hint { text-align: left; }
  .cards, .prices { grid-template-columns: 1fr; }
  .card--big, .card--wide { grid-column: auto; grid-row: auto; }
  .cards { grid-auto-rows: auto; }
  .card h3 { padding-top: 22px; }
  .art-browser { min-height: 180px; }
  .af-node { padding: 6px 9px; font-size: 10px; }
  .console-body { font-size: 12px; min-height: 200px; }
  .watermark { display: none; }
  .price { min-height: 0; }
  .stats { gap: 28px 16px; }
  .team-lines { display: none; }
  .team-row { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .member--lead { width: 100%; }
  .slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .slot { padding: 16px 6px; }
  .slot b { font-size: 16px; }
  .form { padding: 22px 18px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* Если у человека в системе выключены анимации — уважаем это */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
