/* =============================================
   ПЕРЕЗАВАНТАЖЕННЯ — КУРС З ОСОБИСТОЇ ЕФЕКТИВНОСТІ
   =============================================

   СИСТЕМА ШРИФТІВ (3 шрифти, більше не додавати):
     .display / font-family: 'Oswald', sans-serif; font-weight: 700
     .script   / font-family: 'Marck Script', cursive;
     body text / font-family: 'Inter', sans-serif; 300–600

   ПАЛІТРА (6 кольорів, більше не додавати):
     --bg:        #0d0d0d   основний фон (темні секції)
     --bg-alt:    #161616   трохи світліший фон
     --bg-light:  #f0ede8   кремовий (світлі секції)
     --white:     #ffffff   текст і елементи на темному
     --burgundy:  #7a1428   акцент, кнопки CTA
     --muted:     #6b6b6b   допоміжний/другорядний текст

   СІТКА:
     Контейнер max-width: 1200px, padding: 0 60px
     Мобільний breakpoint: 768px
   ============================================= */

/* ── СКИДАННЯ ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── ЗМІННІ ───────────────────────────────── */
:root {
  --bg:        #0d0d0d;
  --bg-alt:    #161616;
  --bg-light:  #f0ede8;
  --white:     #ffffff;
  --burgundy:  #7a1428;
  --muted:     #6b6b6b;

  --f-display: 'Oswald', Arial, sans-serif;
  --f-script:  'Caveat', cursive;
  --f-body:    'Inter', Arial, sans-serif;
}

/* ── БАЗОВІ СТИЛІ BODY ────────────────────── */
body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--bg);
}

/* ── ЗЕРНИСТІСТЬ НА ВСЮ СТОРІНКУ ─────────── */
@keyframes grain {
  0%   { background-position:   0%    0%; }
  10%  { background-position: -15%  -20%; }
  20%  { background-position:  25%   10%; }
  30%  { background-position: -10%   30%; }
  40%  { background-position:  35%  -15%; }
  50%  { background-position: -30%   20%; }
  60%  { background-position:  10%  -30%; }
  70%  { background-position: -20%   15%; }
  80%  { background-position:  30%   25%; }
  90%  { background-position:  -5%  -10%; }
  100% { background-position:   0%    0%; }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  will-change: background-position;
  animation: grain 0.6s steps(1) infinite;
}

/* Пауза зерна під час скролу */
body.scrolling::after { animation-play-state: paused; }

/* ── УТИЛІТАРНІ КЛАСИ ШРИФТІВ ─────────────── */
.display { font-family: var(--f-display); font-weight: 700; }
.script  { font-family: var(--f-script);  font-weight: 400; }

/* ── КОНТЕЙНЕР ────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ── ЗАГАЛЬНИЙ ЗАГОЛОВОК СЕКЦІЇ ───────────── */
.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 48px;
}

/* ── КНОПКИ ───────────────────────────────── */
.btn {
  display: inline-block;
  padding: 22px 56px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}

.btn--burgundy {
  background: var(--burgundy);
  color: var(--white);
}
.btn--burgundy:hover { background: var(--white); color: var(--bg); }

.btn--white {
  background: var(--white);
  color: var(--bg);
}
.btn--white:hover { background: var(--bg); color: var(--white); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn--outline-white:hover { background: var(--white); color: var(--bg); }

.btn--outline-dark {
  background: transparent;
  color: var(--bg);
  border: 1px solid var(--bg);
}
.btn--outline-dark:hover { background: var(--bg); color: var(--white); }

/* ── ПЛЕЙСХОЛДЕР ФОТО ─────────────────────── */
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ════════════════════════════════════════════
   НАВІГАЦІЯ
   ════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 32px;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.nav--hidden { transform: translateY(-120%); }

/* Світлий фон під nav — перефарбовуємо елементи */
.nav__logo,
.nav__burger,
.nav__burger span {
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.nav--light .nav__logo { color: var(--bg); }
.nav--light .nav__burger { border-color: rgba(0,0,0,0.25); }
.nav--light .nav__burger:hover { border-color: rgba(0,0,0,0.6); }
.nav--light .nav__burger span { background: var(--bg); }

.nav__logo {
  pointer-events: all;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

/* Бургер у колі — точно як на скріні */
.nav__burger {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s;
}
.nav__burger:hover { border-color: rgba(255,255,255,0.8); }
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
}

/* Overlay під меню */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 997;
  background: transparent;
  pointer-events: all;
}
.nav__overlay.open { display: block; }

/* Панель меню — світла, справа */
.nav__mobile {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0;
  width: 72%;
  max-width: 480px;
  height: 100vh;
  background: var(--bg-light);
  padding: 60px 48px 48px;
  pointer-events: all;
  z-index: 998;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav__mobile.open { transform: translateX(0); }

/* Хрестик закрити */
.nav__close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 22px;
  color: var(--bg);
  line-height: 1;
  pointer-events: all;
}

/* Посилання меню */
.nav__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}
.nav__mobile a {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 20px;
  color: var(--bg);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: color 0.15s;
}
.nav__mobile a:hover { color: var(--burgundy); }


