/* ============================================
   MoralesGarcia — Design Tokens & Component Styles
   ============================================ */

:root {
  /* Typography */
  --font-display: 'General Sans', 'Inter', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* MoralesGarcia Colors — Custom palette */
  --color-bg:              #fafaf9;
  --color-surface:         #ffffff;
  --color-surface-2:       #f1f5f9;
  --color-surface-offset:  #e2e8f0;
  --color-divider:         #cbd5e1;
  --color-border:          #e2e8f0;

  --color-text:            #0f172a;
  --color-text-muted:      #475569;
  --color-text-faint:      #94a3b8;
  --color-text-inverse:    #fafaf9;

  /* Action = Teal */
  --color-action:          #0d9488;
  --color-action-hover:    #0f766e;
  --color-action-active:   #115e59;

  /* Dark navy */
  --color-dark:            #0f172a;
  --color-dark-lighter:    #1e293b;

  /* Urgent/accent */
  --color-urgent:          #ef4444;
  --color-highlight:       #fef3c7;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.lang-selector {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.lang-selector.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lang-selector__inner {
  text-align: center;
  padding: var(--space-8);
  max-width: 480px;
  width: 100%;
}

.lang-selector__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.lang-selector__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.lang-selector__subtitle {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.lang-selector__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-interactive);
  width: 100%;
}

.lang-btn:hover {
  border-color: var(--color-action);
  background: rgba(13, 148, 136, 0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lang-btn:active {
  transform: translateY(0);
}

.lang-btn__flag {
  font-size: 1.5rem;
  line-height: 1;
}

.lang-btn__label {
  font-family: var(--font-display);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  display: none; /* hidden until language selected */
}

.header.visible {
  display: block;
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(250, 250, 249, 0.95);
}

.header__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-dark);
  flex-shrink: 0;
}

.header__logo-icon {
  color: var(--color-action);
}

.header__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.02em;
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link--cta {
  background: var(--color-action);
  color: var(--color-text-inverse) !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-link--cta:hover {
  background: var(--color-action-hover);
}

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

.lang-switch {
  display: flex;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.lang-switch__btn {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-interactive);
  min-width: 36px;
  text-align: center;
}

.lang-switch__btn.active {
  background: var(--color-action);
  color: var(--color-text-inverse);
}

.lang-switch__btn:hover:not(.active) {
  color: var(--color-text);
  background: var(--color-surface);
}

.mobile-menu-btn {
  display: flex;
  padding: var(--space-2);
  color: var(--color-text);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4);
  gap: var(--space-2);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-lg);
}

.mobile-nav__link:hover,
.mobile-nav__link:active {
  background: var(--color-surface-2);
}

.mobile-nav__link--cta {
  background: var(--color-action);
  color: var(--color-text-inverse);
  text-align: center;
  font-weight: 600;
  margin-top: var(--space-2);
}

.mobile-nav__link--cta:hover,
.mobile-nav__link--cta:active {
  background: var(--color-action-hover);
  color: var(--color-text-inverse);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--space-32) + 2rem) var(--space-4) var(--space-16);
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: var(--color-text-inverse);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 40%);
}

.hero__pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d9488' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--content-default);
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  margin-bottom: var(--space-6);
}

.badge {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(13, 148, 136, 0.15);
  color: #5eead4;
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.badge--urgent {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  max-width: 18ch;
  margin-inline: auto;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 48ch;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.hero__trust-item svg {
  color: var(--color-action);
  flex-shrink: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-action);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background: var(--color-action-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-action);
  border-color: var(--color-action);
}

.btn--outline:hover {
  background: var(--color-action);
  color: var(--color-text-inverse);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.container {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-action);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 50ch;
  margin-inline: auto;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-4);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-interactive);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--color-action);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card--highlighted {
  border-color: var(--color-action);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.03), rgba(13, 148, 136, 0.08));
}

.service-card--highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-action);
}

