/* =========================================================================
   Albion Health Medical Centre — Design System
   Style: Accessible & Ethical + Elegant Editorial
   Type:  Fraunces (display serif) + Figtree (sans UI/body)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Figtree:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — deep medical teal */
  --brand-900: #0A3634;
  --brand-800: #0D4B48;
  --brand-700: #0F6660;   /* primary */
  --brand-600: #128179;
  --brand-500: #159E93;
  --brand-200: #B9E4DE;
  --brand-100: #D8F0EC;
  --brand-50:  #EEF9F7;

  /* Accent — calm health green (CTA) */
  --accent-700: #15803D;
  --accent-600: #16A34A;
  --accent-100: #DCFCE7;

  /* Neutrals — warm, elegant */
  --ink:      #12302E;
  --ink-soft: #48605E;
  --ink-mute: #5A6F6D;
  --cream:    #FBF8F2;
  --sand:     #F4EEE3;
  --surface:  #F3FAF8;
  --white:    #FFFFFF;
  --line:     #E4EEEB;
  --line-strong: #CFDFDB;

  --danger: #DC2626;
  --star:   #E0A106;

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10,54,52,.06);
  --shadow-sm: 0 4px 14px rgba(10,54,52,.07);
  --shadow:    0 14px 40px rgba(10,54,52,.10);
  --shadow-lg: 0 30px 70px rgba(10,54,52,.16);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.25rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand-600); border-radius: 2px; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }
.section--cream { background: var(--cream); }
.section--brand { background: var(--brand-900); color: #DCEFEC; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .9rem; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--brand-700); }
.btn-primary:hover { background: var(--brand-800); }
.btn-accent { --btn-bg: var(--accent-700); }
.btn-accent:hover { background: #11642F; }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-800);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-200); }
.btn-white { --btn-bg:#fff; --btn-fg: var(--brand-800); }
.btn-white:hover { background: var(--brand-50); }
.btn-outline-light { --btn-bg: transparent; --btn-fg:#fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-lg { padding: 1.02rem 1.9rem; min-height: 56px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Focus (accessibility) ---------- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--brand-800); color: #fff;
  padding: .7rem 1.1rem; border-radius: 10px; z-index: 2000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Utility Bar ---------- */
.utilbar {
  background: var(--brand-900);
  color: #C9E6E1;
  font-size: .86rem;
}
.utilbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.utilbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.utilbar__item svg { width: 15px; height: 15px; color: var(--brand-200); }
.utilbar a:hover { color: #fff; }
.utilbar__right { display: flex; gap: 1.4rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 46px; height: 46px; flex: none; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.24rem; color: var(--brand-900); letter-spacing: -.01em; }
.brand__sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-600); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav__links a {
  padding: .55rem .9rem; border-radius: var(--pill);
  font-weight: 500; color: var(--ink-soft); font-size: .98rem;
  transition: color .18s, background .18s;
}
.nav__links a:hover { color: var(--brand-800); background: var(--brand-50); }
.nav__links a.active { color: var(--brand-800); background: var(--brand-100); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }

.nav__toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: #fff; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; color: var(--brand-800); }

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 200;
}
.mobile-menu.open { display: block; }
.mobile-menu__scrim { position: absolute; inset: 0; background: rgba(10,54,52,.5); backdrop-filter: blur(2px); }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 360px);
  background: #fff; padding: 1.4rem; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: .3rem;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-menu__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background:#fff; display:grid; place-items:center; }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu a.mlink {
  padding: .95rem .8rem; border-radius: 12px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line); font-size: 1.05rem;
}
.mobile-menu a.mlink:hover, .mobile-menu a.mlink.active { background: var(--brand-50); color: var(--brand-800); }
.mobile-menu__actions { margin-top: 1.2rem; display: grid; gap: .7rem; }