/* ════════════════════════════════════════════
   HERO
   Фото — фон на весь екран, текст зверху зліва
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  overflow: hidden;
}

/* Фото розтягується на весь hero */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo .photo-placeholder,
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

.hero__photo img { filter: contrast(1.05); }

/* Зерно / grain поверх фото */
.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Градієнт: темний зверху → світліший → темний знизу */
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.1) 45%,
    rgba(0,0,0,0.7) 100%
  );
}

/* Заголовок — абсолютно зверху */
.hero__title {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 96px;
  margin: 0;
  font: 700 clamp(64px,15.6vw,200px)/.85 'Oswald', sans-serif;
  white-space: nowrap;
  z-index: 3;
  color: var(--white);
  text-transform: uppercase;
}

/* Нижня частина — абсолютно знизу */
.hero__bottom {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 48px;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.6);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.hero__tagline {
  font: 500 clamp(26px,2.8vw,36px)/1.1 'Caveat', cursive;
  color: var(--white);
}

.hero__note {
  margin-top: 8px;
  font: 500 13px 'Inter', sans-serif;
  letter-spacing: .16em;
  color: rgba(255,255,255,0.75);
}

.hero__btn {
  text-decoration: none;
  font: 600 13px 'Inter', sans-serif;
  letter-spacing: .16em;
  color: var(--white);
  background: var(--burgundy);
  border-radius: 999px;
  padding: 22px 34px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.hero__btn:hover { background: var(--white); color: var(--bg); }


/* ════════════════════════════════════════════
   БОЛІ / ПРОБЛЕМИ
   Кремовий фон, заголовок двокольоровий,
   3×2 картки: текст ліворуч + фото праворуч
   ════════════════════════════════════════════ */
.pains {
  background: var(--bg-light);
  padding: 100px 0;
}

/* Двокольоровий заголовок */
.pains .container {
  padding: 0 16px;
  max-width: 100%;
}

.pains__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.pains__title-black   { color: var(--bg); }
.pains__title-burgundy { color: var(--burgundy); }

/* Сітка 4 × 2 — на всю ширину */
.pains__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding: 0 16px;
}

.pains__hint { display: none; }

/* Картка 16:9 — без кадрування */
.pains__card {
  position: relative;
  overflow: hidden;
  background: #f0ede8;
}

.pains__card img,
.pains__card video {
  width: 100%;
  height: auto;
  display: block;
}

.pains__list li:nth-child(5) .pains__card-text { top: 42%; }

.pains__card-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 42%;
  font-family: var(--f-body);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  color: #1a1a1a;
}


/* ════════════════════════════════════════════
   ЦИТАТА
   Фото на весь фон (ч/б + overlay), текст поверх
   ════════════════════════════════════════════ */
.quote {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: var(--white);
}

/* Фонове фото */
.quote__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote__bg .photo-placeholder,
.quote__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

/* Реальне фото — чорно-біле */
.quote__bg img { filter: grayscale(100%); }

/* Плейсхолдер: середньо-сірий, схожий на фото */
.quote__bg .photo-placeholder {
  background: #555;
  color: rgba(255,255,255,0.2);
}

/* Overlay — легкий, фото повинно бути видно (як на референсі ~30%) */
.quote::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(13, 13, 13, 0.38);
}

/* Текст поверх overlay */
.quote .container {
  padding: 0 60px;
  max-width: 100%;
}

.quote__content {
  position: relative;
  z-index: 2;
  max-width: 65%;
}

/* Маленький рядок цитати */
.quote__small {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}

/* Великий рукописний рядок — 2 рядки, не більше */
.quote__big {
  /* клас .script додано в HTML */
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 48px;
}


