/* Dr. Joshi's landing pages — built from the Brand Manual, Edition 1 (Oct 2026).
   Palette: one blue, one lime, a lot of white (60 · 30 · 10). Source Sans 3 + Noto Sans Devanagari.
   One graphic device: the ring. Lucide icons. */

:root {
  /* Blue scale (600 = Dr. Joshi's Blue) */
  --blue-50: #EEF0FA;
  --blue-100: #D9DCF3;
  --blue-200: #B4B9E6;
  --blue-400: #4B56B8;   /* focus ring */
  --blue-500: #22289F;   /* links */
  --blue-600: #010381;   /* brand */
  --blue-700: #010266;   /* hover */
  --blue-800: #01024D;   /* pressed */
  --blue-900: #000133;
  /* Lime scale (500 = Herbal Lime) */
  --lime-50: #F7FAEA;
  --lime-500: #B2D350;
  --lime-600: #9ABA36;
  --lime-700: #7B962A;
  --lime-900: #3E4B16;
  /* Cool greys */
  --grey-50: #F6F7FB;
  --grey-100: #EEF0F5;
  --grey-200: #DDE1EA;   /* hairlines */
  --grey-300: #C3C9D6;
  --grey-500: #6B7589;   /* muted text */
  --grey-700: #353C4B;   /* body */
  --grey-900: #11141B;   /* headings, ink */
  --danger: #C2362B;     /* digital status only */

  --font: "Source Sans 3", "Segoe UI", Arial, system-ui, sans-serif;
  --font-deva: "Noto Sans Devanagari", "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --r-tag: 4px;
  --r-input: 6px;
  --r-btn: 10px;
  --r-card: 16px;
  --r-modal: 24px;
  --shadow: 0 8px 24px rgba(1, 3, 129, 0.08);

  --max: 1200px;
  --side: 20px;
  --band: 56px;
}
@media (min-width: 900px) {
  :root { --side: 32px; --band: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--grey-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: var(--blue-500); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
[lang="mr"], [lang="hi"], .deva { font-family: var(--font-deva); line-height: 1.45; }

/* Marathi and Hindi pages: Latin (numbers, CKD, eGFR) stays in Source Sans 3, Devanagari uses Noto Sans
   Devanagari. Devanagari needs taller lines (brand manual: line-height ≥ 1.4) and no letter-spacing. */
html[lang="mr"], html[lang="hi"] { --font: "Source Sans 3", "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif; }
html[lang="mr"] body, html[lang="hi"] body { line-height: 1.65; }
html[lang="mr"] h1, html[lang="hi"] h1 { font-size: clamp(28px, 6.8vw, 42px); line-height: 1.32; letter-spacing: 0; }
html[lang="mr"] h2, html[lang="hi"] h2 { line-height: 1.38; letter-spacing: 0; }
html[lang="mr"] h3, html[lang="hi"] h3,
html[lang="mr"] .step__q, html[lang="hi"] .step__q,
html[lang="mr"] .faq summary, html[lang="hi"] .faq summary { line-height: 1.45; }
html[lang="mr"] .lead, html[lang="hi"] .lead { line-height: 1.65; }
html[lang="mr"] .label, html[lang="hi"] .label,
html[lang="mr"] .footer h4, html[lang="hi"] .footer h4 { font-size: 13px; letter-spacing: 0.02em; }
html[lang="mr"] .tag, html[lang="hi"] .tag { letter-spacing: 0; }
html[lang="mr"] .story__metric, html[lang="hi"] .story__metric { line-height: 1.3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--side); }

/* ---------- Bands: white leads, blue-50 and blue alternate; never two blue bands in a row ---------- */
.band { position: relative; overflow: hidden; overflow: clip; padding-block: var(--band); }   /* clip: the ring can never be scrolled into view */
.band--tint { background: var(--blue-50); }
.band--blue { background: var(--blue-600); color: #fff; }
.band--tight { padding-block: 32px; }

/* ---------- Type scale (Brand Manual p.20) ---------- */
.label {
  display: block;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.band--blue .label, .hero .label { color: var(--lime-500); }
h1, .h1 {
  margin: 0;
  font-size: clamp(31px, 7.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--blue-600);
}
h2, .h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5.4vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--blue-600);
}
h3, .h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--grey-900); }
.band--blue h2, .band--blue h3, .hero h1 { color: #fff; }
.hl { color: var(--lime-500); }            /* one lime word, on blue only */
.pair {                                     /* Devanagari partner line, 55–65 % of the headline */
  margin: 8px 0 0;
  font-family: var(--font-deva);
  font-size: clamp(18px, 4.4vw, 26px);
  font-weight: 600;
  line-height: 1.4;
}
.lead { margin: 0; font-size: clamp(17px, 2vw, 19px); line-height: 1.5; color: var(--grey-700); max-width: 62ch; }
.hero .lead, .band--blue .lead { color: rgba(255, 255, 255, 0.9); }
.small { font-size: 14px; line-height: 1.5; }
.caption { font-size: 12px; line-height: 1.4; color: var(--grey-500); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head .lead { margin-top: 8px; }

/* ---------- Buttons: radius 10, ≥ 48 px; lime only on a blue surface ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--r-btn);
  font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); }
.btn--primary:active { background: var(--blue-800); }
.btn--lime { background: var(--lime-500); color: var(--grey-900); }
.btn--lime:hover { background: var(--lime-600); }
.btn--outline { background: #fff; color: var(--blue-600); border-color: var(--blue-600); }
.btn--outline:hover { background: var(--blue-50); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- The ring (Brand Manual p.23): stroke 11 % of the diameter ---------- */
.ring-env {                                  /* large, environmental: cropped by two edges, one per band */
  position: absolute; pointer-events: none;
  width: var(--d, 420px); height: var(--d, 420px);
  border: calc(var(--d, 420px) * 0.11) solid var(--lime-500);
  border-radius: 50%;
}
.ring-num {                                  /* medium, framing: holds a step number */
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border: 5px solid var(--lime-500); border-radius: 50%;
  font-weight: 700; font-size: 18px; color: var(--blue-600);
}
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.45; }
.ticks li::before {                          /* small marker ring replaces the bullet */
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border: 2px solid var(--lime-500); border-radius: 50%;
}
.band--blue .ticks li, .hero .ticks li { color: #fff; }

/* ---------- Icons (Lucide, 2 px stroke) ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.disc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime-500); color: var(--grey-900); flex: none; }

/* ---------- Header: the blue plate ---------- */
.header { background: var(--blue-600); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.header__logo img { height: 34px; width: auto; }
.header__nav { display: none; gap: 24px; }
.header__nav a { color: rgba(255, 255, 255, 0.88); text-decoration: none; font-size: 15px; font-weight: 600; }
.header__nav a:hover { color: #fff; }
.header__call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--r-btn);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
}
.header__call .icon { width: 18px; height: 18px; }
@media (max-width: 420px) { .header__call span { display: none; } .header__call { padding: 0 12px; } }
.header__actions { display: flex; align-items: center; gap: 8px; }

/* Language menu (a <details> dropdown, works without JavaScript) */
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--r-btn);
  color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; white-space: nowrap;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary .icon { width: 18px; height: 18px; }
.lang summary .lang__caret { width: 16px; height: 16px; transition: transform .15s ease; }
.lang[open] summary .lang__caret { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 168px;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 1, 51, 0.24);
}
.lang a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px;
  border-radius: 8px; color: var(--grey-900); text-decoration: none; font-weight: 600; font-size: 16px;
}
.lang a:hover { background: var(--grey-50); }
.lang a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
.lang a .icon { width: 18px; height: 18px; }
@media (min-width: 900px) { .header__nav { display: flex; } .header__logo img { height: 40px; } .header__bar { min-height: 76px; } }

