/* Shared small-screen safeguards, after each page's existing design styles. */
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a { width: fit-content; min-height: 32px; }
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid #77b6d7;
  outline-offset: 4px;
}
.menu-toggle { cursor: pointer; }

@media (max-width: 1100px) {
  .site-header .nav-links {
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px - env(safe-area-inset-bottom));
    overflow-y: auto;
  }
}

@media (max-width: 620px) {
  .nav-links a { padding-block: 8px; }
  .footer-bottom { flex-wrap: wrap; }
  .btn, .cta-actions a, .forms-cta-actions a { white-space: normal; text-align: center; }
  .faq-grid > *, .service-detail > * { min-width: 0; }
  .service-detail h2, .service-detail h3 { overflow-wrap: anywhere; }
  .contact-form-panel { padding: 20px 16px; }
  .contact-information .contact-card { padding: 18px; gap: 12px; }
  .insurance--contact .insurance-phone { white-space: normal; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-layout > * { min-width: 0; }
  .legal-hero h1 { font-size: clamp(2.5rem, 11vw, 3.1rem); }
  .legal-content h2 { font-size: clamp(1.9rem, 8vw, 2.25rem); }
  .legal-content a { overflow-wrap: anywhere; }
  .legal-toc a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
