/** Shopify CDN: Minification failed

Line 2501:3 Expected "}" to go with "{"

**/
/* ==========================================================================
   Alfha Salud Landing - Theme CSS
   Compatible with Shopify Online Store 2.0
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.2;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(28, 49, 68, 0.35);
}

.btn--accent {
  background-color: var(--color-accent);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

.btn--accent:hover {
  background-color: #6a9ba7;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(131, 172, 183, 0.45);
}

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

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ---------- Gradient Utilities ---------- */
.gradient-text {
  background: var(--color-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Header (shared) ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header__subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.section-header__description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 25px;
  width: auto;
  max-width: 100%;
}

.header__nav-list {
  display: flex;
  gap: var(--space-lg);
}

.header__nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link:hover {
  color: var(--color-primary);
}

.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-base);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(131, 172, 183, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(131, 172, 183, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: -60px;
  will-change: transform;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: saturate(0.85) brightness(0.95);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 44, 63, 0.60) 0%,
    rgba(0, 44, 63, 0.45) 40%,
    rgba(0, 44, 63, 0.55) 70%,
    rgba(0, 44, 63, 0.70) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 680px;
}

.hero__subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero modifiers */
.hero__content--center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__actions--center {
  justify-content: center;
}

/* Subtitle glow */
.hero__subtitle--glow {
  color: var(--color-accent);
  text-shadow: 0 0 30px rgba(131, 172, 183, 0.4), 0 0 60px rgba(131, 172, 183, 0.15);
}

/* Title white */
.hero__title--white {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Description */
.hero__description--light {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Outline button */
.hero__btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Trust stats */
.hero__trust {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--color-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(131, 172, 183, 0.35));
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Entrance animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroPulseGlow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(131, 172, 183, 0.35)); }
  50% { filter: drop-shadow(0 0 24px rgba(131, 172, 183, 0.55)); }
}

.hero__subtitle--glow {
  animation: heroFadeUp 0.8s ease both;
}

.hero__title--white {
  animation: heroFadeUp 0.8s ease 0.15s both;
}

.hero__description--light {
  animation: heroFadeUp 0.8s ease 0.3s both;
}

.hero__actions {
  animation: heroFadeUp 0.8s ease 0.45s both;
}

.hero__stat {
  animation: heroFadeScale 0.6s ease both;
}

.hero__stat:nth-child(1) { animation-delay: 0.6s; }
.hero__stat:nth-child(2) { animation-delay: 0.75s; }
.hero__stat:nth-child(3) { animation-delay: 0.9s; }

.hero__stat-number {
  animation: heroPulseGlow 3s ease-in-out infinite;
}

/* When hero has bg image, text goes white */
.hero:has(.hero__bg) .hero__title,
.hero:has(.hero__bg) .hero__subtitle,
.hero:has(.hero__bg) .hero__description {
  color: #fff;
}

.hero:has(.hero__bg) .hero__description {
  color: rgba(255, 255, 255, 0.8);
}

.hero:has(.hero__bg) .btn--outline {
  color: #fff;
  border-color: #fff;
}
/* ==========================================================================
   FEATURES / PILARES
   ========================================================================== */
.features {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.features::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -8%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(131, 172, 183, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0));
}

.features__grid {
  display: grid;
  gap: var(--space-lg);
}

.features__grid--2 { grid-template-columns: repeat(2, 1fr); }
.features__grid--3 { grid-template-columns: repeat(3, 1fr); }
.features__grid--5 { grid-template-columns: repeat(5, 1fr); }

/* --- AJUSTE RESPONSIVO PARA LAS 4 TARJETAS (CÍRCULOS) --- */
/* Mobile-first: 2 columnas centradas */
.features__grid--4 {
  grid-template-columns: repeat(2, auto);
  gap: var(--space-lg);
  justify-content: center;
  justify-items: center;
}

/* Tablets: 4 en línea */
@media (min-width: 768px) {
  .features__grid--4 {
    grid-template-columns: repeat(4, auto);
    gap: var(--space-xl);
  }
}

