/* ==========================================================================
   EHAgeing — design tokens
   ========================================================================== */
:root {
  /* Brand */
  --teal-800: #0b5959;
  --teal-700: #0e6e6e;
  --teal-600: #138585;
  --teal-100: #d7eeeb;
  --teal-50: #edf7f5;

  --navy-900: #0f2748;
  --navy-800: #142f5a;
  --navy-700: #173e7a;
  --navy-600: #1e4f9a;

  --marigold-500: #e89b2d;
  --marigold-400: #f2b45a;
  --marigold-100: #fcefd9;

  /* Neutrals */
  --cream: #fbf7f0;
  --sand: #f3ece0;
  --white: #ffffff;
  --ink: #1b2433;
  --muted: #4a5566;
  --line: #e4ddd0;

  /* Semantic */
  --color-bg: var(--white);
  --color-bg-alt: var(--cream);
  --color-text: var(--ink);
  --color-text-muted: var(--muted);
  --color-primary: var(--navy-700);
  --color-primary-hover: var(--navy-800);
  --color-brand: var(--teal-700);
  --color-accent: var(--marigold-500);
  --color-focus: var(--marigold-500);
  --color-error: #b42318;
  --color-success: #0e6e6e;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-sm: 0.9375rem;   /* 15px @16 root → but root is 18px */
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --fs-hero: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);

  /* Space (8pt rhythm) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgb(15 39 72 / 0.06), 0 2px 8px rgb(15 39 72 / 0.06);
  --shadow-2: 0 4px 12px rgb(15 39 72 / 0.08), 0 16px 40px rgb(15 39 72 / 0.10);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 260ms;

  --container: 1200px;
  --header-h: 76px;

  /* z-index scale */
  --z-header: 40;
  --z-float: 50;
  --z-menu: 60;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 112.5%; /* 18px base — comfortable for older readers */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
  font-optical-sizing: auto;
}
h2 { font-size: var(--fs-2xl); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }

a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 100;
  padding: var(--sp-3) var(--sp-4);
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: var(--sp-4); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-6); } }

.section { padding-block: var(--sp-8); }
@media (min-width: 1024px) { .section { padding-block: var(--sp-9); } }
.section--alt { background: var(--color-bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  border-radius: 2px;
  background: var(--marigold-500);
}

.section-head { max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { font-size: var(--fs-md); color: var(--color-text-muted); }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 20px; height: 20px; }
.icon--lg { width: 30px; height: 30px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 var(--fs-base)/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease,
              transform var(--dur-fast) ease;
}
.btn:hover { background: var(--color-primary-hover); color: var(--white); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy-900); }
.btn--light:hover { background: var(--marigold-100); color: var(--navy-900); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-900);
  border-color: var(--line);
}
.btn--outline:hover { background: var(--cream); color: var(--navy-900); border-color: #cfc5b3; }

.btn--ghost-light {
  --btn-bg: rgb(255 255 255 / 0.08);
  --btn-fg: var(--white);
  border-color: rgb(255 255 255 / 0.55);
}
.btn--ghost-light:hover { background: rgb(255 255 255 / 0.18); color: var(--white); }

.btn--lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  color: var(--navy-700);
  text-decoration: none;
}
.link-arrow .icon { transition: transform var(--dur-fast) ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar {
  background: var(--teal-800);
  color: var(--teal-50);
  font-size: var(--fs-sm);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 40px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar__item { display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar__links { display: flex; gap: var(--sp-5); }
.topbar__area { display: none; }
@media (min-width: 768px) { .topbar__area { display: inline-flex; } }
.topbar__email { display: none; }
@media (min-width: 560px) { .topbar__email { display: inline-flex; } }

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-1); }
.header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  color: var(--teal-700);
  line-height: 1;
}
.logo:hover { color: var(--teal-800); }
.logo__eh { color: var(--teal-700); }
.logo__ageing { font-style: italic; font-weight: 500; }
.logo__dot {
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--marigold-500);
}

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.8rem;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.nav__link:hover { background: var(--teal-50); color: var(--teal-800); }
.nav__link.is-active { color: var(--teal-800); background: var(--teal-50); }

.header__actions { display: none; gap: var(--sp-2); align-items: center; }

.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}

