/* ==========================================================================
   КУРС «Майнд-фитнес тренер» — efimovaschool.ru
   Переопределения и доп. стили для /maynd-fitnes-flagmanskiy-kurs-efimova-school/
   ========================================================================== */

/* ============================================================
   HERO  ·  двухколоночный layout как на главной (фото справа)
   ============================================================ */
.mf-page .hp-hero__card {
  min-height: clamp(420px, 64vh, 620px);
  overflow: visible;
}
.mf-page .hp-hero__card::before,
.mf-page .hp-hero__card::after {
  border-radius: inherit;
}

.mf-page .hp-hero__sub {
  max-width: 540px;
}

/* Старт курса — одиночная строка над кнопкой */
.mf-hero__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Futura PT', system-ui, sans-serif);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 22px;
}

.mf-hero__date-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78ff00;
  box-shadow: 0 0 10px rgba(120, 255, 0, 0.6);
  flex-shrink: 0;
}

.mf-hero__date strong {
  color: #fff;
  font-weight: 700;
}

/* ============================================================
   HERO  ·  правая колонка — портрет в рамке + плавающие бейджи
   ============================================================ */
.mf-hero__media {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 2.5vw, 36px);
}

@property --mf-ring-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.mf-hero__media-frame {
  position: relative;
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 30%, rgba(120, 255, 0, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(138, 0, 180, 0.30), rgba(20, 8, 30, 0.55));
  border: 1px solid rgba(120, 255, 0, 0.25);
  box-shadow:
    0 40px 80px -30px rgba(120, 255, 0, 0.30),
    0 20px 60px -20px rgba(138, 0, 180, 0.40);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1),
              box-shadow .5s ease;
}

.mf-hero__media-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  padding: 2px;
  background: conic-gradient(
    from var(--mf-ring-angle, 0deg),
    rgba(120, 255, 0, 0.95) 0deg,
    rgba(120, 255, 0, 0)    70deg,
    rgba(138, 0, 180, 0.85) 180deg,
    rgba(138, 0, 180, 0)    250deg,
    rgba(120, 255, 0, 0.95) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: mfHeroRing 10s linear infinite;
  pointer-events: none;
  z-index: 3;
}

.mf-hero__media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 18, 0.35) 100%);
  pointer-events: none;
  z-index: 2;
  opacity: .75;
  transition: opacity .5s ease;
}

.mf-hero__media-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 50px 100px -30px rgba(120, 255, 0, 0.45),
    0 30px 80px -20px rgba(138, 0, 180, 0.55);
}

.mf-hero__media-frame:hover::after {
  opacity: .45;
}

@keyframes mfHeroRing {
  to { --mf-ring-angle: 360deg; }
}

.mf-hero__media-frame > picture {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
}

.mf-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 24px;
  z-index: 1;
}

.mf-hero__badge {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 9px 13px;
  border-radius: 13px;
  background: #0f0a1a;
  border: 1px solid rgba(120, 255, 0, 0.35);
  box-shadow:
    0 10px 30px -10px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  font-family: var(--font-body, 'Futura PT', sans-serif);
  line-height: 1.1;
  white-space: nowrap;
}

.mf-hero__badge strong {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #78ff00;
}

