/* ==========================================================================
   Dr O.A Okharedia Inc — Specialist HPB & General Surgery (Pretoria, SA)
   Design System: Quiet, Confident, Premium Editorial Private Clinic
   Palette: Dark Green, Gold, White & Paper (Zero Navy, Zero Terracotta)
   ========================================================================== */

:root {
  /* Primary Client Color Tokens */
  --green-900: #0A2A1E; /* Darkest: utility bar, footer base */
  --green-800: #0F3B2B; /* Primary dark green: header, hero left panel, dark bands, urgent blocks */
  --green-700: #1B5238; /* Hover on dark green, borders on dark sections */
  --green-600: #2F6B4A; /* Secondary green: hover for light-background buttons */
  --gold-500: #D4A63C;  /* Primary gold: buttons on dark, lines, dots, markers */
  --gold-400: #E2B958;  /* Gold hover */
  --white: #FFFFFF;     /* Pure white */
  --paper: #F5F7F3;     /* Page background, alternating light sections */
  --ink: #0B2A1E;       /* Main text on light backgrounds */
  --ink-soft: #4A5F54;  /* Secondary text on light backgrounds */
  --line: #D8DFD8;      /* Hairlines on light */
  --error: #B3261E;     /* Form validation errors only */

  /* Supporting System Tokens */
  --error-bg: #FDF2F0;
  --green-text-soft: #C9D8CE; /* Secondary text on dark green (WCAG AA compliant > 7:1) */
  --tint-pale-green: #E4EEE6; /* Available calendar days, selected location card fill */
  --dot-gold: #D4A63C;        /* Liver & Pancreas */
  --dot-green: #4E8A4A;       /* Gallbladder */
  --dot-pale: #A9D3A0;

  /* Legacy Variable Aliases (mapped 100% to new palette) */
  --color-navy: var(--green-800);
  --color-navy-dark: var(--green-900);
  --color-navy-light: var(--green-700);
  --color-navy-border: var(--line);
  --color-navy-border-light: rgba(255, 255, 255, 0.16);
  --color-navy-subtle: var(--tint-pale-green);

  --color-terracotta: var(--green-800);
  --color-terracotta-hover: var(--green-600);
  --color-terracotta-subtle: var(--tint-pale-green);
  --color-terracotta-border: var(--green-700);

  --color-leaf: var(--dot-green);
  --color-gold: var(--gold-500);

  --color-bg: var(--paper);
  --color-white: var(--white);
  --color-text: var(--ink);
  --color-secondary: var(--ink-soft);
  --color-muted: var(--ink-soft);

  --font-heading: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 8px;
  --container-max: 1200px;
  --container-gutter: 20px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--paper);
  color: var(--ink);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

p {
  margin-bottom: 1.15rem;
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

/* Focus States: Gold on dark sections, Dark Green on light */
:focus-visible {
  outline: 2px solid var(--green-800);
  outline-offset: 3px;
}

.top-utility-bar :focus-visible,
.site-header :focus-visible,
.hero-left :focus-visible,
.urgent-fullbleed-strip :focus-visible,
.navy-cta-band :focus-visible,
.checklist-section :focus-visible,
.referrals-contact-box :focus-visible,
.emergency-strip :focus-visible,
.contact-header-section :focus-visible,
.site-footer :focus-visible,
.mobile-nav-drawer :focus-visible,
.mobile-sticky-bar :focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* Accessibility */
.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;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--green-800);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 10000;
  border-radius: var(--radius);
  transition: top 0.2s;
  border: 1px solid var(--gold-500);
}

