/* ============ KAVA.SCHOOL — «Лаборатория дизайна» ============
   Копия дизайна курса AI-автоматизация:
   - Paper-фон #EAE0CF, ink текст
   - Бордовые em-акценты в заголовках
   - Yellow только как mark-ink подложка + toggle ring
   - Локальные шрифты: Coolvetica (заголовки), Platform (текст),
     DIN Condensed (цифры/цены — латиница и цифры, кириллицы нет)
   ====================================================== */

/* ===== Локальные шрифты ===== */
@font-face {
  font-family: 'LabHeading';            /* Заголовок.otf — Coolvetica Compressed Heavy */
  src: url('fonts/heading.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LabMain';               /* основной-простой.ttf — Platform Regular */
  src: url('fonts/main.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LabAccent';             /* Дополнительный — TT Bluescreens Trial ExtraBold (полная кириллица) */
  src: url('fonts/accent.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Палитра — точно как в референсе */
  --ink: #1d1b1a;
  --paper: #F4ECDF;
  --paper-2: #F8F3EA; /* единый светлый фон */
  --paper-3: #FFFAF1;

  --bordo: #811A19;
  --bordo-2: #6B1413;
  --bordo-3: #4C1010;
  --bordo-soft: #a32a28;

  --coffee: #3C312D;
  --green: #3E4F2F;
  --green-2: #8EB56C;
  --yellow: #FFF278; /* нежный из Figma */
  --yellow-light: #FFF89A;
  --sky: #D2E4EB; /* нежно-голубой из Figma */
  --sky-2: #85ABB9;

  /* Шрифты — локальные из fonts/ */
  --h-font: 'LabHeading', 'LabMain', system-ui, sans-serif;
  --t-font: 'LabMain', system-ui, sans-serif;
  --serif: 'LabHeading', 'LabMain', system-ui, sans-serif; /* em-акценты в заголовках (кириллица) */
  --hand: 'LabMain', system-ui, sans-serif;
  --num-font: 'LabAccent', 'LabHeading', system-ui, sans-serif; /* цифры, цены, номера */
  --accent-font: 'LabAccent', 'LabHeading', system-ui, sans-serif; /* акцентные фрагменты >5–6 слов, ПРОПИСНЫЕ */

  /* Radii */
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  /* Spacing */
  --maxw: 1320px;
  --pad: clamp(20px, 5vw, 80px);
  --space-block: clamp(36px, 4.5vw, 64px);
  --card-pad: clamp(22px, 2.4vw, 32px);

  /* Type scale */
  --fs-section: clamp(28px, 3.6vw, 52px);
  --fs-lead: clamp(15px, 1.1vw, 17px);
  --fs-body: clamp(15px, 1.05vw, 17px);
  --fs-caption: 13px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-soft: cubic-bezier(0.2, 0.7, 0.15, 1);

  /* Marquee speed */
  --marquee-dur: 60s;
}
@media (max-width: 680px) {
  :root { --marquee-dur: 42s; }
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--t-font);
  color: var(--ink);
  background-color: #F7F7F3;
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
}

/* ===== Единый мягкий фон по всему сайту — светлый + деликатное жёлтое свечение ===== */
html { background: #F7F7F3; }
html, main { background: transparent !important; }
body {
  background-color: #F7F7F3 !important;
  background-image:
    radial-gradient(56% 46% at 80% 6%,  rgba(255, 238, 165, 0.42), transparent 62%),
    radial-gradient(50% 44% at 10% 46%, rgba(255, 243, 190, 0.26), transparent 62%),
    radial-gradient(80% 55% at 50% 104%, rgba(255, 236, 158, 0.22), transparent 72%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
/* секции прозрачные — фон идёт единым полотном, без стыков */
section, .section, .feat,
#about, #after, #audience,
#testimonials, #pricing, #faq, #contact, #socials { background: transparent !important; }
/* Program — тёмный фон как было */
#program, .program, section.program { background: var(--ink) !important; }

/* L3 — общий стиль для всех карточек: молочные + soft shadow + thin border */
.bento-card,
.tier,
.testi-card,
.aud-card--start,
.aud-card--mid,
.feat-card,
.adv-card,
.carousel-card,
.minimal-row,
.faq-item,
.skills-cloud,
.module,
.social-card {
  background: #FFFAF1;
  border: 1px solid rgba(23, 23, 23, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Тёмные карточки оставляем — они контрастируют сами */
.bento-card--main,
.aud-card--pro,
.tier-best,
.module {
  /* спец-фоны не трогаем — у них свой фон */
}
/* модули в тёмной программе остаются как были */
.module { background: #24221F; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.aud-card--pro { background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.tier-best { background: var(--ink); border: 2px solid var(--yellow); box-shadow: 0 24px 60px -28px rgba(254, 255, 85, 0.4); }

/* тёмные блоки оставляем как были */
.hero,
.program,
.testi-stats,
.installment,
.cta-help,
.footer { background: initial; }
p { line-height: 1.65; }
/* Reference-style: всё слева — как на netlify-final */
.section-sub, .lead { max-width: 720px; text-align: left; margin-left: 0; margin-right: 0; }
.section-head,
/* обычные хедеры — слева */
.section-head { text-align: left; margin-left: 0; margin-right: 0; }
.section-head .eyebrow { justify-content: flex-start; align-self: flex-start; }
.section-head .section-h { text-align: left; margin-left: 0; margin-right: 0; }
.section-head .section-sub { margin-left: 0; margin-right: 0; }
/* центрированные хедеры — по центру (desktop) */
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; align-self: center; }
.section-head--center .section-h { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ============ TYPOGRAPHY ============ */
/* Скрыты все мелкие подписи-eyebrow над заголовками */
.eyebrow, .oc-label { display: none !important; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--t-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordo);
}
.eyebrow .star { width: 16px; height: 16px; flex: none; }
.eyebrow .star path, .eyebrow .star rect, .eyebrow .star g { fill: currentColor; }

.section-h {
  font-family: var(--h-font);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.28;
  font-size: var(--fs-section);
  margin: 14px 0 22px;
  text-transform: none;
}
/* выделенное слово — курсивный serif в капсуле (как на референсе) */
.section-h em {
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--bordo);
  background: #F8EDAE;
  border: 2px solid #E3CC66;
  padding: 0.08em 0.4em 0.16em;
  border-radius: 0.55em;
  letter-spacing: 0;
  text-transform: none;
}

.section-sub {
  font-size: var(--fs-lead);
  color: #3a3633;
  font-weight: 500;   /* чуть плотнее — лучше читается, особенно на мобиле */
  max-width: 720px;
  margin: 0 0 var(--space-block);
  line-height: 1.55;
}
/* десктоп — подзаголовки под заголовками блоков крупнее (мобайл не трогаем) */
@media (min-width: 768px) {
  .section-sub,
  .section-head--center .section-sub {
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.6;
    max-width: 780px;
  }
  /* в центрированных хедерах подзаголовок — по центру (десктоп) */
  .section-head--center .section-sub { text-align: center; }
  .program .program__sub { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; max-width: 680px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--t-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--bordo);
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  touch-action: manipulation;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--bordo-2); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.35); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn:active { transform: translateY(0); }

.btn--paper { background: var(--paper-3); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--lg { padding: 22px 36px; font-size: 15px; }
.btn--sm { padding: 12px 22px; font-size: 12px; }

.btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 18px 0;
  background: rgba(234, 224, 207, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-logo {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}
.brand-logo .dot { color: var(--bordo); }

.header-nav { display: none; gap: 8px; }
@media (min-width: 900px) { .header-nav { display: flex; } }
.header-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  opacity: 0.7;
}
.header-nav a:hover, .header-nav a:focus-visible { background: var(--paper-3); opacity: 1; }

.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

/* burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .burger { display: none; } }

/* ----- мобильная шапка: лёгкая, поверх видео-первого-экрана (без бежевого блока) ----- */
@media (max-width: 767px) {
  .header {
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    border-bottom: none;
    padding: max(12px, env(safe-area-inset-top)) 0 12px;
    transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
  }
  .header__inner { padding-left: 20px; padding-right: 20px; }
  .burger span { width: 24px; }
  /* на первом экране (прозрачная шапка) логотип скрыт — hero чище;
     visibility сохраняет место, бургер остаётся справа. При скролле логотип возвращается. */
  .header:not(.is-solid) .brand-logo { visibility: hidden; }
  .header.is-solid {
    background: rgba(247, 247, 243, 0.92);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
}

/* ===== ч.29 — редакционная типографика и журнальная программа ===== */
.section-sub,
.program__sub,
.hero-scrub__lead p,
.fmt-card__text,
.fg-hero__p,
.fg-card__p,
.fg-wide__p,
.carousel-desc,
.case__quote,
.testi-card-v2__quote p,
.faq-item p,
.speaker-card__bio,
.preorder-card__d,
.bstack-card__desc,
.module-result-preview,
.module-result,
.module-list-inner li {
  text-wrap: pretty;
  hanging-punctuation: first last;
}

@supports (text-box-trim: trim-both) {
  .section-h,
  .oc-title,
  .program-intro__title,
  .module-title {
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
  }
}

.program .module-list {
  gap: 0;
  border-top: 1px solid rgba(255, 250, 241, 0.24);
}

.program .module {
  position: relative;
  overflow: clip;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 250, 241, 0.24) !important;
  border-radius: 0 !important;
  transition: background-color 280ms ease;
}

.program .module:hover,
.program .module[open] {
  background: rgba(255, 250, 241, 0.045) !important;
}

.program .module summary {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr) 48px;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: clamp(220px, 22vw, 310px);
  padding: clamp(30px, 4vw, 58px) clamp(4px, 1.5vw, 20px);
}

.program .module-num,
.program .module-num--bonus {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: block !important;
  place-items: initial !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-family: var(--h-font);
  font-size: clamp(132px, 15vw, 224px) !important;
  font-weight: 800;
  line-height: 0.72 !important;
  letter-spacing: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(254, 255, 85, 0.82);
  opacity: 0.9;
  transform: translateY(0.035em);
  transition: color 260ms ease, -webkit-text-stroke-color 260ms ease, opacity 260ms ease;
}

.program .module:hover .module-num,
.program .module[open] .module-num {
  color: var(--yellow) !important;
  -webkit-text-fill-color: var(--yellow);
  -webkit-text-stroke-color: var(--yellow);
  opacity: 1;
}

.program .module-info {
  position: relative;
  z-index: 3;
  padding: 0;
}

.program .module-title.module-title {
  display: block;
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(42px, 5.25vw, 78px) !important;
  font-weight: 800;
  line-height: 0.92 !important;
  text-transform: uppercase;
  color: var(--paper-3);
  text-wrap: balance;
}

.program .module-meta {
  margin: 0 0 13px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.program .module-result-preview {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 250, 241, 0.66);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
}

.program .module-toggle {
  align-self: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(254, 255, 85, 0.65);
}

.program .module__body {
  position: relative;
  z-index: 1;
  padding: 0 clamp(4px, 1.5vw, 20px) clamp(42px, 5vw, 72px);
}

@media (min-width: 980px) {
  .program .module__body {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(36px, 5vw, 76px);
    padding-left: calc(minmax(190px, 0.34fr));
  }

  .program .module-preview.has-video {
    margin: 0;
    aspect-ratio: 16 / 10;
  }

  .program .module-content {
    padding: 10px 0 0;
  }
}

@media (max-width: 767px) {
  .program .module summary {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 14px 12px;
    min-height: 0;
    padding: 28px 0 30px;
  }

  .program .module-num,
  .program .module-num--bonus {
    grid-column: 1 / -1;
    font-size: clamp(88px, 29vw, 116px) !important;
    line-height: 0.72 !important;
  }

  .program .module-info {
    grid-column: 1;
  }

  .program .module-title.module-title {
    font-size: clamp(36px, 11.5vw, 48px) !important;
    line-height: 0.94 !important;
    margin-bottom: 15px;
  }

  .program .module-result-preview {
    font-size: 15px;
    line-height: 1.48;
  }

  .program .module-toggle {
    grid-column: 2;
    width: 38px;
    height: 38px;
  }

  .program .module__body {
    padding: 0 0 38px;
    gap: 24px;
  }

  .program .module-content {
    padding: 0;
  }
}

/* mobile nav overlay */
/* ============ MOBILE NAV — Sheet (shadcn) ============ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
}
.mobile-nav.is-open { pointer-events: auto; }
/* затемнение-overlay */
.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 14, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }
/* выезжающая панель справа */
.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86%, 360px);
  background: var(--paper);
  box-shadow: -24px 0 60px -20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  padding: 20px 22px calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
  border-left: 1px solid rgba(0,0,0,0.06);
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
/* шапка панели */
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mobile-nav__brand {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mobile-nav__brand .dot { color: var(--bordo); }
.mobile-nav__close {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mobile-nav__close:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.18); }
/* список ссылок */
.mobile-nav__list { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; flex: 1; }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 14px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav__list a:hover,
.mobile-nav__list a:active { background: rgba(129, 26, 25, 0.07); color: var(--bordo); }
.mobile-nav__chev { color: rgba(29,27,26,0.35); transition: transform 0.2s ease, color 0.2s ease; }
.mobile-nav__list a:hover .mobile-nav__chev { color: var(--bordo); transform: translateX(3px); }
/* подвал панели */
.mobile-nav__foot { padding-top: 18px; border-top: 1px solid rgba(0,0,0,0.08); }
.mobile-nav__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.mobile-nav__note {
  text-align: center;
  font-size: 12px;
  color: rgba(29,27,26,0.5);
  margin: 12px 0 0;
}

/* sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 40px);
  max-width: 320px;
  z-index: 70;
  background: var(--bordo);
  color: #fff;
  padding: 16px 22px;
  border-radius: 999px;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 40px -16px rgba(129, 26, 25, 0.6);
  transform: translateY(140%);
  transition: transform 0.35s var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta.is-near-footer { transform: translateY(140%); }
.sticky-cta svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ============ SECTIONS ============ */
.section { padding: var(--space-block) 0; }

.section-head { max-width: 820px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================
   HERO — video-scrub (mouse-controlled)
   ============================================ */
.hero--scrub {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* mobile: контент внизу */
  padding: 0 0 48px;
}
@media (min-width: 768px) {
  .hero--scrub { justify-content: center; padding-bottom: 0; }
}
.hero-scrub__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: 0;
  pointer-events: none;
}
/* на десктопе мобильное видео скрыто (показывается только на мобиле) */
.hero-scrub__video--mob { display: none; }
/* мягкая голубая вуаль слева — для читаемости тёмного текста */
.hero-scrub__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(210,228,235,0.86) 0%, rgba(210,228,235,0.5) 45%, rgba(210,228,235,0.08) 80%, transparent 100%),
    linear-gradient(180deg, rgba(210,228,235,0.55) 0%, transparent 30%, transparent 70%, rgba(210,228,235,0.55) 100%);
}
@media (max-width: 767px) {
  /* МОБАЙЛ: вертикальное видео с вшитым текстом — на весь первый экран */
  .hero--scrub.hero--scrub {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    justify-content: flex-end;
    align-items: center;
    /* подтягиваем под прозрачную шапку, чтобы видео занимало весь экран */
    margin-top: calc(-1 * var(--header-h, 0px));
    padding: 0 0 max(12px, calc(env(safe-area-inset-bottom) + 10px));
    background: var(--ink) !important;
  }
  .hero-scrub__video--web { display: none; }
  .hero-scrub__video--mob {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-scrub__scrim { display: none; }
  /* заголовок и описание скрыты — видео показывает текст, плашки добавляем в вёрстке */
  .hero--scrub .hero-scrub__title,
  .hero--scrub .hero-scrub__lead { display: none !important; }
  .hero-scrub__inner {
    margin-top: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
  }
  .hero--scrub .hero-scrub__facts {
    display: flex !important;
    justify-content: center;
    gap: 8px;
  }
  .hero--scrub .hero-fact {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12px;
  }
  .hero--scrub .hero-fact b {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .hero--scrub .hero-fact__val {
    font-size: 13px;
  }
  .hero-scrub__buy { margin-top: 0; width: auto; max-width: 320px; padding: 15px 30px; font-size: 14px; }
}
.hero-scrub__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* Название курса — гигантское AI + автоматизация */
.hero-scrub__title {
  font-family: var(--h-font);
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hero-scrub__ai {
  display: block;
  font-size: clamp(76px, 19vw, 168px);
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.hero-scrub__ai-sub {
  display: block;
  font-size: clamp(76px, 19vw, 168px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-top: 4px;
}

/* Большая кнопка покупки */
.hero-scrub__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--bordo);
  color: #fff;
  font-family: var(--t-font);
  font-weight: 800;
  font-size: clamp(15px, 2.2vw, 17px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 38px -14px rgba(129, 26, 25, 0.6);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.hero-scrub__buy:hover {
  background: var(--bordo-2, #6e1615);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -14px rgba(129, 26, 25, 0.7);
}
.hero-scrub__buy .arrow { transition: transform 0.25s ease; }
.hero-scrub__buy:hover .arrow { transform: translateX(4px); }
@media (max-width: 767px) {
  .hero-scrub__buy { width: auto; max-width: 320px; padding: 15px 30px; font-size: 14px; }
}

/* Описание под названием */
.hero-scrub__lead {
  margin: 0 0 22px;
  max-width: 560px;
}
.hero-scrub__lead p {
  font-family: var(--t-font);
  font-size: clamp(15px, 2.4vw, 19px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
}
.hero-scrub__lead p:last-child { margin-bottom: 0; color: rgba(29,27,26,0.75); font-weight: 400; }

/* Инфо-плашки (старт / длительность) */
.hero-scrub__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(29, 27, 26, 0.12);
  border-radius: 14px;
  padding: 10px 16px;
  font-family: var(--t-font);
}
.hero-fact b {
  font-weight: 700;
  font-size: clamp(12px, 1.7vw, 13px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero-fact__val {
  font-weight: 700;
  font-size: clamp(14px, 2vw, 16px);
  color: var(--ink);
}
@keyframes scrubBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.scrub-pill__email { text-decoration: underline; text-underline-offset: 2px; }
@keyframes gridDrift { to { background-position: 58px 58px; } }
@keyframes raysPulse { 0%,100% { opacity: 0.55; } 50% { opacity: 0.95; } }

/* Mega italic UPPERCASE title */
.hero-se__h1 {
  font-family: var(--h-font);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(56px, 11vw, 142px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.18);
}
@keyframes auroraShift { to { background-position: 200% center; } }
@media (max-width: 540px) {
  .hero-se__h1 { font-size: clamp(40px, 11vw, 64px); line-height: 0.92; margin-bottom: 16px; word-break: keep-all; hyphens: none; }
}
@media (max-width: 430px) {
  .hero-se__h1 { font-size: clamp(34px, 10vw, 50px); line-height: 0.94; letter-spacing: -0.02em; }
}
@media (min-width: 1280px) {
  .hero-se__h1 { font-size: clamp(112px, 9.5vw, 156px); }
}

/* ============ HERO — Rivian-style (legacy, kept for backward compat) ============ */
.hero--rivian {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  background: #F1E9D9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 0 28px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============ FEAT-GRID — большие цифры ============ */
.feat {
  background: var(--paper-2);
  padding: var(--space-block) 0;
}
@media (max-width: 767px) {
  /* На мобайле — изображение блока, реальные карточки скрыты */
  .about-figma-img { display: none !important; }
}
#about, .about-fg { overflow: visible !important; }

/* Overlap по Figma (внутри grid, без выхода за viewport) */
.fg-area-c01 { margin-top: -30px; }

/* mobile уменьшаем padding и текст у плотного 2-col layout */
@media (max-width: 767px) {
  .fg-card { padding: 22px 18px; border-radius: 24px; }
  .fg-card__num { font-size: 15px; padding: 5px 10px; margin-bottom: 14px; }
  .fg-card__h { font-size: clamp(18px, 5.6vw, 28px); margin-bottom: 12px; line-height: 1.0; }
  .fg-card__p { font-size: clamp(12px, 3.4vw, 15px); line-height: 1.3; }
  .fg-pills { gap: 6px; margin-top: 14px; }
  .fg-pills span { padding: 5px 10px; font-size: 12px; border-radius: 14px; }
  .fg-hero { padding: 28px 26px; border-radius: 24px; }
  .fg-hero__eyebrow { font-size: 12px; margin-bottom: 10px; }
  .fg-hero__h { font-size: clamp(28px, 8vw, 44px); margin-bottom: 16px; }
  .fg-hero__p { font-size: 14px; line-height: 1.4; }
  .fg-wide { padding: 26px 24px; border-radius: 24px; }
  .fg-wide__num { top: 22px; right: 22px; font-size: 14px; padding: 5px 10px; }
  .fg-wide__h { font-size: clamp(22px, 6vw, 32px); padding-right: 60px; }
  .fg-wide__p { font-size: 14px; }
}

/* desktop spans */
@media (min-width: 1024px) {
  .bento--intro    { grid-column: 1 / 3; grid-row: 1 / 3; }
  .bento--card-1   { grid-column: 3; grid-row: 1; }
  .bento--card-2   { grid-column: 4; grid-row: 1; }
  .bento--card-3   { grid-column: 3 / 5; grid-row: 2; }
  .bento--card-4   { grid-column: 1 / 3; grid-row: 3; }
  .bento--card-5   { grid-column: 3; grid-row: 3; }
  .bento--card-6   { grid-column: 4; grid-row: 3; }
}

/* ============ AUDIENCE — paper + ink dual cards ============ */
.audience .section-h { margin-bottom: 8px; }
.aud-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 36px;
}
@media (min-width: 900px) { .aud-grid { grid-template-columns: repeat(3, 1fr); } }
/* Слайдер-индикатор — только мобайл (см. mobile-блок ниже) */
.aud-slider { display: none; }

.aud-card {
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.aud-card:hover { transform: translateY(-6px); box-shadow: 0 36px 64px -32px rgba(0, 0, 0, 0.22); }

.aud-card--start {
  background: var(--paper-3);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ink);
}
.aud-card--mid {
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.aud-card--pro {
  background: var(--ink);
  color: var(--paper-3);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.35);
}
.aud-card--pro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 80% 8%, rgba(254, 255, 85, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 10% 92%, rgba(254, 255, 85, 0.04) 0%, transparent 60%);
}

.aud-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; z-index: 1; }
.aud-card__tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--h-font);
  font-weight: 700;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(129, 26, 25, 0.1);
  color: var(--bordo);
}
.aud-card--pro .aud-card__tag { background: rgba(254, 255, 85, 0.14); color: var(--yellow); }

.aud-card__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.aud-card__title em { font-style: normal; font-weight: 800; color: var(--bordo); }
.aud-card--pro .aud-card__title em { color: var(--yellow); }
/* выравниваем старт текста во всех карточках — заголовок резервирует одинаковую высоту */
@media (min-width: 900px) {
  .aud-card__title { min-height: 3.3em; }
}

.aud-card p { margin: 0; font-size: 15px; line-height: 1.55; color: #3a3633; position: relative; z-index: 1; }
.aud-card--pro p { color: rgba(255, 250, 241, 0.78); }

/* ============ PROGRAM — modules as cards (open accordion) ============ */
.program {
  background: var(--ink);
  color: var(--paper-3);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px) var(--pad);
  margin: var(--space-block) 0;
  position: relative;
  overflow: hidden;
}
.program__wrap { max-width: 1100px; margin: 0 auto; }
.program__head { text-align: center; margin-bottom: var(--space-block); position: relative; z-index: 1; }
.program .eyebrow { color: var(--yellow); }
.program .section-h { color: var(--paper-3); }
.program .section-h em { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.program__sub { font-size: var(--fs-lead); font-weight: 500; color: rgba(255, 250, 241, 0.78); max-width: 640px; margin: 0 auto; line-height: 1.55; }

.program::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 255, 85, 0.12), transparent 60%);
  right: -220px;
  top: -120px;
  pointer-events: none;
}

/* ============ PROGRAM TIMELINE ============ */
.program-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto 56px;
  z-index: 1;
}
.program-timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(254, 255, 85, 0.35);
  z-index: 0;
}
.program-timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.program-timeline__step:hover { transform: translateY(-3px); }
.program-timeline__dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--yellow);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 12px;
  color: var(--yellow);
  letter-spacing: 0;
  transition: all 0.25s ease;
}
.program-timeline__step:hover .program-timeline__dot,
.program-timeline__step.is-active .program-timeline__dot {
  background: var(--yellow);
  color: var(--ink);
  transform: scale(1.1);
}
.program-timeline__name {
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--paper-3);
  margin: 0 0 6px;
  line-height: 1.2;
}
.program-timeline__meta {
  font-size: 11px;
  color: rgba(255, 250, 241, 0.55);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 767px) {
  /* MOBILE TIMELINE — минималистичный ползунок (как референс) */
  .program-timeline-wrap {
    display: block !important;
    position: relative;
    margin: 0 auto 24px !important;
    padding: 20px 22px 18px !important;
    max-width: 100%;
    background:
      linear-gradient(180deg, rgba(255, 250, 241, 0.05) 0%, rgba(255, 250, 241, 0.02) 100%);
    border: 1px solid rgba(255, 250, 241, 0.10);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
  }

  /* верхний ряд с цифрами 01..05 над точками */
  .program-timeline-wrap::before {
    content: "01    02    03    04    05";
    display: block;
    font-family: var(--mono-font, "JetBrains Mono", monospace);
    font-size: 10px;
    letter-spacing: 0.05em;
    color: rgba(255, 250, 241, 0.42);
    text-align: justify;
    text-align-last: justify;
    padding: 0 4px 12px;
    /* fallback для распределения — используем grid */
  }

  /* перекрываем — лучше через grid */
  .program-timeline-wrap::before { display: none; }

  .program-timeline {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    align-items: center;
    position: relative;
    gap: 0 !important;
    padding: 14px 0 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  /* линия между точками */
  .program-timeline::before {
    content: "";
    position: absolute;
    top: calc(14px + 9px);
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: rgba(255, 250, 241, 0.16);
    z-index: 0;
  }
  /* подсвеченная часть линии до активной точки */
  .program-timeline::after {
    content: "";
    position: absolute;
    top: calc(14px + 9px);
    left: 10%;
    width: calc(var(--tl-progress, 0%) * 0.8);
    height: 1.5px;
    background: var(--yellow);
    z-index: 0;
    transition: width 0.35s ease;
  }
  .program-timeline__step {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0 !important;
    padding: 0 !important;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 0;
  }
  /* номер 01..05 НАД точкой */
  .program-timeline__step::before {
    content: attr(data-step);
    display: block;
    font-family: var(--mono-font, "JetBrains Mono", monospace);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 250, 241, 0.42);
    margin-bottom: 8px;
    transition: color 0.25s ease;
  }
  .program-timeline__step[data-step="1"]::before { content: "01"; }
  .program-timeline__step[data-step="2"]::before { content: "02"; }
  .program-timeline__step[data-step="3"]::before { content: "03"; }
  .program-timeline__step[data-step="4"]::before { content: "04"; }
  .program-timeline__step[data-step="5"]::before { content: "05"; }
  .program-timeline__step.is-active::before {
    color: var(--yellow) !important;
    font-weight: 700;
  }
  /* точка — теперь маленький круг без цифры */
  .program-timeline__dot {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    color: transparent !important;
    display: block;
    background: rgba(255, 250, 241, 0.18) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    position: relative;
  }
  .program-timeline__step.is-active .program-timeline__dot {
    background: var(--yellow) !important;
    transform: scale(1.4) !important;
    box-shadow:
      0 0 0 4px rgba(255, 250, 241, 0.06),
      0 0 0 7px rgba(255, 242, 120, 0.14),
      0 0 18px rgba(255, 242, 120, 0.45) !important;
  }
  /* скрываем подписи под точками — они в карточке ниже */
  .program-timeline__name,
  .program-timeline__meta {
    display: none !important;
  }
  /* легенда */
  .program-timeline__legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 250, 241, 0.08);
    font-family: var(--mono-font, "JetBrains Mono", monospace);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 250, 241, 0.50);
  }
  .program-timeline__legend strong {
    color: #FFFAF1;
    font-weight: 700;
    margin: 0 2px;
  }
  .program-timeline__percent {
    color: var(--yellow);
    font-weight: 700;
    font-size: 13px;
  }
}
/* Tablet (768-1023) — горизонтальный таймлайн с компактными подписями */
@media (min-width: 768px) and (max-width: 1023px) {
  .program-timeline {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 8px;
  }
  .program-timeline::before { left: 8%; right: 8%; }
  .program-timeline__name { font-size: 12px; }
  .program-timeline__meta { font-size: 10px; }
}

.module-list { display: grid; gap: 16px; position: relative; z-index: 1; }

.module {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.module:hover { border-color: rgba(255, 255, 255, 0.22); }

.module summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 88px;
}
.module summary::-webkit-details-marker { display: none; }
.module summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }

.module-num {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
  min-width: 64px;
}
.module-title {
  font-family: var(--h-font);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--paper-3);
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  text-underline-offset: 0;
}
.module-title:visited,
.module-title:link,
.module-title:hover { text-decoration: none !important; color: var(--paper-3); }
.module-meta { display: block; font-family: var(--t-font); font-size: 12px; font-weight: 500; color: rgba(255, 250, 241, 0.6); margin-top: 6px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: visible; }

.module-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--yellow);
  display: grid;
  place-items: center;
  color: var(--yellow);
  transition: transform 0.35s var(--ease-out-soft);
  flex: none;
}
.module-toggle svg { width: 18px; height: 18px; display: block; transition: transform 0.3s ease; }
.module[open] .module-toggle svg { transform: rotate(180deg); }

.module__body { padding: 0 20px 20px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 980px) { .module__body { grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 0; } }
@media (min-width: 980px) { .module-content { padding: 24px 28px 32px 28px; } }

.module-preview {
  border-radius: var(--r-md);
  width: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  align-self: start;
  display: block;
}
.module-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 110%, rgba(0, 0, 0, 0.5), transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.module-preview.has-video { background: none !important; }
.module-preview.has-video::after { display: none; }
.module-preview.has-video .module-preview__lbl,
.module-preview.has-video .module-preview__play,
.module-preview.has-video .module-preview__tag { display: none; }
.module-preview__video {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
  object-fit: cover;
}
@media (min-width: 980px) {
  .module-preview.has-video { border-radius: 0; align-self: start; aspect-ratio: 16 / 9; margin: 24px 0 0 28px; }
  .module-preview__video { border-radius: 0; }
}
.module-preview__lbl {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--h-font);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  z-index: 2;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.module-preview__play {
  position: absolute;
  right: 18px; bottom: 18px;
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(254, 255, 85, 0.95);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.4);
}
.module-preview__play svg { width: 20px; height: 20px; margin-left: 3px; }
.module-preview__tag {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 5 цветов под модули KAVA — bordo, coffee, navy, green, rust */
.module-preview--v1 {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(160deg, #9d2624 0%, var(--bordo) 50%, var(--bordo-3) 100%);
}
.module-preview--v2 {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #5b4a44 0%, var(--coffee) 60%, #231b18 100%);
}
.module-preview--v3 {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #0e2c41 0%, #1a394d 60%, #06182a 100%);
}
.module-preview--v4 {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
    linear-gradient(160deg, #2E7D9A 0%, #1F5E78 60%, #0C2A38 100%);
}
.module-preview--v5 {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
    linear-gradient(160deg, #c2580f 0%, var(--rust) 60%, #4C1A00 100%);
}

.module-content { display: flex; flex-direction: column; gap: 22px; }

.module-section { font-family: var(--h-font); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.module-list-inner { list-style: none; padding: 0; margin: 0; }
.module-list-inner li { padding: 9px 0; padding-left: 22px; font-size: 15px; line-height: 1.5; color: rgba(255, 250, 241, 0.85); position: relative; }
.module-list-inner li::before { content: "→"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }

.module-result {
  background: rgba(143, 193, 221, 0.12);
  border: 1px dashed rgba(143, 193, 221, 0.45);
  border-radius: var(--r-md);
  padding: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 250, 241, 0.92);
}
.module-result strong { color: #A9D4EC; font-weight: 700; }

/* ============ SKILLS pill-cluster — без подложки ============ */
.skills {
  background: #F8F3EA;
}

/* ============ AFTER — FEATURE CAROUSEL ============ */
.carousel {
  max-width: 1100px;
  margin: 36px auto 0;
}
.carousel-card {
  background: var(--paper-3);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  min-height: 440px;
  position: relative;
}
@media (max-width: 767px) {
  .carousel-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
    min-height: 0;
  }
}

/* Visual area */
.carousel-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  background: var(--paper-2);
}
@media (max-width: 767px) {
  .carousel-visual { min-height: 220px; aspect-ratio: 4 / 3; }
}
.carousel-step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
  padding: 24px;
}
.carousel-step.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Placeholder block (заглушка вместо картинки) */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Meta — текст справа */
.carousel-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px;
  position: relative;
  min-height: 320px;
}
@media (max-width: 767px) {
  .carousel-meta { min-height: 0; padding: 8px; }
}
.carousel-title-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
}
.carousel-title-wrap.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
@media (max-width: 767px) {
  .carousel-title-wrap {
    position: relative;
    inset: auto;
    padding: 4px 8px 8px;
    display: none; /* неактивные скрываем — иначе они занимают высоту */
  }
  .carousel-title-wrap.is-active { display: flex; opacity: 1; transform: none; }
}
.carousel-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 12px;
  background: var(--bordo);
  color: #fff;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1;
}
.carousel-badge--yellow { background: var(--yellow); color: var(--ink); }
.carousel-title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.0;
  color: var(--ink);
}
.carousel-desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: #5a4a40;
  margin: 0;
  max-width: 36ch;
}

/* Nav — кнопки-шаги */
.carousel-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));   /* 10 кнопок → 2 ровных ряда по 5 */
  gap: 8px;
  max-width: 460px;
  margin: 22px auto 0;
}
.carousel-nav button {
  min-width: 0;
  height: 44px;
  padding: 0 8px;
  background: var(--paper-3);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.carousel-nav button:hover {
  background: var(--paper);
  transform: translateY(-1px);
}
.carousel-nav button.is-active {
  background: var(--bordo);
  color: #fff;
  border-color: var(--bordo);
}
/* мобайл: компактные переключатели — 2 ровных ряда по 5 (375–430px) */
@media (max-width: 767px) {
  .carousel-nav { gap: 6px; max-width: none; }
  .carousel-nav button {
    min-width: 0;
    height: 36px;
    padding: 0 2px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
}

/* Progress bar внизу */
.carousel-progress {
  margin-top: 14px;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.carousel-progress__fill {
  width: 0%;
  height: 100%;
  background: var(--bordo);
  transition: width 5s linear;
}
.carousel-progress__fill.is-running { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .carousel-step, .carousel-title-wrap { transition: none; }
  .carousel-progress__fill { transition: none; }
}

/* стрелки навигации под отзывами */
.testi-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.testi-nav__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid rgba(29, 27, 26, 0.14);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 22px -14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.testi-nav__btn:hover {
  background: var(--bordo);
  color: #fff;
  border-color: var(--bordo);
  transform: translateY(-2px);
}
.testi-nav__btn:active { transform: translateY(0); }
.testi-nav__btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 767px) {
  .testi-nav { margin-top: 18px; gap: 12px; }
  .testi-nav__btn { width: 46px; height: 46px; }
}

/* перенос строки в подзаголовке «Формат курса» — только десктоп */
.fmt-br { display: none; }
@media (min-width: 768px) { .fmt-br { display: inline; } }

/* ============ TESTIMONIALS V2 — Clerk-style asymmetric grid ============ */
.testi-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 6px 0 16px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;              /* вертикальное смещение исключено */
  scroll-snap-type: x mandatory;   /* строгий слайдер по горизонтали */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  isolation: isolate;
}
.testi-list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  /* строгий горизонтальный слайдер: карточка за карточкой, без вертикали */
  .testi-card-v2 {
    flex: 0 0 clamp(300px, 30vw, 380px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.testi-card-v2 {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #FFFAF1;
  border: 1px solid rgba(23, 23, 23, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testi-card-v2:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06); }

/* Featured — белее, более сильная тень, большая цитата */
.testi-card-v2.is-featured {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow:
    0 10px 32px rgba(33, 33, 38, 0.10),
    0 1px 1px rgba(0, 0, 0, 0.05),
    0 4px 6px rgba(33, 33, 38, 0.06),
    0 24px 68px rgba(33, 33, 38, 0.08);
  z-index: 1;
  position: relative;
  padding: 36px 32px;
}

/* Цветные акцентные карточки из мудборда KAVA */
.testi-card-v2.is-accent {
  border: 1px solid transparent;
  color: #fff;
  box-shadow:
    0 10px 28px rgba(33, 33, 38, 0.18),
    0 4px 6px rgba(33, 33, 38, 0.08);
}
.testi-card-v2.is-accent--bordo { background: var(--bordo); }
.testi-card-v2.is-accent--navy {
  background: var(--sky) !important;
  color: var(--ink) !important;
}
.testi-card-v2.is-accent--navy .testi-card-v2__quote,
.testi-card-v2.is-accent--navy .testi-card-v2__quote p { color: var(--ink) !important; }
.testi-card-v2.is-accent--navy .testi-card-v2__quote p::before,
.testi-card-v2.is-accent--navy .testi-card-v2__quote p::after { color: var(--bordo) !important; }
.testi-card-v2.is-accent--navy .testi-card-v2__name { color: var(--ink) !important; }
.testi-card-v2.is-accent--navy .testi-card-v2__avatar {
  background: rgba(29, 27, 26, 0.12) !important;
  color: var(--bordo) !important;
}
.testi-card-v2.is-accent .testi-card-v2__quote p { color: rgba(255, 255, 255, 0.95); }
.testi-card-v2.is-accent .testi-card-v2__quote p::before,
.testi-card-v2.is-accent .testi-card-v2__quote p::after { color: var(--yellow); }
.testi-card-v2.is-accent .testi-card-v2__name { color: #fff; }
.testi-card-v2.is-accent .testi-card-v2__avatar {
  background: rgba(0, 0, 0, 0.18);
  color: var(--yellow);
}
.testi-card-v2.is-accent .testi-card-v2__avatar::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* Quote with «» Russian quote marks via CSS */
.testi-card-v2__quote {
  flex: 1 1 auto;
  margin: 0 0 22px;
}
.testi-card-v2__quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
}
.testi-card-v2__quote p::before { content: "«"; color: var(--bordo); font-weight: 700; }
.testi-card-v2__quote p::after  { content: "»"; color: var(--bordo); font-weight: 700; }

/* Footer with name + avatar */
.testi-card-v2__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.testi-card-v2__info { min-width: 0; }
.testi-card-v2__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
/* shadcn-style Avatar — круг, брендовый градиент, кольцо */
.testi-card-v2__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sky, #D2E4EB) 0%, var(--bordo) 130%);
  display: grid;
  place-items: center;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex: none;
  position: relative;
  box-shadow: 0 4px 12px -4px rgba(129, 26, 25, 0.35);
}
.testi-card-v2__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(0,0,0,0.06);
}
.stat-num {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
}

/* ============ PRICING ============ */
.tiers {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px; /* место под Premium-плашку */
  overflow: visible;
}
@media (min-width: 900px) and (max-width: 1199px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 22px; } }
@media (min-width: 1200px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 16px; } }