/* ---------- Hero: blue band, optional blue-duotone photo ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; background: var(--blue-600); color: #fff; padding: 28px 0 0; }
.hero__photo { position: absolute; inset: 0; background: var(--blue-700); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; opacity: 0.32; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 3, 129, 0.55), rgba(1, 3, 129, 0.92)); }
.hero .ring-env { --d: 180px; right: -100px; top: -120px; }   /* phones: corner only, clear of the label and headline */
.hero__grid { position: relative; display: grid; gap: 20px; grid-template-areas: "copy" "form" "meta"; }
.hero__copy { grid-area: copy; }
.hero__copy .lead { margin-top: 12px; }
.hero__form { grid-area: form; }
.hero__meta { grid-area: meta; padding-bottom: 28px; }
.hero__meta .doctor { margin-top: 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--lime-500); border-radius: 50%; flex: none; }
.hero-proof strong { color: #fff; font-weight: 700; }
.doctor {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 460px;
}
.doctor .disc { width: 40px; height: 40px; }
.doctor .disc .icon { width: 20px; height: 20px; }
.doctor > div > strong { display: block; color: #fff; font-weight: 600; line-height: 1.3; }
.doctor > div > span { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.78); line-height: 1.35; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero .ring-env { --d: 520px; right: -200px; top: -220px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; grid-template-areas: "copy form" "meta form"; column-gap: 56px; row-gap: 24px; align-items: start; }
  .hero__copy { align-self: end; }
  .hero__meta { padding-bottom: 0; }
}

/* ---------- The kidney check (lead form as a 4-step check) ---------- */
.check {
  position: relative; background: #fff; color: var(--grey-700);
  border-radius: var(--r-card); box-shadow: 0 12px 32px rgba(0, 1, 51, 0.28);
  padding: 18px 18px 20px; margin-inline: -8px;
}
@media (min-width: 560px) { .check { margin-inline: 0; padding: 22px; } }
@media (min-width: 900px) { .check { padding: 28px; } }
.check__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.check__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--blue-600); }
.check__count { font-size: 13px; color: var(--grey-500); white-space: nowrap; }
.progress { height: 6px; border-radius: 3px; background: var(--grey-100); overflow: hidden; margin: 8px 0 18px; }
.progress span { display: block; height: 100%; width: 25%; background: var(--lime-500); border-radius: 3px; transition: width .25s ease; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend, .step__q { display: block; padding: 0; margin: 0 0 14px; font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--grey-900); }
.step__hint { margin: -8px 0 14px; font-size: 14px; color: var(--grey-500); }
.js .stepper .step:not(.is-active) { display: none; }
.js .stepper .step.is-entering { animation: stepIn .2s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips--3 { grid-template-columns: 1fr 1fr 1fr; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 8px 10px;
  border: 1.5px solid var(--grey-300); border-radius: var(--r-btn); background: #fff;
  font-size: 16px; font-weight: 600; color: var(--grey-900); cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease;
}
.chip span:hover { border-color: var(--blue-600); }
.chip input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-600); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.step__back {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; padding: 8px 0;
  background: none; border: 0; color: var(--blue-500); font-weight: 600; font-size: 15px; cursor: pointer;
}
.step__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.step__nav:not(:has(.step__back)) { margin-top: 0; }
.step__nav .step__back { margin-top: 0; }
.step__next { display: none; min-height: 44px; padding: 8px 20px; font-size: 16px; margin-left: auto; }
.step.is-answered .step__next { display: inline-flex; }
html:not(.js) .step__nav, html:not(.js) .check__top, html:not(.js) .progress { display: none; }
html:not(.js) .step { margin-bottom: 18px; }
.no-js-note { font-size: 13px; color: var(--grey-500); }
.js .no-js-note { display: none; }

