/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · genre: atmospheric editorial */
/* ============================================================
   «Тело в тонусе»: дизайн-система
   Тёмный королевский синий, editorial-антиква, каллиграфия
   Mobile-first: базовые стили = мобильные, media (min-width) выше
   ============================================================ */

:root {
  /* --- цвет --- */
  --color-deep-blue:  #071A3A;  /* основной фон */
  --color-ink:        #030C1D;  /* почти чёрный сине-чернильный */
  --color-royal-blue: #0D2F73;  /* насыщенные панели */
  --color-cobalt:     #174EA6;  /* яркие акцентные участки */
  --color-ivory:      #F7F4EC;  /* тёплый молочный текст */
  --color-ice:        #EDF6FF;  /* холодный светлый текст */
  --color-silver:     #A9BED9;  /* приглушённый серебристо-голубой */
  --color-ice-blue:   #A8D8FF;  /* ледяной акцент */
  --color-lilac:      #D72665;  /* яркий розовый для каллиграфии */

  /* --- шрифт --- */
  --font-display: "FoglihtenNo06", Georgia, serif;
  --font-accent:  "Coolvetica", "Golos Text", system-ui, sans-serif;
  --font-body:    "Golos Text", system-ui, -apple-system, sans-serif;

  /* --- типографическая шкала --- */
  --size-hero-main:    clamp(64px, 24vw, 132px);
  --size-hero-script:  clamp(44px, 15vw, 96px);
  --size-h2-main:      clamp(40px, 13vw, 88px);
  --size-h2-script:    clamp(34px, 11vw, 64px);
  --size-big-word:     clamp(48px, 14vw, 128px);
  --size-body:         17px;
  --size-small:        12px;

  /* --- свечение --- */
  --glow-intensity: 1;         /* 0: выключить, 1: норма, 1.5: ярче */
  --glow-text:
    0 0 1px  rgba(255, 255, 255, calc(.90 * var(--glow-intensity))),
    0 0 4px  rgba(220, 239, 250, calc(.32 * var(--glow-intensity))),
    0 0 10px rgba(167, 210, 241, calc(.16 * var(--glow-intensity))),
    0 0 20px rgba(133, 179, 230, calc(.08 * var(--glow-intensity)));
  --glow-script:
    0 0 1px  rgba(255, 235, 244, calc(.9 * var(--glow-intensity))),
    0 0 7px  rgba(215, 38, 101, calc(.5 * var(--glow-intensity))),
    0 0 16px rgba(215, 38, 101, calc(.3 * var(--glow-intensity))),
    0 0 32px rgba(215, 38, 101, calc(.15 * var(--glow-intensity)));

  /* --- геометрия --- */
  --page-padding: clamp(20px, 5vw, 64px);
  --section-gap:  clamp(72px, 11vh, 130px);
  --content-max:  1240px;

  /* --- spacing --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* --- формы и движение --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --motion-fast: 160ms;
  --motion-base: 260ms;
  --motion-slow: 560ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* --- z-шкала --- */
  --z-header: 50;
  --z-grain:  40;
  --z-toggle: 30;
}

/* ============ база ============ */

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

h1, h2, h3, h4, h5, h6 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.btn, .site-nav a, footer a, button { white-space: nowrap; }
a[href], button, summary, [role="button"] { cursor: pointer; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

[id] { scroll-margin-top: 84px; }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background:
    radial-gradient(120% 60% at 85% -5%, rgba(23, 78, 166, .38) 0%, rgba(23, 78, 166, 0) 55%),
    linear-gradient(180deg, var(--color-ink) 0%, var(--color-deep-blue) 26%, var(--color-ink) 100%);
  background-color: var(--color-deep-blue);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: clip;
}

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

h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }

a { color: inherit; }

::selection { background: rgba(23, 78, 166, .8); color: var(--color-ice); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--color-ice);
  color: var(--color-ink);
  border-radius: var(--radius-pill);
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus-visible { transform: none; }

:focus-visible {
  outline: 2px solid var(--color-ice-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* плёночное зерно */
.grain {
  position: fixed;
  inset: -20%;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ типографика ============ */

.eyebrow {
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--color-silver);
}

.glow {
  color: var(--color-ice);
  text-shadow: var(--glow-text);
}

.script-glow {
  font-family: var(--font-accent);
  font-weight: 400;
  color: var(--color-lilac);
  text-shadow: var(--glow-script);
}

/* «дыхание» свечения только на крупных словах */
@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(168, 216, 255, .08)); }
  50%      { filter: drop-shadow(0 0 14px rgba(168, 216, 255, .22)); }
}

/* составной editorial-заголовок */
.eh {
  display: grid;
  justify-items: start;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.eh__eyebrow {
  font-family: var(--font-body);
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--color-silver);
  margin-bottom: 18px;
}

.eh__main {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--size-h2-main);
  line-height: .92;
  letter-spacing: -.015em;
  color: var(--color-ice);
  text-wrap: balance;
}

.eh__script {
  font-size: var(--size-h2-script);
  line-height: 1;
  margin-top: -.28em;      /* каллиграфия заходит на антикву */
  margin-left: .9em;       /* смещение вправо создаёт асимметрию */
  transform: rotate(-2.5deg);
}

