/* =========================================================
   ReveraMD — MedixWeb-inspired design system
   Sky blue + warm cream, Inter type, photo overlays,
   floating data cards, soft pill buttons.
   Card-spotlight + scroll-reveal animations retained.
   ========================================================= */

:root {
  /* Sky-blue palette */
  --c-sky-0:   #C7DFEC;
  --c-sky-1:   #9BC2D8;
  --c-sky-2:   #6FA5C2;
  --c-sky-3:   #4E89AC;
  --c-sky-4:   #356F92;
  --c-sky-5:   #224E6B;

  /* Warm neutrals */
  --c-cream:    #F2EBDA;
  --c-cream-2:  #F8F2E3;
  --c-bone:     #FBF8EE;
  --c-paper:    #FFFFFF;
  --c-line:     #E6DFCD;
  --c-line-soft:#EFE9D8;

  /* Ink */
  --c-ink:      #18222F;
  --c-ink-2:    #25313F;
  --c-ink-soft: #5A6471;
  --c-ink-faint:#8B939E;

  /* On-dark text helpers */
  --c-fg:       #FFFFFF;
  --c-fg-soft:  rgba(255, 255, 255, 0.85);
  --c-fg-faint: rgba(255, 255, 255, 0.65);

  /* Type — single family, Inter */
  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type */
  --t-display: clamp(2rem, 4.5vw + 1rem, 4.5rem);
  --t-h1:      clamp(2rem, 2.6vw + 1rem, 3rem);
  --t-h2:      clamp(1.875rem, 2vw + 1rem, 2.75rem);
  --t-h3:      clamp(1.25rem, 0.8vw + 1rem, 1.625rem);
  --t-body:    1.0625rem;
  --t-small:   0.9375rem;
  --t-micro:   0.8125rem;

  /* Space */
  --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem;   --s-7: 3rem;    --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;

  /* Radius */
  --r-sm: 10px; --r-md: 14px; --r-lg: 22px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;

  /* Layout */
  --w-max: 1240px;

  /* Motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Gradients */
  --grad-sky: linear-gradient(180deg, #98C2D8 0%, #7BAFCC 55%, #6FA5C2 100%);
  --grad-sky-card: linear-gradient(160deg, #6FA5C2 0%, #4E89AC 100%);
  --grad-card-soft: linear-gradient(160deg, #E1ECF2 0%, #C7DFEC 100%);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-sky-4); text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--c-sky-5); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--f);
  color: var(--c-ink);
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 500;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.005em; }

p { max-width: 65ch; line-height: 1.62; color: var(--c-ink-soft); }
p + p { margin-top: 1em; }

.lede {
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  color: var(--c-ink-2);
  line-height: 1.55;
}
strong { font-weight: 600; color: var(--c-ink); }

/* On-dark blocks */
.on-dark { color: var(--c-fg-soft); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--c-fg); }
.on-dark p { color: var(--c-fg-soft); }
.on-dark .lede { color: var(--c-fg-soft); }
.on-dark strong { color: var(--c-fg); }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--c-sky-4); color: #fff;
  padding: 10px 14px; border-radius: 8px; font-weight: 600; z-index: 1000;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
}

.section {
  position: relative;
  padding-block: clamp(4rem, 6vw + 1rem, 7rem);
}
.section-tight { padding-block: clamp(2.5rem, 4vw, 4.5rem); }

.bg-cream  { background: var(--c-cream); }
.bg-cream-2{ background: var(--c-cream-2); }
.bg-bone   { background: var(--c-bone); }
.bg-paper  { background: var(--c-paper); }

.section-header {
  max-width: 820px;
  margin-bottom: var(--s-7);
}
.section-header.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-sky-4);
  margin-bottom: var(--s-4);
}
.eyebrow::before { content: "+"; font-weight: 500; }
.on-dark .eyebrow { color: rgba(255,255,255,0.85); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 235, 218, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 223, 205, 0.6);
}

.nav {
  display: flex; align-items: center; gap: var(--s-5);
  height: 76px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--c-ink); font-weight: 700; font-size: 1.0625rem;
}
.brand-mark {
  display: inline-flex; width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-sky-card);
  color: #fff;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(34, 78, 107, 0.20);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.018em; }