.skip-link:focus {
  top: 10px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

/* Accent Keywords: Gold on dark green, Dark green on light */
.text-terracotta,
.text-accent,
.text-green {
  color: var(--green-800);
}

.hero-left .text-terracotta,
.hero-left .text-accent,
.navy-cta-band .text-terracotta,
.navy-cta-band .text-accent,
.contact-header-section .text-terracotta,
.contact-header-section .text-accent,
.checklist-section .text-terracotta,
.checklist-section .text-accent,
.urgent-fullbleed-strip .text-terracotta,
.urgent-fullbleed-strip .text-accent {
  color: var(--gold-500);
}

.text-gold {
  color: var(--gold-500);
}

.text-secondary {
  color: var(--ink-soft);
}

/* Organ Dots: Liver = Gold, Gallbladder = Green, Pancreas = Gold */
.organ-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 4px 2px 2px;
}
.organ-dot.terracotta { background-color: var(--gold-500); }
.organ-dot.leaf { background-color: var(--dot-green); }
.organ-dot.gold { background-color: var(--gold-500); }

/* Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  min-height: 48px;
  min-width: 48px;
}

/* Buttons on light backgrounds: --green-800 with white text, hover --green-600 */
.btn-terracotta,
.btn-primary {
  background-color: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.btn-terracotta:hover,
.btn-primary:hover {
  background-color: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
}

/* Buttons on dark backgrounds: --gold-500 with --green-900 text, hover --gold-400 */
.site-header .btn-terracotta,
.site-header .btn-primary,
.mobile-nav-drawer .btn-terracotta,
.mobile-nav-drawer .btn-primary,
.mobile-sticky-bar .btn-terracotta,
.mobile-sticky-bar .btn-primary,
.hero-left .btn-terracotta,
.hero-left .btn-primary,
.navy-cta-band .btn-terracotta,
.navy-cta-band .btn-primary,
.checklist-section .btn-terracotta,
.checklist-section .btn-primary,
.referrals-contact-box .btn-terracotta,
.referrals-contact-box .btn-primary,
.btn-gold {
  background-color: var(--gold-500);
  color: var(--green-900);
  border-color: var(--gold-500);
  font-weight: 700;
}

.site-header .btn-terracotta:hover,
.site-header .btn-primary:hover,
.mobile-nav-drawer .btn-terracotta:hover,
.mobile-nav-drawer .btn-primary:hover,
.mobile-sticky-bar .btn-terracotta:hover,
.mobile-sticky-bar .btn-primary:hover,
.hero-left .btn-terracotta:hover,
.hero-left .btn-primary:hover,
.navy-cta-band .btn-terracotta:hover,
.navy-cta-band .btn-primary:hover,
.checklist-section .btn-terracotta:hover,
.checklist-section .btn-primary:hover,
.referrals-contact-box .btn-terracotta:hover,
.referrals-contact-box .btn-primary:hover,
.btn-gold:hover {
  background-color: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--green-900);
}

/* Outlined buttons on dark: white borders on dark */
.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

/* Outlined buttons on light: --green-800 borders on light */
.btn-outline-navy,
.btn-outline-green {
  background-color: transparent;
  color: var(--green-800);
  border-color: var(--line);
}

.btn-outline-navy:hover,
.btn-outline-green:hover {
  border-color: var(--green-800);
  background-color: var(--tint-pale-green);
  color: var(--green-800);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  min-height: 40px;
}

main#main-content {
  scroll-margin-top: 80px;
}

/* Hairline dividers */
.hairline {
  height: 1px;
  background-color: var(--line);
  width: 100%;
  border: 0;
}

.hairline-light {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.16);
  width: 100%;
  border: 0;
}

/* Small Caps Eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 12px;
}

.eyebrow-light {
  color: var(--gold-500);
}

.eyebrow-terracotta {
  color: var(--green-800);
}

/* --------------------------------------------------------------------------
   GLOBAL COMPONENT: Top Utility Bar (Darkest Green #0A2A1E)
   -------------------------------------------------------------------------- */
