/* AHN Website — design tokens from Brand Guidelines V4 (Web Version), Sept 2025 */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colours (hex authoritative — see Master Requirements §3.1) */
  --renal-navy: #123459;
  --renal-navy-50: #899AAC;
  --renal-navy-10: #D0D6DE;
  --blood-orange: #F45C27;
  --blood-orange-50: #FAAE93;
  --blood-orange-15: #FDE7DF;
  --care-blue: #8FCCFF;
  --care-blue-50: #C7E6FF;
  --care-blue-15: #EEF7FF;
  --vital-teal: #2CB1A1;
  --white: #FFFFFF;
  --black: #000000;

  /* Essential Sans is a proprietary AHN font not available outside brand collateral tools;
     Inter is used here as the closest open substitute for on-screen body text. */
  --font-heading: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Inter', Verdana, system-ui, sans-serif;

  --radius-signature: 6px 28px 28px 28px; /* 3 rounded corners, 1 pointed top-left — brand "rounded rectangle" shape */
  --radius-soft: 14px;
  --shadow-soft: 0 12px 32px rgba(18, 52, 89, 0.10);
  --container: 1200px;
  --focus-ring: 0 0 0 3px rgba(244, 92, 39, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--renal-navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }

h1, h2, h3, h4, .heading-font {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--renal-navy);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; }
p.body-copy { font-weight: 500; line-height: 1.8; letter-spacing: 0.01em; }

a { color: inherit; text-decoration: none; }

/* ---------- Accessibility: visible keyboard focus everywhere ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
section.tight { padding: 28px 0; }
@media (max-width: 900px) {
  section { padding: 56px 0; }
  section.tight { padding: 20px 0; }
}

img { max-width: 100%; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blood-orange); color: var(--white); }
.btn-primary:hover { background: #dd4d1c; box-shadow: 0 8px 20px rgba(244,92,39,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-navy { background: transparent; color: var(--renal-navy); border-color: var(--renal-navy); }
.btn-outline-navy:hover { background: var(--renal-navy-10); }
.btn-navy { background: var(--renal-navy); color: var(--white); }
.btn-navy:hover { background: #0d2740; }
.btn-block { background: var(--care-blue); color: var(--renal-navy); }

/* ---------- Utility bar (top strip) ---------- */
.utility-bar { background: var(--blood-orange); }
.utility-bar .container {
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 28px;
  padding-top: 9px; padding-bottom: 9px; line-height: 1;
}
.utility-social { display: flex; align-items: flex-end; gap: 16px; }
.utility-social a { display: inline-flex; align-items: flex-end; line-height: 0; }
.utility-social svg { display: block; width: 15px; height: 15px; fill: var(--white); }
.utility-links {
  display: flex; align-items: flex-end; gap: 24px; list-style: none; margin: 0; padding: 0;
}
.utility-links > li { display: flex; align-items: flex-end; }
.utility-links > li > a, .utility-links .nav-trigger {
  font-family: var(--font-body); color: var(--white); font-weight: 700; font-size: 0.82rem; line-height: 1;
  padding: 0; margin: 0; border-bottom: 2px solid transparent;
  background: none; border-top: none; border-left: none; border-right: none; cursor: pointer;
  display: inline-flex; align-items: flex-end; gap: 4px;
  transform: translateY(1.5px);
}
.utility-links a:hover, .utility-links .nav-trigger:hover { border-bottom-color: var(--white); }
.utility-links .nav-trigger .chevron { font-size: 0.55rem; line-height: 1; }
@media (max-width: 900px) { .utility-bar { display: none; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--renal-navy-10);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 32px;
}
.logo-link img { height: 77px; width: auto; }

.main-nav { flex: 1; display: flex; min-width: 0; justify-content: flex-end; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-cta-mobile { display: none; }
@media (max-width: 900px) { .nav-cta-mobile { display: inline-flex; } }

/* Plain text nav items only — deliberately excludes .nav-links-cta so the
   "Book a Dialysis Session" button below doesn't inherit link styling. */
.nav-links > li:not(.nav-links-cta) > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--renal-navy);
  padding: 10px 0;
  border-radius: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav-links > li:not(.nav-links-cta) > a:hover,
