/* ==========================================================================
   Homepage sections
   ========================================================================== */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--color-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: var(--gradient-veil);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-xl) calc(var(--space-md) + 56px);
  display: flex;
  align-items: center;
}

/* Text side: aligned same as .container would, with right padding as gap */
.hero__text-side {
  flex: 0 0 auto;
  padding-left: max(var(--section-pad-x), calc((100vw - var(--container-max)) / 2));
  padding-right: 2.5rem;
}

.hero__text {
  min-width: 0;
}

/* ── Hero video slot — extends to right viewport edge ── */
.hero__video-slot {
  flex: 1 1 0;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__video-slot {
  padding-right: var(--section-pad-x);
}

.hero__video-inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: #000;
}

.hero__video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('../images/hero/inna-thumb.jpg') center / cover no-repeat;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero__video-poster.is-loaded {
  opacity: 0;
}

.hero__video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero__video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: background 0.2s ease;
  z-index: 2;
}

.hero__video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.48);
}

.hero__video-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(231, 118, 17, 0.88);
  font-size: 20px;
  padding-left: 3px;
}

.hero__video-caption {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin: 0;
  padding-right: var(--section-pad-x);
}

/* Mobile: stack vertically, restore normal padding */
@media (max-width: 768px) {
  .hero__content {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
  }
  .hero__text-side {
    padding-left: var(--section-pad-x);
    padding-right: var(--section-pad-x);
  }
  .hero__video-slot {
    width: 100%;
    flex: none;
    padding-inline: var(--section-pad-x);
    padding-top: 1.25rem;
  }
  .hero__video-caption {
    padding-right: 0;
    padding-inline: var(--section-pad-x);
  }
  .hero__actions { display: none !important; }
  .hero__cta-mobile {
    display: block;
    padding: 1.25rem var(--section-pad-x) 0;
    width: 100%;
  }
  .hero__cta-mobile .hero__cta-wrap { width: 100%; }
  .hero__cta-mobile .btn { display: block; width: 100%; text-align: center; }

  /* Sticky CTA */
  .hero__cta-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .hero__cta-sticky.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
  }
  .hero__cta-sticky-inner {
    position: relative;
    display: flex;
    justify-content: center;
  }
  .hero__cta-sticky .hero__cta-wrap { width: 100%; }
  .hero__cta-sticky .btn { width: 100%; text-align: center; }
}
@media (min-width: 769px) {
  .hero__cta-mobile { display: none; }
  .hero__cta-sticky { display: none; }
}

.hero__eyebrow {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-marigold);
  margin-bottom: 0.5rem;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2.6rem, 5vw + 1rem, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 12ch;
}

.hero__accent {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.4rem);
  font-style: italic;
  font-weight: 700;
  color: var(--color-marigold);
  margin-top: 0.3rem;
  margin-bottom: 0;
  line-height: 1.2;
}

.hero__subtitle {
  margin-top: 1rem;
  font-size: var(--fs-body-lg);
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: var(--lh-snug);
}

.hero__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.hero__list-item::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--color-marigold);
  font-weight: 700;
  font-size: 0.95em;
  margin-top: 0.05em;
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero__cta-wrap {
  position: relative;
  display: inline-flex;
}

/* Signature element: breath ring — slow inhale/exhale pulse around the primary CTA */
.breath-ring {
  position: absolute;
  inset: -14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: breathe var(--duration-breath) var(--ease-breath) infinite;
}

.breath-ring--delay {
  animation-delay: calc(var(--duration-breath) / 2);
  border-color: rgba(255, 182, 117, 0.5);
}

@keyframes breathe {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breath-ring {
    animation: none;
    opacity: 0.4;
  }
}

.hero__italic {
  margin-top: var(--space-sm);
  font-size: var(--fs-body-lg);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

.hero__microcopy {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.75);
  max-width: 42ch;
}

/* ---------- Live countdown strip (overlaid on hero photo) ---------- */

.live-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  color: var(--color-white);
}

.live-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  padding-block: 0.7rem;
  font-size: var(--fs-body-sm);
  text-align: center;
}

.live-strip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5b4d;
  flex-shrink: 0;
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-strip__dot {
    animation: none;
  }
}

.live-strip__label {
  color: rgba(255, 255, 255, 0.8);
}

.live-strip__time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--color-horizon-rose);
}

.live-strip__join {
  font-weight: 700;
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.4rem;
}

/* ---------- Social proof strip ---------- */

.proof-strip {
  background: var(--color-sand);
}

.proof-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.5rem;
  padding-block: 1.1rem;
  text-align: center;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-ember-60);
}

.proof-strip__inner .dot {
  opacity: 0.5;
}