/* ---------- Hero (full-bleed background image) ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 780px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 5.5rem);
  overflow: hidden;
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,48,46,.94) 0%, rgba(9,48,46,.82) 34%, rgba(9,48,46,.46) 66%, rgba(9,48,46,.18) 100%),
    linear-gradient(180deg, rgba(9,48,46,.14), rgba(9,48,46,.46));
}
.hero .container { position: relative; z-index: 2; }
.hero__copy { max-width: 640px; }
.hero__open { margin-bottom: 1.1rem; }
.hero .eyebrow { color: var(--brand-200); }
.hero .eyebrow::before { background: var(--brand-200); }
.hero h1 { margin: 1rem 0 0; color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.22); }
.hero__lead { margin-top: 1.3rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 46ch; color: #d7ece8; }
.hero__actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__chips { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem; border-radius: var(--pill);
  background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.55);
  font-size: .9rem; font-weight: 600; color: var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.chip svg { width: 17px; height: 17px; color: var(--accent-600); }

/* ---------- Media / image placeholders ---------- */
.media-frame {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- Info / trust cards ---------- */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.5rem; box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.info-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 1rem; }
.info-card__icon svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.info-card p { font-size: .97rem; }

/* ---------- Service cards ---------- */
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column; gap: .3rem;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
  background: linear-gradient(var(--brand-500), var(--brand-700)); transform: scaleY(0); transform-origin: top; transition: transform .25s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.service-card:hover::after { transform: scaleY(1); }
.service-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(140deg, var(--brand-50), var(--brand-100)); color: var(--brand-700); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.service-card p { font-size: .97rem; }
.service-card__link { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-700); font-weight: 600; font-size: .95rem; }
.service-card__link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.feature-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; }
.feature-list .tick { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--accent-100); color: var(--accent-700); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 17px; height: 17px; }
.feature-list b { color: var(--ink); font-family: var(--font-sans); display:block; font-weight:600; }
.feature-list span { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--brand-700); display: block; line-height: 1; }
.section--brand .stat b { color: #fff; }
.stat span { font-size: .92rem; color: var(--ink-mute); margin-top: .5rem; display: block; }
.section--brand .stat span { color: #A9D2CC; }

/* ---------- Doctors ---------- */
.doctor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.doctor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.doctor-card .media-frame { border-radius: 0; box-shadow: none; aspect-ratio: 1/1; }
.doctor-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.doctor-card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.doctor-card .role { color: var(--brand-600); font-weight: 600; font-size: .9rem; }
.doctor-card p { font-size: .94rem; margin-top: .6rem; }

/* ---------- Hours table ---------- */
.hours { display: grid; gap: .1rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line-strong); }
.hours__row:last-child { border-bottom: none; }
.hours__row span:first-child { font-weight: 500; color: var(--ink); }
.hours__row span:last-child { color: var(--ink-soft); }
.hours__row.closed span:last-child { color: var(--danger); font-weight: 500; }
.hours__row.today { background: var(--accent-100); border-radius: 10px; padding-inline: .8rem; border-bottom-color: transparent; }
.badge-open { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: var(--pill); background: var(--accent-100); color: var(--accent-700); font-weight: 600; font-size: .82rem; }
.badge-open .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-600); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; font-weight: 600; font-size: 1.05rem; color: var(--ink); background: none; border: none; }
.faq__q .ic { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq__q .ic svg { width: 18px; height: 18px; }
.faq__item.open .faq__q .ic { transform: rotate(45deg); background: var(--brand-700); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 1.4rem 1.35rem; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; height: 100%; }
.quote-card .stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 1rem; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.6; font-family: var(--font-display); font-weight: 400; }
.quote-card .who { margin-top: 1.3rem; display: flex; align-items: center; gap: .8rem; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--brand-500), var(--brand-700)); color: #fff; display: grid; place-items: center; font-weight: 600; font-family: var(--font-sans); }
.quote-card .who b { display: block; font-size: .98rem; color: var(--ink); font-family: var(--font-sans); }
.quote-card .who span { font-size: .85rem; color: var(--ink-mute); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--brand-800), var(--brand-700) 55%, var(--brand-600)); color: #fff; border-radius: var(--r-xl); padding: clamp(2.4rem, 5vw, 4rem); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 10%, rgba(255,255,255,.12), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CDEAE6; margin-top: .8rem; }
.cta-band__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.cta-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .45rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; min-height: 50px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--white);
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AAEAB; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-50); }
.field .help { font-size: .82rem; color: var(--ink-mute); margin-top: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .84rem; color: var(--ink-mute); margin-top: .4rem; text-align: center; }
.form-alert { display: none; padding: .95rem 1.1rem; border-radius: 12px; background: var(--accent-100); color: var(--accent-700); font-weight: 500; margin-bottom: 1rem; }
.form-alert.show { display: block; }
.form-alert--error { background: #FDECEA; color: #B4231F; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact tiles ---------- */
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, transform .2s; }
.contact-tile:hover { border-color: var(--brand-200); transform: translateY(-3px); }
.contact-tile .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.contact-tile .ic svg { width: 22px; height: 22px; }
.contact-tile b { display: block; color: var(--ink); font-size: 1rem; }
.contact-tile span, .contact-tile a { color: var(--ink-soft); font-size: .96rem; }
.contact-tile a:hover { color: var(--brand-700); }

