/* ══════════════════════════════════════════════════
   HOPE & COMFORT HEALTH CARE — Design System v2
   ══════════════════════════════════════════════════ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  --navy:       #10367D;
  --navy-dark:  #0b2560;
  --navy-90:    rgba(16,54,125,.9);
  --sky:        #2FB3F6;
  --sky-dark:   #1a9fd8;
  --sky-light:  #e8f6fe;
  --leaf:       #BDC264;
  --leaf-dark:  #a5ab50;
  --leaf-light: #f4f6e6;
  --white:      #FFFFFF;
  --grey-50:    #f8f9fb;
  --grey-100:   #edf0f4;
  --grey-200:   #d1d9e4;
  --grey-400:   #8a96a8;
  --grey-600:   #4b5569;
  --grey-900:   #0f1724;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.18);

  --ease:    cubic-bezier(.4,0,.2,1);
  --ease-in: cubic-bezier(.4,0,1,1);
  --ease-out:cubic-bezier(0,0,.2,1);
  --dur:     .28s;

  --max-w: 1200px;
  --nav-h: 76px;
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.025em;  /* tracking -10 per brand guide */
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: inherit; }

/* ── 3. TYPOGRAPHY ── */
/*
  Primary:   Coco Sharp (Black/Bold = headlines ≤8 words; Regular/Light = subheadings)
  Secondary: Montserrat (Regular = body copy, tracking -10; Bold/ExtraBold = alt headlines)
  Body min:  14px (~11pt). Tracking: letter-spacing -.025em on body.
  Fallback:  Montserrat covers web delivery when Coco Sharp is unavailable.
*/
h1, h2, h3, h4, h5 {
  font-family: 'Coco Sharp', 'Montserrat', sans-serif;
  line-height: 1.15;
  color: var(--grey-900);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem);      font-weight: 900; letter-spacing: -.025em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
h5 { font-size: .82rem;  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.gradient-text {
  background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-white  { color: var(--white) !important; }
.text-navy   { color: var(--navy) !important; }
.text-sky    { color: var(--sky)  !important; }
.text-leaf   { color: var(--leaf) !important; }
.text-muted  { color: var(--grey-600) !important; }
.text-center { text-align: center; }

/* ── 4. LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}
.section      { padding: 6rem 0; }
.section-sm   { padding: 4rem 0; }
.section-lg   { padding: 8rem 0; }
.section-dark { background: var(--navy); }
.section-alt  { background: var(--grey-50); }
.section-sky  { background: var(--sky-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr;           gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr);    gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr);    gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { flex-direction: column; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--r-full);
  font-family: 'Montserrat', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.0);
  transition: background var(--dur) var(--ease);
  border-radius: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sky);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(47,179,246,.4);
}
.btn-primary:hover {
  background: var(--sky-dark);
  box-shadow: 0 8px 28px rgba(47,179,246,.5);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(16,54,125,.3);
}
.btn-navy:hover {
  background: var(--navy-dark);
  box-shadow: 0 8px 28px rgba(16,54,125,.4);
}

.btn-ghost-white {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.8);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-leaf {
  background: var(--leaf);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(189,194,100,.4);
}
.btn-leaf:hover {
  background: var(--leaf-dark);
  box-shadow: 0 8px 28px rgba(189,194,100,.5);
}

.btn-sm { padding: .6rem 1.4rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── 6. BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-sky  { background: var(--sky-light); color: var(--sky-dark); }
.badge-leaf { background: var(--leaf-light); color: var(--leaf-dark); }
.badge-navy { background: rgba(16,54,125,.1); color: var(--navy); }
.badge-white{ background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.25); }

/* ── 7. SECTION HEADINGS ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
}
.section-label.light { color: var(--leaf); }
.section-label.light::before { background: var(--leaf); }

.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { margin-bottom: .75rem; }
.section-head p  { color: var(--grey-600); font-size: 1.05rem; }

/* ── 8. NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.navbar.scrolled {
  border-color: var(--grey-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo img { height: 50px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .45rem .9rem;
  border-radius: var(--r-full);
  font-size: .88rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: color var(--dur), background var(--dur);
}
.nav-links a:hover  { color: var(--navy); background: var(--grey-50); }
.nav-links a.active { color: var(--navy); font-weight: 600; background: var(--sky-light); }
.nav-links a.nav-cta {
  margin-left: .5rem;
  padding: .5rem 1.4rem;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--sky); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-xs);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--dur) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 9. HOME HERO ── */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2FB3F6 0%, transparent 70%);
  top: -150px; right: -100px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #BDC264 0%, transparent 70%);
  bottom: -50px; left: 20%;
  opacity: .3;
  animation-delay: 3s;
}
.hero-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #2FB3F6 0%, transparent 70%);
  top: 40%; left: 10%;
  opacity: .2;
  animation-delay: 5s;
}
@keyframes blobFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,-40px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.hero-text .badge { margin-bottom: 1.5rem; }
.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.4rem;
  line-height: 1.1;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--sky);
}
.hero-text p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2.4rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: .2rem;
}