@media (min-width: 1100px) {
  .nav { display: block; }
  .header__actions { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: var(--sp-5); }
.mobile-menu__list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; }
.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  text-decoration: none;
}
.mobile-menu__actions { display: grid; gap: var(--sp-3); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(15 39 72 / 0.94) 0%, rgb(20 47 90 / 0.82) 38%, rgb(23 62 122 / 0.35) 72%, rgb(23 62 122 / 0.15) 100%),
    linear-gradient(0deg, rgb(15 39 72 / 0.55) 0%, transparent 40%);
}
@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(180deg, rgb(15 39 72 / 0.55) 0%, rgb(15 39 72 / 0.88) 55%, rgb(15 39 72 / 0.96) 100%);
  }
  .hero__media img { object-position: 60% 30%; }
}

.hero__inner {
  display: grid;
  align-content: center;
  min-height: min(88vh, 760px);
  padding-block: var(--sp-8) calc(var(--sp-9) + 40px);
}
@media (max-width: 767px) {
  .hero__inner { align-content: end; min-height: 640px; padding-top: 180px; }
}
.hero__content { max-width: 40rem; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.35rem 0.9rem 0.35rem 0.5rem;
  margin-bottom: var(--sp-5);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.25);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.hero__kicker-dot {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--marigold-500);
  color: var(--navy-900);
}
.hero h1 {
  color: var(--white);
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--marigold-400);
}
.hero__lead {
  font-size: var(--fs-md);
  max-width: 34rem;
  color: rgb(255 255 255 / 0.9);
  margin-bottom: var(--sp-6);
}
@media (min-width: 768px) { .hero__lead { font-size: var(--fs-lg); line-height: 1.5; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  list-style: none;
  padding: 0; margin: 0;
  font-size: var(--fs-sm);
  color: rgb(255 255 255 / 0.92);
}
.hero__trust li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__trust .icon { color: var(--marigold-400); }

.hero__curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 56px;
  color: var(--white);
}
@media (min-width: 1024px) { .hero__curve { height: 88px; } }

/* ==========================================================================
   Audience entry cards (overlap hero)
   ========================================================================== */
.entry {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--sp-8));
}
.entry__grid {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 768px) { .entry__grid { grid-template-columns: repeat(3, 1fr); } }
.entry-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) ease;
}
.entry-card:hover { transform: translateY(-3px); border-color: var(--teal-100); color: inherit; }
.entry-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.entry-card h2 { font-size: var(--fs-md); margin-bottom: var(--sp-1); font-family: var(--font-body); font-weight: 700; }
.entry-card p { margin: 0; color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; gap: var(--sp-1); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--teal-700);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ==========================================================================
   Intro / about split
   ========================================================================== */