/* Escritorio: más espacio entre ellos */
@media (min-width: 1024px) {
  .features__grid--4 {
    gap: var(--space-2xl);
  }
}
/* ---------------------------------------------- */

.feature-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(131, 172, 183, 0.15), 0 4px 10px rgba(131, 172, 183, 0.1);
  border-color: rgba(131, 172, 183, 0.3);
}

/* Mobile-first: tamaño fijo para todos los dispositivos */
.feature-card--compact {
  text-align: center;
  width: 120px;
  height: 120px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #a8cdd6, #83acb7 40%, #5d8a96);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(131, 172, 183, 0.3),
    0 3px 8px rgba(93, 138, 150, 0.15),
    inset 0 3px 6px rgba(255, 255, 255, 0.3),
    inset 0 -3px 6px rgba(93, 138, 150, 0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease;
}

/* Tablet: un poco más grandes */
@media (min-width: 768px) {
  .feature-card--compact {
    width: 140px;
    height: 140px;
  }
}

/* Desktop: tamaño final */
@media (min-width: 1024px) {
  .feature-card--compact {
    width: 160px;
    height: 160px;
  }
}

/* Halo glow effect */
.feature-card--compact::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 172, 183, 0.5) 0%, rgba(168, 205, 214, 0.2) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

/* Sheen / glass reflection */
.feature-card--compact::after {
  content: '';
  position: absolute;
  top: 6%;
  left: 15%;
  width: 55%;
  height: 35%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.feature-card--compact:hover {
  transform: translateY(-8px) scale(1.08);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 16px 40px rgba(131, 172, 183, 0.4),
    0 0 30px rgba(168, 205, 214, 0.35),
    0 0 60px rgba(131, 172, 183, 0.15),
    inset 0 3px 6px rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(93, 138, 150, 0.1);
}

.feature-card--compact:hover::before {
  opacity: 1;
}

.feature-card--compact:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 4px 12px rgba(131, 172, 183, 0.3),
    inset 0 2px 8px rgba(93, 138, 150, 0.2);
}

.feature-card--compact .feature-card__icon {
  display: none;
}

.feature-card--compact .feature-card__title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 1px 4px rgba(28, 49, 68, 0.3);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .feature-card--compact .feature-card__title {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .feature-card--compact .feature-card__title {
    font-size: 1.375rem;
  }
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
}

.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card__description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.description-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}
/* ==========================================================================
   PROGRAMS
   ========================================================================== */
.programs-section {
  padding: var(--space-2xl) 0;
  background:#d1dde1;
  position: relative;
  overflow: hidden;
}

.programs-section::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -6%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(131, 172, 183, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0));
}

.programs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(131, 172, 183, 0.3), transparent);
}

/* Carousel — fixed-width cards with native horizontal scroll-snap */
.carousel {
  position: relative;
  margin-bottom: var(--space-xl);
  padding: 0 56px; /* reserved space so arrows don't cover card content */
}

.carousel__track {
  display: flex;
  align-items: stretch;
  gap: var(--space-lg);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 4px 0 var(--space-sm); /* room for hover lift + scrollbar */
  position: relative;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 360px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.carousel__btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(131, 172, 183, 0.3);
}

.carousel__btn--prev {
  left: 6px;
}

.carousel__btn--next {
  right: 6px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.carousel__dot--active {
  background: var(--color-primary);
  width: 28px;
}

.program-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  width: 100%;
  min-width: 0;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(131, 172, 183, 0.12), 0 0 0 1px rgba(131, 172, 183, 0.2);
}

.program-card__image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.program-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(131, 172, 183, 0.15) 0%,
    rgba(131, 172, 183, 0.05) 40%,
    transparent 60%,
    rgba(131, 172, 183, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.program-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(131, 172, 183, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  mask-image: linear-gradient(180deg, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 100%);
}

.program-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.95);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.program-card:hover .program-card__image img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

