/* =================================================================
   Airschool — стили сайта (тёмная тема «Глубокое небо»)
   «От первого запуска до уверенного полёта»
   -----------------------------------------------------------------
   КАК ЗДЕСЬ ВСЁ УСТРОЕНО (простыми словами):
   - Раздел ":root" ниже — это «пульт управления» сайтом. Все главные
     цвета и размеры собраны в одном месте. Поменяете значение тут —
     и оно поменяется сразу по всему сайту.
   - Цвета записаны в формате OKLCH: (светлота  насыщенность  оттенок).
     Чем больше первое число — тем светлее.

   ЧАСТЫЕ ПРАВКИ:
   1. Главный синий цвет       → переменная --blue
   2. Редкий красный акцент    → переменная --red
   3. Цвет/градиент фона        → переменная --bg и блок "body"
   4. Скруглённость углов       → --radius / --radius-lg
   5. Видео на главном экране   → папка videos (hero.mp4 + hero-poster.png)
   6. Тексты, цены, ссылки      → файл index.html
   7. Фотографии                → папка images (замените файл на свой
      с тем же именем — и всё подхватится автоматически)
   ================================================================= */

/* === ПУЛЬТ УПРАВЛЕНИЯ: цвета, размеры, тени ====================== */
:root {
  /* --- Фон и поверхности (тёмные, глубокий синий) --- */
  --bg:          oklch(0.17 0.035 264);   /* глубокий тёмно-синий фон */
  --bg-2:        oklch(0.205 0.04 264);   /* фон второстепенных блоков */
  --surface:     oklch(0.225 0.042 264);  /* карточки */
  --surface-2:   oklch(0.265 0.046 264);  /* приподнятая панель */

  /* --- Линии и рамки --- */
  --line:        oklch(0.36 0.04 264);    /* видимые тонкие рамки */
  --line-soft:   oklch(0.30 0.038 264);   /* совсем лёгкие линии */

  /* --- Текст (светлый на тёмном фоне) --- */
  --ink:         oklch(0.97 0.012 256);   /* основной заголовочный текст */
  --ink-soft:    oklch(0.90 0.016 256);   /* обычный текст */
  --muted:       oklch(0.73 0.026 258);   /* приглушённые подписи (контраст ок) */

  /* --- СИНИЙ — главный цвет бренда --- */
  --blue:        oklch(0.62 0.16 258);    /* благородный синий — кнопки, акценты */
  --blue-strong: oklch(0.69 0.17 258);    /* ярче — для наведения мышкой */
  --blue-ink:    oklch(0.79 0.13 258);    /* светло-синий для текста/цен на тёмном */
  --blue-050:    oklch(0.30 0.055 261);   /* тёмно-синий фон значков */
  --blue-100:    oklch(0.36 0.075 261);   /* фон значков поярче */
  --on-blue:     oklch(0.99 0.006 256);   /* белый текст на синей кнопке */

  /* --- КРАСНЫЙ — редкий акцент (только «живой» маячок) --- */
  --red:         oklch(0.64 0.21 25);

  --tg:          #2aabee;                 /* фирменный синий Telegram */
  --tg-strong:   #1f96d4;

  /* --- Размеры и оформление --- */
  --radius:      14px;     /* скругление у мелких элементов */
  --radius-lg:   24px;     /* скругление у крупных карточек */
  --radius-pill: 999px;    /* «таблетка» для кнопок */
  --maxw:        1200px;   /* максимальная ширина содержимого */

  /* --- Тени и свечение --- */
  --shadow:      0 34px 70px -30px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 16px 38px -22px rgba(0, 0, 0, 0.6);
  /* Мягкое синее свечение (для кнопок и активных элементов) */
  --glow-blue:   0 0 0 1px oklch(0.62 0.16 258 / 0.55),
                 0 0 28px -2px oklch(0.62 0.16 258 / 0.55),
                 0 18px 40px -16px oklch(0.55 0.16 258 / 0.55);
  --ring-blue:   0 0 0 1px oklch(0.62 0.16 258 / 0.45),
                 0 24px 50px -22px oklch(0.62 0.16 258 / 0.55);

  /* --- Плавность анимаций (мягкое торможение, без «пружины») --- */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);  /* ease-out-quint — общий */
  --ease-expo:   cubic-bezier(0.16, 1, 0.30, 1);  /* ease-out-expo — уверенный, для героя */
  --t-fast:      0.16s;
  --t-med:       0.4s;
  --t-slow:      0.75s;

  /* --- Этажи (что выше чего по слоям) --- */
  --z-base:      1;
  --z-header:    100;
  --z-mobilenav: 90;
  --z-backdrop:  80;
}

