/* ============================================================
   Kelin Academy — единая дизайн-система (мини-брендбук)
   Используется каталогом и всеми курсовыми страницами /new/
   ------------------------------------------------------------
   Базовые цвета школы: тёплая «бумага» + глубокий зелёный
   из логотипа. У каждого курса — свой акцент (--acc):
     .page--olive  → Salad Lab
     .page--plum   → Пироги
     .page--wine   → Заготовки
   ============================================================ */

@font-face {
  font-family: 'TildaSans';
  src: url('assets/fonts/TildaSans-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'TildaSans';
  src: url('assets/fonts/TildaSans-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'TildaSans';
  src: url('assets/fonts/TildaSans-Semibold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'TildaSans';
  src: url('assets/fonts/TildaSans-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}

:root {
  /* палитра школы */
  --paper: #fbf7f3;        /* чистый тёплый фон */
  --card: #ffffff;         /* карточки — белые, контрастнее фона */
  --ink: #2b1f23;          /* тёплый почти-чёрный, заголовки */
  --green: #850e35;        /* фирменный бордовый школы */
  --green-deep: #530b23;   /* футер, hover */
  --text: #4c4046;         /* основной текст — тёмный, читаемый */
  --muted: #94807f;
  --line: #ecdcd6;         /* волосяные линии */

  /* акцент курса (по умолчанию — бордовый школы) */
  --acc: #850e35;
  --acc-deep: #650a28;
  --acc-soft: #f9e9ed;

  --wrap: 1120px;
  --r: 26px;
  --serif: 'Cormorant', Georgia, serif;
  --sans: 'TildaSans', Arial, sans-serif;
}

.page--olive { --acc: #5d6a28; --acc-deep: #49541f; --acc-soft: #f0f2df; --line: #e2e3d3; }
.page--plum  { --acc: #764289; --acc-deep: #5d3070; --acc-soft: #f4ebf6; --line: #e6dbe6; }
.page--wine  { --acc: #850e35; --acc-deep: #690b2a; --acc-soft: #f9e9ed; --line: #ecdcd6; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

/* картинки в grid-ячейках не должны распирать колонки */
.grid-2 > *, .grid-3 > *, .split > *, .chero__grid > *,
.hero__arches > *, .course > *, .why > *, .about > *, .app > * { min-width: 0; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

b, strong { font-weight: 600; color: var(--ink); }

/* появление при скролле */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none !important; }
}

/* ============ типографика ============ */
.h-display, .h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.04;
}
.h-display { font-size: clamp(42px, 7vw, 82px); letter-spacing: -.01em; }
.h2 { font-size: clamp(30px, 4.2vw, 50px); }
.h-display em, .h2 em, .em-acc { font-style: italic; font-weight: 500; color: var(--acc); }

/* надзаголовок-нумерация, как в меню ресторана */
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc);
}
.kicker::after { content: ''; height: 1px; width: 46px; background: var(--acc); opacity: .45; }
.kicker--center { justify-content: center; }
.kicker--center::before { content: ''; height: 1px; width: 46px; background: var(--acc); opacity: .45; }

.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }

/* ============ кнопки ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 34px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--acc); color: #fff; }
.btn--solid:hover { background: var(--acc-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }

/* маленькая метка курса */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--acc-soft); color: var(--acc-deep);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }

/* статус курса: в продаже / предзапись */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .status { font-size: 11px; padding: 6px 12px; letter-spacing: .05em; gap: 6px; }
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.status--now { background: var(--acc); color: #fff; }
.status--now::before { background: #fff; }
.status--soft { background: var(--acc-soft); color: var(--acc-deep); }
.status--soft::before { background: var(--acc); }
.status--soon { border: 1px dashed var(--muted); color: var(--muted); }
.status--soon::before { border: 1.5px solid var(--muted); }
.status--muted { background: #f1eae6; color: var(--muted); }
.status--muted::before { background: var(--muted); }

/* факт-пилюли (старт, доступ, формат) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: 13.5px; font-weight: 500;
}
.pill b { color: var(--acc-deep); font-weight: 600; }

/* ============ шапка ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.topbar.scrolled { border-color: var(--line); }
.topbar__in {
  max-width: var(--wrap); margin-inline: auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 28px;
}
.topbar__logo img { height: 30px; width: auto; }
.topbar__nav { display: flex; gap: 26px; margin-left: auto; }
.topbar__nav a {
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease;
}
.topbar__nav a:hover { color: var(--acc-deep); border-color: var(--acc); }
.topbar__cta {
  min-height: 42px; padding: 9px 22px; font-size: 12px;
}
@media (max-width: 760px) {
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; }
}

/* хлебная крошка на курсовых страницах */
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s ease;
}
.crumb:hover { color: var(--acc-deep); }
.crumb::before { content: '←'; font-size: 15px; }

/* ============ секции ============ */
.sec { padding: clamp(56px, 9vw, 110px) 0; }
.sec--tight { padding: clamp(40px, 6vw, 70px) 0; }
.sec__head { display: grid; gap: 18px; max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head--center { justify-items: center; text-align: center; margin-inline: auto; }
.sec--line { border-top: 1px solid var(--line); }

/* ============ карточка-«меню» с двойной обводкой ============ */
.menu-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 44px -30px rgba(43, 31, 35, .35);
}
.menu-card::before {
  content: ''; position: absolute; inset: 9px;
  border: 1px solid var(--line); border-radius: calc(var(--r) - 9px);
  pointer-events: none;
}

/* обычная карточка */
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: 0 14px 36px -28px rgba(43, 31, 35, .35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(83, 11, 35, .3); }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--ink); line-height: 1.1; }

/* арочная рамка фото — фирменный элемент */
.arch {
  border-radius: 999px 999px var(--r) var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ============ бегущая строка ============ */
.ticker {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  padding: 13px 0;
  background: var(--card);
}
.ticker__track { display: inline-block; animation: ticker 38s linear infinite; }
.ticker span {
  font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--ink);
  margin: 0 20px; letter-spacing: .01em;
}
.ticker span::after { content: '·'; color: var(--acc); margin-left: 44px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ горизонтальная лента фото ============ */
.strip { position: relative; }
.strip__track {
  display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
/* лента доходит до краёв экрана, но первый кадр стоит по сетке */
@media (max-width: 1160px) {
  .strip__track {
    margin-inline: calc(-1 * var(--pad, 20px));
    padding-inline: var(--pad, 20px);
    scroll-padding-inline: var(--pad, 20px);
  }
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track > * { scroll-snap-align: start; flex: 0 0 auto; }
.strip__track img {
  height: clamp(260px, 34vw, 380px);
  width: clamp(195px, 25.5vw, 285px);   /* один размер для всех: 3:4 */
  object-fit: cover; object-position: center;
  border-radius: 18px; border: 1px solid var(--line);
}
.strip__track figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.strip__track figure img { display: block; }
.strip__track figcaption {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-align: center; line-height: 1.2;
}
.strip__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.strip__btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: grid; place-items: center;
  transition: border-color .2s ease, opacity .2s ease;
}
.strip__btn:hover { border-color: var(--acc); }
.strip__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.strip__btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }

/* ============ FAQ ============ */
.faq__list { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: border-color .25s ease;
  box-shadow: 0 10px 28px -24px rgba(43, 31, 35, .3);
}
.faq__item.open { border-color: var(--acc); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink);
  border-radius: 18px;                     /* подсветка нажатия — со скруглением, как у карточки */
  -webkit-tap-highlight-color: transparent;
}
.faq__q:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; border-radius: 18px; }
.faq__item.open .faq__q { border-radius: 18px 18px 0 0; }
.faq__icon { position: relative; flex: 0 0 20px; height: 20px; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; inset: 0; margin: auto; background: var(--acc);
  transition: transform .3s ease;
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item.open .faq__icon::after { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 22px 20px; font-size: 15.5px; }

/* ============ карточка цены ============ */
.price-card {
  max-width: 620px; margin-inline: auto; padding: clamp(30px, 5vw, 52px);
  text-align: center; display: grid; gap: 22px; justify-items: center;
}
.price-card__list { list-style: none; display: grid; gap: 10px; text-align: left; }
.price-card__list li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; color: var(--ink); }
.price-card__list li::before {
  content: '✓'; color: var(--acc); font-weight: 700; flex: 0 0 auto;
}
.price-card__old { font-family: var(--sans); font-size: 20px; font-weight: 600; color: #7d6a6c; font-variant-numeric: lining-nums tabular-nums; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-card__num {
  font-family: var(--sans); font-weight: 700; font-size: clamp(38px, 5vw, 52px);
  line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums;
  color: var(--acc-deep);
}
.price-card__alt { font-size: 15px; color: var(--text); letter-spacing: .02em; }
/* пересчёт цены в валюты — мелкая строка под ценой */
.price-fx { display: block; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: .01em; line-height: 1.6; }
.price-fx em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); opacity: 1; white-space: nowrap; }
.duo .price-fx { font-size: 14px; color: var(--text); }
/* старая (полная) цена — зачёркнутая, серым, мельче, ставится перед актуальной */
.price-old { font-family: var(--sans); font-size: 16px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; color: #7d6a6c; text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 8px; }

/* ============ блок приложения ============ */
.stores { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.stores img { height: 52px; width: auto; border-radius: 10px; }

/* ============ hero курсовой страницы ============ */
.chero { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 84px); }
.chero__crumb { display: block; margin-bottom: clamp(20px, 3vw, 34px); }
.chero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.chero__text { display: grid; gap: 20px; justify-items: start; }
.chero__title { font-size: clamp(40px, 5.6vw, 68px); }
.chero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.chero__photo { height: clamp(300px, 40vw, 520px); }
@media (max-width: 860px) {
  .chero__grid { grid-template-columns: 1fr; }
  .chero__photo { order: -1; width: min(100%, 440px); margin-inline: auto; height: auto; aspect-ratio: .88; }
}

/* ============ сетки ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* карточка модуля программы */
.mod { display: grid; gap: 14px; align-content: start; }
.mod__img { border-radius: 16px; border: 1px solid var(--line); height: 190px; width: 100%; object-fit: cover; }
.mod__list { list-style: none; display: grid; gap: 8px; }
.mod__list li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.mod__list li::before { content: ''; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--acc); transform: translateY(-2px); }