.program-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.program-card__body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-card__header {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid transparent;
  border-image: none;
  border-bottom-color: var(--color-primary);
}

.program-card__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--color-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.program-card__tagline {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

.program-card__question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.program-card__description {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.program-card__includes {
  list-style: none;
  margin-bottom: var(--space-md);
  padding: 0;
  flex: 1;
}

.program-card__includes li {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.program-card__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

.program-card .program-card__includes li:last-child {
  margin-top: var(--space-xs);
  font-size: 0.875rem;
  color: var(--color-primary);
}

.program-card .program-card__includes li:last-child::before {
  background: var(--color-accent);
  width: 6px;
  height: 6px;
}

.program-card .program-card__includes li:last-child strong {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.program-card__cta {
  width: 100%;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(28, 49, 68, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-card__cta stripe-buy-button {
  display: inline-flex;
  justify-content: center;
}

/* Stripe buy buttons: always centered inside their wrapper */
.quiz-results__cta,
.cta__actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-results__cta stripe-buy-button,
.cta__actions stripe-buy-button {
  display: inline-flex;
  justify-content: center;
}

/* Pricing Tiers */
.pricing-tiers {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.pricing-tier {
  text-align: center;
  padding: var(--space-lg) var(--space-xl);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 200px;
  transition: all var(--transition-base);
}

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

.pricing-tier--featured {
  border: 2px solid transparent;
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(131, 172, 183, 0.15);
}

.pricing-tier__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  background: var(--color-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-tier__sessions {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  background: var(--color-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-tier__desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   TEAM / COMITÉ MÉDICO
   ========================================================================== */
.team-section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.team-section::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(131, 172, 183, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0));
}

/* Desktop: grid normal */
.team__carousel {
  position: relative;
}

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

.team__slide {
  display: flex;
}

.team__dots {
  display: none;
}

.team-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.team-card:hover {
  background: rgba(131, 172, 183, 0.06);
}

.team-card__avatar {
  margin: 0 auto var(--space-md);
  width: 100px;
  height: 100px;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: rgba(131, 172, 183, 0.06);
  border: 3px solid transparent;
  transition: border-color var(--transition-base), filter var(--transition-base);
  filter: grayscale(100%) contrast(1.05);
}

.team-card:hover .team-card__avatar img {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(131, 172, 183, 0.2);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.team-card__specialty {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
  background: var(--color-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card__quote {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-light);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  margin-bottom: var(--space-md);
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-card__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

.testimonial-card__role {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: var(--space-2xl) 0;
  background: var(--color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0));
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.cta__description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  padding: 0 0 var(--space-lg);
  background-color: #1c3144;
  color: #fff;
}

.footer__accent-line {
  height: 3px;
  background: var(--color-primary);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.footer__logo-img {
  height: auto;
  width: 180px;
  max-width: 100%;
  display: block;
  background: none;
}

.footer__description {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: 0.625rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  color: #fff;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.footer__heading--mt {
  margin-top: var(--space-lg);
}

.footer__links li + li {
  margin-top: 0.625rem;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
  transform: translateX(2px);
}

.footer__links a svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.footer__links a:hover svg {
  opacity: 1;
}

.footer__address-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer__address-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.5;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__credit a:hover {
  color: var(--color-accent);
}

.footer__back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-base);
}

.footer__back-to-top:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   QUIZ / LEAD MAGNET
   ========================================================================== */
.quiz-section {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(180deg,
    #6fb4d6 0%,
    #4a90b5 32%,
    #0a2a52 36%,
    #061a36 100%);
}

/* Iceberg <img> repurposed as full-section background */
.quiz-hero__iceberg {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  padding: 0;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  pointer-events: none;
}

.quiz-hero__iceberg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  filter: saturate(0.95) brightness(0.9);
}

/* Dark overlay over the iceberg for text contrast */
.quiz-hero__iceberg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(28, 49, 68, 0.40) 0%,
    rgba(28, 49, 68, 0.25) 40%,
    rgba(10, 26, 54, 0.45) 100%);
  pointer-events: none;
}

/* Single-column layout in ALL viewports — content stacked vertically over iceberg */
.quiz-layout {
  position: static;
  z-index: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Copy block (now full-width, centered) */
.quiz-hero {
  color: #fff;
  width: 100%;
  text-align: center;
}

.quiz-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(131, 172, 183, 0.15);
  border: 1px solid rgba(131, 172, 183, 0.3);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-lg);
}

.quiz-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: #fff;
}

.quiz-hero__description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

.quiz-hero__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-md) auto var(--space-lg);
  max-width: 460px;
  width: 100%;
}

.quiz-hero__benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.quiz-hero__benefit svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.quiz-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.quiz-hero__avatars {
  display: flex;
}

.quiz-hero__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(131, 172, 183, 0.5);
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.quiz-hero__avatar:first-child { margin-left: 0; }

.quiz-hero__trust-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.quiz-hero__trust-text strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* Form block (now full-width below the copy) */
.quiz-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.quiz-step {
  display: none;
}

.quiz-step--active {
  display: block;
}

.quiz-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(131, 172, 183, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.quiz-card::before {
  display: none;
}

.quiz-card__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.quiz-card__icon {
  margin-bottom: var(--space-sm);
}

.quiz-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.quiz-card__description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.quiz-form__submit {
  width: 100%;
  margin-top: var(--space-sm);
  font-size: 1.0625rem;
  padding: 1rem;
}

.quiz-form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
}

/* Quiz progress bar */
.quiz-progress {
  margin-bottom: var(--space-lg);
}

.quiz-progress__bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.quiz-progress__fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.quiz-progress__text {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* Quiz placeholder */
.quiz-placeholder {
  text-align: center;
  padding: var(--space-xl) 0;
}

.quiz-placeholder__icon {
  margin-bottom: var(--space-lg);
}

.quiz-placeholder__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.quiz-placeholder__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* ==========================================================================
   FORMS (shared)
   ========================================================================== */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(131, 172, 183, 0.1);
}

.form-input.is-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #dc2626;
  margin-top: var(--space-xs);
  min-height: 1.2em;
}

.form-link {
  background: var(--color-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  font-weight: 500;
}

.form-link:hover {
  text-decoration-color: var(--color-primary);
}

/* Checkbox */
.form-group--checkbox {
  margin-top: var(--space-md);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: all var(--transition-fast);
  position: relative;
  margin-top: 1px;
}

.form-checkbox:checked + .form-checkbox-custom {
  background: var(--color-primary);
  border-color: transparent;
}

.form-checkbox:checked + .form-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox:focus + .form-checkbox-custom {
  box-shadow: 0 0 0 3px rgba(131, 172, 183, 0.15);
}

.form-checkbox-text {
  color: rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -6%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(131, 172, 183, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--parallax-y, 0));
}

.contact-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form__submit {
  width: 100%;
  margin-top: var(--space-sm);
}

.contact-form__submit .btn__loading {
  align-items: center;
  gap: 0.5rem;
}

/* Spinner animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  animation: spin 0.8s linear infinite;
}

/* Phone input */
.phone-input-wrapper {
  display: flex;
  gap: 0;
  position: relative;
}

.phone-country-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 0.75rem;
  background: var(--color-bg-light);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.phone-country-btn:hover {
  background: var(--color-bg-alt);
}

.phone-country-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.phone-country-code {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.phone-country-arrow {
  color: rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.phone-country-btn[aria-expanded="true"] .phone-country-arrow {
  transform: rotate(180deg);
}

.phone-input {
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
  flex: 1;
}

/* Country dropdown */
.phone-country-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  width: 280px;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 4px;
}

.phone-country-dropdown.is-open {
  display: block;
}

.phone-country-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  color: var(--color-text);
}

.phone-country-option:hover {
  background: var(--color-bg-light);
}

.phone-country-option__flag {
  font-size: 1.25rem;
  line-height: 1;
}

.phone-country-option__name {
  flex: 1;
}

.phone-country-option__code {
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
}

/* Contact success */
.contact-success {
  text-align: center;
  padding: var(--space-xl) 0;
}

.contact-success__icon {
  margin-bottom: var(--space-lg);
}

.contact-success__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.contact-success__text {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   PAGE CONTENT (Terms, etc.)
   ========================================================================== */
.page-content {
  padding: var(--space-xl) 0;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.page-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.page-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-md);
}

.page-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.page-content ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-xs);
}