.proof-strip__rating {
  color: var(--color-marigold);
  font-weight: 700;
}

/* ---------- Quick facts ---------- */

.quick-facts {
  background: var(--color-sand);
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-ember-12);
}

@media (min-width: 700px) {
  .quick-facts {
    padding-block: 2rem;
  }
}

.quick-facts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .quick-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .quick-facts__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-fact__q {
  font-weight: 700;
  font-size: var(--fs-body-sm);
  color: var(--color-marigold);
  margin-bottom: 0.35rem;
}

.quick-fact__a {
  font-size: var(--fs-body-sm);
  color: var(--color-ember-60);
  line-height: var(--lh-normal);
}

/* ---------- What it gives you ---------- */

.transform {
  background: var(--color-sand);
  padding-block: clamp(2.45rem, 5.6vw, 6.3rem);
}

/* ---------- Club-need collage ("Клуб для тебя, если хочешь:") ---------- */
/*
  data-reveal — заготовка под будущую анимацию появления при скролле.
  Сейчас ничего не анимирует (opacity/transform не тронуты в базовом
  состоянии), просто стабильный крючок, чтобы потом можно было навесить
  JS/CSS-анимацию на .club-need__item/.club-need__photo, не переверстывая
  разметку.
*/

.club-need {
  --club-card-bg: #FBF6EE;
  background: linear-gradient(180deg, var(--color-mist) 0%, var(--color-sand) 100%);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.club-need .section-head { margin-bottom: 0; }

.club-need .section-head h2 {
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Шире и с меньшими боковыми отступами, чем стандартный .container —
   коллажу карточек нужно больше воздуха по горизонтали. Не расширяю
   до предела: photo--1 висит на left:-12% от ширины доски и на очень
   широком/безрамочном контейнере эта "утечка" может вытолкнуть фото
   за край страницы — оставляю запас. */
.club-need .container {
  max-width: 1320px;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
}

/* Мобильный/планшетный запасной вариант — простой вертикальный стек.
   "Парящая" абсолютная раскладка (ниже) включается только с 1180px
   (= --container-max): у карточки 03 самый длинный текст, и при более
   узкой ширине он переносится на столько строк, что карточка 03
   наезжает на карточку 06, которая сидит ниже неё. */
.club-need__board {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Фото-1 скрыто только на мобилке */
@media (max-width: 1179px) {
  .club-need__photo--1 {
    display: none;
  }
}

/* Карточка-1 как все остальные — на всю ширину */
.club-need__item--1 {
  padding: var(--space-lg);
}

/* Фото-2 и фото-3 скрыты только на мобилке */
@media (max-width: 1179px) {
  .club-need__photo--2,
  .club-need__photo--3 {
    display: none;
  }
}

.club-need__photo {
  margin: 0 auto;
  width: min(70%, 320px);
}

.club-need__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.club-need__item {
  padding: var(--space-lg);
  background: var(--club-card-bg);
  border: 1px solid var(--color-ember-12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.club-need__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--space-sm);
  border-radius: 50%;
  background: var(--color-marigold);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}

.club-need__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: var(--lh-snug);
  color: var(--color-ember);
  margin-bottom: 0.5rem;
}

.club-need__text {
  font-size: var(--fs-body-sm);
  color: var(--color-ember-60);
  line-height: var(--lh-normal);
}

/* На мобилке в карточке-1 (рядом с фото) уменьшаем типографику */
@media (max-width: 1179px) {
  .club-need__item--1 .club-need__num {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  .club-need__item--1 .club-need__title {
    font-size: 1rem;
  }
  .club-need__item--1 .club-need__text {
    font-size: 0.78rem;
  }
}

/* ---------- Desktop: floating collage (≥1180px), 1:1 с референсом ---------- */
/* Ряд 1: item1(карточка)+photo1 нахлёстывает слева · item2(карточка)
   · item3(карточка)+photo3 сидит сверху.
   Ряд 2: item4(карточка) · item5(карточка)+photo2 стоит враскоряку
   между item4 и item5 (по ноге на каждый) · item6(карточка). */

@media (min-width: 1180px) {
  .club-need__board {
    position: relative;
    z-index: 0;
    display: block;
    min-height: 860px;
    margin-top: 1.5rem;
  }

  .club-need__item {
    position: absolute;
    width: clamp(220px, 21vw, 290px);
    box-shadow: 0 18px 40px rgba(42, 33, 28, 0.06);
  }

  .club-need__photo {
    position: absolute;
    width: clamp(190px, 18vw, 250px);
    filter: drop-shadow(0 20px 30px rgba(42, 33, 28, 0.18));
  }

  /* Ряд 1 — координаты 1:1 из Figma.
     Item1 в фигме шире остальных (426px) и с увеличенным padding-left
     (184px вместо стандартных 40px) — карточка "продолжается" под фото,
     а не заканчивается на его краю. */
    .club-need__item--1 {
    left: -3%; top: 8%; z-index: 2;
    width: clamp(300px, 29vw, 426px);
    padding-left: clamp(90px, 13vw, 184px);
  }
  .club-need__photo--1 { left: -12%; top: 3%; z-index: 3; width: clamp(240px, 25vw, 329px); }

  .club-need__item--2 { left: 33%; top: 9%; width: clamp(260px, 30vw, 440px); }

  .club-need__item--3 { left: 71%; top: 21%; z-index: 2; width: clamp(260px, 25vw, 335px); }
  .club-need__photo--3 { left: 71%; top: 0%; z-index: 3; }

  /* Ряд 2 — item-4 такой же длины и с тем же left, что item-1 (одна
     колонка сверху вниз). */
  .club-need__item--4 { left: -3%; top: 49%; width: clamp(300px, 29vw, 426px); }

  .club-need__item--5 { left: 34%; top: 61%; z-index: 2; width: clamp(280px, 29vw, 420px); }
  .club-need__photo--2 {
    left: 28%; top: 31%; z-index: 4;
    width: clamp(240px, 23vw, 330px);
  }

  .club-need__item--6 { left: 71%; top: 60%; width: clamp(260px, 25vw, 320px); }
}

.transform__cta {
  margin-top: var(--space-md);
  text-align: center;
}

/* ---------- Symptom cards (3+4 grid) ---------- */

.transform--symptoms .container {
  max-width: 1360px;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

.section-head__desc {
  margin-top: 0.75rem;
  font-size: var(--fs-body-sm);
  color: var(--color-ember-60);
  line-height: var(--lh-normal);
  max-width: 560px;
  margin-inline: auto;
}

.symptom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

@media (min-width: 600px) {
  .symptom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .symptom-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .symptom-card:nth-child(-n+3) { grid-column: span 4; }
  .symptom-card:nth-child(n+4)  { grid-column: span 3; }
}

.symptom-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-ember-12);
  border-radius: var(--radius-lg);
  gap: var(--space-sm);
  transition: box-shadow 0.3s var(--ease-breath), border-color 0.3s;
}

.symptom-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--color-marigold);
}