/* двухколоночный блок «текст + фото» */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__text { display: grid; gap: 16px; justify-items: start; }
.split__photo { height: clamp(280px, 36vw, 440px); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__photo { width: min(100%, 420px); margin-inline: auto; }
}

/* ============ футер ============ */
.footer { background: var(--card); border-top: 1px solid var(--line); color: var(--text); }
.footer__in {
  max-width: var(--wrap); margin-inline: auto; padding: clamp(40px, 6vw, 64px) 20px 32px;
  display: grid; gap: 28px;
}
.footer__top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer__logo img { height: 34px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__pill {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--ink); text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.footer__pill:hover { background: var(--acc-soft); border-color: var(--acc); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: 13px; color: var(--muted);
}

/* ============================================================
   v3: новые компоненты (программа, оплата, отзывы, кросс-курсы)
   — в визуальном языке /new/
   ============================================================ */

/* режим ?static — без анимаций (для скриншотов) */
.no-rv .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-rv .ticker__track { animation: none !important; }

/* --- программа по модулям --- */
.mod__num {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--acc);
}
.prog-stats {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* --- блок оплаты --- */
.pay { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; align-items: start; }
.pay .price-card { max-width: none; margin: 0; text-align: left; justify-items: start; }
.pay .price-card__list { text-align: left; }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } }

.paybox { display: grid; gap: 12px; align-content: start; }
.paybox__title {
  font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--ink);
  margin-bottom: 4px;
}
.paybtn {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 20px; cursor: pointer; text-align: left; text-decoration: none;
  font-family: var(--sans);
  box-shadow: 0 12px 30px -24px rgba(43, 31, 35, .35);
  transition: border-color .2s ease, transform .2s ease;
}
.paybtn:hover { border-color: var(--acc); transform: translateY(-2px); }
.paybtn svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--acc); }
.paybtn--wa svg { color: #1da851; }
.paybtn b { display: block; font-size: 16px; color: var(--ink); line-height: 1.3; }
.paybtn small { display: block; font-size: 13px; color: var(--muted); }
.paybox__note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.paybox__note a { color: var(--acc-deep); }

/* --- что будет после оплаты --- */
.after { margin-top: clamp(36px, 5vw, 60px); }
.after__title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 32px);
  color: var(--ink); text-align: center; margin-bottom: clamp(20px, 3vw, 32px);
}
.after__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: astep; }
.after__step {
  counter-increment: astep;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; display: grid; gap: 8px; align-content: start;
  box-shadow: 0 14px 36px -28px rgba(43, 31, 35, .35);
}
.after__step::before {
  content: '0' counter(astep);
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 30px; line-height: 1; color: var(--acc); opacity: .6;
}
.after__step b { font-size: 16.5px; }
.after__step span { font-size: 14.5px; line-height: 1.55; }
@media (max-width: 860px) { .after__steps { grid-template-columns: 1fr; } }

/* --- текстовые отзывы --- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; display: grid; gap: 12px; align-content: start;
  box-shadow: 0 14px 36px -28px rgba(43, 31, 35, .35);
}
.review::before {
  content: '\201C';
  font-family: var(--serif); font-style: italic; font-size: 46px; line-height: .4;
  color: var(--acc); opacity: .55; margin-top: 8px;
}
.review p { font-size: 15px; line-height: 1.6; }
.review footer { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.review footer b { color: var(--acc-deep); }
@media (max-width: 980px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* --- тариф «вдвоём с подругой» --- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.duo > div {
  background: var(--acc-soft); border-radius: 16px; padding: 14px 18px;
  display: grid; gap: 2px;
}
.duo b { font-family: var(--sans); font-weight: 700; font-size: clamp(19px, 4.8vw, 24px); letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; color: var(--acc-deep); }
.duo span { font-size: 13px; color: var(--text); }
@media (max-width: 420px) { .duo { grid-template-columns: 1fr; } }

/* --- мини-блок «автор курса» --- */
.author-note {
  max-width: 780px; margin-inline: auto; padding: clamp(28px, 4vw, 44px);
  display: grid; gap: 14px; justify-items: start;
}
.author-note h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--ink); line-height: 1.1; }
.author-note p { font-size: 15.5px; }
.author-note .aq {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 20px; line-height: 1.45; color: var(--ink);
  border-left: 3px solid var(--acc); padding-left: 18px;
}