.brand-logo { height: 36px; width: auto; display: block; }
@media (max-width: 420px) { .brand-logo { height: 30px; } }

.nav-links {
  display: none;
  gap: var(--s-5);
  margin-inline: auto;
}
.nav-links a {
  color: var(--c-ink);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 4px;
  position: relative;
  white-space: nowrap;
  transition: color 200ms var(--ease);
  letter-spacing: -0.005em;
}
.nav-links a::before {
  content: "·";
  position: absolute;
  left: -14px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-sky-3);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.nav-links a:hover { color: var(--c-sky-4); }
.nav-links a[aria-current="page"] { color: var(--c-sky-4); }
.nav-links a[aria-current="page"]::before { opacity: 1; }

.site-header .nav-cta { display: none; }

.menu-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  border-radius: 10px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--c-line);
  background: rgba(248, 242, 227, 0.96);
  backdrop-filter: blur(20px);
  padding: var(--s-4) clamp(1.25rem, 3vw, 2rem) var(--s-5);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block; padding: 12px 8px;
  color: var(--c-ink); font-weight: 500;
  border-radius: 8px;
}
.mobile-menu a:hover { background: rgba(78, 137, 172, 0.10); color: var(--c-sky-4); }
.mobile-menu .btn { margin-top: var(--s-3); display: inline-flex; }

@media (min-width: 920px) {
  .nav-links { display: inline-flex; }
  .site-header .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Pill button with circle-arrow ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 22px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 240ms var(--ease), background 240ms var(--ease), box-shadow 240ms var(--ease);
}
.btn .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-sky-3);
  color: #fff;
  transition: transform 240ms var(--ease), background 240ms var(--ease);
}
.btn .ic svg { width: 14px; height: 14px; }

.btn-primary {
  background: #fff;
  color: var(--c-ink);
  box-shadow: 0 2px 8px rgba(34, 78, 107, 0.08);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(34, 78, 107, 0.14);
  color: var(--c-ink);
}
.btn-primary:hover .ic { background: var(--c-sky-4); transform: translateX(2px); }

.btn-sky {
  background: var(--c-sky-3);
  color: #fff;
  padding: 12px 22px;
  box-shadow: 0 6px 18px rgba(34, 78, 107, 0.20);
}
.btn-sky:hover {
  background: var(--c-sky-4);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(34, 78, 107, 0.26);
}

.btn-ghost {
  background: rgba(24, 34, 47, 0.05);
  color: var(--c-ink);
  padding: 12px 22px;
  border: 1px solid rgba(24, 34, 47, 0.10);
}
.btn-ghost:hover {
  background: rgba(24, 34, 47, 0.08);
  color: var(--c-ink);
  border-color: rgba(24, 34, 47, 0.18);
}

.btn-dark {
  background: var(--c-ink);
  color: #fff;
  padding: 12px 22px;
}
.btn-dark:hover { background: var(--c-ink-2); color: #fff; }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.btn-link {
  color: var(--c-sky-4);
  padding: 8px 4px;
  border-radius: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
}
.btn-link::after { content: "→"; transition: transform 240ms var(--ease); }
.btn-link:hover { color: var(--c-sky-5); }
.btn-link:hover::after { transform: translateX(4px); }

.btn-lg { padding: 10px 10px 10px 26px; font-size: 1rem; }
.btn-lg .ic { width: 36px; height: 36px; }

/* ---------- Spotlight glass card (preserved from prior pass) ---------- */

.card-spotlight {
  position: relative;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--c-line);
  padding: clamp(1.5rem, 2vw, 2.25rem);
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(78, 137, 172, 0.10);
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease), border-color 360ms var(--ease);
  isolation: isolate;
}
.card-spotlight::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 60%);
  opacity: 0;
  transition: opacity 480ms var(--ease);
  pointer-events: none;
  z-index: 2;
}
.card-spotlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(34, 78, 107, 0.10), 0 4px 8px rgba(34, 78, 107, 0.05);
  border-color: var(--c-sky-1);
}
.card-spotlight:hover::after,
.card-spotlight:focus-within::after { opacity: 1; }
.card-spotlight > * { position: relative; z-index: 3; }