/* ════════════════════════════════════════════
   MEM BLOCK (block-1c)
   ════════════════════════════════════════════ */
.mem { background: var(--bg-light); padding: 72px 88px; display: flex; flex-direction: column; gap: 56px; overflow: hidden; }
.mem__eyebrow { font: 600 13px 'Inter', sans-serif; letter-spacing: .18em; color: var(--burgundy); }
.mem__rows { display: flex; flex-direction: column; gap: 22px; }
.mem__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mem__row--right { justify-content: flex-end; }
.mem__row--indent { padding-left: 80px; }
.mem__word { font: 700 clamp(48px,9vw,118px)/1 'Oswald', sans-serif; padding: 4px 26px 10px; text-transform: uppercase; }
.mem__word--dark { background: var(--bg); color: var(--bg-light); transform: rotate(-2deg); }
.mem__word--outline { color: var(--bg); border: 3px solid var(--bg); padding: 0 24px 6px; transform: rotate(1.5deg); }
.mem__word--red { background: var(--burgundy); color: var(--bg-light); transform: rotate(-1deg); }
.mem__note { font: 500 clamp(22px,2.6vw,34px)/1 'Caveat', cursive; color: var(--muted); }
.mem__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.mem__title { font: 700 clamp(32px,4.2vw,54px)/1.05 'Oswald', sans-serif; color: var(--bg); margin: 0; text-transform: uppercase; }
.mem__title mark { background: linear-gradient(transparent 55%, #e9b4bf 55%); color: var(--burgundy); padding: 0 4px; }
.mem__script { font: 500 32px 'Caveat', cursive; color: var(--bg); margin-top: 6px; }
.mem__btn { text-decoration: none; font: 600 13px 'Inter', sans-serif; letter-spacing: .16em; color: var(--bg-light); background: var(--burgundy); border-radius: 999px; padding: 22px 36px; display: inline-flex; gap: 14px; align-items: center; transition: background .2s; }
.mem__btn:hover { background: #55101e; }

/* ════════════════════════════════════════════
   TRAIN BLOCK (block-3a)
   ════════════════════════════════════════════ */
.train { background: var(--bg-light); padding: 80px 88px; display: flex; flex-direction: column; gap: 64px; }
.train__top { display: flex; flex-direction: column; gap: 20px; }
.train__eyebrow { font: 500 36px/1 'Caveat', cursive; color: var(--burgundy); }
.train__title { margin: 0; font: 700 clamp(52px,8.2vw,104px)/1 'Oswald', sans-serif; color: var(--bg); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; text-transform: uppercase; }
.train__title span { background: var(--burgundy); color: var(--bg-light); padding: 0 22px 6px; transform: rotate(-1.5deg); display: inline-block; }
.train__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; border-top: 1px solid var(--bg); padding-top: 32px; }
.train__text { display: flex; flex-direction: column; gap: 10px; max-width: 640px; font: 500 19px/1.55 'Inter', sans-serif; color: var(--bg); }
.train__text p { margin: 0; }
.train__btn { text-decoration: none; font: 600 13px 'Inter', sans-serif; letter-spacing: .16em; color: var(--bg-light); background: var(--bg); border-radius: 999px; padding: 22px 34px; display: inline-flex; gap: 14px; align-items: center; white-space: nowrap; transition: background .2s; cursor: pointer; border: none; }
.train__btn:hover { background: var(--burgundy); }

/* ════════════════════════════════════════════
   НОРМАЛЬНО
   Кремовий фон, типографіка зліва + фото справа
   Рядки: великий bold ↔ маленький muted (шахово)
   ════════════════════════════════════════════ */
.normal {
  background: var(--bg-light);
  padding: 80px 0;
  color: var(--bg);
  overflow: hidden;
}

.normal .container {
  padding: 0 60px;
  max-width: 100%;
  margin: 0;
}

.normal__inner {
  display: grid;
  grid-template-columns: 62% 38%;
  align-items: stretch;
  max-width: 100%;
}

/* Лейбл зверху */
.normal__label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 24px;
}

/* Блок з рядками */
.normal__rows { margin-bottom: 121px; }

/* Один рядок: великий текст + підказка inline */
.normal__row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 4px;
  line-height: 1;
}

/* Рядок 2 зсунутий вправо — підказка зліва, великий текст справа */
.normal__row--shifted {
  padding-left: 30%;
}

