/* ==========================================================================
   AMARA PAIN & SPINE - MOBILE-FIRST RESPONSIVE DESIGN SYSTEM
   Charlotte, North Carolina | Production Architecture
   WCAG 2.2 AA Compliant | Mobile-First (320px+) | Zero Horizontal Overflow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Color Tokens */
  --color-primary: #0a2540;          /* Deep Trust Navy */
  --color-primary-light: #16365c;
  --color-brand-emerald: #065f46;    /* Health & Healing Forest Green */
  --color-brand-emerald-hover: #047857;
  --color-brand-green-light: #ecfdf5;
  --color-brand-green-border: #a7f3d0;
  --color-brand-amber: #b45309;      /* Warm Attention & Clarity Amber */
  --color-brand-amber-light: #fffbeb;
  --color-brand-accent-red: #b91c1c; /* Urgent notices / error only */

  /* Neutral Surface Tokens */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #071727;
  --bg-dark-card: #0f2338;

  /* Typography Colors - 7:1+ contrast on body */
  --text-main: #0f172a;             /* Dark Slate */
  --text-body: #334155;             /* High contrast body */
  --text-muted: #64748b;            /* Subdued secondary text */
  --text-inverse: #ffffff;
  --text-inverse-muted: #cbd5e1;

  /* Borders & Dividers */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-brand: #059669;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.09), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  /* Typography System */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Responsive Typography - High legibility for 45-74 age group */
  --font-size-xs: 0.8125rem;   /* 13px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1.0625rem; /* 17px on small mobile */
  --font-size-lg: 1.1875rem;   /* 19px */
  --font-size-h3: clamp(1.2rem, 2.5vw + 0.5rem, 1.45rem);
  --font-size-h2: clamp(1.45rem, 3.5vw + 0.5rem, 2.15rem);
  --font-size-h1: clamp(1.75rem, 4.5vw + 0.5rem, 2.75rem);

  /* Spacing Scale */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4.5rem;   /* 72px */

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Containers */
  --container-max: 1200px;
  --container-narrow: 820px;
}

/* ==========================================================================
   1. RESET, BASE & OVERFLOW DEFENSE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%; /* Defense against horizontal blowout */
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-page);
  overflow-x: hidden;
  position: relative;
  width: 100%;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* Safe mobile sticky CTA clearance */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
    font-size: 1.125rem; /* 18px on desktop */
  }
}

body.body-scroll-locked {
  overflow: hidden;
  touch-action: none;
}

/* Accessibility Skip Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-brand-emerald);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 1rem;
  outline: 3px solid #ffffff;
  box-shadow: var(--shadow-lg);
}

:focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 3px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--font-size-h3);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.15rem;
  word-break: break-word;
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-brand-emerald);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-brand-emerald-hover);
}

/* Consistent Responsive Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;  /* 16px on small mobile */
  padding-right: 1rem; /* 16px on small mobile */
}