.mf-hero__badge small {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.mf-hero__badge--1 { top: 6%;     left: -10%;  transform: rotate(-4deg); animation: mfBadgeFloat 6s ease-in-out infinite; }
.mf-hero__badge--2 {
  top: 38%;
  right: -16%;
  transform: rotate(3deg);
  animation: mfBadgeFloat 7s ease-in-out infinite .8s;
  z-index: 5;
  box-shadow:
    -10px 16px 32px -8px rgba(0, 0, 0, 0.75),
    -3px 5px 12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}
.mf-hero__badge--3 { bottom: 16%; left: -8%;   transform: rotate(-2deg); animation: mfBadgeFloat 8s ease-in-out infinite 1.6s; }

@keyframes mfBadgeFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

@media (prefers-reduced-motion: reduce) {
  .mf-hero__badge--1,
  .mf-hero__badge--2,
  .mf-hero__badge--3 { animation: none; }
  .mf-hero__media-frame::before { animation: none; }
  .mf-hero__media-frame { transition: none; }
  .mf-hero__media-frame:hover { transform: none; }
}

/* ── tablet ── */
@media (max-width: 860px) {
  .mf-hero__date {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .mf-hero__media {
    padding: 12px 12px 28px;
  }
  .mf-hero__media-frame {
    width: clamp(280px, 64vw, 420px);
  }
  .mf-hero__badge {
    padding: 8px 12px;
  }
  .mf-hero__badge strong { font-size: 18px; }
  .mf-hero__badge small { font-size: 9px; }
}

/* ── phone ── */
@media (max-width: 560px) {
  .mf-hero__date {
    font-size: 12.5px;
    margin-bottom: 16px;
  }
  .mf-hero__date-dot {
    width: 7px;
    height: 7px;
  }
  .mf-hero__media-frame {
    width: clamp(240px, 75vw, 340px);
  }
  .mf-hero__badge {
    padding: 7px 10px;
    border-radius: 11px;
  }
  .mf-hero__badge strong { font-size: 15px; }
  .mf-hero__badge small { font-size: 8.5px; letter-spacing: 0.06em; }

  /* Hero CTA: full-width c переносом, чтобы длинная строка
     «Подобрать программу под мою цель» не выпирала за вьюпорт */
  .mf-page .hp-hero__actions { width: 100%; }
  .mf-page .hp-hero__actions .hp-btn {
    width: 100%;
    white-space: normal;
    line-height: 1.3;
    padding: 14px 18px;
  }
}

/* Защита от случайного горизонтального скролла на мобиле
   (бейджи hero с right: -16% могут торчать на узких экранах) */
.mf-page { overflow-x: clip; }


/* ============================================================
   2. MANIFESTO  ·  editorial quote-card (что такое майнд-фитнес)
   ============================================================ */
.mf-quote {
  padding: clamp(56px, 7vw, 96px) 0 clamp(8px, 1vw, 16px);
  position: relative;
}

.mf-quote__card {
  position: relative;
  padding: clamp(40px, 4.4vw, 64px) clamp(24px, 3.5vw, 56px) clamp(36px, 4vw, 56px);
  margin: 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%),
    rgba(15, 10, 22, 0.55);
  border: 1px solid rgba(120, 255, 0, 0.20);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

/* Зелёная подсветка по верху карточки */
.mf-quote__card::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  width: clamp(140px, 22vw, 260px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #78ff00 50%, transparent 100%);
  box-shadow: 0 0 18px rgba(120, 255, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

/* Радиальное свечение фоном */
.mf-quote__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(120, 255, 0, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Декоративные кавычки в углах */
.mf-quote__glyph {
  position: absolute;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(120px, 14vw, 200px);
  line-height: 0.7;
  color: rgba(120, 255, 0, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-weight: 700;
}
.mf-quote__glyph--open {
  top: clamp(16px, 2vw, 30px);
  left: clamp(12px, 2vw, 28px);
}
.mf-quote__glyph--close {
  bottom: clamp(-30px, -2vw, -16px);
  right: clamp(12px, 2vw, 28px);
}

/* Кикер-пилюля сверху */
.mf-quote__kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #78ff00;
  margin-bottom: clamp(20px, 2.6vw, 32px);
  padding: 6px 14px;
  border: 1px solid rgba(120, 255, 0, 0.32);
  border-radius: 999px;
  background: rgba(120, 255, 0, 0.06);
}
.mf-quote__kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #78ff00;
  box-shadow: 0 0 10px #78ff00;
}

/* Главное определение */
.mf-quote__text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 auto clamp(20px, 2.4vw, 28px);
  max-width: 880px;
}
.mf-quote__text em {
  font-style: normal;
  background: linear-gradient(135deg, #9eff3d 0%, #78ff00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Расшифровка под определением */
.mf-quote__caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  margin: 0 auto;
  max-width: 720px;
}

@media (max-width: 640px) {
  .mf-quote {
    padding: clamp(48px, 12vw, 64px) 0 0;
  }
  .mf-quote__text {
    font-size: clamp(26px, 8vw, 36px);
  }
  .mf-quote__caption {
    font-size: 14.5px;
  }
}


/* ============================================================
   SECTION SHARED  ·  pill-label + h2 (используются во всех секциях ниже)
   ============================================================ */
.mf-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #78ff00;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(120, 255, 0, 0.28);
  border-radius: 999px;
  background: rgba(120, 255, 0, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 14px;
}
.mf-section-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78ff00;
  box-shadow: 0 0 10px #78ff00, 0 0 20px rgba(120, 255, 0, 0.5);
  animation: mfLabelPulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes mfLabelPulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.4); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .mf-section-label::before { animation: none; }
}

.mf-section-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}


/* ============================================================
   3. AUDIENCE  ·  3 numbered stripes (counter-based)
   ============================================================ */
.mf-audience {
  position: relative;
  padding: clamp(56px, 6vw, 96px) 0;
  counter-reset: maud;
}
.mf-audience__header {
  margin-bottom: clamp(36px, 4vw, 60px);
}
.mf-audience__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;
}
.mf-audience__card {
  counter-increment: maud;
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: 20px;
  border: 1px solid rgba(183, 87, 199, 0.22);
  background: linear-gradient(180deg, rgba(30, 10, 40, 0.58) 0%, rgba(18, 8, 28, 0.85) 100%);
  transition: border-color .4s, transform .4s, box-shadow .4s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  min-height: 260px;
}
.mf-audience__card::before {
  content: counter(maud, decimal-leading-zero);
  position: absolute;
  bottom: clamp(24px, 3vw, 44px);
  right: clamp(14px, 1.6vw, 20px);
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(68px, 7.4vw, 104px);
  font-weight: 400;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 255, 0, 0.09);
  letter-spacing: 0;
  transition: -webkit-text-stroke .45s, transform .45s;
  z-index: 0;
  pointer-events: none;
}
.mf-audience__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(120, 255, 0, 0.10) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .95s ease;
  pointer-events: none;
  z-index: 0;
}
.mf-audience__card:hover {
  border-color: rgba(120, 255, 0, 0.5);
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px -18px rgba(120, 255, 0, 0.3),
    0 0 0 1px rgba(120, 255, 0, 0.18) inset;
}
.mf-audience__card:hover::before {
  -webkit-text-stroke: 1px rgba(120, 255, 0, 0.26);
  transform: scale(1.04);
}
.mf-audience__card:hover::after { transform: translateX(120%); }

.mf-audience__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

.mf-audience__title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.mf-audience__title em {
  font-style: normal;
  color: #9eff3d;
}