/* ---------- Map ---------- */
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background:
  radial-gradient(900px 400px at 85% -20%, var(--brand-50), transparent 60%),
  linear-gradient(180deg, var(--surface), #fff);
  padding-block: clamp(2.6rem, 5vw, 4.2rem) clamp(2.2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--ink-mute); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose .lede { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--ink-soft); margin-bottom: 2rem; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 2.4rem 0 .9rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1.3rem; display: grid; gap: .45rem; }
.prose li { color: var(--ink-soft); }
.prose a { color: var(--brand-700); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose address.contact-block {
  margin-top: .3rem; padding: 1.3rem 1.5rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-style: normal; line-height: 1.7;
}
.prose address.contact-block b { font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-900); color: #B9D8D3; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: #B9D8D3; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: var(--brand-200); }
.footer__about { margin-top: 1.1rem; font-size: .95rem; color: #96C2BC; max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .7rem; font-size: .96rem; }
.footer__contact { display: grid; gap: .9rem; font-size: .95rem; }
.footer__contact .row { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--brand-200); flex: none; margin-top: 3px; }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: #7FADA7; }
.footer__bottom a:hover { color:#fff; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Hidden state only applies when JS is active (.js on <html>), so no-JS users see everything. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .info-card, .service-card, .doctor-card, .contact-tile { transition: none !important; }
  .badge-open .pulse { animation: none; }
}

/* ---------- Mobile sticky call bar ---------- */
.callbar { display: none; }
.callbar__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; border-radius: var(--pill); font-weight: 600; font-size: 1rem;
  transition: background .18s var(--ease);
}
.callbar__btn svg { width: 20px; height: 20px; flex: none; }
.callbar__btn--primary { background: var(--accent-700); color: #fff; flex: 1.5; }
.callbar__btn--primary:hover { background: #11642F; }
.callbar__btn--ghost { background: #fff; color: var(--brand-800); border: 1px solid var(--line-strong); }
.callbar__btn--ghost:hover { background: var(--brand-50); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .callbar {
    display: flex; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 26px rgba(10,54,52,.12);
  }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .hero { min-height: 86svh; }
  .hero__bg img { object-position: 62% center; }
  .hero__scrim { background: linear-gradient(180deg, rgba(9,48,46,.5), rgba(9,48,46,.9)); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .cta-split { grid-template-columns: 1fr; text-align: center; }
  .cta-band__actions { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .utilbar__right { display: none; }
  .hero__badge { left: 0; right: 0; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
