/* ═══════════════════════════════════════════════════
   CreditBoosters USA — Design System
   Brand Brief: "Scholarly warmth, career momentum, trustworthy guidance"
   Palette: Burnt Sienna + Deep Teal + Golden Amber
   Fonts: Fraunces (display serif) + Figtree (modern sans)
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;0,9..144,900;1,9..144,400&family=Figtree:wght@300;400;500;600;700&display=swap');

/* ── Tokens ───────────────────────────────────────── */
:root {
  /* Color Palette */
  --clr-sienna:        #B85C1E;
  --clr-sienna-light:  #D4792F;
  --clr-sienna-dark:   #8E4515;
  --clr-teal:          #234E52;
  --clr-teal-light:    #2D6A6F;
  --clr-teal-dark:     #1A3C40;
  --clr-amber:         #F0B429;
  --clr-amber-light:   #F5C754;
  --clr-charcoal:      #1C1917;
  --clr-ivory:         #FFFBF5;
  --clr-pearl:         #F5F0EB;
  --clr-white:         #FFFFFF;
  --clr-text:          #2D2D2D;
  --clr-muted:         #6B7280;
  --clr-border:        #E5DDD4;
  --clr-success:       #15803D;
  --clr-danger:        #DC2626;

  /* Gradients */
  --grad-hero:         linear-gradient(135deg, rgba(184,92,30,.88), rgba(35,78,82,.82));
  --grad-brand:        linear-gradient(135deg, #B85C1E 0%, #F0B429 100%);
  --grad-teal:         linear-gradient(135deg, #234E52 0%, #2D6A6F 100%);
  --grad-card-hover:   linear-gradient(145deg, rgba(184,92,30,.06), rgba(240,180,41,.06));

  /* Typography */
  --ff-display:  'Fraunces', Georgia, serif;
  --ff-body:     'Figtree', 'Segoe UI', sans-serif;
  --fs-xs:       .75rem;
  --fs-sm:       .875rem;
  --fs-base:     1rem;
  --fs-md:       1.125rem;
  --fs-lg:       1.25rem;
  --fs-xl:       1.5rem;
  --fs-2xl:      2rem;
  --fs-3xl:      2.5rem;
  --fs-4xl:      3.25rem;
  --fs-hero:     4rem;

  /* Spacing */
  --sp-xs:   .25rem;
  --sp-sm:   .5rem;
  --sp-md:   1rem;
  --sp-lg:   1.5rem;
  --sp-xl:   2rem;
  --sp-2xl:  3rem;
  --sp-3xl:  4rem;
  --sp-4xl:  6rem;
  --sp-sec:  5rem;

  /* Radius */
  --r-sm:    6px;
  --r-md:    10px;
  --r-lg:    16px;
  --r-xl:    24px;
  --r-full:  9999px;

  /* Shadows */
  --sh-sm:     0 1px 3px rgba(28,25,23,.08);
  --sh-md:     0 4px 12px rgba(28,25,23,.1);
  --sh-lg:     0 8px 30px rgba(28,25,23,.12);
  --sh-xl:     0 16px 48px rgba(28,25,23,.16);
  --sh-glow:   0 0 30px rgba(184,92,30,.2);
  --sh-teal:   0 0 30px rgba(35,78,82,.15);

  /* Transitions */
  --tr-fast:   .18s ease;
  --tr-base:   .3s ease;
  --tr-slow:   .5s ease;

  /* Layout */
  --max-w:     1200px;
  --max-w-lg:  1400px;
  --nav-h:     72px;
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-ivory);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr-fast); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--ff-display); line-height: 1.25; color: var(--clr-charcoal); }