.symptom-card__illus {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-marigold);
  flex-shrink: 0;
}

.symptom-card__text {
  font-size: var(--fs-body-sm);
  color: var(--color-ember);
  line-height: var(--lh-snug);
  flex: 1;
  margin: 0;
}

.symptom-card__btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-marigold);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  margin-top: 0.25rem;
  transition: opacity 0.2s;
}

.symptom-card__btn:hover {
  opacity: 0.7;
}

/* -------------------------------------------- */

.transform__cta-text {
  font-family: var(--font-display);
  font-size: var(--fs-body-lg);
  color: var(--color-ember);
  margin-bottom: var(--space-md);
}

/* ---------- Offer / directions ---------- */

.directions {
  background: var(--color-mist);
  padding-top: var(--space-lg);
}

.directions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .directions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .directions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.directions__grid--secondary {
  margin-top: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .directions__grid--secondary {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Practice rows (Утренняя/Вечерняя/Нидра — video always visible) ---------- */

.practice-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.practice-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-ember-12);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.3s var(--ease-breath), border-color 0.3s;
}

.practice-row:hover {
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

@media (min-width: 780px) {
  .practice-row {
    grid-template-columns: 1fr 360px;
  }
}

.practice-row__text .direction-card__schedule {
  margin-bottom: 0.75rem;
}

.practice-row__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.practice-row__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.practice-row__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease;
}

.practice-row__play:hover {
  background: rgba(0, 0, 0, 0.28);
}

.practice-row__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-dawn);
  color: var(--color-white);
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.practice-row.is-playing .practice-row__play {
  display: none;
}

.practice-row.is-playing .practice-row__iframe {
  pointer-events: auto;
}

.direction-card {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-ember-12);
  transition: transform 0.3s var(--ease-breath), box-shadow 0.3s var(--ease-breath), border-color 0.3s;
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.direction-card__schedule {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--color-terracotta-rose);
  background: rgba(217, 106, 79, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.direction-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.direction-card__text {
  color: var(--color-ember-60);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-normal);
}

.direction-card--example {
  transition: box-shadow 0.4s var(--ease-breath), transform 0.4s var(--ease-breath);
}

