/* Site-wide quality, accessibility, and privacy fixes added during the 2026-09-08 audit. */
html { scroll-padding-top: 5rem; }

*:focus-visible {
  outline: 3px solid #ffbf47 !important;
  outline-offset: 3px !important;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 10000;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: #fff;
  color: #07101a;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

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

.nav-call.bar { min-width: 44px; min-height: 44px; }
.hamburger,
.drawer-close,
.nav-trigger,
.cat-trigger,
.subcat-trigger,
.faq-q { min-height: 44px; }

.footer-desc,
.footer-col a,
.footer-link,
.footer-brand-text span,
.footer-bottom { color: #aeb7c2 !important; }
.footer-brand p,
.footer-col-desc,
.footer-hs-link,
.footer-bottom a,
.footer-bottom span,
.reviews-header p { color: #b8c2ce !important; }
.footer-col h2,
.footer-col h3,
.footer-col h4 { color: #c5ccd5 !important; }
.footer-col > h2 {
  margin-bottom: 16px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.reviewer-location { color: #aeb7c2 !important; }
.reviews-section .tag-blue { color: #64c1ff !important; }
.work-section .tag-blue { color: #0066ad !important; }
.area-pill.ap-blue { color: #004f86 !important; }
.ch-blue p,
.ch-red p { color: #fff !important; }

/* WCAG AA contrast corrections for repeated templates. */
.btn-primary,
.lbl,
button[data-next="0"],
.privacy-banner button[data-choice="accept"] {
  border-color: #9b3d00 !important;
  background: #9b3d00 !important;
  color: #fff !important;
}
.cta-phone,
.sidebar-phone { color: #8f3600 !important; }
.price-note { color: #c1c8d0 !important; }
.price-card.pc-light-blue .price-note { color: #003d6b !important; opacity: 1 !important; }
.price-card.pc-light-red .price-note { color: #6b0000 !important; opacity: 1 !important; }
.feature-card p { color: #696969 !important; }
.footer-hs-link,
.footer-bottom > a { min-height: 24px; padding-block: 3px; align-items: center; }
.bottom-cta > p { color: #fff !important; }
.section-label,
.sec-label {
  display: inline-block;
  padding: .2em .45em;
  border-radius: .25rem;
  background: #fff !important;
  color: #004a7c !important;
}
.pricing-section table th,
.pricing-section table td:nth-child(2),
.price-table th,
.price-table td:nth-child(2) { color: #f5f7fa !important; }
table td small,
.two-col > div:first-child > p:nth-child(5),
.why-rating-card > span { color: #595959 !important; }
.article-table th,
.compare-table th { color: #f5f7fa !important; }
.cost-table th { color: #4b4b4b !important; }
.homestars-link-card { color: #0054a6 !important; }

.privacy-consent-field {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: .65rem;
  align-items: start;
  margin: 1rem 0;
  font-size: .8rem;
  line-height: 1.45;
}
.privacy-consent-field input {
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin-top: .15rem;
}
.privacy-consent-field a { color: inherit; text-decoration: underline; }

.privacy-banner {
  position: fixed;
  z-index: 9999;
  right: 1rem;
  bottom: 1rem;
  width: min(31rem, calc(100vw - 2rem));
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .85rem;
  background: #101b2b;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  font: 400 .9rem/1.5 Inter, system-ui, sans-serif;
}
.privacy-banner p { margin: 0 0 .85rem; color: #e9edf2; }
.privacy-banner a { color: #9dd7ff; text-decoration: underline; }
.privacy-banner__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.privacy-banner button {
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid #d8e0e8;
  border-radius: .55rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 700 .85rem/1 Inter, system-ui, sans-serif;
}
.privacy-banner button[data-choice="accept"] {
  border-color: #e8700a;
  background: #e8700a;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
