:root {
  color-scheme: light;
  --pink: #fe0054;          /* brand pink, taken from the logo */
  --btn: #c8003f;           /* button fill, white text passes AA */
  --btn-hover: #a60034;
  --accent: #c8003f;        /* pink used for text and icons */
  --pink-tint: #fff1f5;
  --pink-line: #ffd3e0;
  --ink: #1d2230;
  --ink-soft: #4a5060;
  --bg: #ffffff;
  --surface: #ffffff;
  --field-bg: #ffffff;
  --field-border: #b9bdc9;
  --header-bg: rgba(255,255,255,.97);
  --contact-bg: #1d2230;
  --ok: #0b6b3a;
  --err: #b00020;
  --footer-bg: #12151f;
  --radius: 14px;
  --font-head: "Josefin Sans", "Century Gothic", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Night mode: follows the device unless the visitor picks a theme with the toggle */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --accent: #ff7da6;
    --pink-tint: #1c1520;
    --pink-line: #3d2b37;
    --ink: #eef0f5;
    --ink-soft: #b4bacb;
    --bg: #0f1117;
    --surface: #1a1d27;
    --field-bg: #11131a;
    --field-border: #565c70;
    --header-bg: rgba(15,17,23,.96);
    --contact-bg: #0a0c12;
    --ok: #6fdc9f;
    --err: #ff8a9b;
    --footer-bg: #05060a;
  }
  :root:not([data-theme="light"]) .ic-sun { display: block; }
  :root:not([data-theme="light"]) .ic-moon { display: none; }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #ff7da6;
  --pink-tint: #1c1520;
  --pink-line: #3d2b37;
  --ink: #eef0f5;
  --ink-soft: #b4bacb;
  --bg: #0f1117;
  --surface: #1a1d27;
  --field-bg: #11131a;
  --field-border: #565c70;
  --header-bg: rgba(15,17,23,.96);
  --contact-bg: #0a0c12;
  --ok: #6fdc9f;
  --err: #ff8a9b;
  --footer-bg: #05060a;
}
:root[data-theme="dark"] .ic-sun { display: block; }
:root[data-theme="dark"] .ic-moon { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--pink-line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--accent); letter-spacing: .01em; }
.brand-tag { font-family: var(--font-head); font-size: .78rem; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--pink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--pink-line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--btn); color: #fff; font: 600 1rem var(--font-body); text-decoration: none; border: 2px solid var(--btn); cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--pink-tint); color: var(--accent); }

/* Hero */
.hero { background: var(--pink-tint); border-bottom: 1px solid var(--pink-line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 88px 0 96px; }
.eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; margin: 22px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding: 88px 0; }
.tint { background: var(--pink-tint); border-block: 1px solid var(--pink-line); }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.section-head { max-width: 40rem; margin-bottom: 44px; }
.sub { color: var(--ink-soft); margin: 16px 0 0; font-size: 1.1rem; }

.statement { max-width: 52rem; }
blockquote { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.35; padding-left: 22px; border-left: 4px solid var(--pink); }

.badge { display: inline-block; margin: 20px 0 0; padding: 6px 14px; border: 1px solid var(--pink); border-radius: 999px; color: var(--accent); font-weight: 600; font-size: .9rem; background: var(--surface); }

/* Service cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--pink-line); border-radius: var(--radius); padding: 28px 26px; }
.card p { margin: 10px 0 0; color: var(--ink-soft); font-size: 1rem; }
.ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; flex: none; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 3px solid var(--pink); padding-top: 18px; }
.steps p { margin: 8px 0 0; color: var(--ink-soft); font-size: 1rem; }
.num { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--accent); margin-bottom: 6px; }

/* Contact */
.contact { background: var(--contact-bg); color: #fff; }
.on-dark { color: #ff9fbd; }
.sub.on-dark { color: #d6d9e2; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .ico { color: #ff9fbd; margin: 0; }
.contact-list a { color: #fff; text-underline-offset: 3px; }

.form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 6px; }
.form h3 { margin-bottom: 10px; }
.form label { font-weight: 600; font-size: .95rem; margin-top: 8px; }
.form input, .form textarea { font: inherit; width: 100%; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: 10px; background: var(--field-bg); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form .btn { margin-top: 16px; width: 100%; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: 8px 0 0; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #c5c9d6; padding: 32px 0; font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand div { display: flex; flex-direction: column; line-height: 1.25; }
.foot-brand strong { color: #fff; font-family: var(--font-head); }

/* Tablet / phone */
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--pink-line); padding: 8px 16px 18px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--pink-tint); }
  .nav .btn { margin-top: 14px; }
}
@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1rem; }
  .cta-row .btn { width: 100%; }
  .form { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Photos (African patients and professionals). Missing files show a labelled slot. */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--pink-tint); border: 1px solid var(--pink-line); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9 / 8; }
