/* ================================================================
   CHCA MAIN.CSS — Design tokens + global styles
   ================================================================ */

@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --color-blue-dark:  #1E3575;
  --color-blue:       #2D4BA5;
  --color-blue-mid:   #4A6BC4;
  --color-blue-light: #D0DAF5;
  --color-gold:       #916810;  /* darkened for WCAG AA text/on-white + white-on-gold ~5:1 */
  --color-gold-light: #E5A835;  /* light gold — for gold text/accents on DARK backgrounds only */
  --color-ivory:      #F6F2EC;
  --color-white:      #FFFFFF;
  --color-text:       #1A2035;
  --color-text-sub:   #4A5568;
  --color-text-muted: #5C6A7A;  /* darkened to ~5:1 on white for small text (WCAG AA) */

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --section-py:  5rem;
  --content-max: 1200px;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-sm: 0 2px 6px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.18), 0 6px 16px rgba(0,0,0,0.10);
  --shadow-xl: 0 30px 64px rgba(0,0,0,0.22), 0 10px 24px rgba(0,0,0,0.12);

  --transition:      0.2s ease;
  --transition-slow: 0.35s ease;

  --z-header: 900;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Prevent the off-canvas mobile drawer (translated off-screen right)
     from creating a horizontal scrollbar. `clip` (not `hidden`) keeps the
     sticky header working. */
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; }
p  { color: var(--color-text-sub); line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
/* Eyebrows on dark hero/dark sections use the LIGHT gold for legibility */
.page-hero .eyebrow, .pillar-hero .eyebrow, .hero .eyebrow, .section-dark .eyebrow { color: var(--color-gold-light); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header p { font-size: 1.0625rem; margin-top: 0.75rem; }

/* Layout */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
section { padding-block: var(--section-py); }
.section-alt  { background: var(--color-ivory); }
.section-dark { background: var(--color-blue-dark); }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--color-white); }
.section-dark p  { color: rgba(255,255,255,0.75); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
@keyframes btnPulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,144,26,0); }
  50%       { box-shadow: 0 0 0 4px rgba(229,168,53,0.5); }
}
@keyframes btnPulseWhite {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50%       { box-shadow: 0 0 0 4px rgba(255,255,255,0.35); }
}
@keyframes btnPulseBlue {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,75,165,0); }
  50%       { box-shadow: 0 0 0 4px rgba(74,107,196,0.45); }
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  animation: btnPulseGold 2.8s ease-in-out infinite;
}
.btn-gold:hover {
  background: #7D580C;  /* darker on hover keeps white label ≥4.5:1 */
  transform: translateY(-1px);
  box-shadow: 0 0 0 5px rgba(145,104,16,0.55), var(--shadow-md);
  animation-play-state: paused;
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.55);
  color: var(--color-white);
  animation: btnPulseWhite 2.8s ease-in-out infinite;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  animation-play-state: paused;
}
.btn-outline-blue {
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
  animation: btnPulseBlue 2.8s ease-in-out infinite;
}
.btn-outline-blue:hover {
  background: var(--color-blue);
  color: var(--color-white);
  animation-play-state: paused;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Site Header — always dark blue, sticky */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-blue-dark);
  z-index: var(--z-header);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.35); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.site-logo img { width: 44px; height: 44px; object-fit: contain; }