.tier {
  background: var(--paper-3);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible; /* Premium-плашка не обрезается */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.18); }

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: none;
  width: max-content;
  box-shadow: 0 8px 22px rgba(254, 255, 85, 0.35);
  z-index: 2;
}

.tier-best {
  background: var(--ink);
  color: var(--paper-3);
  border: 2px solid var(--yellow);
  box-shadow: 0 24px 60px -28px rgba(254, 255, 85, 0.4);
}
@media (min-width: 900px) {
  .tier-best { transform: translateY(-16px); }
  .tier-best:hover { transform: translateY(-20px); }
}
.tier-best::before {
  content: "★ Самый популярный";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 8px 18px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(254, 255, 85, 0.6);
}

.tier-name {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

.tier-price {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 6px;
  color: var(--ink);
  white-space: nowrap;
}
.tier-best .tier-price { color: var(--yellow); }

.tier-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: #3a3633;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.tier-features li:first-child { border-top: none; }
.tier-best .tier-features li { color: rgba(255, 250, 241, 0.85); border-top-color: rgba(255, 255, 255, 0.08); }

.tier-features .ic {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bordo);
  color: var(--paper-3);
  flex: none;
  display: grid; place-items: center;
  margin-top: 1px;
}
.tier-best .tier-features .ic { background: var(--yellow); color: var(--ink); }
.tier-features .ic svg { width: 12px; height: 12px; }

/* ============ INSTALLMENT (рассрочка) ============ */
.installment {
  background: var(--ink);
  color: var(--paper-3);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.installment::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 255, 85, 0.12), transparent 60%);
  right: -180px;
  top: -180px;
  pointer-events: none;
}
@media (max-width: 980px) { .installment { grid-template-columns: minmax(0, 1fr); gap: 22px; text-align: left; } }

.installment__main { position: relative; z-index: 1; }
.installment__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.installment__name::before {
  content: "❀";
  font-size: 14px;
  color: var(--yellow);
  font-style: normal;
}
.installment__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.installment__title em { font-style: normal; color: var(--yellow); }
.installment__sub { font-size: 15px; color: rgba(255, 250, 241, 0.75); margin: 0; max-width: 380px; line-height: 1.5; }

/* ============ FAQ — details/summary + yellow X ring ============ */
.faq__list { display: grid; gap: 10px; margin-top: 36px; }
.faq-item {
  background: var(--paper-3);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item:hover { border-color: rgba(0, 0, 0, 0.18); }
.faq-item:hover .toggle { transform: none; }
.faq-item[open] { background: var(--paper); border-color: var(--ink); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--bordo); outline-offset: -2px; }

.faq-item .toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--yellow);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out-soft);
  flex: none;
  color: var(--bordo);
}
.faq-item .toggle svg { width: 18px; height: 18px; transform: none; transition: transform .3s ease; }
.faq-item[open] .toggle { transform: none; }
.faq-item[open] .toggle svg { transform: rotate(180deg); }

.faq-item__body { padding: 4px 26px 24px; font-size: 15px; line-height: 1.65; color: #3a3633; max-width: 78ch; }
.faq-item__body p { margin: 0 0 12px; font-weight: 500; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* shadcn-accordion feel — плавное раскрытие контента */
@keyframes accordionDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-item[open] .faq-item__body,
.module[open] .module-content {
  animation: accordionDown 0.28s ease;
}

/* ============ CTA HELP ============ */
.cta-help {
  background: linear-gradient(135deg, var(--bordo) 0%, var(--bordo-2) 100%);
  color: var(--paper-3);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--space-block);
}
@media (max-width: 880px) { .cta-help { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.cta-help::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 255, 85, 0.18), transparent 60%);
  right: -220px;
  top: -220px;
  pointer-events: none;
}
.cta-help__txt { position: relative; z-index: 1; }
.cta-help__txt h3 {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  line-height: 1.02;
  text-transform: uppercase;
}
.cta-help__txt h3 em { font-style: normal; font-weight: 800; color: rgba(255, 250, 241, 0.6); }
.cta-help__txt p { margin: 0; font-size: 16px; color: rgba(255, 250, 241, 0.85); max-width: 560px; line-height: 1.55; }
.cta-help__btn { position: relative; z-index: 1; align-self: center; }
@media (max-width: 880px) { .cta-help__btn { justify-self: center; } }   /* идёт сразу после тарифов — без двойного отступа */
.corp {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(26px, 3.6vw, 42px) clamp(22px, 3.6vw, 50px);
  border-radius: var(--r-xl, 28px);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(255, 242, 120, 0.28), transparent 55%),
    linear-gradient(135deg, #FFFAF1 0%, #F4ECDF 100%);
  border: 1px solid rgba(29, 27, 26, 0.10);
  box-shadow: 0 24px 60px -34px rgba(29, 27, 26, 0.35);
}
.corp__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--t-font); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--bordo);
  margin-bottom: 12px;
}
.corp__eyebrow .star { width: 14px; height: 14px; fill: var(--bordo); }
.corp__title {
  font-family: var(--h-font); font-weight: 800;
  font-size: clamp(22px, 2.5vw, 32px); line-height: 1.14;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px;
  text-align: left;
}
.corp__title em { font-style: normal; color: var(--bordo); }
.corp__txt { min-width: 0; }   /* не даём длинному тексту раздувать грид-колонку */
.corp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.corp__list li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--t-font); font-weight: 500; font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(29, 27, 26, 0.85); line-height: 1.4;
}
.corp__ic {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(129, 26, 25, 0.10); color: var(--bordo);
}
.corp__btn { white-space: nowrap; align-self: center; }
@media (max-width: 767px) {
  .corp {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 18px;
    padding: 28px 22px;
  }
  .corp__eyebrow { justify-content: flex-start; }
  .corp__list { text-align: left; }
  .corp__list li { align-items: flex-start; }
  .corp__btn { width: 100%; max-width: 360px; justify-self: start; }
}

/* ============ SOCIALS BLOCK ============ */
.socials-block {
  background: var(--paper-3);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}
@media (max-width: 880px) { .socials-block { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.socials-block__h {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.04em;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 240px;
}
.socials-block__h em { font-style: normal; font-weight: 800; color: var(--bordo); }
.socials-block__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
@media (max-width: 680px) { .socials-block__list { grid-template-columns: minmax(0, 1fr); } }

.social-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  min-width: 0;
}
.social-card:hover { background: var(--ink); color: var(--paper-3); border-color: var(--ink); transform: translateY(-2px); }
.social-card__ico {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper-3);
  display: grid; place-items: center;
  color: var(--bordo);
  flex: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.social-card:hover .social-card__ico { background: var(--bordo); color: var(--paper-3); }
.social-card__ico svg { width: 18px; height: 18px; }
.social-card > span:last-child { min-width: 0; overflow: hidden; }
.social-card b { display: block; font-family: var(--h-font); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-card span span { display: block; font-size: 13px; color: #6b5d50; margin-top: 2px; transition: color 0.25s ease; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-card:hover span span { color: rgba(255, 250, 241, 0.78); }

/* ============ FLOATING CONSULT ============ */
.consult {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 60;
  display: none; /* скрыт по умолчанию — только большие экраны */
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  padding: 6px 6px 6px 0;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .consult { display: flex; }
}
.consult:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); }
.consult__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-3);
  display: grid; place-items: center;
  flex: none;
}
.consult__icon svg { width: 22px; height: 22px; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.consult__pill {
  background: var(--bordo);
  color: var(--paper-3);
  padding: 18px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  align-self: stretch;
  display: flex;
  align-items: center;
}
@media (max-width: 680px) {
  .consult { left: 16px; bottom: 16px; padding: 8px; }
  .consult__pill { display: none; }
  .consult__icon { border-radius: 50%; width: 48px; height: 48px; }
}
.consult.is-near-footer { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--paper-3);
  padding: 72px 0 36px;
  border-radius: 36px 36px 0 0;
  margin-top: var(--space-block);
}
.footer p { color: rgba(255, 250, 241, 0.7); font-size: 14px; line-height: 1.55; margin: 0; max-width: 360px; }
.footer h5 { font-family: var(--h-font); font-weight: 700; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 16px; color: rgba(255, 250, 241, 0.5); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--paper-3); text-decoration: none; font-size: 14px; letter-spacing: 0.02em; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--yellow); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ BLUR-IN заголовков (по словам, стиль BlurText/React Bits) ============ */
.section-h .word,
.oc-title .word,
.hero-se__h1 .word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-50px);
  will-change: transform, filter, opacity;
}
@keyframes blurTextIn {
  0%   { filter: blur(10px); opacity: 0;   transform: translateY(-50px); }
  50%  { filter: blur(5px);  opacity: 0.5; transform: translateY(5px); }
  100% { filter: blur(0);    opacity: 1;   transform: translateY(0); }
}
.section-h.is-blurin .word,
.oc-title.is-blurin .word,
.hero-se__h1.is-blurin .word {
  animation: blurTextIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--wd, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .section-h .word, .oc-title .word, .hero-se__h1 .word {
    opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; animation: none !important;
  }
}

/* ============ MAGIC TEXT — слова подсвечиваются по скроллу ============ */
.magic-text .word {
  display: inline-block;
  margin-right: 0.25em;
  color: rgba(29, 27, 26, 0.22);
  transition: color 0.4s ease;
}
.magic-text .word.is-lit { color: var(--ink); }