/* Fields (class names are read by lead-form.js) */
.lead-form { display: block; }
.field { margin-bottom: 14px; }
.field > label, .field__label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--grey-900); }
.input {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--grey-300); border-radius: var(--r-input); background: #fff;
  font-size: 16px; color: var(--grey-900); -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--grey-500); }
.input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-200); }
.phone-group { display: flex; }
.phone-group .prefix {
  display: inline-flex; align-items: center; padding: 0 12px;
  border: 1.5px solid var(--grey-300); border-right: 0; border-radius: var(--r-input) 0 0 var(--r-input);
  background: var(--grey-50); color: var(--grey-700); font-weight: 600;
}
.phone-group .input { border-radius: 0 var(--r-input) var(--r-input) 0; }
.consent, .field > .consent {
  display: flex; margin: 0; font-weight: 400; gap: 12px; align-items: flex-start; min-height: 48px; padding: 12px;
  border: 1.5px solid var(--grey-200); border-radius: var(--r-input); background: var(--grey-50);
  font-size: 14px; line-height: 1.45; color: var(--grey-700); cursor: pointer;
}
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue-600); }
.error-msg { display: none; margin-top: 6px; font-size: 14px; color: var(--danger); }
.field.has-error .error-msg { display: block; }
.field.has-error .input, .field.has-error .phone-group .prefix, .field.has-error .consent { border-color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-bottom: 12px; padding: 12px; border-radius: var(--r-input); font-size: 14px; }
.form-status.is-error { display: block; background: #FBEAE9; color: #7d1f18; border: 1px solid #F0C2BE; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { display: flex; gap: 6px; align-items: flex-start; justify-content: center; margin: 12px 0 0; font-size: 13px; color: var(--grey-500); text-align: center; }
.form-note .icon { width: 15px; height: 15px; margin-top: 2px; }
.form-fee { margin: 12px 0 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--grey-900); }