.nav-links > li:not(.nav-links-cta) > a.active,
.nav-trigger:hover, .nav-trigger.active { border-bottom-color: var(--blood-orange); }
.nav-trigger .chevron { font-size: 0.65rem; margin-top: 2px; }

/* Restore full button styling for the CTA — belt-and-braces on top of the
   :not() exclusion above, in case any future rule targets .nav-links a again. */
.nav-links-cta .btn {
  padding: 10px 20px;
  border-radius: 999px;
  border-bottom: none;
  font-size: 1.2rem;
}
.nav-links-cta .btn:hover { border-bottom: none; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
/* On desktop this holds only the hidden mobile CTA + hidden hamburger — remove
   it from the flex layout entirely so it doesn't reserve a gap the button
   inside .nav-links could otherwise use to sit closer to the true edge. */
@media (min-width: 901px) { .nav-cta { display: none; } }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border-radius: 12px;
  padding: 10px;
  min-width: 240px;
  border: 1px solid var(--renal-navy-10);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; border-bottom: none; font-weight: 600; font-size: 0.92rem; }
.dropdown a:hover { background: var(--care-blue-15); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--renal-navy); margin: 0 auto; transition: transform 0.2s, opacity 0.2s; }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--white);
  box-shadow: -12px 0 32px rgba(18,52,89,0.18);
  padding: 90px 24px 24px;
  overflow-y: auto;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-drawer.open { display: block; transform: translateX(0); }
.mobile-drawer-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.mobile-nav-group { border-bottom: 1px solid var(--renal-navy-10); }
.mobile-group-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--renal-navy); display: flex; justify-content: space-between; align-items: center;
}
.mobile-group-trigger::after { content: '+'; color: var(--blood-orange); font-size: 1.2rem; }
.mobile-nav-group.open .mobile-group-trigger::after { content: '\2212'; }
.mobile-group-panel { display: none; padding-bottom: 12px; }
.mobile-nav-group.open .mobile-group-panel { display: block; }
.mobile-group-panel a { display: block; padding: 10px 8px; font-weight: 600; color: var(--renal-navy-50); }
.mobile-group-panel a:hover { color: var(--renal-navy); }

@media (max-width: 1024px) {
  .nav-links { gap: 2px; }
  .nav-links > li > a, .nav-trigger { padding: 10px 10px; font-size: 0.9rem; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--renal-navy);
  color: var(--white);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: var(--white); }
.hero p.lede { font-size: 1.15rem; max-width: 560px; color: var(--care-blue-50); font-weight: 500; }
.hero .container > *:last-child { margin-bottom: 0; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* Photo hero (homepage) — real AHN photography with a Renal Navy overlay,
   per Brand Guidelines V4's logo/text-on-photo treatment (navy filter, multiply-
   style darkening, strongest where text sits, fading to reveal the photo).
   Tint kept light so the photo itself stays clearly visible. */
