/* ============================================================
   ЛЕНДФЛИППИНГ В АМЕРИКЕ — Сергей Юрасов
   InvestMind Club | 7 июня 2026
   ============================================================ */

/* 1. CSS ПЕРЕМЕННЫЕ
   2. RESET & BASE
   3. ТИПОГРАФИКА
   4. КНОПКИ
   5. БЕЙДЖИ
   6. STICKY HEADER
   7. HERO
   8. COUNTDOWN BAR
   9. БОЛИ (PAINS)
  10. ПРОГРАММА (PROGRAM)
  11. СПИКЕР (AUTHOR)
  12. КЕЙСЫ (CASES)
  13. URGENCY (FOMO)
  14. ОТЗЫВЫ (TESTIMONIALS)
  15. FAQ
  16. ФОРМА (REGISTER)
  17. FOOTER
  18. МОДАЛ
  19. АНИМАЦИИ
  20. МОБИЛЬНАЯ ВЕРСИЯ
   ============================================================ */

/* ============================================================
   1. CSS ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
  --red:         #D9433A;
  --red-dark:    #B5332B;
  --red-light:   #E8625A;
  --bg-gray:     #F5F0EB;
  --bg-white:    #FFFFFF;
  --bg-dark:     #1A1F2E;
  --bg-dark2:    #111827;
  --text-black:  #111111;
  --text-gray:   #6B7280;
  --text-light:  #9CA3AF;
  --border:      #E5E7EB;
  --gold:        #C9A227;
  --green:       #27AE60;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.14);
  --radius:      10px;
  --radius-lg:   18px;
  --container:   1160px;
  --transition:  .25s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-black);
  background: var(--bg-gray);
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

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

/* ============================================================
   3. ТИПОГРАФИКА
   ============================================================ */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.2;
  color: var(--text-black);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--bg-gray);
}

/* ============================================================
   4. КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 67, 58, .35);
}

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-hero {
  padding: 18px 36px;
  font-size: 17px;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  justify-content: center;
}

/* ============================================================
   5. БЕЙДЖИ
   ============================================================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 67, 58, .15);
  border: 1px solid rgba(217, 67, 58, .35);
  color: #E8625A;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.badge-pill--red {
  background: rgba(217, 67, 58, .15);
  border-color: rgba(217, 67, 58, .35);
  color: #E8625A;
}

.badge-pill--dark {
  background: rgba(26, 31, 46, .08);
  border: 1px solid rgba(26, 31, 46, .2);
  color: var(--text-gray);
}

.badge-pill--outline {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
}

/* Badge поверх светлого hero */
.badge-pill--hero {
  background: rgba(217, 67, 58, .12);
  border: 1px solid rgba(217, 67, 58, .35);
  color: var(--red-dark);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-light);
  display: inline-block;
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

/* ============================================================
   6. STICKY HEADER
   ============================================================ */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 31, 46, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(-100%);
  transition: transform .3s ease;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sticky-header.visible {
  transform: translateY(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-name {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.header-divider {
  color: rgba(255,255,255,.3);
}

.header-topic {
  color: rgba(255,255,255,.6);
  font-size: 14px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-date {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   7. HERO — светлый стиль (фото с человеком справа)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f0ece6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  z-index: 0;
}

/* Градиент: слева непрозрачный светлый → справа прозрачный (чтобы виден человек) */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(240, 236, 230, 0.97) 0%,
    rgba(240, 236, 230, 0.90) 40%,
    rgba(240, 236, 230, 0.40) 65%,
    rgba(240, 236, 230, 0.00) 100%
  );
}

.hero-content-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 110px 0 50px;
}

.hero-content {
  max-width: 580px;
}

/* ТЕКСТ ТЁМНЫЙ — на светлом фоне */
.hero-title {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  color: var(--text-black);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--red);
}

.hero-sub {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
}

.hero-meta-item i {
  color: var(--red);
}

.hero-cards {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(26,31,46,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 130px;
}

.hero-card--main {
  border-color: rgba(217, 67, 58, .3);
  background: rgba(217, 67, 58, .07);
}

.hero-card--accent {
  border-color: rgba(201, 162, 39, .35);
  background: rgba(201, 162, 39, .08);
}

.hero-card-label {
  font-size: 11px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 4px;
  font-weight: 600;
}

.hero-card-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-black);
  line-height: 1.2;
}

/* ============================================================
   8. COUNTDOWN BAR
   ============================================================ */
.countdown-bar {
  background: var(--bg-dark);
  padding: 16px 0;
  border-bottom: 2px solid var(--red);
}