.top-utility-bar {
  background-color: var(--green-900);
  color: var(--green-text-soft);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.utility-contacts, .utility-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.utility-contacts a:hover, .utility-hours a:hover {
  color: var(--white);
  text-decoration: underline;
}

.utility-separator {
  opacity: 0.35;
}

/* --------------------------------------------------------------------------
   GLOBAL COMPONENT: Header (Dark Green #0F3B2B, Sticky)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--green-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Lockup */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge {
  width: 44px;
  height: 44px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation Links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--green-text-soft);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold-500);
  border-radius: 2px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 110px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--green-800);
  padding: 24px var(--container-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   GLOBAL COMPONENT: Mobile Sticky Bottom Bar (#0F3B2B / #0A2A1E)
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--green-900);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 16px;
  z-index: 1000;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mobile-sticky-bar .btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav, .header-cta {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .mobile-sticky-bar {
    display: grid;
  }
  body {
    padding-bottom: 74px; /* clearance for sticky bottom bar */
  }
}

/* --------------------------------------------------------------------------
   GLOBAL COMPONENT: Footer (Dark Green #0F3B2B / Base #0A2A1E)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--green-900);
  color: var(--green-text-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 72px 0 36px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .brand-badge {
  background-color: transparent;
  margin-bottom: 16px;
  padding: 0;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 15px;
  color: var(--green-text-soft);
  margin-bottom: 12px;
  max-width: 32ch;
}

.footer-registration {
  font-size: 13px;
  color: var(--gold-500);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact-item {
  font-size: 14.5px;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-contact-item a:hover {
  color: var(--gold-500);
  text-decoration: underline;
}

.footer-emergency-strip {
  background-color: var(--green-800);
  border: 1px solid var(--green-700);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 40px;
  font-size: 14.5px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-emergency-strip strong {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--green-text-soft);
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   PAGE 1: HOME (index.html) — Full-Bleed Layouts & Alternating Sections
   -------------------------------------------------------------------------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: max(640px, calc(100vh - 109px));
  background-color: var(--green-800);
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.hero-left {
  background-color: var(--green-800);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 64px 0;
}

.hero-left-inner {
  width: 100%;
  max-width: 600px;
  padding-left: 20px;
  padding-right: 48px;
}

/* Faint Line Illustration Watermark (~8% opacity) */
.hero-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 380px;
  height: 380px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.hero-left h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  margin-bottom: 22px;
  max-width: 14ch;
  line-height: 1.08;
}

.hero-sub {
  font-size: 18px;
  color: var(--green-text-soft);
  margin-bottom: 34px;
  max-width: 48ch;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-right {
  position: relative;
  background-color: var(--paper);
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

.hero-nametag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--green-800);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-nametag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-500);
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    align-items: stretch;
    padding: 56px 0;
  }
  .hero-left-inner {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-right {
    aspect-ratio: 4 / 5;
    min-height: auto;
    width: 100%;
    height: auto;
  }
  .hero-nametag {
    bottom: 16px;
    left: 16px;
  }
}

/* Alternating Background Sections & Consistent Vertical Padding */
.section-pathways {
  background-color: var(--white);
  padding: 96px 0;
  width: 100%;
}

.pathways-grid {
  display: flex;
  flex-direction: column;
}

.audience-row {
  display: grid;
  grid-template-columns: 220px 1.2fr 1.8fr auto;
  align-items: center;
  gap: 32px;
  padding: 34px 20px;
  border-bottom: 1px solid var(--line);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}

.audience-row:hover {
  transform: translateX(8px);
  background-color: var(--tint-pale-green);
}

.audience-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.audience-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.15;
}

.audience-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 0;
}

.audience-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  flex-shrink: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.audience-row:hover .audience-arrow {
  border-color: var(--green-800);
  background-color: var(--green-800);
  color: var(--white);
}

@media (max-width: 900px) {
  .audience-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 16px;
  }
  .audience-arrow {
    align-self: flex-start;
    margin-top: 8px;
  }
}

/* Full-bleed Urgent Row Strip (Dark Green #0F3B2B) */
.urgent-fullbleed-strip {
  background-color: var(--green-800);
  color: var(--white);
  padding: 44px 0;
  width: 100%;
}

