[hidden] { display: none !important; }
/* IMPEX PAY — стили. Без фреймворков, современный CSS (custom properties, clamp, grid, :has, dvh) */

@font-face { font-family: Inter; src: url(../fonts/inter-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Onest; src: url(../fonts/onest-cyrillic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url(../fonts/onest-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Onest; src: url(../fonts/onest-cyrillic-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url(../fonts/onest-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #0B1F3A;
  --navy-deep: #071426;
  --navy-card: #0E2440;
  --blue: #0066FF;
  --blue-2: #3D8BFF;
  --green: #00C48C;
  --ink: #0B1F3A;
  --muted: #5F6B7E;
  --line: #E1E5EC;
  --soft: #F4F6FA;
  --white: #fff;
  --radius: 24px;
  --radius-lg: 32px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: Onest, Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: lowercase; }
em { font-style: normal; color: var(--blue-2); }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(960px, 100% - var(--gutter) * 2); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(24px, 4vw, 48px); }
.section--navy { background: var(--navy); color: #fff; }
.section--soft { background: var(--soft); }
.section__head { margin-bottom: clamp(32px, 4vw, 48px); }
.section__head--center { text-align: center; }
.section__sub { margin-top: 16px; color: rgba(255, 255, 255, .7); font-weight: 300; font-size: 1.1rem; }
.h2 { font-size: clamp(2.1rem, 5vw, 3.75rem); margin-bottom: clamp(28px, 4vw, 48px); }
.section__head .h2 { margin-bottom: 0; }
.h2--narrow { max-width: 20ch; }
.h2--center { text-align: center; }
.muted { color: var(--muted); }
.note { margin-top: 24px; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .5); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 22px; }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .75rem; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn--primary { box-shadow: 0 10px 28px rgba(0, 102, 255, .32); }
.btn--primary:hover { --bg: var(--green); box-shadow: 0 12px 32px rgba(0, 196, 140, .35); }
.btn--ghost { --bg: transparent; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--white { --bg: #fff; --fg: var(--blue); }
.btn--white:hover { --bg: var(--navy-deep); --fg: #fff; }
.btn--green { --bg: var(--green); --fg: var(--navy-deep); }
.btn--green:hover { --bg: #fff; }
.btn--soft { --bg: rgba(11, 31, 58, .05); --fg: var(--ink); border-color: rgba(11, 31, 58, .12); }
.btn--soft:hover { --bg: var(--blue); --fg: #fff; border-color: var(--blue); }

.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.badge--light { background: rgba(255, 255, 255, .16); color: #fff; }
.badge--green { border: 1px solid rgba(0, 196, 140, .5); color: var(--green); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: border-color .3s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* фон и размытие — на псевдоэлементе: backdrop-filter на самой шапке делает её контейнером для position:fixed,
   и мобильное меню (.mnav) сжималось до высоты шапки */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 20, 38, .82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled { border-color: rgba(255, 255, 255, .06); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo svg { width: 150px; height: auto; }
.nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a { font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .72); transition: color .2s; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue-2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 600; font-size: .95rem; white-space: nowrap; transition: color .2s; }
.header__phone:hover { color: var(--blue-2); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; inset: var(--header-h) 0 0; background: rgba(7, 20, 38, .97); backdrop-filter: blur(20px); padding: 24px var(--gutter) 40px; overflow-y: auto; }
.mnav ul a { display: block; padding: 16px 0; font-family: var(--display); font-weight: 700; font-size: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, .08); text-transform: lowercase; }
.mnav .btn { margin-top: 28px; }
.mnav__phone { display: block; text-align: center; margin-top: 18px; font-weight: 600; }
body:has(.mnav:not([hidden])) { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: #fff; padding: calc(var(--header-h) + 48px) 0 96px; overflow: clip; isolation: isolate; background: var(--navy-deep); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 38, .92) 0%, rgba(7, 20, 38, .55) 45%, rgba(7, 20, 38, .2) 100%), linear-gradient(0deg, rgba(7, 20, 38, .9) 0%, transparent 35%); }
.hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .98; max-width: 14ch; margin-bottom: 26px; }
.hero__lead { max-width: 36rem; font-size: 1.12rem; font-weight: 300; color: rgba(255, 255, 255, .84); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { display: flex; gap: 8px; margin-top: 36px; }
.hero__chips li { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.promo-card { border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); background: linear-gradient(135deg, var(--blue) 0%, #0047B3 100%); box-shadow: 0 30px 80px rgba(0, 102, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .16); position: relative; overflow: hidden; }
.promo-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 70%); pointer-events: none; }
.promo-card .badge { margin-bottom: 20px; }
.promo-card__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; margin-bottom: 14px; }
.promo-card__text { color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 28px; height: 44px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 16px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Преимущества ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(0, 102, 255, .35); box-shadow: 0 20px 50px rgba(11, 31, 58, .08); }
.feature__icon { width: 58px; height: 58px; border-radius: 18px; background: var(--blue); display: grid; place-items: center; margin-bottom: 26px; box-shadow: 0 10px 24px rgba(0, 102, 255, .3); }
.feature__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.6rem; margin-bottom: 12px; }
.feature p { color: var(--muted); }

/* ---------- Видео-рамки ---------- */
.frame { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-deep); }
.frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--dark { border: 6px solid rgba(255, 255, 255, .06); box-shadow: 0 40px 100px rgba(0, 0, 0, .35); }
.frame--wide { aspect-ratio: 16 / 9; max-width: 1100px; margin-inline: auto; }
.frame--light { border: 6px solid #fff; outline: 1px solid var(--line); box-shadow: 0 30px 70px rgba(11, 31, 58, .12); }

.routes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 40px; }
.routes li { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.routes b { display: block; font-weight: 600; }
.routes span { font-size: .82rem; color: var(--green); font-weight: 600; letter-spacing: .04em; }

/* ---------- Цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .05); }
.stat--deep { background: var(--navy-deep); border-color: rgba(0, 102, 255, .18); }
.stat--grad { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.stat__value { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__value--blue { color: var(--blue-2); }
.stat__value--green { color: var(--green); }

/* ---------- Scroll-story ---------- */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.story__stage { position: sticky; top: calc(var(--header-h) + 40px); }
.story__video { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); transform: scale(1.03); }
.story__video.is-active { opacity: 1; transform: none; }
.story__dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.story__dots li { width: 8px; height: 8px; border-radius: 4px; background: rgba(11, 31, 58, .18); transition: width .4s var(--ease), background-color .3s; }
.story__dots li.is-active { width: 28px; background: var(--blue); }
.story__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; padding-left: 28px; border-left: 3px solid rgba(11, 31, 58, .08); transition: border-color .5s var(--ease); }
.story__step h3 { color: #6B7686; transition: color .5s var(--ease); }
.story__step.is-active { border-left-color: var(--blue); }
.story__step.is-active h3 { color: var(--ink); }
.story__step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 40px; }
.story__num { font-family: var(--display); font-weight: 800; font-size: 1rem; color: #0052CC; letter-spacing: .1em; }
.story__step h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.02; }
.story__step p { color: var(--muted); max-width: 30rem; font-size: 1.05rem; }
.story__step .btn { align-self: flex-start; margin-top: 8px; }
.story__mvideo { display: none; }

/* ---------- Промо-полоса ---------- */
.band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-deep); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 102, 255, .45), transparent 65%); }
.band .badge { margin-bottom: 20px; }
.band__title { font-size: clamp(1.8rem, 4vw, 3.1rem); max-width: 20ch; margin-bottom: 16px; }
.band p { color: rgba(255, 255, 255, .72); max-width: 38rem; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); position: relative; }
.step__num { display: block; font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--blue-2); margin-bottom: 28px; }
.step h3 { font-size: 1.6rem; margin-bottom: 12px; }
.step p { color: rgba(255, 255, 255, .7); }

/* ---------- Заявка ---------- */
.lead { border-radius: var(--radius-lg); background: var(--navy-deep); color: #fff; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.lead::before { content: ""; position: absolute; z-index: -1; inset: auto auto -200px -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 196, 140, .18), transparent 65%); }
.lead .h2 { margin-bottom: 20px; max-width: 14ch; }
.lead__copy > p { color: rgba(255, 255, 255, .72); max-width: 30rem; }
.lead__list { margin-top: 28px; display: grid; gap: 12px; }
.lead__list li { padding-left: 32px; position: relative; color: rgba(255, 255, 255, .85); }
.lead__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071426' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: .85rem; color: var(--muted); }
.field input, .field select {
  height: 56px; width: 100%; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none;
}
.field select { padding-right: 44px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 18px center / 14px no-repeat; }
.field input::placeholder { color: #9AA3B2; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, .14); }
.field input[aria-invalid="true"] { border-color: #F87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, .15); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.check a:hover { color: var(--blue); }
.form__error { color: #F87171; font-size: .9rem; }
.form__done { padding: 22px; border-radius: 16px; background: rgba(0, 196, 140, .12); border: 1px solid rgba(0, 196, 140, .35); }
.form__done-title { font-family: var(--display); font-weight: 800; font-size: 1.4rem; margin-bottom: 4px; }
.form.is-done > :not(.form__done) { display: none; }
.form button[aria-busy="true"] { opacity: .7; cursor: wait; }

.form--dark .field > span, .form--dark .check { color: rgba(255, 255, 255, .7); }
.form--dark .field input, .form--dark .field select { background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.form--dark .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.form--dark .field select option { color: var(--ink); }
.form--dark .field input::placeholder { color: rgba(255, 255, 255, .4); }
.form--dark .field input:focus, .form--dark .field select:focus { border-color: var(--blue-2); background-color: rgba(255, 255, 255, .09); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(0, 102, 255, .35); box-shadow: 0 16px 40px rgba(11, 31, 58, .06); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066FF' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--muted); max-width: 62ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Контакты ---------- */
.map { position: relative; height: 380px; background: linear-gradient(135deg, #E9EEF5, #DCE3EE); display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map__load { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 600; cursor: pointer; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); margin-top: 48px; align-items: start; }
.contacts__list { display: grid; gap: 20px; }
.contacts__list a { display: flex; align-items: center; gap: 16px; font-weight: 500; transition: color .2s; }
.contacts__list a:hover { color: var(--blue); }
.ci { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 102, 255, .08); transition: background-color .2s; }
.ci svg { width: 19px; height: 19px; fill: var(--blue); transition: fill .2s; }
.contacts__list a:hover .ci { background: var(--blue); }
.contacts__list a:hover .ci svg { fill: #fff; }
.card-soft { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.card-soft__title { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin-bottom: 6px; }
.card-soft .muted { margin-bottom: 22px; }

/* ---------- Подвал ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .65); padding: 64px 0 40px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer__brand { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: #fff; margin-bottom: 18px; }
.footer__brand span { color: var(--blue-2); font-weight: 700; }
.footer__req { line-height: 1.8; }
.footer__h { color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAB + курсы ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--blue); background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; cursor: pointer; box-shadow: 0 12px 34px rgba(7, 20, 38, .35); transition: transform .25s var(--ease), border-color .2s; }
.fab:hover { transform: scale(1.06); border-color: var(--green); }
.rates { width: min(880px, calc(100% - 32px)); max-height: 88dvh; border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: clamp(20px, 3vw, 32px); background: var(--navy); color: #fff; }
.rates::backdrop { background: rgba(7, 20, 38, .8); backdrop-filter: blur(10px); }
.rates[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.rates__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.rates__title { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.rates__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; font-size: 1.6rem; cursor: pointer; }
.rates__close:hover { border-color: var(--blue-2); }
.rates__body { overflow-x: auto; }
.rates table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.rates th { font-weight: 500; font-size: .8rem; color: rgba(255, 255, 255, .55); padding: 10px 12px; text-align: center; }
.rates th:first-child, .rates td:first-child { text-align: left; }
.rates td { padding: 12px; text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; }
.rates td:first-child { font-weight: 600; }
.rates small { margin-left: 4px; font-weight: 600; }
.rates .up { color: #34D399; } .rates .down { color: #F87171; }
.rates__note { margin-top: 16px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.rates .muted { color: rgba(255, 255, 255, .6); padding: 24px 0; text-align: center; }

/* ---------- Мобильная панель / cookie ---------- */
.mbar { display: none; }
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 95; max-width: 380px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(11, 31, 58, .18); font-size: .88rem; }
.cookie a { text-decoration: underline; }

/* ---------- Анимации (стартовые состояния ставит JS; без JS всё видно) ---------- */
.js [data-reveal], .js [data-stagger] > *, .js [data-hero-item], .js [data-hero-card] { will-change: transform, opacity; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .routes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 120px; }
  .hero__shade { background: linear-gradient(0deg, rgba(7, 20, 38, .95) 10%, rgba(7, 20, 38, .55) 60%, rgba(7, 20, 38, .45) 100%); }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .story { grid-template-columns: 1fr; }
  .story__stage { display: none; }
  .story__mvideo { display: block; margin-bottom: 12px; }
  .story__step, .story__step:first-child { min-height: 0; padding: 0 0 48px; border-left: 0; }
  .story__step h3 { color: var(--ink); }
  .band, .lead, .contacts { grid-template-columns: 1fr; }
  .band .btn { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .header__phone { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__cta { display: none; }
  .features, .steps, .form__row { grid-template-columns: 1fr; }
  .routes { grid-template-columns: repeat(2, 1fr); }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .frame--dark { border-width: 3px; }
  .map { height: 300px; }
  .footer { padding-bottom: 110px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { right: 16px; bottom: 92px; width: 62px; height: 62px; font-size: .55rem; }
  .mbar { display: flex; position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); translate: -50% 0; z-index: 90; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(11, 31, 58, .94); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 14px 36px rgba(0, 0, 0, .3); }
  .mbar a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
  .mbar svg { width: 18px; height: 18px; fill: #fff; }
  .mbar .mbar__cta { width: auto; padding: 0 20px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
  .cookie { left: 16px; right: 16px; bottom: 84px; max-width: none; }
  body:has(.cookie:not([hidden])) .fab { bottom: 172px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Документ / 404 ---------- */
.doc-head { background: var(--navy-deep); padding: 18px 0; }
.doc-head__in { display: flex; justify-content: space-between; align-items: center; }
.doc-head .footer__brand { margin: 0; }
.doc { padding-block: 56px 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.4rem; margin: 36px 0 12px; text-transform: none; letter-spacing: -.01em; }
.doc p, .doc li { color: #2D3A4E; margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc__warn { padding: 14px 18px; border-radius: 14px; background: #FFF6E5; border: 1px solid #F5D9A6; color: #7A4B00 !important; margin-bottom: 28px !important; font-size: .92rem; }
.page-404 { background: var(--navy-deep); color: #fff; }
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
.nf__code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--blue-2); }
.nf h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
.nf p:not(.nf__code) { color: rgba(255, 255, 255, .7); max-width: 32rem; }

/* ---------- Видео-шоурил ---------- */
.reel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-deep); color: #fff; min-height: clamp(460px, 56vw, 640px); display: grid; align-items: end; }
.reel__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.reel__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 20, 38, .94) 0%, rgba(7, 20, 38, .7) 42%, rgba(7, 20, 38, .1) 100%), linear-gradient(0deg, rgba(7, 20, 38, .85) 0%, transparent 45%); }
.reel__copy { padding: clamp(28px, 5vw, 64px); max-width: 640px; }
.reel__copy .badge { margin-bottom: 20px; }
.reel__title { font-size: clamp(1.8rem, 3.8vw, 3rem); max-width: 18ch; margin-bottom: 28px; }
.reel__points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.reel__points li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.reel__points b { font-family: var(--display); color: var(--green); }
.reel__points span { color: rgba(255, 255, 255, .78); }
.reel__toggle { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(7, 20, 38, .55); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.reel__toggle:hover { background: rgba(0, 102, 255, .6); }
.reel__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.reel__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reel__toggle .i-play { display: none; fill: currentColor; stroke: none; }
.reel__toggle[aria-pressed="true"] .i-pause { display: none; }
.reel__toggle[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 640px) {
  .reel { min-height: 0; padding-top: 52vw; }
  .reel__video { height: 60vw; bottom: auto; }
  .reel__shade { background: linear-gradient(0deg, var(--navy-deep) 0%, var(--navy-deep) calc(100% - 60vw), rgba(7, 20, 38, .2) 100%); }
  .reel__points li { grid-template-columns: 1fr; gap: 2px; }
  .reel__toggle { top: 16px; right: 16px; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .reel__toggle { display: none; } }