/* ============ NUMBER TICKER — анимация цифр ============ */
.ticker { display: inline-block; will-change: contents; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ============================================
   ГОЛУБЫЕ / ЖЁЛТЫЕ КАРТОЧКИ — единый стиль
   ============================================ */

/* 1. Stat-cards в feat-grid → голубой, без красного свечения */
.feat-card {
  background: var(--sky) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(133, 171, 185, 0.25) !important; /* мягкое голубое вместо бордового */
}

/* 2. Audience: 01 голубой, 02 жёлтый, 03 ink остаётся */
.aud-card--start {
  background: var(--sky) !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.aud-card--start::after { display: none; }
.aud-card--start .aud-card__title,
.aud-card--start .aud-card__title em { color: var(--ink) !important; }
.aud-card--start p { color: #2b2b2b !important; }
.aud-card--start .aud-card__tag { background: var(--ink) !important; color: var(--sky) !important; }

.aud-card--mid {
  background: var(--yellow) !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.aud-card--mid .aud-card__title,
.aud-card--mid .aud-card__title em { color: var(--ink) !important; }
.aud-card--mid p { color: #2b2b2b !important; }
.aud-card--mid .aud-card__tag { background: var(--ink) !important; color: var(--yellow) !important; }

/* 3. Carousel main card → голубой */
.carousel-card {
  background: var(--sky) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.carousel-card .carousel-title { color: var(--ink) !important; }
.carousel-card .carousel-desc { color: #2b2b2b !important; }
.carousel-card .carousel-badge { background: var(--ink) !important; color: var(--sky) !important; }
.carousel-card .carousel-badge--yellow { background: var(--ink) !important; color: var(--yellow) !important; }

/* 4. Tier «Бизнес» → голубой */
.tier--sky {
  background: var(--sky) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.tier--sky .tier-name,
.tier--sky .tier-price { color: var(--ink) !important; }
.tier--sky .tier-features li { color: #2b2b2b !important; border-top-color: rgba(0, 0, 0, 0.12) !important; }
.tier--sky .tier-features .ic { background: var(--ink) !important; color: var(--sky) !important; }
.tier--sky .btn { background: var(--ink) !important; color: var(--sky) !important; }
.tier--sky .btn:hover { background: #000 !important; }



/* 4.6. Tier «Стандарт» CTA — добавить контрастную обводку */
.tier:not(.tier-best):not(.tier--sky) .btn--paper {
  background: var(--ink) !important;
  color: var(--paper-3) !important;
  border: 2px solid var(--ink) !important;
}
.tier:not(.tier-best):not(.tier--sky) .btn--paper:hover {
  background: var(--bordo) !important;
  border-color: var(--bordo) !important;
  color: #fff !important;
}
.stat-num { color: var(--bordo) !important; }

/* Testimonials — текст на голубой sky-accent карточке тёмный (уже было — закрепляю) */
.testi-card-v2.is-accent--navy,
.testi-card-v2.is-accent--navy * { color: var(--ink); }
.testi-card-v2.is-accent--navy .testi-card-v2__quote p,
.testi-card-v2.is-accent--navy .testi-card-v2__quote p::before,
.testi-card-v2.is-accent--navy .testi-card-v2__quote p::after { color: var(--bordo); }

/* Carousel card — заменить красное «glow» на голубое */
.bento-card--main::after,
.carousel-card::after { display: none !important; }

/* 5. FAQ → голубые карточки, тёмный текст */
.faq-item {
  background: var(--sky) !important;
  border: 1px solid rgba(0, 0, 0, 0.10) !important;
}
.faq-item[open] {
  background: var(--yellow) !important;
  border-color: var(--ink) !important;
}
.faq-item summary { color: var(--ink) !important; }
.faq-item__body { color: #2b2b2b !important; }
.faq-item .toggle {
  box-shadow: 0 0 0 1.5px var(--ink) !important;
  color: var(--ink) !important;
}
.faq-item[open] .toggle { background: var(--ink); color: var(--yellow) !important; }

/* 6. Соцсети — голубой контейнер, жёлтые карточки */
.socials-block {
  background: var(--sky) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.socials-block__h,
.socials-block__h em { color: var(--ink) !important; }
.social-card {
  background: var(--yellow) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: var(--ink) !important;
}
.social-card:hover {
  background: var(--ink) !important;
  color: var(--yellow) !important;
  border-color: var(--ink) !important;
}
.social-card__ico {
  background: var(--ink) !important;
  color: var(--yellow) !important;
}
.social-card:hover .social-card__ico {
  background: var(--yellow) !important;
  color: var(--ink) !important;
}
.social-card b { color: var(--ink); }
.social-card:hover b { color: var(--yellow); }
.social-card span span { color: #2b2b2b !important; }
.social-card:hover span span { color: rgba(255, 250, 241, 0.8) !important; }

/* (старое desktop-only minimal-row правило удалено —
   теперь card-grid на всех ширинах) */

/* module-info wrapper — ensure no underline inheritance */
.module-info { display: block; min-width: 0; }
.module-result-preview { display: none; }
@media (min-width: 768px) {
  .module-result-preview { display: none; }
}

/* убираем браузерный underline у timeline-ссылок */
.program-timeline__step,
.program-timeline__step:visited,
.program-timeline__step:hover,
.program-timeline__step:focus {
  text-decoration: none !important;
  color: inherit;
}
.program-timeline__name,
.program-timeline__meta { text-decoration: none !important; }
.program-timeline__meta { white-space: nowrap; }

/* ============================================
   MOBILE OVERRIDES (<= 768px)
   ============================================ */
@media (max-width: 767px) {

  body { font-size: 17px; line-height: 1.55; }
  p { line-height: 1.55; }

  /* mobile section heads — left-aligned, без афишных размеров */
  .section-head,
  .section-head--center {
    text-align: left;
    padding: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  /* больше воздуха между «О чём курс» и «Что у вас будет после курса» */
  #after { margin-top: clamp(28px, 8vw, 52px); }
  .section-head .eyebrow,
  .section-head--center .eyebrow,
  .hero-eyebrow {
    text-align: left;
    justify-content: flex-start;
    align-self: flex-start;
    display: inline-flex;
  }
  /* === Mobile typo по референсу — компактнее === */
  .section-h,
  .section-head--center .section-h {
    font-family: var(--h-font);
    font-weight: 800;
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.28;
    letter-spacing: -0.022em;
    text-transform: none;
    text-align: left;
    margin: 0 0 14px;
    max-width: 100%;
  }
  .section-h em {
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    color: var(--bordo);
    background: #F3E7A0;
    padding: 0.08em 0.36em 0.16em;
    border-radius: 0.5em;
  }
  /* .section-h br оставляем видимым в program — там нужен перенос строки */
  .section-h br { display: none; }
  .program .section-h br { display: inline !important; }

  /* подзаголовки — небольшие, как в референсе */
  .section-sub,
  .section-head--center .section-sub,
  .lead {
    font-family: var(--t-font);
    font-size: 15px;
    line-height: 1.5;
    color: #3a3633;
    text-align: left !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0;
  }

  /* подзаголовок программы тоже слева */
  .program__sub { text-align: center; padding: 0; }
  .program__head { text-align: center; }
  .program .section-h { text-align: center !important; margin-left: auto !important; margin-right: auto !important; font-size: clamp(32px, 9vw, 44px) !important; }

  /* hero h1 чуть компактнее */
  .hero-h1 {
    font-size: clamp(38px, 10.5vw, 64px);
    line-height: 0.98;
    margin-bottom: 18px;
  }
  .hero-sub { font-size: 16px; line-height: 1.5; }

  /* body padding для sticky CTA — чтобы не перекрывала */
  body { padding-bottom: 150px; }
  main { padding-bottom: 150px; }
  /* Карточки и контент-блоки: добавляем нижний margin когда близок sticky */
  .testi-list { padding-bottom: 12px; }
  .tiers { padding-bottom: 16px; }
  .installment { margin-bottom: 12px; }
  .footer { margin-bottom: 0; }

  /* mobile micro-tweaks для card-grid (база уже работает на всех ширинах) */
  .minimal-row { padding: 20px 20px 22px; gap: 10px; }
  .minimal-row__title { font-size: 17px; padding-right: 30px; }
  .minimal-row__desc { font-size: 14px; }

  /* ====== 2. SKILLS TAG-CLOUD — без подложки, прямо на фоне ====== */
  .skills .wrap { padding: 0 16px; }
  .skills .section-head { margin-bottom: 16px; }
  .skills-cloud {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 12px 0 0 !important;
    gap: 10px 12px;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    display: flex;
  }
  .skill-pill {
    padding: 6px 10px !important;
    min-height: 28px !important;
    border-radius: 999px;
    font-size: 11px !important;
    line-height: 1;
    white-space: nowrap;
    border-width: 1.5px;
    box-shadow: none !important;
    width: auto;
    max-width: none;
  }
  /* длинные капсулы — ещё меньше */
  .skills-cloud .skill-pill:nth-child(5),
  .skills-cloud .skill-pill:nth-child(6),
  .skills-cloud .skill-pill:nth-child(9) {
    font-size: 10px !important;
    padding: 6px 9px !important;
  }
  /* Хаотичные углы */
  .skills-cloud .skill-pill:nth-child(5n)   { transform: rotate(-5deg) !important; }
  .skills-cloud .skill-pill:nth-child(5n+1) { transform: rotate(3deg)  !important; }
  .skills-cloud .skill-pill:nth-child(5n+2) { transform: rotate(-2deg) !important; }
  .skills-cloud .skill-pill:nth-child(5n+3) { transform: rotate(4deg)  !important; }
  .skills-cloud .skill-pill:nth-child(5n+4) { transform: rotate(-3deg) !important; }
  .skills-cloud { gap: 6px 7px !important; }

  /* ====== 3. PROGRAM TIMELINE — компактный горизонтальный (см. выше) ====== */
  /* (раньше скрывался — теперь показываем как на скриншотах) */

  /* фон секции программы — мягче */
  .program {
    background: #1D1B18;
    padding: 60px 18px 48px;
    margin: 32px 0;
  }
  .program::before {
    width: 360px; height: 360px;
    right: -160px; top: -120px;
    background: radial-gradient(circle, rgba(254, 255, 85, 0.12), transparent 60%);
  }

  /* модули как самостоятельные карточки */
  .module {
    background: #24221F !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
  }

  .module summary {
    grid-template-columns: 44px 1fr 32px;
    gap: 14px;
    padding: 20px 20px;
    min-height: auto;
    align-items: start;
  }

  .module-num {
    width: 44px; height: 44px;
    background: var(--yellow);
    color: var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    min-width: auto;
    line-height: 1;
    letter-spacing: 0;
  }

  .module-info { display: block; padding-top: 2px; }
  .module-title {
    font-family: var(--h-font);
    font-weight: 800;
    font-size: 18px;
    color: var(--paper-3);
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    display: block;
    margin-bottom: 6px;
  }

  .module-meta {
    display: block;
    color: var(--yellow);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 8px;
    white-space: nowrap;
  }

  .module-result-preview {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 250, 241, 0.65);
    margin-top: 0;
    font-weight: 500;
  }

  .module-toggle {
    width: 32px; height: 32px;
    box-shadow: 0 0 0 1.5px rgba(254, 255, 85, 0.5);
    color: var(--yellow);
    margin-top: 4px;
  }
  .module-toggle svg { width: 14px; height: 14px; }

  /* программа: result-preview скрываем когда открыто (есть полный блок ниже) */
  .module[open] .module-result-preview { display: none; }

  .module__body { grid-template-columns: 1fr; padding: 0 20px 22px; gap: 18px; }
  .module-section { font-size: 11px; }
  .module-list-inner li { font-size: 14px; padding: 7px 0 7px 20px; }
  .module-result { padding: 16px; font-size: 13.5px; }

  /* убираем фон-ссылки везде */
  a, a:visited, a:hover, a:focus { text-decoration: none; }

  /* ====== 4. STICKY CTA — по центру + safe-area ====== */
  .sticky-cta {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);
    max-width: 320px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    height: 64px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: 0 18px 40px -14px rgba(129, 26, 25, 0.55), 0 0 0 4px rgba(245, 236, 223, 0.4);
  }
  .sticky-cta.is-hidden-pricing,
  .sticky-cta.is-hidden-skills,
  .sticky-cta.is-hidden-testimonials,
  .sticky-cta.is-hidden-after,
  .sticky-cta.is-hidden-contact,
  .sticky-cta.is-hidden-socials,
  .sticky-cta.is-hidden-faq,
  .sticky-cta.is-hidden-audience,
  .sticky-cta.is-hidden-program { transform: translateY(180%) !important; }

  /* ====== TESTIMONIALS mobile — horizontal scroll ====== */
  #testimonials .wrap { padding: 0; }
  #testimonials .section-head { padding: 0 16px; }
  .testi-list {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px !important;
    padding: 8px 16px 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
    margin: 16px 0 0 !important;
  }
  .testi-list::-webkit-scrollbar { display: none; }
  .testi-card-v2 {
    flex: 0 0 84%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 22px;
    border-radius: 16px;
  }
  .testi-card-v2.is-featured {
    flex: 0 0 84%;
    grid-row: auto;
    grid-column: auto;
    padding: 24px 22px;
    border-radius: 18px;
  }
  .testi-card-v2__result { font-size: 26px; }
  .testi-card-v2.is-featured .testi-card-v2__quote p { font-size: 16px; line-height: 1.4; }
  .testi-card-v2__quote p { font-size: 15px; line-height: 1.5; }
  .testi-stats { margin: 16px; padding: 24px 22px; }

  /* ====== 5. TYPOGRAPHY POLISH ====== */
  .testi-big-result { font-size: 26px; line-height: 1.08; }
  .testi-quote { font-size: 16px; line-height: 1.4; }
  .feat-card__h { font-size: clamp(28px, 7vw, 38px); }
  .audience .aud-card__title { font-size: 22px; }
  .bento-intro__h { font-size: clamp(28px, 7.5vw, 42px); }

  /* ====== reduce empty black space ====== */
  .program__head { margin-bottom: 36px; }

  /* footer: skip mb compensation от sticky */
  body > footer { padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
}

/* iPhone XS class (390px) и Pro Max (430px) — fine-tune */
@media (max-width: 430px) {
  .hero-meta-pills span { font-size: 12px; padding: 7px 12px; }
  .trust-row { gap: 12px 16px; font-size: 13px; }
  .trust-row .num { font-size: 13.5px; }
  .module summary { grid-template-columns: 40px 1fr 30px; gap: 12px; padding: 18px 16px; }
  .module-num { width: 40px; height: 40px; font-size: 15px; }
  .module-title { font-size: 17px; }
  /* skills 430px — оставляем правила из 767px (не перезаписываем размер) */
}

/* ============================================
   AUDIENCE — горизонтальный слайдер (mobile)
   ============================================ */
@media (max-width: 767px) {
  /* Индикатор — без плашки, прямо на фоне */
  .aud-slider {
    display: block !important;
    position: relative;
    margin: 28px auto 18px !important;
    padding: 6px 4px 0 !important;
    max-width: 240px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .aud-slider__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    position: relative;
    padding: 8px 0;
  }
  /* серая базовая линия */
  .aud-slider__track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16%;
    right: 16%;
    height: 2px;
    background: rgba(29, 27, 26, 0.12);
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 2px;
  }
  /* подсветка прогресса — градиент по точкам */
  .aud-slider__track::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 16%;
    width: calc(var(--aud-progress, 0%) * 0.68);
    height: 2px;
    background: linear-gradient(90deg, var(--sky-2, #85ABB9) 0%, var(--yellow) 50%, var(--bordo) 100%);
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 2px;
    transition: width 0.35s ease;
  }
  .aud-slider__dot {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .aud-slider__dot span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid #F8F3EA;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  }
  /* цветные точки — палитра карт */
  .aud-slider__dot[data-aud="0"] span { background: var(--sky-2, #85ABB9); }
  .aud-slider__dot[data-aud="1"] span { background: var(--yellow); }
  .aud-slider__dot[data-aud="2"] span { background: var(--bordo); }
  /* активная — крупнее + кольцо своего цвета */
  .aud-slider__dot.is-active span {
    transform: scale(1.55);
  }
  .aud-slider__dot[data-aud="0"].is-active span {
    box-shadow: 0 0 0 5px rgba(133, 171, 185, 0.22), 0 2px 8px rgba(133, 171, 185, 0.35);
  }
  .aud-slider__dot[data-aud="1"].is-active span {
    box-shadow: 0 0 0 5px rgba(255, 242, 120, 0.30), 0 2px 8px rgba(255, 242, 120, 0.45);
  }
  .aud-slider__dot[data-aud="2"].is-active span {
    box-shadow: 0 0 0 5px rgba(129, 26, 25, 0.18), 0 2px 8px rgba(129, 26, 25, 0.40);
  }
  /* легенда — минималистично, без border-top */
  .aud-slider__legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px auto 0;
    padding: 0;
    border-top: 0;
    font-family: var(--mono-font, "JetBrains Mono", monospace);
    font-size: 10.5px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(29, 27, 26, 0.50);
  }
  .aud-slider__legend strong {
    color: var(--ink);
    font-weight: 700;
    margin: 0 2px;
  }
  .aud-slider__percent {
    color: var(--ink);
    font-weight: 700;
    font-size: 12px;
  }

  /* Слайдер убран — карточки идут колонкой, без горизонтального скролла */
  .aud-slider { display: none !important; }
  .aud-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    gap: 14px !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
  }
  .aud-card {
    flex: none !important;
    min-height: 0 !important;
  }
}

/* ============================================
   PROGRAM — chips вместо длинной строки meta
   ============================================ */
.module-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.m-chip {
  display: inline-block;
  font-family: var(--mono-font, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.08);
  color: rgba(255, 250, 241, 0.72);
  white-space: nowrap;
  line-height: 1.4;
}
.m-chip--accent {
  background: rgba(254, 255, 85, 0.16);
  color: var(--yellow);
}

/* (final-cta удалён — пользователь не хочет подвал) */

/* ============================================
   GLOBAL TYPOGRAPHY — desktop max-width + heights
   ============================================ */
@media (min-width: 1024px) {
  .section-h {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.0;
  }
  .hero-se__h1 { line-height: 0.92; }
}

/* ============================================
   MOBILE: единая система заголовков (компактная)
   ============================================ */
@media (max-width: 767px) {
  /* H1 hero — компактный */
  .hero-se__h1 {
    font-size: 36px !important;
    line-height: 0.98 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
  }
  /* Все section-h: 22-26px — тихие, не дробные */
  .section-h,
  .section-head .section-h,
  .section-head--center .section-h,
  .program .section-h {
    font-size: clamp(26px, 7vw, 38px) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.005em !important;
    text-transform: none !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
  }
  /* убираем все <br> внутри заголовков на мобайле */
  .section-h br { display: none !important; }
  /* Карточные h3: 18-22 */
  .aud-card__title,
  .feat-card__h,
  .module-title,
  .tier-name,
  .carousel-title {
    font-size: 19px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }
  /* Программа: timeline-ползунок не показываем (декорация лишняя) */
  .program-timeline-wrap { display: none !important; }
  /* Modules — компактнее */
  .module {
    border-radius: 28px !important;
  }
  .module summary {
    padding: 22px 20px !important;
    gap: 14px !important;
    grid-template-columns: 52px 1fr 36px !important;
  }
  .module-num {
    width: 52px !important;
    height: 52px !important;
    font-size: 16px !important;
  }
  .module-info { min-width: 0; }
  .module-title {
    font-size: 22px !important;
    line-height: 1.15 !important;
    margin-bottom: 8px !important;
    text-transform: none !important;
    color: #FFFAF1 !important;
  }
  .module-result-preview {
    font-size: 13px !important;
    color: rgba(255, 250, 241, 0.65) !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
    display: block !important;
  }
  /* убираем uppercase у длинных строк */
  .m-chip {
    font-size: 10.5px !important;
    padding: 3px 9px !important;
  }
  /* gap между модулями */
  .module-list { gap: 14px !important; }

  /* Заголовок программы — тоже 24px */
  .program .section-h em { font-size: inherit !important; background: var(--bordo) !important; border-color: var(--bordo) !important; color: #fff !important; }
  .program__sub {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }
}

/* ============================================
   STICKY CTA — компактнее, не перекрывает
   ============================================ */
@media (max-width: 767px) {
  .sticky-cta {
    height: 52px !important;
    border-radius: 999px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
    left: 0 !important;
    right: 0 !important;
    width: calc(100% - 40px) !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.22) !important;
  }
  /* нижний отступ страницы — чтобы кнопка не закрывала контент */
  body { padding-bottom: 96px !important; }
}

/* ============================================
   430px финальная компрессия
   ============================================ */
@media (max-width: 430px) {
  .hero-se__h1 {
    font-size: 34px !important;
    line-height: 1.0 !important;
  }
  .section-h,
  .program .section-h {
    font-size: clamp(26px, 7vw, 38px) !important;
    line-height: 1.28 !important;
  }
  .module-title { font-size: 18px !important; }
  .module-num { width: 46px !important; height: 46px !important; font-size: 14px !important; }
  .module summary { grid-template-columns: 46px 1fr 32px !important; padding: 18px 16px !important; gap: 12px !important; }
  .aud-card__title { font-size: 18px !important; }
}

/* ============================================
   VIP tier card
   ============================================ */
.tier--vip {
  background: linear-gradient(160deg, #3A1A1C 0%, #1D1B1A 100%);
  border: 1px solid rgba(254, 255, 85, 0.30);
  color: #FFFAF1;
  position: relative;
  overflow: visible;
}
.tier--vip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(254, 255, 85, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(129, 26, 25, 0.20), transparent 70%);
  pointer-events: none;
}
.tier--vip > * { position: relative; z-index: 1; }
/* бейдж VIP — оставляем абсолютным (как у Премиума), не ломаем общим правилом выше */
.tier--vip .tier-badge {
  position: absolute;
  z-index: 3;
}
.tier--vip .tier-name { color: var(--yellow); }
.tier--vip .tier-price { color: #FFFAF1; }
.tier--vip .tier-features li { color: rgba(255, 250, 241, 0.9); }
.tier--vip .tier-features .ic {
  background: rgba(254, 255, 85, 0.18);
  color: var(--yellow);
}
/* VIP-плашка идентична Премиум-плашке (.tier-badge), без отдельного оформления */

/* Кнопка VIP — жёлтая, выделена на тёмном фоне карточки */
.btn--vip {
  background: var(--yellow) !important;
  color: var(--ink) !important;
  border: none !important;
  box-shadow: 0 12px 30px -10px rgba(254, 255, 85, 0.55) !important;
  font-weight: 800;
}
.btn--vip:hover {
  background: #FFF89A !important;
  color: var(--ink) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(254, 255, 85, 0.7) !important;
}

/* ============================================
   Compare CTA — крупная кнопка под тарифами
   ============================================ */
.compare-cta {
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
}
.btn--compare {
  background: var(--sky);
  color: var(--ink);
  border: 1px solid rgba(29, 27, 26, 0.10);
  padding: 18px 36px;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(133, 171, 185, 0.25);
  min-width: 280px;
  text-align: center;
}
.btn--compare:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(133, 171, 185, 0.40);
}

/* ============================================
   Compare Modal
   ============================================ */
.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.compare-modal.is-open {
  display: flex;
}
.compare-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 27, 26, 0.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.compare-modal__panel {
  position: relative;
  background: #F8F3EA;
  border-radius: 24px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 8px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
  animation: compareIn 0.25s ease;
}
@keyframes compareIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.compare-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(29, 27, 26, 0.06);
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.2s ease;
  z-index: 2;
}
.compare-modal__close:hover { background: rgba(29, 27, 26, 0.14); }
.compare-modal__h {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 40px 8px 0;
}
.compare-modal__sub {
  font-family: var(--t-font);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(29, 27, 26, 0.65);
  margin: 0 0 20px;
  max-width: 640px;
}
.compare-modal__scroll {
  overflow: auto;
  flex: 1;
  margin: 0 -32px;
  padding: 0 32px 24px;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
  font-family: var(--t-font);
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  text-align: center;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(29, 27, 26, 0.08);
  color: var(--ink);
  vertical-align: middle;
}
.compare-table th {
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(29, 27, 26, 0.80);
  background: rgba(29, 27, 26, 0.04);
  position: sticky;
  top: 0;
}
.compare-table__feat {
  text-align: left !important;
  background: #F8F3EA !important;
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  font-size: 13.5px;
  color: rgba(29, 27, 26, 0.85);
  min-width: 180px;
}
.compare-table tbody tr:hover { background: rgba(133, 171, 185, 0.08); }
/* строка «Стоимость» — выделена */
.compare-table__price-row td {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 16px;
  border-top: 2px solid rgba(29, 27, 26, 0.14);
  padding-top: 18px;
  padding-bottom: 18px;
}
.compare-table__price-row td:first-child { font-size: 14px; }
.compare-table__vip {
  background: var(--yellow) !important;
  color: var(--ink) !important;
}
.compare-table td:nth-child(5) {
  background: rgba(254, 255, 85, 0.10);
  font-weight: 600;
}

/* ============================================
   Installment v2 — обновлённый блок
   ============================================ */
.installment--v2 {
  margin: 56px auto 0;
  max-width: 720px;
  padding: 32px 32px 30px;
  background: linear-gradient(165deg, #fff 0%, var(--paper-3) 100%);
  border-radius: 26px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 14px 40px -22px rgba(0,0,0,0.22);
  display: block;
}
.installment--v2 .installment__main { text-align: left; max-width: 100%; margin: 0 0 22px; }
.installment--v2 .installment__name {
  display: inline-block;
  font-family: var(--mono-font, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 10px;
}
.installment--v2 .installment__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.installment--v2 .installment__title em {
  font-style: normal;
  color: var(--bordo);
}
.installment--v2 .installment__sub {
  color: rgba(29, 27, 26, 0.65);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
/* ===== shadcn-style Tabs (рассрочка) ===== */
.pay-tabs { margin-bottom: 22px; }
/* TabsList — сегментированный контрол */
.pay-tabs__list {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  padding: 4px;
  background: rgba(29, 27, 26, 0.06);
  border-radius: 14px;
  margin-bottom: 16px;
}
.pay-tabs__trigger {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  font-family: var(--t-font);
  font-weight: 600;
  font-size: 14px;
  color: rgba(29, 27, 26, 0.6);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pay-tabs__trigger:hover { color: var(--ink); }
.pay-tabs__trigger.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
}
.pay-tabs__trigger:focus-visible { outline: 2px solid var(--bordo); outline-offset: 2px; }
/* TabsContent / Card */
.pay-tabs__panel[hidden] { display: none; }
.pay-tabs__panel { animation: payFade 0.25s ease; }
@keyframes payFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pay-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 4px 16px -8px rgba(0,0,0,0.12);
}
.pay-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.pay-card__pill {
  font-family: var(--t-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 999px;
}
.pay-card__h {
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
}
.pay-card__p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(29, 27, 26, 0.7);
  margin: 0 0 16px;
}
.pay-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pay-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(29, 27, 26, 0.82);
  line-height: 1.3;
}
.pay-card__ic {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(133, 171, 185, 0.22);
  color: var(--sky-2, #4a7d8c);
}
.pay-card__ic svg { width: 13px; height: 13px; }

.installment__final {
  text-align: left;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(29, 27, 26, 0.62);
  max-width: 100%;
  margin: 0 0 20px;
}
.installment__btn {
  display: inline-flex;
  margin: 0;
  width: fit-content;
}

/* ============================================
   MOBILE — tiers + compare + modal
   ============================================ */
@media (max-width: 767px) {
  .tier--vip { padding: 32px 22px; }
  .btn--compare {
    width: 100%;
    min-width: 0;
    padding: 16px 22px;
    font-size: 14px;
  }
  .compare-modal { padding: 12px; }
  .compare-modal__panel {
    padding: 24px 18px 8px;
    border-radius: 20px;
    max-height: 92vh;
  }
  .compare-modal__h { font-size: 20px; margin-right: 44px; }
  .compare-modal__sub { font-size: 13px; }
  .compare-modal__scroll { margin: 0 -18px; padding: 0 18px 16px; }
  .compare-table {
    min-width: 580px;
    font-size: 12.5px;
  }
  .compare-table th,
  .compare-table td { padding: 10px 8px; }
  .compare-table td:first-child { font-size: 12px; min-width: 140px; }
  .installment--v2 { padding: 28px 20px; margin-top: 40px; }
  .installment--v2 .installment__title { font-size: 22px !important; }
  .installment__opt { padding: 18px; }
  .installment__opt-h { font-size: 16px; }
}

/* ============================================
   MAGIC UI — Border Beam (тарифы Премиум/VIP)
   ============================================ */
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes beamSpin { to { --beam-angle: 360deg; } }
.border-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;               /* толщина луча-рамки */
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0deg,
    transparent 300deg,
    var(--beam-from, #FFF89A) 335deg,
    var(--beam-to, #FFF278) 350deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: beamSpin 5s linear infinite;
}
.border-beam--vip {
  --beam-from: #D2E4EB;
  --beam-to: #FFF278;
  animation-duration: 6s;
}
@media (prefers-reduced-motion: reduce) {
  .border-beam { animation: none; }
}

/* ============================================
   MAGIC UI — Shimmer (главные CTA)
   ============================================ */
.shimmer { position: relative; overflow: hidden; isolation: isolate; }
.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.05) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
  animation: shimmerSweep 3.4s ease-in-out infinite;
}
@keyframes shimmerSweep {
  0%   { left: -160%; }
  55%  { left: 160%; }
  100% { left: 160%; }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer::after { animation: none; display: none; }
}

/* ============================================
   MAGIC UI — Number Ticker (статистика)
   ============================================ */
.stat-num[data-ticker] { font-variant-numeric: tabular-nums; }

/* ============================================
   FLOWBITE — Rating stars (отзывы)
   ============================================ */
.testi-stars {
  font-size: 15px;
  letter-spacing: 2px;
  color: #FFC34D;
  margin-bottom: 14px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.testi-card-v2.is-accent .testi-stars,
.testi-card-v2.is-featured .testi-stars { color: var(--yellow); }

/* ============================================
   MAGIC UI — Avatar Circles (соцдоказательство)
   ============================================ */
.avatar-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px auto 32px;
}
.avatar-circles { display: flex; }
.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  border: 2.5px solid var(--paper, #F8F3EA);
  margin-left: -12px;
  background: linear-gradient(145deg, var(--sky-2, #85ABB9), var(--bordo));
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.25);
  position: relative;
}
.avatar-circle:first-child { margin-left: 0; }
.avatar-circle:nth-child(2) { background: linear-gradient(145deg, #C9A24B, var(--bordo)); }
.avatar-circle:nth-child(3) { background: linear-gradient(145deg, var(--bordo), #4a2a2a); }
.avatar-circle:nth-child(4) { background: linear-gradient(145deg, var(--sky-2, #85ABB9), #3E6675); }
.avatar-circle:nth-child(5) { background: linear-gradient(145deg, #C97A2B, var(--bordo)); }
.avatar-circle--more {
  background: var(--ink) !important;
  color: var(--yellow);
  font-size: 12px;
  z-index: 2;
}
.avatar-proof__text {
  margin: 0;
  font-size: 14px;
  color: rgba(29,27,26,0.7);
  line-height: 1.4;
}
.avatar-proof__text strong { color: var(--ink); font-weight: 700; }
/* мобайл: круги и текст — по левому краю, на одной вертикальной линии (как заголовок) */
@media (max-width: 767px) {
  .avatar-proof {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin: 4px 0 22px;
    padding: 0 16px;
  }
  .avatar-proof__text { text-align: left; }
}

/* ============================================
   MAGIC UI — Word Rotate (hero tagline)
   ============================================ */
.word-rotate {
  display: inline-block;
  position: relative;
  color: var(--yellow);
  font-weight: 700;
  white-space: nowrap;
}
.word-rotate__item {
  display: inline-block;
  animation: wordRotateIn 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes wordRotateIn {
  from { opacity: 0; transform: translateY(0.5em); }
  to   { opacity: 1; transform: none; }
}
@keyframes wordRotateOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-0.5em); }
}
.word-rotate__item.is-leaving { animation: wordRotateOut 0.35s cubic-bezier(0.32, 0.72, 0, 1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .word-rotate__item { animation: none; }
}

/* ============================================
   ФОРМАТ КУРСА — горизонтальный слайдер карточек
   ============================================ */
.format { overflow: hidden; }
.format-track {
  display: flex;
  align-items: stretch;   /* все карточки одной высоты — ровно и сбалансированно */
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100% - var(--maxw, 1320px)) / 2));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px max(24px, calc((100% - var(--maxw, 1320px)) / 2)) 20px;
  margin-top: 36px;
}
.format-track::-webkit-scrollbar { display: none; }

.fmt-card {
  flex: 0 0 auto;
  width: 340px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 27, 26, 0.08);
  box-shadow: 0 18px 44px -26px rgba(0,0,0,0.25);
}
.fmt-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.fmt-card__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.fmt-card__text {
  font-family: var(--t-font);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(29, 27, 26, 0.76);
  margin: 0;
}

/* ----- цветовые варианты ----- */
.fmt-card--sky   { background: var(--sky, #D2E4EB); }
.fmt-card--paper { background: #fff; }
.fmt-card--milk  { background: #FFF8DC; }
.fmt-card--navy  { background: #2A3A44; border-color: rgba(255,255,255,0.08); }
.fmt-card--bordo { background: var(--bordo); border-color: rgba(255,255,255,0.10); }
/* тёмные карточки — светлый текст */
.fmt-card--navy .fmt-card__title,
.fmt-card--bordo .fmt-card__title { color: #fff; }
.fmt-card--navy .fmt-card__text,
.fmt-card--bordo .fmt-card__text { color: rgba(255,255,255,0.82); }

/* ----- медиа-превью (стилизованные мок-скрины) ----- */
.fmt-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* видео-превью в карточке формата */
.fmt-card__media--video { background: #11100f; }
.fmt-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ КЕЙСЫ УЧЕНИКОВ ============ */
.cases__hint { display: inline-block; font-size: 13px; color: var(--bordo); font-weight: 700; margin-left: 6px; }
@media (min-width: 768px) {
  .cases__hint { display: none; }
  .cases > .wrap {
    max-width: none;
    padding-left: max(24px, calc((100% - var(--maxw)) / 2));
    padding-right: max(24px, calc((100% - var(--maxw)) / 2));
  }
  /* заголовок и подзаголовок кейсов — по центру блока */
  .cases-head { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; }
  .cases-head .eyebrow { justify-content: center; align-self: center; }
  .cases-head .section-h { text-align: center; margin-left: auto; margin-right: auto; }
  .cases-head .section-sub { margin: 10px auto 0; text-align: center; }
}
.cases-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100% - var(--maxw, 1320px)) / 2));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px max(24px, calc((100% - var(--maxw, 1320px)) / 2)) 24px;
  margin-top: 36px;
}
.cases-track::-webkit-scrollbar { display: none; }
.case {
  flex: 0 0 330px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--paper-3);
  border: 1px solid rgba(29, 27, 26, 0.08);
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 38px -24px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.28); }
.case:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.case__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e2d6; }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.case:hover .case__img img { transform: scale(1.06); }
/* затемнение снизу фото, чтобы читался результат */
.case__img::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 8, 10, 0.9) 0%, rgba(18, 8, 10, 0.5) 24%, rgba(18, 8, 10, 0) 52%);
}
/* результат — крупно поверх фото */
.case__result {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 16px 16px 14px;
  font-family: var(--h-font); font-weight: 800;
  font-size: clamp(16px, 1.45vw, 20px); line-height: 1.16; letter-spacing: -0.01em;
  color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.case__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case__name {
  margin-top: auto; padding-top: 6px;
  font-family: var(--h-font); font-weight: 800; font-size: 16px;
  letter-spacing: -0.01em; color: var(--ink);
}
@media (max-width: 767px) {
  .cases-track { gap: 14px; padding: 6px 18px 18px; margin-top: 24px; scroll-padding-left: 18px; }
  .case { flex: 0 0 76vw; max-width: 300px; border-radius: 22px; }
  /* фото ниже — чтобы карточка влезала на экран */
  .case__img { aspect-ratio: 3 / 2; height: auto; }
  .case__img img { object-position: center; }
  .case__body { padding: 16px 18px 18px; gap: 9px; }
  .case__result { font-size: 15.5px; padding: 13px 14px 12px; }
  .case__name { font-size: 15px; }
}

/* ----- мобайл — карточки уже, следующая выглядывает ----- */
@media (max-width: 767px) {
  .format-track {
    gap: 14px;
    padding: 6px 18px 18px;
    margin-top: 26px;
    scroll-padding-left: 18px;
  }
  .fmt-card { width: 82vw; max-width: 320px; }
  .fmt-card__media { aspect-ratio: 16 / 9; height: auto; }
  .fmt-card__title { font-size: 23px; }
}
/* десктоп — заголовок не гигантский */
@media (min-width: 768px) {
  .format .section-h { font-size: clamp(34px, 4vw, 52px); }
}

/* ============================================
   О ЧЁМ КУРС — заголовок + текст + плашки-скаттер
   ============================================ */
.about-course { padding: clamp(56px, 9vw, 118px) 0 clamp(36px, 6vw, 72px); text-align: center; overflow: hidden; }
.about-course__wrap { max-width: 880px; }
.oc-label {
  display: inline-block;
  font-family: var(--mono-font, "JetBrains Mono", monospace);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(29, 27, 26, 0.45);
  margin: 0 0 16px;
}
.oc-title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.3;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-transform: none;
  margin: 0 0 clamp(20px, 3vw, 30px);
}
.oc-title em {
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--bordo);
  background: #F8EDAE;
  border: 2px solid #E3CC66;
  padding: 0.08em 0.44em 0.16em;
  border-radius: 0.6em;
  letter-spacing: 0;
  text-transform: none;
}
.oc-body { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; text-align: justify; }
.oc-body p {
  font-family: var(--t-font);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  text-align: justify;
  text-align-last: left;
}
.oc-body p:first-child { color: var(--ink); font-weight: 500; }
.oc-body em {
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  background: none;
}
/* таб сидит на верхней кромке карточки, справа, с лёгким перекрытием (без шва) */
.oc-folder__tab {
  position: absolute;
  bottom: calc(100% - 1px);
  right: 0;
  width: clamp(170px, 44%, 320px);
  height: clamp(28px, 3vw, 36px);
  background: var(--bordo);
  border-radius: clamp(14px, 1.6vw, 18px) clamp(22px, 2.6vw, 30px) 0 0;
}
.oc-pill {
  position: absolute;
  white-space: nowrap;
  font-family: var(--t-font);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 22px -14px rgba(0,0,0,0.3);
  transform:
    translate(calc(var(--cx, 0px) * (1 - var(--p))), calc(var(--cy, 0px) * (1 - var(--p))))
    rotate(calc(var(--cr, 0deg) * (1 - var(--p))));
  transition: transform 0.12s linear;
  will-change: transform;
}
/* финальные (распределённые) позиции — desktop */
.oc-pill:nth-child(1) { left: 3%;  top: 28px; }
.oc-pill:nth-child(2) { left: 40%; top: 4px; }
.oc-pill:nth-child(3) { left: 66%; top: 30px; }
.oc-pill:nth-child(4) { left: 10%; top: 128px; }
.oc-pill:nth-child(5) { left: 42%; top: 110px; }
.oc-pill:nth-child(6) { left: 73%; top: 140px; }
.oc-pill:nth-child(7) { left: 16%; top: 230px; }
.oc-pill:nth-child(8) { left: 47%; top: 248px; }
.oc-pill:nth-child(9) { left: 70%; top: 250px; }

@media (prefers-reduced-motion: reduce) {
  .oc-pill { transition: none; }
}

/* ----- мобайл: спокойные ряды, без скаттера и горизонт. скролла ----- */
@media (max-width: 767px) {
  .about-course { text-align: left; }
  .about-course__wrap { max-width: 100%; }
  .oc-label { margin-bottom: 12px; }
  .oc-title { font-size: clamp(26px, 7vw, 38px); text-align: left; }
  .oc-body { margin: 0; text-align: left; }
  .oc-body p { text-align: left; text-align-last: left; }
  /* карточка-папка на мобайле — во всю ширину, текст слева */
  .oc-folder { max-width: 100%; margin-top: 38px; padding: 22px 18px; border-radius: 18px 0 18px 18px; }
  .oc-folder p { text-align: left; text-align-last: left; font-size: 15px; }
  .oc-folder__tab { right: 0; width: clamp(140px, 52%, 220px); height: 24px; border-radius: 12px 18px 0 0; }
  .oc-folder__tab::before { left: -14px; bottom: 1px; width: 14px; height: 14px; background: radial-gradient(circle at top left, transparent 13.5px, var(--bordo) 14px); }
  /* плашки выложены flex-рядами (не вылетают за экран, нет горизонт. скролла)
     и плавно опускаются по мере скролла — прогресс --p приходит из JS */
  .oc-pills {
    position: static !important;
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 9px;
    margin-top: 36px;
    overflow: visible;
  }
  .oc-pill {
    position: static !important;
    font-size: 14px;
    padding: 11px 17px;
    opacity: clamp(0, calc(var(--p, 0) * 1.6 - 0.15), 1);
    /* выраженный спуск: при p=0 — собраны выше и ближе к центру, чуть меньше;
       при p=1 — опускаются и расходятся по своим местам в полную величину */
    transform:
      translate(calc(var(--oc-dx, 0px) * (1 - var(--p, 0))), calc(var(--oc-rise, -48px) * (1 - var(--p, 0))))
      scale(calc(0.82 + 0.18 * var(--p, 0)));
    transition: transform 0.22s cubic-bezier(0.22, 0.7, 0.3, 1), opacity 0.22s linear;
    will-change: transform, opacity;
    animation: none !important;
  }
  /* каскад: стартовая высота + сбор к центру (расходятся при опускании) */
  .oc-pill:nth-child(1){ --oc-rise: -38px; --oc-dx:  24px; }
  .oc-pill:nth-child(2){ --oc-rise: -50px; --oc-dx:   8px; }
  .oc-pill:nth-child(3){ --oc-rise: -44px; --oc-dx: -24px; }
  .oc-pill:nth-child(4){ --oc-rise: -58px; --oc-dx:  28px; }
  .oc-pill:nth-child(5){ --oc-rise: -52px; --oc-dx:  -8px; }
  .oc-pill:nth-child(6){ --oc-rise: -62px; --oc-dx: -26px; }
  .oc-pill:nth-child(7){ --oc-rise: -66px; --oc-dx:  26px; }
  .oc-pill:nth-child(8){ --oc-rise: -56px; --oc-dx:   8px; }
  .oc-pill:nth-child(9){ --oc-rise: -60px; --oc-dx: -22px; }
}
/* reduced-motion / без скролла — гарантированно видимы */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .oc-pill { opacity: 1 !important; transform: none !important; }
}
@keyframes ocPillIn { from { opacity: 0; transform: translateY(22px) scale(0.94); } to { opacity: 1; transform: none; } }

/* ============================================
   Заголовок «Программа курса» на светлом
   ============================================ */
.program-intro {
  text-align: center;
  padding: clamp(48px, 7vw, 92px) 0 clamp(22px, 4vw, 40px);
}
.program-intro__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0;
}
.program-intro__title em { font-style: normal; color: var(--bordo); }
@media (max-width: 767px) {
  .program-intro { text-align: left; padding-left: 18px; padding-right: 18px; }
  .program-intro__title { font-size: clamp(26px, 7vw, 38px); }
}

/* ============================================
   COMPARE — «Сколько стоит делать всё это отдельно»
   ============================================ */
.compare { padding: clamp(16px, 2vw, 24px) 0; }
.compare .section-head--center { margin-bottom: clamp(10px, 1.2vw, 14px); }
.compare .section-h { margin: 6px 0 8px !important; }
.compare .section-sub { font-size: clamp(14px, 1.2vw, 16px); line-height: 1.45; max-width: 600px; margin-top: 0 !important; }
.cmp-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.9vw, 12px);
  max-width: 1080px;
}
.cmp-row { display: flex; flex-direction: column; gap: 4px; }
.cmp-row__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cmp-row__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}
.cmp-row__label {
  font-family: var(--t-font);
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.cmp-row__track {
  width: 100%;
  height: clamp(36px, 3.2vw, 42px);
  background: rgba(29, 27, 26, 0.06);
  border-radius: clamp(10px, 1.2vw, 14px);
  overflow: hidden;
  position: relative;
}
.cmp-row__bar {
  height: 100%;
  width: var(--w, 50%);
  min-width: clamp(120px, 13vw, 160px);
  background: linear-gradient(135deg, #2A1316 0%, #1D1B1A 100%);
  border-radius: inherit;
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 1.8vw, 22px);
  color: #FBEFE0;
  /* анимация роста при попадании в viewport (старт ширины 0) */
  --bar-w: var(--w, 50%);
  width: 0;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.cmp-list.is-visible .cmp-row__bar,
.reveal.is-visible .cmp-row__bar { width: var(--bar-w); }
/* варианты: курс — бордовый, max — глубокий чёрно-бордовый */
.cmp-row--course .cmp-row__bar {
  background: linear-gradient(135deg, var(--bordo) 0%, #5C1213 100%);
}
.cmp-row--max .cmp-row__bar {
  background: linear-gradient(135deg, #2A1316 0%, #0C0B0A 100%);
}
.cmp-row__price {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}
/* reduce-motion: показать сразу */
@media (prefers-reduced-motion: reduce) {
  .cmp-row__bar { transition: none; width: var(--bar-w); }
}
/* ----- mobile ----- */
@media (max-width: 767px) {
  .compare { padding: 20px 0; }
  .compare .section-head,
  .compare .section-head--center { text-align: left !important; padding: 0 16px; }
  .compare .section-head .section-h,
  .compare .section-head--center .section-h { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
  .compare .section-sub { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; font-size: 14px; line-height: 1.45; }
  .compare .eyebrow { justify-content: flex-start; align-self: flex-start; }
  .compare .section-head--center { margin-bottom: 14px; }
  .cmp-list { gap: 8px; padding: 0 16px; }
  .cmp-row { gap: 3px; }
  .cmp-row__head { gap: 8px; }
  .cmp-row__track { height: 38px; border-radius: 12px; }
  /* min-width убран, чтобы width-анимация работала от 0 — короткие полосы не «прыгают» к min */
  .cmp-row__bar { min-width: 0; padding: 0 12px; border-radius: 12px; }
  .cmp-row__price { font-size: 13.5px; }
  .cmp-row__label { font-size: 13px; }
  .cmp-row__badge { font-size: 9.5px; padding: 2px 7px 3px; margin-left: 0; }
}

/* ============================================
   TIERS — новая цена + старая зачёркнутая + скидка
   ============================================ */
.tier-pricebox {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}
.tier-pricebox__col { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.tier .tier-price {
  /* новая цена — основная, использует существующий .tier-price размер */
  margin: 0 !important;
}
/* Бизнес — голубой фон, ink читаемый */
.tier--sky .tier-price-old { color: rgba(29, 27, 26, 0.5); }

/* ============================================
   TIER ACTIONS — 3 кнопки в карточке тарифа
   ============================================ */
.tier-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.tier-actions .btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 14px;
}
.tier-actions .btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(29, 27, 26, 0.15);
  box-shadow: none;
}
.tier-actions .btn--ghost:hover {
  background: rgba(29, 27, 26, 0.06);
  border-color: rgba(29, 27, 26, 0.3);
}
.tier--sky .tier-actions .btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(29, 27, 26, 0.18);
}
/* Премиум и VIP — тёмный фон, нужна светлая кнопка */
.tier-best .tier-actions .btn--ghost,
.tier--vip .tier-actions .btn--ghost {
  background: transparent;
  color: #FBEFE0;
  border-color: rgba(255, 250, 241, 0.3);
}
.tier-best .tier-actions .btn--ghost:hover,
.tier--vip .tier-actions .btn--ghost:hover {
  background: rgba(255, 250, 241, 0.1);
  border-color: rgba(255, 250, 241, 0.5);
  color: #fff;
}

/* ============================================
   HALF-PAYMENT MODAL
   ============================================ */
.half-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px) 16px;
  overflow-y: auto;
}
.half-modal.is-open { display: flex; }
.half-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 12, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.half-modal__panel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: var(--paper-3, #FBF6EC);
  border-radius: clamp(20px, 2vw, 28px);
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.35);
  animation: halfModalIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes halfModalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.half-modal__close {
  position: sticky;
  top: 8px;
  z-index: 10;
  margin-left: auto;
  margin-bottom: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(29, 27, 26, 0.12);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.half-modal__close:hover { background: var(--bordo); color: #fff; transform: rotate(90deg); }
.half-modal__head { text-align: center; margin-bottom: clamp(24px, 3vw, 36px); }
.half-modal__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
}
.half-modal__sub {
  font-family: var(--t-font);
  font-size: clamp(14px, 1.2vw, 16px);
  color: rgba(29, 27, 26, 0.65);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}
.half-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 1024px) { .half-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.half-tier {
  position: relative;
  background: var(--paper-3, #FBF6EC);
  border: 1px solid rgba(29, 27, 26, 0.08);
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.half-tier--best {
  background: var(--ink);
  color: var(--paper-3);
  border: 2px solid var(--yellow);
  box-shadow: 0 24px 60px -28px rgba(254, 255, 85, 0.4);
}
.half-tier--best .half-tier__name { color: var(--paper-3); }
.half-tier--best .tier-price { color: var(--yellow); }
.half-tier--best .tier-features li { color: rgba(255, 250, 241, 0.85); border-top-color: rgba(255, 255, 255, 0.08); }
.half-tier--best .tier-features .ic { background: var(--yellow); color: var(--ink); }
.half-tier--best .btn { background: var(--yellow); color: var(--ink); }
.half-tier--best .btn--ghost { background: transparent; color: #FBEFE0; border-color: rgba(255, 250, 241, 0.3); }
.half-tier--sky {
  background: var(--sky);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.half-tier--sky .half-tier__name,
.half-tier--sky .tier-price { color: var(--ink); }
.half-tier--sky .tier-features li { color: #2b2b2b; }
.half-tier--sky .tier-features .ic { background: var(--ink); color: var(--sky); }
.half-tier--sky .btn { background: var(--ink); color: var(--sky); }
.half-tier--sky .btn--ghost { background: transparent; color: var(--ink); border-color: rgba(29, 27, 26, 0.18); }
.half-tier--vip {
  background: linear-gradient(160deg, #3A1A1C 0%, #1D1B1A 100%);
  color: #FBEFE0;
  border-color: transparent;
}
.half-tier--vip .tier-price { color: #fff; }
/* модалка: плашка как у главных карточек, по центру, широкая */
.half-tier .tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
  width: max-content;
  max-width: none;
  box-shadow: 0 6px 16px rgba(254, 255, 85, 0.3);
}
.half-tier--vip .tier-badge { background: var(--yellow); color: var(--ink); }
/* список фич в модалке — как у главных тарифов */
.half-tier .tier-features {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.half-tier .tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--t-font);
  font-size: 13px;
  line-height: 1.4;
  color: inherit;
}
.half-tier .tier-features .ic {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bordo);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.half-tier .tier-features .ic svg { width: 10px; height: 10px; }
.half-tier--best .tier-features .ic,
.half-tier--vip .tier-features .ic { background: var(--yellow); color: var(--bordo); }
.half-tier__name {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0;
  color: inherit;
}
.half-tier .tier-pricebox { margin: 0; gap: 10px; }
.half-tier .tier-price {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(28px, 2.8vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: inherit;
  margin: 0;
}
.half-tier__actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.half-tier__actions .btn {
  width: 100%;
  justify-content: center;
  font-size: 13.5px;
  padding: 11px 16px;
  border-radius: 12px;
}
.half-tier__actions .btn--ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid rgba(29, 27, 26, 0.18);
  box-shadow: none;
}
.half-tier--vip .btn--ghost { border-color: rgba(255, 250, 241, 0.25); color: #FBEFE0; }
.half-modal__note {
  margin: clamp(20px, 2.4vw, 28px) auto 0;
  text-align: center;
  font-family: var(--t-font);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(29, 27, 26, 0.65);
}
body.is-modal-open { overflow: hidden; }

/* ============================================
   MOBILE — увеличенные отступы между секциями
   ============================================ */
@media (max-width: 767px) {
  /* больше воздуха между основными блоками — комфортнее читать */
  .section { padding-top: clamp(40px, 8vw, 56px); padding-bottom: clamp(40px, 8vw, 56px); }
  .tier-actions { gap: 7px; padding-top: 10px; }
  .tier-actions .btn { font-size: 13.5px; padding: 11px 14px; }
  .tier-pricebox { gap: 10px; }
  .tier-discount-note { font-size: 11.5px; max-width: 130px; padding-bottom: 6px; }
  .tier-price-old { font-size: 14px; }
  /* модалка на мобиле */
  .half-modal { padding: 12px 12px 24px; align-items: stretch; }
  .half-modal__panel { padding: 18px 16px 22px; overflow-y: auto; max-height: 90vh; }
  .half-modal__title { font-size: 20px; padding-right: 48px; }
  .half-modal__sub { font-size: 13.5px; }
  .half-tiers { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .half-tier { padding: 20px 16px; gap: 14px; }
  .half-tier .tier-price { font-size: 28px; }
  .half-modal__note { font-size: 13px; }
}

/* ============================================
   COUNTDOWN — счётчик скидки 30%
   ============================================ */
.countdown { padding: clamp(28px, 4vw, 48px) 0 0; }
.cd-panel {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2A1316 0%, #1D1B1A 100%);
  border-radius: clamp(22px, 2.4vw, 32px);
  padding: clamp(26px, 3.4vw, 44px) clamp(22px, 3vw, 40px);
  color: #FBEFE0;
  overflow: hidden;
  box-shadow: 0 32px 70px -28px rgba(129, 26, 25, 0.45);
}
.cd-panel::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 60%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(255, 242, 120, 0.18), transparent 70%);
  pointer-events: none;
}
.cd-panel__head {
  position: relative;
  text-align: center;
  margin-bottom: clamp(20px, 2.6vw, 32px);
}
.cd-eyebrow {
  display: inline-block;
  font-family: var(--h-font);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow, #FFF278);
  padding: 7px 16px;
  border: 1px solid rgba(255, 242, 120, 0.35);
  border-radius: 999px;
  margin-bottom: 16px;
}
.cd-panel__title {
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #fff;
  text-align: center;
}
/* "−30%" в жёлтой капсуле — в едином стиле сайта (как «курса», «10 недель») */
.cd-panel__title em {
  display: inline-block;
  vertical-align: baseline;
  line-height: 1;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--bordo);
  background: #F8EDAE;
  border: 2px solid #E3CC66;
  padding: 0.08em 0.4em 0.16em;
  border-radius: 0.55em;
  letter-spacing: 0;
  text-transform: none;
}
/* решётка цифр */
.cd-grid {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 14px);
  flex-wrap: nowrap;
}
.cd-cell {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 250, 241, 0.06);
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: clamp(12px, 1.4vw, 18px);
  padding: clamp(12px, 1.6vw, 22px) clamp(8px, 1.4vw, 18px);
  backdrop-filter: blur(8px);
}
.cd-num {
  display: block;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.cd-num.is-flip { transform: translateY(-12px); opacity: 0; }
.cd-lbl {
  margin-top: 8px;
  font-family: var(--t-font);
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(255, 250, 241, 0.6);
}
.cd-sep {
  display: grid;
  place-items: center;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  color: rgba(255, 250, 241, 0.35);
  line-height: 1;
  align-self: center;
  height: clamp(60px, 8vw, 100px);
}

.tier-pricebox { position: relative; }
/* усиленная перечёркнутая цена — крупнее, заметнее */
.tier-price-old {
  font-size: clamp(17px, 1.6vw, 20px) !important;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--bordo);
  opacity: 0.85;
}

/* ----- mobile ----- */
@media (max-width: 767px) {
  .countdown { padding: 20px 16px 0; }
  .cd-panel { padding: 22px 18px; border-radius: 20px; }
  .cd-panel__head { gap: 14px; margin-bottom: 18px; }
  .cd-badge { width: 56px; height: 56px; font-size: 16px; }
  .cd-panel__title { font-size: 20px; }
  .cd-panel__sub { font-size: 13px; }
  .cd-grid { gap: 6px; }
  .cd-cell { padding: 10px 4px; border-radius: 12px; }
  .cd-num { font-size: 28px; }
  .cd-lbl { font-size: 9.5px; margin-top: 4px; letter-spacing: 0.04em; }
  .cd-sep { font-size: 22px; height: 70px; }
  .tier-price-old { font-size: 16px !important; }
}

/* ====== Bonus module (Premium / Business / VIP) ====== */
.module--bonus {
  background: linear-gradient(160deg, rgba(254,255,85,0.06) 0%, rgba(254,255,85,0.02) 60%, transparent 100%);
  border: 1px solid rgba(254,255,85,0.35);
  box-shadow: 0 0 0 1px rgba(254,255,85,0.08) inset, 0 18px 40px -20px rgba(254,255,85,0.25);
}
.module--bonus summary { position: relative; }
.module-title-sub {
  display: block;
  font-family: var(--t-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.85;
  margin-top: 6px;
}
@media (min-width: 768px) {
  .module-title-sub { font-size: 12px; }
}
.module--bonus .module-toggle { color: var(--yellow); }
.module__body--bonus { display: block !important; padding: 0 20px 24px; }
@media (min-width: 980px) { .module__body--bonus { padding: 0 0 32px; } }
.module-content--bonus-wide { grid-column: 1 / -1; max-width: 100%; }
@media (min-width: 980px) {
  .module-content--bonus-wide { padding: 24px 40px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .module-content--bonus-wide > div:first-child { grid-column: 1 / -1; }
  .module-content--bonus-wide .module-result { grid-column: 1 / -1; }
}

.avatar-circle--img { padding: 0 !important; overflow: hidden; background: #fff; }
.avatar-circle--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ «ЛАБОРАТОРИЯ ДИЗАЙНА» — переопределения ============ */

/* Мобайл: своё вертикальное видео + только красная кнопка (без заголовка/лида/плашек) */
@media (max-width: 767px) {
  .hero--scrub .hero-scrub__title,
  .hero--scrub .hero-scrub__lead,
  .hero--scrub .hero-scrub__facts { display: none !important; }
  .hero-scrub__video--web { display: none !important; }
  .hero-scrub__video--mob {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Мобайл: вместо старой PNG-картинки — живая сетка бонусов */
  .about-mobile-img { display: none !important; }
  .about-fg { display: grid !important; }
}

/* DIN Condensed — только для цифр/цен/номеров (кириллицы в шрифте нет) */
.tier-price,
.cd-num,
.module-num,
.fg-card__num,
.fg-wide__num,
.carousel-nav button,
.program-timeline__dot {
  font-family: var(--num-font);
  font-weight: 700;
}

/* ============ ПРАВИЛА ШРИФТОВ (10.07.2026) ============
   «Заголовок» (LabHeading): только ПРОПИСНЫЕ, letter-spacing 0–1%, line-height 90%.
   Селекторы удвоены (.x.x), чтобы перебить мобильный блок «единой системы заголовков» */
.section-h.section-h, .oc-title.oc-title, .program-intro__title.program-intro__title,
.cd-panel__title.cd-panel__title, .fg-hero__h.fg-hero__h, .fg-card__h.fg-card__h,
.fg-wide__h.fg-wide__h, .carousel-title.carousel-title, .fmt-card__title.fmt-card__title,
.aud-card__title.aud-card__title, .tier-name.tier-name, .half-tier__name.half-tier__name,
.installment__title.installment__title, .corp__title.corp__title,
.cta-help__txt h3, .socials-block__h.socials-block__h,
.compare-modal__h.compare-modal__h, .half-modal__title.half-modal__title,
.module-title.module-title, .hero-scrub__title.hero-scrub__title {
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  line-height: 0.9 !important;
}
@media (max-width: 767px) {
  /* на мобиле чуть воздушнее, но в пределах духа правил */
  .section-h.section-h, .module-title.module-title, .aud-card__title.aud-card__title {
    line-height: 0.95 !important;
  }
}
/* em-акценты внутри заголовков — тем же шрифтом, тоже прописные */
.section-h em, .oc-title em, .cd-panel__title em, .program-intro__title em,
.fg-hero__h em, .aud-card__title em, .installment__title em, .corp__title em,
.cta-help__txt h3 em, .socials-block__h em {
  text-transform: uppercase;
  line-height: 1;
}

/* «Дополнительный» (TT Bluescreens): акцентные фрагменты длиннее 5–6 слов — ТОЛЬКО ПРОПИСНЫЕ.
   (из hero-лида убран по просьбе пользователя — там читаемый основной шрифт) */
.oc-folder p,
.module-result-preview {
  font-family: var(--accent-font) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
}

/* ============ LETTER-SPACING 0–1% для ВСЕХ элементов на «Заголовке» и «Дополнительном» ============
   (старые значения −5%…+14% остались от прежнего шрифта Unbounded — приводим к правилам) */
.brand-logo, .brand-logo .dot, .mobile-nav__brand,
.header-nav a, .mobile-nav__list a,
.hero-scrub__ai, .hero-scrub__ai-sub, .hero-fact b, .hero-fact__val, .hero-scrub__buy,
.marquee__track span,
.oc-label, .oc-pill,
.carousel-badge, .carousel-nav button, .carousel-progress,
.cmp-row__label, .cmp-row__price,
.fg-hero__eyebrow, .fg-card__num, .fg-wide__num,
.aud-card__tag, .aud-slider__count,
.feat-card__h, .feat-card__h .ticker, .feat-card__h em, .feat-tag, .feat-pill__txt b, .feat-bigtag b,
.fmt-card__title,
.program-timeline__name, .program-timeline__meta, .program-timeline__dot,
.module-num, .module-section, .module-preview__lbl, .module-title-sub,
.m-chip, .module-result-preview,
.case__result, .case__name, .cases__hint,
.testi-card-v2__result-sm, .testi-card-v2__result-sm span, .testi-card-v2__name, .avatar-circle--more,
.cd-eyebrow, .cd-num, .cd-lbl,
.tier-price, .tier-badge, .tier-installment-line, .tier-feat-label,
.installment__name, .pay-tabs__trigger, .pay-card__pill,
.corp__eyebrow, .eyebrow,
.compare-table th, .compare-table__price-row td,
.faq-item summary,
.btn, .sticky-cta, .consult__pill,
.social-card b {
  letter-spacing: 0.01em !important;
}

/* ============ ПРАВКИ ПО АУДИТУ ТИПОГРАФИКИ (10.07.2026) ============ */

/* 1. «Заголовок» — добираем прописные там, где остались строчные */
.marquee__track span,
.case__name, .case__result,
.pay-card__h,
.testi-card-v2__name,
.testi-card-v2__result-sm, .testi-card-v2__result-sm span,
.mobile-nav__list a span {
  text-transform: uppercase !important;
}
/* Вопросы FAQ — длинные предложения: по правилам не «Заголовком», а «Основным» полужирным */
.faq-item summary {
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

/* 4. Иерархия на мобиле: заголовок секции громче заголовков карточек */
@media (max-width: 767px) {
  .section-h.section-h,
  .section-head .section-h,
  .program .section-h {
    font-size: clamp(32px, 8.6vw, 38px) !important;
  }
  .fg-hero__h.fg-hero__h { font-size: 26px !important; }
}

/* 6. Длина строки основного текста ≤ ~70 символов */
.oc-body { max-width: 620px; }

/* 5. Консолидация шкалы: убираем дробные полу-размеры */
.fmt-card__text { font-size: 15px !important; }
.tier-features li { font-size: 15px !important; }
.program__sub { font-size: 16px !important; }
/* добираем последние строчные на «Заголовке»: цены-плашки и мини-теги */
.cmp-row__price, .feat-tag { text-transform: uppercase !important; }

/* ============ КРУПНЫЕ ЗАГОЛОВКИ И ЦИФРЫ (фидбек 10.07.2026) ============ */

/* Заголовки всех разделов — примерно ×2 от прежних 46px (≈90px на десктопе) */
.section-h.section-h, .oc-title.oc-title, .program-intro__title.program-intro__title {
  font-size: clamp(38px, 7vw, 92px) !important;
}

/* Заголовки панелей-блоков — умеренно */
.cd-panel__title.cd-panel__title, .installment__title.installment__title,
.corp__title.corp__title, .cta-help__txt h3, .socials-block__h.socials-block__h,
.fg-hero__h.fg-hero__h {
  font-size: clamp(30px, 3.4vw, 46px) !important;
}

/* Цифры: «Почему мы», таймер, цены тарифов — крупные, но не гигантские */
.feat-card__h.feat-card__h { font-size: clamp(44px, 5vw, 72px) !important; }
.cd-num.cd-num { font-size: clamp(40px, 5vw, 68px) !important; }
.tier-price.tier-price { font-size: clamp(44px, 4vw, 60px) !important; }

@media (max-width: 767px) {
  .section-h.section-h,
  .section-head .section-h,
  .program .section-h {
    font-size: clamp(38px, 10vw, 46px) !important;
  }
  .cd-num.cd-num { font-size: 44px !important; }
  .tier-price.tier-price { font-size: 46px !important; }
}

/* ============ БЕЗ ПЛАШЕК: красное выделение слов без жёлтого фона (фидбек 10.07.2026) ============
   На светлых секциях — только красный текст, плашка/бордер убраны.
   На тёмной секции «Программа» — акцент жёлтым текстом (красный на тёмном нечитаем). */
.section-h em, .oc-title em, .cd-panel__title em,
.program-intro__title em {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--bordo) !important;
}
.program .section-h em,
.program .section-h.section-h em {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: var(--yellow) !important;
}

/* ============ ПРАВКИ ШРИФТОВ ПО ФИДБЕКУ (10.07.2026, ч.2) ============ */

/* 3. Выделенные слова в заголовках — ПРЯМЫЕ (убираем синтетический италик Coolvetica),
   тем же весом, что и чёрная часть, только красным цветом */
.section-h em, .oc-title em, .cd-panel__title em,
.program-intro__title em, .program .section-h em,
.installment__title em, .corp__title em, .cta-help__txt h3 em,
.socials-block__h em, .fg-hero__h em, .aud-card__title em {
  font-style: normal !important;
  font-weight: 800 !important;
}

/* 1. Бегущая строка — простой читаемый шрифт (Platform), без наклона */
.marquee__track span {
  font-family: var(--t-font) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
}

/* 2. Красная плашка «сколько зарабатывают…» — простой читаемый шрифт, обычный регистр */
.oc-folder p {
  font-family: var(--t-font) !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  font-size: 16px !important;
}

/* 4. Цены в шкалах сравнения — читаемый шрифт, крупнее, в пределах шкалы */
.cmp-row__price {
  font-family: var(--t-font) !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.cmp-row__bar { min-height: 44px; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.3) ============ */

/* 1. Карточки «Кому подойдёт» — крупнее заголовки, меньше отступ до текста */
.aud-card { gap: 14px !important; }
.aud-card__title.aud-card__title {
  font-size: clamp(30px, 3vw, 40px) !important;
  min-height: 0 !important;
}
@media (min-width: 900px) { .aud-card__title { min-height: 0 !important; } }

/* 3. Программа: названия этапов — с большой буквы (обычный регистр) и другим шрифтом (Platform) */
.module-title.module-title {
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
}

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.4) ============ */

/* 1. Программа: убрать шкалу-таймлайн полностью (текст не читался) */
.program-timeline-wrap { display: none !important; }

/* 2. «Почему мы» — мелкие плашки читаемым шрифтом (Platform), крупнее */
.feat-pill__txt b,
.feat-tag, .feat-bigtag b {
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

/* 3. «Формат курса» — заголовки блоков крупнее */
.fmt-card__title.fmt-card__title { font-size: clamp(30px, 3vw, 40px) !important; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.5) — размеры мелких заголовков ============ */

/* 1. Кейсы: имена и доход крупнее */
.case__name.case__name { font-size: 22px !important; }
.case__result.case__result { font-size: 23px !important; }

/* 3. Счётчик: дата старта читаемо (было 11.5px) */
.cd-eyebrow.cd-eyebrow { font-size: 18px !important; line-height: 1.25 !important; }

/* 4. Тарифы: название пакета крупнее */
.tier-name.tier-name { font-size: 30px !important; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.6) — ещё крупнее ============ */

/* Кейсы: имя, доход и сам текст отзыва */
.case__name.case__name { font-size: 26px !important; }
.case__result.case__result { font-size: 26px !important; }

/* Отзывы: подзаголовок, текст, имя, роль */
.testi-card-v2__result-sm span { font-size: 17px !important; }
.testi-card-v2__quote p { font-size: 18px !important; line-height: 1.55 !important; }
.testi-card-v2__name.testi-card-v2__name { font-size: 17px !important; }

/* Счётчик: дата старта ещё крупнее + подписи под цифрами */
.cd-eyebrow.cd-eyebrow { font-size: 24px !important; line-height: 1.2 !important; }
.cd-lbl.cd-lbl { font-size: 14px !important; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.7) — отзывы ============ */
/* Заголовок отзыва — ещё крупнее */
.testi-card-v2__result-sm.testi-card-v2__result-sm { font-size: 32px !important; line-height: 1.02 !important; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.8) — счётчик крупнее ============ */
/* Дата старта — читаемый шрифт (Platform) и крупнее */
.cd-eyebrow.cd-eyebrow {
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
}
/* Подписи под цифрами (дней/часов/минут/секунд) крупнее */
.cd-lbl.cd-lbl {
  font-family: var(--t-font) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.9) — тарифы и оплата ============ */

/* Строка рассрочки в тарифах — читаемый шрифт (Platform), обычный регистр, крупнее */
.tier-installment-line.tier-installment-line {
  font-family: var(--t-font) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* «Можно оплатить частями» — на ~50% крупнее */
.installment__title.installment__title { font-size: clamp(34px, 5vw, 64px) !important; }

/* Подзаголовки рассрочки — читаемый шрифт (Platform), обычный регистр, крупнее */
.pay-card__h.pay-card__h {
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.10) — соцсети и «Остались вопросы» ============ */

/* Заголовки «Наши соцсети» и «Остались вопросы?» — значительно крупнее */
.socials-block__h.socials-block__h,
.cta-help__txt h3 {
  font-size: clamp(34px, 5vw, 64px) !important;
}

/* Названия соцсетей — читаемый шрифт (Platform), обычный регистр, крупнее */
.social-card b {
  font-family: var(--t-font) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.social-card > span > span { font-size: 14px !important; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.11) — соцсети только название по центру ============ */
.social-card { justify-content: center !important; text-align: center !important; gap: 12px !important; }
.social-card b { font-size: 20px !important; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.12) ============ */

/* Кнопка «Сравнить тарифы» — значительно крупнее и заметнее */
.btn--compare {
  font-size: 22px !important;
  padding: 22px 52px !important;
  font-weight: 800 !important;
}

/* Новое оформление: бордовая полоса со светлым текстом (заметно отличается от прежнего) */
.corp--band {
  background: linear-gradient(135deg, var(--bordo) 0%, var(--bordo-3, #4C1010) 100%) !important;
  color: #FBEFE0 !important;
}
.corp--band .corp__eyebrow { color: var(--yellow) !important; }
.corp--band .corp__eyebrow .star { fill: var(--yellow) !important; }
.corp--band .corp__title { color: #FFFAF1 !important; }
.corp--band .corp__title em { color: var(--yellow) !important; }
.corp--band .corp__list li { color: rgba(255, 250, 241, 0.9) !important; }
.corp--band .corp__ic {
  background: rgba(255, 242, 120, 0.16) !important;
  color: var(--yellow) !important;
}
.corp--band .corp__btn {
  background: #FFFAF1 !important;
  color: var(--bordo) !important;
  border: none !important;
}

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.13) — счётчик ============ */
/* Слово «курса» на тёмной панели счётчика — жёлтым (красный не читается) */
.cd-panel__title em { color: var(--yellow) !important; }

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.14) — орбитальные круги брендов ============ */
.brands-orbit {
  --r-out: 175px; --r-in: 100px; --pw: 138px; --ph: 48px; --dur: 34s;
  position: relative;
  width: 100%;
  height: calc(var(--r-out) * 2 + var(--ph) + 48px);
  margin: clamp(24px, 4vw, 48px) auto 0;
}
.brands-orbit__center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--bordo) 0%, var(--bordo-3, #4C1010) 100%);
  color: var(--yellow);
  box-shadow: 0 16px 40px rgba(129, 26, 25, 0.28);
}
.brands-orbit__center span {
  font-family: var(--h-font); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: 0.01em;
}
.brands-orbit__center b {
  display: block; margin-top: 4px;
  font-family: var(--t-font); font-weight: 700; font-size: 12px; letter-spacing: 0.02em;
  color: #FFFAF1; text-transform: uppercase;
}
.brand-orbit__item {
  position: absolute; top: 50%; left: 50%;
  width: var(--pw); height: var(--ph);
  margin-left: calc(var(--pw) / -2);
  margin-top: calc(var(--ph) / -2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #FFFAF1;
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  font-family: var(--t-font); font-weight: 800; font-size: 13px; letter-spacing: 0.01em;
  color: #2b2926; white-space: nowrap;
  will-change: transform;
  animation: brand-orbit var(--dur) linear infinite;
}
.brand-orbit__item--out { --radius: var(--r-out); }
.brand-orbit__item--in  { --radius: var(--r-in); animation-direction: reverse; animation-duration: calc(var(--dur) * 0.78); }
.brand-orbit__item img { max-width: 74%; max-height: 60%; object-fit: contain; }
@keyframes brand-orbit {
  from { transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))); }
  to   { transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--radius)) rotate(calc(-1 * var(--angle) - 360deg)); }
}
/* пауза при наведении убрана по запросу — анимация не должна останавливаться */
@media (max-width: 680px) {
  .brands-orbit { --r-out: 116px; --r-in: 66px; --pw: 104px; --ph: 40px; }
  .brands-orbit__center { width: 100px; height: 100px; }
  .brands-orbit__center span { font-size: 17px; }
  .brands-orbit__center b { font-size: 10px; }
  .brand-orbit__item { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-orbit__item { animation: none; transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))); }
}

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.15) — орбита ближе к референсу Magic UI ============ */
.brands-orbit {
  --r-out: 180px; --r-in: 106px; --node: 84px; --dur: 36s;
  height: calc(var(--r-out) * 2 + var(--node) + 44px);
}
/* тонкие кольца-орбиты (как на референсе) */
.brands-orbit::before, .brands-orbit::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(23, 23, 23, 0.12);
  pointer-events: none;
}
.brands-orbit::before { width: calc(var(--r-out) * 2); height: calc(var(--r-out) * 2); }
.brands-orbit::after  { width: calc(var(--r-in) * 2);  height: calc(var(--r-in) * 2); }

/* центр — меньше и компактнее */
.brands-orbit__center { width: 94px; height: 94px; }
.brands-orbit__center span { font-size: 16px; }
.brands-orbit__center b { font-size: 9.5px; margin-top: 3px; }

/* узлы — круглые (как иконки на референсе) */
.brand-orbit__item {
  width: var(--node); height: var(--node);
  margin-left: calc(var(--node) / -2);
  margin-top: calc(var(--node) / -2);
  border-radius: 50%;
  padding: 7px;
  white-space: normal; text-align: center;
  font-size: 10.5px; line-height: 1.08;
}
.brand-orbit__item--out { --radius: var(--r-out); }
.brand-orbit__item--in  { --radius: var(--r-in); }

@media (max-width: 680px) {
  .brands-orbit { --r-out: 120px; --r-in: 70px; --node: 62px; }
  .brands-orbit__center { width: 72px; height: 72px; }
  .brands-orbit__center span { font-size: 13px; }
  .brands-orbit__center b { font-size: 8px; }
  .brand-orbit__item { font-size: 8.5px; padding: 5px; }
}

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.16) — 3 кольца, свободнее ============ */
.brands-orbit {
  --r-out: 232px; --r-mid: 160px; --r-in: 88px; --node: 68px; --dur: 42s;
  height: calc(var(--r-out) * 2 + var(--node) + 48px);
}
/* центр чуть меньше, чтобы внутреннее кольцо его не задевало */
.brands-orbit__center { width: 86px; height: 86px; }
/* больше не рисуем кольца через псевдоэлементы — теперь отдельные .orbit-ring */
.brands-orbit::before, .brands-orbit::after { display: none !important; }

.orbit-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(23, 23, 23, 0.12);
  pointer-events: none;
}
.orbit-ring--out { width: calc(var(--r-out) * 2); height: calc(var(--r-out) * 2); }
.orbit-ring--mid { width: calc(var(--r-mid) * 2); height: calc(var(--r-mid) * 2); }
.orbit-ring--in  { width: calc(var(--r-in) * 2);  height: calc(var(--r-in) * 2); }

.brand-orbit__item--out { --radius: var(--r-out); animation-duration: var(--dur); animation-direction: normal; }
.brand-orbit__item--mid { --radius: var(--r-mid); animation-duration: calc(var(--dur) * 0.82); animation-direction: reverse; }
.brand-orbit__item--in  { --radius: var(--r-in);  animation-duration: calc(var(--dur) * 0.66); animation-direction: normal; }

@media (max-width: 680px) {
  .brands-orbit { --r-out: 154px; --r-mid: 106px; --r-in: 58px; --node: 46px; }
  .brands-orbit__center { width: 62px; height: 62px; }
  .brands-orbit__center span { font-size: 11px; }
  .brands-orbit__center b { font-size: 7px; }
  .brand-orbit__item { font-size: 7.5px; padding: 3px; }
}

/* ============ ПРАВКИ ПО ФИДБЕКУ (10.07.2026, ч.17) — крупнее + разный размер кружков ============ */
.brands-orbit {
  --r-out: 288px; --r-mid: 176px; --r-in: 92px; --dur: 48s;
  height: calc(var(--r-out) * 2 + 100px + 48px);
}
/* разный размер узлов по кольцам (как на референсе) */
.brand-orbit__item--out { --node: 96px; --radius: var(--r-out); font-size: 12.5px; }
.brand-orbit__item--mid { --node: 74px; --radius: var(--r-mid); font-size: 10.5px; }
.brand-orbit__item--in  { --node: 58px; --radius: var(--r-in);  font-size: 9px; }

@media (max-width: 680px) {
  .brands-orbit { --r-out: 150px; --r-mid: 100px; --r-in: 56px; }
  .brand-orbit__item--out { --node: 54px; font-size: 7.5px; }
  .brand-orbit__item--mid { --node: 44px; font-size: 7px; }
  .brand-orbit__item--in  { --node: 36px; font-size: 6.5px; }
}

/* ============ ПРОФЕССИЯ: зарплаты + спрос + резюме (10.07.2026, ч.18) ============ */
.prof-block { margin-top: clamp(24px, 3.4vw, 44px); }
.resume-col__cap { display: block; font-family: var(--t-font); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bordo); margin-bottom: 14px; }
.skill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.skill-list li { display: flex; align-items: flex-start; gap: 10px; font-family: var(--t-font); font-weight: 500; font-size: 15.5px; line-height: 1.4; color: rgba(29,27,26,0.9); }
.skill-ic { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: rgba(129,26,25,0.1); color: var(--bordo); }

/* ============ РЕЗЮМЕ — раскладка Skillbox в нашем стиле (10.07.2026, ч.19) ============ */
.resume-cards {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .resume-cards { grid-template-columns: 300px 1fr; align-items: stretch; } }

/* Карточка «Должность» */
.resume-role {
  background: #FFFAF1; border: 1px solid rgba(23,23,23,0.08);
  border-radius: var(--r-lg); box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 6px;
}
.resume-role__cap { font-family: var(--t-font); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(29,27,26,0.5); }
.resume-role__title { font-family: var(--h-font); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 0.95; letter-spacing: 0.01em; color: var(--ink); }

/* Правая карточка: навыки + инструменты */
.resume-main {
  background: #FFFAF1; border: 1px solid rgba(23,23,23,0.08);
  border-radius: var(--r-lg); box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  padding: clamp(24px, 3vw, 36px);
}
.skill-list--2col { grid-template-columns: 1fr; }
@media (min-width: 620px) { .skill-list--2col { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.resume-col__cap--tools { margin-top: 26px; }

/* ============ РЕЗЮМЕ — карточка «Должность» цветной плашкой + фото на всю (10.07.2026, ч.20) ============ */
.resume-role--photo {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: 340px;
  border: none;
  background: linear-gradient(155deg, var(--bordo) 0%, var(--bordo-3, #4C1010) 100%);
}
/* заглушка, пока нет фото */
.resume-role__ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255, 250, 241, 0.55);
  z-index: 1;
}
/* подпись поверх фото — с затемнением снизу для читаемости */
.resume-role__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
  padding: clamp(20px, 2.4vw, 30px);
  text-align: left;
  background: linear-gradient(to top, rgba(20, 8, 8, 0.72) 0%, rgba(20, 8, 8, 0.28) 55%, transparent 100%);
}
.resume-role--photo .resume-role__cap { color: var(--yellow); }
.resume-role--photo .resume-role__title { color: #FFFAF1; }


/* ===== ч.21 — Галерея работ учеников ===== */
.works-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.work-tile{ position:relative; margin:0; border-radius:18px; overflow:hidden; background:var(--paper-3); border:1px solid rgba(0,0,0,.06); box-shadow:0 8px 24px rgba(0,0,0,.06); aspect-ratio:4/3; }
.work-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
.work-tile__badge{ position:absolute; left:10px; bottom:10px; z-index:2; font-family:var(--t-font); font-size:12px; font-weight:600; line-height:1; padding:7px 13px; border-radius:999px; background:rgba(20,8,8,.72); color:var(--paper-3); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
@media (min-width:720px){
  .works-grid{ grid-template-columns:repeat(4,1fr); grid-auto-rows:190px; gap:16px; grid-auto-flow:dense; }
  .work-tile{ aspect-ratio:auto; height:100%; }
  .work-tile--tall{ grid-row:span 2; }
  .work-tile__badge{ font-size:13px; }
}

/* ===== ч.23 — Карусель работ (анимированная лента) + кнопка ===== */
.works-carousel{ margin-top:6px; overflow:hidden; width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
.works-marquee{ display:flex; flex-direction:column; gap:14px; }
.works-marquee__row{ display:flex; gap:14px; width:max-content; will-change:transform; }
.works-marquee__row--l{ animation:works-scroll-l 72s linear infinite; }
.works-marquee__row--r{ animation:works-scroll-r 88s linear infinite; }
/* пауза при наведении убрана по запросу — карусель работ не останавливается */
@keyframes works-scroll-l{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes works-scroll-r{ from{transform:translateX(-50%)} to{transform:translateX(0)} }
.works-carousel .work-tile{ flex:0 0 auto; width:clamp(180px,44vw,290px); aspect-ratio:4/3; margin:0; }
.works-cta{ display:flex; justify-content:center; margin-top:30px; }
.works-cta__btn{ gap:10px; }
@media (min-width:720px){
  .works-marquee{ gap:18px; }
  .works-marquee__row{ gap:18px; }
}
@media (prefers-reduced-motion:reduce){
  .works-marquee__row{ animation:none; }
  .works-carousel{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
}


/* ===== ч.24 — Спикеры / Бонусы предзаказа / Заявка / Корпоратив / Футер ===== */

/* Спикеры */
.speakers-grid{ display:grid; grid-template-columns:1fr; gap:16px; margin-top:24px; }
.speaker-card{ display:flex; gap:16px; align-items:center; background:var(--paper-3); border:1px solid rgba(0,0,0,.06); border-radius:22px; padding:16px; box-shadow:0 10px 28px rgba(0,0,0,.06); }
.speaker-card__img{ flex:0 0 auto; width:96px; height:96px; border-radius:18px; overflow:hidden; background:linear-gradient(150deg,var(--bordo),var(--bordo-3)); display:flex; align-items:center; justify-content:center; color:rgba(255,250,241,.5); }
.speaker-card__img img{ width:100%; height:100%; object-fit:cover; }
.speaker-card__role{ font-family:var(--t-font); font-size:12px; text-transform:uppercase; letter-spacing:.03em; color:var(--bordo); -webkit-text-fill-color:var(--bordo); font-weight:600; }
.speaker-card__name{ font-family:var(--h-font); text-transform:uppercase; font-size:clamp(20px,4.4vw,28px); line-height:.95; letter-spacing:0; margin:4px 0 6px; color:var(--ink); -webkit-text-fill-color:var(--ink); }
.speaker-card__bio{ font-family:var(--t-font); font-size:14px; line-height:1.5; color:var(--ink); opacity:.8; margin:0; }
@media (min-width:720px){
  .speakers-grid{ grid-template-columns:repeat(3,1fr); }
  .speaker-card{ flex-direction:column; align-items:flex-start; text-align:left; }
  .speaker-card__img{ width:100%; height:210px; }
}

/* Бонусы предзаказа */
.preorder-grid{ display:grid; grid-template-columns:1fr; gap:14px; margin-top:24px; }
.preorder-card{ background:var(--paper-3); border:1px solid rgba(0,0,0,.06); border-radius:22px; padding:26px 22px; box-shadow:0 10px 28px rgba(0,0,0,.06); }
.preorder-card--accent{ background:linear-gradient(150deg,var(--bordo),var(--bordo-3)); border-color:transparent; }
.preorder-card__big{ display:block; font-family:var(--num-font); font-weight:800; font-size:clamp(40px,9vw,64px); line-height:1; color:var(--bordo); -webkit-text-fill-color:var(--bordo); }
.preorder-card--accent .preorder-card__big{ color:var(--yellow); -webkit-text-fill-color:var(--yellow); }
.preorder-card__t{ font-family:var(--h-font); text-transform:uppercase; font-size:clamp(17px,3.4vw,21px); line-height:1; letter-spacing:0; margin:12px 0 8px; color:var(--ink); -webkit-text-fill-color:var(--ink); }
.preorder-card--accent .preorder-card__t{ color:var(--paper-3); -webkit-text-fill-color:var(--paper-3); }
.preorder-card__d{ font-family:var(--t-font); font-size:14px; line-height:1.5; color:var(--ink); opacity:.8; margin:0; }
.preorder-card--accent .preorder-card__d{ color:var(--paper-3); -webkit-text-fill-color:var(--paper-3); opacity:.85; }
@media (min-width:720px){ .preorder-grid{ grid-template-columns:repeat(3,1fr); } }

/* Корпоратив — тёмная полоса, чтобы отличалась от трудоустройства */
.corp--band-alt{ background:linear-gradient(150deg,#26303c,var(--ink)) !important; }

/* Footer */
.footer{ background:var(--ink); color:var(--paper-3); -webkit-text-fill-color:var(--paper-3); padding:46px 0 42px; margin-top:24px; }
.footer .brand-logo{ color:var(--paper-3); -webkit-text-fill-color:var(--paper-3); }


/* ===== ч.25 — Веб-герой: видео уже с текстом, оставляем только одну красную кнопку ===== */
@media (min-width: 768px) {
  /* убираем старый текст первого экрана */
  .hero--scrub .hero-scrub__title,
  .hero--scrub .hero-scrub__lead,
  .hero--scrub .hero-scrub__facts { display: none !important; }
  /* кнопку — вниз-по центру над видео */
  .hero--scrub { justify-content: flex-end; padding-bottom: clamp(48px, 10vh, 110px); }
  .hero-scrub__inner { max-width: none; display: flex; justify-content: center; align-items: center; }
  /* мягкое затемнение только снизу — для контраста кнопки, без синей вуали */
  .hero-scrub__scrim { background: linear-gradient(180deg, transparent 55%, rgba(20,8,8,0.34) 100%) !important; }
}


/* ===== ч.26 — Бонусы: sticky-стек карточек (референс kynejang.com) ===== */
.bstack{
  --bstack-top: 78px;                       /* ниже липкой шапки сайта */
  --bstack-peek: clamp(68px, 9vw, 92px);    /* видимая шапка накрытой карточки */
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 36px);
  margin-top: clamp(20px, 4vw, 34px);
}
.bstack-card{
  position: sticky;
  top: calc(var(--bstack-top) + var(--i) * var(--bstack-peek));
  display: flex;
  flex-direction: column;
  min-height: clamp(480px, 72vh, 720px);
  border-radius: 24px;
  overflow: hidden;
  transform-origin: top center;
  will-change: transform;
  box-shadow: 0 -16px 44px rgba(20, 8, 8, 0.16);
}
.bstack-card__head{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(14px, 2.6vw, 22px) clamp(16px, 3vw, 26px);
  min-height: var(--bstack-peek);
  box-sizing: border-box;
}
.bstack-card__num{
  font-family: var(--num-font);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1;
  flex: 0 0 auto;
}
.bstack-card__txt{ min-width: 0; }
.bstack-card__title{
  font-family: var(--h-font);
  text-transform: uppercase;
  font-size: clamp(19px, 3.6vw, 30px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0 0 5px;
}
.bstack-card__media{
  flex: 1;
  margin: 0 clamp(12px, 2.4vw, 20px) clamp(12px, 2.4vw, 20px);
  border-radius: 16px;
  overflow: hidden;
  min-height: 0;
}
.bstack-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Цвета карточек — по цветовой системе KAVA (оба свойства из-за text-fill-color) */
.bstack-card--bordo{ background: linear-gradient(150deg, var(--bordo), var(--bordo-3)); }
.bstack-card--bordo .bstack-card__title,
.bstack-card--bordo .bstack-card__desc{ color: var(--paper-3); -webkit-text-fill-color: var(--paper-3); }
.bstack-card--bordo .bstack-card__num{ color: var(--yellow); -webkit-text-fill-color: var(--yellow); }

.bstack-card--ink{ background: var(--ink); }
.bstack-card--ink .bstack-card__title,
.bstack-card--ink .bstack-card__desc{ color: var(--paper-3); -webkit-text-fill-color: var(--paper-3); }
.bstack-card--ink .bstack-card__num{ color: var(--yellow); -webkit-text-fill-color: var(--yellow); }

.bstack-card--sky{ background: var(--sky); }
.bstack-card--sky .bstack-card__title,
.bstack-card--sky .bstack-card__desc{ color: var(--ink); -webkit-text-fill-color: var(--ink); }
.bstack-card--sky .bstack-card__num{ color: var(--bordo); -webkit-text-fill-color: var(--bordo); }

.bstack-card--yellow{ background: var(--yellow); }
.bstack-card--yellow .bstack-card__title,
.bstack-card--yellow .bstack-card__desc,
.bstack-card--yellow .bstack-card__num{ color: var(--ink); -webkit-text-fill-color: var(--ink); }

@media (max-width: 767px){
  .bstack{ --bstack-top: 66px; --bstack-peek: 72px; }
  .bstack-card{ min-height: clamp(420px, 64vh, 560px); }
  .bstack-card__head{ gap: 12px; }
}
@media (prefers-reduced-motion: reduce){
  .bstack-card{ position: static; transform: none !important; }
}


/* ===== ч.27 — Бонусы: стек как на референсе kynejang — единый экран-карточка,
   full-bleed на мобиле, стопка шапок сверху, выровненный низ, без плиток/теней ===== */
.bstack{
  --bstack-top: 78px;
  --bstack-peek: 92px;
  gap: 0;
  margin-top: clamp(16px, 3vw, 28px);
}
.bstack-card{
  /* низ всех карточек совпадает: top растёт на peek, высота на peek уменьшается */
  min-height: 0;
  height: calc(86vh - var(--i) * var(--bstack-peek) - var(--bstack-top) + 64px);
  height: calc(86svh - var(--i) * var(--bstack-peek) - var(--bstack-top) + 64px);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -6px 18px rgba(20, 8, 8, 0.10);
}
.bstack-card__head{
  min-height: 0;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(16px, 2.6vw, 24px) clamp(16px, 3vw, 28px) clamp(10px, 2vw, 16px);
}
.bstack-card__num{ font-size: clamp(30px, 4.6vw, 46px); }
.bstack-card__title{ font-size: clamp(30px, 4.4vw, 44px); line-height: 0.95; margin: 0 0 6px; }
.bstack-card__media{ margin: 0; border-radius: 0; flex: 1; min-height: 0; }

@media (max-width: 767px){
  .bstack{
    --bstack-top: 64px;
    --bstack-peek: 92px;
    /* full-bleed с полем 12px по краям экрана */
    margin-left: calc(-1 * var(--pad) + 12px);
    margin-right: calc(-1 * var(--pad) + 12px);
  }
  .bstack-card{
    height: calc(84svh - var(--i) * var(--bstack-peek));
    border-radius: 16px 16px 0 0;
  }
  .bstack-card__head{ padding: 12px 16px 10px; gap: 12px; }
  .bstack-card__num{ font-size: 28px; }
  .bstack-card__title{ font-size: clamp(26px, 7.4vw, 30px); }
}
@media (prefers-reduced-motion: reduce){
  .bstack-card{ position: static; height: auto; min-height: 60vh; }
}

/* ===== ч.28 — финальный проход по типографике (13.07.2026) ===== */
:root {
  --fs-body: clamp(16px, 1vw, 18px);
  --fs-lead: clamp(19px, 1.55vw, 24px);
  --fs-section: clamp(56px, 7.8vw, 112px);
  --measure-copy: 68ch;
  --measure-lead: 720px;
}

body {
  font-size: var(--fs-body);
  line-height: 1.58;
  letter-spacing: 0;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}

p,
li,
.section-sub,
.lead,
.hero-scrub__lead p,
.oc-folder p,
.fmt-card__text,
.fg-hero__p,
.fg-card__p,
.fg-wide__p,
.case__quote,
.testi-card-v2__quote p,
.tier-features li,
.faq-item p,
.speaker-card__bio,
.preorder-card__d,
.apply-form__note,
.bstack-card__desc {
  letter-spacing: 0 !important;
  line-height: 1.56 !important;
}

p,
.section-sub,
.lead,
.case__quote,
.testi-card-v2__quote p,
.faq-item p,
.speaker-card__bio,
.preorder-card__d {
  max-width: var(--measure-copy);
}

.section-head,
.section-head--center {
  max-width: 980px;
}

.section-sub.section-sub,
.section-head--center .section-sub.section-sub {
  max-width: var(--measure-lead);
  font-size: var(--fs-lead) !important;
  font-weight: 500;
  line-height: 1.48 !important;
  color: rgba(29, 27, 26, 0.78);
}

.section-h.section-h,
.oc-title.oc-title,
.program-intro__title.program-intro__title {
  font-size: var(--fs-section) !important;
  line-height: 0.9 !important;
  letter-spacing: 0 !important;
  max-width: 1080px;
  text-wrap: balance;
}

.section-head--center .section-h.section-h {
  margin-left: auto;
  margin-right: auto;
}

.section-h em,
.oc-title em,
.program-intro__title em,
.cd-panel__title em,
.installment__title em,
.corp__title em,
.cta-help__txt h3 em,
.socials-block__h em,
.fg-hero__h em,
.aud-card__title em,
.apply-card__h em {
  letter-spacing: 0 !important;
}

.hero-scrub__buy,
.btn,
.sticky-cta,
.header-nav a,
.mobile-nav__list a,
.faq-item summary,
.tier-badge,
.feat-tag,
.speaker-card__role,
.resume-col__cap,
.demand-stat__lvl {
  letter-spacing: 0.01em !important;
}

.faq-item summary {
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.28 !important;
}

.module-title.module-title {
  font-size: clamp(28px, 2.8vw, 42px) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}

.fmt-card__title.fmt-card__title,
.aud-card__title.aud-card__title,
.tier-name.tier-name,
.preorder-card__t,
.speaker-card__name,
.bstack-card__title {
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.fmt-card__title.fmt-card__title,
.aud-card__title.aud-card__title,
.tier-name.tier-name,
.speaker-card__name,
.bstack-card__title {
  font-size: clamp(30px, 3.1vw, 48px) !important;
}

.fmt-card__text,
.tier-features li,
.speaker-card__bio,
.preorder-card__d,
.skill-list li,
.demand-panel__cap {
  font-size: clamp(15.5px, 1.05vw, 17px) !important;
}

.case__quote.case__quote,
.testi-card-v2__quote p {
  font-size: clamp(17px, 1.25vw, 19px) !important;
}

.cd-eyebrow.cd-eyebrow,
.testi-card-v2__result-sm.testi-card-v2__result-sm,
.case__result.case__result,
.tier-price.tier-price,
.demand-panel__num,
.demand-stat__num {
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1024px) {
  .section-h.section-h,
  .oc-title.oc-title,
  .program-intro__title.program-intro__title {
    margin-bottom: clamp(22px, 2vw, 34px);
  }
}

/* ===== ч.35 — авторский шрифт для всех заголовков ===== */
h1,
h2,
h3,
h4,
h5,
h6,
.section-h,
.oc-title,
.program-intro__title,
.program .module-title.module-title,
.profession .prof-block__h,
.carousel-title.carousel-title,
.resume-role__title,
.bstack-card__title,
.fmt-card__title,
.aud-card__title,
.tier-name,
.pay-card__h.pay-card__h{
  font-family: 'LabHeading', 'LabMain', system-ui, sans-serif !important;
}

@media (max-width: 767px) {
  :root {
    --fs-body: 16px;
    --fs-lead: clamp(17px, 4.8vw, 20px);
    --fs-section: clamp(46px, 13.2vw, 64px);
  }

  body {
    line-height: 1.55;
  }

  .section-h.section-h,
  .section-head .section-h.section-h,
  .program .section-h.section-h,
  .oc-title.oc-title,
  .program-intro__title.program-intro__title {
    font-size: var(--fs-section) !important;
    line-height: 0.92 !important;
    max-width: 100%;
  }

  .module-title.module-title {
    font-size: clamp(27px, 8vw, 32px) !important;
    line-height: 1.05 !important;
  }

  .fmt-card__title.fmt-card__title,
  .aud-card__title.aud-card__title,
  .tier-name.tier-name,
  .speaker-card__name,
  .bstack-card__title {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  .section-sub.section-sub,
  .section-head--center .section-sub.section-sub {
    font-size: var(--fs-lead) !important;
    line-height: 1.46 !important;
  }

  .faq-item summary {
    font-size: 17px !important;
  }

  .fmt-card__text,
  .tier-features li,
  .speaker-card__bio,
  .preorder-card__d,
  .skill-list li,
  .demand-panel__cap {
    font-size: 15.5px !important;
  }
}


/* ===== ч.28 — Бонусы: точная механика kynejang.com =====
   Картинка заполняет всю карточку; шапка — полупрозрачная полоса ПОВЕРХ картинки,
   высота полосы = шагу стопки (peek). Все карточки одной высоты, радиус 0,
   теней нет, зазоров нет, на всю ширину экрана. Чистый sticky, без JS. */
.bstack{
  --bstack-top: 64px;
  --bstack-peek: 96px;
  gap: 0;
  margin-top: clamp(18px, 3vw, 30px);
  /* full-bleed на всю ширину вьюпорта */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.bstack-card{
  position: sticky;
  top: calc(var(--bstack-top) + var(--i) * var(--bstack-peek));
  display: block;
  height: clamp(520px, 78vh, 780px);
  height: clamp(520px, 78svh, 780px);
  min-height: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  transform: none !important;
}
/* картинка = вся карточка */
.bstack-card__media{
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 0;
}
.bstack-card__media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
/* шапка — полоса поверх картинки, ровно высотой peek */
.bstack-card__head{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--bstack-peek);
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 24px);
  padding: 0 clamp(16px, 4vw, 44px);
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 2;
}
/* полосы в цветах карточек (полупрозрачные, как на референсе) */
.bstack-card--bordo{ background: var(--bordo); }
.bstack-card--bordo .bstack-card__head{ background: rgba(129, 26, 25, 0.82); }
.bstack-card--ink{ background: var(--ink); }
.bstack-card--ink .bstack-card__head{ background: rgba(29, 27, 26, 0.80); }
.bstack-card--sky{ background: var(--sky); }
.bstack-card--sky .bstack-card__head{ background: rgba(210, 228, 235, 0.85); }
.bstack-card--yellow{ background: var(--yellow); }
.bstack-card--yellow .bstack-card__head{ background: rgba(255, 242, 120, 0.85); }
/* типографика полосы */
.bstack-card__num{ font-size: clamp(26px, 3vw, 40px); flex: 0 0 auto; }
.bstack-card__txt{ min-width: 0; flex: 1; }
.bstack-card__title{
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 0.95;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px){
  .bstack{ --bstack-top: 60px; --bstack-peek: 100px; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .bstack-card{ height: clamp(460px, 76svh, 640px); border-radius: 0; }
  .bstack-card__head{ padding: 0 16px; gap: 12px; align-items: center; }
  .bstack-card__num{ font-size: 26px; }
  .bstack-card__title{ font-size: 24px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; text-overflow: clip; }
}
@media (prefers-reduced-motion: reduce){
  .bstack-card{ position: static; height: clamp(460px, 70svh, 720px); min-height: 0; }
}


/* ===== ч.29 — Бонусы-стек: типографика полосы важнее общего типографического прохода ===== */
.bstack-card__title.bstack-card__title{
  font-size: clamp(22px, 2.4vw, 32px) !important;
  line-height: 0.95 !important;
}
@media (max-width: 767px){
  .bstack-card__title.bstack-card__title{ font-size: 24px !important; }
}

/* ===== ч.30 — финальный каскад журнальной программы ===== */
.program .module-list{
  gap: 0 !important;
  border-top: 1px solid rgba(255,250,241,.24);
}
.program .module{
  position: relative;
  overflow: clip;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,250,241,.24) !important;
  border-radius: 0 !important;
}
.program .module:hover,
.program .module[open]{ background: rgba(255,250,241,.045) !important; }
.program .module summary{
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(190px,.34fr) minmax(0,1fr) 48px !important;
  gap: clamp(24px,4vw,64px) !important;
  align-items: center !important;
  min-height: clamp(220px,22vw,310px) !important;
  padding: clamp(30px,4vw,58px) clamp(4px,1.5vw,20px) !important;
}
.program .module-num,
.program .module-num--bonus{
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: clamp(132px,15vw,224px) !important;
  line-height: .72 !important;
  letter-spacing: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(254,255,85,.82);
  opacity: .9;
  transform: translateY(.035em);
  transition: color 260ms ease,-webkit-text-stroke-color 260ms ease,opacity 260ms ease;
}
.program .module:hover .module-num,
.program .module[open] .module-num{
  color: var(--yellow) !important;
  -webkit-text-fill-color: var(--yellow);
  -webkit-text-stroke-color: var(--yellow);
  opacity: 1;
}
.program .module-info{ position: relative; z-index: 3; padding: 0 !important; }
.program .module-title.module-title{
  display: block;
  max-width: 820px;
  margin: 0 0 18px !important;
  font-size: clamp(42px,5.25vw,78px) !important;
  font-weight: 800;
  line-height: .92 !important;
  text-transform: uppercase !important;
  color: var(--paper-3);
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}
.program .module-meta{
  margin: 0 0 13px !important;
  color: var(--yellow) !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}
.program .module-result-preview{
  display: block;
  max-width: 62ch;
  margin: 0;
  color: rgba(255,250,241,.66);
  font-size: clamp(15px,1.2vw,18px) !important;
  line-height: 1.5 !important;
}
.program .module[open] .module-result-preview{ display: none; }
.program .module-toggle{
  align-self: center;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(254,255,85,.65) !important;
}
.program .module__body{
  position: relative;
  z-index: 1;
  padding: 0 clamp(4px,1.5vw,20px) clamp(42px,5vw,72px) !important;
}
@media (min-width:980px){
  .program .module__body{
    grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr) !important;
    gap: clamp(36px,5vw,76px) !important;
    padding-left: clamp(220px,24vw,350px) !important;
  }
  .program .module-preview.has-video{ margin: 0 !important; aspect-ratio: 16/10; }
  .program .module-content{ padding: 10px 0 0 !important; }
}
@media (max-width:767px){
  .program .module summary{
    grid-template-columns: minmax(0,1fr) 38px !important;
    gap: 14px 12px !important;
    min-height: 0 !important;
    padding: 28px 0 30px !important;
  }
  .program .module-num,
  .program .module-num--bonus{
    grid-column: 1/-1;
    font-size: clamp(88px,29vw,116px) !important;
    line-height: .72 !important;
  }
  .program .module-info{ grid-column: 1; }
  .program .module-title.module-title{
    font-size: clamp(36px,11.5vw,48px) !important;
    line-height: .94 !important;
    margin-bottom: 15px !important;
  }
  .program .module-result-preview{ font-size: 15px !important; line-height: 1.48 !important; }
  .program .module-toggle{ grid-column: 2; width: 38px !important; height: 38px !important; }
  .program .module__body{ padding: 0 0 38px !important; gap: 24px !important; }
  .program .module-content{ padding: 0 !important; }
}

/* ===== ч.31 — более спокойный масштаб программы ===== */
.program .module summary{
  min-height: clamp(190px,18vw,258px) !important;
  padding-top: clamp(26px,3vw,42px) !important;
  padding-bottom: clamp(26px,3vw,42px) !important;
}
.program .module-num,
.program .module-num--bonus{
  font-size: clamp(112px,12.5vw,184px) !important;
}
.program .module-title.module-title{
  font-size: clamp(38px,4.5vw,64px) !important;
  line-height: .94 !important;
}
.program .module-meta,
.program .module-result-preview,
.program .module-section,
.program .module-list-inner li,
.program .module-result{
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-style: normal;
}
.program .module-result-preview{
  font-size: clamp(14px,1.05vw,16px) !important;
  line-height: 1.55 !important;
  color: rgba(255,250,241,.7);
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.program .module-meta,
.program .module-section{
  letter-spacing: .04em !important;
}
@media (max-width:767px){
  .program .module summary{
    padding-top: 24px !important;
    padding-bottom: 26px !important;
  }
  .program .module-num,
  .program .module-num--bonus{
    font-size: clamp(78px,24vw,96px) !important;
  }
  .program .module-title.module-title{
    font-size: clamp(32px,10vw,40px) !important;
    line-height: .98 !important;
  }
  .program .module-result-preview{
    font-size: 14.5px !important;
  }
}

/* ===== ч.32 — компактная версия журнальной программы ===== */
.program .module summary{
  min-height: clamp(164px,15vw,206px) !important;
  gap: clamp(18px,2.5vw,36px) !important;
  padding-top: clamp(22px,2.4vw,34px) !important;
  padding-bottom: clamp(22px,2.4vw,34px) !important;
}
.program .module-num,
.program .module-num--bonus{
  font-size: clamp(92px,10vw,148px) !important;
}
.program .module-title.module-title{
  font-size: clamp(34px,3.6vw,52px) !important;
  line-height: .98 !important;
  margin-bottom: 10px !important;
}
.program .module-meta,
.program .module-result-preview,
.program .module-section,
.program .module-list-inner li,
.program .module-result{
  text-transform: none !important;
}
.program .module-meta,
.program .module-section{
  letter-spacing: 0 !important;
}
.program .module-meta{
  margin-bottom: 8px !important;
}
@media (max-width:767px){
  .program .module summary{
    gap: 10px 8px !important;
    padding-top: 20px !important;
    padding-bottom: 22px !important;
  }
  .program .module-num,
  .program .module-num--bonus{
    font-size: clamp(64px,19vw,78px) !important;
  }
  .program .module-title.module-title{
    font-size: clamp(28px,8vw,32px) !important;
    line-height: 1.02 !important;
    margin-bottom: 8px !important;
  }
  .program .module-meta{ margin-bottom: 6px !important; }
}

/* ===== ч.33 — профессия как единая редакционная глава ===== */
.profession{
  counter-reset: profession-block;
}
.profession .prof-block__sub,
.profession .salary-grid,
.profession .demand-panel,
.profession .resume-cards{
  grid-column: 2;
}
.profession .salary-card,
.profession .demand-panel,
.profession .resume-role,
.profession .resume-main{
  border-radius: 8px;
  box-shadow: none;
}
.profession .salary-card__lvl,
.profession .salary-card__note,
.profession .demand-panel__cap,
.profession .demand-stat__lvl,
.profession .resume-col__cap,
.profession .resume-role__cap,
.profession .skill-list li,
.profession .tool-chip{
  font-family: 'LabMain', system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.profession .resume-cards{
  gap: 10px;
}
.profession .resume-role--photo{
  min-height: 390px;
  border-radius: 8px;
}
.profession .resume-role__ph svg{
  display: none;
}
.profession .resume-role__ph::before{
  content: "GD";
  font-family: var(--h-font);
  font-size: clamp(120px, 14vw, 190px);
  line-height: .8;
  color: rgba(255,242,120,.16);
  transform: rotate(-7deg);
}
.profession .resume-role__label{
  padding: 28px;
}
.profession .resume-role__cap,
.profession .resume-col__cap{
  font-size: 13px;
  font-weight: 700;
}
.profession .resume-role__title{
  font-size: clamp(28px, 3vw, 40px);
  line-height: .98;
}
.profession .resume-main{
  padding: clamp(26px, 3.2vw, 42px);
}
@media (max-width: 799px){
  .profession .prof-block__sub,
  .profession .salary-grid,
  .profession .demand-panel,
  .profession .resume-cards{
    grid-column: 1;
  }
  .profession .resume-role--photo{
    min-height: 300px;
  }
}

/* ===== ч.34 — единая типографика карусели портфолио ===== */
.carousel-card{
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(22px, 3vw, 42px);
  padding: 16px;
  border-radius: 8px;
}
.carousel-visual{
  border-radius: 6px;
  background: rgba(255,250,241,.5);
}
.carousel-step{
  padding: 0;
}
.carousel-img{
  border-radius: 0;
}
.carousel-meta{
  padding: clamp(16px, 2vw, 28px) clamp(8px, 1vw, 16px);
}
.carousel-title-wrap{
  padding: clamp(16px, 2vw, 28px) clamp(8px, 1vw, 16px);
}
.carousel-badge,
.carousel-card .carousel-badge,
.carousel-card .carousel-badge--yellow{
  position: relative;
  margin-bottom: 18px;
  padding: 0 0 0 18px;
  border-radius: 0;
  background: transparent !important;
  color: var(--bordo) !important;
  font-family: 'LabMain', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0 !important;
  text-transform: none;
}
.carousel-badge::before{
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 9px;
  height: 9px;
  background: var(--bordo);
}
.carousel-title.carousel-title{
  margin: 0 0 16px;
  font-family: 'LabMain', system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink) !important;
  text-wrap: balance;
}
.carousel-desc{
  max-width: 44ch;
  margin: 0;
  font-family: 'LabMain', system-ui, sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  color: rgba(29,27,26,.76) !important;
  text-wrap: pretty;
}
.carousel-nav{
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  max-width: none;
  margin: 14px 0 0;
}
.carousel-nav button{
  height: 38px;
  padding: 0;
  border: 1px solid rgba(29,27,26,.18);
  border-radius: 4px;
  background: transparent;
  font-family: 'LabMain', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0 !important;
  color: rgba(29,27,26,.68);
}
.carousel-nav button:hover{
  background: rgba(129,26,25,.06);
  border-color: rgba(129,26,25,.35);
  transform: none;
}
.carousel-nav button.is-active{
  background: var(--bordo);
  border-color: var(--bordo);
  color: var(--paper-3);
}
.carousel-progress{
  height: 2px;
  margin-top: 10px;
  border-radius: 0;
}
@media (max-width: 767px){
  .carousel-card{
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 10px;
  }
  .carousel-meta{
    padding: 20px 10px 16px;
  }
  .carousel-title-wrap{
    padding: 0;
  }
  .carousel-badge,
  .carousel-card .carousel-badge,
  .carousel-card .carousel-badge--yellow{
    margin-bottom: 13px;
    font-size: 12px;
  }
  .carousel-title.carousel-title{
    font-size: clamp(27px, 8vw, 32px);
    margin-bottom: 12px;
  }
  .carousel-desc{
    font-size: 16px;
    line-height: 1.5;
  }
  .carousel-nav{
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  .carousel-nav button{
    height: 34px;
    border-radius: 3px;
    font-size: 11px;
  }
}


/* ===== ч.30 — Бонусы-стек: акцент на заголовок и текст, единый цвет карточек ===== */
/* один цвет для всех карточек — фирменный бордовый */
.bstack-card--bordo, .bstack-card--ink, .bstack-card--sky,
.bstack-card--yellow, .bstack-card--paper{
  background: linear-gradient(165deg, var(--bordo) 0%, var(--bordo-3) 100%) !important;
  border: 0;
}
/* разделитель между сложенными шапками одного цвета */
.bstack-card{
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 250, 241, 0.28);
}
/* текст: кремовый + жёлтый номер — на всех карточках одинаково */
.bstack .bstack-card__title,
.bstack .bstack-card__desc{ color: var(--paper-3) !important; -webkit-text-fill-color: var(--paper-3) !important; opacity: 1; }
.bstack .bstack-card__num{ color: var(--yellow) !important; -webkit-text-fill-color: var(--yellow) !important; }
/* шапка — обычный блок в потоке, крупная, без подложки и блюра */
.bstack .bstack-card__head{
  position: static;
  height: auto;
  min-height: var(--bstack-peek);
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  align-items: flex-start;
  gap: clamp(16px, 2.6vw, 28px);
  padding: clamp(18px, 2vw, 22px) clamp(18px, 4vw, 48px) clamp(14px, 2.2vw, 24px);
  flex: 1;
}
/* картинка — нижняя часть карточки (~45%), текст главнее */
.bstack .bstack-card__media{
  position: static;
  inset: auto;
  flex: none;
  height: 45%;
  margin: 0;
  margin-top: auto;
}
/* крупная типографика */
.bstack-card__num{ font-size: clamp(30px, 3.4vw, 48px) !important; }
.bstack-card__title.bstack-card__title{
  font-size: clamp(30px, 3.8vw, 54px) !important;
  line-height: 0.95 !important;
  white-space: normal;
  display: block;
  overflow: visible;
  text-overflow: clip;
  margin: 0 0 10px;
}
/* шаг стопки — под увеличенную шапку */
.bstack{ --bstack-peek: 116px; }
@media (max-width: 767px){
  .bstack{ --bstack-peek: 112px; }
  .bstack .bstack-card__head{ padding: 18px 18px 12px; gap: 14px; }
  .bstack-card__num{ font-size: 28px !important; }
  .bstack-card__title.bstack-card__title{ font-size: clamp(27px, 7.6vw, 32px) !important; -webkit-line-clamp: unset; }
  .bstack .bstack-card__media{ height: 42%; }
}


/* ===== ч.31 — Бонусы-стек: тёмный цвет вместо красного, шапка по контенту, картинка крупнее ===== */
.bstack-card--bordo, .bstack-card--ink, .bstack-card--sky,
.bstack-card--yellow, .bstack-card--paper{
  background: var(--ink) !important;
}
.bstack-card{ border-top: 1px solid rgba(255, 250, 241, 0.20); }
/* шапка — ровно по содержимому, без растягивания */
.bstack .bstack-card__head{
  flex: none;
  min-height: 0;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 4vw, 48px) clamp(14px, 1.8vw, 20px);
}
/* картинка занимает всё оставшееся место */
.bstack .bstack-card__media{
  flex: 1;
  height: auto;
  margin-top: 0;
  min-height: 0;
}
@media (max-width: 767px){
  .bstack .bstack-card__media{ height: auto; }
}


/* ===== ч.32 — Бонусы-стек: горизонтальные карточки в духе референса Aurora ===== */
.bstack{ padding: 0 clamp(10px, 2vw, 32px); }
.bstack-card{
  border-radius: clamp(20px, 2.6vw, 36px);
  border-top: 0;
  box-shadow: 0 -7px 20px rgba(0, 0, 0, 0.13);
}
/* картинка — вписанная, со скруглениями и полем, как на референсе */
.bstack .bstack-card__media{
  margin: clamp(14px, 2vw, 30px);
  border-radius: clamp(14px, 1.6vw, 24px);
  overflow: hidden;
}
@media (min-width: 768px){
  /* горизонтальная компоновка: текст слева, картинка справа */
  .bstack-card{ flex-direction: row; align-items: stretch; }
  .bstack .bstack-card__head{
    flex: 1 1 55%;
    padding: clamp(22px, 2.4vw, 34px) clamp(24px, 3.4vw, 56px);
    align-items: flex-start;
  }
  .bstack .bstack-card__media{
    flex: 0 0 42%;
    height: auto;
  }
  /* заголовок ещё крупнее — главный акцент */
  .bstack-card__title.bstack-card__title{
    font-size: clamp(38px, 4.2vw, 64px) !important;
    margin: 0 0 14px;
  }
  .bstack-card__num{ font-size: clamp(28px, 2.6vw, 40px) !important; }
}
@media (max-width: 767px){
  .bstack{ padding: 0 10px; }
  .bstack-card{ border-radius: 18px; }
  .bstack .bstack-card__media{ margin: 12px; border-radius: 12px; }
}

/* ч.32b — peek под увеличенный заголовок */
@media (min-width: 768px){
  .bstack{ --bstack-peek: 128px; }
  .bstack .bstack-card__head{ padding-top: 20px; }
  .bstack-card__title.bstack-card__title{ margin-bottom: 10px; }
}


/* ===== ч.33 — Бонусы-стек: композиция как на референсе =====
   Номер-чип сверху, под ним крупный заголовок, описание внизу текстовой зоны
   (воздух между ними), картинка справа портретная, вписанная с полями. */
@media (min-width: 768px){
  .bstack .bstack-card__head{
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px clamp(28px, 4vw, 64px) clamp(24px, 3vw, 44px);
  }
  /* номер — как чип-плашка */
  .bstack .bstack-card__num{
    font-size: 17px !important;
    line-height: 1 !important;
    padding: 7px 16px;
    border: 1px solid rgba(255, 250, 241, 0.4);
    border-radius: 999px;
    margin-bottom: 12px;
  }
  .bstack-card__txt{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }
  .bstack-card__title.bstack-card__title{
    font-size: clamp(40px, 4.4vw, 66px) !important;
    margin: 0 !important;
  }
  /* описание — внизу текстовой зоны, отдельно от заголовка */
  .bstack-card__desc.bstack-card__desc{
    margin-top: auto;
    padding-top: 24px;
    font-size: clamp(16px, 1.4vw, 20px) !important;
    line-height: 1.5 !important;
    max-width: 540px;
    -webkit-line-clamp: 4;
  }
  /* картинка — портретная, вписанная, не на всю высоту */
  .bstack .bstack-card__media{
    flex: 0 0 34%;
    margin: clamp(20px, 2.4vw, 32px);
    border-radius: clamp(18px, 1.8vw, 26px);
    align-self: stretch;
  }
}


/* ===== ч.34 — Бонусы-стек: текст под заголовком, красные плашки номеров,
   типографика как в «Программе курса» ===== */
/* номер — красная плашка, цифры крупнее */
.bstack .bstack-card__num{
  background: var(--bordo) !important;
  border: 0 !important;
  color: var(--paper-3) !important;
  -webkit-text-fill-color: var(--paper-3) !important;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: clamp(22px, 1.9vw, 28px) !important;
  line-height: 1 !important;
}
/* заголовок — как module-title в программе */
.bstack-card__title.bstack-card__title{
  font-size: clamp(40px, 5vw, 72px) !important;
  line-height: 0.92 !important;
  text-wrap: balance;
}
/* описание — сразу под заголовком, как module-result-preview */
.bstack-card__desc.bstack-card__desc{
  margin-top: 18px !important;
  padding-top: 0 !important;
  font-size: clamp(15px, 1.2vw, 18px) !important;
  line-height: 1.5 !important;
  color: rgba(255, 250, 241, 0.66) !important;
  -webkit-text-fill-color: rgba(255, 250, 241, 0.66) !important;
  max-width: 62ch;
}
@media (min-width: 768px){
  .bstack{ --bstack-peek: 140px; }
  .bstack .bstack-card__head{ padding-top: 16px; }
  .bstack .bstack-card__num{ margin-bottom: 10px; }
  .bstack-card__txt{ flex: none; }
}
@media (max-width: 767px){
  .bstack{ --bstack-peek: 132px; }
  .bstack .bstack-card__num{ font-size: 20px !important; padding: 8px 16px; }
  .bstack-card__title.bstack-card__title{ font-size: clamp(28px, 8.2vw, 34px) !important; }
}


/* ===== ч.35 — Бонусы-стек: карточки красные, номер-плашка жёлтая,
   мобильная карточка = та же композиция, что на вебе (текст слева, картинка справа) ===== */
.bstack-card--bordo, .bstack-card--ink, .bstack-card--sky,
.bstack-card--yellow, .bstack-card--paper{
  background: linear-gradient(165deg, var(--bordo) 0%, var(--bordo-3) 100%) !important;
}
/* плашка номера — жёлтая, цифры тёмные */
.bstack .bstack-card__num{
  background: var(--yellow) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
@media (max-width: 767px){
  .bstack{ --bstack-peek: 116px; }
  /* горизонтально, как на веб-версии */
  .bstack-card{ flex-direction: row; align-items: stretch; }
  .bstack .bstack-card__head{
    flex: 1 1 55%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 14px 14px;
  }
  .bstack .bstack-card__num{
    font-size: 16px !important;
    padding: 7px 14px;
    margin-bottom: 8px;
  }
  .bstack-card__txt{ flex: none; display: flex; flex-direction: column; align-items: flex-start; }
  .bstack-card__title.bstack-card__title{ font-size: 24px !important; line-height: 0.95 !important; }
  .bstack .bstack-card__media{
    flex: 0 0 40%;
    height: auto;
    margin: 10px;
    border-radius: 12px;
    align-self: stretch;
  }
}

/* ===== финальная гарантия: Заголовок.otf используется в заголовках ===== */
.hfact__t.hfact__t,
.pay-card__h.pay-card__h,
h1,
h2,
h3,
h4,
h5,
h6,
.section-h,
.oc-title,
.program-intro__title,
.program .module-title.module-title,
.profession .prof-block__h,
.carousel-title.carousel-title,
.resume-role__title,
.bstack-card__title,
.fmt-card__title,
.aud-card__title,
.tier-name{
  font-family: 'LabHeading', 'LabMain', system-ui, sans-serif !important;
}


/* ===== ч.36 — Факты под первым экраном + центрированный лид ===== */
.hfacts-section{ padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.hfacts{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hfact{
  background: var(--paper-3);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hfact--accent{ background: var(--yellow); border-color: transparent; }
.hfact__t{
  font-family: var(--h-font);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}
.hfact__t--big{
  font-family: var(--num-font);
  font-size: clamp(38px, 3.2vw, 52px);
  line-height: 0.9;
}
.hfact__p{
  font-family: var(--t-font);
  font-size: clamp(13.5px, 1vw, 15.5px);
  line-height: 1.45;
  margin: 0;
  color: var(--ink);
  opacity: 0.72;
}
.hfacts-lead{
  font-family: var(--accent-font);
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(22px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  max-width: 900px;
  margin: clamp(34px, 5vw, 64px) auto 0;
}
.hfacts-lead em{
  font-style: normal;
  color: var(--bordo);
  -webkit-text-fill-color: var(--bordo);
}
@media (min-width: 900px){
  .hfacts{ grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .hfact{ padding: 26px 24px; }
}


/* ===== ч.37 — Факты: читаемый основной шрифт (как на референсе), обычный регистр ===== */
.hfact__t{
  font-family: var(--t-font) !important;
  font-weight: 700;
  text-transform: none;
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hfact__t--big{
  font-family: var(--t-font) !important;
  font-weight: 800;
  font-size: clamp(34px, 2.8vw, 46px);
  line-height: 1;
}
.hfact__p{
  font-size: clamp(14px, 1.05vw, 16px) !important;
  line-height: 1.5 !important;
  opacity: 0.78;
}
.hfacts-lead{
  font-family: var(--t-font) !important;
  text-transform: none;
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}


/* ===== ч.38 — Факты: заголовки крупнее ===== */
.hfact .hfact__t{
  font-family: var(--t-font) !important;
  font-size: clamp(24px, 2.2vw, 34px) !important;
  line-height: 1.1 !important;
  font-weight: 700;
  text-transform: none;
}
.hfact .hfact__t--big{
  font-size: clamp(46px, 3.8vw, 62px) !important;
  font-weight: 800;
  line-height: 0.95 !important;
}
.hfact .hfact__p{
  font-size: clamp(15px, 1.15vw, 17px) !important;
}
.hfacts-lead{
  font-size: clamp(24px, 3vw, 42px) !important;
}
@media (max-width: 767px){
  .hfact .hfact__t{ font-size: 22px !important; }
  .hfact .hfact__t--big{ font-size: 42px !important; }
}


/* ===== ч.39 — Орбита: картинки вместо текста ===== */
.brand-orbit__item{ padding: 0; overflow: hidden; }
.brand-orbit__item img{
  max-width: 78%;
  max-height: 66%;
  object-fit: contain;
  display: block;
}
/* фото блогеров — на весь кружок */
.brand-orbit__item--photo img{
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* ===== ч.40 — Бонусы-стек: тонкая полоска в стопке (как Aurora), заголовок по центру,
   мобильная карточка — колонкой (текст сверху, картинка снизу) ===== */
/* верхняя строка: чип-номер + мини-название — это всё, что видно у накрытой карточки */
.bstack-card__top{
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.bstack .bstack-card__num{
  font-size: 15px !important;
  padding: 8px 14px;
  margin-bottom: 0 !important;
}
.bstack-card__mini{
  font-family: var(--t-font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 250, 241, 0.85);
  -webkit-text-fill-color: rgba(255, 250, 241, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (min-width: 768px){
  .bstack{ --bstack-peek: 76px; }
  .bstack .bstack-card__head{
    display: flex;
    flex-direction: column;
    padding: 16px clamp(28px, 4vw, 64px) clamp(24px, 3vw, 44px);
  }
  /* крупный текст — по вертикальному центру левой зоны */
  .bstack-card__txt{
    flex: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .bstack-card__title.bstack-card__title{
    font-size: clamp(36px, 4vw, 60px) !important;
    line-height: 0.92 !important;
    margin: 0 !important;
  }
  .bstack .bstack-card__media{
    flex: 0 0 38%;
    margin: clamp(20px, 2.4vw, 30px);
    border-radius: clamp(18px, 1.8vw, 26px);
  }
}
@media (max-width: 767px){
  .bstack{ --bstack-peek: 64px; }
  /* колонка, как Aurora на мобильном: чип+мини → заголовок+текст → картинка снизу */
  .bstack-card{ flex-direction: column; }
  .bstack .bstack-card__head{
    flex: none;
    display: flex;
    flex-direction: column;
    padding: 12px 16px 4px;
  }
  .bstack .bstack-card__num{ font-size: 13px !important; padding: 7px 12px; }
  .bstack-card__mini{ font-size: 11px; }
  .bstack-card__txt{ flex: none; margin-top: 16px; }
  .bstack-card__title.bstack-card__title{ font-size: clamp(26px, 7.4vw, 32px) !important; margin: 0 !important; }
  .bstack .bstack-card__media{
    flex: 1;
    height: auto;
    margin: 12px;
    border-radius: 14px;
    align-self: stretch;
    min-height: 0;
  }
}

/* ч.40b — низ карточек выровнен: высота уменьшается на peek с каждым индексом,
   последняя карточка полностью видна вместе со всей стопкой шапок */
@media (min-width: 768px){
  .bstack-card{
    height: calc(78vh - var(--i) * var(--bstack-peek));
    height: calc(78svh - var(--i) * var(--bstack-peek));
  }
}
@media (max-width: 767px){
  .bstack-card{
    height: calc(76svh - var(--i) * var(--bstack-peek));
  }
}


/* ===== ч.41 — Бонусы-стек: одна высота у всех карточек, заголовок один раз,
   картинка вплотную к краям (грид 46/54, padding только у текста) ===== */
.bstack{ --bstack-peek: 60px; }
.bstack-card{
  display: grid !important;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  height: auto !important;
  min-height: 440px;
  border-radius: 28px;
  overflow: hidden;
  padding: 0;
}
/* дубль заголовка убран — в свёрнутой полоске остаётся только чип с номером */
.bstack-card__mini{ display: none; }
/* текстовая колонка — собственные отступы */
.bstack .bstack-card__head{
  padding: 20px 20px 26px 28px !important;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bstack-card__txt{
  flex: 1 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.bstack-card__title.bstack-card__title{
  font-size: clamp(28px, 3.1vw, 46px) !important;
  line-height: 0.92 !important;
  margin: 0 !important;
}
/* картинка — от края до края, без полей и скруглений внутри */
.bstack .bstack-card__media{
  margin: 0 !important;
  border-radius: 0 !important;
  height: 100% !important;
  min-height: 100%;
  flex: none;
  align-self: stretch;
}
.bstack .bstack-card__media img{ width: 100%; height: 100%; display: block; object-fit: cover; }
@media (min-width: 768px){
  .bstack{ --bstack-peek: 60px; }
  .bstack-card{ min-height: 460px; }
}
@media (max-width: 767px){
  .bstack{ --bstack-peek: 50px; }
  /* две колонки и на мобильном */
  .bstack-card{ grid-template-columns: 46% 54%; min-height: 400px; border-radius: 20px; }
  .bstack .bstack-card__head{ padding: 12px 10px 16px 14px !important; }
  .bstack .bstack-card__num{ font-size: 12px !important; padding: 6px 10px; }
  .bstack-card__title.bstack-card__title{ font-size: clamp(19px, 5.2vw, 22px) !important; }
}


/* ===== ч.42 — Программа: видео крупнее ===== */
@media (min-width: 980px){
  .program .module__body{
    grid-template-columns: minmax(480px, 1.3fr) minmax(0, 1fr) !important;
    gap: clamp(24px, 3vw, 48px) !important;
    padding-left: clamp(30px, 5vw, 90px) !important;
  }
  .program .module-preview.has-video{ aspect-ratio: 16 / 9; }
}
@media (min-width: 768px) and (max-width: 979px){
  .module-preview.has-video{ aspect-ratio: 16 / 9; }
}


/* ===== ч.43 — Мобильный герой: только красная кнопка (плашки убраны) ===== */
@media (max-width: 767px){
  .hero--scrub .hero-scrub__facts{ display: none !important; }
  .hero-scrub__inner{ justify-content: center; }
}

/* ===== ч.43b — Орбита брендов: на мобильном во всю ширину экрана, крупнее ===== */
@media (max-width: 680px){
  .brands-orbit{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    --r-out: 42vw; --r-mid: 27vw; --r-in: 15vw;
    height: calc(var(--r-out) * 2 + 16vw + 20px);
  }
  .brand-orbit__item--out{ --node: 16vw; --radius: var(--r-out); }
  .brand-orbit__item--mid{ --node: 13vw; --radius: var(--r-mid); }
  .brand-orbit__item--in { --node: 10.5vw; --radius: var(--r-in); }
  .brands-orbit__center{ width: 18vw; height: 18vw; }
  .brands-orbit__center span{ font-size: 3.4vw; }
  .brands-orbit__center b{ font-size: 2.3vw; }
}


/* ===== ч.44 — Профессия: крупнее заголовки блоков «Сколько зарабатывают»,
   «Сколько вакансий на рынке», «Ваше резюме» (единый размер) ===== */
.profession .prof-block__h{
  font-size: clamp(32px, 3.4vw, 46px) !important;
}


/* ===== ч.45 — Портфолио «15 работ»: editorial-типографика (воздух, читаемость, иерархия) ===== */
/* Проблема: заголовок шёл конденсированным LabHeading (Coolvetica) — буквы слипались.
   Переводим заголовок на основной LabMain, добавляем межбуквенный и межстрочный воздух,
   увеличиваем текст, разводим категорию → заголовок → описание. Структура/сетка не тронуты. */

/* Подпись категории — заметнее, спокойнее, слегка разрежена */
#after .carousel-badge,
#after .carousel-card .carousel-badge,
#after .carousel-card .carousel-badge--yellow{
  margin-bottom: clamp(18px, 1.6vw, 26px) !important;
  padding-left: 22px !important;
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-size: clamp(15px, 1.05vw, 16px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: rgba(129,26,25,.7) !important;
}
#after .carousel-badge::before{
  top: .18em !important;
  width: 8px !important;
  height: 8px !important;
  background: rgba(129,26,25,.7) !important;
}

/* Заголовок карточки — не конденсированный, воздух между буквами и строками, максимум 2 строки */
#after .carousel-title.carousel-title{
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-size: clamp(2rem, 3vw, 3.4rem) !important;   /* 32 → 54.4px */
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
  margin: 0 0 clamp(18px, 1.8vw, 28px) !important;
  max-width: 16ch;
  text-wrap: balance;
}

/* Описание — крупнее, комфортная длина строки (28–34 знака) */
#after .carousel-desc{
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem) !important; /* ~17 → 20.8px */
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: .004em !important;
  max-width: 32ch !important;
  color: rgba(29,27,26,.74) !important;
  text-wrap: pretty;
}

/* Текстовая колонка — больше внутренних отступов, дистанция от изображения */
#after .carousel-title-wrap{
  padding: clamp(24px, 2.6vw, 42px) clamp(22px, 2.4vw, 42px) !important;
}
#after .carousel-meta{
  padding: clamp(20px, 2.4vw, 36px) clamp(16px, 2vw, 32px) !important;
}

/* Мобильная типографика — отдельная, а не масштабирование десктопа */
@media (max-width: 767px){
  #after .carousel-badge,
  #after .carousel-card .carousel-badge,
  #after .carousel-card .carousel-badge--yellow{
    font-size: 15px !important;
    letter-spacing: .05em !important;
    margin-bottom: 16px !important;
  }
  #after .carousel-title.carousel-title{
    font-size: clamp(2.25rem, 9vw, 2.6rem) !important;  /* 36 → 41.6px */
    line-height: 1.18 !important;
    letter-spacing: .015em !important;
    margin-bottom: 14px !important;
    max-width: none;
  }
  #after .carousel-desc{
    font-size: 17.5px !important;
    line-height: 1.6 !important;
    max-width: 34ch !important;
  }
  #after .carousel-title-wrap{
    padding: 6px 2px 0 !important;
  }
  #after .carousel-meta{
    padding: 22px 14px 18px !important;
  }
}


/* ===== ч.46 — Портфолио: картинку уже, текст шире (заголовок в 2 строки) ===== */
@media (min-width: 768px){
  #after .carousel-card{
    grid-template-columns: minmax(0, 1fr) minmax(400px, .96fr) !important;
    gap: clamp(20px, 2.6vw, 40px) !important;
  }
  #after .carousel-title.carousel-title{
    max-width: 20ch !important;
  }
  #after .carousel-desc{
    max-width: 40ch !important;
  }
}


/* ===== ч.47 — Чистая карьерная история: профессия → навыки → старт ===== */
.about-course{
  padding: clamp(64px, 8vw, 112px) 0 !important;
  text-align: left !important;
}
.about-course__wrap{
  max-width: 1180px !important;
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about-course .oc-label{
  margin: 10px 0 0 !important;
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}
.about-course .oc-body{
  max-width: 860px !important;
  margin: 0 !important;
}
.about-course .oc-title{
  margin: 0 0 clamp(28px, 3vw, 44px);
  max-width: 14ch;
  font-size: clamp(54px, 6.5vw, 96px) !important;
  line-height: .92 !important;
  text-wrap: balance;
}
.about-course .oc-body p{
  max-width: 42ch;
  margin: 0 0 18px !important;
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-size: clamp(19px, 1.7vw, 25px) !important;
  font-weight: 500 !important;
  line-height: 1.48 !important;
  text-align: left !important;
  text-wrap: pretty;
}

.profession{
  padding: clamp(72px, 9vw, 126px) 0 !important;
  background: #f4f1e8;
}
.profession .section-head{
  max-width: 1160px;
  margin: 0 auto clamp(40px, 5vw, 72px) !important;
}
.profession .section-h{
  max-width: 13ch;
  margin-left: auto !important;
  margin-right: auto !important;
}

.compare .cmp-list .cmp-row:nth-child(n+6){ display: none; }
.compare-note{
  max-width: 620px;
  margin: 32px 0 0;
  font-family: 'LabMain', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(29,27,26,.62);
  text-wrap: pretty;
}

@media (max-width: 767px){
  .about-course__wrap{ display: block; }
  .about-course .oc-label{ display: block; margin-bottom: 34px !important; }
  .about-course .oc-title{
    font-size: clamp(47px, 14vw, 66px) !important;
    max-width: 12ch;
  }
  .about-course .oc-body p{ font-size: 18px !important; }
  .compare-note{ margin-top: 24px; font-size: 13px; }
}


/* ===== ч.48 — Возвращаем формат резюме и снижаем громкость вводного текста ===== */
.about-course .oc-statement{
  max-width: 38ch !important;
  font-size: clamp(25px, 2.6vw, 38px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--ink);
}
.profession .resume-cards--result{
  display: grid !important;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: stretch !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.profession .resume-role--photo{
  min-height: 620px;
  border-radius: 8px !important;
  overflow: hidden;
  background: #8f1d1c !important;
}
.profession .resume-role__ph{
  background: rgba(255,250,241,.08) !important;
}
.profession .resume-role__label{
  padding: 28px !important;
}
.profession .resume-role__portfolio{
  display: block;
  margin-top: 16px;
  font-family: 'LabMain', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255,250,241,.78);
}
.profession .resume-main{
  padding: clamp(28px, 3.4vw, 48px) !important;
  border: 1px solid rgba(29,27,26,.12) !important;
  border-radius: 8px !important;
  background: #fffaf1 !important;
}
.profession .resume-col__cap{
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.profession .skill-list--2col{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 28px !important;
}
.profession .skill-list li{
  padding: 16px 0 !important;
  border-top: 1px solid rgba(29,27,26,.12);
  font-family: 'LabMain', system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

@media (max-width: 767px){
  .about-course .oc-statement{ font-size: 24px !important; }
  .profession .resume-cards--result{
    grid-template-columns: 1fr !important;
  }
  .profession .resume-role--photo{ min-height: 440px; }
  .profession .resume-main{ padding: 24px 20px !important; }
  .profession .skill-list--2col{ grid-template-columns: 1fr !important; }
}


/* ===== ч.47 — Пакет правок 2–9 ===== */

/* Правка 2 — «Программа курса»: заголовок имеет max-width:1080px и margin:0,
   из-за чего прижат влево. Авто-отступы центрируют его относительно контента раздела. */
.program-intro__title.program-intro__title{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Правка 3 — номера этапов (01,02…) выровнять по левому краю блока видео.
   Видео/контент начинается с padding-left:64px (5vw) внутри body; даём summary тот же
   левый отступ, чтобы левый край цифр совпал с левым краем видео. */
@media (min-width: 768px){
  .program .module summary{
    padding-left: clamp(30px, 5vw, 90px) !important;
  }
}

/* Правка 4 — «15 работ»: заголовки не должны «прыгать».
   Крепим содержимое карточки к верху и резервируем под заголовок высоту в 2 строки —
   тогда бейдж и заголовок стоят на одной линии, а вниз смещается только описание. */
@media (min-width: 768px){
  #after .carousel-title-wrap{
    justify-content: flex-start !important;
  }
  #after .carousel-title.carousel-title{
    min-height: 2.4em;   /* 2 строки при line-height 1.2 */
  }
}

/* Правка 5 — «Что вы получите, кроме уроков»: единый увеличенный размер заголовков карточек */
.bstack-card__title.bstack-card__title{
  font-size: clamp(36px, 4.2vw, 58px) !important;
}
@media (max-width: 767px){
  .bstack-card__title.bstack-card__title{
    font-size: clamp(28px, 7.6vw, 36px) !important;
  }
}

/* Правка 6 — «Осталось до старта»: дата «5 августа» заметно крупнее остального заголовка */
.cd-panel__title .cd-date{
  display: inline-block;
  font-size: 1.42em;
  font-weight: 900;
  line-height: 1;
  color: var(--yellow);
  -webkit-text-fill-color: var(--yellow);
  vertical-align: -0.06em;
}

/* Правка 7 — кнопка «Сравнить тарифы»: основной шрифт, без жирного (размер/цвет/отступы не трогаем) */
.btn--compare.btn--compare{
  font-family: var(--t-font) !important;
  font-weight: 400 !important;
}

/* Правка 8 — «Можно оплатить частями»: заголовки рассрочек основным шрифтом, Regular */
.pay-card__h.pay-card__h{
  font-family: var(--t-font), system-ui, sans-serif !important;
  font-weight: 400 !important;
}

/* Правка 9 — «Что даёт предзаказ»:
   дата «5 авг» — заглавными и главный акцент; подписи преимуществ — основной шрифт, Regular. */
.preorder-card__big{
  text-transform: uppercase !important;
}
.preorder-card__t{
  font-family: var(--t-font), system-ui, sans-serif !important;
  font-weight: 400 !important;
  text-transform: none !important;
}


/* ===== ч.48 — Правки 10–11 + мобильные ===== */

/* Дата предзаказа «5 августа» без сокращения — влезает в одну строку, остаётся акцентом */
.preorder-card__big--date{
  font-size: clamp(30px, 6.2vw, 46px) !important;
  white-space: nowrap;
}

/* Правка 10 — «Курс для вас, если вы…»: нумерация 01/03 основным шрифтом, без курсива */
.aud-card__tag{
  font-family: var(--t-font), system-ui, sans-serif !important;
  font-style: normal !important;
}

/* Правка 11 — «Кейсы учеников»: доход крупнее, единым размером на всех карточках */
.case__result.case__result{
  font-size: clamp(24px, 2.2vw, 32px) !important;
}
@media (max-width: 767px){
  .case__result.case__result{
    font-size: 28px !important;
  }
}

/* Мобильный 1 — «Программа курса»: заголовок строго по центру */
@media (max-width: 767px){
  .program-intro{ text-align: center !important; }
  .program-intro__title.program-intro__title{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Мобильный 2 — «7 этапов»: светлый фон модулей на всю ширину экрана (за края),
   чтобы по бокам не было полос тёмного фона и коротких разделителей.
   Текст внутри держим на безопасном отступе. */
@media (max-width: 767px){
  .program .module-list{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .program .module summary,
  .program .module__body{
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}


/* ===== ч.49 — Орбита брендов: шире на десктопе + убрать центральный круг ===== */
/* Центральный круг «10 000+ учеников» убираем на всех разрешениях */
.brands-orbit__center{ display: none !important; }

/* Десктоп: увеличиваем радиусы колец, чтобы орбита была шире и ближе к краям */
@media (min-width: 681px){
  .brands-orbit{
    --r-out: 430px; --r-mid: 268px; --r-in: 132px;
    height: calc(var(--r-out) * 2 + 100px + 48px) !important;
  }
}


/* ===== ч.50 — Бонусы-стек на МОБИЛЬНОМ: вертикальная карточка (номер → заголовок →
   описание → картинка снизу на всю ширину), как на референсе. Десктоп не трогаем. ===== */
@media (max-width: 767px){
  /* peek показывает чип с номером + заголовок накрытой карточки */
  .bstack{ --bstack-peek: 132px !important; }

  .bstack-card{
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    height: 80svh !important;          /* равномерная высота (низы не выравниваем) */
    min-height: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  /* текстовая зона сверху — по содержимому, прижата к верху */
  .bstack .bstack-card__head{
    flex: 0 0 auto !important;
    padding: 18px 18px 20px !important;
  }
  .bstack-card__txt{
    justify-content: flex-start !important;
  }
  .bstack-card__title.bstack-card__title{
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 0.98 !important;
  }
  .bstack-card__desc.bstack-card__desc{
    font-size: 14.5px !important;
    line-height: 1.42 !important;
    margin-top: 10px !important;
    -webkit-line-clamp: 4;
  }

  /* картинка — снизу, на всю ширину, заполняет остаток высоты карточки */
  .bstack .bstack-card__media{
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    align-self: stretch !important;
    overflow: hidden !important;
  }
  .bstack .bstack-card__media img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}


/* ===== ч.51 — Бонусы-стек: детальные списки внутри карточек (4 пункта) ===== */
.bstack .bstack-card__lead{
  margin: 10px 0 0;
  font-family: var(--t-font);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.3;
  color: var(--paper-3); -webkit-text-fill-color: var(--paper-3);
  opacity: .96;
}
.bstack .bstack-card__sub{
  margin: 14px 0 10px;
  font-family: var(--t-font);
  font-weight: 600;
  font-size: clamp(14px, 1.35vw, 18px);
  color: var(--paper-3); -webkit-text-fill-color: var(--paper-3);
  opacity: .96;
}
.bstack .bstack-card__list{
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 9px;
}
.bstack .bstack-card__list li{
  position: relative;
  padding-left: 20px;
  font-family: var(--t-font);
  font-weight: 500;
  font-size: clamp(13.5px, 1.15vw, 16px);
  line-height: 1.4;
  color: var(--paper-3); -webkit-text-fill-color: var(--paper-3);
  opacity: .94;
}
.bstack .bstack-card__list li::before{
  content: "";
  position: absolute; left: 3px; top: .5em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow);
}
/* текст сверху, выравнивание к верху — длинные списки не обрезаем */
.bstack .bstack-card__txt{ justify-content: flex-start !important; }

/* высота карточек — под контент (списки разной длины) */
@media (min-width: 768px){
  .bstack-card.bstack-card{ height: auto !important; min-height: 460px !important; }
  .bstack .bstack-card__head{ justify-content: flex-start !important; }
}
@media (max-width: 767px){
  .bstack-card.bstack-card{ height: auto !important; min-height: 0 !important; }
  .bstack .bstack-card__media{ flex: 0 0 auto !important; height: 210px !important; min-height: 0 !important; }
}


/* ===== ч.52 — Карусель портфолио: реальные работы портретные — показываем целиком ===== */
#after .carousel-img{
  object-fit: contain !important;
  background: var(--paper-3);
}


/* ===== ч.53 — Лента «Работы учеников»: реальные работы портретные — показываем целиком ===== */
.works-marquee .work-tile img{
  object-fit: contain !important;
  background: var(--paper-3);
}


/* ===== ч.54 — «О профессии» (после видео): чёткая типографическая иерархия ===== */
/* специфичность p.oc-statement / p.reveal-d1 перебивает .oc-body p */
.about-course .oc-body p.oc-statement{
  max-width: 22ch !important;
  font-size: clamp(26px, 2.7vw, 40px) !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  letter-spacing: -.015em !important;
  color: var(--ink) !important;
  margin: 0 0 22px !important;
  text-wrap: balance;
}
.about-course .oc-body p.reveal-d1{
  max-width: 46ch !important;
  font-size: clamp(17px, 1.5vw, 20px) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: -.005em !important;
  color: rgba(29, 27, 26, .64) !important;
  margin: 0 !important;
}
@media (max-width: 767px){
  .about-course .oc-body p.oc-statement{
    font-size: clamp(22px, 6.4vw, 28px) !important;
    max-width: 100% !important;
    line-height: 1.3 !important;
  }
  .about-course .oc-body p.reveal-d1{
    font-size: 16px !important;
    max-width: 100% !important;
  }
}


/* ===== ч.55 — «О профессии»: центрированная композиция под видео (перебивает 2-колоночную сетку) ===== */
.about-course .about-course__wrap{
  display: block !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.about-course .oc-body{
  display: block !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.about-course .oc-body p{
  text-align: center !important;
  text-align-last: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.about-course .oc-body p.oc-statement{
  max-width: 38ch !important;
  font-size: clamp(23px, 2.3vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1.32 !important;
  letter-spacing: -.015em !important;
  color: var(--ink) !important;
  margin: 0 auto 22px !important;
  text-wrap: balance;
}
.about-course .oc-body p.reveal-d1{
  max-width: 46ch !important;
  font-size: clamp(16px, 1.5vw, 19px) !important;
  font-weight: 500 !important;
  line-height: 1.62 !important;
  letter-spacing: -.005em !important;
  color: rgba(29, 27, 26, .6) !important;
  margin: 0 auto !important;
  text-wrap: pretty;
}
@media (max-width: 767px){
  .about-course .about-course__wrap{ max-width: 100% !important; }
  .about-course .oc-body p.oc-statement{
    max-width: 100% !important;
    font-size: clamp(21px, 5.8vw, 26px) !important;
    line-height: 1.32 !important;
  }
  .about-course .oc-body p.reveal-d1{
    max-width: 100% !important;
    font-size: 15.5px !important;
  }
}


/* ===== ч.56 — «Ваше резюме после курса»: снимаем узкое ограничение ширины,
   чтобы заголовок был крупным и в одну строку (как «Навык, который начинает окупаться») ===== */
#profession .section-h.section-h{
  max-width: none !important;
}


/* ===== ч.57 — Факты под первым экраном: чуть больше расстояния между карточками ===== */
.hfacts{ gap: 16px; }
@media (min-width: 900px){
  .hfacts{ gap: 24px; }
}
.hfacts-lead{ margin-top: clamp(30px, 3.6vw, 52px) !important; }


/* ===== ч.58 — Плашка «Бесплатная консультация»: показ после первого экрана,
   скрытие у тарифов/формы/футера, компактная иконка на мобильном ===== */
.consult{
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.consult.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.consult.is-hidden-pricing,
.consult.is-hidden-contact,
.consult.is-near-footer{
  opacity: 0 !important;
  transform: translateY(24px) !important;
  pointer-events: none !important;
}
/* Мобильный/планшет: компактная иконка над кнопкой предзаказа (не перекрывает контент) */
@media (max-width: 1023px){
  .consult{
    display: flex;
    left: 16px;
    bottom: 84px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .consult__pill{ display: none; }
  .consult__icon{
    width: 52px; height: 52px;
    border-radius: 50%;
    box-shadow: 0 14px 30px -12px rgba(0,0,0,.55);
  }
}


/* ===== ч.59 — «Курс в подарок» + Кейсы «До/После» ===== */
/* метка на карточках курсов-подарков */
.bstack .bstack-card__top{ flex-wrap: wrap; align-items: center; gap: 12px; }
.bstack .bstack-card__gift{
  display: inline-flex; align-items: center;
  padding: 7px 13px; border-radius: 999px;
  background: var(--yellow);
  color: var(--ink); -webkit-text-fill-color: var(--ink);
  font-family: var(--t-font); font-weight: 700;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .02em; text-transform: uppercase;
  line-height: 1; white-space: nowrap;
}

/* кейсы: разделение До / После */
.case .case__ba{
  display: grid; gap: 10px;
  margin: 0; flex: 1;
}
.case .case__ba-row{
  display: grid; grid-template-columns: auto 1fr;
  gap: 10px; align-items: start; margin: 0;
  font-size: 14.5px; line-height: 1.45; color: #3d322c;
}
.case .case__tag{
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--t-font); font-weight: 700;
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.5; white-space: nowrap;
}
.case .case__tag--before{ background: rgba(29,27,26,.09); color: #7a6e64; }
.case .case__tag--after{ background: var(--bordo); color: #fff; -webkit-text-fill-color:#fff; }


/* ===== ч.61 — Кейсы «До/После»: ровное выравнивание (одинаковая ширина меток) ===== */
.case .case__ba{ gap: 12px; }
.case .case__tag{
  min-width: 70px;
  justify-content: center;
  text-align: center;
}
.case .case__ba-row{ align-items: baseline; }


/* ===== ч.62 — Резюме: реальные логотипы программ/нейросетей ===== */
.tool-logos{
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px 20px; margin-top: 14px;
}
.tool-logo{
  height: 46px; width: auto; max-width: 120px;
  object-fit: contain; display: block;
}
.tool-logo--wide{ height: 30px; }
@media (max-width: 767px){
  .tool-logos{ gap: 14px 16px; }
  .tool-logo{ height: 38px; }
  .tool-logo--wide{ height: 24px; }
}

/* ===== hfacts transparent bordo gradient 2026-07-14 ===== */
.hfacts-section{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(38px, 5vw, 72px) !important;
  padding-bottom: clamp(36px, 5vw, 72px) !important;
}
.hfacts-section::before{
  content: "";
  position: absolute;
  inset: 8% max(16px, calc((100vw - var(--maxw)) / 2)) 16%;
  z-index: -1;
  border-radius: clamp(28px, 4vw, 58px);
  background:
    radial-gradient(circle at 22% 18%, rgba(129, 26, 25, 0.16), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(255, 242, 120, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(129, 26, 25, 0.08), rgba(255, 250, 241, 0.18) 42%, rgba(129, 26, 25, 0.10));
  filter: blur(0.2px);
  pointer-events: none;
}
.hfacts{
  gap: clamp(12px, 1.6vw, 20px) !important;
}
.hfacts .hfact{
  position: relative;
  min-height: clamp(210px, 18vw, 270px);
  padding: clamp(22px, 2.5vw, 34px) !important;
  border: 1px solid rgba(129, 26, 25, 0.18) !important;
  border-radius: clamp(24px, 2.2vw, 34px) !important;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.82), rgba(255, 250, 241, 0.48)) padding-box,
    linear-gradient(135deg, rgba(129, 26, 25, 0.30), rgba(255, 242, 120, 0.18), rgba(129, 26, 25, 0.12)) border-box !important;
  box-shadow: 0 18px 46px rgba(60, 49, 45, 0.08) !important;
  overflow: hidden;
}
.hfacts .hfact::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(129, 26, 25, 0.10), transparent 36%),
    linear-gradient(135deg, transparent 0 54%, rgba(129, 26, 25, 0.06) 54% 100%);
  opacity: 0.9;
  pointer-events: none;
}
.hfacts .hfact::after{
  content: "0" counter(hfact);
  counter-increment: hfact;
  position: absolute;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(16px, 1.8vw, 26px);
  font-family: var(--num-font);
  font-size: clamp(28px, 2.7vw, 46px);
  line-height: 0.9;
  color: rgba(129, 26, 25, 0.16);
  -webkit-text-fill-color: rgba(129, 26, 25, 0.16);
  pointer-events: none;
}
.hfacts{ counter-reset: hfact; }
.hfacts .hfact > *{
  position: relative;
  z-index: 1;
}
.hfacts .hfact__t{
  max-width: 310px;
  font-family: var(--h-font) !important;
  font-size: clamp(34px, 3vw, 52px) !important;
  line-height: 0.9 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  color: var(--bordo) !important;
  -webkit-text-fill-color: var(--bordo) !important;
}
.hfacts .hfact__p{
  max-width: 300px;
  margin-top: auto !important;
  font-size: clamp(15px, 1.05vw, 17px) !important;
  line-height: 1.42 !important;
  color: rgba(29, 27, 26, 0.68) !important;
  opacity: 1 !important;
}
.hfacts .hfact--accent{
  background:
    linear-gradient(145deg, rgba(255, 242, 120, 0.92), rgba(255, 248, 154, 0.70)) padding-box,
    linear-gradient(135deg, rgba(129, 26, 25, 0.30), rgba(255, 242, 120, 0.28), rgba(129, 26, 25, 0.16)) border-box !important;
  border-color: rgba(129, 26, 25, 0.14) !important;
}
.hfacts .hfact--accent::before{
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 250, 241, 0.34), transparent 36%),
    linear-gradient(135deg, transparent 0 54%, rgba(129, 26, 25, 0.07) 54% 100%);
}
.hfacts .hfact--accent .hfact__t{
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.hfacts .hfact--accent::after{
  color: rgba(29, 27, 26, 0.18);
  -webkit-text-fill-color: rgba(29, 27, 26, 0.18);
}
@media (min-width: 900px){
  .hfacts .hfact:nth-child(2),
  .hfacts .hfact:nth-child(4){
    transform: translateY(clamp(18px, 2vw, 30px));
  }
}
@media (max-width: 767px){
  .hfacts .hfact{
    min-height: 178px;
    padding: 22px !important;
  }
  .hfacts .hfact__t{
    font-size: clamp(30px, 9vw, 42px) !important;
  }
  .hfacts .hfact::after{
    font-size: 30px;
  }
}
/* ===== hfacts true transparent cleanup 2026-07-14 ===== */
.hfacts-section::before{
  opacity: 0.48 !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(129, 26, 25, 0.10), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(255, 242, 120, 0.10), transparent 28%) !important;
}
.hfacts .hfact{
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.34), rgba(255, 250, 241, 0.10)) padding-box,
    linear-gradient(135deg, rgba(129, 26, 25, 0.36), rgba(129, 26, 25, 0.12), rgba(255, 242, 120, 0.18)) border-box !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hfacts .hfact::before{
  background:
    radial-gradient(circle at 18% 10%, rgba(129, 26, 25, 0.08), transparent 38%),
    linear-gradient(135deg, transparent 0 62%, rgba(129, 26, 25, 0.035) 62% 100%) !important;
  opacity: 0.72 !important;
}
.hfacts .hfact::after{
  color: rgba(129, 26, 25, 0.12) !important;
  -webkit-text-fill-color: rgba(129, 26, 25, 0.12) !important;
}
.hfacts .hfact--accent{
  background:
    linear-gradient(145deg, rgba(255, 242, 120, 0.62), rgba(255, 242, 120, 0.22)) padding-box,
    linear-gradient(135deg, rgba(129, 26, 25, 0.30), rgba(255, 242, 120, 0.22), rgba(129, 26, 25, 0.10)) border-box !important;
  box-shadow: none !important;
}
.hfacts .hfact--accent::before{
  background: radial-gradient(circle at 82% 12%, rgba(255, 250, 241, 0.24), transparent 38%) !important;
}
.hfacts .hfact:hover{
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.46), rgba(255, 250, 241, 0.16)) padding-box,
    linear-gradient(135deg, rgba(129, 26, 25, 0.46), rgba(129, 26, 25, 0.16), rgba(255, 242, 120, 0.20)) border-box !important;
}
/* ============ ч.63 — ОТЗЫВЫ: фото-аватарки (телеграм-стиль) ============ */
.testi-card-v2__avatar--img{
  background:#ece4d8;
  overflow:hidden;
}
.testi-card-v2__avatar--img img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}
/* на акцентных карточках фото-аватарка без градиента */
.testi-card-v2.is-accent .testi-card-v2__avatar--img{
  background:#ece4d8;
}

/* ===== hfacts real glass attempt 2026-07-14 ===== */
.hfacts-section{
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
}
.hfacts-section::before{
  content: "" !important;
  position: absolute !important;
  inset: clamp(18px, 3vw, 42px) max(18px, calc((100vw - var(--maxw)) / 2)) clamp(24px, 4vw, 56px) !important;
  z-index: -2 !important;
  border-radius: clamp(30px, 4vw, 58px) !important;
  background:
    linear-gradient(118deg,
      rgba(129, 26, 25, 0.34) 0%,
      rgba(129, 26, 25, 0.10) 34%,
      rgba(255, 242, 120, 0.18) 58%,
      rgba(129, 26, 25, 0.22) 100%) !important;
  opacity: 1 !important;
  filter: none !important;
}
.hfacts-section::after{
  content: "";
  position: absolute;
  inset: clamp(38px, 5vw, 78px) max(38px, calc((100vw - var(--maxw)) / 2 + 36px)) clamp(46px, 6vw, 86px);
  z-index: -1;
  border-radius: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.16), rgba(255, 250, 241, 0.02)),
    repeating-linear-gradient(135deg, rgba(255, 250, 241, 0.14) 0 1px, transparent 1px 30px);
  opacity: 0.75;
  pointer-events: none;
}
.hfacts .hfact{
  background: rgba(255, 250, 241, 0.18) !important;
  border: 1px solid rgba(255, 250, 241, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 241, 0.55),
    inset 0 -1px 0 rgba(129, 26, 25, 0.08) !important;
  backdrop-filter: blur(18px) saturate(1.24) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.24) !important;
}
.hfacts .hfact::before{
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.34) 0%, transparent 38%),
    linear-gradient(315deg, rgba(129, 26, 25, 0.08), transparent 44%) !important;
  opacity: 1 !important;
}
.hfacts .hfact::after{
  color: rgba(255, 250, 241, 0.36) !important;
  -webkit-text-fill-color: rgba(255, 250, 241, 0.36) !important;
}
.hfacts .hfact__t{
  color: var(--bordo) !important;
  -webkit-text-fill-color: var(--bordo) !important;
}
.hfacts .hfact__p{
  color: rgba(29, 27, 26, 0.72) !important;
}
.hfacts .hfact--accent{
  background: rgba(255, 242, 120, 0.36) !important;
  border-color: rgba(255, 250, 241, 0.42) !important;
}
.hfacts .hfact--accent .hfact__t{
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.hfacts .hfact:hover{
  background: rgba(255, 250, 241, 0.26) !important;
}
.hfacts .hfact--accent:hover{
  background: rgba(255, 242, 120, 0.44) !important;
}
@media (max-width: 767px){
  .hfacts-section::before{
    inset: 16px 12px 26px !important;
    border-radius: 28px !important;
  }
  .hfacts-section::after{
    inset: 34px 24px 44px !important;
    border-radius: 24px !important;
  }
}
/* ============ ч.64 — ОТЗЫВЫ: аватарка рядом с ником ============ */
.testi-card-v2__foot{
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 12px;
}
.testi-card-v2__avatar{ width: 44px; height: 44px; }

/* ============ ч.65 — ОТЗЫВЫ: ник основным шрифтом, строчными ============ */
.testi-card-v2 .testi-card-v2__name.testi-card-v2__name{
  font-family: var(--t-font) !important;
  text-transform: none !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: var(--ink);
}
.testi-card-v2.is-accent .testi-card-v2__name.testi-card-v2__name{ color:#fff; }
.testi-card-v2.is-accent--navy .testi-card-v2__name.testi-card-v2__name{ color: var(--ink); }

/* ===== hfacts beige cards with bordo titles and numbering 2026-07-14 ===== */
.hfacts-section{
  position: relative !important;
  isolation: auto !important;
  overflow: visible !important;
  padding-top: clamp(28px, 4vw, 48px) !important;
  padding-bottom: clamp(28px, 4vw, 48px) !important;
  background: transparent !important;
}
.hfacts-section::before,
.hfacts-section::after{
  display: none !important;
  content: none !important;
}
.hfacts{
  counter-reset: hfact;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.5vw, 18px) !important;
}
.hfacts .hfact{
  counter-increment: hfact;
  position: relative;
  min-height: clamp(210px, 18vw, 270px);
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px !important;
  padding: clamp(22px, 2.5vw, 34px) !important;
  overflow: hidden;
  border: 1px solid rgba(29, 27, 26, 0.07) !important;
  border-radius: clamp(22px, 2vw, 30px) !important;
  background: linear-gradient(145deg, var(--paper-3) 0%, rgba(255, 250, 241, 0.82) 100%) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.045) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}
.hfacts .hfact::before{
  content: "" !important;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(129, 26, 25, 0.055), transparent 34%),
    linear-gradient(135deg, transparent 0 58%, rgba(129, 26, 25, 0.035) 58% 100%) !important;
  opacity: 1 !important;
  pointer-events: none;
}
.hfacts .hfact::after{
  content: "0" counter(hfact) !important;
  position: absolute;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(16px, 1.8vw, 26px);
  font-family: var(--num-font);
  font-size: clamp(28px, 2.7vw, 46px);
  line-height: 0.9;
  color: rgba(129, 26, 25, 0.16) !important;
  -webkit-text-fill-color: rgba(129, 26, 25, 0.16) !important;
  pointer-events: none;
}
.hfacts .hfact > *{
  position: relative;
  z-index: 1;
}
.hfacts .hfact__t{
  max-width: 330px;
  margin: 0 !important;
  font-family: var(--h-font) !important;
  font-size: clamp(33px, 3vw, 52px) !important;
  line-height: 0.9 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  color: var(--bordo) !important;
  -webkit-text-fill-color: var(--bordo) !important;
}
.hfacts .hfact__p{
  max-width: 310px;
  margin: auto 0 0 !important;
  padding-right: clamp(28px, 3vw, 58px);
  font-size: clamp(15px, 1.05vw, 17px) !important;
  line-height: 1.42 !important;
  color: rgba(29, 27, 26, 0.68) !important;
  opacity: 1 !important;
}
.hfacts .hfact--accent{
  background: linear-gradient(145deg, var(--yellow) 0%, var(--yellow-light) 100%) !important;
  border-color: rgba(29, 27, 26, 0.06) !important;
}
.hfacts .hfact--accent::before{
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 250, 241, 0.32), transparent 36%),
    linear-gradient(135deg, transparent 0 58%, rgba(129, 26, 25, 0.045) 58% 100%) !important;
}
.hfacts .hfact--accent .hfact__t{
  color: var(--bordo) !important;
  -webkit-text-fill-color: var(--bordo) !important;
}
.hfacts .hfact--accent::after{
  color: rgba(29, 27, 26, 0.18) !important;
  -webkit-text-fill-color: rgba(29, 27, 26, 0.18) !important;
}
@media (min-width: 900px){
  .hfacts{ grid-template-columns: repeat(4, 1fr); }
  .hfacts .hfact:nth-child(2),
  .hfacts .hfact:nth-child(4){ transform: translateY(clamp(14px, 1.3vw, 22px)) !important; }
}
@media (max-width: 767px){
  .hfacts .hfact{
    min-height: 178px;
    padding: 22px !important;
  }
  .hfacts .hfact__t{
    font-size: clamp(29px, 8.8vw, 42px) !important;
  }
  .hfacts .hfact::after{
    font-size: 30px;
  }
}
/* ============ ч.66 — «Что вы получите»: убрать жёлтые плашки и номера (восстановление ч.60) ============ */
.bstack .bstack-card .bstack-card__top{ display: none !important; }
.bstack .bstack-card .bstack-card__num,
.bstack .bstack-card .bstack-card__gift,
.bstack .bstack-card .bstack-card__mini{ display: none !important; }

/* ===== hfacts clean typography and numbering only 2026-07-14 ===== */
.hfacts-section{
  position: relative !important;
  isolation: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
.hfacts-section::before,
.hfacts-section::after{
  display: none !important;
  content: none !important;
  background: none !important;
}
.hfacts .hfact{
  background: var(--paper-3) !important;
  border: 1px solid rgba(29, 27, 26, 0.06) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden;
}
.hfacts .hfact::before{
  display: none !important;
  content: none !important;
  background: none !important;
}
.hfacts .hfact::after{
  content: "0" counter(hfact) !important;
  display: block !important;
  position: absolute;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(16px, 1.8vw, 26px);
  font-family: var(--num-font);
  font-size: clamp(28px, 2.7vw, 46px);
  line-height: 0.9;
  color: rgba(129, 26, 25, 0.18) !important;
  -webkit-text-fill-color: rgba(129, 26, 25, 0.18) !important;
  pointer-events: none;
}
.hfacts .hfact--accent{
  background: var(--yellow) !important;
  border-color: transparent !important;
}
.hfacts .hfact--accent::before{
  display: none !important;
  content: none !important;
  background: none !important;
}
.hfacts .hfact__t,
.hfacts .hfact--accent .hfact__t{
  color: var(--bordo) !important;
  -webkit-text-fill-color: var(--bordo) !important;
}
.hfacts .hfact__p{
  color: rgba(29, 27, 26, 0.68) !important;
  opacity: 1 !important;
}
/* ===== hfacts fixed numbering and discount type 2026-07-14 ===== */
.hfacts{
  counter-reset: none !important;
}
.hfacts .hfact{
  counter-increment: none !important;
}
.hfacts .hfact::after{
  font-family: var(--num-font) !important;
  font-size: clamp(30px, 2.8vw, 48px) !important;
}
.hfacts .hfact:nth-child(1)::after{ content: "01" !important; }
.hfacts .hfact:nth-child(2)::after{ content: "02" !important; }
.hfacts .hfact:nth-child(3)::after{ content: "03" !important; }
.hfacts .hfact:nth-child(4)::after{ content: "04" !important; }
.hfacts .hfact--accent .hfact__t{
  font-family: var(--num-font) !important;
  font-size: clamp(58px, 5.1vw, 82px) !important;
  line-height: 0.82 !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
@media (max-width: 767px){
  .hfacts .hfact--accent .hfact__t{
    font-size: clamp(50px, 16vw, 70px) !important;
  }
}
/* ============ ч.67 — Заголовки секций: больше межбуквенного расстояния ============ */
.section-head .section-h.section-h,
.section-h.section-h.section-h{ letter-spacing: 0.02em !important; }

/* ===== resume photo and remove hfacts side numbers 2026-07-14 ===== */
.hfacts .hfact::after{
  display: none !important;
  content: none !important;
}
.profession .resume-role--photo{
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  background: var(--bordo) !important;
}
.profession .resume-role__ph--image{
  flex: 1 1 auto;
  width: 100% !important;
  min-height: 0;
  margin: 0 !important;
  border-radius: 0 !important;
  background: var(--bordo) !important;
  overflow: hidden;
  display: block !important;
}
.profession .resume-role__ph--image img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 28%;
}
.profession .resume-role__label{
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(129, 26, 25, 0.96), rgba(76, 16, 16, 0.98));
}
@media (max-width: 767px){
  .profession .resume-role__ph--image img{
    min-height: 300px;
    object-position: 50% 25%;
  }
}
/* ===== resume photo cleanup: no overlay label 2026-07-14 ===== */
.profession .resume-role--photo{
  min-height: clamp(420px, 48vw, 620px) !important;
  border-radius: 8px !important;
  background: var(--bordo) !important;
}
.profession .resume-role__ph--image{
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: inherit !important;
  display: block !important;
}
.profession .resume-role__ph--image img{
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  object-fit: cover !important;
  object-position: 50% 30% !important;
}
.profession .resume-role--photo .resume-role__label{
  display: none !important;
}
@media (max-width: 767px){
  .profession .resume-role--photo{
    min-height: 360px !important;
    aspect-ratio: 4 / 3;
  }
  .profession .resume-role__ph--image img{
    object-position: 50% 24% !important;
  }
}
/* ===== resume photo crop and GD cleanup 2026-07-14 ===== */
.profession .resume-role--photo{
  min-height: clamp(520px, 58vw, 720px) !important;
  aspect-ratio: auto !important;
}
.profession .resume-role__ph--image::before,
.profession .resume-role__ph--image::after,
.profession .resume-role--photo .resume-role__ph::before,
.profession .resume-role--photo .resume-role__ph::after{
  display: none !important;
  content: none !important;
}
.profession .resume-role__ph--image img{
  object-position: 50% 56% !important;
}
@media (max-width: 767px){
  .profession .resume-role--photo{
    min-height: clamp(500px, 92vw, 680px) !important;
    aspect-ratio: auto !important;
  }
  .profession .resume-role__ph--image img{
    object-position: 50% 54% !important;
  }
}

/* ===== resume photo final position tune 2026-07-14 ===== */
.profession .resume-role__ph--image img{
  object-position: 50% 42% !important;
}
@media (max-width: 767px){
  .profession .resume-role__ph--image img{
    object-position: 50% 40% !important;
  }
}

/* ===== resume photo cropped asset sizing 2026-07-14 ===== */
.profession .resume-role--photo{
  min-height: 0 !important;
  aspect-ratio: 1.08 / 1 !important;
}
.profession .resume-role__ph--image,
.profession .resume-role__ph--image img{
  min-height: 0 !important;
}
.profession .resume-role__ph--image img{
  object-fit: cover !important;
  object-position: 50% 50% !important;
}
@media (max-width: 767px){
  .profession .resume-role--photo{
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
  .profession .resume-role__ph--image img{
    object-position: 50% 50% !important;
  }
}

/* ===== resume photo uploaded square image 2026-07-14 ===== */
.profession .resume-role--photo{
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
}
.profession .resume-role__ph--image img{
  object-fit: cover !important;
  object-position: 50% 50% !important;
}
@media (max-width: 767px){
  .profession .resume-role--photo{
    aspect-ratio: 1 / 1 !important;
  }
}

/* ============ ч.68 — АУДИТОРИЯ: горизонтальный скролл плашек (mobile/tablet) ============ */
@media (max-width: 899px) {
  .aud-grid.aud-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 14px !important;
    margin: 24px 0 0 !important;
    padding: 4px 0 14px !important;
  }
  .aud-grid.aud-grid::-webkit-scrollbar { display: none; }
  .aud-card.aud-card {
    flex: 0 0 84% !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    min-height: 0 !important;
  }
}

/* ============ ч.69 — Липкая кнопка «Оформить предзаказ»: вернуть читаемый текст ============ */
/* LabHeading схлопывает кириллицу (глифы почти нулевой ширины) — переводим на основной шрифт */
.sticky-cta.sticky-cta {
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* блик shimmer — под текст, а не поверх него */
.sticky-cta.shimmer::after { z-index: -1 !important; }
.sticky-cta svg { position: relative; z-index: 2; }

/* ============ ч.70 — РЕЗЮМЕ: фото не должно вылезать на текст ============ */
/* aspect-ratio 1/1 + растяжение по высоте строки давало ширину 511px при колонке 340px */
.profession .resume-cards--result .resume-role--photo{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: start !important;      /* не растягиваем по высоте строки */
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}
/* на десктопе верх фото — на одном уровне с надписью «Навыки» (padding карточки 48px) */
@media (min-width: 900px){
  .profession .resume-cards--result .resume-role--photo{
    margin-top: 48px !important;
  }
}
.profession .resume-cards--result .resume-role__ph--image{
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}
.profession .resume-cards--result .resume-role__ph--image img{
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
}
.profession .resume-cards--result .resume-main{ min-width: 0; }

/* ============ ч.71 — ТРУДОУСТРОЙСТВО (табы + карточка) ============ */
.employ-block{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}
@media (min-width: 900px){
  .employ-block{ grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
}

/* ----- табы ----- */
.employ-tabs{
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.employ-tabs::-webkit-scrollbar{ display: none; }
@media (min-width: 900px){
  .employ-tabs{ flex-direction: column; overflow: visible; padding-bottom: 0; position: sticky; top: calc(var(--header-h, 80px) + 20px); }
}
.employ-tab{
  flex: none;
  text-align: left;
  font-family: var(--t-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  background: var(--paper-3, #FFFAF1);
  border: 1px solid rgba(29, 27, 26, 0.10);
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px -8px rgba(0, 0, 0, 0.18);
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.employ-tab:hover{ transform: translateY(-2px); }
.employ-tab.is-active{
  background: var(--ink, #1D1B1A);
  color: var(--paper-3, #FFFAF1);
  -webkit-text-fill-color: var(--paper-3, #FFFAF1);
  border-color: var(--ink, #1D1B1A);
}
.employ-tab:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ----- панель ----- */
.employ-panels{ position: relative; }
.employ-panel{
  display: none;
  background: var(--bordo, #811A19);
  color: var(--paper-3, #FFFAF1);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: 0 24px 60px -32px rgba(129, 26, 25, 0.55);
}
.employ-panel.is-active{ display: block; animation: employFade .35s ease both; }
@keyframes employFade{ from{ opacity: 0; transform: translateY(10px); } to{ opacity: 1; transform: none; } }

.employ-panel__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.employ-panel__h{
  margin: 0;
  font-family: var(--h-font);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper-3, #FFFAF1);
  -webkit-text-fill-color: var(--paper-3, #FFFAF1);
}

.employ-panel__body{ display: grid; gap: 22px; }
.employ-fact__k{
  display: block;
  font-family: var(--t-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow, #FFF278);
  -webkit-text-fill-color: var(--yellow, #FFF278);
  margin-bottom: 8px;
}
.employ-fact p{
  margin: 0;
  font-family: var(--t-font);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: rgba(255, 250, 241, 0.86);
  -webkit-text-fill-color: rgba(255, 250, 241, 0.86);
}
.employ-panel__lead{
  margin: 0 0 6px;
  font-family: var(--t-font);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--paper-3, #FFFAF1);
  -webkit-text-fill-color: var(--paper-3, #FFFAF1);
}

/* ----- нумерованный список (Поиск заказов) ----- */
.employ-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 760px){
  .employ-steps{ grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
}
.employ-steps li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 250, 241, 0.18);
}
.employ-steps__n{
  flex: none;
  font-family: var(--num-font, var(--h-font));
  font-weight: 800;
  font-size: 14px;
  color: var(--yellow, #FFF278);
  -webkit-text-fill-color: var(--yellow, #FFF278);
  padding-top: 2px;
}
.employ-steps b{
  display: block;
  font-family: var(--t-font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--paper-3, #FFFAF1);
  -webkit-text-fill-color: var(--paper-3, #FFFAF1);
  margin-bottom: 5px;
}
.employ-steps p{
  margin: 0;
  font-family: var(--t-font);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 250, 241, 0.80);
  -webkit-text-fill-color: rgba(255, 250, 241, 0.80);
}

/* больше воздуха между колонкой кнопок и карточкой */
@media (min-width: 900px){
  .employ-block{
    grid-template-columns: 280px 1fr;
    gap: clamp(28px, 3.6vw, 56px);
  }
  .employ-tabs{ gap: 12px; }
}
.employ-block{ margin-top: clamp(32px, 4vw, 52px); }

/* ----- табы ----- */
.employ-tab.employ-tab{
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.06em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  padding: 15px 24px !important;
  white-space: normal;
}

/* ----- заголовок карточки: «Заголовок», прописные, LS 1%, LH 90% ----- */
.employ-panel__h.employ-panel__h{
  font-family: var(--h-font) !important;
  font-weight: 800 !important;
  font-size: clamp(30px, 3.6vw, 46px) !important;
  line-height: 0.9 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
}
.employ-panel__head{ margin-bottom: clamp(26px, 3.2vw, 38px); }

/* ----- подзаголовки-ключи ----- */
.employ-fact__k.employ-fact__k{
  font-size: 12px !important;
  letter-spacing: 0.10em !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

/* ----- основной текст: комфортная длина строки и интерлиньяж ----- */
.employ-panel__body{ gap: clamp(22px, 2.4vw, 30px); }
.employ-fact p{
  font-size: clamp(15px, 1.05vw, 17px) !important;
  line-height: 1.65 !important;
  max-width: 62ch;
  text-wrap: pretty;
}
.employ-panel__lead{
  font-size: clamp(17px, 1.35vw, 20px) !important;
  line-height: 1.5 !important;
  max-width: 60ch;
  margin-bottom: 10px !important;
  text-wrap: pretty;
}

/* ----- нумерованный список ----- */
.employ-steps{ gap: 20px 34px; }
.employ-steps li{ padding-top: 18px; gap: 14px; }
.employ-steps__n.employ-steps__n{
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  min-width: 22px;
}
.employ-steps b{
  font-size: 15.5px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  margin-bottom: 6px !important;
}
.employ-steps p{
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-wrap: pretty;
}

/* ============ ч.73 — ТРУДОУСТРОЙСТВО: зазор между табами и карточкой ============ */
@media (min-width: 900px){
  .employ-block.employ-block{
    grid-template-columns: 260px 1fr;
    column-gap: clamp(56px, 7.5vw, 110px);
  }
}

/* ============ ч.74 — ТРУДОУСТРОЙСТВО: зазор больше (идея «оторванной колонки») ============ */
@media (min-width: 900px){
  .employ-block.employ-block.employ-block{
    grid-template-columns: 250px minmax(0, 1fr);
    column-gap: clamp(80px, 12vw, 200px);
  }
}

/* ============ ч.75 — ТРУДОУСТРОЙСТВО: зазор ещё больше, карточка ближе к квадрату, линии-разделители ============ */
@media (min-width: 900px){
  .employ-block.employ-block.employ-block.employ-block{
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: clamp(110px, 18vw, 300px);
  }
  /* карточка ближе к квадрату, а не вытянутый прямоугольник */
  .employ-panel{
    min-height: 540px;
    display: none;
  }
  .employ-panel.is-active{
    display: flex;
    flex-direction: column;
  }
}

/* линии-разделители между разделами внутри карточки — как в «Поиске заказов» */
.employ-fact + .employ-fact{
  padding-top: clamp(20px, 2.2vw, 26px);
  border-top: 1px solid rgba(255, 250, 241, 0.18);
}

/* ===== О школе: bento по мотивам Munder, в стиле KAVA.SCHOOL ===== */
.school-about {
  padding: clamp(72px, 9vw, 132px) var(--pad);
  background: transparent !important;
}
.school-about__shell {
  max-width: 1220px;
  padding: clamp(28px, 4.5vw, 64px) !important;
  border: 1px solid rgba(129, 26, 25, .12);
  border-radius: 30px;
  background: rgba(255, 250, 241, .78);
}
.school-about__head {
  max-width: 850px;
  margin: 0 auto clamp(34px, 5vw, 62px);
  text-align: center;
}
.school-about__head .eyebrow { justify-content: center; }
.school-about__head .section-h { margin: 14px 0 18px; }
.school-about__intro {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(29, 27, 26, .68);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.5;
  text-wrap: balance;
}
.school-about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}
.school-about__card,
.school-about__photo {
  position: relative;
  min-width: 0;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(129, 26, 25, .13);
  border-radius: 20px;
}
.school-about__card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  background: rgba(255, 252, 247, .92);
}
.school-about__card--experience { grid-column: span 4; }
.school-about__card--method { grid-column: span 8; }
.school-about__photo { grid-column: span 4; min-height: 330px; }
.school-about__card--beginners { grid-column: span 4; }
.school-about__card--community { grid-column: span 4; }
.school-about__card--result {
  grid-column: 5 / span 8;
  min-height: 230px;
  color: var(--paper-3);
  background: var(--bordo);
  border-color: var(--bordo);
}
.school-about__index {
  align-self: flex-end;
  color: var(--bordo);
  font-family: var(--h-font);
  font-size: 13px;
  line-height: 1;
}
.school-about__card h3 {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--h-font);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.school-about__card h3 strong {
  display: block;
  color: var(--bordo);
  font-size: 1.7em;
  line-height: .84;
}
.school-about__card p {
  max-width: 46ch;
  margin: auto 0 0;
  padding-top: 34px;
  color: rgba(29, 27, 26, .63);
  font-size: 15px;
  line-height: 1.5;
}
.school-about__card--method h3 { max-width: 19ch; }
.school-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.school-about__photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--paper-3);
  background: rgba(76, 16, 16, .88);
  font-family: var(--h-font);
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
}
.school-about__tag {
  align-self: flex-start;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(129, 26, 25, .24);
  border-radius: 999px;
  color: var(--bordo);
  font-size: 11px;
  text-transform: uppercase;
}
.school-about__card--result .school-about__index,
.school-about__card--result h3,
.school-about__card--result h3 strong { color: var(--paper-3); }
.school-about__card--result p { color: rgba(255, 250, 241, .72); }

@media (hover: hover) {
  .school-about__card,
  .school-about__photo { transition: transform .35s ease, border-color .35s ease; }
  .school-about__card:hover,
  .school-about__photo:hover {
    transform: translateY(-3px);
    border-color: rgba(129, 26, 25, .32);
  }
}
@media (max-width: 900px) {
  .school-about__card--experience,
  .school-about__card--beginners,
  .school-about__card--community,
  .school-about__photo { grid-column: span 6; }
  .school-about__card--method,
  .school-about__card--result { grid-column: span 12; }
}
@media (max-width: 600px) {
  .school-about { padding-inline: 12px; }
  .school-about__shell { padding: 24px 12px !important; border-radius: 22px; }
  .school-about__head { margin-bottom: 30px; padding-inline: 8px; }
  .school-about__grid { grid-template-columns: 1fr; gap: 10px; }
  .school-about__card--experience,
  .school-about__card--method,
  .school-about__photo,
  .school-about__card--beginners,
  .school-about__card--community,
  .school-about__card--result {
    grid-column: 1 !important;
    min-height: 250px;
  }
  .school-about__photo { min-height: 310px; }
  .school-about__card { padding: 24px 20px; }
  .school-about__card h3 { font-size: 28px; }
  .school-about__card h3 strong { font-size: 1.55em; }
  .school-about__card p { padding-top: 28px; }
}
/* ============ ч.76 — ТРУДОУСТРОЙСТВО: квадратная карточка, заголовок вверху, текст внизу ============ */
@media (min-width: 900px){
  .employ-panel{ min-height: 0; }
  .employ-panel.is-active{
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;          /* квадрат, как на референсе */
  }
  /* заголовок остаётся вверху, тело прижимается к низу */
  .employ-panel.is-active .employ-panel__head{ margin-bottom: 0; }
  .employ-panel.is-active .employ-panel__body{ margin-top: auto; }

  /* «Поиск заказов» — 6 пунктов, в квадрат не влезут: высота по контенту */
  .employ-panel[data-employ-panel="3"].is-active{
    aspect-ratio: auto;
  }
  .employ-panel[data-employ-panel="3"].is-active .employ-panel__head{ margin-bottom: clamp(26px, 3.2vw, 38px); }
  .employ-panel[data-employ-panel="3"].is-active .employ-panel__body{ margin-top: 0; }
}

/* ===== О школе v2: точная bento-сетка и спокойная типографика ===== */
@media (min-width: 901px) {
  .school-about__grid {
    grid-template-rows: 320px 320px;
  }
  .school-about__card--experience {
    grid-column: 1 / span 3;
    grid-row: 1;
  }
  .school-about__card--method {
    grid-column: 4 / span 6;
    grid-row: 1;
  }
  .school-about__card--beginners {
    grid-column: 10 / span 3;
    grid-row: 1;
  }
  .school-about__card--community {
    grid-column: 1 / span 3;
    grid-row: 2;
  }
  .school-about__photo {
    grid-column: 4 / span 3;
    grid-row: 2;
    min-height: 0;
  }
  .school-about__card--result {
    grid-column: 7 / span 6;
    grid-row: 2;
    min-height: 0;
  }
}
.school-about__shell {
  max-width: 1280px;
  border-color: rgba(29, 27, 26, .08);
  background: rgba(255, 250, 241, .88);
}
.school-about__head {
  max-width: 920px;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}
.school-about__head .section-h.section-h {
  margin: 12px 0 18px;
  font-size: clamp(48px, 5.4vw, 72px) !important;
  line-height: .94 !important;
}
.school-about__intro {
  max-width: 820px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.42;
}
.school-about__card,
.school-about__photo {
  min-height: 0;
  border-color: rgba(29, 27, 26, .1);
  border-radius: 18px;
  box-shadow: none !important;
}
.school-about__card {
  padding: clamp(24px, 2.25vw, 32px);
  background: rgba(255, 255, 255, .48);
}
.school-about__card--method,
.school-about__card--result {
  background: rgba(255, 255, 255, .7);
}
.school-about__index {
  color: rgba(129, 26, 25, .72);
  font-family: var(--t-font);
  font-size: 12px;
  font-weight: 600;
}
.school-about__card h3 {
  max-width: 18ch;
  color: var(--ink);
  font-family: var(--t-font);
  font-size: clamp(24px, 2.05vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: none;
}
.school-about__card h3 strong {
  display: inline;
  color: var(--bordo);
  font-family: var(--h-font);
  font-size: 1.35em;
  line-height: inherit;
}
.school-about__card p {
  max-width: 43ch;
  padding-top: 24px;
  color: rgba(29, 27, 26, .52);
  font-family: var(--t-font);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.45;
}
.school-about__card--experience h3,
.school-about__card--beginners h3,
.school-about__card--community h3 {
  max-width: 13ch;
}
.school-about__card--method h3,
.school-about__card--result h3 {
  max-width: 22ch;
}
.school-about__card--result {
  color: var(--ink);
  border-color: rgba(129, 26, 25, .16);
}
.school-about__card--result::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -70px;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(129, 26, 25, .12);
  border-radius: 50%;
  pointer-events: none;
}
.school-about__card--result .school-about__index { color: rgba(129, 26, 25, .72); }
.school-about__card--result h3 { color: var(--ink); }
.school-about__card--result h3 strong { color: var(--bordo); }
.school-about__card--result p { color: rgba(29, 27, 26, .52); }
.school-about__photo img {
  object-position: 50% 42%;
}
.school-about__photo figcaption {
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bordo);
  font-family: var(--t-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
}
.school-about__tag {
  margin-top: auto;
  border-radius: 8px;
  font-family: var(--t-font);
  font-weight: 600;
  text-transform: none;
}
@media (max-width: 900px) {
  .school-about__card h3 {
    font-family: var(--t-font);
    font-size: 27px;
    line-height: 1.08;
    text-transform: none;
  }
  .school-about__card h3 strong {
    display: inline;
    font-size: 1.3em;
  }
  .school-about__card--result {
    color: var(--ink);
    background: rgba(255, 255, 255, .7);
  }
}
@media (max-width: 600px) {
  .school-about__head .section-h.section-h {
    font-size: clamp(38px, 11vw, 48px) !important;
  }
  .school-about__card,
  .school-about__photo {
    border-radius: 16px;
  }
  .school-about__card {
    min-height: 235px;
  }
  .school-about__card h3 {
    font-size: 26px;
  }
  .school-about__photo {
    min-height: 290px;
  }
}
/* ============ ч.77 — ТРУДОУСТРОЙСТВО: все карточки квадратные + жёлтые надписи ============ */
@media (min-width: 900px){
  /* «Поиск заказов» теперь тоже квадрат — описания сокращены */
  .employ-panel[data-employ-panel="3"].is-active{ aspect-ratio: 1 / 1; }
  .employ-panel[data-employ-panel="3"].is-active .employ-panel__head{ margin-bottom: 0; }
  .employ-panel[data-employ-panel="3"].is-active .employ-panel__body{ margin-top: auto; }
}

/* ----- жёлтые надписи-рубрики: аккуратная типографика ----- */
.employ-fact__k.employ-fact__k{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--t-font) !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.14em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  color: var(--yellow, #FFF278) !important;
  -webkit-text-fill-color: var(--yellow, #FFF278) !important;
  margin-bottom: 12px !important;
}
/* короткая жёлтая засечка перед рубрикой */
.employ-fact__k.employ-fact__k::before{
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow, #FFF278);
  flex: none;
}

/* номера в списке — той же логикой, что и рубрики */
.employ-steps__n.employ-steps__n{
  font-family: var(--t-font) !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  letter-spacing: 0.12em !important;
  line-height: 1.5 !important;
}

/* ============ ч.78 — ТРУДОУСТРОЙСТВО: убрать дыру в середине карточки ============ */
@media (min-width: 900px){
  /* высота по контенту, без принудительного квадрата */
  .employ-panel.is-active,
  .employ-panel[data-employ-panel="3"].is-active{
    aspect-ratio: auto;
    min-height: 0;
  }
  /* заголовок и тело идут подряд, без распорки */
  .employ-panel.is-active .employ-panel__head,
  .employ-panel[data-employ-panel="3"].is-active .employ-panel__head{
    margin-bottom: clamp(28px, 3vw, 40px);
  }
  .employ-panel.is-active .employ-panel__body,
  .employ-panel[data-employ-panel="3"].is-active .employ-panel__body{
    margin-top: 0;
  }
}

/* ===== О школе v3: иерархия заголовков и красный финал ===== */
.school-about__card h3 {
  display: block;
  max-width: 15ch;
  font-family: var(--t-font);
  font-size: clamp(23px, 1.8vw, 30px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}
.school-about__card h3 strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--h-font);
  font-size: clamp(54px, 5.3vw, 82px);
  font-weight: 800;
  line-height: .76;
  letter-spacing: 0;
}
.school-about__card--method h3,
.school-about__card--result h3 {
  max-width: 18ch;
}
.school-about__card--method p {
  max-width: 30ch;
  font-size: clamp(16px, 1.35vw, 19px);
}
.school-about__card--community h3 {
  max-width: 12ch;
  color: var(--bordo);
  font-size: clamp(28px, 2.15vw, 36px);
  line-height: 1.02;
}
.school-about__card--result {
  color: var(--paper-3);
  background: var(--bordo);
  border-color: var(--bordo);
}
.school-about__card--result::after {
  border-color: rgba(255, 250, 241, .16);
}
.school-about__card--result .school-about__index,
.school-about__card--result h3,
.school-about__card--result h3 strong {
  color: var(--paper-3);
}
.school-about__card--result p {
  color: rgba(255, 250, 241, .72);
}
@media (max-width: 900px) {
  .school-about__card h3 {
    font-size: 25px;
  }
  .school-about__card h3 strong {
    display: block;
    font-size: 58px;
  }
  .school-about__card--result {
    color: var(--paper-3);
    background: var(--bordo);
  }
  .school-about__card--result h3,
  .school-about__card--result h3 strong {
    color: var(--paper-3);
  }
}
@media (max-width: 600px) {
  .school-about__card h3 {
    font-size: 24px;
  }
  .school-about__card h3 strong {
    margin-bottom: 8px;
    font-size: 54px;
  }
  .school-about__card--community h3 {
    font-size: 30px;
  }
}
/* ============ ч.79 — ТРУДОУСТРОЙСТВО: единая высота без прыжков ============ */
@media (min-width: 900px){
  .employ-panel.is-active{ min-height: 442px; }
  /* в короткой карточке свободное место делится сверху/снизу от текста */
  .employ-panel.is-active .employ-panel__body{ margin-top: auto; margin-bottom: auto; }
  .employ-panel.is-active .employ-panel__head{ margin-bottom: 40px; }
}

/* ===== О школе v4: акцентная типографика из шрифтов проекта ===== */
.school-about__head .section-h.section-h {
  font-family: var(--accent-font) !important;
  font-size: clamp(56px, 6.2vw, 84px) !important;
  font-weight: 800 !important;
  line-height: .86 !important;
  letter-spacing: .018em !important;
  text-transform: uppercase;
}
.school-about__head .section-h em {
  font-family: inherit !important;
  letter-spacing: inherit !important;
}
.school-about__card h3 {
  max-width: 15ch;
  font-family: var(--accent-font);
  font-size: clamp(31px, 2.65vw, 43px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: .026em;
  text-transform: uppercase;
}
.school-about__card h3 strong {
  margin-bottom: 12px;
  font-family: var(--num-font);
  font-size: clamp(60px, 5.6vw, 88px);
  line-height: .72;
  letter-spacing: .015em;
}
.school-about__card--method h3,
.school-about__card--result h3 {
  max-width: 20ch;
}
.school-about__card--community h3 {
  max-width: 13ch;
  font-family: var(--accent-font);
  font-size: clamp(36px, 3vw, 48px);
  line-height: .9;
  letter-spacing: .028em;
  text-transform: uppercase;
}
.school-about__card p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
}
.school-about__tag {
  position: relative;
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid rgba(129, 26, 25, .2);
  border-radius: 0;
  color: rgba(129, 26, 25, .78);
  background: transparent;
  font-family: var(--t-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .02em;
  text-transform: none;
}
@media (max-width: 900px) {
  .school-about__card h3 {
    font-family: var(--accent-font);
    font-size: 36px;
    line-height: .92;
    letter-spacing: .025em;
    text-transform: uppercase;
  }
  .school-about__card h3 strong {
    font-family: var(--num-font);
    font-size: 64px;
  }
}
@media (max-width: 600px) {
  .school-about__head .section-h.section-h {
    font-size: clamp(46px, 13vw, 60px) !important;
    letter-spacing: .014em !important;
  }
  .school-about__card h3 {
    font-size: 34px;
  }
  .school-about__card h3 strong {
    font-size: 60px;
  }
  .school-about__card--community h3 {
    font-size: 38px;
  }
}
/* ===== О школе v5: асимметричная bento-геометрия ===== */
@media (min-width: 1050px) {
  .school-about__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(10, 64px);
    grid-auto-flow: dense;
    gap: 14px;
  }
  .school-about__card--experience {
    grid-column: 1 / span 3;
    grid-row: 1 / span 4;
  }
  .school-about__card--method {
    grid-column: 4 / span 6;
    grid-row: 1 / span 5;
  }
  .school-about__card--beginners {
    grid-column: 10 / span 3;
    grid-row: 1 / span 4;
  }
  .school-about__card--community {
    grid-column: 1 / span 3;
    grid-row: 5 / span 4;
  }
  .school-about__photo {
    grid-column: 4 / span 3;
    grid-row: 6 / span 5;
    min-height: 0;
  }
  .school-about__card--result {
    grid-column: 7 / span 6;
    grid-row: 6 / span 4;
    min-height: 0;
  }
  .school-about__card--experience,
  .school-about__card--beginners {
    padding-bottom: 28px;
  }
  .school-about__card--method {
    padding: clamp(30px, 3vw, 42px);
  }
  .school-about__card--method h3 strong {
    font-size: clamp(74px, 7vw, 106px);
  }
  .school-about__card--method p {
    max-width: 34ch;
    font-size: clamp(17px, 1.35vw, 20px);
  }
  .school-about__card--community {
    margin-top: 8px;
  }
  .school-about__photo {
    margin-top: 8px;
  }
  .school-about__card--result {
    margin-top: 8px;
    padding-inline: clamp(30px, 3.2vw, 46px);
  }
  .school-about__photo figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}
@media (min-width: 1050px) and (max-width: 1180px) {
  .school-about__grid {
    grid-template-rows: repeat(10, 60px);
  }
  .school-about__card {
    padding: 24px;
  }
  .school-about__card h3 {
    font-size: 34px;
  }
  .school-about__card h3 strong {
    font-size: 62px;
  }
  .school-about__card--method h3 strong {
    font-size: 84px;
  }
  .school-about__card p {
    font-size: 15px;
  }
}
/* ============ ч.80 — ПРАВКИ 2–11 (15.07.2026) ============ */

/* --- Правка 2: фото в «Ваше резюме» — на всю высоту карточки --- */
@media (min-width: 900px){
  .profession .resume-cards--result .resume-role--photo{
    align-self: stretch !important;
    aspect-ratio: auto !important;
    height: auto !important;
    margin-top: 0 !important;
  }
  .profession .resume-cards--result .resume-role__ph--image{ height: 100% !important; }
  .profession .resume-cards--result .resume-role__ph--image img{
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* --- Правка 3: логотип Reve — в один масштаб с остальными --- */
.tool-logo--wide.tool-logo--wide{
  height: 46px !important;
  max-width: 130px !important;
}

/* --- Правка 4: единые отступы между разделами (desktop) --- */
@media (min-width: 768px){
  #audience.section,
  #brands.section,
  #pricing.section{ padding-top: clamp(96px, 9vw, 150px) !important; }
  .preorder-inline.preorder-inline{ margin-top: clamp(96px, 9vw, 150px) !important; }
}

/* --- Правка 5: bstack — жёлтые заголовки + воздух до текста --- */
.bstack .bstack-card__title{
  color: var(--yellow, #FFF278) !important;
  -webkit-text-fill-color: var(--yellow, #FFF278) !important;
}
.bstack .bstack-card__lead{ margin-top: 18px !important; }
.bstack .bstack-card__sub{ margin-top: 16px !important; }

/* --- Правка 6: «Немного о нас» — размер как у остальных больших заголовков --- */
.school-about__head .section-h.section-h.section-h{
  font-size: var(--fs-section) !important;
  line-height: .9 !important;
}

/* --- Правки 7–8: карточки «Немного о нас» --- */
/* подпись — основной шрифт, не жирный */
.school-about__card h3{
  font-family: var(--t-font) !important;
  font-weight: 400 !important;
  font-size: clamp(16px, 1.3vw, 20px) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  max-width: none;
}
/* крупный показатель — как был: заголовочный, крупный */
.school-about__card h3 strong{
  font-family: var(--h-font) !important;
  font-weight: 800 !important;
  font-size: clamp(40px, 3.6vw, 60px) !important;
  line-height: .84 !important;
  margin-bottom: 10px;
}

/* --- Правка 9: figcaption и таг — как основной текст --- */
.school-about__photo figcaption{
  font-family: var(--t-font) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.school-about__tag{
  font-family: var(--t-font) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* --- Правка 10: плашки тарифов — основной шрифт, крупнее --- */
.tier-badge.tier-badge{
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
}

/* --- Правка 11: жёлтые рубрики «Трудоустройство» — крупнее, единый размер --- */
.employ-fact__k.employ-fact__k.employ-fact__k{
  font-size: 15px !important;
  letter-spacing: 0.10em !important;
}

/* ============ ч.81 — МОБИЛЬНЫЕ ПРАВКИ (15.07.2026) ============ */

/* --- 1. «Курс для вас»: карточки до края экрана (full-bleed) --- */
@media (max-width: 899px){
  .aud-grid.aud-grid.aud-grid{
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    scroll-padding-left: 20px;
    touch-action: pan-x pan-y;
  }
}

/* --- 2. Программа: details не «прыгают вверх» (якорение скролла) --- */
.program{ overflow-anchor: none; }
.module{ overflow-anchor: none; }

/* --- 3. Программа: воздух между номером и заголовком этапа --- */
@media (max-width: 767px){
  .module summary .module-num{ margin-bottom: 10px !important; margin-right: 12px !important; }
}

/* --- 4. bstack: следующая карточка накрывает до заголовка --- */
@media (max-width: 767px){
  .bstack.bstack{ --bstack-peek: 96px !important; }
}

/* --- 5. «Немного о нас»: текст по левому краю --- */
@media (max-width: 767px){
  .school-about__head{ text-align: left !important; }
  .school-about__head .eyebrow{ justify-content: flex-start !important; align-self: flex-start !important; }
  .school-about__head .section-h{ text-align: left !important; margin-left: 0 !important; }
  .school-about__intro{ margin-left: 0 !important; text-align: left !important; }
}

/* --- 6. Тарифы: отступы и подзаголовок --- */
@media (max-width: 767px){
  #pricing.section{ padding-top: 72px !important; }          /* дальше от countdown */
  #pricing .section-head--center{ margin-bottom: 10px !important; }
  #pricing .section-sub{ font-size: 14px !important; line-height: 1.5 !important; }
  #pricing .tiers{ margin-top: 56px !important; }            /* ближе к заголовку, но бейдж не липнет к тексту */
}

/* --- 7. «Что даёт предзаказ» дальше от кнопки «Сравнить тарифы» --- */
@media (max-width: 767px){
  .preorder-inline.preorder-inline{ margin-top: 72px !important; }
}

/* --- 8. Трудоустройство: кнопки в 2 ряда, без скролла --- */
@media (max-width: 899px){
  .employ-tabs.employ-tabs{
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    padding-bottom: 0 !important;
  }
  .employ-tab.employ-tab{
    padding: 12px 16px !important;
    font-size: 12px !important;
    letter-spacing: 0.04em !important;
  }
}

/* --- 9. «Навык, который окупается»: плашки цен не обрезаются --- */
.cmp-row__track{
  height: auto !important;
  min-height: clamp(36px, 3.2vw, 42px);
}
.cmp-row__bar{
  height: auto !important;
  min-height: clamp(36px, 3.2vw, 42px);
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  border-radius: clamp(10px, 1.2vw, 14px) !important;
  box-sizing: border-box;
}

/* ===== Ровная линия карточек предзаказа + более заметный логотип ===== */
@media (min-width: 900px) {
  .hfacts .hfact,
  .hfacts .hfact:nth-child(1),
  .hfacts .hfact:nth-child(2),
  .hfacts .hfact:nth-child(3),
  .hfacts .hfact:nth-child(4) {
    align-self: stretch;
    margin-top: 0 !important;
    transform: none !important;
  }
}
.brand-logo {
  font-size: clamp(22px, 1.7vw, 25px) !important;
  letter-spacing: .06em !important;
}
.brand-logo .dot {
  letter-spacing: .06em !important;
}
@media (max-width: 767px) {
  .brand-logo {
    font-size: 21px !important;
    letter-spacing: .055em !important;
  }
}
/* ============ ч.82 — МОБИЛЬНЫЕ ПРАВКИ №2 + отступы bstack (15.07.2026) ============ */

/* --- 1. «Ваше резюме»: компактнее на мобиле --- */
@media (max-width: 767px){
  .profession .skill-list--2col{
    grid-template-columns: 1fr !important;   /* одна колонка — без рваных переносов */
    gap: 0 !important;
  }
  .profession .skill-list li{
    padding: 9px 0 !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
  }
  .resume-main{ padding: 20px 16px !important; }
  .resume-col__cap{ margin-bottom: 6px !important; }
  .resume-col__cap--tools{ margin-top: 18px !important; }
  .tool-logos{ gap: 12px 14px !important; }
  .tool-logo{ height: 36px !important; }
  .tool-logo--wide.tool-logo--wide{ height: 36px !important; }
}

/* --- 2. Программа: аккуратный низ секции --- */
.program .module:last-of-type{ border-bottom: 0 !important; }
@media (max-width: 767px){
  .program{ padding-bottom: 26px !important; }
}

/* --- 3. Работы учеников: плитки крупнее, кнопка компактнее (мобайл) --- */
@media (max-width: 767px){
  .works-carousel .work-tile{ width: clamp(250px, 64vw, 300px) !important; }
  .works-marquee .work-tile{ width: clamp(250px, 64vw, 300px) !important; }
  .works-cta__btn.works-cta__btn{
    padding: 14px 22px !important;
    font-size: 13px !important;
  }
  .works-cta{ margin-top: 22px !important; }
}

/* --- 6. bstack: больше воздуха внутри карточек --- */
@media (min-width: 768px){
  .bstack-card__head{ padding: clamp(36px, 3.4vw, 56px) !important; }
}
.bstack-card__title{ margin-bottom: 6px !important; }
.bstack-card__lead{ line-height: 1.6 !important; }
.bstack-card__sub{ margin-top: 22px !important; margin-bottom: 10px !important; }
.bstack-card__list li{ padding: 9px 0 9px 20px !important; }
@media (max-width: 767px){
  .bstack-card__head{ padding: 26px 20px !important; }
}

/* ============ ч.83 — МОБАЙЛ: компактный «Немного о нас» + компактная карусель ============ */

/* --- 1. «Немного о нас»: сетка 2 колонки, как на старом сайте --- */
@media (max-width: 767px){
  .school-about__grid{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .school-about__card{
    padding: 16px 14px !important;
    min-height: 0 !important;
  }
  /* порядок: [7+ | 5-10], [85% | 1-3], комьюнити на всю ширину, фото внизу */
  .school-about__grid{ grid-template-rows: none !important; grid-auto-rows: auto !important; }
  .school-about__card--experience{ grid-column: 1 !important; grid-row: auto !important; }
  .school-about__card--method{ grid-column: 2 !important; grid-row: auto !important; }
  .school-about__card--beginners{ grid-column: 1 !important; grid-row: auto !important; }
  .school-about__card--result{ grid-column: 2 !important; grid-row: auto !important; min-height: 0 !important; order: 4; }
  .school-about__card--community{ grid-column: 1 / -1 !important; grid-row: auto !important; order: 8; }
  .school-about__photo{
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 9;
    min-height: 0 !important;
    height: 180px;
  }
  /* компактная типографика карточек */
  .school-about__index{ font-size: 10px; }
  .school-about__card h3{
    font-size: 12.5px !important;
    line-height: 1.3 !important;
  }
  .school-about__card h3 strong{
    font-size: 30px !important;
    margin-bottom: 6px;
  }
  .school-about__card p{
    padding-top: 10px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
  .school-about__tag{
    margin-top: 12px !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
  .school-about__head{ margin-bottom: 20px !important; }
}

/* --- 2. Карусель «15 работ»: компактнее на мобиле --- */
@media (max-width: 767px){
  #after .section-head{ margin-bottom: 12px !important; }
  #after .carousel-title{ font-size: 26px !important; line-height: 1.05 !important; }
  #after .carousel-desc{ font-size: 14px !important; line-height: 1.45 !important; }
  #after .carousel-badge{ font-size: 11px !important; padding: 5px 10px !important; }
  #after .carousel-meta{ margin-top: 10px !important; }
  #after .carousel-progress{ margin-top: 10px !important; }
}

/* ч.83b — карусель «15 работ»: ещё компактнее на мобиле */
@media (max-width: 767px){
  #after.section{ padding-top: 52px !important; padding-bottom: 40px !important; }
  #after .section-sub{ font-size: 14px !important; line-height: 1.5 !important; }
  #after .carousel-wrap, #after .carousel{ gap: 10px !important; }
}

/* ============ ч.84 — уточнения мобайла: крупные цифры «О нас», точки, карусель ============ */

/* --- «Немного о нас»: крупные цифры как на старом сайте, без нумерации 01-05 --- */
@media (max-width: 767px){
  .school-about__index{ display: none !important; }
  .school-about__card h3 strong{
    font-size: 44px !important;
    line-height: .9 !important;
    margin-bottom: 8px;
  }
  .school-about__card h3{
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }
  /* «Большое комьюнити» — на всю ширину, цифрового размера */
  .school-about__card--community h3 strong{ font-size: 34px !important; }
}

/* --- жёлтые точки списков bstack: ровно по первой строке текста --- */
.bstack .bstack-card__list li::before{
  top: calc(9px + 0.45em) !important;   /* 9px — верхний padding пункта */
}

/* --- карусель «15 работ»: меньше сам блок с картинкой --- */
@media (max-width: 767px){
  #after .carousel-visual{ height: 200px !important; min-height: 0 !important; }
  #after .carousel-visual .carousel-img{ height: 100% !important; object-fit: contain !important; }
}

/* ============ ч.85 — карусель: без красной плашки-дубля, картинка на всю ширину ============ */
/* красная плашка («Логотипы», «Айдентика»…) дублирует заголовок — убираем везде */
#after .carousel-badge{ display: none !important; }

/* мобайл: возвращаем картинке полный размер — от края до края карточки */
@media (max-width: 767px){
  #after .carousel-visual{ height: auto !important; }
  #after .carousel-visual .carousel-img{
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
  }
}

/* ============ ч.86 — карусель: без пропасти; bstack: заголовки не режутся ============ */

/* заголовок слайда: не резервируем 2 строки (из-за этого была «пропасть»),
   размер чуть меньше — «Презентация логотипа» помещается в одну строку */
#after .carousel-title.carousel-title{
  min-height: 0 !important;
  font-size: clamp(28px, 2.6vw, 44px) !important;
  line-height: 1.05 !important;
}
#after .carousel-desc{ margin-top: 14px !important; }

/* bstack: полоса-«шапка» накрытой карточки вмещает заголовок целиком */
@media (min-width: 768px){
  .bstack.bstack.bstack{ --bstack-peek: 92px !important; }
}
@media (max-width: 767px){
  .bstack.bstack.bstack{ --bstack-peek: 74px !important; }
}

/* ============ ч.87 — bstack на мобиле: плотные списки пунктов ============ */
@media (max-width: 767px){
  .bstack .bstack-card__list{ gap: 4px !important; }
  .bstack .bstack-card__list li{
    padding: 4px 0 4px 18px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  .bstack .bstack-card__list li::before{
    top: calc(4px + 0.42em) !important;
  }
  .bstack .bstack-card__sub{ margin-top: 14px !important; margin-bottom: 6px !important; }
  .bstack .bstack-card__lead{ margin-top: 10px !important; font-size: 14px !important; line-height: 1.5 !important; }
  .bstack .bstack-card__head{ padding: 22px 18px !important; }
}

/* ============ ч.88 — HFACTS: типографика по ТЗ (15.07.2026) ============ */

/* структура карточки: контент сверху, стабильный зазор, без прижатия к низу */
.hfacts .hfact{
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 26px !important;
  height: auto !important;
}
.hfacts .hfact__p{ margin-top: 0 !important; }

/* описание ≥768px */
@media (min-width: 768px){
  .hfacts .hfact__p{
    font-size: clamp(18px, 1.45vw, 23px) !important;
    line-height: 1.42 !important;
    letter-spacing: -0.01em !important;
    font-weight: 400 !important;
    font-family: var(--t-font) !important;
  }
}

/* мобильная версия */
@media (max-width: 767px){
  .hfacts .hfact{
    padding: 28px 22px 26px !important;
    min-height: 360px !important;
  }
  .hfacts .hfact__t{
    font-size: clamp(28px, 7vw, 38px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0.015em !important;
  }
  .hfacts .hfact__p{
    font-size: clamp(17px, 4.2vw, 21px) !important;
    line-height: 1.38 !important;
    letter-spacing: -0.01em !important;
    font-weight: 400 !important;
    font-family: var(--t-font) !important;
  }
  .hfacts .hfact__t--big{
    font-size: clamp(64px, 16vw, 96px) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.04em !important;
  }
}
/* карточки уже 180px (2 колонки на экранах до ~411px) */
@media (max-width: 411px){
  .hfacts .hfact{ padding: 24px 18px !important; }
}
@media (max-width: 390px){
  .hfacts .hfact{ min-height: 380px !important; }
}

/* ============ ч.89 — «Работы учеников»: вертикальные плитки 3:4 без белых полос ============ */
#works .work-tile,
.works-marquee .work-tile,
.works-carousel .work-tile{
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
}
#works .work-tile img,
.works-marquee .work-tile img,
.works-carousel .work-tile img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;   /* заполняет плитку целиком, без полос */
  object-position: center;
}

/* ============ ч.90 — HFACTS: описание на всю ширину карточки (без «столбика») ============ */
.hfacts .hfact__p{
  max-width: none !important;
}
.hfacts .hfact__t{
  max-width: none !important;
}

/* ч.90b — описание под реальную ширину карточки (~210px): меньше кегль, больше слов в строке */
@media (min-width: 768px){
  .hfacts .hfact__p{
    font-size: clamp(15px, 0.95vw, 17.5px) !important;
    line-height: 1.45 !important;
  }
  .hfacts .hfact{ gap: 20px !important; }
}


/* ===== ч.91 — «О профессии»: чистая типографическая иерархия без magic-text ===== */
/* Заголовок — по центру, чуть легче и с воздухом; тело — влево по узкой колонке (ровный край, читаемо) */
.about-course .oc-body{ text-align: center !important; }
.about-course .oc-body p.oc-statement{
  max-width: none !important;
  font-size: clamp(30px, 3.5vw, 44px) !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
  letter-spacing: -.02em !important;
  color: var(--ink) !important;
  margin: 0 auto 32px !important;
  text-align: center !important;
  text-align-last: center !important;
  text-wrap: normal;
}
.about-course .oc-body p.oc-statement span{ color: var(--bordo) !important; }
/* тело — выравнивание по ширине (ровные столбцы), перенос по слогам от «дыр» */
.about-course .oc-body p.reveal-d1,
.about-course .oc-body p.reveal-d2{
  max-width: 24em !important;
  font-size: clamp(17.5px, 1.5vw, 20.5px) !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  letter-spacing: -.004em !important;
  color: rgba(29, 27, 26, .72) !important;
  margin: 0 auto !important;
  text-align: justify !important;
  text-align-last: left !important;
  -webkit-hyphens: none !important;
  hyphens: none !important;
  word-spacing: normal !important;
  text-wrap: initial !important;
}
.about-course .oc-body p.reveal-d2{ margin-top: 20px !important; }
.about-course .oc-body p.reveal-d1 span,
.about-course .oc-body p.reveal-d2 span{ color: var(--ink) !important; font-weight: 600 !important; }
@media (max-width: 767px){
  .about-course .oc-body p.oc-statement{
    max-width: 100% !important;
    font-size: clamp(26px, 7.2vw, 33px) !important;
    line-height: 1.16 !important;
    margin-bottom: 24px !important;
  }
  .about-course .oc-body p.reveal-d1,
  .about-course .oc-body p.reveal-d2{
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.62 !important;
  }
  .about-course .oc-body p.reveal-d2{ margin-top: 16px !important; }
}


/* ===== ч.92 — Спикеры: 4 реальные карточки ===== */
.speaker-card__bio + .speaker-card__bio{ margin-top: 8px !important; }
@media (min-width: 720px){
  .speakers-grid{ grid-template-columns: repeat(2, 1fr) !important; gap: 18px; }
  .speaker-card__img{ height: auto !important; aspect-ratio: 3 / 2 !important; }
}

/* ч.92b — спикеры: кадрирование фото сверху (не резать головы), аккуратные красные подписи */
.speaker-card__img img{ object-position: center top !important; }
.speaker-card__role{
  display: block !important;
  font-family: var(--t-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  line-height: 1.35 !important;
  margin: 0 0 2px !important;
}
.speaker-card__bio{ font-family: var(--t-font) !important; font-size: 14.5px !important; line-height: 1.55 !important; }


/* ===== ч.93 — пакет правок: спикеры, соцсети, hfacts, bstack, о нас, работы ===== */

/* 1. Фото спикеров: лёгкая обрезка сверху и снизу (аспект чуть шире кадра 3:2) */
.speaker-card__img{ aspect-ratio: 1.62 !important; height: auto !important; }
.speaker-card__img img{ object-fit: cover !important; object-position: center 42% !important; }

/* 9. Мобильные карточки спикеров: фото сверху во всю ширину, текст снизу */
@media (max-width: 719px){
  .speaker-card{ flex-direction: column !important; align-items: stretch !important; }
  .speaker-card__img{ width: 100% !important; }
}

/* 3. «Предзаказ» в шапке: основной шрифт и белый текст обоими свойствами */
.header-cta.header-cta{
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* 4. Соцсети: подпись вплотную к иконке */
.social-card{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-align: left !important;
}
.social-card b{ flex: none !important; }

/* 5. hfacts на мобильном: без пустоты, компактные карточки */
@media (max-width: 767px){
  .hfacts .hfact{
    min-height: 0 !important;
    padding: 22px 18px 24px !important;
    gap: 14px !important;
    justify-content: flex-start !important;
  }
  .hfacts .hfact__t{
    font-size: clamp(21px, 5.6vw, 26px) !important;
    line-height: 1.04 !important;
    letter-spacing: .015em !important;
  }
  .hfacts .hfact__p{
    font-size: 14px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }
  .hfacts .hfact__t--big{ font-size: clamp(56px, 15vw, 72px) !important; }
}

/* 7. bstack на мобильном: заголовки крупнее и с большим межбуквенным */
@media (max-width: 767px){
  .bstack-card__title{
    font-size: clamp(24px, 6.6vw, 30px) !important;
    letter-spacing: .03em !important;
    line-height: 1.05 !important;
  }
}

/* 8. «Немного о нас»: заголовки значительно крупнее */
.school-about__card h3 strong{ font-size: clamp(52px, 5vw, 72px) !important; }
@media (max-width: 767px){
  .school-about__card h3 strong{ font-size: clamp(52px, 14vw, 60px) !important; }
}

/* 10. Карусель работ на мобильном: компактнее */
@media (max-width: 767px){
  .works-carousel .work-tile,
  .works-marquee .work-tile{ width: clamp(170px, 45vw, 215px) !important; }
}


/* ===== ч.94 — Пакет: тарифы по новой структуре + единые размеры описаний ===== */

/* Тарифы: имя → старая цена (зачёркнута) → новая цена → подпись → плашка рассрочки */
.tier-pricebox{ display: block !important; margin: 6px 0 18px !important; }
.tier-oldprice{
  display: block;
  font-family: var(--t-font);
  font-size: 17px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  color: rgba(29, 27, 26, .45);
  margin-bottom: 4px;
}
.tier-best .tier-oldprice,
.tier--vip .tier-oldprice{ color: rgba(255, 250, 241, .5); }
.tier-pricenote{
  display: block;
  font-family: var(--t-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(29, 27, 26, .7);
  margin-top: 8px;
}
.tier-best .tier-pricenote,
.tier--vip .tier-pricenote{ color: rgba(255, 250, 241, .75); }
.tier-installment-pill{
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(29, 27, 26, .07);
  font-family: var(--t-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bordo);
  -webkit-text-fill-color: var(--bordo);
  white-space: nowrap;
}
.tier-best .tier-installment-pill{
  background: rgba(254, 255, 85, .14);
  color: var(--yellow);
  -webkit-text-fill-color: var(--yellow);
}
.tier--vip .tier-installment-pill{
  background: rgba(255, 250, 241, .12);
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.tier--sky .tier-installment-pill{
  background: rgba(29, 27, 26, .1);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}

/* Единый размер описательных текстов на странице */
.about-course .oc-body p.reveal-d1,
.about-course .oc-body p.reveal-d2,
.program__sub,
.school-about__intro{
  font-size: clamp(16.5px, 1.3vw, 19px) !important;
  line-height: 1.6 !important;
}

/* Рассрочка: описания в карточках крупнее и читабельнее */
.pay-card__p{ font-size: 16.5px !important; line-height: 1.6 !important; }

/* «Что вы получите, кроме уроков»: больше воздуха между заголовком и карточками */
#about .section-head,
.bstack-section .section-head{ margin-bottom: clamp(40px, 5vw, 72px) !important; }


/* ===== ч.95 — соцсети 2 колонки, спикеры горизонтальный скролл, фото в карточке 02 ===== */

/* 1. Соцсети: иконка слева, название рядом; сетка в 2 колонки на всех ширинах */
.social-card{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  text-align: left !important;
}
.socials-block__list{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 680px){
  .socials-block__list{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .social-card{ padding: 14px 14px !important; }
  .social-card b{ font-size: 15px !important; }
  .social-card__ico{ width: 36px !important; height: 36px !important; }
}

/* 2. Спикеры: горизонтальный скролл */
.speakers-grid{
  display: flex !important;
  grid-template-columns: none !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  gap: 18px !important;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.speakers-grid .speaker-card{
  flex: 0 0 clamp(280px, 78vw, 360px) !important;
  scroll-snap-align: start;
  flex-direction: column !important;
  align-items: stretch !important;
}
@media (min-width: 720px){
  .speakers-grid .speaker-card{ flex-basis: 400px !important; }
}
.speakers-grid .speaker-card__img{ width: 100% !important; }

/* 3. Фото в карточке «5–10 минут» */
.school-about__cardimg{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 16px 0 14px;
}
@media (max-width: 767px){
  .school-about__cardimg{ margin: 10px 0 8px; border-radius: 10px; }
}

/* ч.95b — карточка «5–10 минут» как на референсе: фото сливается с фоном, прижато к низу, подпись слева внизу */
.school-about__card--method{
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #FFFCF7 !important; /* тёплый тон сайта; фото подогнано по балансу */
}
@media (min-width: 768px) and (max-width: 1049px){
  .school-about__card--method{ min-height: 600px !important; }
}
/* ≥1050 (bento-сетка с фиксированными рядами): даём карточке больше рядов и сдвигаем нижний ряд */
@media (min-width: 1050px){
  .school-about__grid{ grid-template-rows: repeat(13, 64px) !important; }
  .school-about__card--method{ grid-row: 1 / span 8 !important; min-height: 0 !important; }
  .school-about__photo{ grid-row: 9 / span 5 !important; }
  .school-about__card--result{ grid-row: 9 / span 4 !important; }
}
@media (min-width: 768px){
  .school-about__cardimg{
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-30%) !important;
    width: min(72%, 500px) !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .school-about__card--method p{
    position: relative;
    z-index: 2;
    margin-top: auto !important;
    max-width: 32%;
    margin-left: -8px !important;
  }
}
@media (max-width: 767px){
  .school-about__cardimg{
    display: block;
    width: 88% !important;
    margin: 8px auto 0 !important;
    border-radius: 0 !important;
  }
  .school-about__card--method p{ position: relative; z-index: 2; }
}

/* ч.96 — точки вместо галочек в резюме; убрать плашку нумерации этапов; мобильный откат «О нас» */
.skill-list .skill-ic svg{ display: none !important; }
.skill-list .skill-ic{
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  border-radius: 50% !important;
  background: var(--bordo) !important;
  flex: none !important;
  margin-top: .5em !important;
  display: inline-block !important;
}
/* большие цифры этапов оставляем; убраны только маленькие плашки «Этап N» (из HTML) */
@media (max-width: 767px){
  /* мобильная карточка «5–10 минут»: компактнее, фон = цвет фона фото (без видимой границы) */
  .school-about__card--method{
    grid-column: 1 / -1 !important;
    background: #FFFCF7 !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }
  .school-about__card--method p{ order: 0; position: relative; z-index: 2; }
  .school-about__card--method picture{ display: contents; }
  .school-about__cardimg{
    display: block !important;
    position: static !important;
    transform: none !important;
    width: 74% !important;
    margin: 4px auto 0 !important;
    border-radius: 0 !important;
    order: 5;
    /* мягкое растворение краёв фото в фоне карточки */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
    mask-composite: intersect;
  }
}
/* picture-обёртка не должна ломать десктопную абсолютную раскладку */
@media (min-width: 768px){
  .school-about__card--method picture{ position: static; }
}


/* ===== ч.97 — карточка «$800–2500 в месяц» ===== */
/* Десктоп-bento: свободный слот под «85%» (колонки 10–12, ряды 5–8) */
@media (min-width: 1050px){
  .school-about__card--income{
    grid-column: 10 / span 3 !important;
    grid-row: 5 / span 4 !important;
  }
}
/* «$800–2500» длиннее обычных цифр — размер поменьше, чтобы влезало в карточку */
.school-about__card--income h3 strong{
  font-size: clamp(34px, 3.4vw, 58px) !important;
  white-space: nowrap;
}
@media (max-width: 767px){
  /* на мобильном — рядом с «85%», такого же размера */
  .school-about__card--income{ grid-column: 2 !important; grid-row: auto !important; order: 5; }
  .school-about__card--income h3 strong{ font-size: clamp(30px, 8.5vw, 38px) !important; }
}
/* описание в карточке дохода — сразу под заголовком, без провала */
.school-about__card--income p{ margin-top: 10px !important; margin-bottom: auto !important; }

/* ===== ч.98 — тёплые плашки «О нас» (уход от холодного белого) ===== */
.school-about__card{ background: #FFFCF4 !important; }
.school-about__card--method{ background: #FFFCF7 !important; }
/* красная карточка-результат остаётся бордовой */
.school-about__card--result{ background: var(--bordo) !important; }

/* ===== ч.99 — правки 33–35 + мобильный батч ===== */

/* Правка 33 — кнопка героя: бежевый фон, красный текст (размер/отступы прежние) */
.hero-scrub__buy.hero-scrub__buy{
  background: #EAE0CF !important;
  color: var(--bordo) !important;
  -webkit-text-fill-color: var(--bordo) !important;
  box-shadow: 0 16px 38px -14px rgba(29, 27, 26, .38);
}
.hero-scrub__buy.hero-scrub__buy:hover{ background: #E3D6C1 !important; }

/* Правка 34 — фото в карточке «5–10 минут» меньше (десктоп, пропорции сохранены) */
@media (min-width: 768px){
  .school-about__card--method .school-about__cardimg{ width: min(58%, 400px) !important; }
}

/* Правка 35 — зачёркнутые старые цены читабельнее (но меньше новой цены) */
.tier-oldprice{ font-size: 21px !important; }
@media (max-width: 767px){ .tier-oldprice{ font-size: 19px !important; } }

/* Мобильные стрелки-подсказки горизонтального скролла (ед. стиль) */
.swipe-hint{ display: none; }
@media (max-width: 767px){
  .swipe-hint{ display: flex; justify-content: flex-end; margin: 0 0 12px; color: var(--bordo); opacity: .55; }
  .swipe-hint svg{ animation: swipeNudge 1.8s ease-in-out infinite; }
}
@keyframes swipeNudge{ 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(6px); } }

@media (max-width: 767px){
  /* 3 — «$800–2500» того же масштаба, что «85%»; фото платформы выше и плотнее */
  .school-about__card--income h3 strong{
    font-size: clamp(44px, 14vw, 60px) !important;
    letter-spacing: -0.02em;
    line-height: .95;
    white-space: normal !important;
    display: inline-block;
  }
  .school-about__photo{ height: 250px !important; }

  /* 5 — «Работы учеников»: воздух заголовок↔работы и перед отзывами */
  #works .section-head{ margin-bottom: 24px !important; }
  #testimonials{ padding-top: 76px !important; }

  /* 6 — «Выбери свой тариф»: подзаголовок ближе к первой карточке */
  #pricing > .wrap > .section-head{ margin-bottom: 0 !important; }
  #pricing .tiers{ margin-top: 18px !important; }

  /* 7 — больше воздуха между «Сравнить тарифы» и «Что даёт предзаказ» */
  #preorder{ margin-top: 5.5rem !important; }

  /* 8 — «+2 недели» того же размера, что «$210» */
  .preorder-card__big--date{ font-size: clamp(40px, 9vw, 64px) !important; white-space: normal; }
}

/* ===== ч.100 — окупаемость + сравнение тарифов ===== */

/* мелкая строчка под шкалами начинается там же, где шкалы (список centered 1080px) */
.compare-note{
  max-width: 1080px !important;
  margin: 32px auto 0 !important;
}

/* заголовок «Сравнение тарифов» +30% и больше межбуквенное */
.compare-modal__h.compare-modal__h{
  font-size: clamp(29px, 3.9vw, 42px) !important;
  letter-spacing: .04em !important;
}

/* шапка таблицы («Что входит» + пакеты курсов) — основной шрифт, читабельно */
.compare-table th{
  font-family: var(--t-font), system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: .05em !important;
}

/* финальная строка с ценами — основной шрифт, крупные цифры */
.compare-table__price-row td{
  font-family: var(--t-font), system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 23px !important;
}
.compare-table__price-row td:first-child{
  font-size: 14.5px !important;
  font-weight: 600 !important;
}

/* ===== ч.101 — заголовки отзывов + sticky CTA на мобильном ===== */

/* главная мысль отзыва как заголовок — заметно крупнее цитаты */
.testi-card-v2__title{
  margin: 12px 0 4px;
  font-family: var(--t-font), system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(19px, 1.8vw, 22px) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--bordo);
  -webkit-text-fill-color: var(--bordo);
}
.testi-card-v2.is-accent .testi-card-v2__title{ color: var(--yellow); -webkit-text-fill-color: var(--yellow); }
.testi-card-v2.is-accent--navy .testi-card-v2__title{ color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; }

/* sticky CTA: показывается после первого скролла и больше не прячется по секциям */
.sticky-cta{
  font-family: var(--t-font), system-ui, sans-serif !important;
  font-weight: 800 !important;
}
.sticky-cta.is-visible{ transform: translateY(0) !important; }
.sticky-cta.is-near-footer,
.sticky-cta.is-hidden-pricing{ transform: translateY(180%) !important; }

/* ===== ч.102 — мобильное меню в стиле BubbleMenu (ReactBits, ванильная адаптация) ===== */
.mobile-nav__overlay{ display: none; }
.mobile-nav__panel{
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100% !important;
  max-width: none !important;
  display: flex; flex-direction: column;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom)) !important;
  background: rgba(234, 224, 207, .97) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: none !important;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav.is-open .mobile-nav__panel{ opacity: 1; pointer-events: auto; }
.mobile-nav__list{
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  gap: 12px;
  border: none !important;
}
.mobile-nav__list a{
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(56px, 9.5vh, 72px);
  padding: 0 !important;
  border: none !important;
  border-radius: 999px;
  background: #FFFAF1;
  color: var(--bordo) !important;
  -webkit-text-fill-color: var(--bordo);
  font-family: var(--t-font) !important;
  font-weight: 700 !important;
  font-size: clamp(19px, 5.6vw, 24px) !important;
  box-shadow: 0 6px 20px rgba(20, 8, 8, .10);
  transform: scale(0);
}
.mobile-nav__list .mobile-nav__chev{ display: none; }
.mobile-nav__list a span{ display: inline-block; }

/* пружинящий каскад появления (аналог gsap back.out) */
.mobile-nav.is-open .mobile-nav__list a{
  animation: bubblePop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}
.mobile-nav.is-open .mobile-nav__list a span{
  animation: bubbleLabel .45s cubic-bezier(.22, .61, .36, 1) both;
}
.mobile-nav.is-open .mobile-nav__list a:nth-child(1){ animation-delay: .05s; } .mobile-nav.is-open .mobile-nav__list a:nth-child(1) span{ animation-delay: .13s; }
.mobile-nav.is-open .mobile-nav__list a:nth-child(2){ animation-delay: .13s; } .mobile-nav.is-open .mobile-nav__list a:nth-child(2) span{ animation-delay: .21s; }
.mobile-nav.is-open .mobile-nav__list a:nth-child(3){ animation-delay: .21s; } .mobile-nav.is-open .mobile-nav__list a:nth-child(3) span{ animation-delay: .29s; }
.mobile-nav.is-open .mobile-nav__list a:nth-child(4){ animation-delay: .29s; } .mobile-nav.is-open .mobile-nav__list a:nth-child(4) span{ animation-delay: .37s; }
.mobile-nav.is-open .mobile-nav__list a:nth-child(5){ animation-delay: .37s; } .mobile-nav.is-open .mobile-nav__list a:nth-child(5) span{ animation-delay: .45s; }
.mobile-nav.is-open .mobile-nav__list a:nth-child(6){ animation-delay: .45s; } .mobile-nav.is-open .mobile-nav__list a:nth-child(6) span{ animation-delay: .53s; }
@keyframes bubblePop{ from{ transform: scale(0); } to{ transform: scale(1); } }
@keyframes bubbleLabel{ from{ transform: translateY(16px); opacity: 0; } to{ transform: translateY(0); opacity: 1; } }

/* CTA-пилюля выпрыгивает последней */
.mobile-nav__foot{ border: none !important; }
.mobile-nav__cta{ transform: scale(0); }
.mobile-nav.is-open .mobile-nav__cta{ animation: bubblePop .5s cubic-bezier(.34, 1.56, .64, 1) .55s both; }
.mobile-nav__note{ opacity: 0; }
.mobile-nav.is-open .mobile-nav__note{ animation: bubbleLabel .4s ease .7s both; }

@media (prefers-reduced-motion: reduce){
  .mobile-nav__list a, .mobile-nav__cta{ transform: none; animation: none !important; }
  .mobile-nav__list a span, .mobile-nav__note{ animation: none !important; opacity: 1; }
}

/* ч.102b — пилюли меню: при нажатии красные с белым текстом; CTA — больше межбуквенное */
.mobile-nav__list a:hover,
.mobile-nav__list a:active{
  background: var(--bordo) !important;
  color: #FFFAF1 !important;
  -webkit-text-fill-color: #FFFAF1 !important;
}
.mobile-nav__cta{ letter-spacing: .06em !important; }
/* строка «Старт курса — 5 августа» убрана */
.mobile-nav__note{ display: none !important; }

/* ч.102c — логотип KAVA.SCHOOL в мобильном меню: крупнее и с воздухом между букв */
.mobile-nav__brand{
  font-size: 22px !important;
  letter-spacing: .07em !important;
}

/* ===== ч.103 — мобильный батч: стык программы, свайп-навигация, FAQ ===== */

/* 2. Мобильный: последняя карточка модуля сливается с нижним краем тёмной панели — без стыка */
@media (max-width: 767px){
  .program{ padding-bottom: 0 !important; }
  .program .module-list{ margin-bottom: 0 !important; }
  .program .module:last-child{
    margin-bottom: 0 !important;
    border-bottom-left-radius: 36px !important;
    border-bottom-right-radius: 36px !important;
    overflow: hidden;
  }
}

/* 3. Лёгкий горизонтальный свайп не должен уводить по истории браузера */
html, body{ overscroll-behavior-x: none; }

/* 4. FAQ: заголовки внутри ответов — красные */
.faq-item__body p b, .faq-item__body li b{
  color: var(--bordo);
  -webkit-text-fill-color: var(--bordo);
}
/* списки с красными точками */
.faq-item__body .faq-dots{
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.faq-item__body .faq-dots li{
  position: relative;
  padding-left: 19px;
  font-weight: 500;
}
.faq-item__body .faq-dots li::before{
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bordo);
}

/* ===== ч.104 — specular-кнопки: блик по контуру тянется к курсору
   (по мотивам ReactBits SpecularButton, ванильная адаптация без WebGL) ===== */
.spec-btn{ position: relative; }
.spec-btn::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(
    from var(--sb-ang, 0deg),
    transparent 0deg,
    var(--sb-line, rgba(255, 246, 220, .95)) 20deg,
    transparent 42deg,
    transparent 178deg,
    var(--sb-line, rgba(255, 246, 220, .95)) 200deg,
    transparent 222deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: var(--sb-o, 0);
  pointer-events: none;
  z-index: 3;
}
/* кнопка героя стоит на бордовом фоне — блик жёлтый и чуть толще, чтобы читался */
.hero-scrub__buy.spec-btn{ --sb-line: rgba(254, 255, 85, .95); }
.hero-scrub__buy.spec-btn::after{ inset: -3px; padding: 3px; }
@media (prefers-reduced-motion: reduce){
  .spec-btn::after{ display: none; }
}

/* ============ ч.105 — правки 17.07: программа без верхней линии (моб), формат-карточки без чёрной полосы, «Остались вопросы» в жёлтом ============ */

/* 2. программа: убрать явную линию между вводным текстом и этапом 01 (мобильный) */
@media (max-width: 767px){
  .program .module-list{ border-top: 0 !important; }
}

/* 3. формат курса: полоса над видео — в цвет самой плашки, а не чёрная */
.fmt-card--sky   .fmt-card__media--video{ background: var(--sky, #D2E4EB) !important; }
.fmt-card--paper .fmt-card__media--video{ background: #fff !important; }
.fmt-card--navy  .fmt-card__media--video{ background: #2A3A44 !important; }
.fmt-card--bordo .fmt-card__media--video{ background: var(--bordo) !important; }

.fmt-card--milk  .fmt-card__media--video{ background: #FFF8DC !important; }

/* ============ ч.106 — «Остались вопросы» как диалог с поддержкой (вместо плашки) ============ */
.help-chat{ display:flex; flex-direction:column; align-items:center; margin-top:var(--space-block); }
.help-chat .section-head{ margin-bottom:6px; }
.help-chat__dialog{ width:100%; max-width:560px; display:flex; flex-direction:column; gap:10px; margin:4px 0 28px; }
.help-chat__msg{
  font-family:var(--t-font); font-size:15px; line-height:1.5;
  padding:14px 18px; max-width:86%;
}
.help-chat__msg--in{
  align-self:flex-start;
  background:#FFFCF4; color:var(--ink); -webkit-text-fill-color:var(--ink);
  border:1px solid rgba(29,27,26,.08);
  border-radius:18px 18px 18px 6px;
  box-shadow:0 8px 22px rgba(29,27,26,.06);
}
.help-chat__msg--out{
  align-self:flex-end;
  background:var(--bordo); color:#FFFAF1; -webkit-text-fill-color:#FFFAF1;
  border-radius:18px 18px 6px 18px;
  box-shadow:0 10px 24px rgba(129,26,25,.22);
}
.help-chat__meta{
  align-self:center; font-family:var(--t-font); font-size:12px;
  color:rgba(29,27,26,.5); margin-top:8px; letter-spacing:.03em; text-align:center;
}
.btn.help-chat__btn.help-chat__btn{
  background:var(--bordo) !important; border-color:var(--bordo) !important;
  color:#FFFAF1 !important; -webkit-text-fill-color:#FFFAF1 !important;
}
.btn.help-chat__btn.help-chat__btn:hover{ background:#5E100F !important; border-color:#5E100F !important; }
@media (max-width:767px){
  .help-chat__msg{ font-size:14px; padding:12px 16px; max-width:92%; }
  .help-chat__dialog{ margin-bottom:24px; }
}

/* ч.106b — «живой» диалог: ряды, аватар поддержки, точки-«печатает», поэтапное появление */
.help-chat__row{ display:flex; align-items:flex-end; gap:8px; }
.help-chat__row--in{ justify-content:flex-start; }
.help-chat__row--out{ justify-content:flex-end; }
.help-chat__row .help-chat__msg{ max-width:86%; }
.help-chat__ava{
  flex:0 0 auto; width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--yellow); color:var(--ink); -webkit-text-fill-color:var(--ink);
  font-family:var(--t-font); font-weight:800; font-size:13px; line-height:1;
}
.help-chat__typing{ display:none; align-items:center; gap:4px; height:1.5em; }
.help-chat__typing i{
  width:6px; height:6px; border-radius:50%; background:rgba(255,250,241,.85);
  animation:hcTyping 1s ease-in-out infinite;
}
.help-chat__typing i:nth-child(2){ animation-delay:.15s; }
.help-chat__typing i:nth-child(3){ animation-delay:.3s; }
@keyframes hcTyping{ 0%,60%,100%{ transform:translateY(0); opacity:.5; } 30%{ transform:translateY(-4px); opacity:1; } }
@keyframes hcPop{ from{ opacity:0; transform:translateY(10px) scale(.92); } to{ opacity:1; transform:none; } }

/* до старта — всё скрыто; появляется по очереди, когда диалог доскроллен */
.help-chat__dialog:not(.is-live) .help-chat__row,
.help-chat__dialog:not(.is-live) .help-chat__meta{ opacity:0; }
.help-chat__dialog.is-live .help-chat__row--in{
  animation:hcPop .5s cubic-bezier(.34,1.56,.64,1) .1s both;
}
.help-chat__dialog.is-live .help-chat__row--out{
  animation:hcPop .5s cubic-bezier(.34,1.56,.64,1) .9s both;
}
.help-chat__dialog.is-live .help-chat__typing{ display:flex; }
.help-chat__dialog.is-live .help-chat__msg-text{ display:none; }
.help-chat__dialog.is-live.is-answered .help-chat__typing{ display:none; }
.help-chat__dialog.is-live.is-answered .help-chat__msg-text{ display:inline; animation:hcPop .3s ease both; }
.help-chat__dialog.is-live .help-chat__meta{ animation:hcPop .5s ease 2.6s both; }
@media (prefers-reduced-motion: reduce){
  .help-chat__dialog .help-chat__row, .help-chat__dialog .help-chat__meta{ opacity:1 !important; animation:none !important; }
  .help-chat__typing{ display:none !important; }
  .help-chat__msg-text{ display:inline !important; }
}

/* ч.106c — диалог поддержки компактнее + подзаголовок */
.help-chat .section-head{ margin-bottom:2px; }
.help-chat__dialog{ max-width:480px; margin-top:14px; }
.help-chat__msg{ font-size:14px; padding:11px 15px; line-height:1.45; }
.help-chat__ava{ width:24px; height:24px; font-size:11px; }
.help-chat__meta{ font-size:11px; margin-top:4px; }
@media (max-width:767px){
  .help-chat__msg{ font-size:13px; padding:10px 14px; }
  .help-chat__dialog{ margin-top:10px; margin-bottom:20px; }
}

/* ч.106d — чат ещё компактнее, аватар слева у вопроса, появление слева/справа как в настоящем чате */
.help-chat__dialog{ max-width:420px; }
.help-chat__msg{ font-size:13px; padding:9px 13px; }
.help-chat__ava{ width:22px; height:22px; font-size:10px; }
.help-chat__ava--user{
  background:#FFFCF4; color:var(--ink); -webkit-text-fill-color:var(--ink);
  border:1px solid rgba(29,27,26,.12);
}
@keyframes hcPopL{ from{ opacity:0; transform:translate(-14px,6px) scale(.92); } to{ opacity:1; transform:none; } }
@keyframes hcPopR{ from{ opacity:0; transform:translate(14px,6px) scale(.92); } to{ opacity:1; transform:none; } }
.help-chat__dialog.is-live .help-chat__row--in{
  animation-name:hcPopL;
}
.help-chat__dialog.is-live .help-chat__row--out{
  animation-name:hcPopR;
}
@media (max-width:767px){
  .help-chat__msg{ font-size:12.5px; padding:8px 12px; }
}

/* ============ ч.107 — Hero Video Dialog (порт Magic UI, ванильный): превью + модалка из центра ============ */
.hvd{ margin:2rem auto 0; width:100%; max-width:624px; }
.hvd__thumb{
  position:relative; display:block; width:100%; aspect-ratio:16/9;
  border:0; padding:0; cursor:pointer;
  border-radius:1.25rem; overflow:hidden; background:#292929;
  box-shadow:0 18px 44px rgba(29,27,26,.18);
  transition:filter .2s ease;
}
.hvd__thumb:hover{ filter:brightness(.85); }
.hvd__soon{
  position:absolute; left:0; right:0; bottom:14px; text-align:center;
  font-family:var(--t-font); font-size:12px; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase;
  color:rgba(255,250,241,.55); -webkit-text-fill-color:rgba(255,250,241,.55);
  pointer-events:none;
}
.hvd__play-wrap{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  transform:scale(.9); transition:transform .2s ease;
}
.hvd__thumb:hover .hvd__play-wrap{ transform:scale(1); }
.hvd__play-outer{
  width:96px; height:96px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,250,241,.12);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.hvd__play{
  width:64px; height:64px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(180deg, #A33230 0%, var(--bordo) 100%);
  box-shadow:0 6px 18px rgba(0,0,0,.3);
  transition:transform .2s ease;
}
.hvd__play svg{ margin-left:3px; filter:drop-shadow(0 3px 3px rgba(0,0,0,.15)); }
.hvd__thumb:hover .hvd__play{ transform:scale(1.15); }
/* модалка */
.hvd-modal{
  position:fixed; inset:0; z-index:220;
  display:flex; align-items:center; justify-content:center;
  background:rgba(10,6,6,.55);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  opacity:0; visibility:hidden;
  transition:opacity .25s ease, visibility 0s linear .25s;
}
.hvd-modal.is-open{ opacity:1; visibility:visible; transition:opacity .25s ease; }
.hvd-modal__frame{
  width:min(92vw, 920px); aspect-ratio:16/9;
  border:2px solid #fff; border-radius:18px; overflow:hidden;
  background:#000;
  transform:scale(.5); opacity:0;
  transition:transform .45s cubic-bezier(.34,1.4,.64,1), opacity .3s ease;
}
.hvd-modal.is-open .hvd-modal__frame{ transform:scale(1); opacity:1; }
.hvd-modal__frame iframe{ display:block; width:100%; height:100%; border:0; }
.hvd-modal__close{
  position:absolute; top:18px; right:18px; z-index:2;
  width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center;
  background:rgba(20,10,10,.5); color:#fff; cursor:pointer;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.hvd-modal__close:hover{ background:rgba(20,10,10,.75); }
@media (max-width:767px){
  .hvd__play-outer{ width:72px; height:72px; }
  .hvd__play{ width:48px; height:48px; }
  .hvd__play svg{ width:20px; height:20px; }
  .hvd-modal__frame{ width:94vw; border-radius:14px; }
}
@media (prefers-reduced-motion: reduce){
  .hvd-modal__frame{ transition:opacity .2s ease; transform:none; }
}

/* ч.108 — карточка 04 (жёлтая): лид-текст тёмный, как весь текст на жёлтом */
.bstack-card--yellow .bstack-card__lead,
.bstack-card--yellow .bstack-card__sub,
.bstack-card--yellow .bstack-card__list li{
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

/* ============ ч.109 — кнопка «Видеокейс» (Instagram) в правом верхнем углу кейса ============ */
.case__img{ position:relative; }
.case__ig{
  position:absolute; top:10px; right:10px; z-index:3;
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 13px; border-radius:999px;
  background:rgba(255,252,244,.95);
  color:var(--ink); -webkit-text-fill-color:var(--ink);
  font-family:var(--t-font); font-size:11px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; line-height:1;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.case__ig svg{ width:15px; height:15px; fill:currentColor; display:block; }
.case__ig:hover{
  background:var(--bordo);
  color:#FFFAF1; -webkit-text-fill-color:#FFFAF1;
  transform:scale(1.05);
}
@media (max-width:767px){
  .case__ig{ padding:7px 11px; font-size:10px; }
}

/* ч.109b — значок Instagram теперь справа от имени, круглой бордовой кнопкой */
.case__namerow{
  margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.case__namerow .case__name{ margin-top:0; }
.case__ig{
  position:static !important; top:auto !important; right:auto !important;
  flex:0 0 auto; width:36px; height:36px; padding:0 !important; border-radius:50%;
  display:flex; align-items:center; justify-content:center; gap:0;
  background:var(--bordo) !important;
  color:#FFFAF1 !important; -webkit-text-fill-color:#FFFAF1 !important;
  box-shadow:0 4px 12px rgba(129,26,25,.3);
}
.case__ig svg{ width:16px; height:16px; }
.case__ig:hover{ background:#5E100F !important; transform:scale(1.1); }

/* ч.109c — кнопка кейса с подписью «Видеокейс», чтобы было понятно, что она кликабельная */
.case__ig{
  width:auto !important; height:auto !important; border-radius:999px !important;
  padding:8px 13px !important; gap:6px !important;
  font-family:var(--t-font); font-size:10.5px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; line-height:1;
  white-space:nowrap;
}

/* ===== ч.92 — ВРЕМЕННО (пока не записано видео о курсе) =====
   «О профессии»: фраза про нейросети идёт обычным body-текстом,
   блок поджат вплотную к заголовку «За 3 месяца освойте навыки…».
   ОТКАТИТЬ вместе с возвратом p.oc-statement в разметке index.html. */
.hfacts-section--tight{ padding-bottom: clamp(10px, 1.8vw, 20px) !important; }
.about-course--compact{
  padding-top: clamp(10px, 1.8vw, 22px) !important;
  padding-bottom: clamp(36px, 6vw, 72px) !important;
}
.about-course--compact .oc-label{ margin-top: 0 !important; }
.about-course--compact .oc-body p.reveal-d1 span{
  color: var(--bordo) !important;
  font-weight: 700 !important;
}
.about-course--compact .oc-body p.reveal-d2{ margin-top: 14px !important; }
@media (max-width: 767px){
  .hfacts-section--tight{ padding-bottom: 14px !important; }
  .about-course--compact{ padding-top: 14px !important; }
  .about-course--compact .oc-label{ margin-bottom: 14px !important; }
}

/* ===== ч.110 — стоимость курсов-подарков в блоке «Что вы получите, кроме уроков» ===== */
.bstack .bstack-card__price{
  margin: 10px 0 0;
  font-family: var(--t-font);
  font-weight: 600;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.35;
  color: var(--paper-3); -webkit-text-fill-color: var(--paper-3);
  opacity: .82;
}
.bstack .bstack-card__price s{ text-decoration: line-through; opacity: .7; }
.bstack .bstack-card__price b{
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  opacity: 1;
  color: var(--yellow); -webkit-text-fill-color: var(--yellow);
}
/* жёлтая карточка — тёмный текст, как остальной текст на жёлтом */
.bstack-card--yellow .bstack-card__price,
.bstack-card--yellow .bstack-card__price b{
  color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important;
}
@media (max-width: 767px){
  .bstack .bstack-card__price{ font-size: 13.5px !important; margin-top: 8px !important; }
}

/* ===== ч.111 — мобильные правки по ТЗ (30.07.2026) ===== */
@media (max-width: 767px){

  /* 1. Факты под первым экраном: «Старт 10 августа», «160 уроков», «2 курса в подарок» — крупнее */
  .hfacts .hfact__t{ font-size: clamp(25px, 6.6vw, 30px) !important; }
  .hfacts .hfact__p{ font-size: 15.5px !important; line-height: 1.5 !important; }

  /* 2. Больше воздуха между карточками фактов и строкой «За 3 месяца освойте навыки…» */
  .hfacts-lead{ margin-top: 46px !important; }

  /* 3. Стопка бонусов: ровные ступени, общий низ — карточки уходят за экран вместе.
     Причина сбоя была в height:auto — карточки имели разную высоту, и sticky
     выталкивал их вверх на разную величину у нижней границы контейнера. */
  .bstack .bstack-card__txt{ margin-top: 0 !important; }   /* 2-строчный заголовок влезает в видимую «шапку» */
  .bstack .bstack-card.bstack-card{
    height: calc(100vh - var(--bstack-top) - var(--i) * var(--bstack-peek)) !important;
    height: calc(100svh - var(--bstack-top) - var(--i) * var(--bstack-peek)) !important;
    min-height: 0 !important;
  }
  /* при фиксированной высоте сжимается картинка, а не текст */
  .bstack .bstack-card__media{
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 110px !important;
  }
  .bstack .bstack-card__media img{ height: 100% !important; object-fit: cover !important; }

  /* 4. Счётчик: «+2 курса в подарок» — на отдельную строку и крупнее */
  .cd-panel__bonus{
    display: block !important;
    margin-top: 10px !important;
    font-size: 33px !important;
    line-height: 1.05 !important;
  }

  /* 5. Названия тарифов крупнее */
  .tier-name.tier-name{ font-size: 38px !important; }

  /* 6. «Помогаем с трудоустройством»: текст в красных плашках крупнее */
  .employ-tab.employ-tab{ font-size: 15px !important; }

  /* 7. «Остались вопросы?»: больше воздуха сверху и снизу от анимации переписки */
  .help-chat__dialog{ margin: 34px 0 36px !important; }
}

/* ===== ч.112 — окно «Оплата половины стоимости»: один тариф по центру ===== */

/* 8. Показан один тариф → узкая панель, карточка по центру, без прокрутки.
   Класс is-single вешает JS при открытии с конкретным тарифом. */
/* по центру экрана и с небольшими полями — панель гарантированно влезает без прокрутки */
.half-modal.is-single{
  align-items: center;
  padding: 20px 16px;
}
.half-modal.is-single .half-modal__panel{
  max-width: 470px;
  padding: 20px 26px 24px;
}
.half-modal.is-single .half-tiers{
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}
.half-modal.is-single .half-modal__head{ margin-bottom: 14px; }
.half-modal.is-single .half-modal__sub{ font-size: 13.5px; line-height: 1.4; }
.half-modal.is-single .half-tier{ padding: 20px 20px 22px; }
/* в карточках с плашкой сохраняем верхний отступ под неё */
.half-modal.is-single .half-tier--best,
.half-modal.is-single .half-tier--vip{ padding-top: 44px; }
.half-modal.is-single .half-tier .tier-features{ gap: 7px; }
.half-modal.is-single .half-tier .tier-features li{ font-size: 14px; line-height: 1.4; }

/* 9. Названия тарифов крупнее; в карточках с плашкой — отступ сверху под неё */
.half-tier__name.half-tier__name{ font-size: 24px; }
.half-tier--best,
.half-tier--vip{ padding-top: 44px; }

/* 10. Мобильная версия окна */
@media (max-width: 767px){
  /* заголовок по центру: симметричные отступы вместо padding-right под крестик */
  .half-modal__title.half-modal__title{
    font-size: 24px !important;
    padding: 0 44px !important;
    text-align: center !important;
  }
  .half-tier__name.half-tier__name{ font-size: 26px !important; }
  .half-modal.is-single .half-modal__panel{ max-width: none; padding: 18px 16px 22px; }
}


/* ===== Блок «5–10 минут»: убираем видимый стык фото с фоном карточки на десктопе.
   На мобильной версии такое затухание уже есть — здесь тот же приём для >=768px. ===== */
@media (min-width: 768px){
  .school-about__card--method .school-about__cardimg{
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0, #000 13%, #000 84%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 15%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right,  transparent 0, #000 13%, #000 84%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 15%);
    mask-composite: intersect;
  }
}