/* Декоративные точки между title и описанием */
.mf-audience__dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 0;
  align-self: flex-start;
}
.mf-audience__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78ff00;
  box-shadow:
    0 0 6px rgba(120, 255, 0, 0.55),
    0 0 12px rgba(120, 255, 0, 0.26);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s, box-shadow .45s;
  will-change: transform, opacity;
}
.mf-audience__dots i:nth-child(1) { opacity: 1; }
.mf-audience__dots i:nth-child(2) { opacity: 0.6; }
.mf-audience__dots i:nth-child(3) { opacity: 0.32; }
.mf-audience__card:hover .mf-audience__dots i {
  transform: scale(1.18);
  animation: mfAudDotsShimmer 1.8s ease-in-out infinite;
}
.mf-audience__card:hover .mf-audience__dots i:nth-child(1) { animation-delay: 0s; }
.mf-audience__card:hover .mf-audience__dots i:nth-child(2) { animation-delay: .22s; }
.mf-audience__card:hover .mf-audience__dots i:nth-child(3) { animation-delay: .44s; }
@keyframes mfAudDotsShimmer {
  0%, 100% {
    opacity: 0.28;
    box-shadow: 0 0 5px rgba(120, 255, 0, 0.30), 0 0 10px rgba(120, 255, 0, 0.12);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(120, 255, 0, 0.85), 0 0 22px rgba(120, 255, 0, 0.48);
  }
}

