/* СОБРАНО build.py — руками не править.
   Правки оформления вносятся в brand.css, палитра — в таблицу COLORS.
   Источник: ambassador-live/styles.css, прежняя гарнитура и палитра вычищены. */

/* @font-face Onest удалён: гарнитура заменена на фирменную */
/* ==========================================================================
   Токены дизайн-системы МЭО / БИТ
   ========================================================================== */

:root {
  --ink: #12181F;
  --muted: #557065;
  --line: #EAEAE2;
  --surface: #F5F6EE;
  --blue: #6787AE;
  --blue-deep: #6787AE;
  --blue-dark: #4E6785;
  --cyan: #AEE1CC;
  --violet: #9383C7;
  --orange: #DEB184;
  --pink: #DBAEBE;
  --page: #ffffff;
  --container: 1200px;
  --card-radius: 24px;

  /* Градиенты направлений: дошкольные — оранжевый, школа — голубой, колледж — фиолетовый */
  --grad-preschool: linear-gradient(145deg, #DEB184 0%, #FFCC99 100%);
  --grad-school: linear-gradient(145deg, #6787AE 0%, #6787AE 100%);
  --grad-college: linear-gradient(145deg, #B3A7DB 0%, #9383C7 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: 'Raleway', 'PT Sans', 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: #F5F6EE;
  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 { display: inline-flex; align-items: center; }
.brand-mark img { display: block; height: 22px; width: auto; }
.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: #557065; 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, #6787AE 0%, #6787AE 100%);
  box-shadow: 0 8px 18px rgba(103, 135, 174, 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(103, 135, 174, 0.26); }

/* Вход в кабинет — для тех, кто уже в программе. Обводка вместо заливки:
   действие вторичное, главным в шапке остаётся «Стать амбассадором». */
.nav-login {
  min-height: 40px;
  padding: 4px 20px;
  border: 1px solid rgba(103, 135, 174, 0.55);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-login:hover { background: rgba(103, 135, 174, 0.1); border-color: var(--blue); }

.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(50, 78, 66, 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(50, 78, 66, 0.08);
  border-radius: 22px;
  background: rgba(245, 246, 238, 0.96);
  box-shadow: 0 24px 70px rgba(50, 78, 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: #232E3D;
  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(103, 135, 174, 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 .site-nav a.nav-login {
  margin-top: 8px;
  justify-content: center;
  text-align: center;
  color: var(--blue);
}
.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(103, 135, 174, 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: #4E6785; }

.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(103, 135, 174, 0.24); }
.button-primary:hover { background: #4E6785; box-shadow: 0 16px 32px rgba(103, 135, 174, 0.3); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #12181F; }
.button-wide { width: 100%; }
.button:focus-visible { outline: 3px solid rgba(103, 135, 174, 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(174, 225, 204, 0.3) 0%,
    rgba(174, 225, 204, 0.18) 38%,
    rgba(174, 225, 204, 0.06) 60%,
    rgba(174, 225, 204, 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: #6787AE;
  --alt-blue-dark: #4E6785;
  --alt-muted: #80A797;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 58%, rgba(174, 225, 204, 0.72), rgba(231, 246, 240, 0.34) 27%, rgba(245, 246, 238, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #F5F6EE 70%, #E7F6F0 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(103, 135, 174, 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: #4E6785;
  box-shadow: 0 18px 42px rgba(103, 135, 174, 0.28);
  transform: translateY(-2px);
}

.alt-hero__button:focus-visible { outline: 3px solid rgba(103, 135, 174, 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(103, 135, 174, 0.34);
  border-radius: 32px;
  display: grid;
  place-items: center;
  color: rgba(103, 135, 174, 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(103, 135, 174, 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(103, 135, 174, 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: #557065; }
.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: #839DBD;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-align: center;
  background: #EAEAE2;
  filter: grayscale(1);
  transition: filter 0.6s ease, background 0.6s ease;
  overflow: hidden;
}
.diptych__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.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: #F5F6EE;
  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, #6787AE, #BBCADB); }
.feature-card--orange::before { background: linear-gradient(90deg, #DEB184, #FFCC99); }
.feature-card--violet::before { background: linear-gradient(90deg, #B3A7DB, #9383C7); }
.feature-card--pink::before { background: linear-gradient(90deg, #DBAEBE, #F5F6EE); }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(103, 135, 174, 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: #557065; }

.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; }

.workload-compare { margin-top: 40px; }
.workload-compare__label {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   Блок 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: #6787AE; 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: #557065;
}
.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 #BBCADB;
  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(103, 135, 174, 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(103, 135, 174, 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: #557065; }
.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: #F5F6EE;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.proof-card:hover { box-shadow: 0 18px 40px rgba(103, 135, 174, 0.14); transform: translateY(-2px); }
.proof-card__media {
  position: relative;
  height: 92px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #232E3D, #6787AE);
}
.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: #839DBD;
  background: #EAEAE2;
  font-size: 13px;
  overflow: hidden;
}
.proof-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.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, #232E3D 0%, #6787AE 62%, #9383C7 100%);
  box-shadow: 0 30px 70px rgba(35, 46, 61, 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: #232E3D;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.reward-card .button-primary:hover { background: #E7F6F0; }

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

.stories-empty {
  padding: 64px 40px;
  border: 1.5px dashed #BBCADB;
  border-radius: var(--card-radius);
  text-align: center;
  background: rgba(245, 246, 238, 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: #F5F6EE; }
.story-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #839DBD;
  background: #EAEAE2;
  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: #F5F6EE; text-align: center; }
.team-card__photo {
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #839DBD;
  background: #EAEAE2;
  font-size: 13px;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.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: #557065; font-size: 17px; line-height: 1.5; }

.barrier-card {
  margin-top: 44px;
  padding: 44px;
  border-radius: var(--card-radius);
  color: #fff;
  background: #12181F;
}
.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: #E7F6F0; }

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

.recognition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.recognition-card {
  padding: 34px 26px;
  border: 1px solid #EAEAE2;
  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(103, 135, 174, 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: #557065; }
.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: #557065; 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: #324E42;
}
/* Затемняющий слой поверх анимированного градиента: гарантирует читаемость белого текста и формы */
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(50, 78, 66, 0.34) 0%, rgba(50, 78, 66, 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(50, 78, 66, 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(174, 225, 204, 0.16); }
.apply-form input:user-invalid { border-color: #FDD4E2; }
.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: #232E3D; box-shadow: none; }
.apply-form .button-primary:hover { background: #232E3D; }
.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: #232E3D;
  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(50, 78, 66, 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(50, 78, 66, 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(50, 78, 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: #F5F6EE;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
.lead-popup__close:hover { background: #EAEAE2; 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 #BBCADB;
  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(103, 135, 174, 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: #F5F6EE; }
.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: #557065; font-size: 16px; }
.social-links a:not(:last-child)::after { content: " | "; margin: 0 7px; color: #557065; }
.social-wrap { display: grid; gap: 10px; color: #557065; 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 #BBCADB;
  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; }
}

/* ==========================================================================
   Блок 15 — своя форма регистрации
   Поля наследуют .apply-form (белым по синему градиенту). Добавляем только
   то, чего в исходной форме не было: выпадающий список, строку ошибки
   и подпись под кнопкой.
   ========================================================================== */

.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;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.apply-form select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(174, 225, 204, 0.16); }
.apply-form select option { color: var(--ink); background: #fff; }

.apply-form__error {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(253, 212, 226, 0.16);
  color: #FFEFF4;
  font-size: 15px;
}
.apply-form [data-org-field][hidden] { display: none; }


/* ============================================================
   Бренд-слой Школы «БИТ» поверх styles.css амбассадорского лендинга.
   Подключается ПОСЛЕ исходных стилей. Разметку не меняет —
   только палитру, типографику и декоративные элементы.

   Палитра и правила — «Фирменный стиль Школы БИТ», ver 1.0.
   Заголовки: Actay Wide → в вебе недоступен, гайд разрешает
   замену Unbounded SemiBold. Текст: Raleway.
   ============================================================ */

.bit{
  /* Мятный */
  --mint-100:#F7FCFA; --mint-200:#E7F6F0; --mint-300:#D7F0E5; --mint-400:#AEE1CC;
  --mint-500:#80A797; --mint-600:#557065; --mint-700:#324E42;
  /* Синий */
  --blue-100:#F9FAFB; --blue-200:#DAE1EB; --blue-300:#BBCADB; --blue-400:#839DBD;
  --blue-500:#6787AE; --blue-600:#4E6785; --blue-700:#232E3D;
  /* Дополнительные */
  --peach-200:#FFEBD7; --peach-400:#FFCC99; --peach-500:#DEB184;
  --yellow-200:#FEF6CD; --yellow-400:#FEE882;
  --pink-200:#FFEFF4; --pink-400:#FDD4E2;
  --lav-200:#E3DCFA; --lav-400:#CEC2F6; --lav-500:#B3A7DB;
  --sky-200:#D7EBFF; --sky-400:#99CCFF; --sky-500:#84B1DE;
  /* Вспомогательные */
  --sand-100:#FBFBF8; --sand-200:#F5F6EE; --sand-300:#EAEAE2; --sand-400:#DADAD2;
  --dark-bit:#12181F;

  --h-font:'Unbounded','Actay Wide',system-ui,sans-serif;
  --b-font:'Raleway','PT Sans',system-ui,-apple-system,sans-serif;

  /* переопределяем переменные исходной темы */
  --ink:#12181F;
  --muted:#557065;
  --line:#EAEAE2;
  --surface:#F5F6EE;
  --page:#FBFBF8;
  --blue:#6787AE;
  --blue-deep:#4E6785;
  --blue-dark:#4E6785;
  --cyan:#AEE1CC;
  --violet:#B3A7DB;
  --orange:#DEB184;
  --pink:#FDD4E2;
}

/* ——— типографика ——— */
.bit body, body.bit{
  font-family:var(--b-font);
  color:var(--dark-bit); background:var(--sand-100);
  line-height:1.5; letter-spacing:0;
}
body.bit h1, body.bit h2, body.bit h3, body.bit h4,
body.bit .section-heading h2, body.bit .final-cta h2, body.bit .alt-hero h1{
  font-family:var(--h-font); font-weight:600; line-height:1.1; letter-spacing:0;
}
body.bit blockquote{font-family:var(--h-font); font-weight:500; line-height:1.15}
body.bit .brand-copy{font-family:var(--h-font); font-weight:600; letter-spacing:.01em}

/* Гайд: соотношение заголовка к тексту не меньше 1,2; заголовки — bold */
body.bit .section-heading h2{font-weight:600}
body.bit .eyebrow, body.bit .alt-hero__eyebrow{
  color:var(--mint-600); font-weight:600; font-size:13px; letter-spacing:.1em;
}

/* ——— шапка ——— */
body.bit .site-header{background:rgba(251,251,248,.92); border-bottom:1px solid var(--sand-300)}
body.bit .site-nav a{color:var(--mint-600); font-weight:500}
body.bit .site-nav a:hover{color:var(--dark-bit)}
body.bit .site-nav a:last-of-type{
  color:var(--dark-bit); background:var(--mint-400); box-shadow:none; font-weight:600;
}
body.bit .site-nav a:last-of-type:hover{background:var(--mint-500)}

/* ——— первый экран ——— */
body.bit .alt-hero{
  --alt-blue:#6787AE; --alt-blue-dark:#4E6785; --alt-muted:#557065;
  position:relative;
  background:
    radial-gradient(circle at 78% 58%, rgba(174,225,204,.55), rgba(231,246,240,.35) 30%, rgba(251,251,248,0) 58%),
    linear-gradient(180deg, var(--sand-100) 0%, var(--mint-100) 72%, var(--mint-200) 100%);
}
/* линии-«каракули» по гайду: выходят за границы носителя, концов не видно */
body.bit .alt-hero::before{
  content:""; position:absolute; z-index:0; pointer-events:none;
  top:-18%; right:-14%; width:min(720px,72vw); aspect-ratio:1; opacity:.5;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Cpath d='M-40 150C60 40 250 30 300 110c50 80-90 130-150 90S60 110 190 70s230 60 250 170-120 200-260 170' stroke='%23AEE1CC' stroke-width='34' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.bit .alt-hero__stage, body.bit .alt-ticker{position:relative; z-index:1}
body.bit .alt-hero h1 em{font-style:normal; color:var(--mint-500)}
body.bit .alt-hero__accent{color:var(--mint-700); font-weight:600}
body.bit .alt-hero__button{
  color:var(--dark-bit); background:var(--mint-400); box-shadow:none;
  font-family:var(--b-font); font-weight:600; border-radius:14px;
}
body.bit .alt-hero__button:hover{background:var(--mint-500)}
body.bit .alt-hero__art img{border-radius:28px}

body.bit .alt-ticker{background:var(--mint-200); border-top:1px solid var(--mint-300); border-bottom:1px solid var(--mint-300)}
body.bit .alt-ticker__group span{color:var(--mint-700); font-weight:500}
body.bit .alt-ticker__group span:not(:last-child)::after{color:var(--mint-400)}

/* ——— кнопки ——— */
body.bit .button{font-family:var(--b-font); font-weight:600; border-radius:14px}
body.bit .button-primary{color:var(--dark-bit); background:var(--mint-400); box-shadow:none}
body.bit .button-primary:hover{background:var(--mint-500)}
body.bit .button-dark{color:#fff; background:var(--mint-700)}
body.bit .button-dark:hover{background:var(--dark-bit)}
body.bit .text-link, body.bit .text-link--button{color:var(--blue-600)}

/* ——— карточки и секции ——— */
body.bit .feature-card{background:var(--white,#fff); border:1px solid var(--sand-300); border-radius:20px}
body.bit .stage-card{border-radius:28px}
body.bit .quote-section{background:var(--mint-200)}
body.bit .quote-inner blockquote{color:var(--mint-700)}
body.bit .faq-item{border-top:1px solid var(--sand-300)}
body.bit .steps-list__num{color:var(--mint-700); background:var(--mint-300); font-family:var(--h-font); font-weight:600}
body.bit .recognition-card__icon{color:var(--mint-500)}

/* Карточка «Посмотрите урок изнутри» убрана сборщиком — в блоке осталась одна
   карточка, а сетка была на две колонки. Схлопываем в одну и центрируем. */
body.bit .proof-grid{grid-template-columns:minmax(0,1fr); max-width:760px; margin-inline:auto}

/* мягкие пятна фона — из синего в мятный */
body.bit .opportunities-section::before,
body.bit .benefits-section::before,
body.bit .site-footer::before{
  background:radial-gradient(circle,
    rgba(174,225,204,.55) 0%, rgba(174,225,204,.3) 38%,
    rgba(174,225,204,.1) 60%, rgba(174,225,204,0) 76%);
}

/* ——— цветные полоски карточек ——— */
/* Вариант A: дополнительная палитра гайда */
.theme-directions-pastel .feature-card--blue::before   { background:linear-gradient(90deg, var(--sky-500),  var(--sky-200)) }
.theme-directions-pastel .feature-card--orange::before { background:linear-gradient(90deg, var(--peach-500),var(--peach-200)) }
.theme-directions-pastel .feature-card--violet::before { background:linear-gradient(90deg, var(--lav-500),  var(--lav-200)) }
.theme-directions-pastel .feature-card--pink::before   { background:linear-gradient(90deg, var(--pink-400), var(--pink-200)) }
/* Вариант B: только основная палитра */
.theme-directions-mono .feature-card--blue::before,
.theme-directions-mono .feature-card--orange::before,
.theme-directions-mono .feature-card--violet::before,
.theme-directions-mono .feature-card--pink::before{
  background:linear-gradient(90deg, var(--mint-500), var(--mint-300));
}
.theme-directions-mono .feature-card--orange::before{background:linear-gradient(90deg, var(--blue-500), var(--blue-200))}

/* ——— три этапа образовательного пути ——— */
.theme-directions-pastel .stage-card--preschool{background:linear-gradient(145deg, var(--peach-500) 0%, var(--peach-400) 100%)}
.theme-directions-pastel .stage-card--school   {background:linear-gradient(145deg, var(--sky-500) 0%, var(--sky-400) 100%)}
.theme-directions-pastel .stage-card--college  {background:linear-gradient(145deg, var(--lav-500) 0%, var(--lav-400) 100%)}
/* на пастели белый текст не читается — переводим на тёмный */
.theme-directions-pastel .stage-card{color:var(--dark-bit)}

.theme-directions-mono .stage-card--preschool{background:linear-gradient(145deg, var(--mint-600) 0%, var(--mint-500) 100%)}
.theme-directions-mono .stage-card--school   {background:linear-gradient(145deg, var(--blue-600) 0%, var(--blue-500) 100%)}
.theme-directions-mono .stage-card--college  {background:linear-gradient(145deg, var(--mint-700) 0%, var(--mint-600) 100%)}
.theme-directions-mono .stage-card{color:#fff}

/* ——— финальный CTA: анимированный градиент отключён ——— */
body.bit .final-cta{
  background:var(--mint-700); color:#fff; isolation:isolate;
}
body.bit .final-cta::after{
  background:none;                       /* затемняющая плёнка больше не нужна */
}
body.bit .final-cta::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Cpath d='M440 250C340 360 150 370 100 290c-50-80 90-130 150-90s90 90-40 130-230-60-250-170S80-40 220-10' stroke='%23FFFFFF' stroke-width='44' stroke-linecap='round'/%3E%3C/svg%3E")
    left -12% bottom -30%/min(680px,70vw) no-repeat;
  opacity:.1;
}
body.bit .final-cta > .container{position:relative; z-index:1}
body.bit .final-cta .button-primary{color:var(--dark-bit); background:var(--mint-400)}

/* ——— формы ——— */
body.bit input[type=text], body.bit input[type=email], body.bit input[type=tel],
body.bit select, body.bit textarea{
  font-family:var(--b-font); border-radius:14px;
  border:1.5px solid var(--sand-300); background:var(--sand-100); color:var(--dark-bit);
}
body.bit input:focus, body.bit select:focus, body.bit textarea:focus{
  outline:none; border-color:var(--mint-500);
}
body.bit .form-note{color:var(--blue-400)}
body.bit .form-success{color:var(--mint-600)}

/* ——— подвал ——— */
body.bit .site-footer{background:var(--sand-200); color:var(--mint-700)}
body.bit .site-footer a{color:var(--mint-700)}
body.bit .site-footer a:hover{color:var(--dark-bit)}