.photo-hero img { aspect-ratio: 4 / 3; object-position: 62% 40%; }
.photo-wide { margin-top: 48px; }
.photo-wide img { aspect-ratio: 7 / 3; }
.ph-note { display: none; }
.photo.missing { display: flex; align-items: center; justify-content: center; aspect-ratio: 9 / 8; border: 2px dashed var(--pink); }
.photo-wide.missing { aspect-ratio: 7 / 3; }
.photo.missing img { display: none; }
.photo.missing .ph-note { display: block; padding: 24px; text-align: center; color: var(--ink-soft); font-size: .95rem; background: url("assets/logo-icon.png") center 18% / 72px no-repeat; padding-top: 110px; }
.photo.missing code { font-size: .85rem; color: var(--accent); word-break: break-all; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.split-rev { grid-template-columns: 1.1fr 1fr; }
.split .prose { margin-top: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cta-center { justify-content: center; margin-top: 40px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
.two-up blockquote { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.note { font-size: .95rem; color: var(--ink-soft); border-left: 3px solid var(--pink); padding-left: 14px; margin-top: 24px; }

/* Request portal */
.portal .form { border: 1px solid var(--pink-line); box-shadow: 0 1px 0 var(--pink-line); }
.form fieldset { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.form legend { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; padding: 0; margin-bottom: 10px; }
.choice { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: 10px; cursor: pointer; font-weight: 600; }
.choice input { width: 20px; height: 20px; accent-color: var(--btn); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--pink-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Doctor referral strip */
.referral { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 28px; border: 1px solid var(--pink-line); border-radius: var(--radius); background: var(--pink-tint); }
.referral p { margin: 6px 0 0; color: var(--ink-soft); max-width: 40rem; }

@media (max-width: 900px) {
  .split, .split-rev, .two-up { grid-template-columns: 1fr; gap: 32px; }
  .photo.missing, .photo img { aspect-ratio: 4 / 3; }
  .photo-wide img, .photo-wide.missing { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .cards-2 { grid-template-columns: 1fr; }
  .referral { padding: 22px 18px; }
  .referral .btn { width: 100%; }
}

/* WhatsApp */
:root { --wa: #0f7d45; --wa-dark: #0b5f35; }
.wa-ico { width: 24px; height: 24px; flex: none; }
.btn-wa { background: var(--wa); border-color: var(--wa); gap: 10px; margin-top: 12px; width: 100%; }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.wa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: background-color .15s; }
.wa-fab:hover { background: var(--wa-dark); }
.wa-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wa-fab .wa-ico { width: 28px; height: 28px; }
.site-footer { padding-bottom: 88px; }
.contact-list svg.ico { width: 30px; height: 30px; }
@media (max-width: 560px) {
  .wa-fab { width: 56px; padding: 0; justify-content: center; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Theme toggle */
.bar-right { display: flex; align-items: center; gap: 14px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--pink-line); border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--pink-tint); }
.theme-toggle svg { width: 22px; height: 22px; }
.ic-sun { display: none; }
.ic-moon { display: block; }
@media (max-width: 760px) { .bar-right { gap: 8px; } }

/* Photo cards (patient services) */
.card-photo { padding: 0; overflow: hidden; }
/* The source images carry a text label along the bottom; a 2:1 crop from the top hides it. */
.card-photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }
.card-photo .card-body { padding: 20px 26px 26px; }
.card-photo .card-body p { margin: 10px 0 0; }
.cards-follow { margin-top: 20px; }

/* Live site: a photo that has not been added yet is hidden, not shown as a placeholder. */
.photo.missing { display: none; }
.split-rev:has(.photo.missing) { grid-template-columns: minmax(0, 52rem); }
.photo-wide.missing { margin: 0; }

/* Form sending states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 12px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-status a { color: inherit; }
.btn[disabled] { opacity: .7; cursor: wait; }