/* === БАЗА: сброс отступов и общие правила ======================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;          /* ~17px — комфортно читать */
  line-height: 1.7;              /* светлый текст на тёмном «дышит» чуть свободнее */
  color: var(--ink-soft);
  /* Мягкие тёмно-синие градиенты (не кричащие): пара приглушённых
     «свечений» поверх глубокого синего фона. */
  background:
    radial-gradient(115% 85% at 12% -8%, oklch(0.30 0.085 262 / 0.55), transparent 58%),
    radial-gradient(100% 80% at 100% 4%, oklch(0.27 0.075 250 / 0.45), transparent 55%),
    radial-gradient(120% 90% at 50% 110%, oklch(0.24 0.07 268 / 0.5), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Заголовки — другим шрифтом (Sora): плотный, техничный, «айтишный» */
h1, h2, h3, h4 {
  font-family: "Sora", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;          /* ровные переносы строк в заголовках */
}
p { text-wrap: pretty; }       /* меньше «висячих» одиночных слов */

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

/* Видимая рамка фокуса (для тех, кто ходит по сайту с клавиатуры) */
:focus-visible {
  outline: 2.5px solid var(--blue-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Контейнер: ограничивает ширину и центрирует содержимое */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

/* Маленькая «приборная» подпись (моноширинная, как бортовой номер) */
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-ink);
  font-weight: 600;
}
.tagline .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px oklch(0.62 0.16 258 / 0.18);
}

/* Спрятать визуально, но оставить для скринридеров */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =================================================================
   КНОПКИ
   ================================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: var(--on-blue);
  box-shadow: 0 10px 26px -14px oklch(0.55 0.16 258 / 0.8);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-fast) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); background: var(--blue-strong); box-shadow: var(--glow-blue); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn svg { flex: none; }

.btn--large { padding: 17px 32px; font-size: 1.02rem; }
.btn--small { padding: 11px 18px; font-size: 0.88rem; }

/* Прозрачная (вторичная) кнопка с тонкой рамкой */
.btn--ghost {
  background: oklch(1 0 0 / 0.04);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: oklch(1 0 0 / 0.07); border-color: var(--blue); color: #fff; box-shadow: 0 0 24px -6px oklch(0.62 0.16 258 / 0.45); transform: translateY(-2px); }

/* Кнопка Telegram (узнаваемый фирменный цвет) */
.btn--tg { background: var(--tg); color: #fff; box-shadow: 0 10px 26px -14px rgba(42, 171, 238, 0.9); }
.btn--tg:hover { background: var(--tg-strong); box-shadow: 0 0 28px -2px rgba(42, 171, 238, 0.6), 0 18px 40px -16px rgba(42, 171, 238, 0.5); }

/* =================================================================
   ШАПКА И НАВИГАЦИЯ
   ================================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: oklch(0.17 0.035 264 / 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: oklch(0.16 0.035 264 / 0.82);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

/* Логотип: значок-«взлёт» + текст Airschool */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.24rem; color: var(--ink); letter-spacing: -0.03em; }
.logo__mark {
  flex: none; width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--blue-strong), var(--blue));
  color: #fff;
  box-shadow: 0 0 22px -4px oklch(0.62 0.16 258 / 0.8);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__text strong { font-weight: 800; color: var(--blue-ink); }

/* Логотип-картинка (официальный logo.png) + аккуратный запасной вариант.
   PNG обрезан по содержимому и имеет ПРОЗРАЧНЫЙ фон, поэтому ложится прямо
   на тёмную плашку шапки/подвала без видимого прямоугольника и стыка. */
.logo { transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.logo:hover { opacity: 0.9; }
.logo:active { transform: translateY(1px); }
.logo:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 8px; }
.logo__img {
  height: 40px; width: auto; display: block;
  object-fit: contain;
  -webkit-user-drag: none; user-select: none;
}
.logo__img.is-broken { display: none; }
.logo__fallback { display: none; align-items: center; gap: 11px; }
.logo__img.is-broken ~ .logo__fallback { display: inline-flex; }
.footer .logo__img { height: 38px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 10px oklch(0.62 0.16 258 / 0.7);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 6px; }

/* Кнопка-гамбургер (только на телефоне) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
}
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease); margin-inline: auto; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Затемнение позади выезжающего меню (на телефоне) */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  z-index: var(--z-backdrop);
  background: oklch(0.10 0.03 264 / 0.6);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.nav-backdrop.is-open { opacity: 1; }

/* =================================================================
   ГЛАВНЫЙ ЭКРАН (HERO) — с фоновым видео
   ================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(620px, 92vh, 920px);
  display: flex;
  align-items: center;
}

/* Слой с видео (и запасной картинкой). Лежит позади всего содержимого. */
.hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Очень медленный «наезд» камеры — премиальное живое ощущение */
  animation: hero-kenburns 26s ease-in-out infinite alternate;
}

/* Тёмное затемнение поверх видео: слева темнее (под текст), справа сверху —
   немного видно небо. Снизу — плавный уход в фон страницы. */
.hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, oklch(0.16 0.035 264 / 0.92) 0%, oklch(0.16 0.035 264 / 0.55) 52%, oklch(0.16 0.035 264 / 0.25) 100%),
    linear-gradient(180deg, oklch(0.16 0.035 264 / 0.55) 0%, transparent 30%, oklch(0.16 0.035 264 / 0.55) 72%, var(--bg) 100%),
    radial-gradient(70% 55% at 82% 12%, oklch(0.45 0.13 256 / 0.30), transparent 62%);
}
/* Еле заметная «приборная» сетка поверх — техно-настроение */
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(oklch(0.7 0.1 256 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.7 0.1 256 / 0.05) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(78% 70% at 50% 35%, #000, transparent 82%);
          mask-image: radial-gradient(78% 70% at 50% 35%, #000, transparent 82%);
}

.hero__inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
  padding-block: clamp(72px, 10vh, 120px);
}
.hero__content { max-width: 620px; }
.hero__tagline { margin-bottom: 22px; }
/* Название бренда — крупный, но не «кричащий» вордмарк */
.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  margin-bottom: 12px;
  text-shadow: 0 2px 30px oklch(0.12 0.03 264 / 0.7);
}
.hero__title em { font-style: normal; color: var(--blue-ink); }
/* Слоган — теперь спокойная строка под названием, не огромный заголовок */
.hero__slogan {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 30px;
}
/* Яркий акцент на типах прямо в описании (A320, Boeing 737, VATSIM) */
.hero__subtitle em { font-style: normal; font-weight: 700; color: var(--blue-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Ряд «бирок»: типы самолётов и симуляторы */
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid oklch(1 0 0 / 0.12);
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 600;
  font-family: "Sora", sans-serif;
  color: var(--ink-soft);
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.chip:hover { border-color: oklch(0.62 0.16 258 / 0.5); background: oklch(0.62 0.16 258 / 0.12); }
.chip svg { width: 15px; height: 15px; color: var(--blue-ink); flex: none; }

/* Правый блок героя — фото кабины в рамке + плавающие «приборные» карточки */
.hero__panel { position: relative; justify-self: center; width: min(520px, 100%); }
.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid oklch(1 0 0 / 0.14);
  box-shadow: var(--shadow), 0 0 0 1px oklch(0.62 0.16 258 / 0.12);
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, oklch(0.14 0.03 264 / 0.55));
}

/* Плавающая стеклянная карточка «идёт занятие» */
.hud {
  position: absolute;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 12px 16px;
  border-radius: 14px;
  background: oklch(0.22 0.04 264 / 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid oklch(1 0 0 / 0.14);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  color: var(--ink);
}
.hud b { font-family: "Sora", sans-serif; font-weight: 700; }
.hud small { display: block; color: var(--muted); font-size: 0.74rem; }
.hud--live { left: -18px; top: 28px; }
.hud--metric { right: -16px; bottom: 30px; }
/* Красный «живой» маячок — редкий акцент */
.hud__pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 oklch(0.64 0.21 25 / 0.6); animation: pulse 2.4s var(--ease) infinite; }
.hud__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--blue-050); color: var(--blue-ink); }
.hud__icon svg { width: 18px; height: 18px; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.64 0.21 25 / 0.55); }
  70%  { box-shadow: 0 0 0 12px oklch(0.64 0.21 25 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.64 0.21 25 / 0); }
}

/* Медленный «наезд» видео на главном экране */
@keyframes hero-kenburns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.2%, -1.5%, 0); }
}

/* =================================================================
   ИНТЕРАКТИВНЫЙ АВИАГОРИЗОНТ (нарисован кодом, на главном экране)
   Его можно «покрутить» мышью или пальцем — это делает script.js.
   ================================================================= */