.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.countdown-label {
  color: rgba(255,255,255,.70);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.countdown-units {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.countdown-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-caption {
  font-size: 10px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 24px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
}

/* ============================================================
   9. БОЛИ (PAINS)
   ============================================================ */
.pains {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pain-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pain-card--red {
  background: var(--red);
  color: #fff;
}

.pain-card--red .pain-title,
.pain-card--red .pain-text {
  color: #fff;
}

.pain-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.pain-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pain-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.65;
}

.pain-card--red .pain-text {
  color: rgba(255,255,255,.85);
}

/* Цитата спикера */
.pains-cta {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: start;
}

.pains-cta-quote {
  font-size: 80px;
  color: var(--red);
  font-family: Georgia, serif;
  line-height: .8;
  font-weight: 700;
  margin-top: -8px;
  flex-shrink: 0;
}

.pains-cta-text {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.pains-cta-btn {
  align-self: flex-start;
}

.pains-cta-author {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.pains-cta-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 10%;
  border: 2px solid var(--red);
  flex-shrink: 0;
}

.pains-cta-author-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pains-cta-author-title {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* ============================================================
  10. ПРОГРАММА (PROGRAM)
   ============================================================ */
.program {
  background: #FAF7F4;
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.program-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.program-card--white {
  background: var(--bg-white);
}

.program-card--red {
  background: var(--red);
  color: #fff;
}

.program-card--full {
  grid-column: 1 / -1;
}

.program-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.program-card--red .program-num {
  color: rgba(255,255,255,.6);
}

.program-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text-black);
}

.program-card--red .program-title {
  color: #fff;
}

.program-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 18px;
}

.program-card--red .program-text {
  color: rgba(255,255,255,.80);
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}

.program-list li i {
  color: var(--red);
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.program-card--red .program-list li {
  color: rgba(255,255,255,.85);
}

.program-card--red .program-list li i {
  color: rgba(255,255,255,.7);
}

.program-list--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}

/* Нижний баннер программы */
.program-cta {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.program-cta-text {
  color: rgba(255,255,255,.80);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.program-cta-text i {
  color: var(--red-light);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
  11. СПИКЕР (AUTHOR)
   ============================================================ */
.author {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.author-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-top: -8px;
  margin-bottom: 8px;
}

.author-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.author-photo-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.author-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.author-stat {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-black);
  box-shadow: var(--shadow-sm);
  line-height: 1.4;
}

.stat-dot {
  color: var(--red);
  font-size: 8px;
  margin-top: 4px;
  flex-shrink: 0;
}

.author-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 18px;
}

.author-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.author-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-black);
  line-height: 1.5;
}

.author-checklist li i {
  color: var(--red);
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ============================================================
  12. КЕЙСЫ (CASES)
   ============================================================ */
.cases {
  background: var(--bg-white);
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-photo {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #d5c9bc 0%, #c8bdb0 100%);
  overflow: hidden;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s ease;
}

/* Селфи — центрируем лицо (верхняя часть кадра) */
.case-photo-selfie {
  object-position: center 20% !important;
}

.case-card:hover .case-photo img {
  transform: scale(1.04);
}

.case-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 50px;
}

.case-badge--blue {
  background: #2563EB;
}

.case-badge--gold {
  background: var(--gold);
}

.case-body {
  padding: 24px;
}

.case-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 16px;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.case-metric {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.case-metric--accent {
  background: rgba(217, 67, 58, .06);
  border: 1px solid rgba(217, 67, 58, .15);
}

.case-metric-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.case-metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.3;
}

.case-metric-price {
  font-size: 16px;
  color: var(--text-black);
}

.case-metric-price--green {
  color: var(--green);
}

.case-strategy {
  font-size: 13px;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.case-strategy i {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.cases-cta {
  text-align: center;
}

/* ============================================================
  13. URGENCY / FOMO
   ============================================================ */
.fomo {
  background: var(--bg-dark);
  padding: 80px 0;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.fomo-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}

.fomo-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.fomo-text {
  font-size: 16px;
  color: rgba(255,255,255,.70);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 600px;
}

.fomo-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.fomo-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 4px;
}

.fomo-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.50);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* Визуальный блок */
.fomo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fomo-map-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  text-align: center;
}

.fomo-map-title {
  font-size: 15px;
  color: rgba(255,255,255,.70);
  font-weight: 600;
  margin-bottom: 24px;
}

.fomo-map-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fomo-map-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fomo-map-num {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.fomo-map-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 4px;
}

.fomo-map-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-light);
  animation: pulse 1.6s infinite;
}

.fomo-map-dot--2 { animation-delay: .4s; }
.fomo-map-dot--3 { animation-delay: .8s; }

