/* Grounded & Growing ABA Clinic — Main Stylesheet */

/* ── Typography (theme-independent) ── */
:root {
  --font-serif: 'DM Sans', system-ui, sans-serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

/* ── Theme tokens ── */
:root,
[data-theme="light"] {
  --bg: #F8F5F0;
  --bg-alt: #F0EBE3;
  --bg-muted: #E8E2D8;
  --text: #1C1C1C;
  --text-soft: #3D3D3D;
  --text-muted: #5C5C5C;
  --accent: #B8960C;
  --accent-gold: #D4AF37;
  --accent-soft: #E8D5A3;
  --accent-muted: rgba(184, 150, 12, 0.12);
  --accent-teal: #0D9488;
  --border: #E8E2D8;
  --card-bg: #FFFFFF;
  --card-bg-solid: #FFFFFF;
  --header-bg: rgba(248, 245, 240, 0.88);
  --header-border: rgba(184, 150, 12, 0.12);
  --footer-bg: #1C1C1C;
  --surface-inverse: #1C1C1C;
  --surface-inverse-alt: #2a2a2a;
  --surface-inverse-text: #F8F5F0;
  --surface-inverse-muted: rgba(248, 245, 240, 0.75);
  --surface-glass: rgba(255, 255, 255, 0.06);
  --surface-glass-border: rgba(212, 175, 55, 0.25);
  --overlay-card-bg: rgba(255, 255, 255, 0.96);
  --overlay-tag-bg: rgba(255, 255, 255, 0.95);
  --bg-glow-1: rgba(212, 175, 55, 0.06);
  --bg-glow-2: rgba(184, 150, 12, 0.05);
  --hero-glow: rgba(212, 175, 55, 0.12);
  --hero-panel-bg: rgba(15, 23, 42, 0.72);
  --hero-panel-border: rgba(255, 255, 255, 0.2);
  --hero-copy-panel-bg: rgba(15, 23, 42, 0.82);
  --hero-copy-panel-border: rgba(255, 255, 255, 0.15);
  --hero-scrim-start: rgba(0, 0, 0, 0.88);
  --hero-scrim-mid: rgba(0, 0, 0, 0.58);
  --hero-scrim-end: rgba(0, 0, 0, 0.12);
  --hero-scrim-bottom: rgba(0, 0, 0, 0.55);
  --hero-text: #FFFFFF;
  --hero-text-soft: rgba(255, 255, 255, 0.92);
  --hero-accent: #FFFFFF;
  --hero-accent-underline: rgba(255, 255, 255, 0.38);
  --hero-stat-bg: rgba(15, 23, 42, 0.9);
  --hero-stat-accent: #FFFFFF;
  --cta-glow: rgba(212, 175, 55, 0.15);
  --shadow-color: rgba(28, 28, 28, 0.12);
  --shadow-color-sm: rgba(28, 28, 28, 0.08);
  --btn-primary-from: #D4AF37;
  --btn-primary-to: #B8960C;
  --btn-primary-text: #FFFFFF;
  --btn-primary-shadow: rgba(184, 150, 12, 0.3);
  --btn-primary-shadow-hover: rgba(184, 150, 12, 0.4);
  --theme-ring: rgba(184, 150, 12, 0.55);
  --theme-switcher-bg: rgba(255, 255, 255, 0.72);
  --theme-switcher-border: rgba(184, 150, 12, 0.18);
  --logo-filter: none;
  --sticky-shadow: rgba(28, 28, 28, 0.2);
  --footer-border: rgba(212, 175, 55, 0.2);
  --footer-link: rgba(248, 245, 240, 0.68);
  --footer-text-muted: rgba(248, 245, 240, 0.65);
  --footer-bottom-text: rgba(248, 245, 240, 0.5);
  --slider-dot-bg: rgba(248, 245, 240, 0.3);
  --slider-btn-border: rgba(212, 175, 55, 0.4);
  --slider-btn-hover: rgba(212, 175, 55, 0.15);
  --gold: var(--accent);
  --gold-light: var(--accent-gold);
  --gold-soft: var(--accent-soft);
  --gold-muted: var(--accent-muted);
  --cream: var(--bg);
  --cream-2: var(--bg-alt);
  --cream-3: var(--bg-muted);
  --ink: var(--text);
  --ink-soft: var(--text-soft);
  --slate: var(--text-muted);
  --white: var(--card-bg-solid);
  --shadow: 0 24px 60px var(--shadow-color);
  --shadow-sm: 0 8px 24px var(--shadow-color-sm);
  --radius: 20px;
  --radius-lg: 32px;
  --header-h: 76px;
  --btt-bg: radial-gradient(circle at 32% 28%, #D4AF37 0%, #B8960C 42%, #8B6914 100%);
  --btt-border: rgba(212, 175, 55, 0.48);
  --btt-color: #FFFFFF;
  --btt-shadow: 0 4px 18px rgba(139, 105, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --btt-shadow-hover: 0 8px 28px rgba(139, 105, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  --btt-focus-outline: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] {
  --bg: #121212;
  --bg-alt: #1A1A1A;
  --bg-muted: #2D2D2D;
  --text: #F0EBE3;
  --text-soft: #D4CEC4;
  --text-muted: #9A9590;
  --accent: #C9A227;
  --accent-gold: #D4AF37;
  --accent-soft: #3D3520;
  --accent-muted: rgba(201, 162, 39, 0.15);
  --accent-teal: #2DD4BF;
  --border: #3A3A3A;
  --card-bg: #1E1E1E;
  --card-bg-solid: #1E1E1E;
  --header-bg: rgba(18, 18, 18, 0.92);
  --header-border: rgba(201, 162, 39, 0.15);
  --footer-bg: #0A0A0A;
  --surface-inverse: #0A0A0A;
  --surface-inverse-alt: #1A1A1A;
  --surface-inverse-text: #F0EBE3;
  --surface-inverse-muted: rgba(240, 235, 227, 0.72);
  --surface-glass: rgba(255, 255, 255, 0.05);
  --surface-glass-border: rgba(212, 175, 55, 0.22);
  --overlay-card-bg: rgba(30, 30, 30, 0.96);
  --overlay-tag-bg: rgba(30, 30, 30, 0.95);
  --bg-glow-1: rgba(201, 162, 39, 0.04);
  --bg-glow-2: rgba(212, 175, 55, 0.03);
  --hero-glow: rgba(201, 162, 39, 0.08);
  --hero-panel-bg: rgba(8, 8, 8, 0.68);
  --hero-panel-border: rgba(255, 255, 255, 0.14);
  --hero-copy-panel-bg: rgba(8, 8, 8, 0.78);
  --hero-copy-panel-border: rgba(255, 255, 255, 0.12);
  --hero-scrim-start: rgba(8, 8, 8, 0.96);
  --hero-scrim-mid: rgba(8, 8, 8, 0.68);
  --hero-scrim-end: rgba(8, 8, 8, 0.2);
  --hero-scrim-bottom: rgba(0, 0, 0, 0.5);
  --hero-text: #FFFFFF;
  --hero-text-soft: rgba(255, 255, 255, 0.94);
  --hero-accent: var(--accent-gold);
  --hero-accent-underline: rgba(212, 175, 55, 0.35);
  --hero-stat-bg: rgba(8, 8, 8, 0.88);
  --hero-stat-accent: var(--accent-gold);
  --cta-glow: rgba(212, 175, 55, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.35);
  --shadow-color-sm: rgba(0, 0, 0, 0.25);
  --btn-primary-from: #D4AF37;
  --btn-primary-to: #B8960C;
  --btn-primary-text: #121212;
  --btn-primary-shadow: rgba(201, 162, 39, 0.25);
  --btn-primary-shadow-hover: rgba(201, 162, 39, 0.35);
  --theme-ring: rgba(212, 175, 55, 0.6);
  --theme-switcher-bg: rgba(30, 30, 30, 0.85);
  --theme-switcher-border: rgba(201, 162, 39, 0.2);
  --logo-filter: brightness(1.08) contrast(1.05);
  --sticky-shadow: rgba(0, 0, 0, 0.45);
  --footer-border: rgba(212, 175, 55, 0.18);
  --footer-link: rgba(240, 235, 227, 0.65);
  --footer-text-muted: rgba(240, 235, 227, 0.6);
  --footer-bottom-text: rgba(240, 235, 227, 0.45);
  --slider-dot-bg: rgba(240, 235, 227, 0.25);
  --slider-btn-border: rgba(212, 175, 55, 0.35);
  --slider-btn-hover: rgba(212, 175, 55, 0.12);
  --btt-bg: radial-gradient(circle at 32% 28%, #3A3A3A 0%, #2A2A2A 42%, #1A1A1A 100%);
  --btt-border: rgba(201, 162, 39, 0.55);
  --btt-color: #FFFFFF;
  --btt-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --btt-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(201, 162, 39, 0.22);
  --btt-focus-outline: rgba(212, 175, 55, 0.85);
}

[data-theme="blue"] {
  --bg: #EEF4FA;
  --bg-alt: #E3EDF7;
  --bg-muted: #C8D9EB;
  --text: #1A2B42;
  --text-soft: #2C4059;
  --text-muted: #5A7189;
  --accent: #1E4D8C;
  --accent-gold: #2563EB;
  --accent-soft: #BFDBFE;
  --accent-muted: rgba(30, 77, 140, 0.12);
  --accent-teal: #0D9488;
  --border: #C8D9EB;
  --card-bg: #FFFFFF;
  --card-bg-solid: #FFFFFF;
  --header-bg: rgba(238, 244, 250, 0.92);
  --header-border: rgba(30, 77, 140, 0.12);
  --footer-bg: #1E4D8C;
  --surface-inverse: #1E4D8C;
  --surface-inverse-alt: #163A6E;
  --surface-inverse-text: #F0F7FF;
  --surface-inverse-muted: rgba(240, 247, 255, 0.78);
  --surface-glass: rgba(255, 255, 255, 0.08);
  --surface-glass-border: rgba(191, 219, 254, 0.35);
  --overlay-card-bg: rgba(255, 255, 255, 0.97);
  --overlay-tag-bg: rgba(255, 255, 255, 0.96);
  --bg-glow-1: rgba(37, 99, 235, 0.06);
  --bg-glow-2: rgba(30, 77, 140, 0.05);
  --hero-glow: rgba(37, 99, 235, 0.1);
  --hero-panel-bg: rgba(22, 58, 110, 0.72);
  --hero-panel-border: rgba(255, 255, 255, 0.22);
  --hero-copy-panel-bg: rgba(30, 77, 140, 0.88);
  --hero-copy-panel-border: rgba(255, 255, 255, 0.18);
  --hero-scrim-start: rgba(22, 58, 110, 0.92);
  --hero-scrim-mid: rgba(22, 58, 110, 0.62);
  --hero-scrim-end: rgba(22, 58, 110, 0.14);
  --hero-scrim-bottom: rgba(22, 58, 110, 0.5);
  --hero-text: #FFFFFF;
  --hero-text-soft: rgba(255, 255, 255, 0.95);
  --hero-accent: #BFDBFE;
  --hero-accent-underline: rgba(147, 197, 253, 0.45);
  --hero-stat-bg: rgba(22, 58, 110, 0.92);
  --hero-stat-accent: #FFFFFF;
  --cta-glow: rgba(37, 99, 235, 0.12);
  --shadow-color: rgba(26, 43, 66, 0.1);
  --shadow-color-sm: rgba(26, 43, 66, 0.06);
  --btn-primary-from: #2563EB;
  --btn-primary-to: #1E4D8C;
  --btn-primary-text: #FFFFFF;
  --btn-primary-shadow: rgba(30, 77, 140, 0.28);
  --btn-primary-shadow-hover: rgba(30, 77, 140, 0.38);
  --theme-ring: rgba(37, 99, 235, 0.55);
  --theme-switcher-bg: rgba(255, 255, 255, 0.82);
  --theme-switcher-border: rgba(30, 77, 140, 0.15);
  --logo-filter: none;
  --sticky-shadow: rgba(26, 43, 66, 0.18);
  --footer-border: rgba(191, 219, 254, 0.25);
  --footer-link: rgba(240, 247, 255, 0.72);
  --footer-text-muted: rgba(240, 247, 255, 0.68);
  --footer-bottom-text: rgba(240, 247, 255, 0.55);
  --footer-cta-color: #FFFFFF;
  --footer-cta-hover: #BFDBFE;
  --slider-dot-bg: rgba(240, 247, 255, 0.35);
  --slider-btn-border: rgba(191, 219, 254, 0.5);
  --slider-btn-hover: rgba(255, 255, 255, 0.12);
  --inverse-highlight: #FFFFFF;
  --inverse-highlight-soft: rgba(240, 247, 255, 0.92);
  --inverse-highlight-hover: #BFDBFE;
  --link-on-light: #1A2B42;
  --btt-bg: radial-gradient(circle at 32% 28%, #5B9FEF 0%, #3B82F6 42%, #1E4D8C 100%);
  --btt-border: rgba(255, 255, 255, 0.48);
  --btt-color: #FFFFFF;
  --btt-shadow: 0 4px 18px rgba(30, 77, 140, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --btt-shadow-hover: 0 8px 28px rgba(30, 77, 140, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  --btt-focus-outline: rgba(255, 255, 255, 0.85);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html.theme-transition,
html.theme-transition body,
html.theme-transition .site-header,
html.theme-transition .mobile-nav,
html.theme-transition section,
html.theme-transition .service-card,
html.theme-transition .process-card,
html.theme-transition .blog-card,
html.theme-transition .contact-form,
html.theme-transition .site-footer,
html.theme-transition .back-to-top {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  html.theme-transition,
  html.theme-transition body,
  html.theme-transition .site-header,
  html.theme-transition .mobile-nav,
  html.theme-transition section,
  html.theme-transition .service-card,
  html.theme-transition .process-card,
  html.theme-transition .blog-card,
  html.theme-transition .contact-form,
  html.theme-transition .site-footer,
  html.theme-transition .back-to-top {
    transition: none;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, var(--bg-glow-1), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 100%, var(--bg-glow-2), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s, transform 0.2s; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6,
.brand,
.brand-text strong,
.logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h5, h6 {
  letter-spacing: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.container-narrow { max-width: 780px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background 0.25s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--btn-primary-from), var(--btn-primary-to));
  color: var(--btn-primary-text);
  box-shadow: 0 8px 24px var(--btn-primary-shadow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--btn-primary-shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--surface-inverse);
  color: var(--surface-inverse-text);
}

.btn-dark:hover {
  background: var(--surface-inverse-alt);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--card-bg-solid);
  color: var(--text);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(9px, 2.4vw, 11px);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.4vw, 2px);
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-head h2 em {
  font-style: normal;
  color: var(--gold);
}

.section-head p {
  color: var(--slate);
  font-size: 17px;
}

section { padding: 88px 0; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.float { animation: float 6s ease-in-out infinite; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  height: var(--header-h);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  gap: 12px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: var(--logo-filter);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 17px;
  color: var(--ink);
}

.brand-text span {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 24px;
  z-index: 199;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav .theme-switcher {
  align-self: center;
  margin-bottom: 8px;
}

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

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.mobile-nav a:hover { background: var(--gold-muted); }

.mobile-nav .btn {
  width: 100%;
  min-height: 44px;
}

.mobile-nav-phone {
  font-size: 15px;
}

/* Hero — full-bleed banner */
.hero-banner {
  position: relative;
  min-height: clamp(560px, 88vh, 840px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      var(--hero-scrim-start) 0%,
      var(--hero-scrim-mid) 48%,
      var(--hero-scrim-end) 72%,
      transparent 100%
    ),
    linear-gradient(to top, var(--hero-scrim-bottom) 0%, transparent 50%);
  pointer-events: none;
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}

.hero-banner-main {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-logo-panel {
  background: var(--hero-panel-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hero-panel-border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.hero-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: var(--logo-filter);
}

.hero-banner .hero-copy {
  min-width: 0;
}

.hero-copy-panel {
  background: var(--hero-copy-panel-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: 16px;
  max-width: 560px;
  border: 1px solid var(--hero-copy-panel-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.hero-banner .hero-eyebrow {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  text-shadow: none;
}

.hero-banner h1 {
  color: var(--hero-text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-banner h1 em {
  color: var(--hero-accent, var(--gold-light));
}

.hero-banner h1 em::after {
  background: var(--hero-accent-underline, rgba(212, 175, 55, 0.35));
}

.hero-banner .lead {
  color: var(--hero-text-soft);
  max-width: 540px;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.5),
    0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero-banner .trust-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--hero-text);
}

.hero-banner .hero-btn-outline {
  color: var(--hero-text);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-banner .hero-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.hero-banner .hero-stat-chip {
  position: static;
  align-self: end;
  margin-bottom: 4px;
  flex-shrink: 0;
  background: var(--hero-stat-bg, var(--surface-inverse));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.hero-banner .hero-stat-chip b {
  color: var(--hero-stat-accent, var(--gold-light));
}

.hero-banner .hero-stat-chip span {
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  background: var(--gold-soft);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}

.hero .lead {
  font-size: 18px;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--card-bg);
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.hero-stat-chip {
  background: var(--surface-inverse);
  color: var(--surface-inverse-text);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-width: 120px;
}

.hero-stat-chip b {
  font-size: 28px;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.hero-stat-chip span {
  font-size: 11px;
  opacity: 0.85;
  display: block;
  margin-top: 4px;
}

.hero-visual { position: relative; }

.floating-card {
  position: absolute;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.floating-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.floating-card b {
  font-size: 20px;
  display: block;
}

.floating-card small {
  font-size: 12px;
  color: var(--slate);
}

.floating-card.one { top: 20px; left: -20px; }
.floating-card.two { bottom: 30px; right: -20px; }

.gold-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.gold-blob.a {
  width: 280px;
  height: 280px;
  background: var(--gold-soft);
  opacity: 0.35;
  top: -40px;
  right: -60px;
}

.gold-blob.b {
  width: 240px;
  height: 240px;
  background: var(--cream-3);
  opacity: 0.6;
  bottom: -40px;
  left: -50px;
}

/* Marquee strip */
.strip {
  background: var(--surface-inverse);
  color: var(--surface-inverse-text);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 17px;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}

/* Services grid */
.services-section { background: var(--cream-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card .thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover .thumb img {
  transform: scale(1.06);
}

.service-card .thumb .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--overlay-tag-bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--accent);
}

.service-card .body { padding: 24px 26px 28px; }

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--slate);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.service-card .link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.service-card .link:hover { gap: 10px; }

.section-head-left {
  text-align: left;
  max-width: 560px;
  margin: 0 0 48px;
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  max-width: none;
  margin-bottom: 48px;
}

.section-head-split h2 { margin-bottom: 0; }

/* About — asymmetric */
.about-section {
  background: var(--card-bg);
}

.about-asymmetric {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about-photo-stack {
  position: relative;
}

.about-photo-main {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 6;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-photo-accent {
  position: absolute;
  right: -24px;
  bottom: -24px;
  display: grid;
  gap: 12px;
  max-width: 200px;
}

.about-content-col h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.about-lead {
  color: var(--slate);
  font-size: 17px;
  margin-bottom: 8px;
}

/* Process — asymmetric intro */
.process-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.process-intro h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.process-intro p {
  color: var(--slate);
  margin-bottom: 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* About (legacy) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-visual {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.about-visual .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.mini-stat {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
}

.mini-stat b {
  font-size: 32px;
  color: var(--gold);
  display: block;
}

.mini-stat span {
  font-size: 13px;
  color: var(--slate);
}

.check-list { margin-top: 24px; }

.check-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.check-list .ck {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-muted);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
}

.check-list b { font-size: 16px; display: block; }
.check-list span { color: var(--slate); font-size: 14.5px; }

/* Stats band */
.stats-band {
  background: linear-gradient(135deg, var(--surface-inverse), var(--surface-inverse-alt));
  color: var(--surface-inverse-text);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.stat-item .label {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 8px;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s;
  position: relative;
}

.process-card:hover { transform: translateY(-6px); }

.process-card .step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 12px;
}

.process-card .num-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 16px;
}

.process-card h4 {
  font-size: 19px;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 14px;
  color: var(--slate);
}

/* Insurance */
.insurance-section { background: var(--cream-2); }

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.insurance-pill {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.insurance-pill:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
  font-size: 18px;
  color: var(--gold);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

.faq-answer p {
  color: var(--slate);
  font-size: 15px;
}

/* Locations */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.location-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.location-card p {
  color: var(--slate);
  font-size: 14.5px;
  margin-bottom: 12px;
}

.location-card .areas {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

/* Testimonials slider */
.testimonials-slider-section {
  position: relative;
  background: var(--surface-inverse);
  color: var(--surface-inverse-text);
  overflow: hidden;
  padding-bottom: 80px;
}

.testimonial-slider-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
}

.testimonials-slider-section .section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.testimonials-slider-section .section-head h2,
.testimonials-slider-section .testimonials-heading {
  color: var(--surface-inverse-text);
  text-wrap: balance;
  line-height: 1.15;
}

.testimonials-slider-section .section-head h2 em,
.testimonials-slider-section .testimonials-heading em {
  color: var(--gold-light);
}

.testimonials-slider-section .section-sub {
  max-width: 540px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--surface-inverse-muted);
}

.testimonials-slider-section .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--surface-inverse-text);
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  outline: none;
}

.testimonial-slider:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 8px;
  border-radius: var(--radius);
}

.testimonial-viewport {
  overflow: hidden;
  margin: 0;
  padding: 20px 0 12px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.testimonial-slider.is-dragging .testimonial-viewport {
  cursor: grabbing;
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: var(--testimonial-gap, 24px);
  transition: transform 0.75s cubic-bezier(0.22, 0.9, 0.24, 1);
  will-change: transform;
}

.testimonial-slider.is-dragging .testimonial-track {
  transition: none;
}

.testimonial-slide {
  flex: 0 0 auto;
  width: var(--testimonial-slide-width, min(72vw, 560px));
  margin: 0;
  opacity: 0.28;
  transform: scale(0.9);
  filter: blur(1.5px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.9, 0.24, 1),
    transform 0.7s cubic-bezier(0.22, 0.9, 0.24, 1),
    filter 0.7s ease;
}

.testimonial-slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  z-index: 2;
}

.testimonial-slide.is-adjacent {
  opacity: 0.45;
  transform: scale(0.94);
  filter: blur(0.75px);
}

.testimonial-card-inner {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--surface-glass-border);
  border-radius: 24px;
  padding: 36px 32px;
  min-height: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.testimonial-slide.is-active .testimonial-card-inner {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.testimonial-slider.in .testimonial-slide.is-active .testimonial-card-inner {
  animation: testimonialCardIn 0.8s cubic-bezier(0.22, 0.9, 0.24, 1) both;
}

@keyframes testimonialCardIn {
  from {
    opacity: 0.55;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-light), var(--accent-gold));
  color: var(--surface-inverse);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.testimonial-content {
  flex: 1;
  min-width: 0;
}

.testimonial-slide .stars {
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1;
}

.testimonial-slide p {
  font-size: clamp(1.05rem, 2.1vw, 1.22rem);
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
  color: var(--surface-inverse-text);
}

.testimonial-slide cite {
  font-style: normal;
  font-size: 14px;
  color: var(--surface-inverse-muted);
}

.testimonial-slide cite strong {
  display: block;
  color: var(--surface-inverse-text);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-meta {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--slider-btn-border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-gold);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.slider-btn:hover {
  background: var(--slider-btn-hover);
  border-color: var(--accent-gold);
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

.slider-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 320px;
  padding: 4px 8px;
}

.slider-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.slider-dot::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slider-dot-bg);
  transition: width 0.3s, background 0.3s, border-radius 0.3s;
}

.slider-dot.active::before {
  width: 28px;
  border-radius: 999px;
  background: var(--gold-light);
}

.slider-dot:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .testimonial-viewport {
    -webkit-mask-image: none;
    mask-image: none;
    padding: 12px 0;
  }

  .testimonial-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    gap: 16px;
  }

  .testimonial-slide {
    width: var(--testimonial-slide-width, 100%);
  }

  .testimonial-slide:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.96);
    filter: none;
  }

  .testimonial-slide.is-active {
    opacity: 1;
    visibility: visible;
  }

  .slider-controls {
    gap: 14px;
    margin-top: 24px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track,
  .testimonial-slide,
  .testimonial-card-inner {
    transition: none;
    animation: none;
    filter: none;
  }
}

/* Testimonials grid (legacy) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-card .stars {
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  font-size: 15px;
  margin-bottom: 20px;
  font-style: normal;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 14px;
  color: var(--slate);
}

.testimonial-card cite strong {
  display: block;
  color: var(--ink);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--surface-inverse) 0%, var(--surface-inverse-alt) 100%);
  color: var(--surface-inverse-text);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--cta-glow), transparent 50%);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--surface-inverse-text);
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-band .cta-eyebrow,
.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface-inverse-text);
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--surface-inverse-text);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand p {
  color: var(--footer-text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-cta {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--footer-cta-color, var(--gold-light));
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-cta:hover {
  color: var(--footer-cta-hover, var(--surface-inverse-text));
  border-bottom-color: var(--footer-cta-color, var(--gold-light));
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col h5 {
  min-height: 1em;
}

.footer-contact-list .footer-line {
  color: var(--footer-link);
  font-size: 14px;
  line-height: 1.5;
}

.footer-brand .brand-text strong { color: var(--surface-inverse-text); }

.site-footer h5 {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 700;
}

.site-footer ul li { margin-bottom: 10px; }

.site-footer ul li:last-child { margin-bottom: 0; }

.site-footer ul a {
  color: var(--footer-link);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.site-footer ul a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--footer-bottom-text);
  font-size: 13px;
}

.footer-bottom a { color: var(--footer-bottom-text); }
.footer-bottom a:hover { color: var(--gold-light); }

/* Page hero (inner pages) */
.page-hero {
  padding: 48px 0 56px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--slate);
  font-size: 18px;
  max-width: 640px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* Blog preview + cards with thumbnails */
.blog-preview-section {
  background: var(--cream-2);
}

.blog-preview-compact {
  padding-top: 0;
}

.blog-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 0;
}

.blog-card .meta {
  padding: 20px 24px 0;
}

.blog-card h3 {
  padding: 8px 24px 12px;
}

.blog-card p {
  padding: 0 24px 20px;
}

.page-hero-photo {
  background-size: cover;
  background-position: center;
  color: var(--surface-inverse-text);
  border-bottom: none;
}

.page-hero-photo h1,
.page-hero-photo p {
  color: var(--surface-inverse-text);
}

.page-hero-photo .breadcrumb,
.page-hero-photo .breadcrumb-light {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero-photo .breadcrumb a,
.page-hero-photo .breadcrumb-light,
.page-hero-photo .breadcrumb-light a {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero-photo .breadcrumb a:hover,
.page-hero-photo .breadcrumb-light a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.breadcrumb-light,
.breadcrumb-light a {
  color: var(--surface-inverse-muted);
}

.breadcrumb-light a:hover {
  color: var(--gold-light);
}

.article-meta-hero {
  font-size: 15px;
  color: var(--surface-inverse-muted);
  margin-top: 12px;
}

/* Sticky CTA bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 190;
  background: var(--surface-inverse);
  color: var(--surface-inverse-text);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -8px 32px var(--sticky-shadow);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 12px 0;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-cta-text {
  font-weight: 600;
  font-size: 15px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.sticky-cta-phone {
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 600;
}

.sticky-cta-phone:hover {
  color: var(--surface-inverse-text);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--btt-border);
  background: var(--btt-bg);
  color: var(--btt-color);
  box-shadow: var(--btt-shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.is-visible:hover {
  transform: translateY(-3px) scale(1.07);
  filter: brightness(1.08);
  box-shadow: var(--btt-shadow-hover);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--btt-focus-outline);
  outline-offset: 3px;
}

body.has-sticky-cta .back-to-top {
  bottom: 92px;
}

/* Locations asymmetric */
.locations-asymmetric {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.locations-copy h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.locations-copy p {
  color: var(--slate);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-card .meta {
  padding: 20px 24px 0;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card h3 {
  padding: 8px 24px 12px;
  font-size: 20px;
}

.blog-card p {
  padding: 0 24px 20px;
  color: var(--slate);
  font-size: 14.5px;
}

.blog-card .read-more {
  display: block;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}

/* Article */
.article-content {
  padding: 56px 0 80px;
  font-family: var(--font-sans);
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 16px;
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 17px;
}

.article-content ul, .article-content ol {
  margin: 0 0 18px 24px;
  color: var(--ink-soft);
}

.article-content li { margin-bottom: 8px; }

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--gold-muted);
  border-radius: var(--radius);
  text-align: center;
}

.article-cta h3 { margin-bottom: 12px; }

.related-links {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related-links h4 { margin-bottom: 16px; }

.related-links ul { list-style: disc; margin-left: 20px; }
.related-links a { color: var(--gold); font-weight: 600; }

/* Contact page */
.contact-section {
  padding: 48px 0 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 40px;
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-sidebar-intro h3 {
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  margin-bottom: 10px;
}

.contact-sidebar-intro p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.contact-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-card-body strong {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.contact-card-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

a.contact-card:hover .contact-card-value {
  color: var(--gold);
}

.contact-card-body small {
  font-size: 13px;
  color: var(--slate);
  margin-top: 2px;
}

.contact-panel {
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-panel h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

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

.contact-trust-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}

.contact-trust-list li span:first-child {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.contact-hours-time {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.5;
}

.contact-hours-note {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
}

.contact-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-map {
  width: 100%;
  height: 160px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.contact-map-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@keyframes directions-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
  }
  50% {
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.6), 0 0 24px rgba(212, 175, 55, 0.35);
  }
}

@keyframes directions-glow-hover {
  0%, 100% {
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.75), 0 0 32px rgba(212, 175, 55, 0.45);
  }
}

@keyframes directions-glow-blue {
  0%, 100% {
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.5), 0 0 24px rgba(37, 99, 235, 0.3);
  }
}

@keyframes directions-glow-blue-hover {
  0%, 100% {
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.65), 0 0 32px rgba(37, 99, 235, 0.4);
  }
}

.btn-directions,
.contact-map-btn {
  animation: directions-glow 2s ease-in-out infinite;
}

.btn-directions:hover,
.contact-map-btn:hover {
  animation-name: directions-glow-hover;
}

[data-theme="blue"] .btn-directions,
[data-theme="blue"] .contact-map-btn {
  animation-name: directions-glow-blue;
}

[data-theme="blue"] .btn-directions:hover,
[data-theme="blue"] .contact-map-btn:hover {
  animation-name: directions-glow-blue-hover;
}

@media (prefers-reduced-motion: reduce) {
  .btn-directions,
  .contact-map-btn {
    animation: none;
  }
}

.contact-mini-faq details {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.contact-mini-faq details:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-mini-faq summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}

.contact-mini-faq summary::-webkit-details-marker {
  display: none;
}

.contact-mini-faq summary::after {
  content: '+';
  float: right;
  color: var(--gold);
  font-weight: 700;
}

.contact-mini-faq details[open] summary::after {
  content: '−';
}

.contact-mini-faq p {
  font-size: 13px;
  color: var(--slate);
  margin: 8px 0 0;
  line-height: 1.55;
}

.contact-related {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

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

.contact-form {
  background: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-form--personal {
  border-top: 3px solid var(--gold);
}

.contact-form-title {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  margin-bottom: 6px;
}

.contact-form-subtitle {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 24px;
  line-height: 1.5;
}

.contact-submit {
  width: 100%;
  margin-top: 4px;
}

.form-section {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form-section .form-group:last-child {
  margin-bottom: 18px;
}

.form-section--scheduling {
  margin-top: 8px;
  padding-top: 28px;
}

.form-section-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0 0 24px;
}

.form-section-heading {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  padding: 0;
  float: none;
  width: auto;
}

.form-section--message {
  margin-top: 4px;
}

.form-section--message .form-group:last-child {
  margin-bottom: 18px;
}

.contact-form .consultation-scheduling {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form .consultation-scheduling .form-group:last-child {
  margin-bottom: 0;
}

/* Legacy contact grid (fallback) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

/* US phone input (+1 live mask) */
.form-group input[type="tel"]#phone {
  letter-spacing: 0.01em;
}

.phone-hint {
  color: #b42318;
}

.phone-hint[hidden] {
  display: none;
}

.form-group textarea { min-height: 120px; resize: vertical; }

.consultation-scheduling,
.scheduling-panel,
.scheduling-fieldset {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.consultation-scheduling--sidebar {
  border-left: 3px solid var(--gold);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.consultation-scheduling legend,
.scheduling-fieldset legend {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding: 0 8px;
  margin-bottom: 4px;
  float: left;
  width: 100%;
}

.scheduling-intro {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 18px;
  clear: both;
}

.consultation-scheduling .form-group,
.scheduling-panel .form-group {
  margin-bottom: 16px;
  width: 100%;
}

.consultation-scheduling .form-group label,
.scheduling-panel .form-group label {
  margin-bottom: 6px;
}

.consultation-scheduling select,
.consultation-scheduling input.consultation-date,
.scheduling-panel select,
.scheduling-panel input.consultation-date {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
}

.field-hint {
  font-size: 13px;
  color: var(--slate);
  margin: 6px 0 0;
}

.date-validation-msg {
  font-size: 13px;
  color: #b42318;
  margin: 8px 0 0;
}

.date-validation-msg[hidden] {
  display: none;
}

.consultation-scheduling .form-group:last-child,
.scheduling-panel .form-group:last-child {
  margin-bottom: 0;
}

/* Consultation date picker (Flatpickr) */
.consultation-date-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.consultation-date-wrap .consultation-date {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-right: 44px;
  cursor: pointer;
}

.consultation-date-wrap .consultation-date[readonly] {
  background: var(--bg);
  color: var(--text);
}

.consultation-date-wrap .date-picker-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--slate);
  line-height: 0;
}

.flatpickr-calendar {
  font-family: var(--font-sans);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: var(--text);
  fill: var(--text);
}

.flatpickr-weekdays {
  background: var(--bg-alt);
}

span.flatpickr-weekday {
  color: var(--slate);
  font-weight: 600;
}

.flatpickr-day {
  color: var(--text);
  border-radius: 8px;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  background: var(--gold-muted);
  border-color: var(--gold-muted);
}

.flatpickr-day.today {
  border-color: var(--gold);
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
  background: var(--gold-muted);
  border-color: var(--gold);
  color: var(--text);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--btn-primary-text);
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: var(--text-muted);
  opacity: 0.45;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  cursor: not-allowed;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: var(--slate);
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--gold);
}

[data-theme="dark"] .flatpickr-calendar {
  background: var(--card-bg);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .flatpickr-day.selected,
[data-theme="dark"] .flatpickr-day.selected:hover,
[data-theme="dark"] .flatpickr-day.selected:focus {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
}

[data-theme="blue"] .flatpickr-day.selected,
[data-theme="blue"] .flatpickr-day.selected:hover,
[data-theme="blue"] .flatpickr-day.selected:focus {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #fff;
}

[data-theme="blue"] .flatpickr-day.today {
  border-color: var(--accent-teal);
}

[data-theme="blue"] .flatpickr-day:hover,
[data-theme="blue"] .flatpickr-day:focus {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.12);
}

[data-theme="blue"] .flatpickr-months .flatpickr-prev-month:hover svg,
[data-theme="blue"] .flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--accent-teal);
}

/* Content prose (service pages) */
.prose {
  max-width: 780px;
  font-family: var(--font-sans);
}
.prose p { margin-bottom: 18px; color: var(--ink-soft); font-size: 17px; }
.prose h2 { margin: 40px 0 16px; font-size: 1.75rem; }
.prose ul { margin: 0 0 18px 24px; list-style: disc; }
.prose li { margin-bottom: 8px; color: var(--ink-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.feature-box {
  padding: 24px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-box h4 { margin-bottom: 8px; font-size: 18px; }
.feature-box p { font-size: 14.5px; color: var(--slate); margin: 0; }

/* Theme switcher */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 100px;
  background: var(--theme-switcher-bg);
  border: 1px solid var(--theme-switcher-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.theme-switcher--mobile {
  display: none;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.theme-btn svg {
  display: block;
  width: 15px;
  height: 15px;
}

.theme-btn:hover {
  color: var(--text);
  background: var(--accent-muted);
}

.theme-btn.active {
  color: var(--accent);
  background: var(--card-bg);
  box-shadow: 0 0 0 2px var(--theme-ring), 0 2px 8px var(--shadow-color-sm);
}

[data-theme="light"] .theme-btn[data-theme="light"].active {
  color: var(--accent-gold);
}

[data-theme="dark"] .theme-btn[data-theme="dark"].active {
  color: var(--accent-gold);
  box-shadow: 0 0 0 2px var(--theme-ring), 0 0 12px rgba(212, 175, 55, 0.2);
}

[data-theme="blue"] .theme-btn[data-theme="blue"].active {
  color: var(--accent-gold);
  box-shadow: 0 0 0 2px var(--theme-ring), 0 0 14px rgba(37, 99, 235, 0.25);
}

/* Blue theme — readability on dark surfaces (no blue-on-blue) */
[data-theme="blue"] .sticky-cta-phone {
  color: var(--inverse-highlight);
}

[data-theme="blue"] .sticky-cta-phone:hover {
  color: var(--inverse-highlight);
  text-decoration: underline;
}

[data-theme="light"] .hero-banner .hero-eyebrow,
[data-theme="blue"] .hero-banner .hero-eyebrow {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
}

[data-theme="light"] .hero-banner h1,
[data-theme="light"] .hero-banner .lead,
[data-theme="blue"] .hero-banner h1,
[data-theme="blue"] .hero-banner .lead {
  color: #FFFFFF;
}

[data-theme="light"] .hero-banner .lead {
  color: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .hero-banner h1 em {
  color: #FFFFFF;
}

[data-theme="light"] .hero-banner h1 em::after {
  background: rgba(255, 255, 255, 0.38);
}

[data-theme="blue"] .hero-banner h1 em {
  color: #BFDBFE;
}

[data-theme="blue"] .hero-banner h1 em::after {
  background: rgba(147, 197, 253, 0.45);
}

[data-theme="blue"] .hero-banner .lead {
  color: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .hero-banner .trust-badge,
[data-theme="blue"] .hero-banner .trust-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

[data-theme="blue"] .hero-banner .hero-stat-chip b,
[data-theme="light"] .hero-banner .hero-stat-chip b {
  color: #FFFFFF;
}

[data-theme="blue"] .strip .marquee-dot {
  background: var(--inverse-highlight-soft);
}

[data-theme="blue"] .stats-band .stat-item .num {
  color: var(--inverse-highlight);
}

[data-theme="blue"] .testimonials-slider-section .eyebrow {
  color: var(--inverse-highlight-soft);
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="blue"] .testimonial-slide .stars {
  color: var(--inverse-highlight-soft);
}

[data-theme="blue"] .testimonial-avatar {
  background: linear-gradient(145deg, var(--inverse-highlight-soft), var(--inverse-highlight));
  color: var(--surface-inverse);
}

[data-theme="blue"] .testimonials-slider-section .slider-btn {
  color: var(--inverse-highlight-soft);
}

[data-theme="blue"] .testimonials-slider-section .slider-btn:hover {
  border-color: var(--inverse-highlight-soft);
}

[data-theme="blue"] .testimonials-slider-section .slider-dot.active::before {
  background: var(--inverse-highlight);
}

[data-theme="blue"] .cta-band .cta-eyebrow,
[data-theme="blue"] .cta-band .eyebrow {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="blue"] .cta-band .cta-inner h2,
[data-theme="blue"] .cta-band .cta-inner p {
  color: var(--surface-inverse-text);
}

[data-theme="blue"] .cta-band .btn-white {
  color: var(--accent);
  background: #FFFFFF;
}

[data-theme="blue"] .cta-band .btn-white:hover {
  background: var(--inverse-highlight-hover);
}

[data-theme="blue"] .site-footer h5 {
  color: var(--inverse-highlight-soft);
}

[data-theme="blue"] .site-footer ul a:hover {
  color: var(--inverse-highlight);
}

[data-theme="blue"] .footer-cta {
  color: var(--footer-cta-color);
}

[data-theme="blue"] .footer-cta:hover {
  color: var(--footer-cta-hover);
  border-bottom-color: var(--footer-cta-hover);
}

[data-theme="blue"] .footer-bottom a:hover {
  color: var(--inverse-highlight);
}

/* Blue theme — links and accents on light surfaces */
[data-theme="blue"] .service-card .link,
[data-theme="blue"] .blog-card .read-more,
[data-theme="blue"] .related-links a,
[data-theme="blue"] .location-card .areas {
  color: var(--link-on-light);
}

[data-theme="blue"] .page-hero-photo .breadcrumb,
[data-theme="blue"] .page-hero-photo .breadcrumb a,
[data-theme="blue"] .page-hero-photo .breadcrumb-light,
[data-theme="blue"] .page-hero-photo .breadcrumb-light a {
  color: rgba(240, 247, 255, 0.9);
}

[data-theme="blue"] .page-hero-photo .breadcrumb a:hover,
[data-theme="blue"] .page-hero-photo .breadcrumb-light a:hover {
  color: #FFFFFF;
}

[data-theme="blue"] .nav-links a:hover::after,
[data-theme="blue"] .nav-links a.active::after {
  background: var(--link-on-light);
}

[data-theme="blue"] .btn-outline:hover {
  border-color: var(--link-on-light);
  color: var(--link-on-light);
}

.nav-cta .theme-switcher {
  flex-shrink: 0;
}

.mobile-nav .theme-switcher--mobile {
  display: inline-flex;
}

/* Responsive — tablet (≤1024px) */
@media (max-width: 1024px) {
  .nav-links,
  .nav-cta { display: none; }

  .menu-toggle { display: flex; }

  .hero-banner {
    min-height: auto;
    padding: calc(var(--header-h) + 24px) 0 56px;
  }

  .hero-banner-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-banner-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo-panel {
    max-width: min(320px, 100%);
    margin: 0 auto;
  }

  .hero-copy-panel {
    max-width: none;
    width: 100%;
  }

  .hero-banner .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-banner .hero-cta,
  .hero-banner .hero-trust {
    justify-content: center;
  }

  .hero-banner .hero-stat-chip {
    justify-self: center;
    margin: 16px auto 0;
  }

  .about-asymmetric,
  .process-layout,
  .locations-asymmetric,
  .about-grid,
  .contact-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    position: static;
  }

  .process-intro { position: static; }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-photo-accent {
    right: 12px;
    bottom: 12px;
  }

  .section-head-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .testimonials-grid,
  .blog-grid,
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .floating-card.one { left: 0; }
  .floating-card.two { right: 0; }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  :root {
    --header-h: 68px;
  }

  section {
    padding: 56px 0;
  }

  .services-grid,
  .testimonials-grid,
  .blog-grid,
  .locations-grid,
  .process-grid,
  .process-steps,
  .insurance-grid,
  .stats-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-accent {
    position: static;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero-banner .hero-stat-chip {
    width: 100%;
    max-width: 280px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    min-height: 44px;
  }

  .sticky-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .sticky-cta-text {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.35;
  }

  .sticky-cta-phone {
    font-size: clamp(14px, 3.8vw, 16px);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sticky-cta .btn-sm {
    width: 100%;
    min-height: 44px;
    padding: 12px 20px;
  }

  body.has-sticky-cta {
    padding-bottom: clamp(96px, 24vw, 128px);
  }

  body.has-sticky-cta .back-to-top {
    bottom: clamp(100px, 25vw, 132px);
    right: 16px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 20px;
  }

  .theme-btn {
    width: 44px;
    height: 44px;
  }

  .faq-question {
    font-size: clamp(1rem, 4vw, 1.125rem);
    min-height: 44px;
    padding: 16px 0;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .article-content,
  .prose {
    overflow-wrap: anywhere;
  }
}

/* Small phones (≤414px) */
@media (max-width: 414px) {
  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding: 36px 0 44px;
  }

  .page-hero p {
    font-size: 16px;
  }
}

/* Extra-small (≤320px) */
@media (max-width: 320px) {
  .brand-text span {
    letter-spacing: 1.5px;
    font-size: 8px;
  }

  .sticky-cta-text {
    font-size: 13px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}