.mf-audience__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.55;
}
.mf-audience__card p:last-child {
  font-family: var(--font-body, 'Futura PT', system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

@media (max-width: 960px) {
  .mf-audience__grid { grid-template-columns: 1fr; }
  .mf-audience__card { min-height: auto; }
}


/* ============================================================
   4. WHY IT WORKS  ·  нейропластичность + видео (двухколоночный)
   ============================================================ */
.mf-why {
  position: relative;
  padding: clamp(56px, 6vw, 96px) 0;
}

.mf-why__header {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.mf-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* ── текст ── */
.mf-why__text {
  display: flex;
  flex-direction: column;
}

.mf-why__lead {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 clamp(28px, 3vw, 40px);
  max-width: 540px;
}
.mf-why__lead em {
  font-style: normal;
  background: linear-gradient(135deg, #9eff3d 0%, #78ff00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* ── два тезиса ── */
.mf-why__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mf-why__point {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(120, 255, 0, 0.18);
  background: rgba(15, 10, 22, 0.55);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.mf-why__point:hover {
  border-color: rgba(120, 255, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -22px rgba(120, 255, 0, 0.45);
}
.mf-why__point-num {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.9;
  color: #78ff00;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
  justify-content: center;
}
.mf-why__point-num span {
  font-size: 12px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(120, 255, 0, 0.72);
}
.mf-why__point-text {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* ── видео-превью (плитка-кнопка, открывает rv-lightbox) ── */
.mf-why__video {
  display: flex;
  flex-direction: column;
}

.mf-preview__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(120, 255, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font: inherit;
  text-align: left;
  text-decoration: none;
  background: linear-gradient(135deg, #120a1c 0%, #0a0710 100%);
  cursor: pointer;
  box-shadow:
    0 30px 80px -30px rgba(120, 255, 0, 0.35),
    0 20px 60px -20px rgba(138, 0, 180, 0.45);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.mf-preview__tile:focus-visible {
  outline: 2px solid #78ff00;
  outline-offset: 4px;
}
.mf-preview__tile:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 255, 0, 0.45);
  box-shadow:
    0 36px 90px -30px rgba(120, 255, 0, 0.45),
    0 26px 70px -20px rgba(138, 0, 180, 0.55);
}

.mf-preview__media { display: contents; }

.mf-preview__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.92;
  transform: scale(1.01);
  transition: opacity .4s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.mf-preview__tile:hover .mf-preview__thumb {
  opacity: 1;
  transform: scale(1.04);
}
.mf-preview__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,7,16,0) 0%, rgba(10,7,16,0.35) 55%, rgba(10,7,16,0.85) 100%);
}
.mf-preview__tile--no-thumb .mf-preview__shade {
  background: linear-gradient(180deg, #150925 0%, #0a0710 100%);
}

.mf-preview__kicker {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #78ff00;
  padding: 5px 11px;
  border: 1px solid rgba(120,255,0,0.4);
  border-radius: 999px;
  background: rgba(10,7,16,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mf-preview__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 64px; height: 64px;
  padding-left: 4px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #9eff3d, #5ec800);
  color: #0a0710;
  box-shadow:
    0 12px 32px rgba(0,0,0,0.45),
    0 0 0 10px rgba(255,255,255,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.mf-preview__tile:hover .mf-preview__play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.5),
    0 0 0 14px rgba(255,255,255,0.08);
}
.mf-preview__play-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  animation: mf-preview-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes mf-preview-pulse {
  0%   { transform: scale(0.95); opacity: 0.85; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.mf-preview__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(22px, 2.6vw, 32px);
}
.mf-preview__author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  background: rgba(120,255,0,0.08);
  border: 1px solid rgba(120,255,0,0.22);
  font-family: var(--font-body, 'Futura PT', system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.mf-preview__author svg { color: #78ff00; flex-shrink: 0; }

.mf-preview__title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.mf-preview__desc {
  font-family: var(--font-body, 'Futura PT', system-ui, sans-serif);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 420px;
}

@media (max-width: 640px) {
  .mf-preview__play { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .mf-preview__play-pulse { animation: none; }
  .mf-preview__tile,
  .mf-preview__thumb,
  .mf-preview__play { transition: none; }
}

@media (max-width: 960px) {
  .mf-why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mf-why__video {
    order: -1;
  }
}

@media (max-width: 560px) {
  .mf-why__point {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }
  .mf-why__point-num {
    min-width: auto;
    justify-content: flex-start;
  }
}


/* ============================================================
   5/6. PROGRAM  ·  timeline недель/модулей + блок «что входит» + price
   ============================================================ */
.mf-program {
  position: relative;
  padding: clamp(56px, 6vw, 96px) 0;
  isolation: isolate;
}

/* Декоративный фон ступеней */
.mf-program--tier1 {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(120, 255, 0, 0.06) 0%, transparent 60%),
    transparent;
}
.mf-program--tier2 {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(183, 87, 199, 0.10) 0%, transparent 60%),
    transparent;
}

.mf-program__header {
  max-width: 880px;
  margin-bottom: 0;
}

.mf-program__header h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #9eff3d 0%, #78ff00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mf-program--tier2 .mf-program__header h2 em {
  background: linear-gradient(135deg, #d78cff 0%, #b757c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mf-program__sub {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.70);
  margin: clamp(16px, 1.6vw, 22px) 0 clamp(24px, 2.4vw, 32px);
}

.mf-program__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mf-program__meta li {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(120, 255, 0, 0.22);
  background: rgba(15, 10, 22, 0.55);
}
.mf-program--tier2 .mf-program__meta li {
  border-color: rgba(183, 87, 199, 0.28);
}
.mf-program__meta b {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  color: #78ff00;
  letter-spacing: 0.02em;
}
.mf-program--tier2 .mf-program__meta b {
  color: #d78cff;
}
.mf-program__meta span {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* ── timeline недель/модулей ── */
.mf-program__download {
  display: flex;
  justify-content: center;
  margin: 0 0 clamp(36px, 4vw, 56px);
}

.mf-program__weeks {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(40px, 4.5vw, 64px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Вертикальная линия timeline (слева) */
.mf-program__weeks::before {
  content: '';
  position: absolute;
  left: clamp(28px, 3vw, 44px);
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(120, 255, 0, 0.6) 0%,
    rgba(120, 255, 0, 0.18) 100%);
  z-index: 0;
  pointer-events: none;
}
.mf-program--tier2 .mf-program__weeks::before {
  background: linear-gradient(180deg,
    rgba(215, 140, 255, 0.6) 0%,
    rgba(215, 140, 255, 0.18) 100%);
}

.mf-program__week {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  padding-left: clamp(72px, 7vw, 96px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(30, 10, 40, 0.45) 0%, rgba(18, 8, 28, 0.7) 100%);
  transition: border-color .35s, transform .35s, box-shadow .35s;
}
.mf-program__week:hover {
  border-color: rgba(120, 255, 0, 0.30);
  transform: translateX(4px);
  box-shadow: 0 24px 60px -28px rgba(120, 255, 0, 0.30);
}
.mf-program--tier2 .mf-program__week:hover {
  border-color: rgba(183, 87, 199, 0.45);
  box-shadow: 0 24px 60px -28px rgba(183, 87, 199, 0.40);
}

/* Номер модуля — компактный «ghost»-бейдж на линии timeline */
.mf-program__week-num {
  position: absolute;
  left: clamp(28px, 3vw, 44px);
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(44px, 4.5vw, 56px);
  height: clamp(44px, 4.5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: #78ff00;
  background: rgba(15, 10, 22, 0.95);
  border: 1.5px solid rgba(120, 255, 0, 0.55);
  border-radius: 50%;
  z-index: 1;
  box-shadow:
    0 0 0 4px #0a0710,
    0 0 14px rgba(120, 255, 0, 0.28),
    inset 0 0 0 1px rgba(120, 255, 0, 0.12);
}
.mf-program--tier2 .mf-program__week-num {
  color: #d78cff;
  border-color: rgba(215, 140, 255, 0.55);
  box-shadow:
    0 0 0 4px #0a0710,
    0 0 14px rgba(215, 140, 255, 0.28),
    inset 0 0 0 1px rgba(215, 140, 255, 0.12);
}

.mf-program__week-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mf-program__week-tag {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(120, 255, 0, 0.85);
}
.mf-program--tier2 .mf-program__week-tag {
  color: rgba(215, 140, 255, 0.85);
}

.mf-program__week-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

.mf-program__week-body p {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ── блок «что входит» ── */
.mf-program__includes {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%),
    rgba(15, 10, 22, 0.55);
  border: 1px solid rgba(120, 255, 0, 0.18);
  margin-bottom: clamp(24px, 2.4vw, 36px);
}
.mf-program--tier2 .mf-program__includes {
  border-color: rgba(183, 87, 199, 0.28);
}

.mf-program__includes-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.mf-program__includes-title--alt {
  margin-top: clamp(20px, 2vw, 28px);
}

.mf-program__includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 24px;
}
.mf-program__includes-list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.mf-program__includes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(120, 255, 0, 0.12);
  border: 1px solid rgba(120, 255, 0, 0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378ff00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.mf-program--tier2 .mf-program__includes-list li::before {
  background: rgba(215, 140, 255, 0.12);
  border-color: rgba(215, 140, 255, 0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d78cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

.mf-program__includes-list li b {
  color: #fff;
  font-weight: 700;
}

.mf-program__includes-note {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 760px;
}
.mf-program__includes-note b { color: #fff; }

/* ── результат + цена ── */
.mf-program__result {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: clamp(20px, 2vw, 28px);
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(120, 255, 0, 0.30);
  background:
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(120, 255, 0, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, rgba(20, 10, 30, 0.7) 0%, rgba(10, 7, 18, 0.85) 100%);
  align-items: center;
}
.mf-program--tier2 .mf-program__result {
  border-color: rgba(183, 87, 199, 0.36);
  background:
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(183, 87, 199, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(20, 10, 30, 0.7) 0%, rgba(10, 7, 18, 0.85) 100%);
}

.mf-program__result-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mf-program__result-tag {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #78ff00;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 255, 0, 0.32);
  background: rgba(120, 255, 0, 0.06);
}
.mf-program--tier2 .mf-program__result-tag {
  color: #d78cff;
  border-color: rgba(215, 140, 255, 0.32);
  background: rgba(215, 140, 255, 0.06);
}
.mf-program__result-text p {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin: 0;
  letter-spacing: -0.005em;
}
.mf-program__result-text p em {
  font-style: normal;
  background: linear-gradient(135deg, #9eff3d 0%, #78ff00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.mf-program--tier2 .mf-program__result-text p em {
  background: linear-gradient(135deg, #d78cff 0%, #b757c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mf-program__price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 2vw, 24px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}
.mf-program__price-label {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.mf-program__price-value {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: #78ff00;
  letter-spacing: 0.02em;
}
.mf-program--tier2 .mf-program__price-value {
  color: #d78cff;
}
.mf-program__price-value small {
  font-size: 0.55em;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
}
.mf-program__price-note {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .mf-program__week {
    padding-left: clamp(56px, 11vw, 76px);
  }
  .mf-program__result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .mf-program__meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .mf-program__meta li { padding: 14px 18px; }
  .mf-program__meta b { font-size: 28px; }
}

/* Буллет-список внутри модуля (используется во 2 ступени) */
.mf-program__week-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-program__week-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.mf-program__week-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78ff00;
  box-shadow: 0 0 8px rgba(120, 255, 0, 0.55);
}
.mf-program--tier2 .mf-program__week-list li::before {
  background: #d78cff;
  box-shadow: 0 0 8px rgba(215, 140, 255, 0.55);
}
.mf-program__week-list li b {
  color: #fff;
  font-weight: 700;
}


/* ============================================================
   5.5. TIER BRIDGE  ·  переход между ступенями
   ============================================================ */
.mf-tier-bridge {
  padding: 0 0 clamp(28px, 3vw, 40px);
}
.mf-tier-bridge__card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(15, 10, 22, 0.45);
}
.mf-tier-bridge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(120, 255, 0, 0.10);
  border: 1px solid rgba(120, 255, 0, 0.32);
  color: #78ff00;
  flex-shrink: 0;
  margin-top: 2px;
}
.mf-tier-bridge__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mf-tier-bridge__text {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.mf-tier-bridge__text b {
  color: #fff;
  font-weight: 700;
}
.mf-tier-bridge__text--accent {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px dashed rgba(120, 255, 0, 0.28);
  color: rgba(255, 255, 255, 0.85);
}
.mf-tier-bridge__text--accent b {
  color: #78ff00;
  font-weight: 700;
}
.mf-tier-bridge__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  color: #78ff00;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 255, 0, 0.4);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: border-color .2s ease, gap .2s ease;
}
.mf-tier-bridge__link svg {
  transition: transform .2s ease;
}
.mf-tier-bridge__link:hover,
.mf-tier-bridge__link:focus-visible {
  border-color: #78ff00;
  gap: 9px;
}
.mf-tier-bridge__link:hover svg,
.mf-tier-bridge__link:focus-visible svg {
  transform: translateX(2px);
}

@media (max-width: 560px) {
  .mf-tier-bridge__card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .mf-tier-bridge__icon { margin-top: 0; }
  .mf-tier-bridge__link { margin-left: 0; margin-top: 6px; }
}


/* ============================================================
   7. PRICING  ·  2 тарифа: 1 ступень / комбо со скидкой
   ============================================================ */
.mf-pricing {
  padding: clamp(56px, 6vw, 96px) 0;
  scroll-margin-top: clamp(64px, 10vh, 96px);
}
.mf-pricing__header {
  text-align: center;
  margin: 0 auto clamp(36px, 4vw, 60px);
}
.mf-pricing__sub {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 16px 0 0;
}
.mf-pricing__sub b { color: #fff; font-weight: 700; }

.mf-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.mf-tier {
  position: relative;
  padding: clamp(32px, 3vw, 44px) clamp(26px, 2.6vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(22, 12, 34, 0.7) 0%, rgba(12, 6, 20, 0.85) 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.mf-tier:not(.mf-tier--popular):hover {
  border-color: rgba(183, 87, 199, 0.40);
  transform: translateY(-3px);
}

.mf-tier--popular {
  border-color: rgba(120, 255, 0, 0.45);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(120, 255, 0, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(22, 12, 34, 0.8) 0%, rgba(12, 6, 20, 0.9) 100%);
  box-shadow:
    0 30px 80px -30px rgba(120, 255, 0, 0.40),
    0 0 0 1px rgba(120, 255, 0, 0.25) inset;
  margin-block: -10px;
  padding-block: calc(clamp(32px, 3vw, 44px) + 10px);
}

.mf-tier__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9eff3d, #5ec800);
  color: #0a0710;
  font-weight: 700;
  box-shadow: 0 8px 24px -6px rgba(120, 255, 0, 0.5);
  white-space: nowrap;
}

.mf-tier__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mf-tier__name {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.005em;
}
.mf-tier__desc {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

.mf-tier__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mf-tier__amount-old {
  margin-left: 4px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ff4d4d;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  align-self: center;
  opacity: 0.85;
}
.mf-tier__amount {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(48px, 5.4vw, 72px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.01em;
}
.mf-tier--popular .mf-tier__amount {
  background: linear-gradient(135deg, #9eff3d, #5ec800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mf-tier__currency {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  color: rgba(255, 255, 255, 0.65);
}

.mf-tier__installment {
  align-self: flex-start;
  padding: 8px 14px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(120, 255, 0, 0.4);
  border-radius: 999px;
  background: rgba(120, 255, 0, 0.04);
}
.mf-tier__installment b {
  color: #fff;
  font-weight: 700;
}
.mf-tier--popular .mf-tier__installment {
  color: #9eff3d;
  border-color: rgba(120, 255, 0, 0.6);
  border-style: solid;
  background: rgba(120, 255, 0, 0.10);
}
.mf-tier--popular .mf-tier__installment b {
  color: #fff;
}

.mf-tier__deduction {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.45);
}

.mf-tier__features {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mf-tier__features li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}
.mf-tier__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(120, 255, 0, 0.10);
  border: 1px solid rgba(120, 255, 0, 0.4);
  box-shadow: 0 6px 14px -8px rgba(120, 255, 0, 0.4);
}
.mf-tier__features li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378ff00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.mf-tier--popular .mf-tier__features li::before {
  background: rgba(120, 255, 0, 0.15);
  border-color: rgba(120, 255, 0, 0.55);
  box-shadow: 0 6px 18px -6px rgba(120, 255, 0, 0.55);
}
.mf-tier__features li b { color: #fff; font-weight: 700; }

.mf-tier__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
}
.mf-tier__btn:hover {
  background: rgba(120, 255, 0, 0.10);
  border-color: rgba(120, 255, 0, 0.4);
}
.mf-tier__btn--primary {
  background: linear-gradient(135deg, #9eff3d, #78ff00 50%, #5ec800);
  color: #0a0710;
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(120, 255, 0, 0.45);
}
.mf-tier__btn--primary:hover {
  background: linear-gradient(135deg, #b0ff5a, #8cff26 50%, #6ed800);
  border-color: transparent;
  color: #0a0710;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(120, 255, 0, 0.55);
}

/* ── гарантии под тарифами ── */
/* Safety hero — «Покупка без риска» */
.mf-pricing__safety {
  position: relative;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.8vw, 34px);
  border-radius: 20px;
  border: 1px solid rgba(120, 255, 0, 0.28);
  background:
    linear-gradient(180deg, rgba(120, 255, 0, 0.06) 0%, rgba(120, 255, 0, 0.02) 60%, rgba(12, 6, 20, 0.55) 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 2.4vw, 28px);
  align-items: center;
  overflow: hidden;
}
.mf-pricing__safety::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(120, 255, 0, 0.14), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.mf-pricing__safety > * { position: relative; z-index: 1; }

.mf-pricing__safety-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(120, 255, 0, 0.12);
  border: 1px solid rgba(120, 255, 0, 0.4);
  color: #78ff00;
  flex-shrink: 0;
  box-shadow: 0 12px 30px -10px rgba(120, 255, 0, 0.5);
}

.mf-pricing__safety-body { min-width: 0; }
.mf-pricing__safety-title {
  margin: 0 0 6px;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}
.mf-pricing__safety-text {
  margin: 0;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: clamp(13.5px, 1.1vw, 15px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.mf-pricing__safety-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  flex-shrink: 0;
}
.mf-pricing__safety-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  min-width: 70px;
}
.mf-pricing__safety-meta strong {
  font-family: var(--font-display, 'Bebas Neue', 'Impact', sans-serif);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1;
  color: #78ff00;
  text-shadow: 0 0 18px rgba(120, 255, 0, 0.3);
}
.mf-pricing__safety-meta span {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.mf-pricing__guarantees {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mf-pricing__guarantees li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  transition: border-color .25s, background .25s, transform .25s;
}
.mf-pricing__guarantees li:hover {
  border-color: rgba(120, 255, 0, 0.35);
  background: linear-gradient(180deg, rgba(120, 255, 0, 0.05), rgba(120, 255, 0, 0.01));
  transform: translateY(-2px);
}
.mf-pricing__guarantee-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(120, 255, 0, 0.12);
  border: 1px solid rgba(120, 255, 0, 0.4);
  color: #78ff00;
  box-shadow: 0 6px 18px -8px rgba(120, 255, 0, 0.4);
}
.mf-pricing__guarantees li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mf-pricing__guarantees strong {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
}
.mf-pricing__guarantees span {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .mf-pricing__safety {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon body"
      "meta meta";
    gap: 18px;
  }
  .mf-pricing__safety-icon { grid-area: icon; }
  .mf-pricing__safety-body { grid-area: body; }
  .mf-pricing__safety-meta { grid-area: meta; justify-content: space-between; width: 100%; }

  .mf-tiers { grid-template-columns: 1fr; max-width: 540px; }
  .mf-tier--popular { margin-block: 0; padding-block: clamp(32px, 3vw, 44px); }
  .mf-pricing__guarantees { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mf-pricing__safety {
    padding: 20px;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "text text"
      "meta meta";
    gap: 12px 14px;
    align-items: start;
  }
  .mf-pricing__safety-body { display: contents; }
  .mf-pricing__safety-icon {
    grid-area: icon;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: none;
    align-self: start;
  }
  .mf-pricing__safety-icon svg { width: 22px; height: 22px; }
  .mf-pricing__safety-title {
    grid-area: title;
    align-self: center;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
  }
  .mf-pricing__safety-text {
    grid-area: text;
    margin: 0;
  }
  .mf-pricing__safety-meta {
    grid-area: meta;
    gap: 10px;
    padding-top: 6px;
  }
  .mf-pricing__safety-meta li { min-width: 0; flex: 1 1 0; }
  .mf-pricing__safety-meta strong { font-size: 22px; }
  .mf-pricing__safety-meta span { font-size: 10.5px; }
}

@media (max-width: 480px) {
  .mf-pricing__guarantees { grid-template-columns: 1fr; }
}


/* ============================================================
   8. CASES  ·  карусель кейсов А→Б (7 слайдов)
   ============================================================ */
/* ============================================================
   8. CASES  ·  carousel (зеркалит .hp-reviews__* со скорочтения)
   ============================================================ */
.mf-cases {
  padding: clamp(48px, 6vw, 88px) 0;
  scroll-margin-top: clamp(64px, 10vh, 96px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(120, 255, 0, 0.05), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(215, 140, 255, 0.05), transparent 60%),
    #0a0710;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.mf-cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.mf-cases__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mf-cases__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.mf-cases__arrow:hover {
  border-color: rgba(120, 255, 0, 0.5);
  color: #78ff00;
  background: rgba(120, 255, 0, 0.08);
  transform: translateY(-1px);
}
.mf-cases__arrow:active { transform: translateY(0); }
.mf-cases__arrow:focus-visible { outline: 2px solid #78ff00; outline-offset: 2px; }

.mf-cases__counter {
  display: inline-flex;
  align-items: baseline;
  min-width: 52px;
  justify-content: center;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  padding: 0 4px;
  font-variant-numeric: tabular-nums;
}
.mf-cases__counter-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 500;
}
#mfCaseCurr { color: #78ff00; }

/* ============== STAGE + TRACK ============== */
.mf-cases__stage {
  position: relative;
  overflow: hidden;
  transition: height .45s cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .mf-cases__stage { transition: none; }
}

.mf-cases__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 24px);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
  touch-action: pan-y;
}
@media (prefers-reduced-motion: reduce) {
  .mf-cases__track { transition: none; }
}

/* 2-up до 1024, дальше — single */
.mf-cases__slide {
  --rev-col: clamp(64px, 7vw, 88px);
  --rev-col-gap: clamp(16px, 2vw, 24px);
  flex: 0 0 calc((100% - clamp(16px, 1.8vw, 24px)) / 2);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.2vw, 28px);
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(120, 255, 0, 0.035), transparent 50%),
    linear-gradient(315deg, rgba(215, 140, 255, 0.04), transparent 50%),
    rgba(255, 255, 255, 0.022);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  min-width: 0;
  transition: border-color .3s, background .3s;
}
.mf-cases__slide.is-active {
  border-color: rgba(120, 255, 0, 0.22);
}
@media (max-width: 1024px) {
  .mf-cases__slide { flex-basis: 100%; }
}

/* Glow stripe сверху */
.mf-cases__slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 255, 0, 0.5), transparent);
  opacity: 0.5;
}

/* ============== ASIDE: avatar + rating | person (имя + контакт inline) ============== */
.mf-cases__aside {
  display: grid;
  grid-template-columns: var(--rev-col) 1fr;
  column-gap: var(--rev-col-gap);
  row-gap: 10px;
  align-items: center;
  position: static;
}
.mf-cases__aside .mf-cases__avatar {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}
.mf-cases__aside .mf-cases__rating {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
}
.mf-cases__aside .mf-cases__person {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

/* 5 фиолетовых звёзд под аватаром (паттерн hp-reviews__rating) */
.mf-cases__rating {
  display: inline-flex;
  gap: 4px;
  color: #d78cff;
}
.mf-cases__rating svg {
  width: 13px;
  height: 13px;
  filter: drop-shadow(0 0 6px rgba(215, 140, 255, 0.55));
}

/* Имя + контакт-пилюля в одну строку */
.mf-cases__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.mf-cases__name-row .mf-cases__name { margin: 0; }

@media (max-width: 640px) {
  .mf-cases__aside {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 10px;
  }
  .mf-cases__aside .mf-cases__avatar,
  .mf-cases__aside .mf-cases__rating,
  .mf-cases__aside .mf-cases__person {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
  }
  .mf-cases__name-row { justify-content: center; }
}

/* Аватар: conic-ring снаружи + инициалы внутри в зелёном/фиолетовом */
.mf-cases__avatar {
  position: relative;
  width: clamp(64px, 5.6vw, 76px);
  height: clamp(64px, 5.6vw, 76px);
  border-radius: 50%;
  padding: 4px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  letter-spacing: 0.05em;
  font-weight: 700;
  color: transparent;
}
.mf-cases__avatar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 160deg, #78ff00, #d78cff, #78ff00);
  -webkit-mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 4.5px),
      #000 calc(100% - 3px) calc(100% - 1px),
      transparent 100%);
          mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 4.5px),
      #000 calc(100% - 3px) calc(100% - 1px),
      transparent 100%);
  opacity: 0.85;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation: mfCasesRingSpin 14s linear infinite;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .mf-cases__avatar::before { animation: none; }
}
@keyframes mfCasesRingSpin {
  to { transform: rotate(360deg); }
}
.mf-cases__avatar > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #0a0710;
}

/* ============== PERSON ============== */
.mf-cases__person {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.mf-cases__name {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.mf-cases__role {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(120, 255, 0, 0.9);
  background: rgba(120, 255, 0, 0.08);
  border: 1px solid rgba(120, 255, 0, 0.22);
}
.mf-cases__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}
.mf-cases__location svg {
  flex-shrink: 0;
  color: rgba(120, 255, 0, 0.7);
  margin-top: 1px;
}
.mf-cases__contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(120, 255, 0, 0.32);
  background: rgba(120, 255, 0, 0.06);
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #78ff00;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.mf-cases__contact:hover {
  background: #78ff00;
  color: #0a0710;
  border-color: #78ff00;
}
@media (max-width: 640px) {
  .mf-cases__person {
    align-items: center;
    text-align: center;
  }
  .mf-cases__location { justify-content: center; }
}

/* ============== BLOCKS (label + body) ============== */
.mf-cases__content {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 20px);
  min-width: 0;
}
.mf-cases__block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mf-cases__block-label {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.mf-cases__block-num {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  font-variant-numeric: tabular-nums;
}
.mf-cases__block--after .mf-cases__block-num {
  color: rgba(120, 255, 0, 0.7);
}
.mf-cases__block-text {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
}
.mf-cases__block--after .mf-cases__block-text {
  color: #fff;
}

.mf-cases__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mf-cases__list li {
  position: relative;
  padding-left: 26px;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.mf-cases__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.mf-cases__list li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Точка А — нейтральный «минус» в серой плашке (стартовая точка / проблема) */
.mf-cases__block--before .mf-cases__list li::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.mf-cases__block--before .mf-cases__list li::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='3' stroke-linecap='round'><line x1='6' y1='12' x2='18' y2='12'/></svg>");
  background-size: 9px 9px;
}

/* Точка Б — зелёная галочка-«штамп» (достижение / результат) */
.mf-cases__block--after .mf-cases__list li::before {
  background: linear-gradient(135deg, rgba(120, 255, 0, 0.25), rgba(120, 255, 0, 0.1));
  border: 1px solid rgba(120, 255, 0, 0.4);
  box-shadow: 0 4px 12px -4px rgba(120, 255, 0, 0.4);
}
.mf-cases__block--after .mf-cases__list li::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378ff00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 10px 10px;
}
.mf-cases__list li b {
  color: #fff;
  font-weight: 700;
}

/* ============== DOTS ============== */
.mf-cases__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.mf-cases__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: background .3s ease, transform .3s ease;
}
.mf-cases__dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color .3s ease;
}
.mf-cases__dot:hover { background: rgba(255, 255, 255, 0.45); }
.mf-cases__dot:focus-visible { outline: none; }
.mf-cases__dot:focus-visible::after { border-color: rgba(120, 255, 0, 0.7); }
.mf-cases__dot.is-active {
  background: #78ff00;
  box-shadow: 0 0 6px rgba(120, 255, 0, 0.55);
}
.mf-cases__dot.is-active::after { border-color: rgba(120, 255, 0, 0.35); }


/* ============================================================
   8.5 FAQ  ·  обёртка секции (сами аккордеоны — из faq.css)
   ============================================================ */
.mf-faq {
  position: relative;
  padding: clamp(48px, 6vw, 88px) 0;
  background:
    radial-gradient(700px 400px at 0% 50%, rgba(138, 0, 180, 0.14), transparent 60%),
    #0a0710;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mf-faq__header {
  max-width: 760px;
  margin: 0 0 clamp(28px, 3.6vw, 44px);
}
.mf-faq__sub {
  margin: 14px 0 0;
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}


/* ============================================================
   9. AUTHOR  ·  об авторе курса (фото + цитата)
   ============================================================ */
.mf-author {
  padding: clamp(56px, 6vw, 96px) 0;
  position: relative;
  isolation: isolate;
}
.mf-author::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(120, 255, 0, 0.08), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.mf-author__card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(32px, 3.6vw, 56px);
  border-radius: 28px;
  border: 1px solid rgba(120, 255, 0, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(120, 255, 0, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(22, 12, 34, 0.7) 0%, rgba(12, 6, 20, 0.85) 100%);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.7);
}

.mf-author__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mf-author__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(120, 255, 0, 0.30),
    0 20px 60px -20px rgba(138, 0, 180, 0.40);
  isolation: isolate;
}
.mf-author__photo picture,
.mf-author__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: inherit;
}
.mf-author__photo-ring {
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  border: 1px solid rgba(120, 255, 0, 0.45);
  pointer-events: none;
  z-index: 2;
}

.mf-author__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Cred-карточки: число слева, подпись справа, в столбик под фото */
.mf-author__creds {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mf-author__creds li {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(120, 255, 0, 0.22);
  background: rgba(120, 255, 0, 0.04);
}
.mf-author__creds b {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1;
  color: #78ff00;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.mf-author__creds span {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.mf-author__quote {
  position: relative;
  margin: 0;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) clamp(28px, 3vw, 40px);
  border-radius: 18px;
  border-left: 3px solid #78ff00;
  background: rgba(15, 10, 22, 0.55);
}
.mf-author__quote-glyph {
  position: absolute;
  top: -6px;
  left: clamp(8px, 1vw, 14px);
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: rgba(120, 255, 0, 0.20);
  pointer-events: none;
  user-select: none;
}
.mf-author__quote p {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 12px;
}
.mf-author__quote p:last-of-type { margin-bottom: 16px; }
.mf-author__quote p em {
  font-style: normal;
  background: linear-gradient(135deg, #9eff3d 0%, #78ff00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.mf-author__quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mf-author__quote-author > span:first-child {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.005em;
}
.mf-author__quote-role {
  font-family: var(--font-body, 'Futura PT', sans-serif);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .mf-author__card {
    grid-template-columns: 1fr;
  }
  .mf-author__media {
    max-width: 360px;
    margin: 0 auto;
  }
}