.eh__main + .eh__script { position: relative; z-index: 1; }

/* ============ кнопки ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow var(--motion-base) ease, background-color var(--motion-base) ease, color var(--motion-base) ease, border-color var(--motion-base) ease, transform var(--motion-fast) ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, #FDFEFF 0%, var(--color-ice) 55%, #CBE4FB 100%);
  color: var(--color-ink);
  border: 0;
  box-shadow: 0 0 0 rgba(168, 216, 255, 0);
}
.btn--primary:hover {
  box-shadow: 0 4px 34px rgba(168, 216, 255, .38);
}

.btn--ghost {
  background: rgba(237, 246, 255, .03);
  color: var(--color-ice);
  border: 1px solid rgba(169, 190, 217, .38);
}
.btn--ghost:hover {
  border-color: rgba(237, 246, 255, .8);
  background: rgba(237, 246, 255, .07);
}

.btn--big {
  min-height: 60px;
  padding: 18px 40px;
  font-size: 15px;
}

/* ============ шапка ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--page-padding);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 12, 29, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(169, 190, 217, .12);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  /* на первом экране название уже есть в hero, логотип появляется при прокрутке */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.site-header.is-scrolled .brand,
body.nav-open .brand {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s ease, transform .35s ease;
}
.brand__serif {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-ice);
}
.brand__script {
  font-family: var(--font-accent);
  font-size: 22px;
  color: var(--color-lilac);
  transform: translateY(2px) rotate(-2deg);
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-silver);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--color-ice); }
.site-nav__cta {
  padding: 10px 20px;
  border: 1px solid rgba(169, 190, 217, .4);
  border-radius: var(--radius-pill);
  color: var(--color-ice) !important;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-nav__cta:hover { border-color: var(--color-ice); background: rgba(237,246,255,.06); }

.burger {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(3, 12, 29, .4);
  cursor: pointer;
}
.burger__line,
.burger__line::before,
.burger__line::after {
  content: "";
  display: block;
  width: 22px; height: 1.6px;
  background: var(--color-ice);
  transition: transform .3s ease, opacity .3s ease;
}
.burger__line { position: relative; }
.burger__line::before { position: absolute; top: -7px; }
.burger__line::after  { position: absolute; top: 7px; }

body.nav-open .burger__line { background: transparent; }
body.nav-open .burger__line::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger__line::after  { transform: translateY(-7px) rotate(-45deg); }

/* мобильное меню-занавес */
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.nav-open .site-nav {
  display: flex;
  position: fixed;
  inset: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: var(--page-padding);
  background:
    radial-gradient(90% 50% at 90% 0%, rgba(23, 78, 166, .5) 0%, rgba(23, 78, 166, 0) 60%),
    rgba(3, 12, 29, .96);
}
body.nav-open main,
body.nav-open .site-footer { pointer-events: none; }
body.nav-open .site-nav a {
  font-family: var(--font-display);
  font-size: clamp(32px, 9vw, 44px);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ice);
}
body.nav-open .site-nav__cta {
  border: 0;
  padding: 0;
  color: var(--color-lilac) !important;
  font-family: var(--font-accent);
}
body.nav-open .burger { position: relative; z-index: 1; }

/* ============ hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: clip;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 45% 58% at 57% 50%, rgba(168, 216, 255, .16) 0%, rgba(168, 216, 255, .05) 46%, rgba(168, 216, 255, 0) 76%);
  mix-blend-mode: screen;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.035);
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 52% 60% at 57% 50%, rgba(3, 12, 29, 0) 0%, rgba(3, 12, 29, .04) 52%, rgba(3, 12, 29, .24) 100%),
    linear-gradient(180deg,
      rgba(3, 12, 29, .4) 0%,
      rgba(3, 12, 29, .03) 26%,
      rgba(3, 12, 29, .02) 58%,
      rgba(7, 26, 58, .62) 82%,
      rgba(3, 12, 29, .9) 100%),
    radial-gradient(110% 48% at 0% 100%, rgba(13, 47, 115, .48) 0%, rgba(13, 47, 115, 0) 68%);
}

.hero__sparkles,

.final__sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: clip;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100svh;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: max(96px, calc(env(safe-area-inset-top) + 78px)) var(--page-padding) 0;
  padding-bottom: max(clamp(28px, 5vh, 64px), env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.hero-title {
  display: grid;
  justify-items: start;
  margin: 0 0 auto;
}
.hero-title__pre {
  font-family: var(--font-body);
  font-size: clamp(12.5px, 3.3vw, 15px);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-ice);
  text-shadow:
    0 1px 3px rgba(3, 12, 29, .95),
    0 2px 18px rgba(3, 12, 29, .85),
    0 0 22px rgba(168, 216, 255, .25);
  margin-bottom: 10px;
}
.hero-title__main {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--size-hero-main);
  line-height: .82;
  letter-spacing: -.02em;
  animation: breathe 8s ease-in-out infinite;
}
.hero-title__script {
  font-size: var(--size-hero-script);
  line-height: 1;
  margin-top: -.32em;
  margin-left: 1.6em;       /* каллиграфия ложится на хвост антиквы */
  transform: rotate(-3deg);
  position: relative;
  z-index: 1;
}

