:root {
  --red: #E10800;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --ink: #0A0A0A;
  --ink-soft: rgba(10,10,10,0.68);
  --border: rgba(10,10,10,0.1);
  --radius: 18px;
}

* { box-sizing: border-box; }
button, input, select, textarea { font-family: inherit; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Golos Text', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .display {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  margin: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* -- единый стиль фокуса для клавиатурной навигации (кнопки/ссылки/инпуты) -- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  transform: translateZ(0);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.site-header__logo { height: 80px; width: auto; display: block; }

/* -- три лого в шапке: единая тёмная круглая рамка фиксированного размера для
      всех трёх (object-fit: contain тянет картинку под размер рамки вне
      зависимости от её родных пропорций), подпись отдельным текстом снизу.
      Файлы оригинальные бело-красные (рассчитаны на тёмный фон), поэтому
      рамка тёмная -- */
.logo-row { display: flex; align-items: flex-start; gap: 18px; }
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; }
.logo-wrap { position: relative; display: block; width: 100%; height: 100%; }

.logo-chip {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
}
.logo-chip::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(225,8,0,0.45), 0 0 20px rgba(225,8,0,0.22);
  opacity: 0;
  animation: logoChipGlow 2.8s ease-in-out infinite;
  pointer-events: none;
}
.logo-chip::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 40%;
  height: 200%;
  background: linear-gradient(100deg, transparent, rgba(225,8,0,0.45), transparent);
  transform: rotate(8deg) translateX(-100%);
  animation: logoChipShine 2.8s ease-in-out infinite;
  will-change: transform;
}
.logo-chip__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}
.logo-item__caption {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}
.logo-item__caption-accent { color: var(--red); }
/* -- третья подпись ("Константин Кожевников") длиннее двух остальных,
      поэтому слегка уменьшаем размер и смягчаем переносы, не трогая остальные -- */
.logo-row .logo-item:nth-child(3) .logo-item__caption {
  font-size: 8px;
  letter-spacing: 0.01em;
  white-space: normal;
}
@keyframes logoChipGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
@keyframes logoChipShine {
  0% { transform: rotate(8deg) translateX(-100%); }
  100% { transform: rotate(8deg) translateX(400%); }
}
.logo-star-glow { position: absolute; overflow: visible; pointer-events: none; }
.logo-star-glow__base {
  fill: none;
  stroke: var(--red);
  stroke-opacity: 0.22;
  stroke-width: 3;
}
.logo-star-glow__chase {
  fill: none;
  stroke: #FF4433;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  filter: drop-shadow(0 0 2px rgba(225,8,0,0.9)) drop-shadow(0 0 5px rgba(225,8,0,0.6));
  animation: logoStarChase 3s linear infinite;
}
@keyframes logoStarChase {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -100; }
}
.header-logos-toggle { display: none; }
.mobile-menu-panel { display: none; }
.site-header__cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 100px;
}