/* --- кросс-продажа: другие курсы --- */
.xcourses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.xcourse { display: grid; grid-template-columns: .68fr 1fr; overflow: hidden; text-decoration: none; }
.xcourse__media { margin: 9px; border-radius: calc(var(--r) - 9px); overflow: hidden; min-height: 200px; }
.xcourse__media img { width: 100%; height: 100%; object-fit: cover; }
.xcourse__body { padding: 22px 26px 22px 18px; display: grid; gap: 8px; align-content: center; justify-items: start; }
.xcourse__pain { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.xcourse__title { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--ink); line-height: 1.05; }
.xcourse__desc { font-size: 14.5px; }
.xcourse__price { font-size: 14px; color: var(--muted); }
.xcourse__price b { font-family: var(--serif); font-size: 20px; color: var(--acc-deep); margin-right: 6px; }
.xcourse__link { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-deep); }
.xcourse:hover .xcourse__link { text-decoration: underline; }
@media (max-width: 900px) { .xcourses { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .xcourse { grid-template-columns: 1fr; }
  .xcourse__media { min-height: 0; height: 180px; }
}

/* --- форма предзаписи --- */
.prebook-form { display: grid; gap: 12px; width: 100%; }
.field {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; padding: 14px 18px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--acc); }

/* --- модалка «оплата подключается» --- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(43, 31, 35, .45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal__box {
  position: relative; width: min(100%, 460px);
  background: var(--paper); border-radius: 24px;
  padding: 36px 30px 30px; display: grid; gap: 14px; justify-items: start;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
}
.modal__box h3 { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.1; color: var(--ink); }
.modal__box p { font-size: 15px; }
.modal__close {
  position: absolute; top: 10px; right: 12px; width: 38px; height: 38px;
  border: none; background: none; font-size: 28px; line-height: 1;
  color: var(--muted); cursor: pointer;
}
.modal__close:hover { color: var(--ink); }

/* защита от распирания колонок в новых сетках */
.pay > *, .xcourses > *, .reviews > *, .after__steps > *, .xcourse > * { min-width: 0; }

/* Суммы не должны разрываться между числом и знаком валюты */
.duo b, .price-card__num, .price-old, .price-card__old { white-space: nowrap; }
.duo b { display: block; }

/* ============ планка под первым экраном (вместо бегущей строки) ============ */
.claimbar { background: var(--card); border-block: 1px solid var(--line); }
.claimbar__in {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline;
  justify-content: space-between; padding-block: 18px;
}
.claimbar__txt { font-size: 18px; font-weight: 600; color: var(--ink); margin: 0; max-width: 40ch; line-height: 1.35; }
.claimbar__num { font-family: var(--sans); font-size: 16px; color: var(--text); margin: 0; white-space: nowrap; }
.claimbar__num b {
  font-size: 26px; font-weight: 700; color: var(--acc-deep); margin-right: 6px;
  font-variant-numeric: lining-nums tabular-nums;
}
@media (max-width: 560px) { .claimbar__txt { font-size: 16px; } .claimbar__num b { font-size: 23px; } }


/* плашка «1500+ учениц в год» сбоку в первом экране */
.hero__in { position: relative; }
.hero__badge {
  position: absolute; top: 8px; right: 0;
  display: grid; gap: 2px; justify-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 18px; box-shadow: 0 1px 2px rgba(63,42,30,.05), 0 8px 24px -12px rgba(63,42,30,.16);
  text-align: center;
}
.hero__badge b {
  font-family: var(--sans); font-size: 30px; font-weight: 700; line-height: 1;
  color: var(--acc-deep); font-variant-numeric: lining-nums tabular-nums;
}
.hero__badge span { font-size: 13px; color: var(--text); white-space: nowrap; }
@media (max-width: 900px) {
  .hero__badge {
    position: static; margin: 22px auto 0; justify-self: center; width: max-content;
    display: flex; align-items: baseline; gap: 9px; padding: 11px 20px; border-radius: 999px;
  }
  .hero__badge b { font-size: 24px; }
  .hero__badge span { font-size: 14px; }
}

/* цены в карточках курсов — тем же читаемым гротеском, что и основные */
.course__price, .xcourse__price b {
  font-family: var(--sans); font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.01em; white-space: nowrap;
}
.course__price { font-size: 28px; color: var(--acc-deep); }
.xcourse__price b { font-size: 19px; }

/* цифры школы в блоке «Кто вас учит» */
.about__facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px;
  margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line);
}
.about__facts li { display: grid; gap: 2px; }
.about__facts b {
  font-family: var(--sans); font-size: 26px; font-weight: 700; line-height: 1;
  color: var(--acc-deep); font-variant-numeric: lining-nums tabular-nums;
}
.about__facts span { font-size: 13px; color: var(--text); }
@media (max-width: 560px) { .about__facts { gap: 14px 24px; } .about__facts b { font-size: 23px; } }

/* после первого экрана секция курсов начинается ближе (раньше место занимала бегущая строка) */
/* отступ после первого экрана — как у остальных секций */