/* ---------- Facts row under the hero ---------- */
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.facts li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; background: var(--grey-50); border: 1px solid var(--grey-200);
  font-size: 15px; font-weight: 600; color: var(--grey-900);
}
.facts .icon { width: 18px; height: 18px; color: var(--blue-600); }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 560px) and (max-width: 959px) { .grid--6 { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow); }
.card p { margin: 0; }
.card .tile { margin-bottom: 14px; }
.cause { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--grey-200); border-radius: var(--r-card); background: #fff; }
.cause h3 { font-size: 18px; margin-bottom: 4px; }
.cause p { margin: 0; font-size: 15px; line-height: 1.5; }

/* Proof numbers */
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.stat { padding: 18px 14px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--grey-200); }
.stat__num { display: block; font-size: clamp(28px, 7.4vw, 52px); white-space: nowrap; font-weight: 700; line-height: 1; letter-spacing: -0.015em; color: var(--blue-600); }
.stat__label { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--grey-700); }
.stats-note { margin: 14px 0 0; }

/* Patient stories */
.stories { display: grid; gap: 16px; }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .stories--2 { grid-template-columns: repeat(2, 1fr); } }
.story { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.story__img { aspect-ratio: 16 / 9; background: var(--blue-50); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.tag { align-self: flex-start; padding: 4px 8px; border-radius: var(--r-tag); background: var(--blue-50); color: var(--blue-600); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.story__metric { font-size: 30px; font-weight: 700; line-height: 1.05; color: var(--blue-600); }
.story__metric small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--grey-500); }
.story blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--grey-700); }
.story__who { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--grey-900); line-height: 1.3; }
.story__who .ring-num { width: 44px; height: 44px; border-width: 4px; font-size: 15px; }
.story__who div span { display: block; font-weight: 400; font-size: 14px; color: var(--grey-500); }
.story__who .tag { margin-left: auto; align-self: center; }

/* Stage-by-stage expectations */
.stages { display: grid; gap: 14px; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(3, 1fr); } }
.stage { position: relative; padding: 20px; border-radius: var(--r-card); border: 1px solid var(--grey-200); background: #fff; }
.stage--now { border: 2px solid var(--blue-600); }
.stage__when { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--blue-600); color: #fff; font-size: 13px; font-weight: 600; }
.stage--now .stage__when { background: var(--lime-500); color: var(--grey-900); }
.stage h3 { font-size: 19px; }
.stage p { margin: 0; font-size: 15.5px; }

/* Pillars with photos */
.pillar { overflow: hidden; padding: 0; }
.pillar__img { aspect-ratio: 16 / 9; background: var(--blue-50); }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; }
.pillar__body { padding: 18px 20px 22px; }
.pillar__body .label { margin-bottom: 8px; }
.pillar__body p { margin: 0; font-size: 15.5px; }

/* Feature: photo beside copy */
.feature { display: grid; gap: 24px; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.feature__img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; background: var(--blue-50); box-shadow: var(--shadow); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature .lead { margin-top: 8px; }

.points { display: grid; gap: 18px; margin-top: 22px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point h3 { font-size: 18px; margin-bottom: 4px; }
.point p { margin: 0; font-size: 15.5px; }

/* Comparison */
.compare { display: grid; gap: 14px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: 20px; border-radius: var(--r-card); border: 1px solid var(--grey-200); background: #fff; }
.compare__col--us { border: 2px solid var(--blue-600); }
.compare__col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.compare li .icon { width: 20px; height: 20px; margin-top: 1px; }
.compare__col--them li .icon { color: var(--danger); }
.compare__col--us li .icon { color: var(--blue-600); }

/* Test chips */
.tests { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tests li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--grey-200); font-size: 15px; font-weight: 600; color: var(--grey-900); }

/* Steps */
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps h3 { font-size: 19px; margin: 6px 0 4px; }
.steps p { margin: 0; font-size: 15.5px; }

/* Chat band (Traya's "Have questions?" pattern) */
.chat { display: grid; gap: 20px; align-items: center; }
.chat-band .ring-env { --d: 180px; right: -100px; top: -110px; }
@media (max-width: 559px) { .chat .btn-row .btn { width: 100%; } }
@media (min-width: 900px) { .chat-band .ring-env { --d: 340px; top: auto; right: -140px; bottom: -190px; } }
@media (min-width: 900px) { .chat { grid-template-columns: 1.2fr 0.8fr; } .chat .btn-row { justify-content: flex-end; } }

/* Practical details */
.details { display: grid; gap: 12px; margin: 0; }
.details div { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--grey-200); }
.details dt { font-weight: 600; color: var(--grey-900); margin: 0; }
.details dd { margin: 2px 0 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--r-card); padding: 0 18px; }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 16px 32px 16px 0; font-size: 17px; font-weight: 600; color: var(--grey-900); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--blue-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