.hero__lead {
  max-width: 26em;
  color: var(--color-ice);
  font-size: clamp(17px, 4.4vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  margin-top: var(--space-5);
  text-wrap: pretty;
  text-shadow: 0 1px 3px rgba(3, 12, 29, .9), 0 2px 16px rgba(3, 12, 29, .8);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-6);
}

.hero__cta-note {
  max-width: 31em;
  margin-top: var(--space-3);
  color: var(--color-silver);
  font-size: 12.5px;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(3, 12, 29, .9);
}

.video-toggle {
  position: absolute;
  right: var(--page-padding);
  top: max(76px, calc(env(safe-area-inset-top) + 60px));
  z-index: var(--z-toggle);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(169, 190, 217, .4);
  background: rgba(3, 12, 29, .5);
  color: var(--color-ice);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, background-color .2s ease;
}
.video-toggle:hover { border-color: var(--color-ice); }
.video-toggle .video-toggle__play { display: none; }
.video-toggle.is-paused .video-toggle__pause { display: none; }
.video-toggle.is-paused .video-toggle__play { display: block; }

/* ============ секции: общее ============ */

.audience, .support-sec, .benefits, .program, .credentials,
.trainer, .reviews, .pricing, .faq, .final {
  position: relative;
  padding-block: var(--section-gap);
}

/* цветовые полосы: каждая секция использует свой слой синего */

.band--ink {
  background: radial-gradient(100% 80% at 50% 50%, rgba(7, 23, 48, .82) 0%, rgba(4, 16, 31, .18) 72%, transparent 100%);
  border: 0;
}

.band--royal {
  background: transparent;
  border: 0;
}

/* шёлковые диагональные переливы напоминают складки ткани */
.band--royal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(115% 80% at 50% 45%, rgba(23, 78, 166, .48) 0%, rgba(13, 47, 115, .22) 58%, transparent 100%),
    repeating-linear-gradient(112deg,
      rgba(168, 216, 255, 0) 0px,
      rgba(168, 216, 255, .055) 46px,
      rgba(3, 12, 29, .2) 104px,
      rgba(168, 216, 255, 0) 164px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

/* глиттер: мелкая мерцающая пыль */
.band--royal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .26;
  background-image:
    radial-gradient(rgba(237, 246, 255, .7) .6px, transparent 1.3px),
    radial-gradient(rgba(168, 216, 255, .55) .5px, transparent 1.1px),
    radial-gradient(rgba(210, 201, 255, .5) .7px, transparent 1.5px);
  background-size: 139px 139px, 83px 97px, 211px 223px;
  background-position: 7px 13px, 43px 61px, 97px 29px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

/* фото-полоса: приглушённый кадр в горах на фоне */
.band--photo {
  background: transparent;
  border: 0;
  isolation: isolate;
}

.band--photo::before {
  content: "";
  position: absolute;
  inset: -1px 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(3, 12, 29, .93) 0%,
      rgba(4, 16, 34, .82) 38%,
      rgba(4, 16, 34, .82) 66%,
      rgba(3, 12, 29, .95) 100%),
    url("../assets/img/mountain-bg.jpg") center 32% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

/* контент полос расположен поверх декоративных слоёв
   (.course-map исключён: z-index создал бы stacking-контекст
   и сломал mix-blend-mode у фото) */
.band > *:not([data-sparkles]):not(.course-map) {
  position: relative;
  z-index: 1;
}

/* появление при прокрутке */
.reveal {
  /* Content remains readable before IntersectionObserver runs. Motion is enhancement only. */
  opacity: 1;
  transform: translateY(26px);
  transition: transform var(--motion-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ чат поддержки ============ */

.support-sec {
  max-width: var(--content-max);
  margin-inline: auto;
}

/* панель «ты занимаешься не одна» */
.support {
  position: relative;
  max-width: 44em;
  margin: 0 var(--page-padding);
  padding: 28px 24px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 78, 166, .6);
  background: linear-gradient(160deg, rgba(13, 47, 115, .75) 0%, rgba(7, 26, 58, .92) 100%);
  box-shadow: 0 18px 60px rgba(13, 47, 115, .45);
  overflow: clip;
}
/* холодный блик в углу панели */
.support::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, rgba(168, 216, 255, .14) 0%, rgba(168, 216, 255, 0) 60%);
  pointer-events: none;
}

.support__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(169, 190, 217, .3);
  background: rgba(3, 12, 29, .5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--color-silver);
}
.support__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-ice-blue);
  box-shadow: 0 0 10px rgba(168, 216, 255, .9);
  animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 216, 255, .55), 0 0 10px rgba(168, 216, 255, .9); }
  50%      { box-shadow: 0 0 0 7px rgba(168, 216, 255, 0), 0 0 10px rgba(168, 216, 255, .9); }
}

.support__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 7vw, 40px);
  line-height: 1;
  color: var(--color-ice);
  text-shadow: var(--glow-text);
}

.support__text {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--color-ivory);
  max-width: 36em;
}

.support__punch {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-silver);
}
.support__punch .script-glow {
  font-size: clamp(22px, 5.6vw, 30px);
  line-height: 1.1;
  display: inline-block;
  transform: rotate(-1.5deg);
  padding-top: .15em;
}