.logo-bump-disc { display: flex; align-items: center; justify-content: center; }
.logo-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  max-width: 160px;
}
.site-nav { margin-inline-start: auto; }
.nav-list { display: flex; gap: 0.25rem; align-items: center; }
.nav-list a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-list a:hover,
.nav-list a.is-active {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-phone {
  color: var(--color-gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-white); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer elements — hidden by default, shown only inside mobile media query */
.nav-backdrop, .nav-drawer-head, .nav-drawer-cta, .nav-drawer-foot { display: none; }

/* Mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .site-nav { display: none; }
  .header-actions { margin-inline-start: auto; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .nav-drawer-head { display: flex; }
  .nav-drawer-cta { display: block; }
  .nav-drawer-foot { display: flex; }

  /* Logo bump — intentional design element */
  .site-header { overflow: visible; }
  .header-inner { position: relative; }
  .header-inner > .site-logo {
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8px;
    gap: 0;
    pointer-events: none;
    z-index: 1;
  }
  .header-inner > .site-logo .logo-text {
    font-size: clamp(0.9rem, calc((100vw - 96px) / 16.5), 1.1rem);
    max-width: none;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.03em;
    pointer-events: auto;
  }
  .header-inner > .site-logo .logo-bump-disc {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--color-blue-dark);
    border-radius: 50%;
    border: 2px solid rgba(229, 168, 53, 0.4);
    box-shadow: 0 6px 22px rgba(0,0,0,0.5), 0 0 0 4px var(--color-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 2;
  }
  .header-inner > .site-logo .logo-bump-disc img { width: 40px; height: 40px; object-fit: contain; }
  /* Arch that merges disc into header bottom */
  .site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 30px;
    background: var(--color-blue-dark);
    border-radius: 0 0 38px 38px;
  }

  /* Backdrop */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8,16,40,0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: calc(var(--z-header) + 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }

  /* Drawer panel */
  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(340px, 90vw);
    background: var(--color-blue-dark);
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: calc(var(--z-header) + 2);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 48px rgba(0,0,0,0.45);
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) rgba(255,255,255,0.06);
    padding: 0;
  }
  .site-nav.is-open { transform: translateX(0); }

  /* Drawer internal header (logo + close) */
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
  }
  .nav-drawer-head .site-logo { gap: 0.6rem; }
  .nav-drawer-head .logo-text { font-size: 0.875rem; max-width: 140px; }
  .nav-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    padding: 0.4rem;
    line-height: 1;
    font-size: 1.5rem;
    transition: color 0.2s;
    flex-shrink: 0;
  }
  .nav-close:hover { color: var(--color-gold-light); }

  /* Links */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1rem;
    flex: 1;
  }
  .nav-list a {
    padding: 0.875rem 1rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.82);
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
  }
  .nav-list a:hover { background: rgba(255,255,255,0.08); color: #fff; padding-left: 1.375rem; }
  .nav-list a.is-active {
    background: rgba(200,144,26,0.18);
    color: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
    padding-left: calc(1rem - 3px);
  }

  /* Drawer CTA button */
  .nav-drawer-cta {
    padding: 0 1.25rem;
    flex-shrink: 0;
  }
  .nav-drawer-cta .btn {
    width: 100%;
    justify-content: center;
    animation: none;
  }

  /* Drawer contact footer */
  .nav-drawer-foot {
    padding: 1.25rem 1.5rem 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-top: auto;
  }
  .nav-drawer-foot a {
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
  }
  .nav-drawer-foot a:hover { color: var(--color-gold-light); }
  .nav-drawer-foot .crisis-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
  }
}