.attitude {
  position: relative;
  width: min(420px, 92%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.attitude__svg {
  width: 100%; height: auto;
  cursor: grab;
  touch-action: none;            /* чтобы перетаскивание пальцем не прокручивало страницу */
  animation: ai-glow 5.5s ease-in-out infinite;
}
.attitude.is-dragging .attitude__svg { cursor: grabbing; animation: none; filter: drop-shadow(0 18px 36px rgba(0,0,0,0.5)) drop-shadow(0 0 46px oklch(0.62 0.16 258 / 0.65)); }
/* Подвижные части плавно возвращаются в уровень после отпускания.
   Вращение — строго вокруг центра прибора (120,120 в системе координат SVG),
   поэтому и линия горизонта, и шкала крена крутятся согласованно. */
.attitude__card,
.attitude__pointer,
.attitude__pitch { transform-box: view-box; transform-origin: 120px 120px; transition: transform 0.85s var(--ease-expo); }
.attitude.is-dragging .attitude__card,
.attitude.is-dragging .attitude__pointer,
.attitude.is-dragging .attitude__pitch { transition: none; }
/* Кнопка-призыв у горизонта */
.attitude__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Sora", sans-serif; font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(0.62 0.16 258 / 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.attitude__cta svg { color: var(--blue-ink); }
.attitude__cta:hover { background: oklch(0.62 0.16 258 / 0.16); box-shadow: 0 0 24px -6px oklch(0.62 0.16 258 / 0.55); transform: translateY(-2px); }

/* Авиационные подписи (ALT / HDG / SPD / V/S) вокруг прибора */
.hud-tag {
  position: absolute; z-index: 3;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: oklch(0.16 0.035 264 / 0.6);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 8px;
  padding: 5px 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.hud-tag b { color: var(--blue-ink); font-weight: 700; margin-right: 3px; }
.hud-tag--tl { top: 6%;  left: -6%; }
.hud-tag--tr { top: 6%;  right: -6%; }
.hud-tag--bl { bottom: 24%; left: -8%; }
.hud-tag--br { bottom: 24%; right: -8%; }

/* Лёгкое «дыхание» синего свечения вокруг прибора */
@keyframes ai-glow {
  0%, 100% { filter: drop-shadow(0 18px 36px rgba(0,0,0,0.5)) drop-shadow(0 0 22px oklch(0.62 0.16 258 / 0.32)); }
  50%      { filter: drop-shadow(0 18px 36px rgba(0,0,0,0.5)) drop-shadow(0 0 40px oklch(0.62 0.16 258 / 0.60)); }
}

/* =================================================================
   ОБЩИЕ СТИЛИ СЕКЦИЙ
   ================================================================= */
.section { padding-block: clamp(52px, 7vw, 92px); position: relative; }
.section--alt { background: oklch(0.20 0.04 264 / 0.6); border-block: 1px solid var(--line-soft); }

.section__head { max-width: 680px; margin-bottom: clamp(34px, 4.5vw, 52px); }
.section__title em { font-style: normal; color: var(--blue-ink); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: 14px; }
.section__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.section__head--center .section__lead { margin-inline: auto; }
.section__kicker { display: inline-flex; margin-bottom: 16px; }

/* =================================================================
   УСЛУГИ — карточки с фото
   ================================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: oklch(0.62 0.16 258 / 0.5); box-shadow: var(--shadow), 0 0 30px -10px oklch(0.62 0.16 258 / 0.45); }

/* Выделенная (популярная) карточка — синяя рамка-подсветка */
.card--featured { border-color: oklch(0.62 0.16 258 / 0.6); box-shadow: var(--ring-blue); }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, oklch(0.18 0.035 264 / 0.55)); }

/* Бирка формата (Разовое / Курс / Услуга) */
.card__format {
  position: absolute; top: 13px; left: 13px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Sora", sans-serif; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: oklch(0.18 0.035 264 / 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  border: 1px solid oklch(1 0 0 / 0.12);
}
.card__format svg { width: 13px; height: 13px; color: var(--blue-ink); }
.card__format--hit { background: var(--blue); color: #fff; border-color: transparent; box-shadow: 0 0 20px -4px oklch(0.62 0.16 258 / 0.8); }
.card__format--hit svg { color: #fff; }

.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.card__title { font-size: 1.3rem; font-weight: 700; }
.card__text { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 16px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.card__price { display: flex; flex-direction: column; }
.card__price b { font-family: "Sora", sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.card__price small { font-size: 0.78rem; color: var(--muted); }

/* =================================================================
   УСЛУГИ — ЗИГЗАГ-СЕКЦИИ (текст с одной стороны, большое фото с другой)
   ================================================================= */
.zigzag { display: flex; flex-direction: column; gap: clamp(52px, 7vw, 124px); }
.zz {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
}
/* Чётные секции — фото справа */
.zz--rev { grid-template-columns: 0.88fr 1.12fr; }
.zz--rev .zz__media { order: 2; }

.zz__media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px oklch(0.62 0.16 258 / 0.10);
  aspect-ratio: 16 / 11;
}
.zz__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.zz:hover .zz__media img { transform: scale(1.04); }
/* Затемнение фото + лёгкий синий подтон (премиальная атмосфера) */
.zz__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(0.14 0.03 264 / 0.22), oklch(0.14 0.03 264 / 0.58)),
    radial-gradient(80% 70% at 70% 22%, oklch(0.45 0.13 256 / 0.22), transparent 60%);
}

/* Текстовая панель НАКЛАДЫВАЕТСЯ на фото (стекло + тень = глубина) */
.zz__text {
  position: relative;
  z-index: 2;
  background: oklch(0.205 0.04 264 / 0.88);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid oklch(1 0 0 / 0.10);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 46px);
  box-shadow: var(--shadow);
  margin-left: clamp(-100px, -6vw, -54px);
}
.zz--rev .zz__text { margin-left: 0; margin-right: clamp(-100px, -6vw, -54px); }

.zz__index {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.zz__title { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; }
/* Крупный ЯРКИЙ акцент на названии (тип самолёта / сеть) — взгляд цепляется */
.zz__title .hl { font-style: normal; color: var(--blue-ink); font-weight: 800; font-size: 1.18em; }
.hl-soft { font-style: normal; color: var(--blue-ink); font-weight: 700; }
.zz__desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
/* Бейдж «реальный пилот»: заметная, но аккуратная плашка в стиле сайта */
.zz__badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: -6px 0 26px;
  padding: 9px 16px 9px 13px;
  font-size: 0.92rem; font-weight: 600; line-height: 1.35;
  color: var(--blue-ink);
  background: var(--blue-050);
  border: 1px solid oklch(0.62 0.16 258 / 0.4);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 1px oklch(0.62 0.16 258 / 0.12), var(--shadow-soft);
}
.zz__badge svg { width: 20px; height: 20px; flex: none; color: var(--blue-ink); }
.zz__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.zz__price { display: flex; flex-direction: column; }
.zz__price b { font-family: "Sora", sans-serif; font-size: 1.55rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.zz__price small { font-size: 0.82rem; color: var(--muted); max-width: 32ch; }

/* === Спецпредложение: пакет занятий ============================
   Цену пакета выделяем отдельной плашкой, чтобы она «читалась» как
   выгодное предложение и отличалась от обычной почасовой цены:
   лёгкая синяя подложка, мягкая рамка и тонкое свечение. */
.zz__pack {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 12px;
  padding: 8px 12px 8px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg,
              oklch(0.30 0.055 261 / 0.6), oklch(0.30 0.055 261 / 0.26));
  border: 1px solid oklch(0.62 0.16 258 / 0.32);
  box-shadow: 0 0 0 1px oklch(0.62 0.16 258 / 0.10),
              0 12px 30px -20px oklch(0.62 0.16 258 / 0.85);
}
.zz__pack-text { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.zz__pack-text b { font-family: "Sora", sans-serif; font-weight: 700; color: var(--blue-ink); letter-spacing: -0.01em; }

/* У Курса PPL пакет — единственная цена, поэтому показываем его крупно,
   как заголовочную цену остальных карточек. */
.zz__pack--lead .zz__pack-text { display: flex; flex-direction: column; }
.zz__pack--lead .zz__pack-text b { font-size: 1.55rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
.zz__pack--lead .zz__pack-text small { font-size: 0.82rem; font-weight: 500; color: var(--muted); }

/* Бейдж «Выгодно»: дозированный красный акцент с лёгким «дыханием» свечения. */
.badge-deal {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em;
  color: oklch(0.9 0.05 25);
  background: oklch(0.64 0.21 25 / 0.14);
  border: 1px solid oklch(0.64 0.21 25 / 0.42);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  animation: deal-breath 3.6s var(--ease) infinite;
}
.badge-deal svg { width: 13px; height: 13px; flex: none; color: var(--red); }

@keyframes deal-breath {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.64 0.21 25 / 0); }
  50%      { box-shadow: 0 0 13px -1px oklch(0.64 0.21 25 / 0.5); }
}
@media (prefers-reduced-motion: reduce) { .badge-deal { animation: none; } }

/* Фото мягко «выплывают» вбок при прокрутке (лёгкий параллакс, без «взлёта») */
.js .reveal.rv-left  { opacity: 0; transform: translate3d(-54px, 0, 0); }
.js .reveal.rv-right { opacity: 0; transform: translate3d(54px, 0, 0); }
.js .reveal.rv-left.is-in,
.js .reveal.rv-right.is-in { opacity: 1; transform: none; }

/* «Выплывающая моделька»: вырезанный самолёт без рамки, целиком в своей
   колонке, с мягкой тенью под корпусом. Появление — лёгкий сдвиг вбок.
   Текст (название, описание, цена, кнопка) ВСЕГДА выше самолёта по слою
   (z-index) и полностью читаем — самолёт его не перекрывает. */
.zz--model .zz__text { margin: 0; z-index: 3; }
.zz--model .zz__media--model {
  position: relative; z-index: 1;     /* самолёт ПОД текстом */
  border: none; background: none; box-shadow: none; border-radius: 0;
  /* ничего не режет картинку: без фикс. высоты, без обрезки, без маски */
  aspect-ratio: auto; height: auto; overflow: visible; clip-path: none;
  display: flex; align-items: center; justify-content: center;
  margin: 0;                          /* самолёт остаётся в своей колонке, не налезает на текст */
}
.zz--model.zz--rev .zz__media--model { margin: 0; }
.zz--model .zz__media--model::after { display: none; }   /* никакого оверлея/затемнения ПОВЕРХ самолёта */
/* Единственная допустимая тень — мягкая «контактная» тень ПОД самолётом,
   на фоне страницы. Она лежит у нижнего края, не заходит на корпус и не
   делает его полупрозрачным. Без синего свечения и без блюр-оверлеев. */
.zz--model .zz__media--model::before {
  content: ""; position: absolute; left: 16%; right: 16%; bottom: 4%; height: 11%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(0,0,0,0.5), transparent 72%);
  filter: blur(16px); z-index: -1; pointer-events: none;
}
.zz--model .zz__media--model img {
  /* Картинка целиком, без обрезанных краёв, в пределах своей колонки. */
  width: 100%; max-width: 100%; height: auto; object-fit: contain;
  /* Самолёт — ровно как в исходном PNG: полностью непрозрачный и чёткий.
     Никаких clip-path/mask/blend/прозрачностных фильтров поверх корпуса. */
  opacity: 1;
  mix-blend-mode: normal;
  mask: none; -webkit-mask: none;
  clip-path: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  /* Только мягкая тень ПОД самолётом (вниз), не вокруг и не поверх корпуса. */
  filter: drop-shadow(0 22px 20px rgba(0,0,0,0.5));
  transition: transform var(--t-slow) var(--ease);
}
.zz--model:hover .zz__media--model img { transform: translateY(-5px) scale(1.02); }
/* Самолёт всегда полностью непрозрачен (opacity:1), без затухания — при
   прокрутке остаётся только плавный сдвиг вбок. В конце анимации opacity = 1. */