/* ---------- sticky subnav + reading progress ---------- */
.subnav {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 49;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  will-change: transform;
  transform: translateY(calc(-100% - 100px));
  transition: transform 0.3s ease;
}
.subnav.is-visible { transform: translateY(0); }
.subnav__progress {
  height: 3px;
  width: 0%;
  background: var(--red);
  transition: width 0.1s linear;
}
.subnav__inner {
  display: flex;
  align-items: center;
  height: 44px;
}
.subnav__links {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__link {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.subnav__link:hover,
.subnav__link.is-active { color: var(--red); border-color: var(--red); }

@media (max-width: 560px) {
  /* -- на мобильном подсказки по разделам перенесены в раскрывающееся меню шапки,
        сам плавающий subnav (с полосой прогресса) больше не нужен и только мешал контенту -- */
  .subnav { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 18px 44px;
  border-radius: 100px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px rgba(225,8,0,0.28);
}
.btn--primary:hover { box-shadow: 0 14px 38px rgba(225,8,0,0.4); }

/* -- единый плавный hover для магнитных кнопок (шапка, hero, повторный CTA):
      подъём + мягкое свечение без скачков. Transform/box-shadow задаются здесь,
      а само смещение от курсора (магнитный эффект) добавляется поверх через JS,
      чтобы не было конфликта двух источников transform. -- */
.fx-magnetic {
  transition: box-shadow 0.2s ease;
}
.fx-magnetic.is-hovering {
  box-shadow: 0 12px 28px rgba(225,8,0,0.22), 0 0 20px rgba(225,8,0,0.28);
}

/* -- блик (shine sweep), проезжающий по кнопке раз в ~3.6с -- */
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 85%, transparent 100%);
  animation: fxBtnShine 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fxBtnShine {
  0% { left: -40%; }
  22% { left: 130%; }
  100% { left: 130%; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg) 60%);
}
.hero__canvas {
  position: absolute;
  top: -14%;
  right: -14%;
  width: 88%;
  height: 134%;
  z-index: 0;
  opacity: 0.21;
  pointer-events: none;
  border-radius: 24px;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: center;
}
.hero__text { min-width: 0; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.hero__title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero__title-accent { color: var(--red); }
/* fx-text-reveal rebuilds hero__title's innerHTML from its plain textContent
   (see interactions.js), so a wrapping <span> would be discarded on load —
   target the last two generated .fx-word spans ("амбициозные цели") instead. */
.hero__title.fx-text-reveal .fx-word:nth-last-child(-n+2) { color: var(--red); }
@media (max-width: 400px) {
  .hero__title { font-size: clamp(24px, 7vw, 32px); }
}
.fx-text-reveal .fx-word { will-change: opacity, transform; max-width: 100%; }
.hero__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 520px;
}

.hero__desc {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 18px;
  line-height: 1.5;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 0;
}
.price-block--center { align-items: center; }
.price-block__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price-block__price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--red);
}
.price-block__currency-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 2px 0 0;
}

/* -- кнопка сразу под ценой -- */
.price-block + .btn--primary {
  margin-top: 14px;
}

.hero__cta-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.hero__photo {
  position: relative;
  justify-self: center;
  align-self: center;
  margin-top: 18px;
}
.hero__photo img {
  width: 100%;
  max-width: 820px;
  display: block;
  position: relative;
  z-index: 1;
}

/* ---------- sections ---------- */
.section { padding: 90px 0; scroll-margin-top: 160px; }
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
  text-align: center;
}
.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- cards ---------- */
.cards { display: grid; gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-4px);
}
.card__icon-svg {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--red);
  margin-bottom: 16px;
  transition: color 0.25s ease;
}
.card:hover .card__icon-svg { color: #fff; }
.card__num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--red);
  margin-bottom: 14px;
  transition: color 0.25s ease;
}
.card:hover .card__num { color: #fff; }
.card__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.card p { margin: 0; font-size: 15px; line-height: 1.5; }
.card--check { display: flex; flex-direction: column; gap: 14px; }
.card__icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease;
}
.card--check:hover .card__icon { background: #fff; color: var(--red); }

/* ---------- contents (dark) ---------- */
.contents--dark {
  background: var(--ink);
  color: #fff;
}
.contents--dark .section-eyebrow { color: var(--red); }
.checklist {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.5;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  opacity: 0.75;
  transition: border-color 0.25s ease, background 0.25s ease, opacity 0.35s ease;
}
.checklist li:hover {
  border-color: var(--red);
  background: rgba(225,8,0,0.08);
}
.checklist li.is-checked { opacity: 1; }
.checklist__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.checklist__icon svg { width: 15px; height: 15px; }
.checklist__text { flex: 1; }
.checklist__check {
  flex-shrink: 0;
  align-self: center;
  color: var(--red);
  font-weight: 700;
  font-size: 20px;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.checklist li.is-checked .checklist__check {
  opacity: 1;
  transform: scale(1);
}

/* -- прогресс-бар чек-листа: заполняется/откатывается по позиции скролла -- */
.checklist-progressbar {
  width: 100%;
  margin: 0 auto 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.checklist-progressbar__fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.35s ease;
}

/* ---------- contents layout: чеклист по центру, шире ---------- */
.contents__layout {
  display: flex;
  justify-content: center;
}
.contents__layout .checklist-wrap {
  width: 68%;
  margin: 0;
}
.contents__layout .checklist { margin: 0; }

@media (max-width: 900px) {
  .contents__layout .checklist-wrap { width: 100%; }
}

/* ---------- cta repeat ---------- */
.cta-repeat {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg-soft);
}
.cta-repeat__canvas {
  position: absolute;
  top: -24%;
  left: -20%;
  width: 78%;
  height: 150%;
  opacity: 0.34;
  z-index: 0;
  pointer-events: none;
}
.cta-repeat__inner { position: relative; z-index: 1; }
.cta-repeat__desc {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--red); }
.faq-item__q {
  width: 100%;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: color 0.2s ease;
}
.faq-item__q:hover { color: var(--red); }
.faq-item__icon {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--red);
  margin-left: 12px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item__a-inner { padding-top: 14px; }
