/* ==========================================================================
   ABNER CREEK CHIROPRACTIC — Design System & Stylesheet
   Production-quality CSS for premium healthcare brand
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-navy:        #0B1F33;
  --color-navy-mid:    #1A3A5C;
  --color-blue:        #2C5F8A;
  --color-teal:        #2D7D9A;
  --color-gold:        #C09040;
  --color-gold-light:  #D4A84B;
  --color-gold-pale:   #F0E0B0;

  /* Neutrals */
  --color-cream:       #FAFAF7;
  --color-cream-alt:   #F3F0E8;
  --color-warm-gray:   #E8E3D8;
  --color-border:      #DDD8CC;

  /* Text */
  --color-text:        #0B1F33;
  --color-text-muted:  #556070;
  --color-text-light:  #8A95A0;

  /* UI */
  --color-white:       #FFFFFF;
  --color-overlay:     rgba(11, 31, 51, 0.72);
  --color-overlay-md:  rgba(11, 31, 51, 0.52);
  --color-overlay-lt:  rgba(11, 31, 51, 0.30);
  --color-success:     #2E7D32;

  /* Typography */
  --font-display:  'Cormorant Garamond', 'Georgia', serif;
  --font-body:     'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Font Scales */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-md:    1.125rem;
  --text-lg:    1.25rem;
  --text-xl:    1.5rem;
  --text-2xl:   1.875rem;
  --text-3xl:   2.25rem;
  --text-4xl:   3rem;
  --text-5xl:   3.75rem;
  --text-6xl:   4.5rem;

  /* Spacing */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(11, 31, 51, 0.08), 0 1px 2px rgba(11, 31, 51, 0.06);
  --shadow-md:  0 4px 16px rgba(11, 31, 51, 0.10), 0 2px 6px rgba(11, 31, 51, 0.08);
  --shadow-lg:  0 10px 32px rgba(11, 31, 51, 0.12), 0 4px 12px rgba(11, 31, 51, 0.08);
  --shadow-xl:  0 20px 60px rgba(11, 31, 51, 0.16);

  /* Layout */
  --max-width:       1320px;
  --max-width-tight: 960px;
  --max-width-text:  720px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-smooth: 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Header */
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. CSS Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl)); font-weight: 700; }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); font-weight: 600; }
h3 { font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl)); }
h4 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h5 { font-size: var(--text-xl); font-family: var(--font-body); font-weight: 600; }
h6 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; }

p {
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 68ch;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

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

/* --------------------------------------------------------------------------
   4. Layout & Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--tight {
  max-width: var(--max-width-tight);
}

.container--text {
  max-width: var(--max-width-text);
}

.section {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

.section--sm {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--lg {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

.section--cream {
  background-color: var(--color-cream);
}

.section--cream-alt {
  background-color: var(--color-cream-alt);
}

.section--navy {
  background-color: var(--color-navy);
}

.section--navy-mid {
  background-color: var(--color-navy-mid);
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-header--centered {
  text-align: center;
}

.section-header--centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-header .eyebrow {
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-5);
}

.section-header p {
  font-size: var(--text-md);
  color: var(--color-text-muted);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

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

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* --------------------------------------------------------------------------
   5. Navigation & Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-smooth), box-shadow var(--transition-slow);
}

.site-header.transparent {
  background-color: transparent;
}

.site-header.scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.site-header.dark-bg {
  background-color: var(--color-navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.site-logo img {
  height: 44px;
  width: auto;
  transition: filter var(--transition-base);
}

.site-header.transparent .site-logo img {
  filter: brightness(0) invert(1);
}

.site-header.dark-bg .site-logo img {
  filter: brightness(0) invert(1);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
  transition: color var(--transition-base), background-color var(--transition-base);
  white-space: nowrap;
}

.site-header.transparent .nav-link,
.site-header.dark-bg .nav-link {
  color: rgba(255, 255, 255, 0.90);
}

.nav-link:hover {
  color: var(--color-gold);
  background-color: rgba(192, 144, 64, 0.08);
}

.site-header.transparent .nav-link:hover,
.site-header.dark-bg .nav-link:hover {
  color: var(--color-gold-light);
  background-color: rgba(255, 255, 255, 0.10);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.site-header.transparent .nav-toggle span,
.site-header.dark-bg .nav-toggle span {
  background-color: var(--color-white);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: 999;
  padding: var(--space-8) var(--space-6);
  /* Account for iPhone home bar */
  padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav-link {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-navy);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

.mobile-nav-cta {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition-fast);
}