.normal__row--shifted-2 {
  padding-left: 10%;
}

/* Великий bold */
.normal__big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 5.8vw, 84px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bg);
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
  transform: scaleY(0.8);
  transform-origin: left bottom;
}

/* Маленький muted підпис */
.normal__hint {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 6px;
}

/* Великий бордо-рядок */
.normal__statement {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 52px);
  text-transform: uppercase;
  color: var(--burgundy);
  display: block;
  transform: scaleY(0.8);
  transform-origin: left bottom;
  line-height: 1.1;
  margin-bottom: 16px;
}

/* Нижній рядок: скрипт + кнопка */
.normal__footer {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.normal__sub {
  /* клас .script додано в HTML */
  font-size: clamp(20px, 2.4vw, 34px);
  color: var(--bg);
  line-height: 1.2;
}

/* Фото справа — обрізане, ч/б */
.normal__photo {
  display: none;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  align-self: stretch;
}

.normal__photo .photo-placeholder,
.normal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}

.normal__photo .photo-placeholder {
  background: #c8c5c0;
  color: rgba(0,0,0,0.2);
}


/* ════════════════════════════════════════════
   ПАМ'ЯТЬ МОЖНА ТРЕНУВАТИ
   ════════════════════════════════════════════ */
.about-course {
  background: var(--bg-light);
  padding: 100px 0 50px;
  color: var(--bg);
}

.about-course .container {
  padding: 0 60px;
  max-width: 100%;
  margin: 0;
}

.about-course__script {
  font-size: clamp(22px, 2.8vw, 38px);
  color: var(--burgundy);
  margin-bottom: 16px;
}

.about-course__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 80px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--bg);
  margin-bottom: 56px;
}

.about-course__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-course__row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-course__cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}

.about-course__cta-hint {
  font-family: var(--f-script);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--burgundy);
  white-space: nowrap;
}

.about-course__btn {
  display: inline-block;
}

/* ── МОДАЛ ТЕСТУ ПАМ'ЯТІ ──────────────────── */
.mem-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  overflow-y: auto;
}

.mem-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mem-modal__inner {
  width: 100%;
  max-width: 720px;
  padding: 100px 60px;
  margin: 0 auto;
}

.mem-modal__close {
  position: fixed;
  top: 28px;
  right: 36px;
  font-size: 28px;
  line-height: 1;
  color: var(--white);
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 10000;
}

.mem-modal__close:hover { opacity: 1; }

.mem-test__label {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.5;
}

.mem-test__words {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.mem-test__words span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 36px);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}

.mem-test__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mem-test__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-size: 16px;
  color: var(--white);
}

.mem-test__option:hover { background: rgba(255,255,255,0.08); }
.mem-test__option input { display: none; }
.mem-test__option.active,
.mem-test__option:has(input:checked) {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.mem-test__score {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 42px);
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.mem-test__result-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
  max-width: 600px;
  margin-bottom: 8px;
}

.about-course__body p {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--bg);
}


/* ════════════════════════════════════════════
   HOW BLOCK (block-5a)
   ════════════════════════════════════════════ */
.how { background: var(--bg-light); padding: 88px; display: flex; flex-direction: column; gap: 56px; }
.how__title { margin: 0; font: 700 clamp(48px,7.5vw,96px)/1 'Oswald', sans-serif; color: var(--bg); text-transform: uppercase; }
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how__card { padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.how__card--light { border: 2px solid var(--bg); }
.how__card--dark { background: var(--bg); justify-content: flex-end; }
.how__num { font: 700 clamp(120px,14vw,180px)/.8 'Oswald', sans-serif; color: var(--burgundy); }
.how__tag { align-self: flex-start; font: 700 clamp(44px,5.6vw,72px)/1 'Oswald', sans-serif; color: var(--bg-light); background: var(--burgundy); padding: 0 18px 6px; transform: rotate(-1.5deg); transform-origin: left; text-transform: uppercase; }
.how__lead { font: 700 22px/1.35 'Inter', sans-serif; color: var(--bg); }
.how__card--dark .how__lead { color: var(--bg-light); }
.how__card p { margin: 0; font: 500 17px/1.55 'Inter', sans-serif; color: var(--muted); }
.how__card--dark p { color: #b7b3ac; }
.how__bottom { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; border-top: 1px solid var(--bg); padding-top: 32px; }
.how__summary { font: 700 26px/1.35 'Inter', sans-serif; color: var(--bg); max-width: 720px; }
.how__note { font: 500 30px/1.1 'Caveat', cursive; color: var(--burgundy); max-width: 300px; transform: rotate(-2deg); }

/* ════════════════════════════════════════════
   УЯВІТЬ
   Кремовий фон, рукописний заголовок
   ════════════════════════════════════════════ */
.imagine {
  background: var(--bg-light);
  padding: 100px 0;
}

.imagine .container {
  padding: 0 60px;
  max-width: 100%;
  margin: 0;
}

.imagine__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 60px);
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 64px;
  letter-spacing: 0.02em;
}