/* ── Utility ──────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-lg); }
.container-lg { width: 100%; max-width: var(--max-w-lg); margin: 0 auto; padding: 0 var(--sp-lg); }
.section { padding: var(--sp-sec) 0; }
.section-alt { background: var(--clr-pearl); }
.section-dark { background: var(--clr-teal-dark); color: var(--clr-ivory); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--clr-ivory); }
.text-center { text-align: center; }
.text-muted { color: var(--clr-muted); }
.text-sienna { color: var(--clr-sienna); }
.text-teal { color: var(--clr-teal); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--sp-3xl); }
.section-header h2 { font-size: var(--fs-3xl); font-weight: 700; margin-bottom: var(--sp-md); }
.section-header p { font-size: var(--fs-md); color: var(--clr-muted); line-height: 1.8; }
.section-tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--clr-sienna);
  background: rgba(184,92,30,.08);
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-md);
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: .8rem 1.6rem;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all var(--tr-base);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: var(--clr-white);
  box-shadow: var(--sh-md), 0 0 0 0 rgba(184,92,30,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-lg), var(--sh-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--clr-sienna);
  border: 2px solid var(--clr-sienna);
}
.btn-secondary:hover {
  background: rgba(184,92,30,.08);
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--grad-teal);
  color: var(--clr-white);
  box-shadow: var(--sh-md);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-lg), var(--sh-teal);
}
.btn-light {
  background: rgba(255,255,255,.15);
  color: var(--clr-white);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ── Navbar ───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,251,245,.75);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid rgba(229,221,212,.5);
  transition: box-shadow var(--tr-base);
}
.navbar.scrolled { box-shadow: var(--sh-md); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--clr-teal-dark);
}
.nav-brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: var(--sp-xl); }
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  position: relative;
  padding: var(--sp-xs) 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: width var(--tr-base);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--clr-sienna); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: var(--sp-sm); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-charcoal);
  margin: 5px 0;
  transition: all var(--tr-base);
  border-radius: 2px;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--clr-white);
  padding: var(--sp-4xl) 0;
}
.hero-content h1 {
  font-size: var(--fs-hero);
  font-weight: 900;
  color: var(--clr-white);
  margin-bottom: var(--sp-lg);
  line-height: 1.1;
}
.hero-content h1 span {
  background: linear-gradient(90deg, var(--clr-amber), var(--clr-amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: var(--fs-lg);
  opacity: .9;
  margin-bottom: var(--sp-2xl);
  line-height: 1.8;
}
.hero-actions { display: flex; gap: var(--sp-md); flex-wrap: wrap; }

/* ── Stats Bar ────────────────────────────────────── */
.stats-bar {
  background: var(--clr-teal-dark);
  padding: var(--sp-2xl) 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(240,180,41,.08);
  border-radius: 50%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
}
.stat-item { text-align: center; color: var(--clr-ivory); }
.stat-number {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--clr-amber);
  margin-bottom: var(--sp-xs);
}
.stat-label {
  font-size: var(--fs-sm);
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Cards ────────────────────────────────────────── */
.card {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--clr-border);
  transition: all var(--tr-base);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--tr-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(184,92,30,.2);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px;
  background: rgba(184,92,30,.08);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--sp-lg);
  transition: background var(--tr-base);
}
.card:hover .card-icon { background: rgba(184,92,30,.14); }
.card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-sm);
  font-weight: 700;
}
.card p { color: var(--clr-muted); line-height: 1.75; }

.card-grid { display: grid; gap: var(--sp-xl); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Glass card variant */
.card-glass {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5);
}

/* Teal card variant */
.card-teal {
  background: var(--clr-teal-dark);
  color: var(--clr-ivory);
  border-color: rgba(45,106,111,.3);
}
.card-teal h3, .card-teal h4 { color: var(--clr-ivory); }
.card-teal p { color: rgba(245,240,235,.7); }
.card-teal .card-icon { background: rgba(240,180,41,.15); }