.btn:hover::before {
  background: rgba(255, 255, 255, 0.08);
}

/* Primary Button */
.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: 0 4px 14px rgba(192, 144, 64, 0.30);
}

.btn-primary:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: 0 6px 20px rgba(192, 144, 64, 0.40);
  transform: translateY(-1px);
  color: var(--color-white);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-navy-mid);
  border-color: var(--color-navy-mid);
  transform: translateY(-1px);
  color: var(--color-white);
}

/* Outline Button (on dark) */
.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.50);
}

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

/* Outline on light */
.btn-outline-navy {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline-navy:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Small */
.btn-sm {
  font-size: var(--text-xs);
  padding: var(--space-3) var(--space-6);
}

/* Large */
.btn-lg {
  font-size: var(--text-base);
  padding: var(--space-5) var(--space-10);
}

/* Phone link button */
.btn-phone {
  background-color: transparent;
  color: var(--color-navy);
  border-color: transparent;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  padding: var(--space-3) var(--space-4);
}

.btn-phone:hover {
  color: var(--color-gold);
}

.site-header.transparent .btn-phone,
.site-header.dark-bg .btn-phone {
  color: var(--color-white);
}

.site-header.transparent .btn-phone:hover,
.site-header.dark-bg .btn-phone:hover {
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   7. Hero — Video / Image
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height — adjusts for mobile browser chrome */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__video-wrap img.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Directional content overlay */
    linear-gradient(
      105deg,
      rgba(11, 31, 51, 0.85) 0%,
      rgba(11, 31, 51, 0.60) 55%,
      rgba(11, 31, 51, 0.30) 100%
    ),
    /* Bottom fade — blends hero into the section below */
    linear-gradient(
      to bottom,
      transparent 60%,
      rgba(11, 31, 51, 0.55) 100%
    );
  z-index: 1;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: heroScrollFade 2.8s ease-in-out 1.8s both;
}

.hero__scroll-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(192, 144, 64, 0.7), transparent);
  animation: heroScrollPulse 2s ease-in-out 1.8s infinite;
  transform-origin: top;
}

@keyframes heroScrollFade {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes heroScrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 0.7; }
  50%       { transform: scaleY(0.5); opacity: 0.3; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-24);
  width: 100%;
}

.hero__content .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.hero__text {
  max-width: 700px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gold-light);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--color-gold-light);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
  font-weight: 700;
  line-height: 1.1;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-md);
  margin-bottom: var(--space-10);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Page Hero (internal pages) */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--space-12);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 31, 51, 0.88) 0%,
    rgba(11, 31, 51, 0.50) 60%,
    rgba(11, 31, 51, 0.20) 100%
  );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero__content .eyebrow {
  margin-bottom: var(--space-3);
}

.page-hero__content h1 {
  color: var(--color-white);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
}

/* --------------------------------------------------------------------------
   8. Trust Band / Feature Strip
   -------------------------------------------------------------------------- */
.trust-band {
  background-color: var(--color-navy);
  padding: var(--space-6) 0;
  border-bottom: 3px solid var(--color-gold);
}

.trust-band__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.trust-band__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-band__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(192, 144, 64, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-band__icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-light);
}