.direction-card--example.is-expanded {
  grid-column: 1 / -1;
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.direction-card__preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: var(--space-sm);
  background: none;
  border: none;
  padding: 0;
  color: var(--color-marigold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body-sm);
}

.direction-card__preview-btn:active .direction-card__preview-icon {
  transform: scale(0.85);
}

.direction-card__preview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-marigold);
  color: var(--color-white);
  font-size: 8px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-breath), background 0.3s ease;
}

.direction-card--example.is-expanded .direction-card__preview-icon {
  background: var(--color-ember-60);
  transform: rotate(90deg);
}

.direction-card__media {
  max-width: 640px;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    max-height 0.55s var(--ease-breath),
    opacity 0.4s ease,
    transform 0.45s var(--ease-breath),
    margin-top 0.55s var(--ease-breath);
}

.direction-card--example.is-expanded .direction-card__media {
  max-height: 440px;
  margin-top: var(--space-md);
  opacity: 1;
  transform: translateY(0);
}

.direction-card__media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
}

.direction-card__media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {

  .direction-card--example,
  .direction-card__preview-icon,
  .direction-card__media {
    transition: none !important;
  }
}

.directions__cta {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.directions__price-hint {
  margin-top: var(--space-sm);
  text-align: center;
  font-size: var(--fs-body-sm);
  color: var(--color-ember-60);
}

.directions__price-hint a {
  color: var(--color-marigold);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Expert spotlight ---------- */

.spotlight {
  background: var(--color-mist);
  padding-block: clamp(1rem, 2vw, 1.75rem);
}

/* Card container */
.spotlight__card {
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .spotlight__card {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
}

/* Photo */
.spotlight__photo-col {
  overflow: hidden;
  min-height: 320px;
}

.spotlight__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Content side */
.spotlight__content {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.spotlight__eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ember-60);
  margin-bottom: 0.75rem;
}

.spotlight__name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-ember);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.spotlight__role {
  font-size: var(--fs-body-md);
  font-weight: 500;
  color: var(--color-marigold);
  margin-bottom: 1.5rem;
}

.spotlight__bio {
  color: var(--color-ember-60);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.spotlight__bio p {
  margin-bottom: 0.5rem;
}

.spotlight__bio p:last-child {
  margin-bottom: 0;
}

/* Stats blocks */
.spotlight__stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.spotlight__stats-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--color-ember-12);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.spotlight__stats-big {
  background: var(--color-ember-12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
}

.spotlight__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spotlight__stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-marigold);
  line-height: 1;
}

.spotlight__stats-big .spotlight__stat-num {
  font-size: clamp(3rem, 6vw, 4.5rem);
}

.spotlight__stat-unit {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ember-60);
  margin-top: 0.1rem;
}

.spotlight__stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ember-60);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.spotlight__stat-label--text {
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  max-width: 14ch;
}

.spotlight__stat-divider {
  width: 1px;
  height: 52px;
  background: var(--color-ember-35);
  margin: 0 1rem;
}

/* ---------- Testimonials ---------- */

.testimonials {
  background: var(--color-mist);
}

.testimonials__carousel {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonials__overflow {
  flex: 1;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.testimonials__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(231, 118, 17, 0.35);
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ember);
  transition: border-color 0.2s, opacity 0.2s;
}

.testimonials__arrow:hover:not(:disabled) {
  border-color: var(--color-ember);
}

.testimonials__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonial-card {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-ember-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 0 0 calc((100% - 2 * var(--space-md)) / 3);
}

@media (max-width: 779px) {
  .testimonials__carousel {
    flex-direction: column;
    gap: var(--space-md);
  }

  .testimonials__overflow {
    width: 100%;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonials__arrow {
    display: none;
  }
}

.testimonial-card__hook {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: var(--lh-snug);
}

.testimonial-card__body {
  color: var(--color-ember-60);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-normal);
}

.testimonial-card__author {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--color-ember);
}

.testimonial-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-dawn);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--color-sand);
}

.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--color-ember-12);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 1.3rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body-lg);
  color: var(--color-ember);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--color-marigold);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::before {
  width: 16px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 16px;
  transition: transform 0.25s var(--ease-breath);
}

.faq-item__q[aria-expanded="true"] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-breath);
}

.faq-item__a-inner {
  padding-bottom: 1.3rem;
  color: var(--color-ember-60);
  line-height: var(--lh-normal);
}

.faq-item__a-inner ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.faq-item__a-inner li {
  margin-bottom: 0.3rem;
}

.faq-item__a-inner b {
  color: var(--color-ember);
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 33, 28, 0.55) 0%, rgba(42, 33, 28, 0.82) 100%);
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.final-cta__title {
  color: var(--color-white);
}