/* ── Steps / Timeline ────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  counter-reset: steps;
}
.step {
  text-align: center;
  counter-increment: steps;
  position: relative;
  padding-top: var(--sp-3xl);
}
.step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--clr-sienna);
  opacity: .2;
}
.step-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--sp-lg);
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-white);
  box-shadow: var(--sh-md), var(--sh-glow);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-sm); }
.step p { color: var(--clr-muted); font-size: var(--fs-sm); }

/* ── About (Split Layout) ────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}
.about-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  position: relative;
}
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 2px solid rgba(184,92,30,.15);
}
.about-text h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-lg); }
.about-text p { margin-bottom: var(--sp-md); color: var(--clr-muted); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); margin-top: var(--sp-3xl); }
.team-card {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--clr-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--clr-border);
  transition: all var(--tr-base);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--sp-md);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--clr-white);
  font-family: var(--ff-display);
  font-weight: 700;
}
.team-card h4 { font-size: var(--fs-md); margin-bottom: var(--sp-xs); }
.team-role { font-size: var(--fs-sm); color: var(--clr-sienna); font-weight: 600; margin-bottom: var(--sp-sm); }
.team-card p { font-size: var(--fs-sm); color: var(--clr-muted); }

/* ── Communication Transparency ──────────────────── */
.comm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}
.comm-card {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-sienna);
}
.comm-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-md); color: var(--clr-teal-dark); }
.comm-card ul { padding-left: 0; }
.comm-card li {
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid rgba(229,221,212,.4);
  font-size: var(--fs-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
}
.comm-card li:last-child { border-bottom: none; }
.comm-check { color: var(--clr-success); font-weight: bold; flex-shrink: 0; }

/* ── CTA Section ──────────────────────────────────── */
.cta-section {
  background: var(--grad-brand);
  padding: var(--sp-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cta-section h2 {
  font-size: var(--fs-3xl);
  color: var(--clr-white);
  margin-bottom: var(--sp-md);
}
.cta-section p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.85);
  margin-bottom: var(--sp-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ───────────────────────────────────────── */
.footer {
  background: var(--clr-charcoal);
  color: rgba(245,240,235,.7);
  padding: var(--sp-4xl) 0 var(--sp-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}
.footer-brand h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  color: var(--clr-ivory);
  margin-bottom: var(--sp-md);
}
.footer-brand p { font-size: var(--fs-sm); line-height: 1.8; margin-bottom: var(--sp-sm); }
.footer h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--clr-ivory);
  margin-bottom: var(--sp-lg);
}
.footer ul li { margin-bottom: var(--sp-sm); }
.footer ul a {
  font-size: var(--fs-sm);
  transition: color var(--tr-fast);
}
.footer ul a:hover { color: var(--clr-amber); }
.footer-bottom {
  border-top: 1px solid rgba(245,240,235,.1);
  padding-top: var(--sp-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
}

/* ── Cookie Banner ────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
  padding: var(--sp-lg) var(--sp-xl);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  font-size: var(--fs-sm);
  border-top: 2px solid var(--clr-sienna);
  transform: translateY(0);
  transition: transform var(--tr-slow);
}
.cookie-banner.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner a { color: var(--clr-amber); text-decoration: underline; }
.cookie-accept {
  background: var(--clr-sienna);
  color: var(--clr-white);
  border: none;
  padding: var(--sp-sm) var(--sp-lg);
  border-radius: var(--r-full);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background var(--tr-fast);
  white-space: nowrap;
}
.cookie-accept:hover { background: var(--clr-sienna-light); }

/* ── Legal Pages ──────────────────────────────────── */
.legal-hero {
  background: var(--clr-teal-dark);
  padding: calc(var(--nav-h) + var(--sp-3xl)) 0 var(--sp-3xl);
  text-align: center;
}
.legal-hero h1 {
  font-size: var(--fs-3xl);
  color: var(--clr-ivory);
  margin-bottom: var(--sp-sm);
}
.legal-hero .legal-date {
  font-size: var(--fs-sm);
  color: rgba(245,240,235,.6);
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-lg);
}
.legal-content h2 {
  font-size: var(--fs-2xl);
  margin: var(--sp-3xl) 0 var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--clr-border);
  color: var(--clr-teal-dark);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content h3 { font-size: var(--fs-xl); margin: var(--sp-xl) 0 var(--sp-md); }
.legal-content p { margin-bottom: var(--sp-md); line-height: 1.85; }
.legal-content ul, .legal-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}
.legal-content li { margin-bottom: var(--sp-sm); line-height: 1.75; }
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content a { color: var(--clr-sienna); text-decoration: underline; }
.legal-content a:hover { color: var(--clr-sienna-dark); }
.legal-content strong { color: var(--clr-charcoal); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-sienna);
  margin-bottom: var(--sp-xl);
}
.back-link:hover { color: var(--clr-sienna-dark); }

/* ── Contact Page ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}
.contact-card {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  border: 1px solid var(--clr-border);
}
.contact-card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-md); }

/* ── Notification Preferences ────────────────────── */
.pref-category {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-lg);
  border: 1px solid var(--clr-border);
}
.pref-category h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-md); }
.pref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid rgba(229,221,212,.4);
}
.pref-item:last-child { border-bottom: none; }
.pref-toggle {
  width: 44px; height: 24px;
  background: var(--clr-border);
  border-radius: var(--r-full);
  position: relative;
  cursor: pointer;
  transition: background var(--tr-fast);
  flex-shrink: 0;
}
.pref-toggle.active { background: var(--clr-success); }
.pref-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: var(--clr-white);
  border-radius: 50%;
  transition: transform var(--tr-fast);
  box-shadow: var(--sh-sm);
}
.pref-toggle.active::after { transform: translateX(20px); }
.pref-locked {
  font-size: var(--fs-xs);
  color: var(--clr-muted);
  background: var(--clr-pearl);
  padding: var(--sp-xs) var(--sp-sm);
  border-radius: var(--r-sm);
}

/* ── 404 Page ─────────────────────────────────────── */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-4xl) var(--sp-lg);
  background: var(--clr-ivory);
}
.page-404 h1 {
  font-size: 8rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-md);
}
.page-404 h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-lg); }
.page-404 p { color: var(--clr-muted); margin-bottom: var(--sp-2xl); max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Scroll Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Trust cards (2x2) ────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-xl); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --fs-hero: 2.5rem;
    --fs-3xl: 2rem;
    --fs-2xl: 1.5rem;
    --sp-sec: 3.5rem;
    --nav-h: 64px;
  }
  .nav-links { 
    display: none; 
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,251,245,.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: var(--sp-xl);
    gap: var(--sp-md);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--sh-lg);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }

  .about-grid, .comm-grid, .contact-grid, .trust-grid { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .footer-bottom { flex-direction: column; gap: var(--sp-sm); text-align: center; }

  .hero { min-height: 80vh; }
  .hero-content { padding: var(--sp-2xl) 0; }
  .hero-actions { flex-direction: column; }

  .cookie-banner { flex-direction: column; text-align: center; gap: var(--sp-md); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