.support__cta {
  position: relative;
  margin-top: 22px;
  border-color: rgba(168, 216, 255, .45);
}

.faq__item p a {
  color: var(--color-ice-blue);
  text-underline-offset: 3px;
}

/* ============ для кого ============ */

.audience__list {
  list-style: none;
  padding: 0;
  max-width: var(--content-max);
  margin: 44px auto 0;
  padding-inline: var(--page-padding);
  display: grid;
}

.audience__list li {
  position: relative;
  padding: 26px 0 26px 74px;
  border-top: 1px solid rgba(169, 190, 217, .16);
}
.audience__list li:last-child { border-bottom: 1px solid rgba(169, 190, 217, .16); }

.audience__num {
  position: absolute;
  left: 0; top: 22px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--color-cobalt);
  text-shadow: 0 0 18px rgba(23, 78, 166, .55);
}

.audience__list h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ice);
}
.audience__list p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--color-silver);
  max-width: 30em;
}

.evidence-note {
  max-width: min(720px, calc(100% - (2 * var(--page-padding))));
  margin: var(--space-10) auto 0;
  padding: var(--space-5) var(--space-6);
  border-left: 2px solid rgba(168, 216, 255, .5);
  background: rgba(13, 47, 115, .22);
  color: var(--color-silver);
  font-size: 14px;
  line-height: 1.65;
}
.evidence-note__label {
  margin-bottom: var(--space-2);
  color: var(--color-ice-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.audience__answer-row {
  width: min(var(--content-max), calc(100% - (2 * var(--page-padding))));
  margin: var(--space-10) auto 0;
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.audience__answer-row .evidence-note {
  width: 100%;
  max-width: 720px;
  margin: 0;
}

.audience-video {
  width: min(100%, 340px);
  margin: 0 auto;
  position: relative;
}

.audience-video::before {
  content: "";
  position: absolute;
  inset: 18px -10px -12px 20px;
  border: 1px solid rgba(215, 38, 101, .35);
  border-radius: 48% 48% 18px 18px / 18% 18% 18px 18px;
  background: rgba(13, 47, 115, .2);
  box-shadow: 0 20px 64px rgba(0, 0, 0, .28), 0 0 42px rgba(215, 38, 101, .1);
}

.audience-video__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(237, 246, 255, .18);
  border-radius: 48% 48% 18px 18px / 18% 18% 18px 18px;
  background: #030C1D;
}

.audience-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-video figcaption {
  position: relative;
  padding: var(--space-4) var(--space-3) 0;
  color: var(--color-silver);
}

.audience-video figcaption > span {
  display: block;
  color: var(--color-pink, #DE6C97);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.audience-video figcaption strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: clamp(26px, 8vw, 38px);
  font-weight: 400;
  line-height: .98;
  color: var(--color-ice);
}

.audience-video figcaption p {
  margin-top: 9px;
  max-width: 31em;
  font-size: 13px;
  line-height: 1.5;
}

/* ============ что ждёт: минимализм по центру ============ */

/* центрированный вариант составного заголовка */
.eh--center {
  justify-items: center;
  text-align: center;
}
.eh__script--solo {
  margin: 0;
  font-size: clamp(42px, 12vw, 72px);
  transform: none;
}

/* --- инфографика-таймлайн: линия, точки, фото сбоку --- */

.course-map {
  position: relative;
  max-width: var(--content-max);
  margin: clamp(var(--space-10), 8vh, 72px) auto 0;
  padding-inline: var(--page-padding);
}

.course-map__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
  display: grid;
  gap: clamp(34px, 5.5vh, 48px);
  max-width: 560px;
}

/* вертикальная линия маршрута */
.course-map__list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1.4px;
  background: linear-gradient(180deg,
    rgba(169, 190, 217, 0) 0%,
    rgba(169, 190, 217, .45) 7%,
    rgba(169, 190, 217, .45) 93%,
    rgba(169, 190, 217, 0) 100%);
}

.course-map__item {
  position: relative;
}

/* кремовая точка-узел со свечением */
.course-map__dot {
  position: absolute;
  left: -34px;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-ivory);
  box-shadow:
    0 0 0 4px rgba(247, 244, 236, .12),
    0 0 16px rgba(168, 216, 255, .55);
}

.course-map__item h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-ice);
  text-wrap: balance;
}
.course-map__item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-silver);
  max-width: 30em;
  text-wrap: pretty;
}


/* ============ программа ============ */

.program__grid {
  max-width: var(--content-max);
  margin: var(--space-12) auto 0;
  padding-inline: var(--page-padding);
  display: grid;
  gap: 48px;
}

.program__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid rgba(169, 190, 217, .16);
}
.module:last-child { border-bottom: 1px solid rgba(169, 190, 217, .16); }

.module__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 11vw, 64px);
  line-height: .9;
  color: var(--color-ice);
  text-shadow: var(--glow-text);
}

.module h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 6vw, 32px);
  color: var(--color-ice);
}
.module p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--color-silver);
  max-width: 30em;
}
.module__tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--color-ice-blue);
}

.program__extra {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding-inline: var(--page-padding);
  color: var(--color-silver);
  max-width: 40em;
}
.program__extra strong { color: var(--color-ice); }