/* ============================================================
  14. ОТЗЫВЫ (TESTIMONIALS)
   ============================================================ */
.testimonials {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

/* Первые 3 карточки — по 2 колонки каждая (итого 6/6) */
.reviews-grid .review-card:nth-child(1),
.reviews-grid .review-card:nth-child(2),
.reviews-grid .review-card:nth-child(3) {
  grid-column: span 2;
}

/* Последние 2 карточки — по 3 колонки, центрируются */
.reviews-grid .review-card:nth-child(4) {
  grid-column: 1 / 4;
}

.reviews-grid .review-card:nth-child(5) {
  grid-column: 4 / 7;
}

.review-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #ffffff;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.review-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.reviews-cta {
  text-align: center;
}

/* ============================================================
  15. FAQ
   ============================================================ */
.faq {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 67, 58, .25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-black);
  text-align: left;
  line-height: 1.5;
  transition: color var(--transition);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--red);
}

.faq-icon {
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.75;
}

/* ============================================================
  16. ФОРМА РЕГИСТРАЦИИ (REGISTER)
   ============================================================ */
.register {
  background: var(--bg-white);
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.register-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: start;
}

.register-title {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 12px;
}

.register-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 28px;
}

.register-logistics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.register-logistics li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-black);
  line-height: 1.5;
}

.register-logistics li i {
  color: var(--red);
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Форма */
.register-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
}

.form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.required {
  color: var(--red);
}

.optional {
  color: var(--text-light);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-black);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  outline: none;
}

.form-group input::placeholder {
  color: var(--text-light);
}

.form-group input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 67, 58, .12);
}

.form-group input.error {
  border-color: var(--red);
}

.field-error {
  display: block;
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  min-height: 16px;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ============================================================
  17. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  padding-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}

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

.footer-name {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.footer-tagline {
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

.footer-link {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--red-light);
}

.footer-copy {
  padding: 16px 0;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ============================================================
  18. МОДАЛ
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-black);
  margin-bottom: 12px;
}

.modal-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-redirect {
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================================
  19. АНИМАЦИИ (Scroll)
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
  20. МОБИЛЬНАЯ ВЕРСИЯ
   ============================================================ */
@media (max-width: 1024px) {
  .author-inner {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .register-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Base */
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 32px; }

  /* Header */
  .header-topic, .header-date { display: none; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }

  /* Hero — мобильный: усиливаем перекрытие слева, убираем прозрачность */
  .hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(240, 236, 230, 0.92) 0%,
      rgba(240, 236, 230, 0.88) 100%
    );
  }
  .hero-content-wrap { padding: 90px 0 40px; }
  .hero-content { max-width: 100%; }
  .hero-meta { gap: 14px; }
  .btn-hero { width: 100%; justify-content: center; }
  .hero-cards { gap: 8px; }
  .hero-card { flex: 1; min-width: 100px; background: rgba(255,255,255,.92); }

  /* Countdown */
  .countdown-inner { gap: 12px; }
  .countdown-label { font-size: 12px; text-align: center; }
  .countdown-num { font-size: 22px; }

  /* Pains */
  .pains-grid { grid-template-columns: 1fr; }
  .pains-cta {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 16px;
  }
  .pains-cta-quote { display: none; }
  .pains-cta-author { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }

  /* Program */
  .program-grid { grid-template-columns: 1fr; }
  .program-list--3col { grid-template-columns: 1fr; }
  .program-card--full { grid-column: 1; }
  .program-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .program-cta-text { justify-content: center; }

  /* Author */
  .author-inner { grid-template-columns: 1fr; }
  .author-stats-grid { grid-template-columns: 1fr; }
  .author-photo-frame { max-width: 320px; margin: 0 auto; }

  /* Cases */
  .cases-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
  }

  /* FOMO — КРИТИЧЕСКИ ВАЖНО */
  .fomo-inner {
    grid-template-columns: 1fr !important;
  }
  .fomo-visual { display: none; }
  .fomo-content .btn { width: 100%; white-space: normal; }
  .fomo-stats { gap: 20px; }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  /* Register */
  .register-inner { grid-template-columns: 1fr; gap: 32px; }
  .register-form-card { padding: 28px 20px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cards { flex-direction: column; }
  .hero-card { min-width: unset; }
  .case-metrics { grid-template-columns: 1fr; }
  .pains-cta-btn { width: 100%; justify-content: center; }
  .fomo-stats { flex-direction: column; gap: 16px; }
  .countdown-units { gap: 4px; }
  .countdown-unit { min-width: 44px; }
}