.urgent-row-inner {
  display: grid;
  grid-template-columns: 220px 1.2fr 1.8fr auto;
  align-items: center;
  gap: 32px;
}

.urgent-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
}

.urgent-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.urgent-desc {
  font-size: 16px;
  color: var(--green-text-soft);
  line-height: 1.5;
  margin-bottom: 0;
}

.urgent-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .urgent-fullbleed-strip {
    padding: 36px 0;
  }
  .urgent-row-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Section: About Teaser ("How we work") */
.section-about {
  background-color: var(--paper);
  padding: 96px 0;
  width: 100%;
}

.editorial-header {
  margin-bottom: 48px;
}

.editorial-header h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 0;
  line-height: 1.1;
  max-width: 28ch;
  color: var(--ink);
}

.editorial-sub {
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* Step numerals: dark green on light, gold on dark */
.step-num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 8px;
  line-height: 1.25;
}

.step-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Section: "What we treat" */
.section-treat {
  background-color: var(--white);
  padding: 96px 0;
  width: 100%;
}

.treat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}

.treat-column-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.treat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.treat-item {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.treat-item::before {
  content: "—";
  color: var(--green-800);
}

.treat-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 850px) {
  .treat-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Full-bleed Dark Green Referring Band (#0F3B2B) */
.navy-cta-band {
  background-color: var(--green-800);
  color: var(--white);
  padding: 96px 0;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.navy-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.navy-cta-content h2 {
  color: var(--white);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  margin-bottom: 10px;
}

.navy-cta-content p {
  color: var(--green-text-soft);
  font-size: 18px;
  margin-bottom: 16px;
  max-width: 50ch;
}

.navy-cta-contacts {
  display: flex;
  gap: 20px;
  font-size: 15px;
  color: var(--gold-500);
  flex-wrap: wrap;
}

.navy-cta-contacts a:hover {
  text-decoration: underline;
  color: var(--white);
}

@media (max-width: 900px) {
  .section-pathways,
  .section-about,
  .section-treat,
  .navy-cta-band {
    padding: 64px 0;
  }
}

/* Utility classes */
.mobile-drawer-cta {
  margin-top: 16px;
}

.btn-full {
  width: 100%;
}

.footer-subtext {
  font-size: 13.5px;
  opacity: 0.8;
}

.footer-location-item {
  margin-top: 10px;
}

.footer-hours-item {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   PAGE 2: ABOUT (about.html)
   -------------------------------------------------------------------------- */
.about-hero-section {
  padding: 60px 0 40px;
}

.about-intro-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 60px;
}

.about-portrait-card {
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--line);
}

.about-portrait-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.about-portrait-caption {
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.about-portrait-caption strong {
  color: var(--green-800);
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.team-closing-line {
  font-size: 19px;
  font-weight: 500;
  color: var(--green-800);
  border-left: 3px solid var(--green-800);
  padding-left: 20px;
  margin: 48px 0;
  line-height: 1.5;
}

/* Qualifications Section (about.html) */
.qualifications-section {
  margin: 56px 0;
  max-width: 680px;
}

.qualifications-accent-line {
  width: 100%;
  height: 1px;
  background-color: var(--gold-500);
  margin-bottom: 24px;
}

.qualifications-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 8px;
}

.qualifications-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--green-800);
  margin: 0 0 20px 0;
  line-height: 1.25;
}

.qualifications-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qualifications-list li {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--green-800);
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qualifications-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-500);
  flex-shrink: 0;
}