.imagine__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.imagine__block-title {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--bg);
  line-height: 1.4;
  margin-bottom: 20px;
}

.imagine__block p {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.imagine__statement {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--bg);
  max-width: 860px;
  line-height: 1.6;
  margin-bottom: 16px;
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 48px;
}

.imagine__sub {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--muted);
  line-height: 1.6;
}


/* ════════════════════════════════════════════
   ПЕРЕВАГИ
   Темний фон, 3 колонки
   ════════════════════════════════════════════ */
.benefits {
  position: relative;
  padding: 48px 0 100px;
  min-height: 520px;
  overflow: hidden;
}

.benefits .container {
  height: 100%;
}

.benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/benefits-bg.jpg') center 20% / cover no-repeat;
  filter: grayscale(100%);
  z-index: 0;
}

.benefits::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.72);
  z-index: 1;
}

.benefits .container {
  position: relative;
  z-index: 2;
  padding: 0 240px 0 32px;
  max-width: 100%;
  margin: 0;
}

.benefits__grid {
  position: relative;
  z-index: 2;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  margin-top: 48px;
}

.benefits__col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.benefits__num {
  font-size: clamp(36px, 3.5vw, 52px);
  color: var(--white);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
  min-width: 56px;
}

.benefits__text {
  padding-top: 6px;
}

.benefits__text h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  display: inline;
}

.benefits__item p {
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  display: inline;
}

.benefits__text h3::after {
  content: ' ';
}

.benefits__btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}



/* ════════════════════════════════════════════
   АУДИТОРІЯ
   Кремовий фон
   ════════════════════════════════════════════ */
.audience {
  background: var(--bg-light);
  padding: 100px 0;
  color: var(--bg);
}
.audience .section-title { color: var(--bg); }

.audience__sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  margin-top: -32px;
  margin-bottom: 48px;
  max-width: 700px;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
}

.audience__item {
  background: var(--white);
  padding: 32px 28px;
}

.audience__item h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--burgundy);
  color: var(--bg);
}

.audience__item p {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.5;
}


/* ════════════════════════════════════════════
   АВТОР
   Темний фон, фото зліва / текст справа
   ════════════════════════════════════════════ */
.author {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.author__content {
  padding: 100px 60px;
  max-width: 60%;
}

.author__photo-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  overflow: hidden;
}

.author__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 20%;
  display: block;
}

.author .section-title { color: var(--bg); }

.author__info h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bg);
  margin-bottom: 8px;
}

.author__handle {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 20px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.author__info > ul { margin: 24px 0 40px; }

.author__info > ul li {
  font-size: 22px;
  font-weight: 300;
  color: var(--bg);
  padding: 12px 0;
  line-height: 1.4;
}
.author__info > ul li::before { content: '— '; color: var(--burgundy); }
.author__info > ul li strong {
  color: var(--burgundy);
  font-weight: 700;
}

.author__stats { display: flex; gap: 56px; margin-bottom: 28px; }

.author__stat { display: flex; flex-direction: column; gap: 4px; }

.author__stat-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--bg);
}

.author__stat span:last-child {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  max-width: 140px;
  line-height: 1.4;
}

.author__motto {
  font-family: var(--f-script);
  font-size: 24px;
  color: var(--muted);
}


/* ════════════════════════════════════════════
   ПРОГРАМА
   Кремовий фон, акордеон
   ════════════════════════════════════════════ */
.program {
  background: var(--bg-light);
  padding: 100px 0;
  color: var(--bg);
}

.program .container {
  padding: 0 60px;
  max-width: 100%;
  margin: 0;
}

.program .section-title { color: var(--bg); }

.program__meta {
  font-family: var(--f-script);
  font-size: 24px;
  color: var(--burgundy);
  margin-top: -36px;
  margin-bottom: 56px;
}