.faq-item__a p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* -- CTA под списком FAQ -- */
.faq-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ---------- inline checkout (та же страница, без модалки и редиректа) ---------- */
.checkout { text-align: center; }
.checkout__inner { display: flex; flex-direction: column; align-items: center; }
.checkout-box {
  width: 100%;
  max-width: 460px;
  margin-top: 28px;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  text-align: left;
}
.checkout-box.checkout-success { text-align: center; }

/* ---------- lead modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,10,10,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: var(--red); color: #fff; }
.modal-title {
  font-size: 28px;
  margin: 6px 0 20px;
  text-transform: none;
}
.modal-body .eyebrow { margin-bottom: 8px; }
.form-field { display: block; margin-bottom: 16px; }
.form-field span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-soft);
  transition: border-color 0.2s ease;
}
.form-field input:focus { outline: none; border-color: var(--red); }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 4px 0 22px;
}
.form-consent input { margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form-consent a { color: var(--red); text-decoration: underline; }
.btn--block { display: block; width: 100%; text-align: center; }
.modal-success { text-align: center; }
.modal-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-success__text { color: var(--ink-soft); margin: 0 0 24px; }
.modal-success__more { margin: 18px 0 0; font-size: 13px; }
.modal-success__more a { color: var(--ink-soft); text-decoration: underline; transition: color 0.2s ease; }
.modal-success__more a:hover { color: var(--red); }

@media (max-width: 560px) {
  .modal-overlay { padding: 8px; align-items: flex-start; }
  .modal-box { max-height: 96vh; max-height: 96dvh; padding: 18px 16px; margin-top: 8px; }
  .modal-title { font-size: 19px; margin: 4px 0 12px; }
  .modal-body .eyebrow { margin-bottom: 4px; }
  .checkout-order { padding-bottom: 10px; margin-bottom: 12px; }
  .checkout-order strong { font-size: 22px; }
  .form-field { margin-bottom: 8px; }
  .form-field span { font-size: 11px; margin-bottom: 4px; }
  .form-field input { padding: 10px 14px; font-size: 14px; }
  .form-consent { margin: 3px 0 8px; font-size: 12px; line-height: 1.35; gap: 8px; }
  .checkout-order--total { padding-top: 10px; margin-top: 2px; margin-bottom: 12px; }
  .checkout-order--total strong { font-size: 19px; }
  .modal-box .btn--block { padding: 14px 32px; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 60px;
  text-align: center;
}
.site-footer__logo { height: 140px; margin-bottom: 20px; opacity: 1; }
.site-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer__links a { transition: color 0.2s ease; }
.site-footer__links a:hover { color: var(--red); }
.site-footer__copy { font-size: 12px; color: var(--ink-soft); margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .fmp-3d-canvas { opacity: 0.2; }
  .hero__canvas { top: -4%; right: -18%; width: 110%; height: 62%; }
  .cta-repeat__canvas { top: -6%; left: -22%; width: 105%; height: 72%; }
  .hero__inner { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .hero__text { order: 1; }
  .hero__photo { order: 0; width: 100vw; max-width: 100vw; margin: 8px calc(50% - 50vw) 0; }
  .hero__photo img { max-height: 42vh; object-fit: contain; margin: 0 auto; }
  .hero__subtitle, .hero__desc { margin-left: auto; margin-right: auto; }
  .price-block { align-items: center; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .faq-item__q { min-height: 44px; padding: 7px 0; margin: -7px 0; }
}

@media (max-width: 560px) {
  .cards--4 { grid-template-columns: 1fr; }
  .site-header__inner { min-height: 84px; }
  .logo-item { width: 72px; gap: 5px; }
  .logo-chip { width: 48px; height: 48px; padding: 7px; }
  .logo-item__caption { font-size: 7.5px; }
  .logo-row .logo-item:nth-child(3) .logo-item__caption { font-size: 6.5px; }
  .logo-row { gap: 10px; }

  /* -- мобильная шапка: виден только "Ты можешь" (продукт страницы) + кнопка-бургер.
        Остальные логотипы и CTA на мобильном в шапку не возвращаются — их заменяет
        .mobile-menu-panel (ссылки на разделы + CTA), отдельный блок ниже. -- */
  .logo-row .logo-item:nth-child(1),
  .logo-row .logo-item:nth-child(3) { display: none; }
  .site-header__cta { display: none; }
  .header-logos-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    flex-direction: column;
  }
  .header-logos-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }

  /* -- выпадающая панель меню: position:absolute, полностью отвязана от высоты
        sticky-шапки (намеренно — рост sticky-контейнера через flex-wrap ненадёжно
        рендерится в WebKit/встроенных браузерах типа Instagram in-app, из-за чего
        контент наезжал прозрачно поверх hero). Якорится на .site-header (position:
        sticky уже даёт контекст позиционирования), поэтому сама шапка никогда не
        меняет высоту -- и панель всегда рисуется со своим сплошным фоном поверх
        остального контента, а не "раздвигает" его. -- */
  .mobile-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 20px 22px;
    background: var(--ink);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(0,0,0,0.35);
    z-index: 60;
  }
  .site-header.is-menu-open .mobile-menu-panel { display: flex; }
  .mobile-menu-panel__cta { width: 100%; max-width: 320px; text-align: center; }
  .header-mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .header-mobile-nav__link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    padding: 6px 0;
    transition: color 0.2s ease;
  }
  .header-mobile-nav__link:hover { color: var(--red); }

  .hero { padding: 60px 0; }
  .section { padding: 60px 0; }
  .btn { padding: 16px 32px; font-size: 14px; }
  .modal-close { width: 44px; height: 44px; top: 10px; right: 10px; }
}