.final-cta__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body-lg);
}

/* ---------- About Club ---------- */

.about-club {
  background: var(--color-sand);
}

.about-club__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-club__text .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.about-club__text h2 {
  margin-bottom: 1.5rem;
}

.about-club__text p {
  margin-bottom: 1rem;
  color: var(--color-ember-60);
  line-height: var(--lh-normal);
  max-width: 54ch;
}

.about-club__accent {
  font-weight: 700 !important;
  color: var(--color-ember) !important;
  font-size: 1.1em;
  margin-bottom: 2rem !important;
}

.about-club__text .btn {
  margin-top: 0.5rem;
}

.about-club__video-slot {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-ember);
  aspect-ratio: 16 / 10;
  position: relative;
  box-shadow: var(--shadow-lift);
  /* fade in when section enters viewport */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-breath), transform 0.5s var(--ease-breath);
}

.about-club__video-slot.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-club__video-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Play-with-sound overlay for States 1 & 2 */
.about-club__play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(42, 33, 28, 0.38);
  border: none;
  cursor: pointer;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.about-club__play-overlay:hover {
  background: rgba(42, 33, 28, 0.54);
}

.about-club__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-dawn);
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(231, 118, 17, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-club__play-overlay:hover .about-club__play-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(231, 118, 17, 0.6);
}

.about-club__cta-mobile { display: none; }

@media (max-width: 900px) {
  .about-club__inner {
    grid-template-columns: 1fr;
  }

  .about-club__video-slot {
    width: 100%;
  }

  .about-club__cta-desktop { display: none; }
  .about-club__cta-mobile { display: inline-flex; margin-top: 1.5rem; }
}

/* ---------- Books Promo ---------- */

.books-promo {
  background: var(--color-sand);
}

.books-promo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.books-promo__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.books-promo__text h2 {
  margin: 0;
}

.books-promo__desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-ember-60);
  margin: 0;
  line-height: 1.6;
}

.books-promo__visual {
  position: relative;
}

.books-promo__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.books-promo__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.books-promo__note {
  font-size: var(--fs-body-sm);
  color: var(--color-ember-60);
  margin: 0;
}

@media (max-width: 768px) {
  .books-promo__inner {
    grid-template-columns: 1fr;
  }

  .books-promo__visual {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }

  .books-promo__cta {
    align-items: center;
  }
}

/* ---------- Compact hero on short viewports (fit hero + live-strip + proof-strip above the fold) ---------- */

@media (max-height: 820px) and (min-width: 601px) {
  .hero {
    min-height: 48vh;
    padding-block: 1.5rem 0.5rem;
  }

  .hero__content {
    padding-block: 1.5rem calc(var(--space-md) + 52px);
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__accent {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }

  .hero__subtitle {
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .hero__list {
    gap: 0.4rem;
  }

  .hero__list-item {
    font-size: 0.88rem;
  }

  .hero__actions {
    margin-top: 1.25rem;
    gap: 0.4rem;
  }

  .hero__microcopy {
    font-size: 0.72rem;
  }
}
/* ── Видеоотзывы (вертикальные) ─────────────────────────── */

.video-testimonials {
  margin-bottom: 56px;
}

.video-testimonials__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}

.vt-card {
  margin: 0;
  width: 200px;
  flex-shrink: 0;
}

/* Шахматка: средняя карточка опущена относительно соседей */
.vt-card:nth-child(2) {
  margin-top: 40px;
}

.vt-card__media {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 9:16 — вертикальный ролик */
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.vt-card__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.vt-card__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease;
}

.vt-card__play:hover {
  background: rgba(0, 0, 0, 0.28);
}

.vt-card__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-dawn);
  color: var(--color-white);
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.vt-card.is-playing .vt-card__play {
  display: none;
}

.vt-card.is-playing .vt-card__iframe {
  pointer-events: auto;
}

.vt-card__name {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6560;
}

/* Мобильный: две колонки шахматкой, третья карточка по центру снизу */
@media (max-width: 768px) {
  .video-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 20px 16px;
    max-width: 360px;
    margin: 0 auto;
  }

  .vt-card {
    width: 100%;
  }

  .vt-card:nth-child(2) {
    margin-top: 44px;
  }

  .vt-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 8px);
  }
}

/* Ссылка на страницу об авторе из блока на главной.
   Отдельным блоком под карточкой, чтобы не спорить с её сеткой. */
.spotlight__more {
  margin-top: var(--space-lg);
  text-align: center;
}

.spotlight__more-link {
  display: inline-block;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-marigold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.spotlight__more-link:hover {
  color: var(--color-terracotta-rose);
}