.js .zz__media--model.reveal { opacity: 1 !important; }
.js .zz__media--model.reveal.rv-left,
.js .zz__media--model.reveal.rv-right { opacity: 1 !important; }
.zz--model .zz__media--model,
.zz--model .zz__media--model img { mix-blend-mode: normal; }

/* =================================================================
   РАБОТАЕМ С СИМУЛЯТОРАМИ — логотипы MSFS 2024 и X-Plane 12
   ================================================================= */
/* Только логотипы: без рамок и подложек, прозрачные, с подсветкой при наведении */
.sims {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 7vw, 90px);
}
.sim { display: grid; place-items: center; }
.sim__logo {
  width: auto; height: auto;
  max-height: clamp(40px, 5vw, 58px);
  max-width: clamp(140px, 20vw, 220px);
  object-fit: contain;
  opacity: 0.82;
  filter: saturate(0.9);
  transition: opacity var(--t-med) var(--ease), filter var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.sim:hover .sim__logo {
  opacity: 1;
  transform: translateY(-3px) scale(1.04);
  filter: saturate(1.15) drop-shadow(0 0 18px oklch(0.62 0.16 258 / 0.75)) drop-shadow(0 8px 22px rgba(0,0,0,0.5));
}

/* =================================================================
   ДЛЯ КОГО ЭТО — 4 карточки
   ================================================================= */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.aud {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.aud:hover { transform: translateY(-5px); border-color: oklch(0.62 0.16 258 / 0.45); box-shadow: var(--shadow), 0 0 28px -12px oklch(0.62 0.16 258 / 0.5); }
.aud__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--blue-ink); background: var(--blue-050); border: 1px solid oklch(0.62 0.16 258 / 0.25); margin-bottom: 16px; }
.aud__icon svg { width: 23px; height: 23px; }
.aud__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.aud__text { color: var(--muted); font-size: 0.96rem; }