.qualifications-registrations {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.reg-pair {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.reg-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.reg-value {
  font-size: 15px;
  font-weight: 400;
  color: var(--green-800);
}

@media (max-width: 900px) {
  .about-intro-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .qualifications-section {
    margin: 40px 0;
  }
  .qualifications-registrations {
    flex-direction: column;
    gap: 14px;
  }
  .reg-pair {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
}

/* --------------------------------------------------------------------------
   PAGE 3: PROCEDURES (procedures.html)
   -------------------------------------------------------------------------- */
.procedures-page-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}

.procedures-page-header h1 {
  margin-bottom: 12px;
}

.procedures-page-header .intro-text {
  font-size: 21px;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 44ch;
}

.procedures-content {
  padding: 56px 0;
}

/* Two-column layout on desktop, one column on mobile */
.procedures-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.procedure-section {
  display: flex;
  flex-direction: column;
}

.procedure-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green-800);
}

.procedure-section-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--green-800);
  margin: 0;
}

/* Section Markers */
.marker-organ-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.marker-organ-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.marker-organ-dots .dot-terracotta { background-color: var(--gold-500); }
.marker-organ-dots .dot-green { background-color: var(--dot-green); }
.marker-organ-dots .dot-gold { background-color: var(--gold-500); }

.marker-abdomen {
  width: 22px;
  height: 22px;
  stroke: var(--green-800);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.marker-neutral-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--ink-soft);
  flex-shrink: 0;
}

/* Clean readable text list */
.procedure-list {
  display: flex;
  flex-direction: column;
}

.procedure-subheading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-800);
  margin: 0;
  padding: 0;
  display: block;
  border: none;
}

.hero-left .procedure-subheading,
.navy-cta-band .procedure-subheading,
.urgent-fullbleed-strip .procedure-subheading {
  color: var(--gold-500);
}

.procedure-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  width: 100%;
}

.procedure-list .procedure-row:last-child {
  border-bottom: none;
}

.procedure-name {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 4px;
}

.procedure-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Reusable procedure tag: Offered in-room */
.in-room-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--green-800);
  background-color: #E4EDE6;
  border: 1px solid var(--green-800);
  border-radius: 9999px;
  padding: 3px 10px 3px 8px;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.25;
  width: fit-content;
  max-width: 100%;
}

.in-room-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-500);
  flex-shrink: 0;
}

/* Dark background variant */
.hero-left .in-room-tag,
.navy-cta-band .in-room-tag,
.urgent-fullbleed-strip .in-room-tag,
.emergency-strip .in-room-tag,
.dark-section .in-room-tag,
.site-footer .in-room-tag,
[data-theme="dark"] .in-room-tag {
  color: var(--gold-500);
  background-color: transparent;
  border-color: var(--gold-500);
}

.hero-left .in-room-tag::before,
.navy-cta-band .in-room-tag::before,
.urgent-fullbleed-strip .in-room-tag::before,
.emergency-strip .in-room-tag::before,
.dark-section .in-room-tag::before,
.site-footer .in-room-tag::before,
[data-theme="dark"] .in-room-tag::before {
  background-color: var(--gold-500);
}

/* Section 4 Emergency Full-width strip (Dark Green #0F3B2B) */
.emergency-strip {
  background-color: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 20px 0 56px;
}

.emergency-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  background-color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-500);
}

.emergency-strip-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--white);
}

.emergency-strip-text strong {
  color: var(--white);
  font-weight: 700;
}

.emergency-known-patient {
  font-size: 15px;
  color: var(--green-text-soft);
  margin-top: 6px;
}

.emergency-known-patient a {
  color: inherit;
  text-decoration: underline;
}

.procedures-footer-cta {
  text-align: left;
  padding: 20px 0 60px;
}

@media (max-width: 900px) {
  .procedures-sections-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .emergency-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   PAGE 4: PATIENTS (patients.html)
   -------------------------------------------------------------------------- */
.patients-page-header {
  padding: 60px 0 40px;
}

/* Section A: What brings you in? */
.finder-section {
  padding: 20px 0 70px;
}

.finder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-top: 32px;
}

.finder-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.finder-pill-btn {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--green-800);
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.finder-pill-btn:hover {
  border-color: var(--green-800);
  background-color: var(--tint-pale-green);
}