/* Hero right visual card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  color: var(--white);
}
.hero-card-icon {
  width: 44px; height: 44px;
  background: var(--sky);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.hero-card h4 { color: var(--white); margin-bottom: .4rem; font-size: 1rem; }
.hero-card p  { color: rgba(255,255,255,.65); font-size: .85rem; line-height: 1.6; }
.hero-card-row {
  display: flex;
  gap: 1rem;
}
.hero-card-row .hero-card { flex: 1; }

/* ── 10. INNER PAGE HERO ── */
.page-hero {
  position: relative;
  background: var(--navy-dark);
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(47,179,246,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(189,194,100,.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  transition: color var(--dur);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.25); font-size: .75rem; }
.breadcrumb-cur { font-size: .82rem; color: var(--leaf); font-weight: 600; }

.page-hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.2rem;
}
.page-hero p.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 580px;
  line-height: 1.8;
}
.page-hero-bottom {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Angled bottom divider */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero.dark-next::after { background: var(--grey-50); }

/* ── 11. HOME BENTO GRID ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
}
.bento-cell {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--grey-100);
  transition: box-shadow var(--dur), transform var(--dur);
  overflow: hidden;
  position: relative;
}
.bento-cell:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.bento-wide  { grid-column: span 8; }
.bento-narrow{ grid-column: span 4; }
.bento-half  { grid-column: span 6; }
.bento-third { grid-column: span 4; }
.bento-full  { grid-column: span 12; }

.bento-dark {
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
}
.bento-sky {
  background: var(--sky);
  border-color: transparent;
  color: var(--white);
}
.bento-leaf {
  background: var(--leaf);
  border-color: transparent;
  color: var(--navy);
}

/* ── 12. CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  transition: box-shadow var(--dur), transform var(--dur);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.card-icon-navy  { background: rgba(16,54,125,.1); color: var(--navy); }
.card-icon-sky   { background: var(--sky-light);   color: var(--sky); }
.card-icon-leaf  { background: var(--leaf-light);  color: var(--leaf-dark); }

.card h3 { margin-bottom: .5rem; color: var(--navy); }
.card p  { font-size: .92rem; color: var(--grey-600); line-height: 1.7; }

/* Value cards */
.value-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  transition: box-shadow var(--dur), transform var(--dur);
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.value-card:nth-child(1)::before { background: var(--navy); }
.value-card:nth-child(2)::before { background: var(--sky); }
.value-card:nth-child(3)::before { background: var(--leaf); }
.value-card:nth-child(4)::before { background: var(--sky); }
.value-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.value-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--grey-100);
  position: absolute;
  bottom: 1rem; right: 1.5rem;
  line-height: 1;
  user-select: none;
}
.value-card .card-icon { margin-bottom: 1rem; }
.value-card h3 { color: var(--navy); margin-bottom: .6rem; }
.value-card p  { font-size: .9rem; color: var(--grey-600); line-height: 1.7; }

/* Service cards */
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--grey-100);
  transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
  cursor: default;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--sky);
}
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: .6rem;
  line-height: 1;
}
.service-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: .5rem; }
.service-card p  { font-size: .88rem; color: var(--grey-600); line-height: 1.65; }

/* ── 13. CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: .75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .95rem;
  color: var(--grey-900);
}
.check-list li .ck {
  width: 22px; height: 22px;
  background: var(--sky);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .12rem;
}
.check-list.leaf li .ck { background: var(--leaf); color: var(--navy); }
.check-list.navy li     { color: rgba(255,255,255,.85); }
.check-list.navy li .ck { background: var(--leaf); color: var(--navy); }

/* ── 14. BULLET DOT LIST ── */
.dot-list { display: flex; flex-direction: column; gap: .65rem; }
.dot-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: .93rem; color: var(--grey-600);
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--grey-100);
}
.dot-list li:last-child { border: none; padding: 0; }
.dot-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
  margin-top: .55rem;
}

/* ── 15. NUMBERED STEPS ── */
.steps { display: flex; flex-direction: column; gap: 2rem; }
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-body h4 { color: var(--navy); margin-bottom: .4rem; }
.step-body p  { font-size: .92rem; color: var(--grey-600); }

/* ── 16. STAT BAND ── */
.stat-band {
  background: var(--navy);
  padding: 3rem 0;
}
.stat-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--navy);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-item-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-item-lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── 17. QUOTE SECTION ── */
.quote-section {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '\201C';
  position: absolute;
  top: -2rem; left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 20rem;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
  font-style: italic;
}
.quote-attr { color: var(--leaf); font-weight: 600; font-size: .9rem; }

