/* =========================================================
   MilesFlipper — Main Stylesheet
   Aviation Sky Palette (logo-matched):
     Midnight   : #0D1B2A
     Deep Navy  : #1C2E40
     Steel Blue : #253D56
     Sky Cyan   : #29B5E8
     Bright Sky : #55CCF0
     Silver     : #C2C5CA
     Sky Mist   : #E8F7FD
     Off-White  : #F4F7FA
     Charcoal   : #2C3035
     Slate      : #5A6A7A
     White      : #FFFFFF
   ========================================================= */

/* ─── CSS Custom Properties ────────────────────────────── */
:root {
  /* Core palette — mapped to old variable names for compatibility */
  --navy-dark:    #0D1B2A;   /* Midnight */
  --navy:         #1C2E40;   /* Deep Navy */
  --navy-light:   #253D56;   /* Steel Blue */
  --navy-mid:     #1A2D42;
  --gold:         #29B5E8;   /* Sky Cyan — primary accent */
  --gold-light:   #55CCF0;   /* Bright Sky */
  --gold-dark:    #1A8FBB;   /* Sky Dark */
  --teal:         #29B5E8;   /* Sky Cyan (alias) */
  --teal-light:   #55CCF0;   /* Bright Sky (alias) */
  --white:        #FFFFFF;
  --off-white:    #F4F7FA;
  --light-gray:   #E8F7FD;   /* Sky Mist */
  --text-dark:    #2C3035;   /* Charcoal */
  --text-mid:     #2C3035;   /* Charcoal */
  --text-muted:   #5A6A7A;   /* Slate */
  --border:       #C2C5CA;   /* Silver */

  /* New design tokens */
  --mf-midnight:    #0D1B2A;
  --mf-navy:        #1C2E40;
  --mf-steel:       #253D56;
  --mf-sky:         #29B5E8;
  --mf-sky-light:   #55CCF0;
  --mf-silver:      #C2C5CA;
  --mf-silver-light:#D8DBDF;
  --mf-silver-pale: #ECEEF0;
  --mf-silver-mid:  #8A8F96;
  --mf-silver-dark: #5B6270;
  --mf-sky-pale:    #E8F7FD;
  --mf-off-white:   #F4F7FA;
  --mf-charcoal:    #2C3035;
  --mf-slate:       #5A6A7A;
  --mf-white:       #FFFFFF;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 4px rgba(13,27,42,.08);
  --shadow-md:  0 4px 20px rgba(13,27,42,.12);
  --shadow-lg:  0 12px 40px rgba(13,27,42,.18);
  --shadow-xl:  0 24px 64px rgba(13,27,42,.24);

  --nav-h:     80px;
  --section-v: 96px;
  --container: 1240px;

  --ease-out-quad: cubic-bezier(.25,.46,.45,.94);
  --ease-spring:   cubic-bezier(.34,1.56,.64,1);

  --font-heading: 'Roboto', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --font-accent:  'Lato', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

/* Nav links — Roboto */
.nav-menu a,
.mobile-menu a { font-family: var(--font-heading); }

/* Buttons, CTAs, tabs, labels — Lato */
.btn,
.tab-btn,
.faq-cat-btn,
.faq-question,
.cat-pill,
.nav-cta { font-family: var(--font-accent); }

/* ─── Layout Utilities ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section {
  padding-block: var(--section-v);
}

.bg-dark  { background: var(--navy-dark); }
.bg-light { background: var(--off-white); }
.text-white  { color: var(--white) !important; }
.text-muted  { color: rgba(255,255,255,.65) !important; }
.text-gold   { color: var(--gold) !important; }
.text-teal   { color: var(--teal) !important; }

.text-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--teal) 100%);
  -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;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: transform .2s var(--ease-spring), box-shadow .2s, background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(41,181,232,.35);
}
.btn--gold:hover {
  box-shadow: 0 8px 32px rgba(41,181,232,.5);
  color: var(--navy-dark);
}

.btn--silver {
  background: var(--mf-silver);
  color: var(--mf-midnight);
  box-shadow: 0 4px 20px rgba(194,197,202,.3);
}
.btn--silver:hover {
  background: var(--mf-silver-light);
  box-shadow: 0 8px 32px rgba(194,197,202,.45);
  color: var(--mf-midnight);
}
.btn--silver:active { background: var(--mf-silver-pale); }
.btn--silver:focus-visible {
  outline: 2px solid var(--mf-silver-mid);
  outline-offset: 2px;
}

.btn--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-dark {
  background: transparent;
  border: 2px solid var(--navy-light);
  color: var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--lg  { padding: 15px 36px; font-size: 1.05rem; }
.btn--sm  { padding: 9px 20px; font-size: .875rem; }
.btn--full { width: 100%; }

/* ─── Section Header ────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(41,181,232,.12);
  color: var(--gold);
  border: 1px solid rgba(41,181,232,.25);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag--teal {
  background: rgba(41,181,232,.12);
  color: var(--teal);
  border-color: rgba(41,181,232,.25);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-title-sm {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.section-header--light .section-title { color: var(--white); }
.section-header--light .section-sub   { color: rgba(255,255,255,.65); }

/* ─── NAVIGATION ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13,27,42,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s, height .3s;
}

.site-header.scrolled {
  background: rgba(13,27,42,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  height: 64px;
}

.nav-container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo__icon { flex-shrink: 0; }
.site-logo__text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
  line-height: 1;
}
.site-logo__brand   { color: var(--white); }
.site-logo__accent  { color: var(--gold); }
.site-logo__img     { height: 70px; width: auto; max-width: 220px; object-fit: contain; display: block; }

/* WordPress-native logo, used if a custom logo is set via Appearance → Customize → Site Identity */
.custom-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.custom-logo       { height: 80px; width: auto; max-width: 260px; object-fit: contain; display: block; }

/* Desktop Nav */
.site-nav { margin-left: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-item a:hover,
.nav-item.active a {
  color: var(--gold);
  background: rgba(41,181,232,.1);
}

.nav-cta { margin-left: 12px; flex-shrink: 0; }

/* ─── Dropdown Navigation ───────────────────────────────── */
.nav-item.has-dropdown { position: relative; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--navy);
  border: 1px solid rgba(41,181,232,.15);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  padding: 6px 0;
  z-index: 200;
  white-space: nowrap;
}
.nav-item.has-dropdown:hover .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  padding: 9px 16px;
  color: rgba(255,255,255,.85);
  font-size: .84rem;
  font-weight: 400;
  transition: color .15s, background .15s;
}
.nav-dropdown a:hover {
  color: var(--gold);
  background: rgba(41,181,232,.1);
}