.finder-pill-btn[aria-selected="true"] {
  background-color: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.finder-pill-btn.pill-urgent[aria-selected="true"] {
  background-color: var(--green-800);
  border-color: var(--gold-500);
  color: var(--white);
}

.finder-details-panel {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.finder-details-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--green-800);
}

.finder-details-summary {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}

/* Urgent Care Warning Box (solid dark green with white text & gold icon, never red) */
.finder-warning-box {
  background-color: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid var(--green-700);
  display: flex;
  align-items: center;
  gap: 12px;
}

.finder-warning-box::before {
  content: "!";
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-500);
  background-color: var(--green-900);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.finder-services-block {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.finder-services-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.finder-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.finder-service-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

.finder-service-item::before {
  content: "—";
  color: var(--green-800);
}

.finder-bring-line {
  font-size: 14.5px;
  color: var(--ink-soft);
  background-color: var(--paper);
  padding: 14px 18px;
  border-radius: var(--radius);
  line-height: 1.5;
}

.finder-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.finder-disclaimer {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 24px;
  font-style: italic;
  max-width: 72ch;
}

@media (max-width: 850px) {
  .finder-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .finder-details-panel {
    padding: 24px;
  }
}

/* Section B: Bring the paper trail (Checklist on Dark Green Background) */
.checklist-section {
  background-color: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 68px);
  margin: 30px 0 80px;
}

.checklist-section h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.checklist-intro {
  font-size: 18px;
  color: var(--green-text-soft);
  margin-bottom: 32px;
  max-width: 54ch;
}

/* Progress bar & counter */
.checklist-progress-wrap {
  margin-bottom: 32px;
}

.checklist-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.checklist-status-message {
  color: var(--gold-500);
  font-weight: 700;
}

.checklist-progress-track {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

/* Progress bars: gold on dark */
.checklist-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--gold-500);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.checklist-item-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: background-color 0.18s ease;
  user-select: none;
}

.checklist-item-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.checklist-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

/* Checklist ticks become gold on dark, checkmark is green-900 */
.checklist-item-card[aria-checked="true"] .checklist-checkbox {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
}

.checklist-checkbox svg {
  width: 16px;
  height: 16px;
  stroke: var(--green-900);
  stroke-width: 3;
  display: none;
}

.checklist-item-card[aria-checked="true"] .checklist-checkbox svg {
  display: block;
}

.checklist-item-text {
  font-size: 16.5px;
  color: var(--white);
  line-height: 1.45;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.checklist-item-card[aria-checked="true"] .checklist-item-text {
  text-decoration: line-through;
  color: var(--green-text-soft);
  opacity: 0.75;
}

.checklist-completed-actions {
  display: none;
  animation: fadeIn 0.3s ease;
}

.checklist-completed-actions.visible {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   PAGE 5: REFERRALS (referrals.html)
   -------------------------------------------------------------------------- */
.referrals-page-header {
  padding: 60px 0 30px;
}

.referrals-page-header h1 {
  margin-bottom: 12px;
}

.referrals-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  padding: 40px 0 80px;
}

.common-referrals-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.referral-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.18s ease;
}

.referral-card:hover {
  transform: translateX(8px);
}

.referral-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 4px;
}

.referrals-contact-box {
  background-color: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.referrals-contact-box h3 {
  color: var(--white);
  margin-bottom: 0;
}

.referrals-note {
  font-size: 15.5px;
  color: var(--green-text-soft);
  line-height: 1.55;
}

.referrals-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
}

.referrals-details a {
  color: var(--gold-500);
  font-weight: 600;
}

.referrals-details a:hover {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .referrals-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .common-referrals-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   PAGE 6: PATIENT GUIDES (guides.html)
   -------------------------------------------------------------------------- */
.guides-page-header {
  padding: 60px 0 30px;
}

.guides-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 0 80px;
  max-width: 860px;
}