.program__modules { display: flex; flex-direction: column; gap: 2px; }

.module { background: var(--white); overflow: hidden; }

.module__header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}
.module__header:hover { background: #f7f4ef; }

.module__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 90px;
}

.module__header h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bg);
  flex: 1;
}

.module__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--burgundy);
  color: var(--white);
  padding: 4px 12px;
  white-space: nowrap;
}

.module__body { display: none; padding: 0 32px 36px; }
.module__body.open { display: block; }

.module__body > p {
  font-size: 15px;
  font-weight: 300;
  color: #444;
  line-height: 1.65;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.module__sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.module__sections h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 14px;
}

.module__sections ul li {
  font-size: 14px;
  font-weight: 300;
  color: #444;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  line-height: 1.4;
  position: relative;
}
.module__sections ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-size: 20px;
  line-height: 1;
  top: 7px;
}

.module__sections p {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
}


/* ════════════════════════════════════════════
   ТАРИФИ
   Темний фон, 3 колонки
   ════════════════════════════════════════════ */
.pricing {
  background: var(--bg);
}

.pricing__inner {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 100px 60px;
}

.pricing__left {
  flex: 1;
}

.pricing__badge {
  font-family: var(--f-script);
  font-size: 22px;
  color: var(--burgundy);
  display: block;
  margin-bottom: 20px;
}

.pricing__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 48px);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 40px;
}

.pricing__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 48px;
}

.pricing__features li {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-size: 12px;
}

.pricing__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.pricing__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}


/* ════════════════════════════════════════════
   «ПРО БІЛЬШЕ» — теги
   ════════════════════════════════════════════ */
.about-more {
  background: var(--bg);
  padding: 100px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.about-more__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 36px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 36px;
}

.about-more__tags { display: flex; flex-wrap: wrap; gap: 10px; }

.about-more__tags span {
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  transition: border-color 0.15s, color 0.15s;
}
.about-more__tags span:hover {
  border-color: var(--burgundy);
  color: var(--white);
}


/* ════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════ */
.cta {
  background: var(--bg-alt);
  padding: 120px 60px;
  text-align: center;
}

.pricing__footer {
  text-align: center;
  padding: 40px 0 80px;
  width: 100%;
}

.cta__title {
  font-size: clamp(44px, 7vw, 100px);
  line-height: 1;
  color: var(--white);
  margin-bottom: 0;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
}


/* ════════════════════════════════════════════
   FAQ
   Кремовий фон, акордеон
   ════════════════════════════════════════════ */
.faq {
  background: var(--bg-light);
  padding: 100px 0;
  color: var(--bg);
}

.faq .container {
  padding: 0 60px;
  max-width: 100%;
  margin: 0;
}

.faq .section-title {
  color: var(--bg);
  font-size: clamp(44px, 7vw, 100px);
}

