/* =========================================================================
   Swasthya Saathi (swasthyasaathi.org) — hand-authored site stylesheet
   Concatenation of Kidvanta tokens.css + site.css, re-skinned to the
   physical 2026 brochure: self-hosted Manrope + brochure palette.
   Palette: cobalt #305EAC · cyan #009EE3 · gold #FFCC00 · green #00963F.
   ========================================================================= */

/* =========================================================================
   Self-hosted brand font — Manrope (matches the 2026 physical brochure).
   DM Sans + Playfair fully removed. 3 weights: 200 / 500 / 800.
   ========================================================================= */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-extralight.ttf') format('truetype');
  font-weight: 100 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-medium.ttf') format('truetype');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-extrabold.ttf') format('truetype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Brand core ---------- */
  --ss-blue:        #305EAC;
  --ss-blue-600:    #24387A;
  --ss-navy:        #1C3A8C;
  --ss-ink:         #024B78;
  --ss-cyan:        #009EE3;
  --ss-gold:        #FFCC00;
  --ss-gold-600:    #E8B400;
  --ss-amber:       #F5A623;
  --ss-red:         #E5484D;
  --ss-green:       #00963F;
  --ss-teal:        #009EE3;
  --ss-purple:      #305EAC;
  --ss-pink:        #009EE3;

  /* ---------- UI / Surface Colors ---------- */
  --ss-ui-navy:     #0A1A4A;
  --ss-ui-royal:    #305EAC;
  --ss-bg:          #F3F6FC;
  --ss-bg-white:    #FFFFFF;
  --ss-border:      #DCE3F1;

  /* ---------- Foreground / Text ---------- */
  --ss-fg-1:        #10204A;
  --ss-fg-2:        #45537D;
  --ss-fg-3:        #6B7699;
  --ss-fg-on-dark:  #FFFFFF;
  --ss-fg-on-dark-muted: rgba(255,255,255,0.74);

  /* ---------- Semantic ---------- */
  --ss-success:     #00963F;
  --ss-warning:     #FFCC00;
  --ss-danger:      #E5484D;
  --ss-info:        #009EE3;

  /* ---------- Tints ---------- */
  --ss-blue-tint:   #E7ECF8;
  --ss-cyan-tint:   #C9E9FB;
  --ss-gold-tint:   #FFF6D6;
  --ss-green-tint:  #E1F3E9;
  --ss-navy-tint:   #E7ECF8;
  --ss-purple-tint: #E7ECF8;
  --ss-pink-tint:   #E1F4FD;
  --ss-teal-tint:   #E1F4FD;

  /* ---------- Gradients ---------- */
  --ss-grad-hero:     linear-gradient(150deg, #305EAC 0%, #0A1A4A 100%);
  --ss-grad-kidvanta: linear-gradient(135deg, #FFCC00 0%, #E8B400 100%);
  --ss-grad-warm:     linear-gradient(135deg, #FFCC00 0%, #009EE3 140%);
  --ss-grad-petals:   linear-gradient(135deg, #305EAC 0%, #009EE3 100%);

  /* ---------- Type Families ---------- */
  --ss-font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ss-font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ss-font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ---------- Type Scale ---------- */
  --ss-text-xs:   12px;
  --ss-text-sm:   14px;
  --ss-text-base: 16px;
  --ss-text-md:   18px;
  --ss-text-lg:   20px;
  --ss-text-xl:   24px;
  --ss-text-2xl:  32px;
  --ss-text-3xl:  40px;
  --ss-text-4xl:  56px;
  --ss-text-5xl:  72px;

  /* ---------- Spacing ---------- */
  --ss-sp-1:  4px;  --ss-sp-2:  8px;  --ss-sp-3:  12px; --ss-sp-4:  16px;
  --ss-sp-5:  20px; --ss-sp-6:  24px; --ss-sp-8:  32px; --ss-sp-10: 40px;
  --ss-sp-12: 48px; --ss-sp-16: 64px; --ss-sp-20: 80px; --ss-sp-24: 96px;

  /* ---------- Radii ---------- */
  --ss-radius-sm:    6px;
  --ss-radius-card:  12px;
  --ss-radius-lg:    16px;
  --ss-radius-xl:    24px;
  --ss-radius-pill:  50px;
  --ss-radius-full:  9999px;

  /* ---------- Shadows ---------- */
  --ss-shadow-xs: 0 1px 2px rgba(11, 29, 92, 0.06);
  --ss-shadow-sm: 0 2px 6px rgba(11, 29, 92, 0.08);
  --ss-shadow-md: 0 8px 24px rgba(11, 29, 92, 0.10);
  --ss-shadow-lg: 0 16px 48px rgba(11, 29, 92, 0.14);
  --ss-shadow-glow-gold:   0 8px 32px rgba(255, 205, 100, 0.36);

  /* ---------- Borders ---------- */
  --ss-border-thin: 1px solid var(--ss-border);
  --ss-border-card: 1px solid var(--ss-border);

  /* ---------- Motion ---------- */
  --ss-ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ss-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ss-dur-fast:   150ms;
  --ss-dur-base:   220ms;
  --ss-dur-slow:   400ms;
}

/* =========================================================================
   Layout register (from Kidvanta site.css)
   ========================================================================= */
:root {
  --kv-blue:  #305EAC;
  --kv-navy:  #0A1A4A;
  --kv-cyan:  #009EE3;
  --kv-gold:  #FFCC00;
  --kv-gold-600: #E8B400;
  --kv-green: #00963F;
  --kv-ink0:  #0A1A4A;
  --kv-grad:  linear-gradient(135deg, #FFCC00 0%, #E8B400 100%);
  --kv-shadow-g: 0 18px 46px -16px rgba(44, 66, 142, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ss-font-body);
  font-weight: 500;
  color: var(--ss-fg-1);
  background: var(--ss-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-title {
  font-family: var(--ss-font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ss-navy);
  margin: 12px 0 0;
}
.section-lead {
  font-size: var(--ss-text-lg);
  line-height: 1.6;
  color: var(--ss-fg-2);
  margin: 18px 0 0;
  max-width: 640px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--kv-blue); margin: 0;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--kv-cyan), var(--kv-gold));
}
.eyebrow--on-dark { color: var(--kv-gold); }
.eyebrow--on-dark::before { background: var(--kv-gold); }
.section-title--on-dark, .section-lead--on-dark { color: #fff; }
.section-lead--on-dark { color: rgba(255,255,255,0.84); }

/* -------------------- Buttons -------------------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kv-gold); color: var(--kv-navy);
  border: 1px solid var(--kv-gold);
  font-weight: 800; font-size: 15px;
  padding: 14px 26px; border-radius: 12px;
  box-shadow: var(--ss-shadow-sm);
  transition: transform var(--ss-dur-fast) var(--ss-ease-out), background var(--ss-dur-fast);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--kv-gold-600); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kv-blue); color: #fff;
  border: 1px solid var(--kv-blue);
  font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 12px;
  box-shadow: var(--ss-shadow-sm);
  transition: transform var(--ss-dur-fast) var(--ss-ease-out), background var(--ss-dur-fast);
}
.btn-secondary:hover { transform: translateY(-2px); background: var(--ss-blue-600); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 12px;
  transition: background var(--ss-dur-fast), border-color var(--ss-dur-fast);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-ghost--dark { color: var(--kv-blue); border-color: var(--ss-border); }
.btn-ghost--dark:hover { background: var(--ss-blue-tint); border-color: var(--kv-blue); }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--ss-border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .ss-mark { height: 40px; width: auto; flex: none; }
.brand .ss-wordmark {
  font-family: var(--ss-font-display); font-weight: 800;
  font-size: 19px; line-height: 1.0; letter-spacing: -0.015em;
  color: var(--ss-navy); white-space: nowrap;
}
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ss-fg-2); transition: color var(--ss-dur-fast); }
.nav a:hover, .nav a.is-active { color: var(--kv-blue); }
.header-cta { display: flex; gap: 8px; }
.header-cta .btn-primary { padding: 10px 18px; font-size: 14px; }

/* -------------------- Hero -------------------- */
.hero {
  background:
    radial-gradient(880px 460px at 4% -14%, rgba(0,160,227,0.35) 0, transparent 56%),
    radial-gradient(760px 460px at 108% 8%, rgba(254,204,0,0.16) 0, transparent 52%),
    var(--ss-grad-hero);
  color: #fff; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; padding: 84px 32px 92px; position: relative;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 15px; border-radius: 50px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--kv-gold); }
.hero-title {
  font-family: var(--ss-font-display); font-weight: 800;
  font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.03em;
  margin: 0; color: #fff;
}
.hero-title em { font-style: normal; font-weight: 800; color: var(--kv-gold); }
.hero-lead {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.9);
  margin: 24px 0 32px; max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin: 26px 0 0; font-size: 14px; font-weight: 700; color: var(--kv-gold);
  letter-spacing: 0.01em;
}

/* Hero visual — camp photo card (program-first, replaces the app phone) */
.hero-figure {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(6,15,48,0.45), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.hero-figure img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hero-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(to top, rgba(10,26,74,0.85), transparent);
}
.hero-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--kv-gold); color: var(--kv-navy);
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 50px; box-shadow: var(--ss-shadow-md);
}

/* -------------------- Trust / stat band -------------------- */
.trust { background: var(--kv-blue); }
.trust-inner {
  display: flex; flex-wrap: wrap; gap: 24px; padding: 40px 32px;
  align-items: center; justify-content: space-between;
}
.stat { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.stat-num { font-family: var(--ss-font-display); font-weight: 800; font-size: 42px; color: var(--kv-gold); line-height: 1; letter-spacing: -0.02em; }
.stat-num--sm { font-size: 26px; color: #fff; }
.stat-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.78); }
.stat--wide { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 24px; }

/* -------------------- Why-we-exist prevalence band -------------------- */
.missed { background: var(--ss-bg); }
.missed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.missed-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mcard {
  border-radius: 18px; padding: 26px 24px; color: #fff;
  box-shadow: var(--ss-shadow-md); position: relative; overflow: hidden;
}
.mcard .m-big { font-family: var(--ss-font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.mcard .m-lbl { font-size: 13.5px; font-weight: 600; margin-top: 8px; line-height: 1.4; opacity: 0.95; }
.mcard--green { background: var(--kv-green); }
.mcard--cyan  { background: var(--kv-cyan); }
.mcard--blue  { background: var(--kv-blue); }
.mcard--gold  { background: var(--kv-gold); color: var(--kv-navy); }
.missed-ratios { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.ratio-row {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--ss-border); border-left: 4px solid var(--kv-cyan);
  border-radius: 12px; padding: 14px 18px;
}
.ratio-row b { font-family: var(--ss-font-display); font-weight: 800; font-size: 22px; color: var(--kv-blue); min-width: 58px; }
.ratio-row span { font-size: 14.5px; color: var(--ss-fg-2); font-weight: 500; }

/* -------------------- Partner logo band -------------------- */
.logos-band { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--ss-border); }
.logos-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ss-fg-3); margin: 0 0 28px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.logos-row img { height: 46px; width: auto; max-width: none; object-fit: contain; opacity: 0.78; filter: grayscale(0.2); transition: opacity var(--ss-dur-base); }
.logos-row img:hover { opacity: 1; filter: grayscale(0); }
.schools-chips-lead { text-align: center; font-size: 13px; font-weight: 600; color: var(--ss-fg-3); margin: 26px 0 14px; }
.schools-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.schools-chips li { font-size: 13px; font-weight: 600; color: var(--ss-navy); background: var(--ss-bg); border: 1px solid var(--ss-border); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }

/* -------------------- Camp photos -------------------- */
.photos-band { background: #fff; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--ss-shadow-md); position: relative; }
.photo img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform var(--ss-dur-slow) var(--ss-ease-out); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 16px 12px; color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(to top, rgba(10,26,74,0.82), transparent);
}

/* -------------------- Gallery grid (About #gallery) -------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid .photo img { height: 240px; }

/* -------------------- Summary service cards (Home → What we do) -------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 16px;
  padding: 26px; box-shadow: var(--ss-shadow-sm);
  transition: transform var(--ss-dur-base) var(--ss-ease-out), box-shadow var(--ss-dur-base);
  border-top: 3px solid var(--kv-blue);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--ss-shadow-md); }
.svc-card:nth-child(1) { border-top-color: var(--kv-gold); }
.svc-card:nth-child(2) { border-top-color: var(--kv-cyan); }
.svc-card:nth-child(3) { border-top-color: var(--kv-green); }
.svc-card:nth-child(4) { border-top-color: var(--kv-blue); }
.svc-ic {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px; background: var(--ss-blue-tint); color: var(--kv-blue);
}
.svc-card:nth-child(1) .svc-ic { background: var(--ss-gold-tint); color: var(--kv-gold-600); }
.svc-card:nth-child(2) .svc-ic { background: var(--ss-cyan-tint); color: var(--kv-cyan); }
.svc-card:nth-child(3) .svc-ic { background: var(--ss-green-tint); color: var(--kv-green); }
.svc-card h3 { font-family: var(--ss-font-display); font-weight: 700; font-size: 19px; color: var(--ss-navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.svc-card p { font-size: 14.5px; line-height: 1.55; color: var(--ss-fg-2); margin: 0 0 14px; }
.svc-more { font-size: 14px; font-weight: 700; color: var(--kv-blue); }
.svc-more:hover { color: var(--ss-blue-600); }

/* -------------------- Report / traffic-light band -------------------- */
.report-band { background: #fff; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.report-legend { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.report-legend li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ss-fg-2); }
.report-legend strong { color: var(--ss-navy); }
.report-fine { margin: 22px 0 0; font-size: 13px; color: var(--ss-fg-3); }
.domain-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dtile {
  background: var(--ss-bg); border: 1px solid var(--ss-border); border-radius: 12px;
  padding: 20px 16px; font-size: 15px; font-weight: 600; color: var(--ss-navy);
  display: flex; align-items: center; gap: 12px;
}
.dt-ic {
  width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--ss-border);
  display: flex; align-items: center; justify-content: center; color: var(--kv-blue); font-size: 18px; flex: none;
}
.domain-tiles .dtile:nth-child(2) .dt-ic { color: var(--kv-cyan); }
.domain-tiles .dtile:nth-child(3) .dt-ic { color: var(--kv-gold-600); }
.domain-tiles .dtile:nth-child(4) .dt-ic { color: var(--kv-green); }
.domain-tiles .dtile:nth-child(5) .dt-ic { color: var(--kv-blue); }
.domain-tiles .dtile:nth-child(6) .dt-ic { color: var(--kv-cyan); }
.tl { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.tl-g { background: var(--ss-success); }
.tl-y { background: var(--ss-gold); }
.tl-r { background: var(--ss-danger); }

/* -------------------- Pillars (What we do) -------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 18px;
  padding: 30px 26px; box-shadow: var(--ss-shadow-sm);
}
.pillar:nth-child(1) { border-top: 4px solid var(--kv-gold); }
.pillar:nth-child(2) { border-top: 4px solid var(--kv-cyan); }
.pillar:nth-child(3) { border-top: 4px solid var(--kv-green); }
.pillar h3 { font-family: var(--ss-font-display); font-weight: 800; font-size: 22px; color: var(--ss-navy); margin: 0 0 6px; letter-spacing: -0.01em; }
.pillar .pillar-tag { font-size: 14px; font-weight: 700; color: var(--kv-blue); margin: 0 0 14px; }
.pillar p.pillar-desc { font-size: 14.5px; line-height: 1.55; color: var(--ss-fg-2); margin: 0 0 16px; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pillar li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; color: var(--ss-fg-2); }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--ss-blue-tint);
  background-image: linear-gradient(var(--kv-cyan), var(--kv-cyan));
  background-size: 6px 6px; background-repeat: no-repeat; background-position: center;
  border-radius: 50%;
}
.pillar-tagline {
  text-align: center; margin: 40px auto 0; font-family: var(--ss-font-display);
  font-weight: 800; font-size: clamp(18px, 2.4vw, 24px); color: var(--kv-blue); letter-spacing: -0.01em;
}

/* -------------------- Domain detail cards (What we do) -------------------- */
.domain-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.domain-card {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 16px;
  padding: 26px 24px; box-shadow: var(--ss-shadow-xs);
}
.domain-card .dc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.domain-card .dc-ic {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex: none; background: var(--ss-blue-tint); color: var(--kv-blue);
}
.domain-detail-grid .domain-card:nth-child(1) .dc-ic { background: var(--ss-gold-tint); color: var(--kv-gold-600); }
.domain-detail-grid .domain-card:nth-child(2) .dc-ic { background: var(--ss-cyan-tint); color: var(--kv-cyan); }
.domain-detail-grid .domain-card:nth-child(3) .dc-ic { background: var(--ss-green-tint); color: var(--kv-green); }
.domain-detail-grid .domain-card:nth-child(5) .dc-ic { background: var(--ss-cyan-tint); color: var(--kv-cyan); }
.domain-detail-grid .domain-card:nth-child(6) .dc-ic { background: var(--ss-gold-tint); color: var(--kv-gold-600); }
.domain-card h3 { font-family: var(--ss-font-display); font-weight: 700; font-size: 18px; color: var(--ss-navy); margin: 0; letter-spacing: -0.01em; }
.domain-card .dc-sub { font-size: 12.5px; font-weight: 700; color: var(--kv-cyan); text-transform: uppercase; letter-spacing: 0.04em; margin: 2px 0 0; }
.domain-card p { font-size: 14px; line-height: 1.55; color: var(--ss-fg-2); margin: 0; }

/* -------------------- Steps (workflow) -------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 16px;
  padding: 28px 24px; box-shadow: var(--ss-shadow-xs); position: relative;
}
.step:nth-child(6n+1) { border-top: 4px solid var(--kv-gold); }
.step:nth-child(6n+2) { border-top: 4px solid var(--kv-cyan); }
.step:nth-child(6n+3) { border-top: 4px solid var(--kv-green); }
.step:nth-child(6n+4) { border-top: 4px solid var(--kv-blue); }
.step:nth-child(6n+5) { border-top: 4px solid var(--kv-cyan); }
.step:nth-child(6n+6) { border-top: 4px solid var(--kv-gold); }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--kv-blue); color: #fff;
  font-family: var(--ss-font-display); font-weight: 800; font-size: 21px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step:nth-child(6n+1) .step-num { background: var(--kv-gold); color: var(--kv-navy); }
.step:nth-child(6n+2) .step-num { background: var(--kv-cyan); }
.step:nth-child(6n+3) .step-num { background: var(--kv-green); }
.step:nth-child(6n+5) .step-num { background: var(--kv-cyan); }
.step:nth-child(6n+6) .step-num { background: var(--kv-gold); color: var(--kv-navy); }
.step h3 { font-family: var(--ss-font-display); font-weight: 700; font-size: 18px; color: var(--ss-navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 14px; line-height: 1.55; color: var(--ss-fg-2); margin: 0; }

/* Key benefits list */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: var(--ss-bg); border: 1px solid var(--ss-border); border-radius: 14px; padding: 24px;
}
.benefit h4 { font-family: var(--ss-font-display); font-weight: 700; font-size: 16px; color: var(--ss-navy); margin: 0 0 6px; }
.benefit p { font-size: 14px; line-height: 1.5; color: var(--ss-fg-2); margin: 0; }

/* "No commercial bias" pledge badge */
.ncb {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 40px;
  background: var(--kv-navy); color: #fff; border-radius: 50px;
  padding: 14px 26px 14px 16px; box-shadow: var(--ss-shadow-md);
}
.ncb-mark {
  width: 34px; height: 34px; border-radius: 50%; background: var(--kv-gold); color: var(--kv-navy);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ncb-mark svg { width: 19px; height: 19px; }
.ncb-text b { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.ncb-text span { display: block; font-size: 12.5px; color: rgba(255,255,255,0.72); margin-top: 1px; }

/* -------------------- Kidvanta demoted strip -------------------- */
.kidvanta-strip { background: var(--ss-bg); }
.kidvanta-inner {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center;
  background: var(--ss-grad-kidvanta); border-radius: 24px; padding: 40px 44px; color: var(--kv-navy);
  box-shadow: var(--ss-shadow-md);
}
.kidvanta-inner .ks-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10,26,74,0.7); margin: 0 0 10px; }
.kidvanta-inner h2 { font-family: var(--ss-font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--kv-navy); }
.kidvanta-inner p { font-size: 15.5px; line-height: 1.55; color: rgba(10,26,74,0.82); margin: 0; font-weight: 500; max-width: 520px; }
.kidvanta-stores { display: flex; flex-direction: column; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--kv-ink0); color: #fff;
  padding: 12px 20px; border-radius: 12px;
  transition: transform var(--ss-dur-fast) var(--ss-ease-out), background var(--ss-dur-fast);
}
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge .sb-small { font-size: 10px; font-weight: 500; opacity: 0.82; line-height: 1; display: block; }
.store-badge .sb-big { font-size: 16px; font-weight: 700; line-height: 1.15; display: block; }
.store-badge:hover { transform: translateY(-2px); background: #05123e; }

/* -------------------- Mission / vision (About) -------------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mv-card {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 18px; padding: 34px 30px;
  box-shadow: var(--ss-shadow-sm);
}
.mv-card.mv-mission { border-top: 4px solid var(--kv-gold); }
.mv-card.mv-vision { border-top: 4px solid var(--kv-cyan); }
.mv-card h3 { font-family: var(--ss-font-display); font-weight: 800; font-size: 24px; color: var(--ss-navy); margin: 0 0 14px; letter-spacing: -0.01em; }
.mv-card p { font-size: 15.5px; line-height: 1.6; color: var(--ss-fg-2); margin: 0 0 16px; }
.mv-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mv-card li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--ss-fg-2); }
.mv-card li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; color: var(--kv-green); font-weight: 800; font-size: 14px;
}

/* Core values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.value-card {
  background: var(--ss-bg); border: 1px solid var(--ss-border); border-radius: 14px; padding: 22px;
  text-align: left;
}
.value-card h4 { font-family: var(--ss-font-display); font-weight: 700; font-size: 16px; color: var(--kv-blue); margin: 0 0 6px; }
.value-card p { font-size: 13.5px; line-height: 1.5; color: var(--ss-fg-2); margin: 0; }

/* -------------------- Founding team cards -------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.founder-card {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 18px; overflow: hidden;
  box-shadow: var(--ss-shadow-sm); transition: transform var(--ss-dur-base) var(--ss-ease-out), box-shadow var(--ss-dur-base);
}
.founder-card:hover { transform: translateY(-3px); box-shadow: var(--ss-shadow-md); }
.founder-photo { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center 22%; display: block; background: var(--ss-bg); }
.founder-monogram {
  width: 100%; height: 300px; display: flex; align-items: center; justify-content: center;
  background: var(--ss-grad-petals); color: #fff;
  font-family: var(--ss-font-display); font-weight: 800; font-size: 76px; letter-spacing: -0.02em;
}
.founder-body { padding: 22px 24px 26px; }
.founder-body h3 { font-family: var(--ss-font-display); font-weight: 800; font-size: 20px; color: var(--ss-navy); margin: 0 0 4px; letter-spacing: -0.01em; }
.founder-cred { font-size: 13.5px; font-weight: 600; color: var(--kv-blue); margin: 0 0 10px; line-height: 1.4; }
.founder-role {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--kv-cyan); background: var(--ss-cyan-tint); padding: 5px 12px; border-radius: 50px;
}

/* -------------------- Medical team specialty grid -------------------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec-item {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 12px; padding: 18px 18px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; box-shadow: var(--ss-shadow-xs);
}
.spec-item .spec-name { font-size: 14px; font-weight: 600; color: var(--ss-fg-1); line-height: 1.3; }
.spec-item .spec-count {
  font-family: var(--ss-font-display); font-weight: 800; font-size: 22px; color: var(--kv-blue); line-height: 1; flex: none;
}

/* -------------------- Media / press band -------------------- */
.press-band { background: #fff; }
.press-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.press-item {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--ss-border); box-shadow: var(--ss-shadow-sm);
  background: var(--ss-bg);
}
.press-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform var(--ss-dur-slow) var(--ss-ease-out); }
.press-item:hover img { transform: scale(1.05); }

/* -------------------- Testimonials (hyperlinked poster cards) -------------------- */
.testi-band { background: var(--ss-bg); }
.testi-marquee { margin-bottom: 24px; }
.testi-card {
  display: block; border-radius: 18px; overflow: hidden; position: relative;
  color: #fff; box-shadow: var(--ss-shadow-md); border: 1px solid rgba(255,255,255,0.12);
  transition: transform var(--ss-dur-base) var(--ss-ease-out), box-shadow var(--ss-dur-base);
  min-height: 300px;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--ss-shadow-lg); }
.testi-card--lead { min-height: 340px; }
.testi-poster {
  position: absolute; inset: 0;
  background: var(--ss-grad-petals);
}
.testi-card:nth-of-type(odd) .testi-poster { background: linear-gradient(150deg, #305EAC 0%, #009EE3 120%); }
.testi-card--lead .testi-poster { background: linear-gradient(140deg, #305EAC 0%, #0A1A4A 60%, #009EE3 160%); }
.testi-card .testi-poster.testi-poster--photo {
  background-image: linear-gradient(180deg, rgba(12,22,58,0.12) 0%, rgba(12,22,58,0.38) 46%, rgba(10,18,52,0.86) 100%), var(--poster);
  background-size: cover; background-position: center top; background-repeat: no-repeat;
}
.testi-inner {
  position: relative; z-index: 1; height: 100%; min-height: inherit;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px 26px 24px;
}
.testi-play {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--kv-gold); color: var(--kv-navy);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: var(--ss-shadow-md);
}
.testi-card--lead .testi-play { width: 70px; height: 70px; font-size: 30px; }
.testi-meta .testi-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kv-gold); margin: 0 0 6px; }
.testi-meta h3 { font-family: var(--ss-font-display); font-weight: 800; font-size: 20px; line-height: 1.2; margin: 0 0 10px; color: #fff; letter-spacing: -0.01em; }
.testi-card--lead .testi-meta h3 { font-size: 26px; }
.testi-watch { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #fff; }
.testi-watch::after { content: "\2197"; }
.testi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* -------------------- Contact -------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  background: #fff; border: 1px solid var(--ss-border); border-radius: 16px; padding: 24px 26px;
  box-shadow: var(--ss-shadow-xs); border-left: 4px solid var(--kv-cyan);
}
.contact-item:nth-child(1) { border-left-color: var(--kv-gold); }
.contact-item:nth-child(2) { border-left-color: var(--kv-cyan); }
.contact-item:nth-child(3) { border-left-color: var(--kv-green); }
.contact-item:nth-child(4) { border-left-color: var(--kv-blue); }
.contact-item h3 { font-family: var(--ss-font-display); font-weight: 700; font-size: 15px; color: var(--kv-blue); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 8px; }
.contact-item p, .contact-item a { font-size: 16px; line-height: 1.55; color: var(--ss-fg-1); margin: 0; }
.contact-item a { font-weight: 600; color: var(--kv-blue); }
.contact-item a:hover { text-decoration: underline; }
.map-frame {
  width: 100%; border: 0; border-radius: 18px; overflow: hidden;
  box-shadow: var(--ss-shadow-md); min-height: 440px; display: block; background: var(--ss-bg);
}

/* -------------------- Generic subpage hero -------------------- */
.page-hero {
  background:
    radial-gradient(720px 400px at 6% -20%, rgba(0,160,227,0.32) 0, transparent 56%),
    var(--ss-grad-hero);
  color: #fff;
}
.page-hero-inner { padding: 72px 32px 78px; max-width: 820px; }
.page-hero .eyebrow-pill { margin-bottom: 20px; }
.page-hero h1 { font-family: var(--ss-font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.03em; margin: 0; color: #fff; }
.page-hero p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.9); margin: 20px 0 0; max-width: 640px; }

/* -------------------- Full-width CTA -------------------- */
.cta-wrap { background: var(--ss-bg); }
.cta-card {
  background: var(--kv-gold);
  border-radius: 24px;
  padding: 72px 48px; text-align: center; color: var(--kv-navy); position: relative; overflow: hidden;
}
.cta-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,26,74,0.7); margin: 0 0 14px; }
.cta-title { font-family: var(--ss-font-display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -0.02em; margin: 0; color: var(--kv-navy); position: relative; }
.cta-lead { font-size: 18px; color: rgba(10,26,74,0.82); margin: 16px auto 32px; max-width: 520px; position: relative; font-weight: 500; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-card .btn-secondary { background: var(--kv-navy); border-color: var(--kv-navy); }
.cta-card .btn-secondary:hover { background: #05123e; }
.cta-card .btn-ghost { color: var(--kv-navy); border-color: rgba(10,26,74,0.4); }
.cta-card .btn-ghost:hover { background: rgba(10,26,74,0.08); border-color: var(--kv-navy); }

/* -------------------- Lockup + footer -------------------- */
.ss-lockup { display: flex; align-items: center; gap: 12px; }
.ss-lockup .ss-mark { height: 44px; width: auto; flex: none; }
.ss-lockup .ss-wordmark {
  font-family: var(--ss-font-display); font-weight: 800;
  font-size: 20px; line-height: 1.0; letter-spacing: -0.015em;
  color: var(--ss-navy); white-space: nowrap;
}
.ss-lockup--ondark .ss-wordmark { color: var(--ss-fg-on-dark); }

.site-footer { background: var(--kv-navy); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-logo { margin-bottom: 16px; justify-content: flex-start; gap: 11px; }
.footer-logo .ss-mark { height: 40px; }
.footer-logo .ss-wordmark { font-size: 17px; }
.footer-tag { font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0; }
.footer-col h4 { font-family: var(--ss-font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kv-gold); margin: 0 0 16px; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,0.82); margin-bottom: 10px; transition: color var(--ss-dur-fast); }
.footer-col a:hover { color: var(--kv-gold); }
.footer-addr { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.6); margin: 12px 0 0; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; color: rgba(255,255,255,0.55);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-figure { order: -1; }
  .hero-figure img { height: 320px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .domain-detail-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .report-grid, .schools-grid, .missed-grid, .kidvanta-inner, .mv-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .testi-cards { grid-template-columns: 1fr 1fr; }
  .press-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav { display: none; }
  .photo-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .logos-row { gap: 28px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .section { padding: 64px 0; }
  .svc-grid, .steps, .benefits-grid, .domain-tiles, .photo-grid, .gallery-grid, .missed-cards,
  .domain-detail-grid, .team-grid, .spec-grid, .values-grid, .testi-cards, .press-grid { grid-template-columns: 1fr; }
  .photo img { height: 240px; }
  .header-cta { display: none; }
  .trust-inner { gap: 20px 32px; }
  .stat { min-width: 90px; }
  .stat--wide { border-left: none; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 24px; }
  .kidvanta-inner { padding: 32px 24px; }
}