.guide-entry {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: transform 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.guide-entry:hover {
  transform: translateX(8px);
}

.guide-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 6px;
}

.guide-meta {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.guide-tag-coming {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-800);
  white-space: nowrap;
}

@media (max-width: 650px) {
  .guide-entry {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
}

/* --------------------------------------------------------------------------
   PAGE 7: CONTACT / APPOINTMENT (contact.html)
   -------------------------------------------------------------------------- */
.contact-header-section {
  background-color: var(--green-800);
  color: var(--white);
  padding: clamp(52px, 6vw, 68px) 0 56px;
}

.contact-header-section h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.contact-header-sub {
  font-size: 19px;
  color: var(--green-text-soft);
  margin-bottom: 20px;
  max-width: 50ch;
  line-height: 1.45;
}

.contact-phone-block {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.45;
}

.contact-phone-block a {
  color: var(--gold-500);
  font-weight: 600;
}

.contact-phone-block a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Booking Card & Flow */
.booking-card-wrap {
  margin-top: 48px;
  margin-bottom: 70px;
  position: static;
}

.booking-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4.5vw, 48px);
  box-shadow: 0 10px 30px rgba(11, 42, 30, 0.06);
}

/* Appointment Request Form */
.appointment-form {
  display: flex;
  flex-direction: column;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 4px;
}

.form-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 4px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 4px;
}

.label-optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.required-star {
  color: var(--error);
  font-weight: 700;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 16px; /* 16px+ prevents iOS Safari auto-zoom */
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control::placeholder {
  color: var(--ink-soft);
  opacity: 0.65;
  font-size: 14.5px;
}

.form-control:focus {
  border-color: var(--green-800);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 59, 43, 0.15);
}

.form-control:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
}

/* Inline form validation errors: in --error color with clear text */
.form-error-msg {
  font-size: 13px;
  color: var(--error);
  font-weight: 500;
  display: none;
  margin-top: 4px;
  line-height: 1.4;
}

.form-group.has-error .form-control {
  border-color: var(--error);
  background-color: #FFF9F9;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-group.consent-group {
  margin-top: 8px;
  margin-bottom: 28px;
}

.consent-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.consent-checkbox-wrap:hover {
  border-color: var(--green-700);
}

.form-group.has-error .consent-checkbox-wrap {
  border-color: var(--error);
  background-color: #FFF9F9;
}

.consent-checkbox-wrap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green-800);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-checkbox-wrap input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.consent-checkbox-wrap label {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}

/* Submit Row */
.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 8px;
}

.btn-submit {
  min-width: 240px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
}

.btn-submit:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.form-emergency-notice {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-emergency-notice p {
  margin: 0;
  max-width: none;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

.form-emergency-notice a {
  color: inherit;
  text-decoration: underline;
}

.form-emergency-notice a:focus-visible {
  outline: 2px solid var(--green-800);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 650px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 0;
  }

  .form-grid-1 {
    margin-bottom: 0;
  }
  
  .btn-submit {
    width: 100%;
  }
}

/* Inline Booking Error Banner */
.booking-error-banner {
  display: none;
  background-color: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.booking-error-banner.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* Visually Hidden Honeypot */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Success Screen */
.booking-success-view {
  display: none;
  animation: fadeIn 0.3s ease;
}

.booking-success-view.active {
  display: block;
}

.success-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--green-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.booking-success-view h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
  color: var(--green-800);
}

.success-msg-lead {
  font-size: 19px;
  color: var(--green-800);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 60ch;
}

.success-checklist-box {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}

.success-checklist-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--green-800);
}

.success-checklist-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* Checklist ticks: dark green on light */
.success-checklist-box li::before {
  content: "✓ ";
  color: var(--green-800);
  font-weight: bold;
}

/* Locations block below contact form */
.contact-locations-section {
  padding: 40px 0 80px;
}

/* Compact 3-Location List */
.compact-locations-list {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 28px;
  overflow: hidden;
}