/* ============ тренер ============ */

.trainer {
  display: grid;
  gap: 44px;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-padding);
  padding-top: clamp(16px, 3vh, 36px);
  isolation: isolate;
}

/* единый тонкий жест связывает портрет с остальной розовой графикой сайта */
.trainer::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -14%;
  top: 18%;
  width: 128%;
  height: 58%;
  border: 1px solid rgba(215, 38, 101, .5);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.trainer__media {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.trainer__media img:first-child {
  border-radius: 4px;
  width: 100%;
  max-height: 72svh;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(.98) contrast(1.02);
}

/* сценический кадр внахлёст, энергия шоу */
.trainer__media-stage {
  position: absolute;
  right: calc(-1 * clamp(8px, 2vw, 22px));
  bottom: -48px;
  width: 52%;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: clip;
  border-radius: 8px;
  border: 1px solid rgba(247, 244, 236, .45);
  box-shadow: 0 22px 60px rgba(3, 12, 29, .75), 0 0 56px rgba(210, 201, 255, .22);
  transform: rotate(2.5deg);
  isolation: isolate;
}
.trainer__media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(1.02) contrast(1.03);
}
.trainer__media-stage::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 1;
  border: 1px solid rgba(247, 244, 236, .4);
  border-radius: 4px;
  pointer-events: none;
}
.trainer__media-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 12, 29, 0) 66%, rgba(3, 12, 29, .5) 100%);
  pointer-events: none;
}
.trainer__media-cap {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 8px;
  font-size: clamp(26px, 6vw, 34px);
  transform: rotate(-4deg);
}

.trainer__body { position: relative; z-index: 1; margin-top: 20px; min-width: 0; }
.trainer__body .eh { padding-inline: 0; }

.trainer__quote {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 1px solid rgba(168, 216, 255, .5);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ice);
  max-width: 26em;
}

.trainer__facts {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 12px;
  color: var(--color-silver);
  font-size: 15px;
}
.trainer__facts strong { color: var(--color-ice); font-weight: 600; }
.trainer__facts li {
  padding-left: 18px;
  position: relative;
}
.trainer__facts li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-cobalt);
  box-shadow: 0 0 10px rgba(23, 78, 166, .9);
}

.trainer__text {
  margin-top: 24px;
  color: var(--color-silver);
  max-width: 34em;
}

/* ============ образование и квалификация ============ */

.credentials {
  padding-block: clamp(56px, 8vh, 92px);
  overflow: clip;
  isolation: isolate;
  background: transparent;
  border: 0;
}

.credentials::before {
  content: "";
  position: absolute;
  inset: -1px 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 65% at 12% 12%, rgba(23, 78, 166, .2) 0%, rgba(23, 78, 166, 0) 72%),
    linear-gradient(180deg,
      #061630 0%,
      #030C1D 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.credentials__intro,
.credentials__gallery,
.credentials__noscript {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.credentials__eyebrow,
.credentials__secondary-label {
  color: var(--color-lilac);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.credentials__title {
  margin-top: var(--space-3);
  max-width: 8.5em;
  font-family: var(--font-display);
  font-size: clamp(43px, 12.5vw, 82px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.018em;
  color: var(--color-ice);
  text-wrap: balance;
}
.credentials__title span {
  display: block;
  color: var(--color-lilac);
  text-shadow: 0 0 18px rgba(215, 38, 101, .2);
}

.credentials__lead {
  max-width: 38em;
  margin-top: var(--space-5);
  color: var(--color-silver);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.credentials__line {
  position: absolute;
  inset: 8% -4% 3%;
  z-index: 0;
  width: 108%;
  height: 89%;
  pointer-events: none;
  opacity: .56;
}
.credentials__line path {
  fill: none;
  stroke: var(--color-lilac);
  stroke-width: 1.3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
}
.credentials__line.is-visible path {
  animation: draw-line 1.7s var(--ease-out) forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

.credentials__gallery {
  margin-top: clamp(30px, 5vh, 52px);
  display: grid;
  gap: var(--space-8);
}

.credential-card {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: transform var(--motion-base) var(--ease-out);
}

.credential-card__paper {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 236, .36);
  border-radius: var(--radius-sm);
  background: #F2EFE8;
  box-shadow: 0 12px 30px rgba(3, 12, 29, .34);
  transition: border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
}
.credential-card__paper::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(7, 26, 58, .1);
  border-radius: 2px;
  pointer-events: none;
}
.credential-card__paper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.credential-card--featured .credential-card__paper {
  aspect-ratio: 10 / 7;
  padding: clamp(9px, 2.4vw, 18px);
}

.credential-card__copy {
  display: grid;
  gap: 4px;
  padding-inline: 2px;
}
.credential-card__category {
  color: var(--color-lilac);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.credential-card__copy strong {
  color: var(--color-ice);
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 400;
  line-height: 1.06;
}
.credential-card__copy > span:not(.credential-card__category):not(.credential-card__year) {
  color: var(--color-silver);
  font-size: 13px;
  line-height: 1.45;
}
.credential-card__year {
  margin-top: 2px;
  color: var(--color-ice-blue);
  font-size: 12px;
  letter-spacing: .08em;
}

.credentials__secondary {
  min-width: 0;
}
.credentials__secondary-label {
  margin-bottom: var(--space-4);
}
.credentials__rail {
  margin-inline: calc(-1 * var(--page-padding));
  padding: 6px var(--page-padding) 24px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(169, 190, 217, .32) transparent;
}
.credentials__rail > div {
  flex: 0 0 min(78vw, 286px);
  scroll-snap-align: start;
}
.credentials__rail > div:nth-child(even) { transform: translateY(12px) rotate(.65deg); }
.credentials__rail > div:nth-child(odd) { transform: rotate(-.5deg); }
.credentials__rail .credential-card__copy strong { font-size: 24px; }

.credentials__swipe-hint {
  margin-top: var(--space-2);
  color: rgba(169, 190, 217, .72);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.credentials__noscript {
  margin-top: var(--space-6);
  color: var(--color-silver);
}
.credentials__noscript a { color: var(--color-ice-blue); }

body.lightbox-open { overflow: hidden; }
.doc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 180ms ease;
}
.doc-lightbox[hidden] { display: none; }
.doc-lightbox.is-open { opacity: 1; }
.doc-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 16, .92);
}
.doc-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 24px, 1180px);
  height: min(94svh, 900px);
  display: grid;
  place-items: center;
  padding: 56px 42px 24px;
  border: 1px solid rgba(169, 190, 217, .22);
  border-radius: var(--radius-md);
  background: #071327;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .65);
  transform: translateY(10px);
  transition: transform 180ms var(--ease-out);
  touch-action: pan-y;
}
.doc-lightbox.is-open .doc-lightbox__dialog { transform: none; }
.doc-lightbox__figure {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--space-3);
  place-items: center;
}
.doc-lightbox__figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.doc-lightbox__figure figcaption {
  display: grid;
  gap: 2px;
  text-align: center;
}
.doc-lightbox__figure strong {
  color: var(--color-ice);
  font-size: 15px;
}
.doc-lightbox__figure span {
  color: var(--color-silver);
  font-size: 12px;
}
.doc-lightbox__close,
.doc-lightbox__nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(169, 190, 217, .34);
  border-radius: 50%;
  background: rgba(3, 12, 29, .78);
  color: var(--color-ice);
  cursor: pointer;
}
.doc-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
}
.doc-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.doc-lightbox__nav--prev { left: 4px; }
.doc-lightbox__nav--next { right: 4px; }