.nav-item.has-dropdown > a::after {
  content: ' ▾';
  font-size: .7em;
  opacity: .7;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-h); /* JS overrides this dynamically on open */
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  transform: translateX(100%);
  transition: transform .35s var(--ease-out-quad);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  padding: 24px 24px 48px;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu li a {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background .2s, color .2s;
}
.mobile-menu li a:hover { background: rgba(255,255,255,.06); color: var(--gold); }
.mobile-menu__cta { margin-top: 16px; }
.btn--full { width: 100%; text-align: center; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.visible { opacity: 1; pointer-events: all; }

/* ─── HERO SECTION ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1A2D42 50%, var(--navy-dark) 100%);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  overflow: hidden;
  padding-top: var(--nav-h);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Particle canvas */
.hero__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 15%, rgba(41,181,232,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 60%, rgba(41,181,232,.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 40% 30%, rgba(41,181,232,.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 80%, rgba(41,181,232,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 20%, rgba(41,181,232,.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 55%, rgba(41,181,232,.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 10%, rgba(41,181,232,.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 90%, rgba(41,181,232,.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 50%, rgba(255,255,255,.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 75%, rgba(41,181,232,.4) 0%, transparent 100%);
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
  33%       { transform: translateY(-20px) rotate(1deg); opacity: .8; }
  66%       { transform: translateY(10px) rotate(-1deg); opacity: .9; }
}

/* Orbs */
.hero__bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbPulse 8s ease-in-out infinite;
}
.orb--1 { width: 480px; height: 480px; background: rgba(41,181,232,.08); top: -15%; left: -10%; animation-delay: 0s; }
.orb--2 { width: 360px; height: 360px; background: rgba(41,181,232,.07); bottom: -10%; right: -5%; animation-delay: -4s; }
.orb--3 { width: 280px; height: 280px; background: rgba(37,61,86,.6); top: 40%; left: 50%; animation-delay: -2s; }

@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 80px;
}

.hero__badge {
  display: inline-block;
  background: rgba(41,181,232,.15);
  border: 1px solid rgba(41,181,232,.3);
  color: var(--gold-light);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 500;
}

/* Hero flight cards */
.hero__card-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
}

.flight-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
}

.flight-card--1 {
  position: relative;
  z-index: 2;
  transform: translateY(0) rotate(-1.5deg);
  animation: cardFloat 4s ease-in-out infinite;
}

.flight-card--2 {
  position: absolute;
  inset: 0;
  top: auto;
  margin-top: 20px;
  transform: translateY(40px) rotate(1.5deg);
  opacity: .8;
  z-index: 1;
  animation: cardFloat2 4s ease-in-out infinite;
}

@keyframes cardFloat  { 0%,100%{transform:translateY(0) rotate(-1.5deg)} 50%{transform:translateY(-8px) rotate(-1.5deg)} }
@keyframes cardFloat2 { 0%,100%{transform:translateY(40px) rotate(1.5deg)} 50%{transform:translateY(32px) rotate(1.5deg)} }

.flight-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.flight-card__airline { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.7); }
.flight-card__class   { font-size: .75rem; background: rgba(41,181,232,.2); color: var(--gold); padding: 3px 10px; border-radius: var(--radius-full); }

.flight-card__route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.flight-card__city { font-size: 1.5rem; font-weight: 800; }

.flight-card__miles {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.flight-card__miles-num   { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.flight-card__miles-label { font-size: .75rem; color: rgba(255,255,255,.5); }
.flight-card__price       { font-size: 1.2rem; font-weight: 800; color: var(--teal); margin-left: auto; }

.pulse-ring {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(41,181,232,.15);
  animation: pulseRing 2.5s ease-out infinite;
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(41,181,232,.3);
  animation: pulseRing 2.5s ease-out infinite .5s;
}

@keyframes pulseRing {
  0%   { transform: scale(.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.hero__scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%      { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

/* ─── STATS BAR ─────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding-block: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,.12);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-prefix, .stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  margin-top: 4px;
}
.stat-item {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
}
.stat-item .stat-label { width: 100%; text-align: center; }

/* ─── HOW IT WORKS ──────────────────────────────────────── */
.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: var(--off-white);
  padding: 6px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .25s;
}
.tab-btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.tab-btn:hover:not(.active) { color: var(--navy); }

.tab-content { display: none; }
.tab-content.active { display: grid; }

.steps-grid {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  color: var(--light-gray);
}
.step-connector::after {
  content: '→';
  font-size: 1.8rem;
  color: var(--gold);
  opacity: .5;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
  position: relative;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-card__num {
  position: absolute;
  top: -14px;
  left: 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.step-card__icon { width: 64px; height: 64px; margin: 0 auto 16px; }
.step-card__title { font-size: 1.05rem; margin-bottom: 10px; color: var(--text-dark); }
.step-card__desc  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ─── FEATURES GRID ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s var(--ease-spring), background .25s, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.08);
}

.feature-card__title { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.feature-card__desc  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ─── PROGRAMS SECTION ──────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: default;
}
.program-badge:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(41,181,232,.15);
  transform: translateY(-2px);
}

.program-badge__initials {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.program-badge__name { font-size: .82rem; color: var(--text-mid); line-height: 1.3; }

.programs-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  color: var(--text-muted);
}
.programs-more .btn--outline {
  border-color: var(--navy-light);
  color: var(--navy);
}
.programs-more .btn--outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(41,181,232,.05); }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.review-card__stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-card__text  { font-size: .92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__name { display: block; font-weight: 600; font-size: .9rem; color: var(--text-dark); }
.review-card__city { display: block; font-size: .8rem; color: var(--text-muted); }

/* ─── CTA SECTION ───────────────────────────────────────── */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1A2D42 40%, var(--navy-dark) 100%);
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
  padding-block: var(--section-v);
  overflow: hidden;
}
.cta-section__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(41,181,232,.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(41,181,232,.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 80% 20%, rgba(41,181,232,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 80%, rgba(41,181,232,.5) 0%, transparent 100%);
  animation: particleFloat 15s ease-in-out infinite;
}
.cta-section__inner { position: relative; text-align: center; }
.cta-section__title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 14px; }
.cta-section__sub   { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 36px; }

/* ─── PAGE HERO ─────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, var(--navy-dark) 100%);
  padding: calc(var(--nav-h) + 60px) 0 70px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0H0z' fill='rgba(255,255,255,.015)'/%3E%3C/svg%3E") repeat;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(41,181,232,.08) 0%, transparent 60%);
}
.page-hero__content {
  position: relative;
  text-align: center;
}
.page-hero__breadcrumb {
  display: inline-block;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  margin-bottom: 16px;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
  max-width: 780px;
  margin-inline: auto;
}
.page-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin-inline: auto;
}

/* ─── TWO-COL GRID ──────────────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-grid__text p { margin-bottom: 16px; color: var(--text-mid); }
.two-col-grid__text p:last-child { margin-bottom: 0; }

.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  color: var(--text-mid);
}
.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(41,181,232,.12);
  border: 1.5px solid var(--teal);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%2300c9b1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Benefit highlight */
.benefit-card-stack {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.benefit-highlight {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.benefit-highlight--alt { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-color: transparent; }
.benefit-highlight--alt .benefit-highlight__label { color: rgba(255,255,255,.7); }
.benefit-highlight--alt .benefit-highlight__price  { color: var(--teal); }
.benefit-highlight__icon { font-size: 1.8rem; }
.benefit-highlight__label { display: block; font-size: .8rem; color: var(--text-muted); margin-bottom: 4px; }
.benefit-highlight__price { display: block; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; }
.vs-divider {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .85rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-highlight__note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ─── TIMELINE ──────────────────────────────────────────── */
.timeline {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 36px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:not(:last-child) .timeline__marker::after {
  content: '';
  position: absolute;
  top: 56px;
  left: 27px;
  width: 2px;
  height: calc(100% - 56px);
  background: linear-gradient(to bottom, var(--gold), rgba(41,181,232,.1));
}
.timeline__marker {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(41,181,232,.35);
}
.timeline__title { font-size: 1.05rem; color: var(--white); margin-bottom: 8px; margin-top: 12px; }
.timeline__desc  { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ─── PROGRAMS DETAILED ─────────────────────────────────── */
.programs-detailed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.program-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s, transform .2s;
}
.program-item:hover { border-color: var(--gold); transform: translateY(-2px); }

.program-item__type {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.program-item__type--airline      { background: rgba(0,91,170,.1); color: #005baa; }
.program-item__type--credit-card  { background: rgba(41,181,232,.12); color: var(--gold-dark); }
.program-item__type--hotel        { background: rgba(41,181,232,.1); color: #1A8FBB; }

.program-item__name { font-size: .88rem; font-weight: 600; color: var(--text-dark); }
.program-item__note { font-size: .78rem; color: var(--text-muted); }

.program-item__rate { font-weight: 600; }
.rate--top  { color: var(--gold-dark) !important; }
.rate--good { color: var(--teal) !important; }

/* ─── VALUE PROPS ───────────────────────────────────────── */
.value-props-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
}
.value-prop {
  text-align: center;
  padding: 16px;
}
.value-prop__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.value-prop__title { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.value-prop__desc { font-size: .85rem; color: rgba(255,255,255,.6); }

/* ─── SELL STEPS ────────────────────────────────────────── */
.sell-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
  margin-inline: auto;
}
.sell-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.sell-step:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(41,181,232,.12); }
.sell-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sell-step__title { font-size: 1rem; color: var(--text-dark); margin-bottom: 8px; }
.sell-step__desc  { font-size: .9rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 10px; }
.sell-step__note  { font-size: .8rem; color: var(--text-muted); font-style: italic; }

/* ─── PAYMENT CARDS ─────────────────────────────────────── */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.payment-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: background .25s, transform .25s;
}
.payment-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.payment-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.payment-card__title { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.payment-card__desc  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 16px; }
.payment-card__badge {
  display: inline-block;
  background: rgba(41,181,232,.2);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.payment-card__badge--teal { background: rgba(41,181,232,.2); color: var(--teal); }

/* ─── INFO BOX ──────────────────────────────────────────── */
.info-box {
  background: rgba(41,181,232,.05);
  border: 1px solid rgba(41,181,232,.2);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  max-width: 860px;
  margin-inline: auto;
}
.info-box__title {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.info-box p { font-size: .9rem; color: var(--text-mid); line-height: 1.75; }

/* ─── CARD SHOWCASE (Best Cards) ────────────────────────── */
.card-categories { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 0; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all .2s;
}
.cat-pill:hover, .cat-pill.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.cards-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-showcase {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.card-showcase:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.card-showcase__header {
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-showcase__header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.card-showcase__badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}
.card-showcase__name { font-size: 1rem; color: var(--white); margin-bottom: 12px; }
.card-showcase__welcome { display: flex; align-items: center; gap: 12px; }
.card-showcase__miles {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
}
.card-showcase__miles-label { font-size: .78rem; color: rgba(255,255,255,.75); line-height: 1.4; }

.card-showcase__body { padding: 24px; background: var(--white); }
.card-showcase__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.card-meta-item { display: flex; flex-direction: column; gap: 2px; }
.card-meta-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.card-meta-val   { font-size: .9rem; font-weight: 600; color: var(--text-dark); }

.card-showcase__pros {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-showcase__pros li {
  font-size: .83rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 7px;
}
.card-showcase__pros li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: .75rem;
  flex-shrink: 0;
}

/* ─── TIPS GRID ─────────────────────────────────────────── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tip-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background .2s;
}
.tip-card:hover { background: rgba(255,255,255,.08); }
.tip-card__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-card__title  { font-size: .95rem; color: var(--white); margin-bottom: 6px; }
.tip-card__detail { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ─── BALANCE CARDS ─────────────────────────────────────── */
.balance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.balance-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.balance-card:hover {
  border-color: var(--program-color, var(--gold));
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.balance-card__abbr {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.balance-card__name  { font-size: .82rem; font-weight: 500; color: var(--text-dark); flex: 1; line-height: 1.35; }
.balance-card__arrow { color: var(--text-muted); flex-shrink: 0; }
.balance-card:hover .balance-card__arrow { color: var(--gold); }

/* ─── PROGRAM LOGO GRID (Check Balance) ─────────────────── */
.programs-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.program-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  min-height: 90px;
  text-align: center;
}
.program-logo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(41,181,232,.15);
  transform: translateY(-3px);
}
.program-logo-card img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
.program-logo-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
}

/* ─── NEXT STEPS ────────────────────────────────────────── */
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.next-step-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.next-step-card__icon  { font-size: 2.4rem; }
.next-step-card__title { font-size: 1.05rem; color: var(--white); }
.next-step-card__desc  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-container { max-width: 800px; }
.faq-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.faq-cat-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all .2s;
}
.faq-cat-btn:hover, .faq-cat-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
}

.faq-group { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: var(--gold); box-shadow: 0 4px 20px rgba(41,181,232,.12); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color .2s;
}
.faq-question:hover { color: var(--navy-light); }
.faq-item.open .faq-question { color: var(--gold-dark); }

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .3s var(--ease-spring);
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--gold); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-out-quad);
}
.faq-answer.open { max-height: 400px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: .91rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.faq-contact-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  color: var(--text-muted);
}
.faq-contact-prompt .btn--outline {
  border-color: var(--navy-light);
  color: var(--navy);
}
.faq-contact-prompt .btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── ABOUT PAGE ────────────────────────────────────────── */
.about-stats-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.about-stat { text-align: center; }
.about-stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.about-stat__label { font-size: .85rem; color: rgba(255,255,255,.7); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background .25s, transform .25s;
}
.value-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.value-card__icon  { font-size: 2rem; margin-bottom: 14px; display: block; }
.value-card__title { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.value-card__desc  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* Trust bars */
.trust-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
  margin-inline: auto;
}
.trust-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.trust-item__label { font-size: .9rem; font-weight: 500; color: var(--text-mid); }
.trust-item__pct   { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; }
.trust-item__bar {
  height: 10px;
  background: var(--light-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.trust-item__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 1.5s cubic-bezier(.17,.67,.35,1) .3s;
}
.trust-item__fill--teal {
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
}
.trust-item.animated .trust-item__fill { width: var(--fill); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.team-card__name { font-size: 1rem; color: var(--text-dark); margin-bottom: 4px; }
.team-card__role { display: block; font-size: .8rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 12px; }
.team-card__desc { font-size: .83rem; color: var(--text-muted); line-height: 1.65; }

/* ─── CONTACT PAGE ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-form-wrap__title { font-size: 1.5rem; margin-bottom: 8px; color: var(--text-dark); }
.contact-form-wrap__sub   { color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: .93rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(37,61,86,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-form .form-group { margin-bottom: 0; }
.contact-form > .form-group { margin-bottom: 20px; }

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

.contact-submit-btn { margin-top: 8px; position: relative; }
.btn-loading { display: none; }
.contact-submit-btn.loading .btn-text    { display: none; }
.contact-submit-btn.loading .btn-loading { display: inline; }

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  display: none;
}
.form-status.success { display: block; background: rgba(41,181,232,.1); border: 1px solid rgba(41,181,232,.3); color: #1A8FBB; }
.form-status.error   { display: block; background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.2); color: #b91c1c; }

.contact-quote-note {
  margin-top: 20px;
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
}
.text-gold { color: var(--gold-dark); font-weight: 600; }

/* Contact Sidebar */
.contact-info-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.contact-info-card__title { font-size: 1.1rem; color: var(--white); margin-bottom: 24px; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item__label { display: block; font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.contact-info-item__value {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
  transition: color .2s;
}
a.contact-info-item__value:hover { color: var(--gold); }

.contact-response-promise {
  background: rgba(41,181,232,.06);
  border: 1px solid rgba(41,181,232,.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-response-promise__icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-response-promise h4 { font-size: .95rem; color: var(--text-dark); margin-bottom: 6px; }
.contact-response-promise p  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.contact-quote-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-quote-cta p { font-size: .85rem; color: var(--text-muted); }

/* ─── MAP ───────────────────────────────────────────────── */
.section--map { padding-block: 0 56px; }

.map-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
    border: 1px solid var(--border);
    line-height: 0;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 640px) {
    .map-wrap iframe { height: 280px; }
}

/* ─── LOOK NO FURTHER ───────────────────────────────────── */
.look-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.look-heading__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--navy-dark);
}
.look-heading__rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--teal);
  margin-top: 20px;
}
.look-col { display: flex; flex-direction: column; gap: 24px; }
.look-col--b { margin-top: 64px; } /* staggered offset, matches original layout */
.look-col p { color: var(--text-mid); line-height: 1.75; font-size: .98rem; }
.look-col p strong { color: var(--navy-dark); }

/* Image frame — entrance zoom handled by .animate-zoom-in; hover adds a
   gentle Ken-Burns-style zoom on the image inside the clipped frame. */
.look-media {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.look-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out-quad);
}
.look-media:hover img { transform: scale(1.06); }

/* Scroll-in zoom entrance (added to the observer in main.js) */
.animate-zoom-in {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s ease, transform .7s var(--ease-out-quad);
  will-change: opacity, transform;
}
.animate-zoom-in.in-view { opacity: 1; transform: scale(1); }

@media (max-width: 1024px) {
  .look-grid { grid-template-columns: 1fr 1fr; }
  .look-heading { grid-column: 1 / -1; }
  .look-col--b { margin-top: 0; }
}
@media (max-width: 680px) {
  .look-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer { background: var(--navy-dark); }

.footer-top { padding-block: 32px 24px; }

.footer-top .container,
.footer-bottom .container {
  max-width: 1440px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

/* All four columns share one fixed width, sized to fit "milesflipper@gmail.com"
   on a single line — the address (longer than the email) wraps to 2 lines
   instead of forcing the Get in Touch column wider than the rest. */
.footer-col {
  flex: 0 0 220px;
  width: 220px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo span { line-height: 1; }
.footer-logo__img { height: 70px; width: auto; max-width: 220px; object-fit: contain; display: block; }

.footer-tagline {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 100%;
}

.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.social-icon:hover { background: rgba(41,181,232,.15); color: var(--gold); border-color: rgba(41,181,232,.3); }

.footer-col__title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links li a:hover { color: var(--gold); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-contact-list li svg { flex-shrink: 0; color: var(--gold); }
.footer-contact-list li a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-contact-list li a:hover { color: var(--gold); }

.footer-cta-btn { margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 16px;
}
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-copy {
  font-size: .83rem;
  color: rgba(255,255,255,.4);
}
.footer-copy a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-copy a:hover { color: var(--gold); }
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,.25); max-width: 100%; line-height: 1.6; }

/* ─── PROSE (generic content) ───────────────────────────── */
.prose h2 { font-size: 1.6rem; margin-bottom: 16px; margin-top: 32px; }
.prose p  { margin-bottom: 16px; }

/* ─── ANIMATION CLASSES ─────────────────────────────────── */
.animate-fade-up,
.animate-fade-in,
.animate-slide-right,
.animate-slide-left {
  opacity: 0;
  transition: opacity .65s var(--ease-out-quad), transform .65s var(--ease-out-quad);
}
.animate-fade-up    { transform: translateY(32px); }
.animate-fade-in    { transform: none; }
.animate-slide-right{ transform: translateX(40px); }
.animate-slide-left { transform: translateX(-40px); }

.animate-fade-up.in-view,
.animate-fade-in.in-view,
.animate-slide-right.in-view,
.animate-slide-left.in-view {
  opacity: 1;
  transform: none;
}

.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ─── RESPONSIVE ────────────────────────────────────────── */

/* ─── RESPONSIVE BREAKPOINTS ────────────────────────────── */

/* 1350px — tighten nav spacing for mid-size laptops */
@media (max-width: 1350px) {
  .nav-item a { padding: 7px 9px; font-size: .82rem; }
  .nav-menu { gap: 2px; }
  .nav-cta { margin-left: 8px; padding: 10px 18px; font-size: .85rem; }
  .nav-container { gap: 16px; }
}

/* 1200px — large tablets / small laptops */
@media (max-width: 1200px) {
  .programs-grid,
  .programs-detailed-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-showcase { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  /* Footer stays 4 columns down to 900px */
}

/* 1100px — Nav switches to hamburger (covers iPad Pro landscape + medium laptops) */
@media (max-width: 1100px) {
  .site-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero: single column — card hidden, text takes full width */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 60px 40px;
    text-align: left;
  }
  .hero__title { font-size: 2.6rem; }
  .hero__subtitle { max-width: 100%; }
  .hero__visual { display: none; }
}

/* 1024px — footer switches from 4 columns to a 2×2 grid.
   Four fixed 220px columns need ~980px+ of usable width; below that the
   flex row overflows and the last column (Get in Touch) gets clipped.
   Switching at 1024px keeps 4 columns only where they genuinely fit. */
@media (max-width: 1024px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }
  /* The desktop fixed 220px column width doesn't fit 2-up on narrow
     screens — let every column fill its grid cell instead. */
  .footer-col,
  .footer-col--brand { width: 100%; max-width: 100%; flex: none; }
}

/* 1024px — layout adjustments for tablets */
@media (max-width: 1024px) {
  :root { --section-v: 72px; }
  .hero__title { font-size: 2.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-connector { display: none; }
  .steps-grid .step-card + .step-card { margin-top: 16px; }
  .two-col-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-props-row { grid-template-columns: repeat(2, 1fr); }
  .balance-grid { grid-template-columns: repeat(3, 1fr); }
  .programs-logo-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: -1; }
  .next-steps-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; gap: 16px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px — mobile layout */
@media (max-width: 768px) {
  :root { --section-v: 56px; --nav-h: 64px; }

  /* Hero */
  .hero__title { font-size: 2rem; }
  .hero__badge { font-size: .75rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__trust { gap: 12px; }
  .trust-badge { font-size: .75rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-detailed-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cards-showcase { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .balance-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .about-stats-box { grid-template-columns: 1fr 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  /* Footer: tighter padding + 2×2 grid */
  .footer-top { padding-block: 24px 20px; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .value-props-row { grid-template-columns: 1fr 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .programs-more { flex-direction: column; text-align: center; }
  .hero__scroll { display: none; }
  .faq-contact-prompt { flex-direction: column; }
}

/* 600px — smaller tablets / large phones */
@media (max-width: 600px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .value-props-row { grid-template-columns: 1fr; }
  .about-stats-box { grid-template-columns: 1fr 1fr; }

  /* Footer: 2×2 — brand top-left | services top-right | contact bottom-left | company bottom-right */
  .footer-top { padding-block: 28px 20px; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer-col--brand      { grid-column: 1; grid-row: 1; }
  .footer-col:nth-child(3) { grid-column: 2; grid-row: 2; }
  .footer-col:last-child  { grid-column: 1; grid-row: 2; }

  /* Tighten brand content */
  .footer-logo { margin-bottom: 8px; }
  .footer-tagline {
    font-size: .8rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .footer-social { gap: 7px; }
  .social-icon { width: 30px; height: 30px; }

  /* Tighten link columns */
  .footer-col__title { margin-bottom: 8px; font-size: .76rem; }
  .footer-links { gap: 6px; }
  .footer-links li a { font-size: .81rem; }

  /* Tighten contact section */
  .footer-contact-list { gap: 8px; margin-bottom: 12px; }
  .footer-contact-list li { font-size: .81rem; gap: 7px; }

  /* Footer bottom */
  .footer-bottom { padding-block: 14px; }
  .footer-copy { font-size: .76rem; }
  .footer-disclaimer { font-size: .68rem; }
}

/* 480px — phones */
@media (max-width: 480px) {
  .programs-grid { grid-template-columns: 1fr; }
  .programs-detailed-grid { grid-template-columns: 1fr; }
  .balance-grid { grid-template-columns: 1fr; }
  .programs-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .about-stats-box { grid-template-columns: 1fr; }
  .value-props-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero__trust { flex-direction: column; }
  .footer-bottom__inner { gap: 12px; }
  /* Hide card on very small phones — not enough room */
  .hero__visual { display: none; }
  .hero__inner { padding-bottom: 48px; }
}
