/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
  --navy:   #1B3A6B;
  --purple: #6B3FA0;
  --teal:   #3AAFA9;
  --cta:    #E8523A;
  --cta-hover: #C43D28;
  --yellow: #F5C518;
  --white:  #FFFFFF;
  --gray-50:  #F8F9FB;
  --gray-100: #F1F3F7;
  --gray-200: #E2E6EE;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --text:   #1C2333;

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   UTILITIES
============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto 48px;
  text-align: center;
}

.highlight {
  background: linear-gradient(135deg, var(--teal), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
}
.btn--primary:hover { background: #14305a; box-shadow: var(--shadow); }

.btn--cta {
  background: var(--cta);
  color: var(--white);
  padding: 14px 28px;
}
.btn--cta:hover { background: var(--cta-hover); box-shadow: 0 6px 24px rgba(232,82,58,.35); }

.btn--nav {
  background: var(--cta);
  color: var(--white);
  padding: 10px 20px;
  font-size: 14px;
}
.btn--nav:hover { background: var(--cta-hover); }

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

/* ============================================================
   PHOTO PLACEHOLDERS
============================================================ */
.photo-placeholder {
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}
.photo-placeholder--hero {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
}
.photo-placeholder--sm {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  border-radius: 50%;
  aspect-ratio: 1;
}
.photo-placeholder--about {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
}
.photo-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
}
.photo-placeholder__inner p { font-weight: 600; font-size: 14px; }
.photo-placeholder__inner span { font-size: 12px; color: var(--gray-500); line-height: 1.4; }

/* Real photo styles */
.hero__photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 10%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav__logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -.02em;
}
.nav__links {
  display: flex;
  gap: 24px;
  margin-right: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: color .15s;
}
.nav__links a:hover { color: var(--navy); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .2s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.nav__mobile .btn { margin-top: 12px; text-align: center; }

/* ============================================================
   HERO
============================================================ */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, #24286b 50%, var(--purple) 100%);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(58,175,169,.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58,175,169,.2);
  border: 1px solid rgba(58,175,169,.4);
  color: #7ee8e3;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  width: fit-content;
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__form {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.hero__input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border .15s, background .15s;
}
.hero__input::placeholder { color: rgba(255,255,255,.5); }
.hero__input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255,255,255,.15);
}

.hero__disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-bottom: 36px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.hero__social-proof strong { color: var(--white); }