.on-dark .card-spotlight {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  --spotlight-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.on-dark .card-spotlight:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 20px 40px rgba(34, 78, 107, 0.20);
}

.icon-tile {
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 14px;
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--c-sky-1), var(--c-sky-3));
  color: #fff;
  margin-bottom: var(--s-4);
  box-shadow: 0 4px 12px rgba(34, 78, 107, 0.18);
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.ghost {
  background: var(--c-paper);
  color: var(--c-sky-4);
  border: 1px solid var(--c-sky-0);
  box-shadow: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.hero-frame {
  position: relative;
  border-radius: var(--r-2xl);
  background: var(--grad-sky);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
  min-height: 620px;
}
.hero-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(255, 255, 255, 0.32), transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 80%, rgba(34, 78, 107, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.55), transparent 4%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,0.45), transparent 4%),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,0.4), transparent 4%),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,0.5), transparent 5%);
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
  z-index: 1;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-8); align-items: stretch; }
}

.hero-copy { color: #fff; display: flex; flex-direction: column; }
.hero-copy .trust {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: var(--t-micro);
  font-weight: 500;
  margin-bottom: var(--s-6);
  width: max-content;
  max-width: 100%;
}
.hero-copy .avatars { display: inline-flex; }
.hero-copy .avatars span {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: var(--grad-sky-card);
  margin-left: -8px;
  display: inline-block;
}
.hero-copy .avatars span:first-child { margin-left: 0; }
.hero-copy .avatars span:nth-child(2) { background: linear-gradient(160deg, #F2EBDA, #D9CBA8); }
.hero-copy .avatars span:nth-child(3) { background: linear-gradient(160deg, #A4C8DE, #6FA5C2); }

.hero-copy h1 {
  font-size: var(--t-display);
  color: #fff;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
  overflow-wrap: normal;
}
.hero-copy .lede {
  margin-top: var(--s-5);
  color: rgba(255,255,255,0.88);
  max-width: 42ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-top: var(--s-6);
}

.hero-meta {
  margin-top: auto;
  padding-top: var(--s-7);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.hero-meta .badge { color: #fff; max-width: 28ch; }
.hero-meta .badge h4 { color: #fff; font-size: 1rem; font-weight: 500; margin-bottom: 4px; letter-spacing: -0.005em; }
.hero-meta .badge p { color: rgba(255,255,255,0.78); font-size: var(--t-small); }

/* Hero right column: photo placeholder + floating cards */
.hero-right {
  position: relative;
  display: flex; flex-direction: column;
  gap: var(--s-4);
  min-height: 360px;
}
.hero-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.24);
  flex: 1;
  min-height: 280px;
}
.hero-photo svg { width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-cards {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-3);
}

.stat-card {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
}
.stat-card .label {
  font-size: var(--t-micro);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s-2);
}
.stat-card .v {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.stat-card .sub { font-size: var(--t-micro); color: rgba(255,255,255,0.78); margin-top: var(--s-3); }

.stat-card .promise-list { display: grid; gap: 12px; margin-top: var(--s-4); }
.stat-card .promise-list li {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}
.stat-card .promise-list li svg {
  width: 20px; height: 20px; flex: none;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  padding: 3px;
}

.chip-card {
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: rgba(34, 78, 107, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 8px;
}

.glass-chip {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: var(--t-micro);
  font-weight: 500;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.glass-chip.active {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}
.glass-chip .x {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
}
.glass-chip.active .x { background: rgba(78, 137, 172, 0.18); color: var(--c-sky-4); }
.glass-chip .x svg { width: 10px; height: 10px; }

/* ---------- About / Intro section ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: 220px 1fr; gap: var(--s-8); align-items: center; }
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}
@media (min-width: 980px) {
  .intro-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); }
}

.about-portrait {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--grad-card-soft);
  border: 1px solid var(--c-line-soft);
  width: 100%;
  max-width: 240px;
}
.about-portrait svg { width: 100%; height: 100%; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Meet-the-doctor — larger portrait (~1/3 of page) */
.bio-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .bio-feature { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); gap: var(--s-8); }
}
.bio-feature-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--grad-card-soft);
  box-shadow: 0 18px 40px rgba(34, 78, 107, 0.12);
}
.bio-feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.about-copy h2 {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.875rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.25;
}
.about-copy h2 strong { color: var(--c-sky-4); font-weight: 500; }

/* Impact + side cards */

.impact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (min-width: 760px) {
  .impact-row { grid-template-columns: minmax(220px, 280px) 1fr 1fr; align-items: stretch; }
}

.impact-card {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.impact-card .lab {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--c-ink);
  font-size: var(--t-small);
  font-weight: 500;
}
.impact-card .nav-arrows {
  display: inline-flex; gap: 8px;
}
.impact-card .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--c-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  transition: background 200ms var(--ease), color 200ms var(--ease);
  cursor: pointer;
}
.impact-card .arrow.active { background: var(--c-sky-3); color: #fff; border-color: var(--c-sky-3); }
.impact-card .arrow svg { width: 14px; height: 14px; }
.impact-card .v {
  font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1;
}
.impact-card .sub { color: var(--c-ink-soft); font-size: var(--t-small); }

.info-card-row {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-cream-2);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.info-card-row .head {
  display: flex; justify-content: space-between; align-items: center;
}
.info-card-row .ic {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-sky-card);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.info-card-row .ic svg { width: 16px; height: 16px; }
.info-card-row .chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: var(--t-micro);
  font-weight: 500;
  color: var(--c-ink);
}
.info-card-row h3 { font-size: 1.125rem; font-weight: 600; }
.info-card-row p { font-size: var(--t-small); }

/* Decorative DNA dots */
.dna-deco {
  position: absolute;
  pointer-events: none;
  width: 220px; height: 360px;
  opacity: 0.7;
  z-index: 0;
}

/* ---------- Why / Values section ---------- */

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 980px) {
  .values-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--s-6); align-items: stretch; }
}