.hero-photo {
  background-image:
    linear-gradient(90deg, rgba(18,52,89,0.68) 0%, rgba(18,52,89,0.46) 42%, rgba(18,52,89,0.1) 100%),
    url('../assets/images/hero-patient-nurse.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  min-height: 560px;
  display: flex;
  align-items: flex-start;
  padding: 56px 0 120px;
}
@media (max-width: 700px) {
  .hero-photo { min-height: 440px; background-position: 68% 30%; }
}
/* Text sits close to the true left edge, not centered in a 1200px container. */
.hero-photo .container { max-width: none; margin: 0; padding-left: clamp(24px, 6vw, 88px); padding-right: 24px; }
.hero-photo .hero-actions .btn { font-size: 0.95rem; padding: 12px 26px; }

/* Mission band — a short, integrated statement, not a text-heavy box */
.mission-band {
  background: var(--blood-orange);
  color: var(--white);
  padding: 22px 0;
  margin-top: -1px;
}
.mission-band .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mission-band p {
  margin: 0; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: -0.01em;
}

.kitenge-strip {
  height: 48px;
  margin-top: -1px;
  background-image: url('../assets/images/patterns/kitenge-jali-fan.svg');
  background-repeat: repeat-x;
  background-position: top left;
  background-size: auto 384px;
}
.kitenge-strip-footer {
  height: 45px;
  background-image: url('../assets/images/patterns/kitenge-heritage-grid.svg');
  background-repeat: repeat-x;
  background-position: top left;
  background-size: auto 143px;
}

.block-hero {
  background: var(--renal-navy);
  color: var(--white);
  padding: 28px 0;
  text-align: left;
}
.block-hero h1 { color: var(--white); margin: 0; }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--white); }
.stat-strip .grid { text-align: center; }
.stat-number {
  font-family: var(--font-heading); font-weight: 800; color: var(--renal-navy);
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1;
}
.stat-caption { margin-top: 10px; color: var(--renal-navy-50); font-weight: 600; font-size: 0.95rem; }

/* ---------- Our Care (editorial) ---------- */
.care-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--renal-navy-10); }
.care-row:last-child { border-bottom: none; }
.care-row:nth-child(even) .care-visual { order: 2; }
.care-visual {
  aspect-ratio: 4/3; border-radius: var(--radius-signature);
  background: var(--care-blue-15); display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) {
  .care-row, .care-row:nth-child(even) { grid-template-columns: 1fr; }
  .care-row:nth-child(even) .care-visual { order: 0; }
}

/* ---------- Find a Clinic teaser (homepage) ---------- */
.clinic-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.clinic-teaser-card { background: var(--white); border: 1px solid var(--renal-navy-10); border-radius: var(--radius-signature); padding: 32px; }
@media (max-width: 900px) { .clinic-teaser { grid-template-columns: 1fr; } }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--renal-navy-10);
  border-radius: var(--radius-soft);
  padding: 28px;
}
.card-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.investor-logo { display: flex; align-items: center; height: 48px; margin-bottom: 16px; }
.investor-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }

.value-card { text-align: left; }
.value-card .value-icon {
  width: 84px; height: 84px; border-radius: 20px;
  background: var(--care-blue-15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Bio / Leadership ---------- */
.bio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .bio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-card { text-align: center; cursor: pointer; }
.bio-photo {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 16px; margin-bottom: 14px; background: var(--renal-navy-10);
}
.bio-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.bio-role { color: var(--blood-orange); font-weight: 600; font-size: 0.9rem; }
.bio-org { color: var(--renal-navy-50); font-size: 0.85rem; }

.bio-modal {
  display: none;
  position: fixed; inset: 0; background: rgba(18,52,89,0.55);
  align-items: center; justify-content: center; z-index: 1000; padding: 20px;
}
.bio-modal.open { display: flex; }
.bio-modal-inner {
  background: var(--white); border-radius: var(--radius-signature);
  max-width: 900px; width: 100%; max-height: 92vh; overflow-y: auto;
  padding: 36px 40px; position: relative;
}
.bio-modal-close {
  position: absolute; top: 16px; right: 20px; font-size: 1.4rem; cursor: pointer;
  background: none; border: none; color: var(--renal-navy);
}
/* Photo floats left so bio text wraps beside it instead of stacking below —
   uses the wider modal's space to cut down on vertical scrolling. */
.bio-modal-inner img {
  float: left; width: 160px; height: 160px; object-fit: cover;
  border-radius: 16px; margin: 0 24px 16px 0;
}
@media (max-width: 560px) {
  .bio-modal-inner img { float: none; width: 120px; height: 120px; }
}

.bio-filter { display: flex; gap: 12px; margin-bottom: 32px; }
.bio-filter button {
  padding: 10px 22px; border-radius: 999px; border: 2px solid var(--renal-navy-10);
  background: var(--white); font-weight: 700; cursor: pointer; color: var(--renal-navy);
}
.bio-filter button.active { background: var(--renal-navy); color: var(--white); border-color: var(--renal-navy); }

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid var(--renal-navy-10);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left;
  padding: 20px 24px; cursor: pointer; background: var(--white); border: none;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
}
.accordion-header .plus { font-size: 1.4rem; color: var(--blood-orange); transition: transform 0.2s; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  padding: 0 24px;
}
.accordion-item.open .accordion-body { padding: 0 24px 22px; }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tabs-nav button {
  padding: 12px 24px; border-radius: 999px; border: none;
  background: var(--care-blue-15); color: var(--renal-navy); font-weight: 700; cursor: pointer;
}
.tabs-nav button.active { background: var(--renal-navy); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--care-blue-15);
  border-radius: var(--radius-signature);
  padding: 40px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--renal-navy); }