/* =================================================================
   ЧЕМУ ВЫ НАУЧИТЕСЬ — карточки с иконками + результат
   ================================================================= */
.learn { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.lc {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.lc:hover { transform: translateY(-4px); border-color: oklch(0.62 0.16 258 / 0.4); box-shadow: var(--shadow-soft), 0 0 24px -12px oklch(0.62 0.16 258 / 0.5); }
.lc__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--blue-ink); background: var(--blue-050); border: 1px solid oklch(0.62 0.16 258 / 0.25); margin-bottom: 12px; }
.lc__icon svg { width: 21px; height: 21px; }
.lc__title { font-size: 1.06rem; font-weight: 700; margin-bottom: 5px; }
.lc__text { color: var(--muted); font-size: 0.94rem; }

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(20px, 2.5vw, 30px); }
.result {
  background: linear-gradient(150deg, oklch(0.31 0.08 261 / 0.55), oklch(0.225 0.042 264));
  border: 1px solid oklch(0.62 0.16 258 / 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-soft);
}
.result__tag { display: inline-block; font-family: ui-monospace, "Cascadia Code", monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 10px; }
.result__text { color: var(--ink); font-size: 1.06rem; font-weight: 500; }

/* =================================================================
   ОТЗЫВЫ — aviation-карточки
   ================================================================= */
/* --- Карусель отзывов --- */
/* --spv — сколько отзывов видно сразу (меняется по ширине экрана ниже) */
.reviews-carousel { --spv: 1; --rc-gap: clamp(16px, 2vw, 24px); position: relative; }
.reviews-viewport { overflow: hidden; }
/* Без JavaScript карусель не нужна: показываем отзывы обычной сеткой. */
html:not(.js) .reviews-viewport { overflow: visible; }
html:not(.js) .reviews-track { flex-wrap: wrap; transform: none !important; }
html:not(.js) .rc-controls { display: none; }
.reviews-track {
  display: flex; gap: var(--rc-gap);
  transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;            /* свайп вбок листает, вверх/вниз — прокручивает страницу */
}
/* во время перетаскивания карточки следуют за пальцем без задержки */
.reviews-carousel.is-dragging .reviews-track { transition: none; }
.reviews-carousel.is-dragging { user-select: none; }
.reviews-track .review {
  flex: 0 0 calc((100% - (var(--spv) - 1) * var(--rc-gap)) / var(--spv));
  min-width: 0;
}
@media (pointer: fine) { .reviews-track { cursor: grab; } .reviews-carousel.is-dragging .reviews-track { cursor: grabbing; } }
@media (min-width: 680px)  { .reviews-carousel { --spv: 2; } }
@media (min-width: 1040px) { .reviews-carousel { --spv: 3; } }

/* Полоса управления: стрелка · точки · стрелка */
.rc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: clamp(22px, 3vw, 30px); }
.rc-arrow {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); cursor: pointer;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
              color var(--t-med) var(--ease), transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.rc-arrow svg { width: 20px; height: 20px; }