.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.rte p + p {
  margin-top: var(--space-md);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: var(--space-2xl) 0;
  background: #f5f7f8;
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq__item {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(131, 172, 183, 0.08);
  overflow: hidden;
  transition: var(--transition-base);
  box-shadow: 0 2px 8px rgba(131, 172, 183, 0.04);
}

.faq__item:hover {
  border-color: rgba(131, 172, 183, 0.3);
  box-shadow: 0 4px 20px rgba(131, 172, 183, 0.1);
}

.faq__item.is-open {
  border-color: rgba(131, 172, 183, 0.4);
  box-shadow: 0 6px 24px rgba(131, 172, 183, 0.12);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) calc(var(--space-lg) + 0.25rem);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-secondary);
}

.faq__icon {
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding: 0 calc(var(--space-lg) + 0.25rem) var(--space-lg);
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

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

  .team__track {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .quiz-hero__description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .quiz-hero__trust {
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .quiz-section {
    padding: var(--space-xl) 0;
  }

  .quiz-card {
    padding: var(--space-md);
  }

  .header__nav {
    display: none;
  }

  .header__menu-toggle {
    display: block;
  }

  /* Mobile nav open */
  .header.is-open .header__nav {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-lg);
  }

  .header.is-open .header__nav-list {
    flex-direction: column;
    gap: var(--space-md);
  }

  .header.is-open .hamburger {
    background-color: transparent;
  }

  .header.is-open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .header.is-open .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .features__grid--2,
  .features__grid--3,
  .features__grid--4,
  .features__grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel {
    padding: 0 var(--space-md); /* slim reserved space on mobile */
  }

  .carousel__track {
    gap: var(--space-md);
  }

  /* Mobile: card width = viewport − container padding (3rem) − carousel padding (2rem) */
  .carousel__slide {
    flex: 0 0 calc(100vw - 5rem);
    max-width: 360px;
  }

  /* Hide arrows on mobile — native scroll + snap is enough */
  #programs-carousel .carousel__btn {
    display: none;
  }

  /* Compact program cards on mobile to avoid huge tall carousel */
  .program-card__image {
    height: 130px;
  }

  .program-card__body {
    padding: var(--space-sm) var(--space-sm) var(--space-md);
  }

  .program-card__name {
    font-size: 1rem;
  }

  .program-card__description {
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
  }

  .program-card__includes {
    margin-bottom: var(--space-sm);
  }

  .program-card__includes li {
    font-size: 0.6875rem;
    padding: 0.125rem 0 0.125rem 0.875rem;
  }

  .program-card__cta {
    min-height: 40px;
    font-size: 0.8125rem;
  }

  /* Team: switch to carousel on mobile */
  .team__carousel {
    overflow: hidden;
  }

  .team__track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }

  .team__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 var(--space-lg);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }

  .team__slide .team-card {
    width: 100%;
    max-width: 300px;
  }

  .team__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
  }

  .team__dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
  }

  .team__dot--active {
    background: var(--color-primary);
    width: 28px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .pricing-tiers {
    flex-direction: column;
    align-items: center;
  }

  .pricing-tier {
    width: 100%;
    max-width: 300px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__description {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .header__logo img {
    height: 22px;
  }

  .footer__logo-img {
    width: 160px;
  }
}

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

  .quiz-card {
    padding: 12px;
  }

  .quiz-section {
    padding: var(--space-lg) 0;
  }

  .footer__logo-img {
    width: 140px;
  }