/* ======================================================================
   FX: усиленная 3D-сцена, сияющий текст/кнопки, курсор, grain, stagger
   ====================================================================== */

/* -- мягкое bloom-свечение канваса сцены через CSS drop-shadow (доп. к JS-слоям) -- */
.hero__canvas,
.cta-repeat__canvas {
  filter:
    drop-shadow(0 0 45px rgba(225, 8, 0, 0.35))
    drop-shadow(0 0 90px rgba(225, 8, 0, 0.16));
}

/* -- сияющие линии вокруг текста (H1) -- */
.fx-glow-text {
  animation: fxGlowPulse 3.4s ease-in-out infinite;
}
@keyframes fxGlowPulse {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(225, 8, 0, 0.22),
      0 0 16px rgba(225, 8, 0, 0.16),
      0 0 34px rgba(225, 8, 0, 0.1);
  }
  50% {
    text-shadow:
      0 0 10px rgba(225, 8, 0, 0.38),
      0 0 26px rgba(225, 8, 0, 0.26),
      0 0 56px rgba(225, 8, 0, 0.16);
  }
}

/* -- сияющие кнопки CTA: пульсирующее свечение поверх обычной тени --
      свечение — отдельный слой (::after), анимируется только opacity
      (композитор, без перерисовки box-shadow на каждый кадр — это и было
      причиной подвисаний при скролле/наведении) -- */