.rc-arrow:hover { background: var(--blue); border-color: var(--blue); color: var(--on-blue); transform: translateY(-2px); }
.rc-arrow:focus-visible { box-shadow: var(--ring-blue); outline: none; }
.rc-arrow:disabled { opacity: 0.35; cursor: default; transform: none; background: var(--surface); border-color: var(--line); color: var(--ink); }

.rc-dots { display: flex; align-items: center; gap: 9px; }
.rc-dot {
  width: 9px; height: 9px; padding: 0; flex: none; border: 0; border-radius: 999px;
  background: var(--line-soft); cursor: pointer;
  transition: background var(--t-med) var(--ease), width var(--t-med) var(--ease);
}
.rc-dot:hover { background: var(--blue-ink); }
.rc-dot.is-active { width: 28px; background: var(--blue); }
.rc-dot:focus-visible { box-shadow: var(--ring-blue); outline: none; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.review {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 32px);
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.review:hover { transform: translateY(-4px); border-color: oklch(0.62 0.16 258 / 0.4); }
.review__stars { color: #f2b134; letter-spacing: 3px; font-size: 0.95rem; }
.review__text { font-family: "Sora", sans-serif; font-size: 1.05rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-050); color: var(--blue-ink); font-family: "Sora", sans-serif; font-weight: 700; border: 1px solid oklch(0.62 0.16 258 / 0.3); }
.review__author b { display: block; font-family: "Sora", sans-serif; font-size: 0.98rem; color: var(--ink); }
.review__author small { color: var(--muted); font-size: 0.82rem; }

/* =================================================================
   FAQ — раскрывающиеся вопросы (нативный <details>, доступно с клавиатуры)
   ================================================================= */
.faq { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none;
  padding: 18px 22px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.04rem; color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue-ink); }
.faq__plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--blue-ink); border-radius: 2px; transition: transform var(--t-med) var(--ease); }
.faq__plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__item[open] .faq__plus::after { transform: scaleY(0); }
.faq__a { padding: 0 22px 20px; color: var(--muted); font-size: 0.98rem; max-width: 66ch; }

/* =================================================================
   ФИНАЛЬНЫЙ CTA
   ================================================================= */
.cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid oklch(0.62 0.16 258 / 0.3); box-shadow: var(--shadow); }
.cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 120% at 50% -20%, oklch(0.42 0.13 258 / 0.55), transparent 62%),
    linear-gradient(160deg, oklch(0.25 0.06 264), oklch(0.18 0.04 264));
}
.cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(oklch(0.7 0.1 256 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.7 0.1 256 / 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(72% 72% at 50% 28%, #000, transparent 82%);
          mask-image: radial-gradient(72% 72% at 50% 28%, #000, transparent 82%);
}
.cta__inner { position: relative; z-index: 1; text-align: center; padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; }
.cta__kicker { margin-bottom: 16px; }
.cta__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta__lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 54ch; margin-bottom: 28px; }
.cta__note { color: var(--muted); font-size: 0.88rem; margin-top: 16px; }

/* =================================================================
   ПОЧЕМУ МЫ — «предполётный чек-лист» (не одинаковые карточки)
   ================================================================= */
.checklist-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.checklist-aside { position: sticky; top: 104px; }
.checklist-aside .section__kicker { margin-bottom: 16px; }
.checklist-aside .section__title { margin-bottom: 16px; }
.checklist-aside p { color: var(--muted); }
.checklist-aside .stamp {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.checklist-aside .stamp b { font-family: "Sora", sans-serif; color: var(--ink); }
.checklist-aside .stamp svg { color: var(--blue-ink); flex: none; }

.checklist { display: flex; flex-direction: column; }
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.check:last-child { border-bottom: 1px solid var(--line); }
.check__icon {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--blue-ink);
  background: var(--blue-050);
  border: 1px solid oklch(0.62 0.16 258 / 0.30);
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.check:hover .check__icon { border-color: oklch(0.62 0.16 258 / 0.6); box-shadow: 0 0 22px -6px oklch(0.62 0.16 258 / 0.6); }
.check__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 4px; }
.check__text { color: var(--muted); font-size: 0.98rem; }

/* =================================================================
   КАК ПРОХОДИТ ОБУЧЕНИЕ — шаги по «лётному маршруту»
   ================================================================= */
.route { position: relative; }
/* Пунктирная линия-«маршрут», соединяющая шаги (на компьютере) */
.route__path {
  position: absolute; top: 32px; left: 7%; right: 7%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--blue) 0 9px, transparent 9px 19px);
  background-size: 19px 2px;
  opacity: 0.55;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  list-style: none;            /* убираем автонумерацию списка "1." — номер только в кружке */
}
.step { position: relative; list-style: none; }
.step__dot {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: "Sora", sans-serif; font-size: 1.4rem; font-weight: 700;
  color: var(--blue-ink);
  margin-bottom: 22px;
  position: relative; z-index: 1;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.step:hover .step__dot { border-color: var(--blue); box-shadow: var(--glow-blue); transform: translateY(-3px); }
.step__title { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: 0.98rem; }

/* =================================================================
   КОНТАКТЫ
   ================================================================= */
.contacts {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.contacts__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.contacts__lead { color: var(--muted); font-size: 1.1rem; max-width: 48ch; margin-bottom: 28px; }
.contacts__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contacts__list li { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); }
.contacts__list .ci { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--blue-050); color: var(--blue-ink); border: 1px solid oklch(0.62 0.16 258 / 0.30); }
.contacts__list .ci svg { width: 19px; height: 19px; }