/* ============ мобильное меню ============ */
.topbar__burger { display: none; }
@media (max-width: 860px) {
  .topbar__burger { display: none !important; }
  .topbar__cta { display: inline-flex; margin-left: auto; }
  .topbar__burger--off {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 40px; height: 40px; margin-left: auto; padding: 0 6px;
    background: transparent; border: 0; cursor: pointer;
  }
  .topbar__burger span { display: block; height: 2.5px; background: var(--acc); border-radius: 2px; }
  .topbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .topbar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
  .topbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
  .topbar__burger span { transition: transform .22s ease, opacity .18s ease; }
}
.mobmenu {
  position: fixed; top: 62px; right: 12px; left: auto; bottom: auto; z-index: 60;
  width: min(86vw, 340px); max-height: calc(100vh - 84px); overflow-y: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 14px 20px 18px;
  box-shadow: 0 18px 50px -18px rgba(43,31,35,.4);
}
.mobmenu__backdrop {
  position: fixed; inset: 0; z-index: 55; background: rgba(43,31,35,.28);
}
.mobmenu__backdrop[hidden] { display: none; }
.mobmenu[hidden] { display: none; }
.mobmenu__nav { display: grid; gap: 2px; }
.mobmenu__nav a {
  padding: 15px 4px; font-family: var(--serif); font-size: 21px; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobmenu__wa { color: var(--acc) !important; }


/* меню отключено: в шапке снова кнопка WhatsApp */
.topbar__burger, .mobmenu, .mobmenu__backdrop { display: none !important; }
@media (max-width: 860px) { .topbar__cta { display: inline-flex !important; margin-left: auto; } }


/* ============ футер: колонки вместо бейджей ============ */
.footer__cols {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 34px 28px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__logo img { height: 30px; width: auto; }
.footer__note { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 34ch; margin: 0; }
.footer__apps { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__apps a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.footer__apps a:hover { border-color: var(--acc); color: var(--acc); }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 {
  margin: 0 0 2px; font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.footer__col a {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; color: var(--text); text-decoration: none;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--acc); }
.footer__col a svg { flex: 0 0 auto; color: var(--acc); }
.footer__bottom {
  border-top: 0; padding-top: 20px; font-family: var(--sans); font-size: 13px; color: var(--muted);
}
@media (max-width: 900px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr; }
}


/* ============ просмотр фото на весь экран ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 12, 15, .93);
  display: grid; grid-template-columns: 56px 1fr 56px; align-items: center;
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox__fig { grid-column: 2; margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox__fig img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  border-radius: 14px; object-fit: contain; background: #241a1d;
}
.lightbox__fig figcaption {
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.lightbox__close, .lightbox__nav {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 0; position: relative;
  transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__close::before, .lightbox__close::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 16px; height: 2px; background: #fff;
}
.lightbox__close::before { transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__nav::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
}
.lightbox__nav--prev { grid-column: 1; justify-self: start; }
.lightbox__nav--prev::before { transform: rotate(45deg) translate(1px, -1px); }
.lightbox__nav--next { grid-column: 3; justify-self: end; }
.lightbox__nav--next::before { transform: rotate(-135deg) translate(1px, -1px); }
.lightbox__count {
  position: absolute; left: 0; right: 0; bottom: 20px; text-align: center;
  font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.7);
}
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 44px 1fr 44px; padding: 14px; }
  .lightbox__fig img { max-height: 72vh; }
  .lightbox__close, .lightbox__nav { width: 38px; height: 38px; }
}


/* ============ отзывы стопкой карточек ============ */
.deck {
  position: relative; display: block !important;
  box-sizing: content-box;
  height: clamp(330px, 52vw, 380px);
  max-width: 640px; margin-inline: auto;
  padding-bottom: 64px;
  touch-action: pan-y;
}
.deck .review {
  position: absolute; left: 0; right: 0; top: 0;
  height: clamp(330px, 52vw, 380px);
  display: grid; grid-template-rows: 1fr auto; gap: 16px;
  overflow: hidden;
  transform-origin: 50% 90%;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease, box-shadow .3s ease;
  will-change: transform;
  cursor: grab;
}
.deck .review:active { cursor: grabbing; }
.deck .review p {
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8;
}
.deck .review.is-flying { transition: transform .42s ease, opacity .42s ease; }

.deck__ui {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.deck__btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.deck__btn:hover { border-color: var(--acc); }
.deck__btn::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.deck__btn--prev::before { transform: rotate(45deg) translate(1px, -1px); }
.deck__btn--next::before { transform: rotate(-135deg) translate(1px, -1px); }
.deck__count { font-family: var(--sans); font-size: 13.5px; color: var(--muted); min-width: 56px; text-align: center; }


/* ============ карточка отзыва: цитатный стиль ============ */
.deck .review {
  position: absolute; left: 0; right: 0; top: 0;
  background: #fff;
  border: 1px solid #f0dbe1;
  border-radius: 22px;
  padding: 30px 26px 24px;
  display: grid; grid-template-rows: 1fr auto; gap: 18px; align-content: center;
}
.deck .review::before {                    /* крупная кавычка фоном */
  content: '\201C';
  position: absolute; top: -18px; right: 14px;
  font-family: var(--serif); font-size: 150px; line-height: 1;
  color: var(--acc); opacity: .13; pointer-events: none;
}
.deck .review p {
  align-self: center; margin: 0;
  font-family: var(--sans); font-size: clamp(15.5px, 4vw, 17px); line-height: 1.62;
  color: var(--text); font-style: normal;
  -webkit-line-clamp: 8;
}
.deck .review footer {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid rgba(133, 14, 53, .16); padding-top: 14px;
  font-family: var(--sans); font-style: normal; font-size: 13.5px; color: var(--muted);
}
.deck .review footer b { color: var(--acc-deep); font-size: 14.5px; }



/* ============ карточки «Как я учу» (утверждённый вариант) ============ */
/* Вариант 1: крупная цифра-водяной знак + акцентная полоса слева */
.why { gap: 14px; }
.why .tile {
  position: relative; overflow: hidden; padding: 26px 24px 24px 30px;
  border-radius: 20px; border: 1px solid var(--line); background: #fff;
}
.why .tile::before {
  content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--acc);
}
.why__num {
  position: absolute; right: 14px; top: 2px; font-family: var(--serif); font-style: italic;
  font-size: 92px; line-height: 1; color: var(--acc); opacity: .10; pointer-events: none;
}
.why .tile h3 { font-size: 20px; margin-bottom: 8px; }

/* карточки курсов (главная и блок «Другие курсы» на страницах курсов) */
.course { display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; }
.course + .course { margin-top: clamp(20px, 3vw, 32px); }
.course__body { padding: clamp(28px, 4.5vw, 56px); display: grid; gap: 14px; justify-items: start; align-content: center; position: relative; z-index: 1; min-width: 0; }
.course__body > * { max-width: 100%; min-width: 0; }
.course { min-width: 0; }
.course__body .pills { flex-wrap: wrap; max-width: 100%; }
.course__meta { display: flex; align-items: center; gap: 12px; }
.course__idx {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--acc); opacity: .6;
}
.course__idx::after { content: ''; display: inline-block; width: 14px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; opacity: .6; }
.course__title { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; color: var(--ink); }
.course__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 6px; }
.course__price { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--acc-deep); }
.course__price small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); display: block; letter-spacing: .04em; }
.course__media { margin: 9px; border-radius: calc(var(--r) - 9px) 999px 999px calc(var(--r) - 9px); }
.course__media img { height: 100%; }
.course__media picture { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) {
  .course { grid-template-columns: 1fr; }
  .course__media { order: -1; height: auto; aspect-ratio: 4 / 3; margin: 0; border: 0;
    border-radius: var(--r) var(--r) 999px 999px; }
  .course.menu-card::before { display: none; }
  .course.menu-card { overflow: hidden; }
}

/* нумерованные плитки (главная «Как я учу», страницы курсов «после оплаты») */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why .tile { display: grid; gap: 12px; align-content: start; }
.why__num {
  position: absolute; right: 14px; top: 2px;
  font-family: var(--serif); font-style: italic; font-size: 92px; line-height: 1;
  color: var(--acc); opacity: .10; pointer-events: none;
}
@media (max-width: 640px) { .why { grid-template-columns: 1fr; } }
.after__why { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
@media (max-width: 900px) { .after__why { grid-template-columns: 1fr; } }

/* программа курса: раскрывающийся список модулей */
.prog__list { margin-top: 6px; }
.prog__q { align-items: center; }
.prog__t { display: grid; gap: 5px; min-width: 0; }
.prog__num { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); opacity: .8; }
.prog__name { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.15; color: var(--ink); }
.prog__lessons { list-style: none; margin: 0; padding: 0 22px 18px 22px; display: grid; gap: 8px; }
.prog__lessons li { position: relative; padding-left: 20px; font-size: 15px; color: #4b444f; }
.prog__lessons li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); opacity: .55; }
@media (max-width: 640px) {
  .prog__name { font-size: 19px; }
  .prog__lessons { padding: 0 16px 16px 16px; }
  .prog__lessons li { font-size: 14.5px; }
}

/* лента реальных скриншотов приложения */
.strip--app { margin-top: clamp(18px, 2.4vw, 28px); }
.strip--app .strip__track img {
  height: clamp(380px, 48vw, 520px); width: auto;
  object-fit: contain; background: #fff;
  border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -26px rgba(83, 11, 35, .35);
}
.strip--app .strip__track figure { gap: 10px; }