.values-list {
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.values-list .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  font-weight: 500;
  font-size: 1rem;
  transition: color 240ms var(--ease);
}
.values-list .row:hover { color: var(--c-sky-4); }
.values-list .row .num {
  font-variant-numeric: tabular-nums;
  color: var(--c-sky-4);
  font-weight: 600;
}

.values-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--grad-card-soft);
  transform: rotate(-1.5deg);
}
.values-photo svg { width: 100%; height: 100%; }
.values-photo img { width: 100%; height: 100%; object-fit: cover; }

.statement-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--grad-sky-card);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 360px;
}
.statement-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255,255,255,0.20), transparent 60%);
  z-index: -1;
}
.statement-card h3 {
  color: #fff;
  font-size: clamp(1.25rem, 1.4vw + 1rem, 1.875rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 20ch;
}
.statement-card .chips {
  position: absolute;
  right: -12px; bottom: 20px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  z-index: 1;
}
.statement-card .chips .chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff;
  font-size: var(--t-micro);
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* ---------- Pelvic wellness feature ---------- */

.feature-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--r-2xl);
  background: #fff;
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 980px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
}

.feature-points {
  margin-top: var(--s-5);
  display: grid; gap: var(--s-3);
}
.feature-points li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--c-ink-soft);
}
.feature-points li::before {
  content: "";
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  margin-top: 3px;
  background: var(--grad-sky-card);
  position: relative;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.9), 0 0 0 1px var(--c-sky-3);
}

.feature-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  background: var(--grad-card-soft);
  border: 1px solid var(--c-line-soft);
  overflow: hidden;
}
.feature-photo svg { width: 100%; height: 100%; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Info / patient cards ---------- */

.info-grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }

.info-card h4 {
  color: var(--c-ink-faint);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.info-card .val {
  font-size: 1.5rem;
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.info-card .val-sub { color: var(--c-ink-soft); margin-top: 6px; font-size: var(--t-small); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid; gap: var(--s-7);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.contact-list { display: grid; gap: var(--s-3); }
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.contact-row:hover {
  border-color: var(--c-sky-1);
  box-shadow: 0 6px 16px rgba(34, 78, 107, 0.06);
}
.contact-row .ic {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--c-sky-0);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-sky-4);
}
.contact-row .ic svg { width: 18px; height: 18px; }
.contact-row h4 { color: var(--c-ink); margin-bottom: 2px; font-size: 1rem; }
.contact-row p { color: var(--c-ink-soft); font-size: 0.9875rem; }
.contact-row a { color: var(--c-sky-4); font-weight: 500; }
.contact-row a:hover { color: var(--c-sky-5); }

.map-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  background: var(--grad-card-soft);
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.map-card svg { width: 100%; height: 100%; }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card .pin {
  position: absolute; inset: auto 0 18px 0;
  margin-inline: auto; width: max-content;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: var(--t-small);
  color: var(--c-ink);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(34, 78, 107, 0.10);
}
.map-card .pin::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-sky-3);
  box-shadow: 0 0 0 4px rgba(78, 137, 172, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: var(--s-3); max-width: 760px; }
.faq details {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.faq details[open] { border-color: var(--c-sky-1); box-shadow: 0 4px 14px rgba(34, 78, 107, 0.06); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px;
  color: var(--c-ink);
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--c-sky-3);
  line-height: 1;
  transition: transform 240ms var(--ease);
  font-weight: 300;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 18px; color: var(--c-ink-soft); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.page-hero-frame {
  position: relative;
  border-radius: var(--r-2xl);
  background: var(--grad-sky);
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  color: #fff;
}
.page-hero-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(255, 255, 255, 0.32), transparent 60%);
  pointer-events: none;
}
.page-hero .crumb {
  position: relative;
  font-size: var(--t-small);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s-3);
}
.page-hero .crumb a { color: #fff; font-weight: 500; }
.page-hero h1 {
  position: relative;
  color: #fff;
  font-weight: 400;
  max-width: 22ch;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  letter-spacing: -0.025em;
}
.page-hero .lede {
  position: relative;
  margin-top: var(--s-4);
  max-width: 60ch;
  color: rgba(255,255,255,0.88);
}

/* ---------- Lists ---------- */

.bullet-list { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.bullet-list li {
  position: relative;
  padding-left: 28px;
  color: var(--c-ink-soft);
}
.bullet-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-sky-card);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.9), 0 0 0 1px var(--c-sky-3);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c-ink);
  color: var(--c-fg-soft);
  padding-block: var(--s-9) var(--s-6);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 20% 0%, rgba(78,137,172,0.18), transparent 65%);
  pointer-events: none;
}
.site-footer a { color: var(--c-fg-soft); }
.site-footer a:hover { color: var(--c-fg); }

.footer-grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-7); }
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff;
  font-size: 1.375rem; font-weight: 500;
}
.footer-col h4 {
  color: #fff;
  font-size: var(--t-micro);
  letter-spacing: 0.04em;
  font-weight: 500;
  margin-bottom: var(--s-3);
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col li, .footer-col p { font-size: var(--t-small); line-height: 1.65; color: var(--c-fg-soft); max-width: none; }
.footer-bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  justify-content: space-between; align-items: center;
  font-size: var(--t-micro);
  color: var(--c-fg-faint);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  border-radius: var(--r-2xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--grad-sky-card);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 60% at 100% 0%, rgba(255,255,255,0.22), transparent 60%);
  pointer-events: none;
}
@media (min-width: 880px) {
  .cta-banner { grid-template-columns: 1fr auto; gap: var(--s-7); }
}
.cta-banner h2 {
  position: relative;
  color: #fff;
  font-size: clamp(1.75rem, 1.5vw + 1rem, 2.5rem);
  font-weight: 400;
  max-width: 22ch;
  letter-spacing: -0.025em;
}
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 50ch; margin-top: var(--s-3); position: relative; }
.cta-banner .btn {
  background: #fff;
  color: var(--c-ink);
  padding: 10px 10px 10px 26px;
}
.cta-banner .btn:hover {
  background: #fff;
  color: var(--c-ink);
  transform: translateY(-1px);
}
.cta-banner .btn .ic { background: var(--c-ink); }

/* ---------- Animation utilities ---------- */

@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-loop { animation: float 7s ease-in-out infinite; }

/* ---------- Utility ---------- */

.text-center { text-align: center; }

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