.compact-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.compact-location-row:last-child {
  border-bottom: none;
}

.compact-location-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compact-location-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.3;
}

.compact-location-address {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.compact-location-action {
  flex-shrink: 0;
}

.location-directions-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease, background-color 0.15s ease;
  border-radius: var(--radius);
}

.location-directions-link:hover {
  color: var(--green-600);
  background-color: var(--tint-pale-green);
}

.location-directions-link:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.compact-locations-note {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.5;
}

/* Doctor's Direct Line (for GPs, surgeons & existing patients) */
.doctor-direct-block {
  background-color: var(--green-800);
  color: var(--white);
  border: 1px solid var(--green-700);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 24px;
  margin-bottom: 36px;
}

.doctor-direct-label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: 8px;
}

.doctor-direct-line {
  font-size: 17px;
  color: var(--white);
  margin: 0 0 16px 0;
  line-height: 1.45;
}

.doctor-direct-number-wrap {
  margin-bottom: 18px;
}

.doctor-direct-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.doctor-direct-number:hover {
  color: var(--gold-400);
}

.doctor-direct-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-direct-call {
  background-color: var(--gold-500);
  color: var(--green-900);
  font-weight: 700;
  border: 1px solid var(--gold-500);
  padding: 12px 24px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-direct-call:hover {
  background-color: var(--gold-400);
  color: var(--green-900);
}

.btn-direct-wa {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
  font-weight: 600;
  padding: 12px 24px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-direct-wa:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Contact page header GP direct line */
.contact-gp-direct-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.contact-gp-direct-text {
  font-size: 15.5px;
  color: var(--white);
  line-height: 1.4;
}

.contact-gp-number {
  font-weight: 700;
  color: var(--gold-400);
  text-decoration: underline;
  margin-left: 4px;
  white-space: nowrap;
}

.contact-gp-direct-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-direct-call-sm {
  background-color: var(--gold-500);
  color: var(--green-900);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--gold-500);
}

.btn-direct-call-sm:hover {
  background-color: var(--gold-400);
  color: var(--green-900);
}

.btn-direct-wa-sm {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius);
}

.btn-direct-wa-sm:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

/* Patients page direct line */
.patient-direct-contact-section {
  margin-top: 48px;
  margin-bottom: 24px;
}

.patient-direct-box {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.patient-direct-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.patient-direct-lead {
  font-size: 16px;
  color: var(--green-800);
  font-weight: 600;
  margin: 0;
}

.patient-direct-number-link {
  font-weight: 700;
  color: var(--green-800);
  text-decoration: underline;
}

.patient-direct-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.patient-direct-box .btn-direct-call-sm {
  background-color: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.patient-direct-box .btn-direct-call-sm:hover {
  background-color: var(--green-700);
  color: var(--white);
}

.patient-direct-box .btn-direct-wa-sm {
  color: var(--green-800);
  border-color: var(--green-800);
}

.patient-direct-box .btn-direct-wa-sm:hover {
  background-color: var(--tint-pale-green);
  color: var(--green-800);
}

.patient-direct-disclaimer {
  margin: 12px 0 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.patient-direct-disclaimer a {
  color: var(--green-800);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .compact-location-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .location-directions-link {
    padding-left: 0;
  }
  .doctor-direct-actions {
    flex-direction: column;
    width: 100%;
  }
  .doctor-direct-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .contact-gp-direct-block {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .contact-gp-direct-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .contact-gp-direct-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }
  .patient-direct-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .patient-direct-actions {
    width: 100%;
  }
  .patient-direct-actions .btn {
    flex: 1;
    min-height: 48px;
  }
}


/* Print Styles */
@media print {
  .top-utility-bar, .site-header, .mobile-sticky-bar, .site-footer {
    display: none !important;
  }
  body {
    background: var(--white);
    color: var(--ink);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .audience-row:hover, .referral-card:hover, .guide-entry:hover {
    transform: none !important;
  }
}
