/* =============================================
   ДИЗАЙН-СИСТЕМА — House Flipping 2026
   InvestMind Club · Сергей Юрасов
   ============================================= */

:root {
  --red:        #D9433A;
  --red-dark:   #B03028;
  --red-light:  #E8584F;
  --bg-gray:    #F5F0EB;
  --bg-white:   #FFFFFF;
  --bg-dark:    #1A1F2E;
  --text-black: #111111;
  --text-gray:  #6B7280;
  --text-light: #9CA3AF;
  --border:     #E5E7EB;
  --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;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  max-width: 100vw;
  font-family: var(--font-body);
  background: var(--bg-gray);
  color: var(--text-black);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =============================================
   UTILITY
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--gray { background: var(--bg-gray); }
.section--white { background: var(--bg-white); }

/* content-visibility для секций ниже fold */
.pains, .program, .author, .cases, .fomo, .testimonials, .faq, .register {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: normal;
  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; font-weight: 700; }
.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  justify-content: center;
}

/* =============================================
   BADGES
   ============================================= */
.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: var(--red-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.badge-pill--dark {
  background: rgba(217,67,58,.2);
  border-color: rgba(217,67,58,.5);
  color: #F07470;
}
.badge-pill--light {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--red-light);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}
.badge-dot--red  { background: var(--red-light); }
.badge-dot--light { background: #fff; }

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

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--text-black);
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto;
}

/* =============================================
   STICKY HEADER
   ============================================= */
.sticky-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,31,46,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.sticky-header.visible { transform: translateY(0); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  min-width: 0;
}
.header-name { font-weight: 700; white-space: nowrap; }
.header-divider { color: rgba(255,255,255,.3); }
.header-topic { color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-date {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 0;
  background-color: var(--bg-dark); /* fallback */
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,31,46,0.92) 0%,
    rgba(26,31,46,0.80) 40%,
    rgba(26,31,46,0.40) 65%,
    rgba(26,31,46,0.10) 100%
  );
}
.hero-content-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}
.hero-content {
  max-width: 660px;
  color: #fff;
}
.hero-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--red-light); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 580px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.hero-meta-item i { color: var(--red-light); }

.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 14px 20px;
  min-width: 160px;
}
.hero-card--main   { border-color: rgba(217,67,58,.5); background: rgba(217,67,58,.15); }
.hero-card--accent { border-color: rgba(255,255,255,.3); }
.hero-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.hero-card-value {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.hero-card--main .hero-card-value { color: #F07470; }

/* =============================================
   COUNTDOWN BAR
   ============================================= */
.countdown-bar {
  background: var(--red);
  padding: 14px 0;
  position: relative;
  z-index: 2;
}
.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.countdown-label {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.countdown-units {
  display: flex;
  align-items: center;
  gap: 6px;
}
.countdown-unit { text-align: center; }
.countdown-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  min-width: 48px;
  line-height: 1;
}
.countdown-caption {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255,255,255,.7);
  margin-top: 2px;
}
.countdown-sep {
  font-size: 24px;
  font-weight: 800;
  color: rgba(255,255,255,.6);
  line-height: 1;
  padding-bottom: 12px;
}

/* =============================================
   БОЛИ / PAINS
   ============================================= */
.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 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  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);
  border-color: var(--red-dark);
  color: #fff;
}
.pain-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.pain-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .2px;
}
.pain-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-gray);
}
.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: 40px 1fr auto;
  gap: 24px;
  align-items: start;
}
.pains-cta-quote {
  font-size: 72px;
  line-height: .8;
  color: var(--red);
  font-weight: 900;
  font-family: Georgia, serif;
  margin-top: -8px;
}
.pains-cta-text {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.pains-cta-btn { flex-shrink: 0; }
.pains-cta-author {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 220px;
}
.pains-cta-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
  flex-shrink: 0;
  background: #333;
}
.pains-cta-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.pains-cta-author-title {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* =============================================
   ПРОГРАММА / PROGRAM
   ============================================= */
.program { background: #FAF7F4; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.program-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  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; border-color: var(--red-dark); }
.program-card--full  { grid-column: 1 / -1; }

.program-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  opacity: .25;
  line-height: 1;
  margin-bottom: 8px;
}
.program-card--red .program-num { color: rgba(255,255,255,.3); opacity: 1; }
.program-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.program-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-gray);
  margin-bottom: 16px;
}
.program-card--red .program-text { color: rgba(255,255,255,.8); }
.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-black);
}
.program-card--red .program-list li { color: rgba(255,255,255,.9); }
.program-list li i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.program-card--red .program-list li i { color: rgba(255,255,255,.7); }

.program-list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.program-cta {
  margin-top: 32px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 22px 32px;
}
.program-cta-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.8);
  font-size: 15px;
}
.program-cta-inner i {
  color: var(--red-light);
  font-size: 18px;
  flex-shrink: 0;
}
.program-cta-inner span { flex: 1; min-width: 200px; }

/* =============================================
   СПИКЕР / AUTHOR
   ============================================= */