@media (min-width: 480px) {
  .container {
    padding-left: 1.25rem; /* 20px */
    padding-right: 1.25rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ==========================================================================
   2. REDESIGNED MOBILE HEADER & ACCESSIBLE DRAWER
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 0.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: 145px;
  height: 38px;
  object-fit: contain;
}

@media (min-width: 480px) {
  .brand-symbol {
    width: 165px;
    height: 42px;
  }
}

@media (min-width: 768px) {
  .brand-symbol {
    width: 180px;
    height: 44px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile Quick Call Icon Button */
.header-mobile-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  background-color: var(--color-brand-green-light);
  color: var(--color-brand-emerald);
  border: 1px solid var(--color-brand-green-border);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.header-mobile-call-btn:hover {
  background-color: #d1fae5;
  color: var(--color-brand-emerald-hover);
}

@media (min-width: 840px) {
  .header-mobile-call-btn {
    display: none;
  }
}

/* Desktop Phone Display Box */
.header-phone-box {
  display: none;
  flex-direction: column;
  text-align: right;
  margin-right: 0.75rem;
}

@media (min-width: 840px) {
  .header-phone-box {
    display: flex;
  }
}

.header-phone-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.header-phone-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-phone-link:hover {
  color: var(--color-brand-emerald);
}

.header-desktop-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-desktop-cta {
    display: inline-flex;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Hamburger Menu Toggle Button */
.header-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 8px;
  color: var(--color-primary);
  box-sizing: border-box;
}

.header-menu-toggle:hover {
  background-color: var(--bg-subtle);
  border-color: var(--color-primary);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

@media (min-width: 992px) {
  .header-menu-toggle {
    display: none;
  }
}

/* Slide-over Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  visibility: hidden;
  transition: visibility var(--transition-normal);
}

.mobile-nav-drawer.is-active {
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 23, 39, 0.65);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav-drawer.is-active .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background-color: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}

.mobile-nav-drawer.is-active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.mobile-nav-close:hover {
  color: var(--text-main);
  background-color: var(--bg-subtle);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex: 1;
}

.mobile-nav-link {
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link:focus {
  background-color: var(--bg-subtle);
  color: var(--color-brand-emerald);
  border-left-color: var(--color-brand-emerald);
}

.mobile-nav-link.highlight {
  color: var(--color-brand-emerald);
  font-weight: 700;
}

.mobile-nav-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

/* ==========================================================================
   3. MOBILE-FIRST BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  min-height: 48px; /* Touch target minimum */
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.25;
  width: 100%; /* Full width on mobile */
}

@media (min-width: 560px) {
  .btn {
    width: auto;
    font-size: 1.05rem;
    padding: 0.85rem 1.65rem;
  }
}

.btn-primary {
  background-color: var(--color-brand-emerald);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.22);
}

.btn-primary:hover {
  background-color: var(--color-brand-emerald-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-phone {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-phone:hover {
  border-color: var(--color-primary);
  background-color: var(--bg-subtle);
  color: var(--color-primary);
}

.btn-block {
  width: 100% !important;
}

.btn-lg {
  min-height: 52px;
  font-size: 1.1rem;
  padding: 0.95rem 1.5rem;
}

/* ==========================================================================
   4. HERO SECTION - MOBILE PRIORITIZED
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 1.75rem 0 2.25rem;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 2.75rem 0 3.5rem;
  }
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3rem;
    align-items: start;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-emerald);
  margin-bottom: 0.65rem;
}

.eyebrow-badge {
  background-color: var(--color-brand-green-light);
  border: 1px solid var(--color-brand-green-border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.hero-title {
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.1875rem;
  }
}

.hero-key-points {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-key-point {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-key-point {
    font-size: 1.05rem;
  }
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-brand-emerald);
  margin-top: 0.15rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--text-body);
}

/* ==========================================================================
   5. CONSULTATION FORM - MOBILE-FIRST SINGLE COLUMN
   ========================================================================== */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
}

@media (min-width: 480px) {
  .form-card {
    padding: 1.75rem;
  }
}

.form-header {
  margin-bottom: 1rem;
}

.form-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-emerald);
  margin-bottom: 0.2rem;
  display: block;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Responsive Form Grid - 1 Col on Mobile, 2 Col on Tablet+ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr; /* ALWAYS 1 column on mobile */
  gap: 0.85rem;
  width: 100%;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.label-required {
  color: var(--color-brand-accent-red);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom! */
  min-height: 48px; /* Large touch area */
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-main);
  background-color: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-brand-emerald);
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.form-input.is-invalid, .form-select.is-invalid {
  border-color: var(--color-brand-accent-red);
  background-color: #fef2f2;
}

.field-error {
  font-size: 0.8125rem;
  color: var(--color-brand-accent-red);
  font-weight: 600;
  display: none;
}

.field-error.active {
  display: block;
}

.form-radio-group {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  min-height: 44px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--text-body);
  cursor: pointer;
  min-height: 40px;
}

.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-brand-emerald);
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.privacy-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-brand-emerald);
  margin-top: 0.1rem;
}

/* Form Success & Error States */
.form-state-container {
  display: none;
  padding: 1.25rem 0.75rem;
  text-align: center;
}

.form-state-container.is-active {
  display: block;
}

.state-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
}

.state-icon.success {
  color: var(--color-brand-emerald);
}

.state-icon.error {
  color: var(--color-brand-accent-red);
}