/* Hero — video hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Reduced overlay — lets more of the video show through while a stronger
     left-side wash + text-shadow keeps the headline WCAG-legible. */
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--color-blue-dark) 42%, transparent) 0%,
      color-mix(in srgb, var(--color-blue-dark) 20%, transparent) 45%,
      transparent 80%),
    linear-gradient(0deg,
      color-mix(in srgb, var(--color-blue-dark) 22%, transparent) 0%,
      transparent 40%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  /* Sentence-length headline — smaller than a punchy 2-word hero */
  font-size: clamp(1.5rem, 4.6vw, 2.85rem);
  line-height: 1.18;
  overflow-wrap: break-word;
  hyphens: auto;
  text-shadow: 0 2px 18px rgba(6,16,40,0.55), 0 1px 3px rgba(6,16,40,0.4);
}
.hero-content p {
  color: rgba(255,255,255,0.92);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-inline: auto;
  text-shadow: 0 1px 10px rgba(6,16,40,0.5);
}
.hero-badge { text-shadow: 0 1px 8px rgba(6,16,40,0.5); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Trust Strip */
.trust-strip { background: var(--color-blue); padding: 1.25rem 0; }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Gateway Cards */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.gateway-card {
  background: var(--color-white);
  border: 1px solid rgba(45,75,165,0.12);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.gateway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-blue-mid);
}
.gateway-card-img { margin: -2rem -1.5rem 0; border-radius: var(--radius-md) var(--radius-md) 0 0; overflow: hidden; height: 180px; width: calc(100% + 3rem); }
.gateway-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gateway-icon {
  width: 64px; height: 64px;
  background: var(--color-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.gateway-card h3 { font-size: 1.1875rem; }
.gateway-card p  { font-size: 0.875rem; flex-grow: 1; }
.gateway-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* About Strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-strip-text h2  { margin-bottom: 1rem; }
.about-strip-text p   { margin-bottom: 1rem; }
.about-strip-text .btn { margin-top: 0.5rem; }
.about-strip-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-strip-img img { width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: flex; gap: 2rem; margin: 1.5rem 0; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1;
}
.stat-label { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.25rem; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars  { color: var(--color-gold); margin-bottom: 0.75rem; }
.testimonial-text   { font-size: 0.9375rem; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.testimonial-role   { font-size: 0.8125rem; color: var(--color-text-muted); }

/* Locations Strip */
.locations-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.location-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(45,75,165,0.1);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.location-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.location-card address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.7;
}
.location-phone {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--color-blue);
}
.location-phone:hover { color: var(--color-blue-dark); }

/* CTA Section */
.cta-section {
  background: var(--color-gold);
  text-align: center;
  padding-block: 4rem;
}
.cta-section h2 { color: var(--color-white); margin-bottom: 0.75rem; }
.cta-section p  { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-size: 1.0625rem; }
.cta-section .btn + .btn { margin-left: 1rem; }

/* Footer */
.site-footer { background: var(--color-blue-dark); }
.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  padding-block: 4rem;
}
.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-tagline       { color: rgba(255,255,255,0.7); font-style: italic; font-size: 0.9375rem; margin-bottom: 0.5rem; }
.footer-accreditations { font-size: 0.8125rem; color: rgba(255,255,255,0.72); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.125rem; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 6px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 0.8125rem; font-weight: 500; text-decoration: none; letter-spacing: 0.01em; transition: background 0.2s, border-color 0.2s; }
.footer-social a:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }
.footer-social svg { flex-shrink: 0; width: 14px; height: 14px; opacity: 0.9; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4,
.footer-col .footer-col-title {
  color: var(--color-gold-light);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a,
.footer-col li  { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 1.25rem; }
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p   { color: rgba(255,255,255,0.72); font-size: 0.8125rem; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom nav a { color: rgba(255,255,255,0.72); font-size: 0.8125rem; }
.footer-bottom nav a:hover { color: rgba(255,255,255,0.8); }

/* FluxGrid Studio credit */
.fluxgrid-credit {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.375rem;
  color: #fff;
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.fluxgrid-credit:hover { opacity: 0.75; }
.fluxgrid-credit img { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }

/* Google Review CTA */
.google-review-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #fff;
  border: 1.5px solid #dadce0;
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  text-decoration: none;
  color: #3c4043;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.google-review-cta:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.15); border-color: #bbb; color: #3c4043; }
.google-review-cta .gcta-text { display: flex; flex-direction: column; gap: 1px; }
.google-review-cta .gcta-stars { color: #fbbc04; font-size: 0.75rem; letter-spacing: 1px; }
.google-review-cta .gcta-label { font-size: 0.6875rem; color: #5f6368; }
.google-review-section {
  background: var(--color-ivory);
  padding: 2.5rem 0;
  text-align: center;
}
.google-review-section .google-review-cta {
  font-size: 0.9375rem;
  padding: 0.875rem 1.5rem;
  gap: 0.875rem;
  box-shadow: var(--shadow-md);
}
.google-review-section p { color: var(--color-text-muted); font-size: 0.875rem; margin-bottom: 1rem; }

/* Animated border (contact forms) */
@keyframes rotateBorder { to { --border-angle: 360deg; } }
.animated-border-wrap {
  border-radius: var(--radius-md);
  padding: 3px;
  background: conic-gradient(
    from var(--border-angle),
    var(--color-blue-dark) 0%,
    var(--color-blue) 20%,
    var(--color-gold) 45%,
    var(--color-gold-light) 50%,
    var(--color-gold) 55%,
    var(--color-blue) 80%,
    var(--color-blue-dark) 100%
  );
  animation: rotateBorder 4s linear infinite;
}
.animated-border-inner {
  background: var(--color-white);
  border-radius: calc(var(--radius-md) - 3px);
  padding: 2rem;
}

/* Scroll-reveal */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate][data-delay="100"] { transition-delay: 0.1s; }
[data-animate][data-delay="200"] { transition-delay: 0.2s; }
[data-animate][data-delay="300"] { transition-delay: 0.3s; }
[data-animate][data-delay="400"] { transition-delay: 0.4s; }
[data-animate][data-delay="500"] { transition-delay: 0.5s; }

/* Breadcrumb */
.breadcrumb { background: var(--color-ivory); padding: 0.875rem 0; border-bottom: 1px solid rgba(45,75,165,0.08); }
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-list a { color: var(--color-blue); }
.breadcrumb-list a:hover { text-decoration: underline; }

/* Page hero (non-video, for interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue));
  padding-block: 3.5rem;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.78); max-width: 560px; }

/* Responsive */
@media (max-width: 1024px) {
  .gateway-grid       { grid-template-columns: repeat(2, 1fr); }
  .about-strip        { grid-template-columns: 1fr; gap: 2rem; }
  .about-strip-img    { aspect-ratio: 16/7; }
  .testimonials-grid  { grid-template-columns: 1fr 1fr; }
  .locations-strip    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
  .gateway-grid       { grid-template-columns: 1fr; }
  .locations-strip    { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav         { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .hero               { min-height: 75vh; }
  .trust-inner        { gap: 1.25rem; }
  .cta-section .btn + .btn { margin-left: 0; margin-top: 0.75rem; }
  .stat-row           { gap: 1.25rem; }
}
@media (max-width: 480px) {
  .footer-nav   { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}

/* ── Healthcare & Home Care Updates — Expandable Cards ─────────────── */
.healthcare-updates-section { background: var(--color-ivory); }

.healthcare-updates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.news-update-card {
  background: var(--color-white);
  border: 1px solid rgba(45,75,165,0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.news-update-card:hover { box-shadow: var(--shadow-md); border-color: rgba(45,75,165,0.22); }
.news-update-card.is-open { border-color: var(--color-blue-mid); box-shadow: var(--shadow-md); }

.news-update-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  cursor: pointer;
  user-select: none;
}
.news-update-card-header:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.news-update-card-content { flex: 1; min-width: 0; }

.news-update-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.news-update-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--color-white);
  white-space: nowrap;
  flex-shrink: 0;
}
.news-update-badge--blue { background: var(--color-blue); }
.news-update-badge--dark { background: var(--color-blue-dark); }
.news-update-badge--mid  { background: var(--color-blue-mid); }
.news-update-badge--gold { background: var(--color-gold); }

.news-update-card-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.news-update-card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.news-update-card-summary {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.65;
  margin: 0;
}

.news-update-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  transition: background var(--transition);
}
.news-update-toggle svg { transition: transform var(--transition-slow); color: var(--color-blue); }
.news-update-card.is-open .news-update-toggle { background: var(--color-blue); }
.news-update-card.is-open .news-update-toggle svg { transform: rotate(180deg); color: var(--color-white); }

.news-update-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-update-card-body-inner {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(45,75,165,0.08);
}

.news-update-why-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  margin-bottom: 0.375rem;
}

.news-update-why {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.news-update-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-update-source {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.healthcare-updates-disclaimer {
  padding: 1rem 1.25rem;
  background: rgba(45,75,165,0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-blue-mid);
}
.healthcare-updates-disclaimer p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .healthcare-updates-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   ADDITIONS — a11y skip link, nav dropdowns, crisis highlight,
   review bar, email capture, consent banner, NPI bar
   ================================================================ */

/* ── Screen-reader-only utility ───────────────────────────────── */
.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 (a11y) ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 2000;
  background: var(--color-gold);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

/* ── Nav dropdowns (desktop) ──────────────────────────────────── */
.has-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown-toggle:hover,
.has-dropdown:hover .nav-dropdown-toggle,
.has-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown-toggle.is-active {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}
.nav-dropdown-toggle svg { width: 11px; height: 11px; transition: transform var(--transition); }
.has-dropdown:hover .nav-dropdown-toggle svg,
.has-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: calc(var(--z-header) + 5);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
}

/* ── Review bar (under trust strip) ───────────────────────────── */
.review-bar {
  background: var(--color-ivory);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(45,75,165,0.08);
}
.review-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  text-align: center;
}
.review-bar-text { font-size: 0.9375rem; color: var(--color-text-sub); }
.review-bar-text .stars { color: var(--color-gold); letter-spacing: 1px; margin-right: 0.35rem; }

/* ── Crisis hotline highlight ─────────────────────────────────── */
.crisis-highlight {
  background: var(--color-blue-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 3px solid var(--color-gold);
  padding: 1.05rem 0;
}
.crisis-highlight-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.crisis-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e23b3b;
  box-shadow: 0 0 0 0 rgba(226,59,59,0.7);
  animation: crisisPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes crisisPulse {
  0%   { box-shadow: 0 0 0 0 rgba(226,59,59,0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(226,59,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,59,59,0); }
}
.crisis-highlight-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  font-weight: 500;
}
.crisis-highlight-text strong { color: var(--color-gold-light); }
.crisis-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #c0392b;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 800px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.crisis-phone-btn:hover { background: #d64535; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(192,57,43,0.45); }
.crisis-phone-btn svg { width: 17px; height: 17px; }

@media (prefers-reduced-motion: reduce) {
  .crisis-pulse-dot { animation: none; }
}

/* ── Email capture banner (centered modal, dissolve @ 40% scroll) ─ */
.email-capture-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,16,40,0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 1190;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.email-capture-backdrop.is-visible { opacity: 1; visibility: visible; }
.email-capture-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(440px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--color-white);
  border: 1px solid rgba(45,75,165,0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2rem 1.75rem 1.75rem;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  filter: blur(8px);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}
.email-capture-banner.is-visible { opacity: 1; visibility: visible; filter: blur(0); transform: translate(-50%, -50%) scale(1); }
.email-capture-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.email-capture-close:hover { background: var(--color-ivory); color: var(--color-text); }
.email-capture-banner .ecb-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}
.email-capture-banner h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.email-capture-banner p { font-size: 0.875rem; margin-bottom: 1rem; }
.email-capture-form { display: flex; flex-direction: column; gap: 0.6rem; }
.email-capture-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(45,75,165,0.25);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color var(--transition);
}
.email-capture-form input[type="email"]:focus { outline: none; border-color: var(--color-blue); }
.email-capture-form input.is-invalid { border-color: #c0392b; }
.email-capture-form .btn { width: 100%; justify-content: center; animation: none; }
.email-capture-msg { font-size: 0.8125rem; margin-top: 0.25rem; min-height: 1em; }
.email-capture-msg.is-error { color: #c0392b; }
.email-capture-msg.is-success { color: var(--color-blue); font-weight: 600; }
.email-capture-privacy { font-size: 0.6875rem; color: var(--color-text-muted); margin-top: 0.6rem; line-height: 1.5; }
.email-capture-privacy a { color: var(--color-blue); text-decoration: underline; }

/* ── Consent banner ───────────────────────────────────────────── */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-blue-dark);
  color: #fff;
  padding: 1rem 0;
  z-index: 1300;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.consent-banner.is-visible { transform: translateY(0); }
.consent-inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.consent-text { font-size: 0.875rem; color: rgba(255,255,255,0.82); max-width: 72ch; line-height: 1.6; margin: 0; }
.consent-text a { color: var(--color-gold-light); text-decoration: underline; }
.consent-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; flex-shrink: 0; }
.consent-actions .btn { animation: none; }
.btn-consent-decline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: none;
}
.btn-consent-decline:hover { background: rgba(255,255,255,0.1); }

/* ── NPI bar (below footer, all pages) ────────────────────────── */
.npi-bar {
  background: #16264f;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.9rem 0;
}
.npi-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
}
.npi-bar-inner strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.npi-bar-inner a { color: rgba(255,255,255,0.82); text-decoration: underline; }
.npi-bar-inner a:hover { color: #fff; }

/* ── Nav dropdowns (mobile drawer accordion) ──────────────────── */
@media (max-width: 900px) {
  .has-dropdown { display: block; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.82);
    border-radius: var(--radius-sm);
  }
  .nav-dropdown-toggle svg { width: 14px; height: 14px; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 0.5rem;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
  }
  .nav-dropdown a {
    color: rgba(255,255,255,0.72);
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  .nav-dropdown a:hover,
  .nav-dropdown a.is-active {
    background: rgba(255,255,255,0.08);
    color: var(--color-gold-light);
  }
}

@media (max-width: 600px) {
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; justify-content: center; }
}

/* ── Mobile drawer: prominent crisis-line button ──────────────── */
.nav-drawer-crisis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #c0392b;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 800px;
  margin-top: 0.5rem;
  transition: background var(--transition);
}
.nav-drawer-crisis:hover { background: #d64535; color: #fff; }
.nav-drawer-crisis svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ================================================================
   ACCESSIBILITY WIDGET (bottom-left) + user preference modes
   ================================================================ */
.a11y-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1150;
  border: 2px solid rgba(255,255,255,0.85);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.a11y-fab:hover { background: var(--color-blue-dark); transform: scale(1.06); }
.a11y-fab svg { width: 28px; height: 28px; }

.a11y-panel {
  position: fixed;
  left: 1.25rem;
  bottom: 5.4rem;
  width: min(300px, calc(100vw - 2.5rem));
  max-height: min(72vh, 540px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(45,75,165,0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 1151;
  padding: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.a11y-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.a11y-panel h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 0.85rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.a11y-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid rgba(45,75,165,0.16);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.a11y-option:hover { background: var(--color-ivory); }
.a11y-option.is-active { background: var(--color-blue-light); border-color: var(--color-blue); color: var(--color-blue-dark); }
.a11y-option .a11y-level { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 700; }
.a11y-option.is-active .a11y-level { color: var(--color-blue); }
.a11y-reset { justify-content: center; margin-top: 0.25rem; border-style: dashed; color: var(--color-text-sub); }
.a11y-panel .a11y-foot { margin-top: 0.5rem; font-size: 0.75rem; text-align: center; }
.a11y-panel .a11y-foot a { color: var(--color-blue); text-decoration: underline; }

@media (max-width: 600px) {
  .a11y-fab { width: 46px; height: 46px; left: 0.9rem; bottom: 0.9rem; }
  .a11y-fab svg { width: 24px; height: 24px; }
  .a11y-panel { left: 0.9rem; bottom: 4.4rem; }
}

/* ── Preference: bigger text (scales rem units) ───────────────── */
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }

/* ── Preference: highlight links ──────────────────────────────── */
html.a11y-links a:not(.btn):not(.a11y-fab):not(.a11y-option):not(.crisis-phone-btn):not(.nav-drawer-crisis) {
  text-decoration: underline !important;
  text-underline-offset: 2px;
  font-weight: 700 !important;
}

/* ── Preference: readable font ────────────────────────────────── */
html.a11y-readable body,
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3,
html.a11y-readable h4, html.a11y-readable p, html.a11y-readable a,
html.a11y-readable li, html.a11y-readable span, html.a11y-readable button,
html.a11y-readable input, html.a11y-readable textarea, html.a11y-readable label {
  font-family: Verdana, Tahoma, Arial, sans-serif !important;
  letter-spacing: 0.02em !important;
}
html.a11y-readable p, html.a11y-readable li { line-height: 1.9 !important; }

/* ── Preference: pause animations ─────────────────────────────── */
html.a11y-nomotion *,
html.a11y-nomotion *::before,
html.a11y-nomotion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.a11y-nomotion .hero-video,
html.a11y-nomotion .pillar-hero-video { display: none !important; }

/* ── Preference: high contrast ────────────────────────────────── */
html.a11y-hc body { background: #000 !important; }
html.a11y-hc section, html.a11y-hc .section-alt, html.a11y-hc .section-dark,
html.a11y-hc .gateway-card, html.a11y-hc .testimonial-card, html.a11y-hc .location-card,
html.a11y-hc .service-card, html.a11y-hc .news-update-card, html.a11y-hc .page-hero,
html.a11y-hc .cta-section, html.a11y-hc .trust-strip, html.a11y-hc .review-bar,
html.a11y-hc .crisis-highlight, html.a11y-hc .breadcrumb, html.a11y-hc .pillar-hero,
html.a11y-hc .site-footer, html.a11y-hc .npi-bar, html.a11y-hc .hero,
html.a11y-hc .pillar-contact-strip { background: #000 !important; }
html.a11y-hc h1, html.a11y-hc h2, html.a11y-hc h3, html.a11y-hc h4, html.a11y-hc h5,
html.a11y-hc p, html.a11y-hc li, html.a11y-hc address, html.a11y-hc .eyebrow,
html.a11y-hc label, html.a11y-hc td, html.a11y-hc th, html.a11y-hc strong,
html.a11y-hc .trust-item, html.a11y-hc .stat-label, html.a11y-hc .footer-col,
html.a11y-hc .footer-tagline { color: #fff !important; }
html.a11y-hc a:not(.a11y-fab):not(.a11y-option):not(.a11y-reset) { color: #ffea00 !important; text-decoration: underline !important; }
html.a11y-hc .btn { background: #ffea00 !important; color: #000 !important; border-color: #ffea00 !important; }
html.a11y-hc .hero-overlay, html.a11y-hc .pillar-hero-overlay { background: rgba(0,0,0,0.75) !important; }
/* keep the widget itself legible in HC mode */
html.a11y-hc .a11y-fab { background: #ffea00 !important; color: #000 !important; border-color: #000 !important; }
html.a11y-hc .a11y-panel { background: #111 !important; border-color: #ffea00 !important; }
html.a11y-hc .a11y-panel h3 { color: #fff !important; }
html.a11y-hc .a11y-option { background: #1a1a1a !important; color: #fff !important; border-color: #555 !important; }
html.a11y-hc .a11y-option.is-active { background: #333 !important; border-color: #ffea00 !important; color: #ffea00 !important; }

/* ── Chat widget stacking: keep it out of the way of the mobile menu
   and the consent banner (its z-index 9999 otherwise covers them) ─── */
body.nav-open #fg-chat-root,
body.consent-visible #fg-chat-root {
  display: none !important;
}

/* ── Honor the OS "reduce motion" setting site-wide ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video, .pillar-hero-video { display: none !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
}