.trust-band__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.trust-band__divider {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
/* Service Card */
.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.service-card__image {
  height: 240px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: var(--space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.service-card__body h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-navy);
}

.service-card__body p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  flex: 1;
}

/* Feature Card (icon + text) */
.feature-card {
  padding: var(--space-8);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-pale);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-cream-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-navy);
}

.feature-card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--text-sm);
  line-height: 1.75;
}

/* Condition Card */
.condition-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: default;
  transition: transform var(--transition-base);
}

.condition-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.condition-card__image {
  position: absolute;
  inset: 0;
}

.condition-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.condition-card:hover .condition-card__image img {
  transform: scale(1.06);
}

.condition-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,51,0.88) 0%, rgba(11,31,51,0.20) 70%);
}

.condition-card__body {
  position: relative;
  z-index: 2;
  padding: var(--space-6);
}

.condition-card__body h4 {
  color: var(--color-white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.condition-card__body p {
  color: rgba(255,255,255,0.80);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 100%;
}

/* Stat Card */
.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   10. Section Splits (image + text)
   -------------------------------------------------------------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.split-section--reverse {
  direction: rtl;
}

.split-section--reverse > * {
  direction: ltr;
}

.split-section__image {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.split-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.split-section:hover .split-section__image img {
  transform: scale(1.03);
}

.split-section__content {
  padding: var(--space-20) var(--space-16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-section__content .eyebrow {
  margin-bottom: var(--space-3);
}

.split-section__content h2 {
  margin-bottom: var(--space-5);
}

.split-section__content p {
  margin-bottom: var(--space-6);
}

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--color-cream-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  fill: currentColor;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-text);
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-navy);
  display: block;
}

.testimonial-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base);
  gap: var(--space-4);
}

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

.faq-trigger__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.faq-trigger__icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-navy);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-trigger__icon {
  background-color: var(--color-navy);
  transform: rotate(180deg);
}

.faq-item.open .faq-trigger__icon svg {
  color: var(--color-white);
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.open .faq-body {
  max-height: 500px;
}

.faq-body__inner {
  padding-bottom: var(--space-6);
}

.faq-body__inner p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   13. Contact & Forms
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold-light);
}

.contact-info__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy);
  display: block;
}

.contact-info__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: block;
}

/* Form */
.form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-cream);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.12);
  background-color: var(--color-white);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

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

.form-submit {
  width: 100%;
  margin-top: var(--space-3);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-align: center;
  margin-top: var(--space-3);
}

/* Map embed */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-cream-alt);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* --------------------------------------------------------------------------
   14. Team / About
   -------------------------------------------------------------------------- */
.team-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-card__photo {
  height: 320px;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-smooth);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__info {
  padding: var(--space-6) var(--space-8);
}

.team-card__name {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-1);
}

.team-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  display: block;
}

.team-card__bio {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* Values List */
.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.values-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.values-item__marker {
  width: 32px;
  height: 32px;
  background-color: var(--color-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.values-item__marker svg {
  width: 16px;
  height: 16px;
  color: var(--color-white);
}

.values-item__text h5 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
  color: var(--color-navy);
}

.values-item__text p {
  font-size: var(--text-sm);
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   15. Appointment CTA Section
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192,144,64,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}

.cta-banner__heading {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-banner__subtext {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-md);
  max-width: 52ch;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
  min-width: 200px;
}

/* --------------------------------------------------------------------------
   16. Hours / Office Info
   -------------------------------------------------------------------------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--color-navy);
  width: 55%;
}

.hours-table td:last-child {
  color: var(--color-text-muted);
  text-align: right;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   17. Facility / Gallery
   -------------------------------------------------------------------------- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-4);
}

.facility-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.facility-grid__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.facility-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform var(--transition-smooth);
}

.facility-grid__item:hover img {
  transform: scale(1.05);
}

.facility-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.facility-video-wrap video {
  width: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   18. Process Steps
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + var(--space-6));
  right: calc(12.5% + var(--space-6));
  height: 1px;
  background-color: var(--color-border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-navy);
  border: 4px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold-light);
}

.process-step h5 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}

.process-step p {
  font-size: var(--text-sm);
  max-width: 100%;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   19. Blog / Resources
   -------------------------------------------------------------------------- */
.blog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.blog-card__image {
  height: 200px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.blog-card__body {
  padding: var(--space-7);
}

.blog-card__category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
  display: block;
}

.blog-card__title {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 100%;
}

.blog-card__footer {
  padding: var(--space-5) var(--space-7);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  font-weight: 500;
}

.blog-card__read-more {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card__read-more:hover {
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   20. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: var(--space-4);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.70);
  transition: color var(--transition-base);
}

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

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

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.footer-top {
  padding: var(--space-20) 0;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-12);
}

.footer-brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 300px;
}