.split {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
.split > *, .contact > * { min-width: 0; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) and (max-width: 1023px) { .split__media img { aspect-ratio: 16 / 10; } }
.split__badge {
  position: absolute;
  right: var(--sp-4);
  bottom: var(--sp-4);
  max-width: 260px;
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
@media (min-width: 1024px) { .split__badge { right: -24px; bottom: auto; top: 48px; } }
.split__badge strong { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--navy-900); line-height: 1.2; }
.split__badge span { font-size: var(--fs-sm); color: var(--color-text-muted); }

.checklist { list-style: none; padding: 0; margin: var(--sp-5) 0 var(--sp-6); display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.checklist .icon {
  width: 28px; height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  stroke-width: 2.5;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}
.service:hover { border-color: var(--teal-100); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.service__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: var(--sp-4);
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.service:nth-child(4n+2) .service__icon { background: var(--marigold-100); color: #9a5a00; }
.service:nth-child(4n+3) .service__icon { background: #e6edf8; color: var(--navy-700); }
.service:nth-child(4n+4) .service__icon { background: #f6e6e2; color: #9b3b22; }
.service h3 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 700; margin-bottom: var(--sp-2); }
.service p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 0; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
  list-style: none;
  padding: 0; margin: 0;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--sp-4);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--marigold-500);
}
.step h3 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 700; margin-bottom: var(--sp-2); }
.step p { margin: 0; color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ==========================================================================
   Plans
   ========================================================================== */
.plans {
  display: grid;
  gap: var(--sp-5);
  align-items: stretch;
}
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.plan--featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: rgb(255 255 255 / 0.92);
  box-shadow: var(--shadow-2);
}
@media (min-width: 900px) { .plan--featured { transform: translateY(-12px); } }
.plan--featured h3, .plan--featured .plan__price { color: var(--white); }
.plan__tag {
  position: absolute;
  top: -14px; left: var(--sp-5);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--marigold-500);
  color: var(--navy-900);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.plan__name-local { display: block; font-size: var(--fs-sm); color: var(--teal-700); font-weight: 700; letter-spacing: 0.04em; margin-bottom: var(--sp-1); }
.plan--featured .plan__name-local { color: var(--marigold-400); }
.plan h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.plan__desc { font-size: var(--fs-sm); color: var(--color-text-muted); min-height: 3.2em; }
.plan--featured .plan__desc { color: rgb(255 255 255 / 0.78); }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin: var(--sp-4) 0 var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.plan__price small { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 400; color: var(--color-text-muted); }
.plan--featured .plan__price small { color: rgb(255 255 255 / 0.75); }
.plan__features { list-style: none; padding: 0; margin: 0 0 var(--sp-6); display: grid; align-content: start; gap: var(--sp-3); flex: 1; }
.plan__features li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); }
.plan__features .icon { color: var(--teal-600); stroke-width: 2.5; margin-top: 2px; }
.plan--featured .plan__features .icon { color: var(--marigold-400); }
.plans__note { margin-top: var(--sp-6); text-align: center; color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ==========================================================================
   Family (NRI) section
   ========================================================================== */
.family {
  background: var(--teal-800);
  color: rgb(255 255 255 / 0.9);
  overflow: hidden;
}
.family h2 { color: var(--white); }
.family .eyebrow { color: var(--marigold-400); }
.family .checklist .icon { background: rgb(255 255 255 / 0.12); color: var(--marigold-400); }
.family .split { gap: var(--sp-8); }

.phone-card {
  max-width: 380px;
  margin-inline: auto;
  padding: var(--sp-5);
  background: var(--white);
  color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.25);
}
.phone-card__head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.phone-card__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.phone-card__head strong { display: block; font-size: var(--fs-md); }
.phone-card__head span { font-size: var(--fs-sm); color: var(--color-text-muted); }
.status-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600); }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-bottom: var(--sp-5); }
.vital { padding: var(--sp-3); border-radius: var(--radius-sm); background: var(--cream); text-align: center; }
.vital b { display: block; font-size: var(--fs-md); font-variant-numeric: tabular-nums; color: var(--navy-900); }
.vital span { font-size: 0.8rem; color: var(--color-text-muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-3); font-size: var(--fs-sm); align-items: start; }
.timeline time { font-weight: 700; color: var(--teal-700); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Events
   ========================================================================== */
.cards-3 { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.card__body h3 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 700; margin-bottom: var(--sp-2); }
.card__body p { color: var(--color-text-muted); font-size: var(--fs-sm); }
.card__meta { display: grid; gap: var(--sp-1); margin: 0 0 var(--sp-4); padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--color-text-muted); }
.card__meta li { display: flex; align-items: center; gap: var(--sp-2); }
.card__meta .icon { color: var(--teal-700); }
.card__footer { margin-top: auto; }

.date-chip {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  display: grid;
  place-items: center;
  width: 64px;
  padding: var(--sp-2) 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  line-height: 1.1;
  text-align: center;
}
.date-chip b { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.date-chip span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-700); }

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.15rem 0.6rem;
  margin-bottom: var(--sp-3);
  border-radius: var(--radius-pill);
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 0.8rem;
  font-weight: 700;
}
.tag--marigold { background: var(--marigold-100); color: #7a4700; }
.tag--navy { background: #e6edf8; color: var(--navy-700); }

.section-foot { display: flex; justify-content: center; margin-top: var(--sp-6); }

/* Knowledge — text-led cards */
.article {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.article:hover { border-color: var(--teal-100); box-shadow: var(--shadow-2); color: inherit; }
.article h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.article p { color: var(--color-text-muted); font-size: var(--fs-sm); flex: 1; }
.article__meta { font-size: var(--fs-sm); color: var(--color-text-muted); display: flex; gap: var(--sp-3); align-items: center; }

/* ==========================================================================
   Shop band
   ========================================================================== */
.shop { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .shop { grid-template-columns: repeat(4, 1fr); } }
.product {
  padding: var(--sp-5);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.product__icon {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--teal-700);
}
.product__icon .icon { width: 48px; height: 48px; stroke-width: 1.5; }
.product h3 { font-size: var(--fs-base); font-family: var(--font-body); font-weight: 700; margin-bottom: var(--sp-1); }
.product p { margin: 0; font-size: var(--fs-sm); color: var(--color-text-muted); }
.product__price { display: block; margin-top: var(--sp-2); font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) { .quotes { grid-template-columns: 1.3fr 1fr 1fr; } }
.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.quote--feature { background: var(--marigold-100); border-color: #f1dcb6; }
.quote__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  height: 32px;
  color: var(--marigold-500);
}
.quote blockquote { margin: 0 0 var(--sp-5); flex: 1; }
.quote blockquote p { font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.5; color: var(--navy-900); margin: 0; }
.quote--feature blockquote p { font-size: var(--fs-lg); }
.quote figcaption { display: flex; align-items: center; gap: var(--sp-3); }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) ease;
}
.faq details[open] { border-color: var(--teal-100); box-shadow: var(--shadow-1); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--dur) var(--ease-out); color: var(--teal-700); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--color-text-muted); }
.faq__body p:last-child { margin: 0; }