/* Final CTA band */
.cta .ring-env { --d: 340px; left: -170px; bottom: -190px; }
.cta__inner { position: relative; max-width: 640px; }
.cta .btn-row { margin-top: 22px; }

/* ---------- Footer: deep blue base, white logo, one lime rule, one ring ---------- */
.footer {
  position: relative; overflow: hidden; overflow: clip;
  background: var(--blue-800); color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 calc(112px + env(safe-area-inset-bottom, 0px));   /* clears the floating buttons on phones */
  font-size: 15px; line-height: 1.55;
}
@media (min-width: 900px) { .footer { padding: 72px 0 36px; } }
.footer .ring-env { --d: 240px; right: -140px; top: -140px; }
@media (min-width: 900px) { .footer .ring-env { --d: 300px; right: -170px; top: -170px; } }
.footer .wrap { position: relative; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer :focus-visible { outline-color: var(--lime-500); }
.footer h4 {
  margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime-500);
}
.footer__top { display: grid; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1fr auto; align-items: end; padding-bottom: 40px; padding-right: 140px; } }   /* keeps the button clear of the ring */
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin: 16px 0 0; max-width: 40ch; font-size: 19px; line-height: 1.45; font-weight: 600; color: #fff; }
.footer__rule { display: block; width: 48px; height: 3px; margin-top: 18px; border-radius: 2px; background: var(--lime-500); }
.footer__cta { justify-self: start; }
@media (max-width: 559px) { .footer__cta { width: 100%; } }
.footer__grid { display: grid; gap: 32px; padding: 32px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1.25fr 1fr; gap: 48px; padding: 40px 0; } }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list li { display: flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; }
.footer__list .icon, .footer__online .icon { width: 20px; height: 20px; flex: none; color: var(--lime-500); }
.footer__clinics { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer__clinics li {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px 6px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; font-weight: 600; font-size: 15px;
}
.footer__clinics .icon { width: 16px; height: 16px; color: var(--lime-500); }
.footer__online { display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; }
.footer__doc { display: flex; align-items: center; gap: 12px; }
.footer__doc .disc { width: 44px; height: 44px; }
.footer__doc .disc .icon { width: 22px; height: 22px; }
.footer__doc strong { display: block; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.3; }
.footer__doc span:not(.disc) { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.footer__doctor p { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.footer__legal { display: grid; gap: 10px; padding: 24px 0; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); max-width: 900px; }
.footer__legal p { margin: 0; }
.footer__legal strong { color: rgba(255, 255, 255, 0.86); font-weight: 600; }
.footer__legal a { color: rgba(255, 255, 255, 0.86); text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: rgba(255, 255, 255, 0.6);
}
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, 0.86); }

/* ---------- Floating Call + WhatsApp buttons ----------
   site.js toggles .is-visible: on phones they show once the hero is passed and hide while a form
   is on screen, so they never cover the kidney check. On larger screens they always show. */
.sticky-cta {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.sticky-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .sticky-cta { right: 24px; bottom: 24px; opacity: 1; transform: none; pointer-events: auto; } }
html:not(.js) .sticky-cta { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; box-shadow: 0 8px 24px rgba(0, 1, 51, 0.28);
  transition: transform .15s ease;
}
.fab__btn:hover { transform: scale(1.06); }
.fab__btn .icon { width: 28px; height: 28px; }
.fab__btn--wa { background: #25D366; }                                   /* WhatsApp's own green, so it reads instantly */
.fab__btn--call { background: var(--blue-600); border: 3px solid var(--lime-500); }  /* blue disc, lime ring */
.fab__btn--call .icon { width: 24px; height: 24px; }

/* ---------- Reveal on scroll (site.js adds .in) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .stepper .step.is-entering { animation: none; }
}

/* Bottom booking band reuses the hero grid */
.book-grid { grid-template-areas: "copy" "form"; }
@media (min-width: 900px) { .book-grid { grid-template-areas: "copy form"; } .book-grid .hero__copy { align-self: center; } }