/* компактные карточки «Другие курсы» на страницах курсов */
.minis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini {
  display: grid; grid-template-columns: 124px 1fr; gap: 14px; align-items: center;
  padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card);
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mini:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); box-shadow: 0 16px 34px -24px rgba(83, 11, 35, .32); }
.mini__media { position: relative; aspect-ratio: 1 / 1; border-radius: 999px 999px 16px 16px; overflow: hidden; background: var(--line); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini__b { display: grid; gap: 7px; align-content: center; min-width: 0; }
.mini__tag { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); opacity: .8; }
.mini__t { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.1; color: var(--ink); }
.mini__d { font-size: 14px; line-height: 1.45; color: var(--muted); }
.mini__f { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.mini__price { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--acc-deep); }
.mini__note { font-size: 12px; color: var(--muted); }
.mini__link { margin-left: auto; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
@media (max-width: 860px) { .minis { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .mini { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .mini__t { font-size: 20px; }
  .mini__link { margin-left: 0; }
}

/* «Как проходит курс»: экран приложения + подпись */
.appcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.appcard { display: grid; gap: 10px; align-content: start; }
.appcard__shot {
  border-radius: 20px; border: 1px solid var(--line); background: #fff;
  padding: 12px 12px 0; overflow: hidden; display: grid; place-items: end center;
  box-shadow: 0 18px 40px -30px rgba(83, 11, 35, .4);
}
.appcard__shot img { width: 100%; max-width: 210px; display: block; border-radius: 14px 14px 0 0; }
.appcard h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.15; color: var(--ink); }
.appcard p { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) { .appcards { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) {
  .appcards { grid-template-columns: 1fr; gap: 22px; }
  .appcard__shot img { max-width: 260px; }
}

/* ============ блок с телефоном (главная и страницы курсов) ============ */
.appx{
  position: relative; overflow: hidden;
  background: var(--green-deep);
  border-radius: var(--r);
  padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 56px); align-items: center;
}
.appx__glow{
  position: absolute; inset: auto -20% -55% -20%; height: 120%;
  background: radial-gradient(ellipse at 50% 100%, rgba(133, 14, 53, .85), transparent 65%);
  pointer-events: none;
}
.appx__text{ position: relative; display: grid; gap: 20px; justify-items: start; }
.appx .kicker{ color: #e8a9bc; }
.appx .kicker::after, .appx .kicker::before{ background: #e8a9bc; }
.appx .h2{ color: #fff; }
.appx .h2 em{ color: #e8a9bc; }
.appx .lead{ color: rgba(242, 228, 224, .88); }
.appx .lead b{ color: #fff; }
.appx__platforms{ display: flex; flex-wrap: wrap; gap: 12px; }
.appx__os{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border: 1px solid rgba(242, 228, 224, .35); border-radius: 999px;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; transition: background .2s ease, border-color .2s ease;
}
.appx__os:hover{ background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.appx__os svg{ width: 18px; height: 18px; fill: currentColor; }
.appx__feats{ list-style: none; display: grid; gap: 12px; color: rgba(242, 228, 224, .82); font-size: 15.5px; }
.appx__feats b{ color: #fff; }
.appx__feats li{ position: relative; padding-left: 26px; }
.appx__feats li::before{ content: '✓'; position: absolute; left: 0; top: 0; color: #e8a9bc; font-weight: 700; }
.appx__media{ position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.appx__phone{
  width: clamp(140px, 15vw, 190px); border-radius: 22px;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .55);
}
.appx__phone--l{ transform: rotate(-8deg) translate(26px, 14px); }
.appx__phone--r{ transform: rotate(8deg) translate(-26px, 14px); }
.appx__phone--c{ position: relative; z-index: 2; transform: translateY(-12px) scale(1.08); }
@media (max-width: 960px) {
  .appx{ grid-template-columns: 1fr; }
  .appx__media{ min-height: 0; margin-top: 8px; }
  .appx__phone--l{ display: none; }
}
.appx{
  position: relative; overflow: hidden;
  background: var(--green-deep);
  border-radius: var(--r);
  padding: clamp(30px, 4.5vw, 56px) clamp(20px, 4vw, 56px) clamp(30px, 4.5vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 3.6vw, 44px);
  align-items: stretch;
}
.appx__glow{
  position: absolute; inset: auto -20% -55% -20%; height: 120%;
  background: radial-gradient(ellipse at 50% 100%, rgba(133, 14, 53, .85), transparent 65%);
  pointer-events: none;
}
.appx__head{ position: relative; display: grid; gap: 14px; justify-items: center; text-align: center; }
.appx .kicker{ color: #e8a9bc; }
.appx .kicker::after, .appx .kicker::before{ background: #e8a9bc; }
.appx .h2{ color: #fff; }
.appx .h2 em{ color: #e8a9bc; }
.appx .lead{ color: rgba(242, 228, 224, .85); max-width: 46ch; }
.appx .lead b{ color: #fff; }
.appx__platforms{ position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.appx__os{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border: 1px solid rgba(242, 228, 224, .35); border-radius: 999px;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; transition: background .2s ease, border-color .2s ease;
}
.appx__os:hover{ background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.appx__os svg{ width: 18px; height: 18px; fill: currentColor; }
.appx__demo{
  position: relative; display: grid; row-gap: 10px;
  grid-template-columns: auto minmax(0, 360px);
  gap: clamp(28px, 4.5vw, 64px); align-items: center; justify-content: center;
}
.appx__stage{ display: flex; justify-content: center; }
.appx__side{ display: grid; gap: 26px; justify-items: start; min-width: 0; }
.appx__caps{ display: grid; }
.appx__cap{
  grid-area: 1 / 1; display: grid; gap: 10px; justify-items: start;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .34s ease, transform .4s cubic-bezier(.22, .7, .28, 1), visibility 0s linear .4s;
}
.appx__cap.is-on{ opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.appx__step{
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #e8a9bc; opacity: .75;
}
.appx__cap h3{
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 34px);
  line-height: 1.08; color: #fff;
}
.appx__cap p{ color: rgba(242, 228, 224, .9); font-size: 16px; line-height: 1.5; }
.appx__cap small{ color: rgba(242, 228, 224, .58); font-size: 13.5px; line-height: 1.45; }
.appx__nav{ display: flex; align-items: center; gap: 16px; }
.appx__nav .deck__count{ color: rgba(242, 228, 224, .78); min-width: 48px; }
.phone{
  --kp: #e6215b; --kp2: #a8184a; --kbg: #f3f3f6; --kink: #16121a;
  --kmut: #8e8a95; --kline: #ededf2;
  position: relative; flex: 0 0 auto;
  width: 286px; aspect-ratio: 286 / 540;
  border-radius: 40px; padding: 6px;
  background: linear-gradient(150deg, #45414a, #17151a 42%, #2c2930 78%, #101015);
  box-shadow: 0 42px 80px -26px rgba(0, 0, 0, .78), 0 4px 22px rgba(0, 0, 0, .35),
              inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone::before, .phone::after{
  content: ''; position: absolute; left: -2px; width: 2px; border-radius: 2px;
  background: linear-gradient(#6a6570, #2a272e); opacity: .9;
}
.phone::before{ top: 108px; height: 30px; }
.phone::after{ top: 150px; height: 52px; }
.phone__screen{
  position: relative; width: 100%; height: 100%;
  border-radius: 34px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  font-family: var(--sans); color: var(--kink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.phone__home{
  position: absolute; z-index: 9; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 4px; border-radius: 4px; background: rgba(16, 12, 20, .32);
}
.phone__notch{
  position: absolute; z-index: 9; top: 8px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 23px; border-radius: 999px; background: #0c0b0f;
}
.pscr-stack{ position: relative; flex: 1 1 auto; min-height: 0; }
.pscr{
  position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff;
  opacity: 0; visibility: hidden; transform: translateX(16px) scale(.985);
  transition: opacity .36s ease, transform .44s cubic-bezier(.22, .7, .28, 1), visibility 0s linear .44s;
}
.pscr.is-on{ opacity: 1; visibility: visible; transform: none; z-index: 3; transition-delay: 0s; }
.pscr.is-out{ visibility: visible; opacity: 0; z-index: 2; }
.pscr-stack[data-dir="prev"] .pscr{ transform: translateX(-16px) scale(.985); }
.pscr-stack[data-dir="prev"] .pscr.is-on{ transform: none; }
.pscr-stack[data-dir="next"] .pscr.is-out{ transform: translateX(-16px) scale(.985); }
.pscr-stack[data-dir="prev"] .pscr.is-out{ transform: translateX(16px) scale(.985); }
.no-rv .pscr, .no-rv .appx__cap{ transition: none; }
@media (max-width: 900px) {
  .appx__demo{ grid-template-columns: 1fr; justify-items: center; gap: 26px; }
  .appx__side{ justify-items: center; text-align: center; gap: 22px; }
  .appx__cap{ justify-items: center; }
  .appx__cap p, .appx__cap small{ max-width: 34ch; }
  .phone{ width: min(286px, 74vw); }
}
@media (max-width: 400px) {
  .phone{ width: min(286px, calc(100vw - 84px)); }
}
.appx__hint{
  margin: 0 auto; max-width: 34ch; text-align: center;
  font-family: var(--sans); font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.72);
}
.appx__platforms--out{
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px;
}
.appx__platforms--out .appx__os{
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 12px 30px -26px rgba(43,31,35,.5);
}
.appx__platforms--out .appx__os:hover{ border-color: var(--acc); color: var(--acc); }
.appx__stage{ position: relative; align-items: center; width: 100%; justify-content: center; }
.appx__arrow{ flex: 0 0 auto; z-index: 20; }
@media (min-width: 601px) {
  .appx__stage{ display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 30px); }
  .appx__arrow{ position: relative; top: auto; transform: none; }
}
@media (max-width: 600px) {
  .appx__arrow{
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255,255,255,.86) !important; backdrop-filter: blur(2px);
    box-shadow: 0 6px 18px -10px rgba(43,31,35,.6);
  }
  .appx__arrow--l{ left: 2px; }
  .appx__arrow--r{ right: 2px; }
}
.appx__arrow::before{ border-color: #fff; }
.appx__arrow:hover{ background: rgba(255,255,255,.26); border-color: #fff; }
.appx__nav{ justify-content: center; }
.appx__nav .deck__count{ min-width: 0; font-size: 13px; letter-spacing: .02em; }
@media (max-width: 600px) {
  .appx__arrow{ width: 38px; height: 38px; }
  .appx__arrow--l{ left: 0; }
  .appx__arrow--r{ right: 0; }
  .phone{ width: min(320px, 78vw) !important; }
}
.appx__num{
  display: block; font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.6); margin: -6px 0 6px;
}
.appx{ background: transparent !important; border: 0 !important; box-shadow: none !important; padding-inline: 0 !important; padding-top: 0 !important; }
.appx__glow{ display: none !important; }
.appx__num{ color: var(--muted) !important; }
.appx__cap h3{ color: var(--ink) !important; }
.appx__cap p{ color: var(--text) !important; font-size: 16.5px !important; }
.appx__arrow{ background: var(--card) !important; border-color: var(--line) !important; }
.appx__arrow::before{ border-color: var(--ink) !important; }
.appx__arrow:hover{ border-color: var(--acc) !important; }
.phone{ box-shadow: 0 30px 60px -34px rgba(43,31,35,.55); }

/* вариант со скриншотами вместо нарисованных экранов */
.appx--shots { grid-template-columns: 1fr; }
.appx--shots .appx__head { position: relative; text-align: center; display: grid; gap: 10px; justify-items: center; margin-bottom: clamp(22px, 3vw, 34px); }
.appx--shots .appx__glow { display: none; }
.appx--shots .appx__head .h2 { color: var(--ink); }
.appx--shots .appx__head .h2 em { color: var(--acc); }
.appx--shots .appx__head .kicker { color: var(--acc); }
.appx--shots .appx__head .kicker::before, .appx--shots .appx__head .kicker::after { background: var(--acc); opacity: .5; }
.appx--shots .appx__cap h3 { color: var(--ink); }
.appx--shots .appx__cap p { color: var(--muted); }
.appx--shots .appx__step { color: var(--acc); opacity: .85; }
.appx--shots .deck__count { color: var(--muted); }
.phone--shot { width: 250px !important; height: auto; aspect-ratio: auto; border-radius: 36px; padding: 5px; }
.phone--shot .phone__screen { width: 100%; height: auto; aspect-ratio: 1320 / 2868; }
.phone--shot .phone__screen { border-radius: 31px; }
.phone__island { position: absolute; z-index: 9; left: 50%; transform: translateX(-50%);
  top: 1.6%; width: 24%; aspect-ratio: 60 / 16; border-radius: 999px; background: #0c0b0f; }
@media (max-width: 860px) {
  .appx--shots .appx__side { order: -1; }
  .appx--shots .appx__cap { justify-items: center; text-align: center; }
  .appx--shots .appx__nav { justify-content: center; }
}
@media (max-width: 860px) {
  .appx--shots .appx__head { margin-bottom: 14px; }
  .appx--shots .appx__head .kicker { display: none; }
  .appx--shots .appx__cap { gap: 6px; }
  .appx--shots .appx__cap h3 { font-size: 24px; }
  .appx--shots .appx__cap p { font-size: 14.5px; line-height: 1.4; }
  .appx--shots .appx__demo { row-gap: 14px; }
  .phone--shot { --ph: min(290px, 72vw); width: var(--ph) !important; height: auto; }
  .phone--shot .phone__screen { width: 100%; height: auto; aspect-ratio: 1320 / 2868; }
}
.phone--shot .phone__screen { background: #f3f3f6; }
.pscr--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
@media (max-width: 860px) { .appx--shots .appx__demo { grid-template-columns: 1fr; row-gap: 24px; justify-items: center; } .appx--shots .appx__cap { justify-items: center; text-align: center; } .appx--shots .appx__nav { justify-content: center; } }

/* две отличительные черты курса */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 22px); }
.feat {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 3.2vw, 40px); display: grid; gap: 12px; align-content: start;
}
.feat__n {
  position: absolute; right: 18px; top: 6px;
  font-family: var(--serif); font-style: italic; font-size: clamp(72px, 8vw, 104px);
  line-height: 1; color: var(--acc); opacity: .1; pointer-events: none;
}
.feat h3 {
  position: relative; font-family: var(--serif); font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.14; color: var(--ink); max-width: 19ch;
}
.feat p { position: relative; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 760px) {
  .feats { grid-template-columns: 1fr; }
  .feat h3 { max-width: none; }
}

/* короткий список «для кого» */
.ticks {
  list-style: none; margin: 0 auto; max-width: 880px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px;
}
.ticks li {
  position: relative; padding-left: 36px;
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.45; color: var(--ink);
}
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .12em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--acc-soft); border: 1px solid var(--line);
}
.ticks li::after {
  content: ''; position: absolute; left: 8px; top: .42em;
  width: 5px; height: 9px; border: solid var(--acc);
  border-width: 0 2px 2px 0; transform: rotate(42deg);
}
@media (max-width: 760px) {
  .ticks { grid-template-columns: 1fr; gap: 13px; }
  .ticks li { font-size: 17px; line-height: 1.35; padding-left: 32px; }
  .ticks li::before { width: 21px; height: 21px; }
}

/* галерея карточек «для кого» */
.strip--say .strip__track { gap: 14px; align-items: stretch; }
.qcard {
  flex: 0 0 auto; width: clamp(250px, 66vw, 310px);
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 22px 26px; display: grid; gap: 14px; align-content: start;
}
.qcard__tick {
  width: 30px; height: 30px; border-radius: 50%; background: var(--acc-soft);
  position: relative; flex: 0 0 auto;
}
.qcard__tick::after {
  content: ''; position: absolute; left: 11px; top: 8px;
  width: 6px; height: 12px; border: solid var(--acc); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.qcard p {
  font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--ink);
}
@media (max-width: 600px) { .qcard p { font-size: 18px; } }

/* «для кого» — полоски-карточки */
.bars { list-style: none; max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.bar {
  position: relative; display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 24px 18px 22px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bar::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--acc); opacity: 0; transition: opacity .2s ease;
}
.bar:hover { transform: translateX(3px); border-color: color-mix(in srgb, var(--acc) 30%, var(--line));
  box-shadow: 0 14px 30px -24px rgba(83, 11, 35, .4); }
.bar:hover::before { opacity: .7; }
.bar__tick {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--acc-soft); position: relative;
}
.bar__tick::after {
  content: ''; position: absolute; left: 10px; top: 7px; width: 6px; height: 11px;
  border: solid var(--acc); border-width: 0 2.2px 2.2px 0; transform: rotate(42deg);
}
.bar p { font-size: clamp(16.5px, 1.5vw, 18px); line-height: 1.35; color: var(--ink); }
@media (max-width: 600px) {
  .bars { gap: 9px; }
  .bar { padding: 15px 16px 15px 15px; gap: 13px; border-radius: 16px; }
  .bar__tick { width: 25px; height: 25px; }
  .bar__tick::after { left: 9px; top: 6px; height: 10px; }
  .bar p { font-size: 16.5px; }
}

/* сколько длится доступ */
.access {
  display: grid; grid-template-columns: 1.25fr .87fr .88fr; gap: clamp(16px, 2vw, 22px);
  max-width: 1080px; margin: 0 auto; align-items: stretch;
}
.access__col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(24px, 3vw, 34px); display: grid; gap: 8px; justify-items: center; text-align: center;
}
.access__lbl { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); }
.access__val { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 52px);
  line-height: 1; color: var(--acc-deep); }
.access__note { font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 30ch; }
.access__col--text { justify-items: start; text-align: left; align-content: start; gap: 12px; }
.access__col--text p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .access { grid-template-columns: 1fr 1fr; } .access__col--text { grid-column: 1 / -1; } }
@media (max-width: 560px) { .access { grid-template-columns: 1fr; } }
.price-card__sub { list-style: none; display: grid; gap: 5px; margin: 7px 0 2px; }
.price-card__sub li { font-size: 14.5px; color: var(--muted); position: relative; padding-left: 14px; }
.price-card__sub li::before { content: ''; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--acc); opacity: .5; }
.paybtn__mark { font-family: var(--sans); font-style: normal; font-size: 12.5px; font-weight: 600;
  color: var(--muted); margin-left: 9px; white-space: nowrap; }
@media (max-width: 420px) { .paybtn__mark { display: block; margin: 2px 0 0; } }
.after__why .tile p { font-size: 16.5px; line-height: 1.5; color: var(--ink); max-width: 34ch; }
@media (max-width: 900px) { .after__why .tile p { max-width: none; } }

/* цена и временная скидка */
.paycol { display: grid; gap: 18px; align-content: start; }
.pricebox { display: grid; gap: 10px; justify-items: start; padding: 4px 2px 0; }
.pricebox__row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pricebox__now { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5vw, 56px);
  line-height: 1; color: var(--acc-deep); font-variant-numeric: lining-nums tabular-nums; }
.pricebox .price-card__old { font-size: clamp(22px, 2.4vw, 28px); }
.pricebox .price-fx { font-size: 15px; color: var(--muted); }
.promo { display: grid; gap: 10px; justify-items: start; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line); }
.promo__why { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--acc); opacity: .9; }
.timer { display: flex; gap: 6px; }
.timer__cell {
  min-width: 52px; padding: 7px 6px 6px; border-radius: 11px;
  background: var(--acc-soft); border: 1px solid var(--line);
  display: grid; gap: 1px; justify-items: center;
}
.timer__cell b {
  font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1;
  color: var(--muted); font-variant-numeric: tabular-nums lining-nums;
  transition: transform .18s ease, opacity .18s ease;
}
.timer__cell.is-tick b { transform: translateY(-2px); opacity: .55; }
.timer__cell span { font-family: var(--sans); font-size: 9.5px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted); }
.price-card.is-expired .promo, .price-card.is-expired .price-card__old { display: none; }
@media (max-width: 420px) { .timer__cell { min-width: 48px; } .timer__cell b { font-size: 18px; } }

/* ============ продающий блок стоимости ============ */
.offer {
  position: relative; max-width: 980px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 56px) clamp(26px, 3.5vw, 46px);
  box-shadow: 0 34px 70px -46px rgba(83, 11, 35, .45);
  display: grid; justify-items: center; text-align: center; gap: 0;
}
.offer__badge {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--acc-deep);
  background: var(--acc-soft); border-radius: 999px; padding: 8px 18px;
}
/* круглый «стикер» со скидкой — летает справа сверху от цены */
.offer__nowrow { position: relative; display: flex; justify-content: center; width: 100%; }
.offer__off {
  position: absolute; left: calc(50% + clamp(72px, 17vw, 118px)); top: 0;
  width: clamp(88px, 19vw, 118px); aspect-ratio: 1;
  display: grid; place-content: center; justify-items: center; gap: 3px;
  transform: rotate(9deg) translateY(-44%); white-space: nowrap;
  font-family: var(--sans); line-height: 1; color: #fff;
  background: var(--acc);
  background: radial-gradient(120% 120% at 28% 22%,
    color-mix(in srgb, var(--acc) 52%, #fff) 0%,
    var(--acc) 48%,
    var(--acc-deep) 100%);
  border-radius: 50%;
  box-shadow:
    0 18px 32px -14px rgba(93, 48, 112, .7),
    inset 0 2px 5px rgba(255, 255, 255, .38),
    inset 0 -7px 14px rgba(61, 25, 77, .38);
  animation: offer-off-float 4.5s ease-in-out infinite;
}
/* пунктирная «обмётка» как у купона-наклейки */
.offer__off::before {
  content: ''; position: absolute; inset: 6px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .55);
}
/* блик */
.offer__off::after {
  content: ''; position: absolute; left: 17%; top: 8%;
  width: 46%; height: 24%; border-radius: 50%;
  background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  filter: blur(2px); transform: rotate(-16deg);
}
.offer__off b {
  position: relative; z-index: 1;
  font-size: clamp(23px, 5vw, 30px); font-weight: 700; letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
  color: #fff;
  text-shadow: 0 2px 6px rgba(61, 25, 77, .45);
}
.offer__off i {
  position: relative; z-index: 1;
  font-style: normal; font-size: clamp(9px, 2vw, 10.5px); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; opacity: .92;
}
@keyframes offer-off-float {
  0%, 100% { transform: rotate(9deg) translateY(-44%); }
  50%      { transform: rotate(6.5deg) translateY(calc(-44% - 6px)); }
}
@media (max-width: 760px) {
  .offer__off::before { inset: 5px; }
}
@media (max-width: 560px) {
  .offer__off {
    width: clamp(60px, 18vw, 80px);
    left: calc(50% + clamp(70px, 22vw, 84px));
  }
}
@media (max-width: 370px) {
  .offer__off { width: 56px; left: calc(50% + 66px); top: -38px; }
  .offer__off b { font-size: 21px; }
  .offer__off i { font-size: 8.5px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  .offer__off { animation: none; }
}

.offer__price { display: grid; justify-items: center; gap: 2px; margin-top: 0; }
.offer__old {
  font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 5.4vw, 27px); color: var(--muted);
  text-decoration: line-through; text-decoration-thickness: 2px; font-variant-numeric: lining-nums tabular-nums;
}
.offer__now {
  font-family: var(--sans); font-weight: 700; font-size: clamp(42px, 11vw, 64px); line-height: 1;
  letter-spacing: -.02em; color: var(--acc-deep); font-variant-numeric: lining-nums tabular-nums;
}
.offer__fx { margin-top: 10px; font-family: var(--sans); font-size: clamp(17px, 4.6vw, 19px); font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.offer__promo { margin-top: clamp(20px, 2.6vw, 26px); padding-top: 0; border-top: 0;
  justify-items: center; gap: 9px; }
.offer__promo .promo__why { color: var(--muted); opacity: .75; font-size: 11px; }
.offer__promo .timer__cell { background: transparent; border-color: var(--line); }
.offer__promo .timer__cell b { color: var(--ink); }
.offer__what { width: 100%; max-width: 520px; text-align: left; display: grid; gap: 14px; }
.offer__price { padding-top: clamp(22px, 3vw, 30px); margin-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line); width: 100%; }
.offer__cta { margin-top: clamp(18px, 2.4vw, 24px); }
.offer__grid {
  width: 100%; margin-top: clamp(26px, 3.4vw, 40px); padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 3.6vw, 48px);
  text-align: left;
}
.offer__col { display: grid; gap: 14px; align-content: start; }
.offer__h {
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--acc); opacity: .95;
}
.offer .price-card__list { text-align: left; }
.offer .paybox__note { margin-top: 2px; }
@media (max-width: 860px) { .offer__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .offer__badge { font-size: 11px; padding: 7px 14px; } }

/* раскрывающиеся пункты в списке «что входит» */
.price-card__list li.fold {
  display: block; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
}
.price-card__list li.fold::before { display: none; }
.fold .faq__q::before { content: '✓'; color: var(--acc); font-weight: 700; flex: 0 0 auto; }
.fold .fold__ic { margin-left: auto; }
.price-card__list li.fold.open { border: 0; }
.fold .faq__q, .fold.open .faq__q { border-radius: 0; }
.fold .faq__q {
  display: flex; align-items: baseline; justify-content: flex-start; width: 100%;
  padding: 0; gap: 12px; border-radius: 0; line-height: inherit;
  font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--ink);
}
.fold .fold__ic { flex: 0 0 16px; height: 16px; }
.fold .fold__ic::before { width: 11px; height: 1.8px; }
.fold .fold__ic::after { width: 1.8px; height: 11px; }
.fold .faq__a { width: 100%; }
.fold .price-card__sub { padding: 0 0 4px; margin: 8px 0 0 22px; }
.fold.open .faq__q { color: var(--acc-deep); }

/* кнопка «Оплатить» и окно со способами */
.offer__col--cta { align-content: center; justify-items: center; text-align: center; gap: 12px; }
.offer__cta { font-size: 17px; padding: 16px 34px; }
.offer__cta-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); max-width: 32ch; }
.modal__box--pay { display: grid; gap: 10px; text-align: left; max-width: 460px; }
.modal__box--pay h3 { margin-bottom: 4px; }
.modal__after { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.modal__after b { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--acc); }
.modal__steps { list-style: none; display: grid; gap: 9px; margin-top: 2px; }
.modal__steps li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.modal__steps li b { color: var(--ink); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: inherit; }
.modal__steps li::before {
  counter-increment: mst; content: counter(mst); position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%; background: var(--acc-soft); color: var(--acc-deep);
  font-family: var(--sans); font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.modal__steps { counter-reset: mst; }
@media (max-width: 860px) { .offer__col--cta { margin-top: 6px; } }
.paybtn__kaspi { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px; background: #F14635;
  display: grid; place-items: center; }
.paybtn__kaspi svg { width: 16px; height: 16px; }
.modal__req { font-size: 14.5px; color: var(--ink); margin-top: 4px; }
.modal__offer { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.modal__offer a { color: var(--muted); }
.topbar__nav a.is-here { color: var(--acc); }
.topbar__nav a.is-here::after { transform: scaleX(1); }


/* полоса разделов на телефоне (главная и страницы курсов) */
.subnav { display: none; }
@media (max-width: 860px) {
  .subnav {
    display: block; position: sticky; top: var(--topbarh, 62px); z-index: 45;
    transition: transform .3s ease, opacity .25s ease;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  }
  .subnav__track {
    display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none;
    padding: 20px 20px 13px;
  }
  .subnav__track::-webkit-scrollbar { display: none; }
  .subnav__track a {
    flex: 0 0 auto; text-decoration: none; white-space: nowrap;
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    letter-spacing: .02em; color: var(--text);
  }
  .subnav__track a { transition: color .2s ease; }
  .subnav__track a.is-active { color: var(--acc); }
  .subnav.is-hidden { transform: translateY(-130%); opacity: 0; pointer-events: none; }
}

/* раскрывающийся список внутри карточек «База знаний» */
.kbfold { margin-top: 16px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.kbfold__q { padding: 0; border-radius: 0; font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.kbfold__q em { font-style: normal; font-weight: 500; letter-spacing: .02em; text-transform: none;
  color: var(--muted); margin-left: 10px; }
.kbfold .faq__icon { flex: 0 0 16px; height: 16px; }
.kbfold .faq__icon::before { width: 11px; height: 1.8px; }
.kbfold .faq__icon::after { width: 1.8px; height: 11px; }
.kbfold__list { margin-top: 12px; padding: 0; }
.prog__intro { padding: 0 22px; margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .prog__intro { padding: 0 16px; font-size: 14.5px; } }
.appx__note { max-width: 620px; margin: clamp(22px, 3vw, 32px) auto 0; text-align: center;
  font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ============ формат обучения и доступ ============ */
.fmt { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(16px, 2vw, 22px);
  max-width: 980px; margin: 0 auto; align-items: stretch; }
.fmt__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 3.2vw, 38px); display: grid; gap: 18px; align-content: start;
  box-shadow: 0 22px 50px -40px rgba(83, 11, 35, .4);
}
.fmt__h { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--acc); opacity: .85; }
.fmt__list { list-style: none; display: grid; gap: 12px; }
.fmt__list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.fmt__list li::before { content: ''; position: absolute; left: 4px; top: .58em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--acc); opacity: .55; }
.fmt__rows { display: grid; gap: 18px; }
.fmt__row { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fmt__row:last-child { padding-bottom: 0; border-bottom: 0; }
.fmt__lbl { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); }
.fmt__val { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1;
  color: var(--acc-deep); }
.fmt__note { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 800px) { .fmt { grid-template-columns: 1fr; } }
.fmt--single { grid-template-columns: 1fr; max-width: 640px; }
.fmt--single .fmt__rows { grid-template-columns: 1fr 1fr; display: grid; gap: 26px; }
.fmt--single .fmt__row { padding-bottom: 0; border-bottom: 0; }
.fmt__list--top { position: relative; max-width: 660px; margin: 0 auto clamp(26px, 3.4vw, 38px);
  text-align: left; }
.fmt__list--top li { font-size: 15px; }
@media (max-width: 560px) { .fmt--single .fmt__rows { grid-template-columns: 1fr; gap: 18px; }
  .fmt--single .fmt__row + .fmt__row { padding-top: 18px; border-top: 1px solid var(--line); } }

/* ============ узкие экраны: кнопки держатся в одну строку (2026-08-30) ============ */
.topbar__cta, .chero__cta .btn, .hero__cta .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .topbar__cta { padding-inline: 16px; letter-spacing: .08em; }
  .chero__cta, .hero__cta { flex-wrap: nowrap; gap: 10px; width: 100%; justify-content: center; }
  .chero__cta .btn, .hero__cta .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; letter-spacing: .07em; font-size: 12.5px; }
}
@media (max-width: 340px) {
  .topbar__cta { padding-inline: 13px; font-size: 11px; letter-spacing: .05em; }
  .chero__cta .btn, .hero__cta .btn { padding-inline: 8px; font-size: 11.5px; letter-spacing: .04em; }
}