.footer-brand__contact {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-brand__contact a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold-light);
  transition: color var(--transition-base);
}

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

.footer-col h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: var(--space-5);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-base);
}

.footer-nav-links a:hover {
  color: var(--color-gold-light);
}

.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-hours-list li {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  display: flex;
  justify-content: space-between;
}

.footer-hours-list li span:first-child {
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

.footer-bottom__credit {
  width: 100%; /* full-width flex item forces credit onto its own row */
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.28);
  padding-top: var(--space-3);
}

.footer-bottom__credit a {
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

.footer-bottom__links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom__links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-base);
}

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

/* --------------------------------------------------------------------------
   22. Utility / Misc
   -------------------------------------------------------------------------- */
.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-text-muted); }

.bg-navy    { background-color: var(--color-navy); }
.bg-cream   { background-color: var(--color-cream); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.text-center { text-align: center; }
.text-left { text-align: left; }

.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.gap-3 { gap: var(--space-3); }

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  margin: var(--space-5) auto;
}

.divider--left {
  margin-left: 0;
}

/* Badge */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-gold {
  background-color: var(--color-gold-pale);
  color: var(--color-gold);
}

.badge-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Alert/Notice */
.notice {
  background-color: var(--color-gold-pale);
  border-left: 4px solid var(--color-gold);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--text-sm);
  color: var(--color-text);
}

/* Separator line */
.section-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* Icon inline */
.icon-inline {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: var(--space-2);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* --------------------------------------------------------------------------
   23. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 144, 64, 0.40); }
  50%       { box-shadow: 0 0 0 12px rgba(192, 144, 64, 0); }
}