/* ── 18. SPLIT SECTION ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-text .section-label { margin-bottom: 1rem; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p  { color: var(--grey-600); margin-bottom: 1rem; }
.split-text .btn { margin-top: 1rem; }

.split-visual {
  position: relative;
}
.split-card-main {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}
.split-card-main h3 { color: var(--leaf); margin-bottom: 1rem; }
.split-card-float {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  background: var(--sky);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  width: 180px;
}
.split-card-float p { font-size: .82rem; opacity: .85; }
.split-card-float strong { font-size: 1.2rem; display: block; margin-bottom: .25rem; }

/* ── 19. ELIGIBILITY CARD ── */
.eligibility-wrap {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  height: 100%;
}
.eligibility-wrap > .section-label { margin-bottom: 1rem; }
.eligibility-wrap h3 { color: var(--white); margin-bottom: .5rem; font-size: 1.3rem; }
.eligibility-wrap > p { color: rgba(255,255,255,.7); margin-bottom: 1.5rem; font-size: .9rem; }
.elig-list { display: flex; flex-direction: column; gap: 1rem; }
.elig-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.08);
}
.elig-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--leaf);
  flex-shrink: 0;
  margin-top: .4rem;
}
.elig-item p { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.5; }

/* ── 20. CONTACT FORM ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-head h2 { margin-bottom: 1rem; }
.contact-info-head p  { color: var(--grey-600); margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-row-icon {
  width: 44px; height: 44px;
  background: var(--sky-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--sky);
  flex-shrink: 0;
}
.contact-row-icon svg { width: 20px; height: 20px; }
.contact-row-text strong { display: block; font-size: .82rem; font-weight: 600; color: var(--grey-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .15rem; }
.contact-row-text span { font-size: .92rem; color: var(--grey-900); }

.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-100);
}
.form-card h3 { color: var(--navy); margin-bottom: .25rem; font-size: 1.3rem; }
.form-card > p { color: var(--grey-600); font-size: .88rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--grey-900);
  letter-spacing: .02em;
}
.req { color: var(--sky); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: .92rem;
  color: var(--grey-900);
  background: var(--grey-50);
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(47,179,246,.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .78rem; color: var(--grey-400); line-height: 1.6; margin-bottom: 1.25rem; }
.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: var(--leaf-light);
  border: 1.5px solid var(--leaf);
  border-radius: var(--r-sm);
  color: #5a6020;
  font-size: .88rem;
  margin-top: 1rem;
  text-align: center;
}
.form-success.show { display: block; }

/* ── 21. REFERRAL CARDS ── */
.referral-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.referral-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur), transform var(--dur);
}
.referral-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.referral-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.referral-card h4 { color: var(--navy); margin-bottom: .5rem; }
.referral-card p  { font-size: .88rem; color: var(--grey-600); line-height: 1.6; }

/* ── 22. CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a4a9e 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  top: -300px; left: -100px;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  bottom: -200px; right: -50px;
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; line-height: 1.8; }
.cta-banner .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 23. FOOTER ── */
.footer {
  background: var(--grey-900);
  color: rgba(255,255,255,.65);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo { height: 48px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .88rem; line-height: 1.8; max-width: 260px; }
.footer-brand .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.footer-badge {
  padding: .3rem .75rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.footer-col h5 {
  color: var(--leaf);
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--dur);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
}
.footer-contact-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--sky);
}
.footer-contact-icon svg { width: 16px; height: 16px; }
.footer-contact-item span { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.5; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.3); transition: color var(--dur); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ── 24. ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-right.in { opacity: 1; transform: translateX(0); }

.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }
.stagger > *:nth-child(1) { --i: 1; }
.stagger > *:nth-child(2) { --i: 2; }
.stagger > *:nth-child(3) { --i: 3; }
.stagger > *:nth-child(4) { --i: 4; }
.stagger > *:nth-child(5) { --i: 5; }
.stagger > *:nth-child(6) { --i: 6; }
.stagger > *:nth-child(7) { --i: 7; }
.stagger > *:nth-child(8) { --i: 8; }

/* ── 25. RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento-wide   { grid-column: span 12; }
  .bento-narrow { grid-column: span 12; }
  .bento-half   { grid-column: span 12; }
  .bento-third  { grid-column: span 6; }
  .stat-band-grid { grid-template-columns: repeat(2, 1fr); }
  .referral-grid  { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: .25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-top: 1px solid var(--grey-100);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    border-radius: var(--r-sm);
    padding: .7rem 1rem;
    font-size: .95rem;
  }
  .nav-links a.nav-cta { text-align: center; margin-left: 0; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .bento-third { grid-column: span 12; }
  .stat-band-grid { grid-template-columns: repeat(2, 1fr); }
  .referral-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .page-hero { padding-bottom: 4rem; }
  .hero-actions { flex-direction: column; width: fit-content; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-band-grid { grid-template-columns: 1fr; }
  .section-sm { padding: 2.5rem 0; }
  .form-card  { padding: 1.5rem; }
}