.faq__list { display: flex; flex-direction: column; gap: 2px; }

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 32px;
  background: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--bg);
  text-align: left;
  transition: background 0.15s;
}
.faq__q:hover { background: #e8e5e0; }

.faq__icon {
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.faq__q.open .faq__icon { transform: rotate(45deg); }

.faq__a {
  display: none;
  background: var(--white);
  padding: 0 32px 24px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.faq__a.open { display: block; }

.faq__a p {
  font-size: 15px;
  font-weight: 300;
  color: #444;
  line-height: 1.65;
  padding-top: 16px;
}


/* ════════════════════════════════════════════
   ФУТЕР
   Темний фон, 2 колонки
   ════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  gap: 32px;
}

.footer__nav a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer__nav a:hover { color: var(--white); }

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--white); }

.footer__logo { display: none; }

.footer__photo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ════════════════════════════════════════════
   АДАПТИВ — 768px
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  body::after { opacity: 0.14; }
  .container { padding: 0 20px; }

  /* ── NAV ── */
  .nav { padding: 16px 20px; }

  /* ── HERO ── */
  .hero { height: 100svh; min-height: 640px; max-height: 820px; }
  .hero__photo { transform: none; }
  .hero__photo img { object-position: 80% top; }
  .hero__photo::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.88) 100%);
  }
  .hero__title { left: 20px; right: 20px; top: 80px; font-size: clamp(52px,14vw,80px); white-space: normal; line-height: 0.9; }
  .hero__bottom { left: 20px; right: 20px; bottom: 28px; grid-template-columns: 1fr; gap: 20px; }
  .hero__btn { justify-content: center; width: 100%; }
  .hero__tagline { font-size: clamp(22px,5.5vw,30px); }

  /* ── PAINS ── */
  .pains { padding: 64px 0 56px; }
  .pains .container { padding: 0 20px; }
  .pains__list {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    gap: 12px;
    margin-top: 28px;
    scrollbar-width: none;
    grid-template-columns: unset;
    transform: translateZ(0);
  }
  .pains__list::-webkit-scrollbar { display: none; }
  .pains__card {
    flex: 0 0 78%;
    scroll-snap-align: unset;
    background: #f0ede8;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
  }
  .pains__card img, .pains__card video { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; height: auto; }
  .pains__card-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 44%;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #1a1a1a;
  }
  .pains__list li:nth-child(5) .pains__card-text { top: 42%; }
  .pains__hint { display: block; padding: 0 20px; font-size: 22px; color: var(--muted); }

  /* ── QUOTE ── */
  .quote { padding: 56px 0; }
  .quote .container, .quote__content { padding: 0 20px; max-width: 100%; }
  .quote__small { font-size: clamp(14px,4vw,18px); }
  .quote__big { font-size: clamp(24px,6vw,34px); white-space: normal; }

  /* ── MEM BLOCK ── */
  .mem { padding: 48px 20px; gap: 36px; }
  .mem__row { flex-wrap: wrap; }
  .mem__row--right { justify-content: flex-start; flex-direction: column; }
  .mem__row--right .mem__word { order: 1; }
  .mem__row--right .mem__note { order: 2; }
  .mem__row--indent { padding-left: 0; }
  .mem__arr { display: none; }
  .mem__note::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 28px;
    margin-right: 6px;
    vertical-align: middle;
    transform: translateY(-6px);
    background: no-repeat left center / contain;
  }
  /* стрілка 1 — чистий чвертьоборот */
  .mem__row:nth-child(1) .mem__note::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 28'%3E%3Cpath d='M32 22 C20 22 8 22 8 6' stroke='%236b6b6b' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M8 6 L4 13 M8 6 L14 12' stroke='%236b6b6b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  }
  /* стрілка 2 — з S-вигином посередині */
  .mem__row:nth-child(2) .mem__note::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 28'%3E%3Cpath d='M32 24 C22 24 14 24 10 16 C8 10 8 8 8 4' stroke='%236b6b6b' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M8 4 L4 11 M8 4 L14 10' stroke='%236b6b6b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  }
  /* стрілка 3 — ширша дуга, більш округла */
  .mem__row:nth-child(3) .mem__note::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 28'%3E%3Cpath d='M32 22 C24 22 16 22 12 14 C10 9 9 7 8 4' stroke='%236b6b6b' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M8 4 L3 11 M8 4 L15 10' stroke='%236b6b6b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  }
  .mem__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .mem__btn { width: 100%; justify-content: center; }

  /* ── TRAIN BLOCK ── */
  .train { background: var(--bg); padding: 64px 20px; gap: 32px; }
  .train__eyebrow { color: #e9b4bf; }
  .train__title { color: var(--white); }
  .train__bottom { border-top-color: rgba(255,255,255,0.2); flex-direction: column; align-items: flex-start; gap: 24px; }
  .train__text { color: rgba(255,255,255,0.85); }
  .train__btn { background: var(--bg-light); color: var(--bg); justify-content: center; width: 100%; }
  .train__btn:hover { background: var(--burgundy); color: var(--bg-light); }

  /* ── BENEFITS ── */
  .benefits { padding: 64px 0; background: var(--bg-light); }
  .benefits::before, .benefits::after { display: none; }
  .benefits .container { padding: 0 20px; position: static; }
  .benefits .section-title { color: var(--bg); }
  .benefits__grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .benefits__col { gap: 0; }
  .benefits__item { border-top: 1px solid rgba(13,13,13,0.15); padding: 20px 0; gap: 12px; align-items: flex-start; }
  .benefits__num { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--burgundy); opacity: 1; min-width: 48px; line-height: 1; }
  .benefits__text h3 { color: var(--bg); display: block; font-size: 16px; }
  .benefits__text h3::after { content: none; }
  .benefits__item p { color: var(--muted); display: block; font-size: 15px; }
  .benefits__btn { width: 100%; text-align: center; justify-content: center; display: flex; margin-top: 32px; background: var(--burgundy); color: var(--white); }

  /* ── HOW BLOCK ── */
  .how { padding: 48px 20px; gap: 32px; }
  .how__grid { grid-template-columns: 1fr; gap: 16px; }
  .how__card { padding: 28px 22px; }
  .how__bottom { grid-template-columns: 1fr; gap: 16px; }
  .how__summary { font-size: 20px; }
  .how__note { max-width: 100%; transform: none; }

  /* ── AUTHOR ── */
  .author { display: flex; flex-direction: column-reverse; }
  .author__content { padding: 40px 20px 48px; max-width: 100%; }
  .author__photo-wrap { position: relative; width: 100%; height: 440px; }
  .author__info h3 { font-size: 36px; }
  .author__info > ul li { font-size: 16px; }
  .author__motto { font-size: 20px; }

  /* ── PROGRAM ── */
  .program { background: var(--bg) !important; color: var(--white) !important; padding: 64px 0 !important; }
  .program .container { padding: 0 20px; }
  .program .section-title { color: var(--white); font-size: clamp(36px,9vw,56px); }
  .program__meta { color: #e9b4bf; font-size: 22px; }
  #program .module { background: var(--bg) !important; border-top: 1px solid rgba(255,255,255,0.12); overflow: visible; }
  #program .module:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
  #program .module__header { padding: 18px 16px; gap: 10px; flex-wrap: nowrap; }
  #program .module__header:hover { background: rgba(255,255,255,0.06); }
  #program .module__header h3 { color: var(--white); font-size: 15px; }
  #program .module__num { color: #e9b4bf; font-size: 10px; min-width: 56px; }
  #program .module__tag { display: none; }
  #program .module__body { padding: 0 16px 24px; }
  #program .module__body > p { color: rgba(255,255,255,0.75); border-top-color: rgba(255,255,255,0.1); }
  .module__sections { grid-template-columns: 1fr; gap: 20px; }
  .module__sections h4 { color: #e9b4bf; }
  .module__sections ul li { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.1); }
  .module__sections p { color: rgba(255,255,255,0.65); }

  /* ── PRICING ── */
  .pricing__inner { flex-direction: column; gap: 36px; padding: 64px 20px; align-items: flex-start; }
  .pricing__features { grid-template-columns: 1fr; gap: 8px; }
  .pricing__right { align-items: flex-start; text-align: left; width: 100%; }
  .pricing__right .btn { width: 100%; text-align: center; justify-content: center; display: flex; }

  /* ── FAQ ── */
  .faq { padding: 64px 0; }
  .faq .container { padding: 0 20px; }
  .faq .section-title { font-size: clamp(36px,9vw,56px); }
  .faq__q { padding: 18px 20px; font-size: 15px; }
  .faq__a { padding: 0 20px 20px; }

  /* ── FOOTER ── */
  .footer { padding: 40px 20px 32px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; }
  .footer__logo { display: block; font-size: 28px; font-family: var(--f-display); font-weight: 700; color: var(--white); margin-bottom: 10px; }
  .footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; color: var(--white); }
  .footer__links { flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; width: 100%; }
  .footer__copy { white-space: normal; }

  /* ── MEMORY TEST BAR ── */
  .mem-test__bar { height: 4px; background: rgba(255,255,255,0.15); margin-top: 24px; }
  .mem-test__bar div { height: 4px; background: var(--burgundy); width: 100%; transition: width 1s linear; }
}

/* ════════════════════════════════════════════
   МОДАЛКА ОПЛАТИ
   ════════════════════════════════════════════ */
.pay-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pay-modal.open { display: flex; }

.pay-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.pay-modal__box {
  position: relative;
  background: var(--bg-light);
  color: var(--bg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  z-index: 1;
}

.pay-modal__close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 20px;
  color: var(--bg);
  cursor: pointer;
  background: none;
  border: none;
}

.pay-modal__title {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pay-modal__price {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--burgundy);
  margin-bottom: 24px;
}

.pay-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-modal__form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.2);
  background: #fff;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.pay-modal__form input:focus { border-color: var(--burgundy); }

.pay-modal__submit {
  margin-top: 8px;
  width: 100%;
  padding: 18px;
  font-size: 14px;
}

.pay-modal__note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .pay-modal__box { padding: 36px 24px; }
  .pay-modal__row { grid-template-columns: 1fr; }
}
