[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #a62214 !important;
  outline-offset: 4px;
}
.mobile-panel:not(.is-open) { visibility: hidden; }
.kicker { color: #23665e; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus {
  outline: 3px solid #163a63;
  outline-offset: 2px;
  border-color: #163a63;
}
.check-pill:has(input:focus-visible) span, .service-type-card:has(input:focus-visible) {
  outline: 3px solid #a62214;
  outline-offset: 3px;
}
.quote-form input, .quote-form textarea, .quote-form select { border-color: #738092; }
.btn, .consent-actions button { white-space: normal; overflow-wrap: anywhere; }
.footer-contact a { overflow-wrap: anywhere; min-width: 0; }
.footer-contact li { min-width: 0; }
.footer-bottom-links { align-items: center; }
.footer-bottom-links a, .footer-bottom-links button { min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom-links button, .legal-links button {
  background: transparent; color: inherit; border: 0; padding: 0;
  text-decoration: underline; font: inherit; cursor: pointer;
}
.legal-notice { margin-block: 12px; font-size: .9rem; line-height: 1.6; color: #3a4250; }
.legal-notice a, .legal-content a, .consent-banner a, .consent-dialog a { text-decoration: underline; text-underline-offset: 3px; }
.consent-banner, .consent-dialog, .legal-links {
  font-family: "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6;
  letter-spacing: 0; color: #14181f; background: #fff;
}
/* Floating card: anchored bottom, inset from the edges so the hero stays
   visible. Accept and Reject share identical styling (equal prominence). */
.consent-banner {
  position: fixed; z-index: 2000;
  inset: auto 12px calc(12px + env(safe-area-inset-bottom));
  max-width: 440px; margin-inline: auto;
  padding: 14px 16px 16px;
  border: 1px solid #d1e8e8; border-radius: 16px;
  max-height: 60dvh; overflow-y: auto;
  box-shadow: 0 12px 40px rgba(10, 31, 56, 0.22), 0 2px 6px rgba(10, 31, 56, 0.08);
}
body:has(.consent-banner:not([hidden])) .mobile-cta-bar { display: none; }
body:has(.consent-banner:not([hidden])) { padding-bottom: calc(var(--consent-banner-height, 200px) + 24px); }
.consent-banner h2, .consent-dialog h2 { font-size: 1.25rem; margin: 0 0 8px; line-height: 1.3; color: #0a1f38; }
.consent-banner h2 { font-size: 1rem; margin-bottom: 4px; }
.consent-banner p, .consent-dialog p { margin: 0 0 12px; }
.consent-banner p { font-size: .84rem; line-height: 1.5; margin-bottom: 12px; color: #3a4250; }
.consent-status:empty { display: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions button {
  flex: 1 1 170px; min-height: 48px; border: 2px solid #163a63; border-radius: 999px;
  padding: 10px 16px; background: #fff; color: #163a63; font: inherit;
  font-weight: 600; cursor: pointer; line-height: 1.4;
  transition: background-color .15s ease, transform .15s ease;
}
.consent-actions button:active { transform: scale(0.98); }
.consent-banner .consent-actions { gap: 8px; }
.consent-banner .consent-actions button { flex: 1 1 calc(50% - 4px); min-height: 44px; padding: 8px 6px; font-size: .84rem; }
.consent-banner .consent-actions button[data-consent="manage"] {
  flex-basis: 100%; min-height: 44px; border-color: transparent; background: transparent;
  text-decoration: underline; text-underline-offset: 3px;
}
.consent-banner .consent-actions button[data-consent="manage"]:hover { background: #f7f8fa; }
.consent-actions button:hover { background: #e6f5f3; }
@media (min-width: 900px) {
  .consent-banner { inset: auto auto 24px 24px; margin-inline: 0; width: 420px; }
}
.consent-dialog {
  width: min(600px, calc(100% - 32px)); max-height: 85dvh; overflow-y: auto;
  border: 2px solid #163a63; border-radius: 8px; padding: 24px;
}
.consent-dialog::backdrop { background: #0008; }
.consent-dialog label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; }
.consent-dialog input { width: 22px; height: 22px; accent-color: #163a63; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; padding: 24px; border-top: 1px solid #738092; }
.legal-links a, .legal-links button { min-height: 44px; display: inline-flex; align-items: center; }
.legal-content { max-width: 850px; padding-block: 40px; overflow-wrap: anywhere; }
.legal-content h1 { font-size: 2rem; }
.legal-content h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.legal-content h3 { font-size: 1.12rem; margin: 22px 0 10px; }
.legal-content p, .legal-content ul, .legal-content ol { margin-block: 12px; }
.legal-content li { margin-block: 6px; }
.legal-content section { border-top: 1px solid #cfd6de; margin-top: 32px; scroll-margin-top: 24px; }
.legal-draft { padding: 16px; border-left: 4px solid #a62214; background: #fff4f2; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-block: 24px; }
.legal-nav a { min-height: 44px; display: inline-flex; align-items: center; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight !important; }
}