.fx-glow-btn { position: relative; box-shadow: 0 10px 30px rgba(225, 8, 0, 0.28); }
.fx-glow-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 10px 34px rgba(225, 8, 0, 0.46), 0 0 30px rgba(225, 8, 0, 0.55);
  opacity: 0;
  animation: fxGlowBtnPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fxGlowBtnPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* -- кастомный курсор с задержкой следования (только мышь/десктоп) -- */
.fx-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.fx-cursor--trail {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1.5px solid rgba(225, 8, 0, 0.5);
}
.fx-magnetic.is-hovering { will-change: transform; }
@media (max-width: 900px), (pointer: coarse) {
  .fx-cursor { display: none; }
}

/* -- тонкий кинематографичный grain-оверлей -- */
.fx-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* -- scroll-driven stagger для карточек/чеклиста: анимация, не transition,
      чтобы не конфликтовать с hover-transition у .card -- */
.fx-stagger-item {
  opacity: 0;
  animation: fxStaggerIn 0.6s ease forwards;
  animation-play-state: paused;
}
.is-visible .fx-stagger-item {
  animation-play-state: running;
}
@keyframes fxStaggerIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- утверждённые блоки: об академии, ТЫ МОЖЕШЬ, основатель ---------- */
.section-lead {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  max-width: 640px;
  margin: -24px auto 40px;
}
.about__text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}
/* #about: левое выравнивание заголовка и текста + красный заголовок (правка клиента) */
#about .section-eyebrow,
#about .section-title,
#about .about__text {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
#about .section-title {
  color: var(--red);
}
.tymozhesh { background: var(--ink); color: #fff; text-align: center; }
.tymozhesh__title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  color: var(--red);
  margin: 0 0 20px;
}
.tymozhesh__text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.checkout-order {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.checkout-order strong { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--red); font-weight: 400; }
.checkout-order--total {
  border-bottom: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  padding-bottom: 0;
  margin-top: 4px;
  margin-bottom: 20px;
}
.checkout-order--total strong { font-size: 24px; }

/* ---------- плавающая кнопка-корзина: открывает ту же лид-модалку ---------- */
.cart-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.24); }
.cart-fab svg { width: 24px; height: 24px; }
.cart-fab__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 560px) {
  .cart-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .cart-fab svg { width: 20px; height: 20px; }
}
.founder__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 880px;
}
.founder__photo { width: 100%; height: auto; border-radius: var(--radius); }
.founder__text .section-eyebrow { text-align: left; }
.founder__name {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px;
}
.founder__bio { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) {
  .founder__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .founder__photo { max-width: 240px; margin: 0 auto; }
  .founder__text .section-eyebrow { text-align: center; }
  .section-lead { font-size: 18px; margin-top: -28px; }
}

/* ---------- stats row: анимированные счётчики перед чек-листом ---------- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 0 0 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--red);
  line-height: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.stat__num.is-visible { opacity: 1; }
.stat__label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  max-width: 180px;
  margin: 8px auto 0;
  line-height: 1.4;
}

/* ---------- quiz: короткий тест с персонализированным результатом ---------- */
.quiz-box {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.quiz-progressbar {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 12px;
}
.quiz-progressbar__fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.35s ease;
}
.quiz-progress-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.quiz-slide { display: none; }
.quiz-slide.is-active { display: block; animation: quizFade 0.35s ease; }
@keyframes quizFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-slide__q {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  text-transform: none;
  letter-spacing: normal;
  margin: 0 0 24px;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 15px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.quiz-option:hover {
  border-color: var(--red);
  background: rgba(225,8,0,0.06);
}
.quiz-result { text-align: center; }
.quiz-result__icon {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.quiz-result__text {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 24px;
}
@media (max-width: 700px) {
  .quiz-box { padding: 28px 22px; }
  .stats-row { gap: 28px; }
}

/* ---------- лёгкий 3D-наклон обложки от курсора (hero) ---------- */
.fx-tilt { transition: transform 0.15s ease-out; transform-style: preserve-3d; }