.field .req-note { font-weight: 400; color: var(--renal-navy-50); font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--renal-navy-10);
  font-family: var(--font-body); font-size: 1rem; color: var(--black); background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.phone-field { display: flex; gap: 8px; }
.phone-field select { max-width: 110px; flex-shrink: 0; }

/* ---------- eGFR calculator ---------- */
.calc-card {
  background: var(--white); border: 2px solid var(--renal-navy-10);
  border-radius: var(--radius-signature); padding: 32px;
}
.calc-result { margin-top: 24px; border-radius: 16px; padding: 24px; display: none; }
.calc-result.show { display: block; }
.stage-1, .stage-2 { background: var(--care-blue-15); border: 1px solid var(--care-blue-50); }
.stage-3a, .stage-3b { background: var(--blood-orange-15); border: 1px solid var(--blood-orange-50); }
.stage-4, .stage-5 { background: #FDE7DF; border: 2px solid var(--blood-orange); }
.calc-result h4 { margin-bottom: 8px; }

/* ---------- Patient story ---------- */
.patient-story-slide { display: none; }
.patient-story-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center;
  background: var(--renal-navy); color: var(--white);
  border-radius: var(--radius-signature); overflow: hidden;
}
.patient-story-photo { aspect-ratio: 4/5; background: var(--care-blue-15); }
.patient-story-photo img { width: 100%; height: 100%; object-fit: cover; }
.patient-story-body { padding: 40px 40px 40px 0; }
.patient-story-body .quote { font-style: italic; font-size: 1.25rem; line-height: 1.7; }
.patient-story-body .who { margin-top: 16px; color: var(--care-blue); font-weight: 700; }
.patient-story-body p.narrative { color: var(--care-blue-50); font-weight: 500; }
.patient-story-nav { display: flex; gap: 12px; margin-top: 28px; }
.patient-story-nav button {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4);
  background: transparent; color: var(--white); cursor: pointer; font-size: 1rem;
}
.patient-story-nav button:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 900px) {
  .patient-story-card { grid-template-columns: 1fr; }
  .patient-story-body { padding: 32px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--renal-navy); color: var(--white); padding: 40px 0 20px; }

.footer-mission { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-mission img { height: 36px; }
.footer-mission .mission-line {
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--white); margin: 0;
}

/* Shared heading/body styling for BOTH footer sections (link groups + addresses)
   so they read as one consistent system, not two differently-styled blocks. */
.footer-groups h4, .footer-addresses h5 {
  color: var(--blood-orange); font-family: var(--font-heading);
  font-size: 0.92rem; margin: 0 0 8px;
}
/* Underline spans the group heading's full width, visually claiming both
   sub-columns beneath it (For Patients / Organisation each have two). */