@media (hover: hover) and (pointer: fine) {
  .credential-card:hover { transform: translateY(-5px); }
  .credentials__rail > div:nth-child(even) .credential-card:hover { transform: translateY(-5px) rotate(-.65deg); }
  .credential-card:hover .credential-card__paper {
    border-color: rgba(215, 38, 101, .5);
    box-shadow: 0 17px 38px rgba(3, 12, 29, .48);
  }
  .doc-lightbox__close:hover,
  .doc-lightbox__nav:hover { border-color: var(--color-lilac); }
}

/* ============ отзывы: живые скриншоты ============ */

.shots-wrap {
  position: relative;
  margin-top: var(--space-8);
  display: grid;
  max-width: var(--content-max);
  margin-inline: auto;
}

/* стрелки карусели */
.shots__nav {
  position: absolute;
  top: 55%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(169, 190, 217, .4);
  background: rgba(3, 12, 29, .65);
  color: var(--color-ice);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}
.shots__nav:hover { border-color: var(--color-ice); background: rgba(3, 12, 29, .85); }
.shots__nav--prev { left: 6px; }
.shots__nav--next { right: 6px; }
.shots__nav[disabled] { opacity: .3; cursor: default; }

.chat__note {
  justify-self: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(3, 12, 29, .55);
  border: 1px solid rgba(169, 190, 217, .18);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--color-silver);
  margin-bottom: 22px;
  margin-inline: var(--page-padding);
  text-align: center;
}

.shots__status {
  justify-self: center;
  margin-top: var(--space-2);
  color: var(--color-silver);
  font-size: 12px;
  letter-spacing: .08em;
}

/* мобайл: горизонтальная лента со снапом */
.shots {
  list-style: none;
  margin: 0;
  padding: 10px var(--page-padding) 26px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(169, 190, 217, .35) transparent;
}

.shot {
  flex: 0 0 min(72vw, 276px);
  scroll-snap-align: center;
  padding: 10px;
  border: 1px solid rgba(237, 246, 255, .22);
  border-radius: calc(var(--radius-md) + 5px);
  background: linear-gradient(145deg, rgba(237, 246, 255, .14), rgba(169, 190, 217, .055));
  box-shadow: 0 18px 44px rgba(3, 12, 29, .4), inset 0 1px 0 rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(247, 244, 236, .32);
  box-shadow: 0 10px 28px rgba(3, 12, 29, .34);
  background: #fff;
}

.shot:nth-child(odd) { transform: translateY(3px) rotate(-.7deg); }
.shot:nth-child(even) { transform: translateY(-3px) rotate(.7deg); }

.reviews {
  padding-block: clamp(58px, 8vh, 88px);
}

/* ============ тарифы ============ */

.pricing__grid {
  max-width: var(--content-max);
  margin: var(--space-12) auto 0;
  padding-inline: var(--page-padding);
  display: grid;
  gap: 22px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid rgba(169, 190, 217, .18);
  border-radius: var(--radius-sm);
  background: rgba(3, 12, 29, .45);
}