/* ==========================================================================
   Contact / enrol
   ========================================================================== */
.contact {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.25fr; gap: var(--sp-8); } }

.contact-list { list-style: none; padding: 0; margin: var(--sp-5) 0; display: grid; gap: var(--sp-4); }
.contact-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.contact-list strong { display: block; color: var(--navy-900); }
.contact-list a { font-weight: 700; }
.contact-list span { color: var(--color-text-muted); font-size: var(--fs-sm); }

.emergency {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  background: #fdecea;
  border: 1px solid #f5c6c0;
  color: #7a1a10;
  font-size: var(--fs-sm);
}
.emergency a { color: #7a1a10; font-weight: 700; }
.emergency .icon { color: var(--color-error); }

.map {
  margin-top: var(--sp-5);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--sand);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card {
  padding: var(--sp-6) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
@media (min-width: 768px) { .form-card { padding: var(--sp-7) var(--sp-6); } }
.form-card h3 { font-size: var(--fs-xl); }
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

.field { display: grid; gap: var(--sp-2); align-content: start; }
.field label, .field legend { font-weight: 700; color: var(--navy-900); font-size: var(--fs-sm); }
.field .req { color: var(--color-error); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cfc5b3;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgb(14 110 110 / 0.18);
}
.field .hint { font-size: 0.85rem; color: var(--color-text-muted); }
.field .error { display: none; font-size: 0.875rem; font-weight: 700; color: var(--color-error); }
.field.is-invalid input,
.field.is-invalid select { border-color: var(--color-error); }
.field.is-invalid .error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: var(--sp-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1.5px solid #cfc5b3;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.chip input:checked + span { background: var(--teal-700); border-color: var(--teal-700); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.form-note { font-size: 0.85rem; color: var(--color-text-muted); margin: var(--sp-4) 0 0; }

.form-success {
  display: none;
  padding: var(--sp-5);
  border-radius: var(--radius);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-800);
}
.form-success.is-visible { display: block; }
.form-success h4 { font-family: var(--font-display); color: var(--teal-800); font-size: var(--fs-lg); }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--sp-7) var(--sp-5);
  border-radius: var(--radius-lg);
  background: var(--navy-700);
  color: rgb(255 255 255 / 0.9);
  text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: var(--sp-8) var(--sp-7); } }
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 36px solid rgb(19 133 133 / 0.55);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); max-width: 36rem; margin-inline: auto; }
.cta-band p { max-width: 34rem; margin: 0 auto var(--sp-6); font-size: var(--fs-md); }
.cta-band .hero__ctas { justify-content: center; margin: 0; }

.footer {
  background: var(--navy-900);
  color: rgb(255 255 255 / 0.78);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: var(--fs-sm);
}
.footer a { color: rgb(255 255 255 / 0.9); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer .logo { color: var(--teal-100); }
.footer .logo__eh { color: var(--teal-100); }
.footer h4 { font-family: var(--font-body); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--marigold-400); margin-bottom: var(--sp-4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 56px;
  padding: 0 1.2rem 0 1rem;
  border-radius: var(--radius-pill);
  background: #0f7a3d;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgb(15 122 61 / 0.35);
  transition: transform var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.wa-float:hover { background: #0b6632; color: var(--white); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 479px) { .wa-float__label { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