.footer-groups h4 {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.footer-groups a, .footer-groups p, .footer-addresses p {
  color: var(--care-blue-50); font-size: 0.87rem;
}

.footer-groups { display: grid; grid-template-columns: 2fr 2fr 1.2fr; gap: 28px; margin-bottom: 24px; }
.footer-sublist { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; }
.footer-sublist ul { list-style: none; margin: 0; padding: 0; }
.footer-sublist li { margin-bottom: 6px; }
@media (max-width: 900px) { .footer-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-groups { grid-template-columns: 1fr; }
  .footer-sublist { grid-template-columns: 1fr; }
}

.social-row { display: flex; gap: 10px; margin-top: 8px; }
.social-row a {
  width: 30px; height: 30px; border-radius: 999px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { display: block; width: 13px; height: 13px; fill: var(--white); }

/* space-between stretches the GAPS to fill the full row width, rather than
   leaving unused space on the right when columns are narrower than the row —
   content widths are already fairly balanced, so this reads as evenly spaced
   AND uses the whole container, instead of clustering on the left. */
.footer-addresses {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 16px; padding-top: 14px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 24px;
}
.footer-addresses > div { flex: 0 1 auto; min-width: 150px; }
@media (max-width: 600px) { .footer-addresses > div { flex-basis: 100%; } }
.footer-addresses p { margin: 0; white-space: nowrap; }
@media (max-width: 600px) { .footer-addresses p { white-space: normal; } }

.footer-bottom {
  text-align: center; margin-top: 12px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1); color: var(--renal-navy-50); font-size: 0.85rem;
}

/* ---------- Find a Clinic map ---------- */
.fac-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  border: 1px solid var(--renal-navy-10);
  border-radius: var(--radius-signature);
  overflow: hidden;
  min-height: 640px;
}
@media (max-width: 900px) {
  .fac-layout { grid-template-columns: 1fr; }
  .fac-map { height: 420px; }
}
.fac-panel {
  background: var(--white);
  padding: 28px;
  overflow-y: auto;
  max-height: 720px;
  border-right: 1px solid var(--renal-navy-10);
}
.fac-map { width: 100%; height: 720px; background: var(--care-blue-15); }
.fac-list { margin-top: 20px; }
.fac-list-item {
  border-radius: 14px; margin-bottom: 8px; border: 1px solid transparent;
  background: transparent; transition: background 0.2s ease, border-color 0.2s ease;
}
.fac-list-item-head {
  padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: 0.92rem;
  border-radius: 14px;
}
.fac-list-item-head:hover { background: var(--care-blue-15); }
.fac-list-item-loc { display: block; font-weight: 400; opacity: 0.7; }
.fac-list-item.expanded { background: var(--care-blue-15); border-color: var(--renal-navy-10); box-shadow: 0 4px 16px rgba(18,52,89,0.08); }
.fac-list-item.expanded .fac-list-item-head { background: var(--renal-navy); color: var(--white); border-radius: 14px 14px 0 0; }
.fac-list-item-body {
  max-height: 0; opacity: 0; overflow: hidden; padding: 0 16px;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}
.fac-list-item.expanded .fac-list-item-body { max-height: 320px; opacity: 1; padding: 16px; }

.fac-marker {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--renal-navy);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(18,52,89,0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.fac-marker:hover { transform: scale(1.15); }
.fac-marker.active { background: var(--blood-orange); transform: scale(1.4); }
.maplibregl-popup-content {
  border-radius: 12px; padding: 12px 16px;
  font-family: inherit; font-size: 0.85rem; color: var(--renal-navy);
  box-shadow: 0 6px 20px rgba(18,52,89,0.18);
}
.maplibregl-popup-content strong { font-family: var(--font-heading); font-size: 0.95rem; }
.maplibregl-ctrl-attrib { font-size: 0.7rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--blood-orange); margin-bottom: 12px;
}
.bg-navy { background: var(--renal-navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-care-blue-15 { background: var(--care-blue-15); }
.section-lede { max-width: 680px; color: var(--renal-navy-50); font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.callout-blue {
  background: var(--care-blue-15); border-radius: var(--radius-signature); padding: 32px;
}
.badge-dev-note {
  display: inline-block; background: #FFF3CD; color: #7a5c00; font-size: 0.75rem;
  font-weight: 700; padding: 4px 10px; border-radius: 6px; margin-bottom: 8px;
}