.avatar-stack {
  display: flex;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.avatar:first-child { margin-left: 0; }
.avatar--placeholder:nth-child(1) { background: var(--teal); }
.avatar--placeholder:nth-child(2) { background: var(--purple); }
.avatar--placeholder:nth-child(3) { background: #E8523A; }
.avatar--placeholder:nth-child(4) { background: #F5C518; color: var(--navy); }

.hero__image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.stat-card {
  flex: 1;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat-card--accent { background: rgba(58,175,169,.25); border-color: rgba(58,175,169,.4); }
.stat-card__value {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card__label {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.hero__wave {
  height: 60px;
  margin-top: 20px;
}
.hero__wave svg { width: 100%; height: 100%; }

/* ============================================================
   CREDIBILIDAD
============================================================ */
.credibility {
  padding: 96px 0;
  background: var(--white);
}
.credibility .container { text-align: center; }
.credibility .section-title { margin-bottom: 48px; }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.cred-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  text-align: left;
  transition: box-shadow .2s, transform .2s;
}
.cred-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cred-card__icon { font-size: 36px; margin-bottom: 16px; }
.cred-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cred-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; }

/* ============================================================
   PROBLEMA
============================================================ */
.problem {
  background: var(--gray-50);
  padding: 96px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pain-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.pain-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.pain-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.pain-item--bad .pain-icon {
  background: #FDECEA;
  color: #C0392B;
}
.problem__cta-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

/* Timeline visual */
.timeline-visual {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.tl-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
  position: relative;
}
.tl-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.tl-step--done .tl-step::after { background: var(--teal); }

.tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 0 0 4px rgba(58,175,169,.15);
}
.tl-dot--final {
  background: var(--cta);
  font-size: 13px;
  box-shadow: 0 0 0 4px rgba(232,82,58,.15);
}
.tl-content strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.tl-content span { font-size: 13px; color: var(--gray-500); }

/* ============================================================
   MÓDULOS GUÍA
============================================================ */
.guide {
  padding: 96px 0;
  background: var(--white);
}
.guide .container { text-align: center; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  text-align: left;
}
.module-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative;
}
.module-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--teal);
}
.module-card__icon { font-size: 30px; margin-bottom: 14px; }
.module-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.module-card p { font-size: 13px; color: var(--gray-500); line-height: 1.55; }
.module-card__tag {
  display: inline-block;
  margin-top: 12px;
  background: rgba(58,175,169,.12);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.guide__cta { margin-top: 8px; }

/* ============================================================
   TESTIMONIOS
============================================================ */
.testimonials {
  padding: 96px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #f5f0ff 100%);
}
.testimonials .container { text-align: center; }
.testimonials .section-title { margin-bottom: 48px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.testimonial-card--placeholder {
  border: 2px dashed var(--gray-200);
  background: rgba(255,255,255,.6);
}
.testimonial-placeholder-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.testimonial-author { font-size: 13px; color: var(--gray-500); }

/* ============================================================
   SOBRE EL DR. VINTI
============================================================ */
.about {
  padding: 96px 0;
  background: var(--white);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrap { position: relative; }
.about__badge-wrap {
  position: absolute;
  bottom: -16px;
  right: -16px;
}
.about__badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about__badge-icon { font-size: 22px; }
.about__badge strong { display: block; color: var(--navy); font-size: 13px; }

/* Match Day photo badge — overrides text badge */
.about__badge.about__badge--match {
  background: none;
  border: none;
  padding: 0;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  width: 160px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.about__badge-photo {
  width: 160px;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.about__content p {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about__highlight {
  background: rgba(58,175,169,.1);
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0 28px;
}
.about__highlight p {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
}

.about__stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.micro-stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
}
.micro-stat--accent { background: rgba(58,175,169,.1); border-color: rgba(58,175,169,.3); }
.micro-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.micro-stat span { font-size: 11px; color: var(--gray-500); line-height: 1.3; }
.micro-stat span em { font-style: normal; color: var(--teal); font-weight: 600; }

/* Research experience */
.about__research {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 24px;
}
.about__research-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.about__research-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.about__research-item div { display: flex; flex-direction: column; gap: 2px; }
.about__research-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-head);
}
.about__research-item span {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ============================================================
   FAQ
============================================================ */
.faq {
  padding: 96px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__inner .section-title { text-align: center; margin-bottom: 48px; }
.faq__inner .section-eyebrow { text-align: center; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] .faq-question::after {
  content: '−';
}
.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}
.faq-answer p { font-size: 15px; color: var(--gray-700); line-height: 1.65; }

/* ============================================================
   CTA FINAL
============================================================ */
.cta-final {
  background: linear-gradient(145deg, var(--navy) 0%, #24286b 60%, var(--purple) 100%);
  padding: 96px 0;
  color: var(--white);
}
.cta-final__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-final__content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--white);
}
.cta-final__content p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form__row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-input {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
}
.cta-input::placeholder { color: rgba(255,255,255,.5); }
.cta-input:focus { outline: none; border-color: var(--teal); background: rgba(255,255,255,.15); }
.cta-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0f2347;
  padding: 48px 0 32px;
  color: rgba(255,255,255,.65);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer__brand .nav__logo-text { color: var(--white); font-size: 18px; display: block; margin-bottom: 8px; }
.footer__brand p { font-size: 13px; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  transition: color .15s;
}
.footer__links a:hover { color: var(--white); }
.footer__legal { text-align: right; }
.footer__legal p { font-size: 13px; margin-bottom: 8px; }
.footer__legal-links { display: flex; gap: 16px; justify-content: flex-end; }
.footer__legal-links a { font-size: 12px; transition: color .15s; }
.footer__legal-links a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__image-wrap { order: -1; align-items: center; padding-bottom: 0; }
  .photo-placeholder--hero { max-width: 280px; }
  .cred-grid { grid-template-columns: 1fr; }
  .problem__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__badge-wrap { position: static; margin-top: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__legal { text-align: center; }
  .footer__legal-links { justify-content: center; }

  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 600px) {
  .modules-grid { grid-template-columns: 1fr; }
  .hero__form { flex-direction: column; }
  .hero__input { min-width: unset; }
  .cta-form__row { flex-direction: column; align-items: stretch; }
  .cta-input { max-width: unset; }
  .about__stats-row { justify-content: center; }
  .hero__stats { flex-direction: column; }
}

/* ============================================================
   PORTAL SECTION
============================================================ */
.portal-section {
  padding: 96px 0;
  background: var(--gray-50);
}
.portal-section .section-desc {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--gray-500);
  font-size: 17px;
  line-height: 1.7;
}
.portal-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.portal-compare__col {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.portal-compare__col--featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(58,175,169,.08), var(--shadow-lg);
  position: relative;
  background: var(--white);
}
.portal-compare__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.portal-compare__label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin: 0 0 8px;
}
.portal-compare__price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 24px;
  line-height: 1.1;
}
.portal-compare__price span.portal-compare__period {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-500);
}
.portal-compare__price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
}
.portal-compare__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portal-compare__list li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.portal-compare__list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.portal-compare__list li.yes { color: var(--gray-700); }
.portal-compare__list li.yes::before { content: '✓'; color: var(--teal); }
.portal-compare__list li.no { color: var(--gray-500); opacity: .6; }
.portal-compare__list li.no::before { content: '✗'; color: var(--gray-500); }

.btn--outline-navy {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 640px) {
  .portal-compare { grid-template-columns: 1fr; }
  .portal-compare__col--featured { margin-top: 16px; }
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.module-card,
.step-item,
.feature-item,
.stat-item,
.faq-item,
.testimonial-card,
.resource-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease;
}

.module-card.visible,
.step-item.visible,
.feature-item.visible,
.stat-item.visible,
.faq-item.visible,
.testimonial-card.visible,
.resource-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nav shadow on scroll */
.nav--scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.12);
}

/* Reduce motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .module-card,
  .step-item,
  .feature-item,
  .stat-item,
  .faq-item,
  .testimonial-card,
  .resource-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