.plan__badge {
  position: absolute;
  top: -11px; left: 24px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-cobalt);
  color: var(--color-ice);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(23, 78, 166, .7);
}

.plan__name {
  font-weight: 400;
  line-height: 1;
}
.plan__script {
  font-family: var(--font-accent);
  font-size: clamp(38px, 9vw, 52px);
  color: var(--color-lilac);
  text-shadow: var(--glow-script);
  display: inline-block;
  transform: rotate(-2deg);
}

.plan__price {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--color-ice);
  min-height: 1.1em;
}
.plan__price small {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-silver);
  margin-left: 8px;
}

.plan__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--color-silver);
}
.plan__list strong { color: var(--color-ice); font-weight: 600; }
.plan__list li {
  padding-left: 20px;
  position: relative;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--color-ice-blue);
  box-shadow: 0 0 8px rgba(168, 216, 255, .8);
}

.plan__cta { margin-top: auto; }

.plan--featured {
  border-color: rgba(23, 78, 166, .7);
  background: linear-gradient(165deg, rgba(13, 47, 115, .8) 0%, rgba(7, 26, 58, .95) 100%);
  box-shadow: 0 18px 60px rgba(13, 47, 115, .5);
}

.pricing__note {
  max-width: 48ch;
  margin: 28px auto 0;
  padding-inline: var(--page-padding);
  font-size: 14px;
  color: var(--color-silver);
}

/* ============ faq ============ */

.faq__list {
  max-width: 760px;
  margin: 44px auto 0;
  padding-inline: var(--page-padding);
  display: grid;
}

.faq__item {
  border-top: 1px solid rgba(169, 190, 217, .16);
}
.faq__item:last-child { border-bottom: 1px solid rgba(169, 190, 217, .16); }

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ice);
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-ice-blue); }

.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  background:
    linear-gradient(var(--color-silver), var(--color-silver)) center/12px 1.4px no-repeat,
    linear-gradient(var(--color-silver), var(--color-silver)) center/1.4px 12px no-repeat;
  transition: transform .3s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  padding: 0 0 20px;
  color: var(--color-silver);
  max-width: 40em;
}

/* ============ финальный CTA ============ */

.final {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(80px, 14vh, 150px) var(--page-padding);
  background: transparent;
}

.final-title {
  display: grid;
  justify-items: center;
}
.final-title__pre {
  font-size: var(--size-small);
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--color-silver);
  margin-bottom: 14px;
}
.final-title__main {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 18vw, 128px);
  line-height: .9;
  animation: breathe 8s ease-in-out infinite;
}
.final-title__script {
  font-size: clamp(40px, 12vw, 76px);
  margin-top: -.3em;
  margin-left: 2.4em;
  transform: rotate(-3deg);
}

.final .btn { margin-top: 40px; }

.final__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--color-silver);
}

/* ============ футер ============ */

.site-footer {
  margin-top: 0;
  position: relative;
  z-index: 1;
  padding: 20px var(--page-padding) max(28px, env(safe-area-inset-bottom));
  border-top: 0;
  background: transparent;
  display: grid;
  gap: 22px;
}

.site-footer__brand { font-size: 20px; }
.site-footer__brand .brand__serif { font-size: 26px; }
.site-footer__brand .brand__script { font-size: 24px; }

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-silver);
  transition: color .2s ease;
}
.site-footer__nav a:hover { color: var(--color-ice); }

.site-footer__legal {
  font-size: 12px;
  color: rgba(169, 190, 217, .78);
}

/* ============ блёстки (SparkleField) ============ */

.sparkle {
  position: absolute;
  border-radius: 50%;
  background: var(--sparkle-color, rgba(237, 246, 255, .9));
  filter: blur(.4px);
  opacity: 0;
  animation: twinkle var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}

.sparkle--star {
  border-radius: 0;
  background: transparent;
  filter: none;
}
.sparkle--star svg { display: block; width: 100%; height: 100%; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(.6); }
  12%      { opacity: var(--peak, .8); }
  30%      { opacity: calc(var(--peak, .8) * .35); }
  46%      { opacity: var(--peak, .8); transform: translateY(-8px) scale(1); }
  70%      { opacity: 0; transform: translateY(-14px) scale(.7); }
}

/* ============ компактные телефоны ============ */

@media (max-width: 374px) {
  :root {
    --page-padding: 16px;
    --section-gap: clamp(64px, 10vh, 88px);
    --size-hero-main: clamp(58px, 23vw, 78px);
    --size-hero-script: clamp(38px, 14vw, 52px);
    --size-h2-main: clamp(38px, 12.5vw, 58px);
    --size-h2-script: clamp(31px, 10.5vw, 46px);
  }

  .hero-title__pre {
    font-size: 11.5px;
    letter-spacing: .07em;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.48;
  }

  .hero__cta-row { margin-top: 18px; }
  .hero__cta-note { font-size: 11.5px; }
  .video-toggle { top: 132px; }

  .audience__list li { padding-left: 62px; }
  .audience__num { font-size: 34px; }

  .module { gap: 14px; }

  .evidence-note {
    padding: var(--space-4);
  }
}