.author-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}
.author-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #F0EDE8;
  border: 1px solid var(--border);
}
.author-photo-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.author-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 16px;
}
.author-stat {
  background: var(--bg-white);
  padding: 16px 18px;
  text-align: center;
}
.author-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 2px;
}
.author-stat-label {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.3;
}
.author-name {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 6px;
}
.author-title {
  font-size: 15px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 24px;
}
.author-bio p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-gray);
  margin-bottom: 14px;
}
.author-checklist {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.author-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-black);
  font-weight: 500;
}
.author-checklist li i { color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* =============================================
   КЕЙСЫ / CASES
   ============================================= */
.cases { background: var(--bg-white); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.case-photo {
  position: relative;
  height: 220px;
  background: var(--bg-gray);
  overflow: hidden;
}
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Вертикальные фото — показываем верхнюю часть (лицо) */
.case-photo img[style*="15%"] {
  object-position: center 15%;
}
.case-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(26,31,46,.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.case-body { padding: 20px; }
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.case-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-metric--full { grid-column: 1 / -1; }
.case-metric--highlight .case-metric-value { color: var(--red); font-size: 18px; }
.case-metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-light);
}
.case-metric-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-black);
}
.case-comment {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-gray);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.cases-cta {
  text-align: center;
  margin-top: 40px;
}

/* =============================================
   FOMO / URGENCY
   ============================================= */
.fomo {
  background: var(--bg-dark);
  padding: 80px 0;
}
.fomo-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.fomo-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .3px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.fomo-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
  margin-bottom: 28px;
}
.fomo-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.fomo-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.fomo-point i { color: var(--red); font-size: 8px; flex-shrink: 0; }

/* FOMO карточка справа */
.fomo-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.fomo-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.fomo-season-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}
.fomo-season-item {
  text-align: center;
  padding: 8px 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.fomo-season--low  { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.fomo-season--mid  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
.fomo-season--peak { background: var(--red); color: #fff; }

.fomo-card-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin-bottom: 20px;
}
.fomo-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fomo-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fomo-timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
  margin-top: 3px;
}
.fomo-timeline-dot--active { background: var(--red); }
.fomo-timeline-dot--money  { background: #4CAF50; }
.fomo-timeline-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1px;
}
.fomo-timeline-desc {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* =============================================
   ОТЗЫВЫ / TESTIMONIALS
   ============================================= */
.testimonials { background: var(--bg-gray); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-placeholder {
  background: var(--bg-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
}
.review-placeholder i { font-size: 36px; }

/* Реальные отзывы (когда загружены) */
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-card img {
  width: 100%;
  height: auto;
  display: block;
}
.reviews-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--bg-white); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open {
  border-color: rgba(217,67,58,.4);
  box-shadow: 0 0 0 3px rgba(217,67,58,.08);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-black);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-gray); }
.faq-icon {
  color: var(--red);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.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: 500px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-gray);
}
.faq-answer strong { color: var(--text-black); }

/* =============================================
   ФОРМА РЕГИСТРАЦИИ / REGISTER
   ============================================= */
.register { background: var(--bg-gray); }
.register-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: start;
}
.register-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.register-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-gray);
  margin-bottom: 28px;
}
.register-logistics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.register-logistic-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-black);
}
.register-logistic-item i { color: var(--red); width: 18px; flex-shrink: 0; }

/* Форма */
.register-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--red);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.register-form-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-black);
}
.reg-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-black);
}
.form-required { color: var(--red); }
.form-optional { color: var(--text-light); font-weight: 400; }
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-black);
  background: #FAFAFA;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217,67,58,.12);
  background: #fff;
}
.form-input.error { border-color: var(--red); }
.form-disclaimer {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
  margin-top: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-dark);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,31,46,.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-icon { font-size: 48px; margin-bottom: 16px; }
.modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.modal-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.65;
  margin-bottom: 16px;
}
.modal-redirect {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.modal-redirect span { color: var(--red); font-weight: 700; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */
@media (max-width: 1024px) {
  .author-inner { grid-template-columns: 320px 1fr; gap: 32px; }
  .fomo-inner { grid-template-columns: 1fr; }
  .fomo-visual { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Header */
  .header-topic, .header-date { display: none; }

  /* Hero */
  .hero-bg::after {
    background: rgba(26,31,46,0.78);
  }
  .hero-content-wrap { padding: 100px 0 50px; }
  .hero-cards { gap: 8px; }
  .hero-card { min-width: calc(50% - 4px); flex: 1; }
  .btn-hero { width: 100%; justify-content: center; }

  /* Countdown */
  .countdown-inner { flex-direction: column; gap: 10px; }
  .countdown-label { text-align: center; }
  .countdown-num { font-size: 22px; min-width: 36px; }

  /* Pains */
  .pains-grid { grid-template-columns: 1fr; }
  .pains-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .pains-cta-quote { display: none; }
  .pains-cta-author { min-width: 0; }

  /* Program */
  .program-grid { grid-template-columns: 1fr; }
  .program-list--inline { flex-direction: column; }
  .program-cta-inner { flex-direction: column; text-align: center; }
  .program-cta-inner .btn { width: 100%; justify-content: center; }

  /* Author */
  .author-inner { grid-template-columns: 1fr; }
  .author-photo-col { max-width: 380px; margin: 0 auto; width: 100%; }

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

  /* FOMO */
  .fomo-content .btn { width: 100%; justify-content: center; }

  /* Testimonials */
  .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

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

  /* Modal */
  .modal { padding: 32px 24px; }

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

  /* Btn */
  .btn { white-space: normal; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-cards { flex-direction: column; }
  .hero-card { min-width: 100%; }
  .countdown-units { gap: 4px; }
  .countdown-num { font-size: 18px; min-width: 30px; }
}