.service-card__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-urgent);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-action);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.service-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-action);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.service-card__link:hover {
  text-decoration: underline;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--color-surface-2);
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
  }
}

.step {
  text-align: center;
  max-width: 280px;
  flex: 1;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-action);
  color: var(--color-text-inverse);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.step__icon {
  color: var(--color-action);
  margin-bottom: var(--space-4);
  display: flex;
  justify-content: center;
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.step__connector {
  display: none;
  align-items: center;
  padding-top: var(--space-16);
  color: var(--color-text-faint);
}

@media (min-width: 768px) {
  .step__connector {
    display: flex;
  }
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--color-bg);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--transition-interactive);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card--popular {
  border-color: var(--color-action);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

@media (min-width: 768px) {
  .pricing-card--popular {
    transform: scale(1.05);
    z-index: 1;
  }
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-action);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__header {
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.pricing-card__period {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-1);
}

/* ============================================
   TRUST
   ============================================ */
.trust {
  background: var(--color-surface-2);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

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

.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.trust-card__icon {
  color: var(--color-action);
}

.trust-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-action);
  tabular-nums: all;
  font-variant-numeric: tabular-nums;
}

.trust-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.trust-card__text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.trust-card__rating {
  font-size: var(--text-lg);
  color: #f59e0b;
  font-weight: 600;
}

.trust-card__rating span {
  color: var(--color-text);
  font-size: var(--text-sm);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--color-bg);
}

.faq__list {
  max-width: var(--content-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-interactive);
}

.faq-item:hover {
  border-color: var(--color-action);
}

.faq-item__question {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: var(--color-surface);
}

.faq-item__question:hover {
  background: var(--color-surface-2);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-out);
  color: var(--color-text-muted);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   ELIGIBILITY FUNNEL
   ============================================ */
.eligibility {
  background: var(--color-surface-2);
}

.funnel {
  max-width: var(--content-narrow);
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.funnel__progress {
  height: 6px;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  overflow: hidden;
}

.funnel__bar {
  height: 100%;
  background: var(--color-action);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.5s var(--ease-out);
}

.funnel__content {
  min-height: 300px;
}

.funnel-step {
  animation: fadeIn 0.4s var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.funnel-step__question {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.3;
}

.funnel-step__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.funnel-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition-interactive);
  background: var(--color-surface);
}

.funnel-option:hover {
  border-color: var(--color-action);
  background: rgba(13, 148, 136, 0.03);
}

.funnel-option:active {
  transform: scale(0.99);
}

.funnel-option__radio {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition-interactive);
}

.funnel-option:hover .funnel-option__radio {
  border-color: var(--color-action);
}

/* Result screen */
.funnel-result {
  text-align: center;
  animation: fadeIn 0.4s var(--ease-out);
}

.funnel-result__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--color-action);
}

.funnel-result__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.funnel-result__type {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-action);
  margin-bottom: var(--space-4);
}

.funnel-result__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 48ch;
  margin-inline: auto;
}

.funnel-result__checklist {
  text-align: left;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.funnel-result__checklist h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.funnel-result__checklist ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.funnel-result__checklist li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}

.funnel-result__checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--color-action);
}

.funnel-result__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

.funnel-restart {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  margin-top: var(--space-2);
}

/* Email capture */
.email-capture {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
}

.email-capture input {
  width: 100%;
  max-width: 300px;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  background: var(--color-surface);
}

.email-capture input:focus {
  border-color: var(--color-action);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-12) 0 var(--space-6);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: white;
}

.footer__logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-2);
}

.footer__links {
  display: flex;
  gap: var(--space-12);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-2);
}

.footer__col a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__col a:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
  max-width: 100%;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer__meta a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer__meta a:hover {
  color: var(--color-action);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

@keyframes revealFade {
  to { opacity: 1; }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
  }
  .fade-in.visible {
    opacity: 1;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
