/* Locks homepage header/footer colors on all pages — load after legacy CSS. */
html body header.top-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  color: #0f172a !important;
}

html body header.top-nav .afy-landing-name {
  color: #0f766e !important;
}

html body header.top-nav .afy-landing-tagline,
html body header.top-nav .afy-tagline-row {
  color: #64748b !important;
}

html body header.top-nav .nav-links a,
html body header.top-nav .nav-dropdown__btn {
  color: #334155 !important;
}

html body header.top-nav .nav-links a:hover,
html body header.top-nav .nav-dropdown__btn:hover {
  color: #0f766e !important;
}

html body header.top-nav .nav-search-input {
  background: #fff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html body header.top-nav .nav-search-submit {
  background: #0f766e !important;
  color: #fff !important;
}

html body footer.footer {
  background: #020617 !important;
  color: #e5e7eb !important;
  border-top: none !important;
}

html body footer.footer .footer-col-title,
html body footer.footer .afy-landing-name {
  color: #f1f5f9 !important;
}

html body footer.footer .footer-brand p,
html body footer.footer .footer-col p,
html body footer.footer .footer-col a,
html body footer.footer .footer-contact-text {
  color: #9ca3af !important;
}

html body footer.footer .footer-col > a:hover,
html body footer.footer .footer-contact-list a:hover {
  color: #e5e7eb !important;
}

html body footer.footer .footer-bottom {
  border-top: 1px solid #111827 !important;
  color: #6b7280 !important;
}

html body .floating-quote-cta {
  background: #dc2626 !important;
  color: #fff !important;
}

html body .floating-whatsapp-cta {
  background: #25d366 !important;
  color: #fff !important;
}

/* All page headings black site-wide */
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .h1,
html body .h2,
html body .h3,
html body .h4,
html body .h5,
html body .h6,
html body .specialty-buttons-title,
html body .docx-h2,
html body .docx-h3,
html body .docx-h4,
html body .search-page-title,
html body .afy-story-title,
html body .afy-linkbox h4 {
  color: #111827 !important;
}

/* Keep light headings on dark sections */
html body .section-accent h1,
html body .section-accent h2,
html body .section-accent h3,
html body .section-accent h4,
html body .section-accent h5,
html body .section-accent h6,
html body footer.footer h1,
html body footer.footer h2,
html body footer.footer h3,
html body footer.footer h4,
html body footer.footer h5,
html body footer.footer h6,
html body footer.footer .footer-col-title {
  color: #f9fafb !important;
}