@media (max-width: 767px) and (max-height: 700px) {
  .hero__content {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .hero-title { margin-top: 0; }
  .hero__lead { margin-top: var(--space-3); }
  .hero__cta-row { margin-top: var(--space-4); }

  .hero__cta-note {
    margin-top: var(--space-2);
    font-size: 11px;
    line-height: 1.35;
  }
}

/* ============ планшет ============ */

@media (min-width: 768px) {
  .hero__content { padding-bottom: clamp(56px, 9vh, 110px); }

  .audience__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
  }
  .audience__list li:nth-last-child(2),
  .audience__list li:last-child { border-bottom: 1px solid rgba(169, 190, 217, .16); }

  .audience__answer-row {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
    gap: clamp(48px, 7vw, 100px);
  }

  .audience-video { margin-right: 0; }


  .trainer { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; }
  .trainer__body { margin-top: 0; }

  /* инфографика по центру полосы */
  .course-map__list {
    margin-inline: auto;
    max-width: 560px;
  }

  .credentials__rail > div { flex-basis: 320px; }

  /* отзывы-скриншоты: та же карусель, карточки фиксированной ширины */
  .shot { flex: 0 0 286px; }
  .shots { padding-inline: 70px; }

  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* Полная навигация включается только при достаточной ширине */
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .burger { display: none; }
}

/* ============ desktop ============ */

@media (min-width: 1024px) {
  :root {
    --size-hero-main: clamp(120px, 13vw, 190px);
    --size-hero-script: clamp(64px, 7vw, 104px);
    --size-h2-main: clamp(64px, 7vw, 108px);
    --size-h2-script: clamp(44px, 4.6vw, 72px);
    --size-big-word: clamp(80px, 9vw, 150px);
  }

  /* hero: асимметричная editorial-композиция, портретное видео справа,
     крупная типографика слева и внахлёст на видео */
  .hero {
    align-items: center;
  }
  .hero__media {
    inset: auto;
    right: clamp(24px, 6vw, 120px);
    top: 50%;
    transform: translateY(-50%);
    width: min(34vw, 460px);
    aspect-ratio: 3 / 4.2;
    border-radius: 4px;
    overflow: clip;
    box-shadow: 0 30px 90px rgba(3, 12, 29, .8);
    z-index: 0;
  }
  .hero__media::before {
    background: radial-gradient(ellipse 48% 58% at 54% 52%, rgba(168, 216, 255, .15) 0%, rgba(168, 216, 255, .04) 50%, rgba(168, 216, 255, 0) 78%);
  }
  .hero__video {
    object-position: 54% 50%;
    transform: scale(1.02);
  }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(3, 12, 29, .1) 0%,
      rgba(3, 12, 29, 0) 40%,
      rgba(7, 26, 58, .45) 100%);
  }
  .hero::before {
    /* холодное свечение за видеопанелью */
    content: "";
    position: absolute;
    right: clamp(0px, 4vw, 90px);
    top: 50%;
    transform: translateY(-50%);
    width: min(40vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 78, 166, .4) 0%, rgba(23, 78, 166, 0) 65%);
    pointer-events: none;
  }
  .hero__content {
    min-height: 0;
    display: block;
    padding-block: 150px 110px;
    z-index: 1;
  }
  .hero-title__main {
    margin-left: -.04em;    /* оптическое выравнивание */
    position: relative;
    z-index: 1;
  }
  .hero-title__script { margin-left: 3.4em; }
  .hero__lead { max-width: 26em; }

  .video-toggle { right: auto; left: var(--page-padding); }
  .video-toggle { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); }

  .eh__script { margin-left: 1.6em; }

  .support {
    margin-left: clamp(120px, 22vw, 340px);
    padding: 34px 36px 32px;
  }

  .credentials__gallery {
    grid-template-columns: minmax(0, 1.38fr) minmax(320px, .95fr);
    align-items: start;
    gap: clamp(42px, 5vw, 72px);
  }
  .credentials__secondary { padding-top: clamp(28px, 5vw, 72px); }
  .credentials__rail {
    margin: 0;
    padding: 8px 8px 24px;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 43%;
    gap: 24px 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .credentials__rail > div { min-width: 0; scroll-snap-align: start; }
  .credentials__rail > div:nth-child(2) { transform: translateY(22px) rotate(.75deg); }
  .credentials__rail > div:nth-child(3) { transform: translateX(-12px) rotate(-.8deg); }
  .credentials__rail > div:nth-child(4) { transform: translate(8px, 30px) rotate(.5deg); }
  .credentials__rail .credential-card { gap: var(--space-3); }
  .credentials__rail .credential-card__copy strong { font-size: 21px; }
  .credentials__swipe-hint { text-align: right; }
}

/* ограничение положения видео на очень широких экранах */
@media (min-width: 1700px) {
  .hero__media { right: calc((100vw - var(--content-max)) / 2); }
}

/* ============ prefers-reduced-motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-title__main,
  .final-title__main,
  .eh__script {
    animation: none;
  }

  .sparkle { animation: none; opacity: .35; }

  .support__dot { animation: none; }

  .credentials__line path {
    stroke-dashoffset: 0;
    animation: none;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
