@font-face {
  font-family: "Onest";
  src: url("./Onest-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* ==========================================================================
   Токены дизайн-системы МЭО / БИТ
   ========================================================================== */

:root {
  --ink: #111111;
  --muted: #747474;
  --line: #dddddd;
  --surface: #f7f9fc;
  --blue: #0b84ff;
  --blue-deep: #176df5;
  --blue-dark: #075fc7;
  --cyan: #42ffe9;
  --violet: #8106be;
  --orange: #ff7a12;
  --pink: #ff55ad;
  --page: #ffffff;
  --container: 1200px;
  --card-radius: 24px;

  /* Градиенты направлений: дошкольные — оранжевый, школа — голубой, колледж — фиолетовый */
  --grad-preschool: linear-gradient(145deg, #ff7700 0%, #ffb200 100%);
  --grad-school: linear-gradient(145deg, #00b0e1 0%, #5687ff 100%);
  --grad-college: linear-gradient(145deg, #a335e8 0%, #6f35e8 100%);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--page);
  font-family: "Onest", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

h1, h2, h3, h4, strong, b { font-weight: 400; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; letter-spacing: 0; }
button, select { cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  overflow: visible;
}

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

/* ==========================================================================
   Шапка
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 58px;
  background: #f6f8fc;
  backdrop-filter: blur(16px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  width: min(1600px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { font-weight: 400; font-size: 16px; border: 1.5px solid var(--ink); padding: 5px 6px; border-radius: 6px; }
.brand-copy { font-size: 12px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; }

.site-nav { position: relative; display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: 14px; color: #3e424b; transition: color 0.18s ease; }
.site-nav a:hover { color: var(--blue); }

.site-nav a:last-of-type {
  min-height: 40px;
  padding: 4px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #3f8fff 0%, #0b55ff 100%);
  box-shadow: 0 8px 18px rgba(11, 85, 255, 0.2);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.24s ease;
}
.site-nav a:last-of-type:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px rgba(11, 85, 255, 0.26); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 9px;
}

.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

body.nav-compact.nav-open { overflow: hidden; }
body.nav-compact.nav-open::before {
  content: "";
  position: fixed;
  inset: 58px 0 0;
  z-index: 45;
  background: rgba(10, 18, 40, 0.28);
  backdrop-filter: blur(4px);
}

.site-header.is-nav-compact .site-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 24px;
  right: 24px;
  z-index: 2;
  display: none;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid rgba(17, 31, 68, 0.08);
  border-radius: 22px;
  background: rgba(248, 250, 255, 0.96);
  box-shadow: 0 24px 70px rgba(15, 28, 66, 0.22);
  backdrop-filter: blur(20px);
}

.site-header.is-nav-compact .site-nav.is-open {
  display: grid;
  gap: 6px;
  animation: mobile-menu-in 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-nav-compact .site-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: #303744;
  font-size: 16px;
  line-height: 1.2;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-header.is-nav-compact .site-nav a:hover { color: var(--blue); background: rgba(11, 132, 255, 0.07); }
.site-header.is-nav-compact .site-nav a:last-of-type {
  margin-top: 4px;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}
.site-header.is-nav-compact .menu-toggle {
  position: relative;
  display: block;
  flex: 0 0 auto;
  border-radius: 10px;
}
.site-header.is-nav-compact .menu-toggle:hover { background: rgba(11, 132, 255, 0.08); }
.site-header.is-nav-compact .menu-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .menu-toggle span { transition: transform 0.24s ease, opacity 0.18s ease; }
}

.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before,
.menu-toggle[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 9px;
  right: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.menu-toggle[aria-expanded="true"]::before { transform: translateY(-50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-50%) rotate(-45deg); }

@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Базовые компоненты
   ========================================================================== */

.section { padding: 64px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: 40px; line-height: 1.08; font-weight: 400; }
.section-heading p:not(.eyebrow) { max-width: 680px; margin: 14px 0 0; color: var(--muted); }
.section-heading-centered { text-align: center; }
.section-heading-centered p:not(.eyebrow) { margin-inline: auto; }

.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 16px; font-weight: 400; text-transform: uppercase; }
.text-link { color: var(--blue); font-size: 16px; font-weight: 400; }
.text-link--arrow::after { content: " →"; }
.text-link--button {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 16px;
  text-align: left;
}
.text-link--button::after { content: " →"; }
.text-link:hover, .text-link--button:hover { color: #006ee8; }

.button {
  min-height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 26px rgba(11, 132, 255, 0.24); }
.button-primary:hover { background: #006ee8; box-shadow: 0 16px 32px rgba(11, 132, 255, 0.3); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #292929; }
.button-wide { width: 100%; }
.button:focus-visible { outline: 3px solid rgba(23, 109, 245, 0.28); outline-offset: 3px; }

/* Мягкое голубое свечение под секциями */
.opportunities-section,
.benefits-section,
.site-footer {
  position: relative;
  isolation: isolate;
  background: #fff;
}

.site-footer { width: 100vw; max-width: 100%; overflow: hidden; overflow: clip; }

.opportunities-section::before,
.benefits-section::before,
.site-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 132, 255, 0.3) 0%,
    rgba(0, 132, 255, 0.18) 38%,
    rgba(0, 132, 255, 0.06) 60%,
    rgba(0, 132, 255, 0) 76%
  );
  filter: blur(clamp(44px, 6vw, 96px));
  pointer-events: none;
}

.opportunities-section::before { width: min(860px, 130vw); left: 0; top: 0; transform: translate(-50%, -40%); }
.benefits-section::before { width: min(960px, 140vw); right: 0; bottom: 0; transform: translate(50%, 50%); }
.site-footer::before { width: min(1100px, 160vw); bottom: 0; left: 0; transform: translate(-50%, 50%); }

.opportunities-section > .container,
.benefits-section > .container,
.site-footer > .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Блок 1 — Первый экран
   ========================================================================== */

.alt-hero {
  --alt-blue: #176df5;
  --alt-blue-dark: #075fc7;
  --alt-muted: #868686;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 58%, rgba(185, 222, 255, 0.72), rgba(227, 242, 255, 0.34) 27%, rgba(251, 252, 255, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 70%, #eef7ff 100%);
  container: alt-hero / inline-size;
}

.alt-hero__stage {
  width: min(1600px, calc(100% - 64px));
  min-height: min(676px, calc(100svh - 110px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(24px, 3vw, 52px);
}

.alt-hero__copy {
  position: relative;
  z-index: 5;
  padding: 64px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.alt-hero__eyebrow {
  margin: 0 0 22px;
  color: var(--alt-blue-dark);
  font-size: clamp(15px, 1.15cqw, 18px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.alt-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 4.6cqw, 76px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.alt-hero h1 span { display: block; }
.alt-hero h1 em { color: var(--alt-blue); font-style: normal; }

.alt-hero__lead {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--alt-muted);
  font-size: clamp(16px, 1.25cqw, 20px);
  line-height: 1.45;
}

.alt-hero__accent {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 1.3cqw, 21px);
  line-height: 1.35;
  font-weight: 500;
}

.alt-hero__button {
  min-width: 264px;
  min-height: 60px;
  margin-top: 32px;
  padding: 0 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--alt-blue);
  box-shadow: 0 14px 34px rgba(23, 109, 245, 0.2);
  font-size: 19px;
  font-weight: 500;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.alt-hero__button:hover,
.alt-hero__button:focus-visible {
  background: #075fe1;
  box-shadow: 0 18px 42px rgba(23, 109, 245, 0.28);
  transform: translateY(-2px);
}

.alt-hero__button:focus-visible { outline: 3px solid rgba(23, 109, 245, 0.25); outline-offset: 4px; }

.alt-hero__art { position: relative; min-width: 0; align-self: center; }
.alt-hero__art img { display: block; width: 100%; height: auto; }

.alt-hero__art-placeholder {
  aspect-ratio: 1.06;
  border: 1.5px dashed rgba(23, 109, 245, 0.34);
  border-radius: 32px;
  display: grid;
  place-items: center;
  color: rgba(23, 109, 245, 0.5);
  background: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.alt-ticker {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(23, 109, 245, 0.14);
  background: rgba(255, 255, 255, 0.6);
}
.alt-ticker__track { display: flex; width: max-content; animation: ticker-scroll 38s linear infinite; }
.alt-ticker__group { display: flex; flex: 0 0 auto; }
.alt-ticker__group span {
  padding: 0 34px;
  color: var(--blue-dark);
  font-size: 15px;
  white-space: nowrap;
}
.alt-ticker__group span:not(:last-child)::after {
  content: "•";
  margin-left: 34px;
  color: rgba(23, 109, 245, 0.4);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Текстовые блоки (2, 5, 8) и вербал-разделители
   ========================================================================== */

.role-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.role-copy { max-width: 900px; }
.role-copy h2 { margin: 0 0 24px; font-size: 40px; line-height: 1.08; font-weight: 400; }
.role-copy p { margin: 0 0 18px; font-size: 19px; line-height: 1.55; color: #3e424b; }
.role-copy p:last-child { margin-bottom: 0; }
.role-accent {
  margin-top: 26px !important;
  padding-left: 22px;
  border-left: 3px solid var(--blue);
  color: var(--ink) !important;
  font-weight: 500;
}

.quote-section { padding: 64px 0; background: #fff; }
.quote-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
blockquote {
  margin: 0;
  max-width: 980px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  text-align: center;
}
.quote-inner blockquote::before { content: "«"; }
.quote-inner blockquote::after { content: "»"; }

/* ==========================================================================
   Блок 2.5 — Диптих «Учитель / Амбассадор»
   ========================================================================== */

.diptych { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.diptych__half { margin: 0; }
.diptych__art {
  aspect-ratio: 1.28;
  border-radius: var(--card-radius);
  display: grid;
  place-items: center;
  color: #9aa4b2;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  background: #eef1f6;
  filter: grayscale(1);
  transition: filter 0.6s ease, background 0.6s ease;
}
.diptych__half--after .diptych__art {
  color: #fff;
  background: var(--grad-school);
}
.diptych.is-alive .diptych__half--after .diptych__art { filter: none; }
.diptych__half figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}
.diptych__half--after figcaption { color: var(--ink); }

/* ==========================================================================
   Карточки-возможности (блоки 3, 7, 9)
   ========================================================================== */

.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.feature-grid--five > * { grid-column: span 2; }
.feature-grid--five > *:nth-child(4),
.feature-grid--five > *:nth-child(5) { grid-column: span 3; }
.feature-grid--six > * { grid-column: span 2; }

.feature-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 40px 28px 30px;
  border-radius: var(--card-radius);
  background: #f6f8fc;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
}
.feature-card--blue::before { background: linear-gradient(90deg, #00addb, #bbdfff); }
.feature-card--orange::before { background: linear-gradient(90deg, #ff7700, #ffb200); }
.feature-card--violet::before { background: linear-gradient(90deg, #a335e8, #6f35e8); }
.feature-card--pink::before { background: linear-gradient(90deg, #f76aca, #f2f6ff); }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23, 109, 245, 0.12); }

.feature-card h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 500; }
.feature-card p { margin: 12px 0 0; font-size: 16px; line-height: 1.45; color: #3e424b; }

.wide-card {
  margin-top: 16px;
  padding: 34px 30px;
  border-radius: var(--card-radius);
  background: var(--grad-school);
  color: #fff;
}
.wide-card h3 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 500; }
.wide-card p { margin: 12px 0 0; max-width: 760px; font-size: 16px; line-height: 1.5; }

/* ==========================================================================
   Блок 4 — Почему БИТ
   ========================================================================== */

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 36px; row-gap: 48px; text-align: center; }
.stats-grid div { display: grid; gap: 10px; }
.stats-grid strong { color: #00a5f5; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; font-weight: 400; }
.stats-grid span { max-width: 280px; margin: 0 auto; color: var(--ink); font-size: 16px; line-height: 1.4; }
.stats-grid--compact { margin-bottom: 56px; }

.check-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 17px;
  line-height: 1.45;
  color: #3e424b;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.doc-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  padding: 26px 26px;
  border: 1px solid #cbdcf5;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.doc-card:hover { border-color: var(--blue); box-shadow: 0 14px 32px rgba(23, 109, 245, 0.12); transform: translateY(-2px); }
.doc-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(11, 132, 255, 0.1);
}
.doc-card__icon svg { width: 26px; height: 26px; }
.doc-card__body { display: grid; gap: 6px; }
.doc-card__body strong { font-size: 18px; font-weight: 500; }
.doc-card__body span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.doc-card__arrow { color: var(--blue); font-size: 20px; }

/* ==========================================================================
   Блок 6 — Три этапа
   ========================================================================== */

.stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stage-card {
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  border-radius: 32px;
  display: flex;
  color: #fff;
}
.stage-card--preschool { background: var(--grad-preschool); }
.stage-card--school { background: var(--grad-school); }
.stage-card--college { background: var(--grad-college); }
.stage-card__copy {
  width: 100%;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stage-card__copy h3 { margin: 0 0 32px; font-size: 24px; line-height: 1.2; font-weight: 500; }
.stage-card__copy p { margin: 0; font-size: 16px; line-height: 1.55; }

.stages-note { max-width: 900px; margin: 34px 0 0; font-size: 19px; line-height: 1.5; color: #3e424b; }
.stages-note strong { font-weight: 500; color: var(--ink); }

.proof-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proof-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 22px;
  border-radius: var(--card-radius);
  background: #f6f8fc;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.proof-card:hover { box-shadow: 0 18px 40px rgba(23, 109, 245, 0.14); transform: translateY(-2px); }
.proof-card__media {
  position: relative;
  height: 92px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0a2f7a, #176df5);
}
.proof-card__play {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.proof-card__photo {
  height: 92px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #8b97a8;
  background: #e6eaf1;
  font-size: 13px;
}
.proof-card__body { display: grid; gap: 8px; }
.proof-card__body strong { font-size: 18px; font-weight: 500; }
.proof-card__body span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ==========================================================================
   Блок 7 — Карточка вознаграждения
   ========================================================================== */

.reward-card {
  margin-top: 16px;
  padding: 44px;
  border-radius: var(--card-radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  color: #fff;
  background: linear-gradient(135deg, #0a2f7a 0%, #176df5 62%, #6f35e8 100%);
  box-shadow: 0 30px 70px rgba(10, 47, 122, 0.24);
}
.reward-card h3 { margin: 0 0 18px; font-size: 30px; line-height: 1.12; font-weight: 500; }
.reward-card p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; opacity: 0.9; }
.reward-card__accent { margin-bottom: 0 !important; font-weight: 500; opacity: 1 !important; }
.reward-card .button-primary {
  flex: 0 0 auto;
  color: #0a2f7a;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.reward-card .button-primary:hover { background: #eaf2ff; }

/* ==========================================================================
   Блок 8.5 — Истории
   ========================================================================== */

.stories-empty {
  padding: 64px 40px;
  border: 1.5px dashed #cbdcf5;
  border-radius: var(--card-radius);
  text-align: center;
  background: rgba(246, 248, 252, 0.6);
}
.stories-empty p { margin: 0; font-size: 20px; line-height: 1.45; color: var(--muted); }
.stories-empty__accent { margin-top: 8px !important; color: var(--ink) !important; font-size: 26px !important; font-weight: 500; }
.stories-empty .button { margin-top: 28px; }

.stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story-card { margin: 0; padding: 30px 26px; border-radius: var(--card-radius); background: #f6f8fc; }
.story-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8b97a8;
  background: #e6eaf1;
  font-size: 12px;
}
.story-card blockquote { margin: 22px 0 20px; max-width: none; font-size: 18px; line-height: 1.5; text-align: left; }
.story-card figcaption { display: grid; gap: 4px; }
.story-card figcaption strong { font-size: 16px; font-weight: 500; }
.story-card figcaption span { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Блок 9.5 — Команда
   ========================================================================== */

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-card { padding: 34px 28px; border-radius: var(--card-radius); background: #f6f8fc; text-align: center; }
.team-card__photo {
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8b97a8;
  background: #e6eaf1;
  font-size: 13px;
}
.team-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.team-card__role { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.team-card__quote { margin: 16px 0 0; color: var(--blue); font-size: 16px; line-height: 1.4; }

/* ==========================================================================
   Блок 10 — Шаги + заградительный барьер
   ========================================================================== */

.steps-warning { margin: 18px 0 0 !important; color: var(--ink) !important; font-size: 20px; font-weight: 500; }

.steps-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps-list li {
  position: relative;
  padding: 28px 0 28px 76px;
  border-top: 1px solid var(--line);
}
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list__num {
  position: absolute;
  left: 0;
  top: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-size: 18px;
}
.steps-list h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; font-weight: 500; }
.steps-list p { margin: 0; max-width: 720px; color: #3e424b; font-size: 17px; line-height: 1.5; }

.barrier-card {
  margin-top: 44px;
  padding: 44px;
  border-radius: var(--card-radius);
  color: #fff;
  background: #111111;
}
.barrier-card h3 { margin: 0 0 22px; font-size: 28px; line-height: 1.15; font-weight: 500; }
.barrier-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.barrier-card li {
  position: relative;
  padding-left: 26px;
  font-size: 17px;
  line-height: 1.45;
  opacity: 0.86;
}
.barrier-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--pink);
}
.barrier-card > p:not(.barrier-card__accent) { margin: 0; font-size: 17px; line-height: 1.5; opacity: 0.86; }
.barrier-card__accent { margin: 26px 0 28px; font-size: 19px; font-weight: 500; }
.barrier-card .button-dark { color: var(--ink); background: #fff; }
.barrier-card .button-dark:hover { background: #eaf2ff; }

/* ==========================================================================
   Блок 11 — Признание
   ========================================================================== */

.recognition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.recognition-card {
  padding: 34px 26px;
  border: 1px solid #e4eaf4;
  border-radius: var(--card-radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.recognition-card:hover { border-color: var(--blue); box-shadow: 0 16px 36px rgba(23, 109, 245, 0.12); transform: translateY(-2px); }
.recognition-card__icon { display: block; width: 44px; height: 44px; color: var(--blue); }
.recognition-card__icon svg { width: 100%; height: 100%; }
.recognition-card h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 500; }
.recognition-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }

.recognition-section .button { margin-top: 36px; }

/* ==========================================================================
   Блок 12 — Принципы
   ========================================================================== */

.principles-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.principles-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  line-height: 1.4;
}
.principles-list li:nth-child(-n+2) { border-top: 1px solid var(--line); }

/* ==========================================================================
   Блок 13 — Правила
   ========================================================================== */

.rules-copy { max-width: 900px; margin: 0 0 18px; font-size: 18px; line-height: 1.55; color: #3e424b; }
.rules-copy--accent {
  padding-left: 22px;
  border-left: 3px solid var(--pink);
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   Блок 14 — FAQ
   ========================================================================== */

.faq-list { display: grid; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 26px 56px 26px 0;
  list-style: none;
  cursor: pointer;
  font-size: 21px;
  line-height: 1.3;
  transition: color 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.24s ease;
}
.faq-item[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq-item__body { padding: 0 56px 28px 0; }
.faq-item__body p { margin: 0; max-width: 860px; color: #3e424b; font-size: 17px; line-height: 1.55; }

/* ==========================================================================
   Блок 15 — Финальный экран + форма
   ========================================================================== */

.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 0;
  color: #fff;
  text-align: center;
  background: #18002e;
}
/* Затемняющий слой поверх анимированного градиента: гарантирует читаемость белого текста и формы */
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(9, 6, 32, 0.34) 0%, rgba(9, 6, 32, 0.46) 100%);
  pointer-events: none;
}
.final-cta > .container { position: relative; z-index: 1; }
.final-cta h2 {
  max-width: 980px;
  margin: 0 auto 24px;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  font-weight: 400;
}
.final-cta p { max-width: 760px; margin: 0 auto 44px; font-size: 18px; line-height: 1.5; opacity: 0.82; }

.apply-form {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--card-radius);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: rgba(9, 6, 32, 0.34);
  backdrop-filter: blur(14px);
  text-align: left;
}
.apply-form__full { grid-column: 1 / -1; }
.apply-form label { display: grid; gap: 8px; }
.apply-form label > span { font-size: 15px; opacity: 0.92; }
.apply-form input:not([type="checkbox"]),
.apply-form select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.apply-form select option { color: var(--ink); }
.apply-form input:focus,
.apply-form select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(66, 255, 233, 0.16); }
.apply-form input:user-invalid { border-color: #ff8fb5; }
.apply-form__consent { grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 12px; }
.apply-form__consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--cyan); }
.apply-form__consent > span { font-size: 15px; line-height: 1.4; opacity: 0.8; }
.apply-form__consent a { text-decoration: underline; }
.apply-form .button-primary { margin-top: 6px; min-height: 60px; color: #fff; background: #00138c; box-shadow: none; }
.apply-form .button-primary:hover { background: #000d66; }
.apply-form__note { margin: 0; font-size: 15px; text-align: center; opacity: 0.7; }

.form-note { margin: 0; color: var(--muted); font-size: 15px; }
.form-success {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  color: #0a2f7a;
  background: var(--cyan);
  font-size: 16px;
  text-align: center;
}

.apply-person {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 22px 26px;
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(9, 6, 32, 0.34);
  text-align: left;
}
.apply-person__photo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
}
.apply-person p { margin: 0; font-size: 16px; line-height: 1.45; opacity: 0.9; }
.apply-person strong { font-weight: 500; }

/* ==========================================================================
   Лид-магнит (попап)
   ========================================================================== */

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lead-popup.is-open { display: flex; }
.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 40, 0.44);
  backdrop-filter: blur(6px);
}
.lead-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 38px 34px 34px;
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: 0 40px 90px rgba(15, 28, 66, 0.3);
  animation: lead-popup-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.lead-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f2f5fa;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
.lead-popup__close:hover { background: #e6ecf6; color: var(--ink); }
.lead-popup__dialog h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; font-weight: 500; }
.lead-popup__subject { margin: 0 0 24px; color: var(--blue); font-size: 16px; }

.lead-form { display: grid; gap: 16px; }
.lead-form label { display: grid; gap: 8px; }
.lead-form label > span { color: var(--muted); font-size: 15px; }
.lead-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #9ec9ff;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
  outline: 0;
}
.lead-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 123, 255, 0.1); }

@keyframes lead-popup-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.site-footer { padding: 88px 0 28px; background: #f5f9ff; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 90px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-nav { display: grid; gap: 14px; width: fit-content; font-size: 16px; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { margin-top: 88px; padding: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 90px; }
.social-links { display: flex; flex-wrap: wrap; color: #5f6670; font-size: 16px; }
.social-links a:not(:last-child)::after { content: " | "; margin: 0 7px; color: #5f6670; }
.social-wrap { display: grid; gap: 10px; color: #5f6670; font-size: 16px; }
.contacts { display: grid; justify-content: start; text-align: left; font-weight: 400; font-size: 28px; line-height: 1.25; }
.legal-row {
  padding-top: 20px;
  border-top: 1px solid #b9ddff;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 32px;
  color: var(--ink);
  font-size: 12px;
}
.legal-row span:first-child { flex: 0 0 auto; }
.legal-row span:last-child { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }

/* ==========================================================================
   Появление секций по скроллу
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal .reveal-child {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0.2s),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0.2s);
}
.js .reveal.is-visible,
.js .reveal.is-visible .reveal-child { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal .reveal-child { opacity: 1; transform: none; transition: none; }
  .alt-ticker__track { animation: none; }
  .diptych__art { transition: none; }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width: 1100px) {
  .alt-hero__stage { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 8px; }
  .alt-hero__copy { padding: 48px 0 8px; }
  .alt-hero__art { max-width: 520px; width: 100%; }
  .reward-card { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .reward-card .button-primary { justify-self: start; }
  .recognition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 999px) {
  .feature-grid--five > *,
  .feature-grid--five > *:nth-child(4),
  .feature-grid--five > *:nth-child(5),
  .feature-grid--six > * { grid-column: span 3; }
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-card { min-height: 0; }
  .team-grid, .stories-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top, .footer-bottom { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer-bottom { margin-top: 56px; }
  .contacts { font-size: 24px; }
  .legal-row span:last-child { margin-left: 0; white-space: normal; }
}

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .header-inner { width: calc(100% - 36px); }
  .section { padding: 52px 0; }
  .section-heading h2, .role-copy h2 { font-size: 32px; }
  .check-list, .principles-list { grid-template-columns: minmax(0, 1fr); }
  .principles-list li:nth-child(2) { border-top: 0; }
  .doc-grid, .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .apply-form { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .role-copy p, .stages-note { font-size: 17px; }
}

@media (max-width: 720px) {
  .feature-grid--five > *,
  .feature-grid--five > *:nth-child(4),
  .feature-grid--five > *:nth-child(5),
  .feature-grid--six > * { grid-column: span 6; }
  .diptych { grid-template-columns: minmax(0, 1fr); }
  .recognition-grid { grid-template-columns: minmax(0, 1fr); }
  .reward-card, .barrier-card { padding: 30px 24px; }
  .reward-card h3 { font-size: 24px; }
  .reward-card .button-primary { width: 100%; }
  .steps-list li { padding-left: 60px; }
  .steps-list__num { width: 38px; height: 38px; font-size: 16px; }
  .faq-item summary { font-size: 18px; padding-right: 44px; }
  .stories-empty { padding: 44px 24px; }
  .proof-card { grid-template-columns: minmax(0, 1fr); }
  .doc-card { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px; }
  .doc-card__arrow { display: none; }
  .apply-person { flex-direction: column; text-align: center; }
}

@media (max-width: 599px) {
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .alt-hero h1 { font-size: 36px; }
  .final-cta { padding: 64px 0; }
  .lead-popup { padding: 16px; }
  .lead-popup__dialog { padding: 32px 22px 26px; }
}