.contacts__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.contacts__media img { width: 100%; height: 100%; object-fit: cover; }
.contacts__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, oklch(0.14 0.03 264 / 0.6)); }
.contacts__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: oklch(0.18 0.035 264 / 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid oklch(1 0 0 / 0.14);
  font-size: 0.85rem; color: var(--ink);
}
/* Красный «живой» маячок — редкий акцент */
.contacts__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px oklch(0.64 0.21 25 / 0.9); }

/* =================================================================
   ПОДВАЛ
   ================================================================= */
.footer { background: oklch(0.15 0.035 264 / 0.7); border-top: 1px solid var(--line); padding-block: 54px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__text { color: var(--muted); font-size: 0.95rem; max-width: 40ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a { color: var(--ink-soft); font-size: 0.95rem; transition: color var(--t-fast) var(--ease); }
.footer__nav a:hover { color: var(--blue-ink); }
.footer__copy { width: 100%; padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* =================================================================
   ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ
   Важно: по умолчанию всё ВИДНО. Анимацию включает JavaScript (он
   добавляет класс .js на страницу). Если JS отключён — контент просто
   виден сразу, без сюрпризов и пустых экранов.
   ================================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease-expo), transform var(--t-slow) var(--ease-expo); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js .reveal[data-delay="5"] { transition-delay: 0.40s; }

/* Лёгкое «парение» приборных карточек в герое (выключается при reduce) */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.hud--live   { animation: float-y 6s ease-in-out infinite; }
.hud--metric { animation: float-y 7s ease-in-out infinite 0.6s; }

/* =================================================================
   АДАПТИВНОСТЬ (поведение на планшетах и телефонах)
   ================================================================= */

/* Планшеты */
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__panel { width: min(460px, 100%); justify-self: start; }
  .hero__frame { aspect-ratio: 16 / 11; }
  /* Зигзаг-секции складываются в столбик: фото сверху, текст слегка
     наезжает на него снизу (наложение сохраняется и на телефоне) */
  .zz, .zz--rev { grid-template-columns: 1fr; }
  .zz--rev .zz__media { order: 0; }
  .zz__media { aspect-ratio: 16 / 10; }
  .zz__text,
  .zz--rev .zz__text {
    max-width: none;
    margin: clamp(-72px, -11vw, -40px) clamp(12px, 4vw, 36px) 0;
  }
  /* Плавающие модельки на телефоне: по центру, без наезда и переполнения */
  .zz--model .zz__media--model,
  .zz--model.zz--rev .zz__media--model { margin: 0 auto 6px; }
  .zz--model .zz__media--model img { width: 92%; }
  .zz--model .zz__text { margin-top: 0; }
  .checklist-wrap { grid-template-columns: 1fr; }
  .checklist-aside { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .route__path { display: none; }
  .contacts { grid-template-columns: 1fr; }
  .contacts__media { order: -1; aspect-ratio: 16 / 10; }
}

/* Небольшие планшеты — меню превращается в выезжающую панель */
@media (max-width: 760px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0;
    z-index: var(--z-mobilenav);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(84vw, 330px); height: 100dvh;
    padding: 92px 24px 32px;
    background: oklch(0.18 0.038 264 / 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateX(105%);
    transition: transform var(--t-med) var(--ease);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-backdrop.is-open { display: block; }
  .nav__link { font-size: 1.08rem; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 18px 0 0; width: 100%; }
  .sims { grid-template-columns: 1fr; }
}

/* Телефоны */
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step__dot { width: 56px; height: 56px; margin-bottom: 16px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hud--live { left: 8px; }
  .hud--metric { right: 8px; }
  /* Авиаподписи у горизонта прижимаем к краю прибора, чтобы не обрезались */
  .hud-tag { font-size: 0.64rem; padding: 4px 7px; }
  .hud-tag--tl, .hud-tag--bl { left: 0; }
  .hud-tag--tr, .hud-tag--br { right: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .logo__img { height: 36px; }
  .footer .logo__img { height: 34px; }
  .card__footer { flex-direction: column; align-items: stretch; }
  .card__footer .btn { width: 100%; }
}

/* =================================================================
   БЕРЕЖНО К ТЕМ, КОМУ ТЯЖЕЛО ОТ АНИМАЦИЙ
   Если в системе включён режим «меньше движения» — выключаем анимации,
   останавливаем «наезд» видео и «парение» карточек. Само видео ставит
   на паузу скрипт script.js (показывается запасная картинка).
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__video { animation: none; transform: scale(1.04); }
}