/* Animate on scroll classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.10s; }
.animate-delay-2 { transition-delay: 0.20s; }
.animate-delay-3 { transition-delay: 0.30s; }
.animate-delay-4 { transition-delay: 0.40s; }
.animate-delay-5 { transition-delay: 0.50s; }

/* Hero content animation */
.hero-animate {
  animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-animate-1 { animation-delay: 0.2s; }
.hero-animate-2 { animation-delay: 0.4s; }
.hero-animate-3 { animation-delay: 0.6s; }
.hero-animate-4 { animation-delay: 0.80s; }

/* --------------------------------------------------------------------------
   24. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Large — 1200px */
@media (max-width: 1200px) {
  :root { --header-height: 72px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .split-section__content {
    padding: var(--space-14) var(--space-12);
  }
}

/* Medium — 1024px */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

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

  .cta-banner__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .cta-banner__actions {
    flex-direction: row;
    min-width: auto;
  }

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

  .process-steps::before {
    display: none;
  }

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

  .facility-grid__item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section--reverse {
    direction: ltr;
  }

  .split-section__image {
    min-height: 360px;
  }

  .split-section__content {
    padding: var(--space-12) var(--space-8);
  }
}

/* Tablet — 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand p {
    max-width: 100%;
  }

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

  .hero__content {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-16);
  }

  .hero h1 {
    font-size: clamp(var(--text-3xl), 9vw, var(--text-5xl));
  }

  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .section--lg {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }

  .trust-band__list {
    gap: var(--space-5);
  }

  .trust-band__divider {
    display: none;
  }

  .split-section__content {
    padding: var(--space-10) var(--space-6);
  }

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

  .form-group.full-width {
    grid-column: 1;
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner__actions .btn {
    width: 100%;
  }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .facility-grid__item--large {
    grid-column: span 1;
  }

  .page-hero {
    height: 280px;
    padding-bottom: var(--space-8);
  }

  .form-card {
    padding: var(--space-6);
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  .split-section__image {
    min-height: 260px;
  }

  .hero p.lead {
    font-size: var(--text-base);
    margin-bottom: var(--space-8);
  }

  .contact-info__item {
    margin-bottom: var(--space-6);
  }

  .stat-card__number {
    font-size: var(--text-4xl);
  }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .btn {
    padding: var(--space-4) var(--space-6);
  }

  .btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-sm);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .trust-band__list {
    gap: var(--space-3);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 var(--space-2);
  }

  .trust-band__item {
    width: 100%;
  }

  .service-card__image {
    height: 200px;
  }

  .condition-card {
    height: 240px;
  }

  .team-card__photo {
    height: 260px;
  }

  /* Allow button text to wrap on very narrow screens */
  .btn {
    white-space: normal;
    text-align: center;
  }

  /* Footer hours — wrap label and time on narrow screens */
  .footer-hours-list li {
    flex-wrap: wrap;
    gap: var(--space-1);
  }

  /* Allow paragraphs to use full width on small screens */
  p {
    max-width: 100%;
  }

  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .section--lg {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .feature-card {
    padding: var(--space-6);
  }

  .form-card {
    padding: var(--space-5) var(--space-4);
  }

  .page-hero {
    height: 220px;
    padding-bottom: var(--space-6);
  }

  .page-hero__content h1 {
    font-size: clamp(var(--text-2xl), 8vw, var(--text-4xl));
  }

  .process-step__number {
    width: 56px;
    height: 56px;
    font-size: var(--text-xl);
  }

  /* Hours table — stack day + hours on narrow screens */
  .hours-table {
    display: block;
  }

  .hours-table tbody {
    display: block;
  }

  .hours-table tr {
    display: block;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .hours-table tr:last-child {
    border-bottom: none;
  }

  .hours-table td {
    display: block;
    padding: 0;
    border: none;
    width: 100%;
    text-align: left;
  }

  .hours-table td:first-child {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-1);
  }

  .hours-table td:last-child {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }
}

/* --------------------------------------------------------------------------
   Directions Grid (contact page) — responsive 3-col layout
   -------------------------------------------------------------------------- */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (max-width: 768px) {
  .directions-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
  }
}

/* --------------------------------------------------------------------------
   Mobile Sticky CTA Bar
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 64px;
  /* Safe area for iPhone home bar */
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  background: var(--color-white);
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -4px 24px rgba(11, 31, 51, 0.14);
  transition: transform var(--transition-base);
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }

  /* Push page content above the fixed bar */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  /* Slide bar off-screen when mobile nav is open */
  body.mobile-nav-open .mobile-cta-bar {
    transform: translateY(110%);
  }
}

.mobile-cta-bar__call {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 64px;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--transition-fast);
}

.mobile-cta-bar__call:active {
  background-color: var(--color-navy-mid);
  color: var(--color-white);
}

.mobile-cta-bar__call svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-cta-bar__book {
  display: flex;
  flex: 1.5;
  align-items: center;
  justify-content: center;
  height: 64px;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--transition-fast);
}

.mobile-cta-bar__book:active {
  background-color: var(--color-gold-light);
  color: var(--color-white);
}

/* Print */
@media print {
  .site-header,
  .nav-toggle,
  .mobile-nav,
  .mobile-cta-bar,
  .hero__video-wrap video,
  .cta-banner,
  .site-footer {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