.state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.state-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.state-timeline {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-num {
  background: var(--color-brand-emerald);
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   6. TRUST & INSURER LOGOS BAR
   ========================================================================== */
.trust-bar-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  width: 100%;
}

.trust-bar-layout {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 860px) {
  .trust-bar-layout {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.trust-bar-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.insurer-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.insurer-logo-item {
  height: 28px;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.85;
}

@media (min-width: 640px) {
  .insurer-logo-item {
    height: 32px;
    max-width: 130px;
  }
}

/* ==========================================================================
   7. SECTIONS & CARDS - RESPONSIVE GRIDS
   ========================================================================== */
.section {
  padding: 2.25rem 0; /* Moderate mobile spacing - no excessive whitespace */
  width: 100%;
}

@media (min-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-alt {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.75rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-emerald);
  margin-bottom: 0.35rem;
  display: block;
}

/* Cards Grid - 1 Col on Mobile, 2 on Tablet, 3 on Desktop */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 col on mobile - NO cramped 2-col on phones! */
  gap: 1rem;
  width: 100%;
}

@media (min-width: 600px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 480px) {
  .card {
    padding: 1.5rem;
  }
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-brand-green-light);
  color: var(--color-brand-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--color-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.card-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

/* Facility Fee Card */
.facility-fee-card {
  background: linear-gradient(135deg, #071e27 0%, #0c3644 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.15rem;
  box-shadow: var(--shadow-lg);
  margin: 1.75rem 0;
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: 100%;
}

@media (min-width: 640px) {
  .facility-fee-card {
    padding: 2rem 1.75rem;
  }
}

.facility-fee-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 860px) {
  .facility-fee-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: center;
  }
}

.facility-fee-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid #10b981;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.facility-fee-comparison {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.compare-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  gap: 0.5rem;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-val-amara {
  color: #34d399;
  font-weight: 700;
  text-align: right;
}

.compare-val-hospital {
  color: #f87171;
  text-decoration: line-through;
  text-align: right;
}

/* Pathway Steps */
.pathway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .pathway-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.pathway-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

@media (min-width: 480px) {
  .pathway-card {
    padding: 1.5rem;
  }
}

.pathway-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #a7f3d0;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   8. PROVIDER SPOTLIGHT - BALANCED MOBILE STACK
   ========================================================================== */
.provider-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column; /* Stack on mobile */
  width: 100%;
}

@media (min-width: 860px) {
  .provider-box {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.provider-image-wrap {
  width: 100%;
  height: 250px; /* Constrained height on mobile so photo does not dominate */
  position: relative;
  background: var(--color-primary);
  overflow: hidden;
}

@media (min-width: 480px) {
  .provider-image-wrap {
    height: 290px;
  }
}

@media (min-width: 860px) {
  .provider-image-wrap {
    height: 100%;
    min-height: 340px;
  }
}

.provider-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.provider-details {
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 480px) {
  .provider-details {
    padding: 2rem 1.75rem;
  }
}

.provider-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-emerald);
  margin-bottom: 0.25rem;
}

.provider-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.provider-creds {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brand-amber);
  margin-bottom: 1rem;
}

.provider-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.provider-tag {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   9. INTERACTIVE ACCESSIBLE FAQ ACCORDIONS
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
}

.faq-item.is-open {
  border-color: var(--color-brand-emerald);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  min-height: 48px; /* Touch target */
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  gap: 0.85rem;
}

.faq-button:hover {
  color: var(--color-brand-emerald);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--color-brand-emerald);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.15rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
  display: none;
}

.faq-item.is-open .faq-content {
  display: block;
}

/* ==========================================================================
   10. LOCATION, DIRECTIONS & FINAL CTA
   ========================================================================== */
.location-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .location-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2rem;
  }
}

.location-title {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.location-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1rem 0;
}

.location-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.location-icon {
  width: 20px;
  height: 20px;
  color: var(--color-brand-emerald);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Final Conversion CTA Banner */
.final-cta {
  background: linear-gradient(135deg, #0a2540 0%, #064e3b 100%);
  color: #ffffff;
  padding: 2.75rem 0;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 3.75rem 0;
  }
}

.final-cta h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: #e2e8f0;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (min-width: 560px) {
  .final-cta-actions {
    flex-direction: row;
  }
}

.btn-cta-gold {
  background-color: #d97706;
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-cta-gold:hover {
  background-color: #b45309;
  color: #ffffff;
}

/* ==========================================================================
   11. FOOTER - CLEAN RESPONSIVE STACK
   ========================================================================== */
.site-footer {
  background: #071727;
  color: #94a3b8;
  padding: 2.5rem 0 1.75rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  display: inline-block;
}

.footer-links a:hover {
  color: #34d399;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.825rem;
  line-height: 1.5;
  color: #94a3b8;
}

/* ==========================================================================
   12. MOBILE STICKY BOTTOM CTA BAR
   ========================================================================== */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-medium);
  padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 0.5rem;
  transition: transform var(--transition-normal);
  width: 100%;
}

@media (min-width: 992px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

.sticky-btn-call {
  flex: 1;
  background: #ffffff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  min-height: 48px;
  padding: 0.5rem 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.sticky-btn-request {
  flex: 1.35;
  background: var(--color-brand-emerald);
  color: #ffffff;
  border: 1.5px solid var(--color-brand-emerald);
  min-height: 48px;
  padding: 0.5rem 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.sticky-btn-call:hover {
  background-color: var(--bg-subtle);
}

.sticky-btn-request:hover {
  background-color: var(--color-brand-emerald-hover);
}

/* Automatically hide sticky CTA when the form is in view to avoid obstruction */
.mobile-sticky-cta.is-hidden {
  transform: translateY(115%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
