/* HAIV360 unified high-contrast theme */
:root{--hv-light-heading:#f4f9ff;--hv-light-blue:#a8dcff;--hv-light-copy:#d1e3f1}
body :is(main,section,.hero,.page-hero,.dev-hero,.pricing-hero,.card,.step,.panel,.price-card) :is(h1,h2,h3,h4,h5,h6,.price-name,.card-title,.section-title){color:#f4f9ff!important;-webkit-text-fill-color:#f4f9ff!important}
body :is(main,section,.hero,.page-hero,.dev-hero,.pricing-hero,.card,.step,.panel,.price-card) :is(p,li,.lead,.description,.subtitle,.price-desc,.muted){color:#d1e3f1!important;-webkit-text-fill-color:#d1e3f1!important}
body :is(main,section,.hero,.page-hero,.dev-hero,.pricing-hero) :is(.grad,.gradient-text,.accent-heading){color:#a8dcff!important;-webkit-text-fill-color:#a8dcff!important;background:none!important}
body :is(.light,.light-section,.section-light,.bg-white,.white-section,.card-light,.light-card,[data-theme="light"]) :is(h1,h2,h3,h4,h5,h6,.card-title,.price-name){color:#173958!important;-webkit-text-fill-color:#173958!important}
body :is(.light,.light-section,.section-light,.bg-white,.white-section,.card-light,.light-card,[data-theme="light"]) :is(p,li,.lead,.description,.subtitle){color:#38526b!important;-webkit-text-fill-color:#38526b!important}
/* Preserve button and navigation contrast */
#hv-global :is(a,button,span){-webkit-text-fill-color:currentColor}
body :is(.btn,button,[role="button"]){-webkit-text-fill-color:currentColor}
/* Identical footer design on every page */
body footer.hv-unified-footer{display:block!important;position:relative!important;float:none!important;clear:both!important;width:100%!important;max-width:none!important;margin:0!important;padding:52px 24px 24px!important;background:#0b2035!important;color:#d1e3f1!important;text-align:left!important;border-top:1px solid #29455e!important}
body footer.hv-unified-footer .hv-unified-footer__inner{max-width:1160px!important;margin:0 auto!important}
body footer.hv-unified-footer .hv-unified-footer__top{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(300px,1.3fr)!important;gap:48px!important;align-items:start!important}
body footer.hv-unified-footer .hv-unified-footer__identity{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important}
body footer.hv-unified-footer a.hv-footer-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:240px!important;height:74px!important;min-height:0!important;margin:0!important;padding:0!important;transform:none!important}
body footer.hv-unified-footer a.hv-footer-brand img{display:block!important;width:240px!important;height:74px!important;max-width:100%!important;min-width:0!important;object-fit:contain!important;object-position:left center!important;margin:0!important;padding:0!important}
body footer.hv-unified-footer .hv-unified-footer__tagline{color:#d1e3f1!important;-webkit-text-fill-color:#d1e3f1!important;margin:0!important;line-height:1.7!important}
body footer.hv-unified-footer .hv-unified-footer__links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px 20px!important;margin:8px 0 0!important;padding:0!important}
body footer.hv-unified-footer .hv-unified-footer__links a{color:#d7e6f3!important;-webkit-text-fill-color:#d7e6f3!important;text-decoration:none!important;line-height:1.5!important}
body footer.hv-unified-footer .hv-unified-footer__links a:hover{color:#a8dcff!important;-webkit-text-fill-color:#a8dcff!important}
body footer.hv-unified-footer .hv-unified-footer__bottom{display:flex!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;border-top:1px solid #29455e!important;margin-top:34px!important;padding-top:18px!important;color:#a8bfd1!important}
body footer.hv-unified-footer .hv-unified-footer__bottom span{color:#a8bfd1!important;-webkit-text-fill-color:#a8bfd1!important}
@media(max-width:760px){body footer.hv-unified-footer{padding:36px 20px 22px!important}body footer.hv-unified-footer .hv-unified-footer__top{grid-template-columns:1fr!important;gap:28px!important}body footer.hv-unified-footer .hv-unified-footer__links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 16px!important;margin:0!important}body footer.hv-unified-footer a.hv-footer-brand,body footer.hv-unified-footer a.hv-footer-brand img{width:190px!important;height:60px!important}body footer.hv-unified-footer .hv-unified-footer__bottom{flex-direction:column!important;gap:5px!important}}

/* FINAL SITEWIDE CONTRAST OVERRIDES: applied last, after page styles */
:root {--hv-heading-dark:#f4f9ff;--hv-accent-dark:#a8dcff;--hv-copy-dark:#d1e3f1;}
body :is(main,section,.hero,.page-hero,.pricing-hero,.dev-hero,.steps,.cards,.card,.step,.panel,.price-card,.feature,.feature-card,.pricing-card,.faq-card) :is(h1,h2,h3,h4,h5,h6) {
 color:#f4f9ff!important;-webkit-text-fill-color:#f4f9ff!important;
}
body :is(main,section,.hero,.page-hero,.pricing-hero,.dev-hero,.steps,.cards,.card,.step,.panel,.price-card,.feature,.feature-card,.pricing-card,.faq-card) :is(p,li,.lead,.subtitle,.muted,.description,.small,.step-desc,.price-desc) {
 color:#d1e3f1!important;-webkit-text-fill-color:#d1e3f1!important;
}
body :is(main,section,.hero,.page-hero,.pricing-hero,.dev-hero) :is(.grad,.gradient-text,.accent-heading) {
 color:#a8dcff!important;-webkit-text-fill-color:#a8dcff!important;background-image:none!important;
}
/* Preserve dark typography on explicitly light surfaces, with stronger selector priority. */
body :is(main,section,.hero,.page-hero,.pricing-hero,.dev-hero) :is(.light,.light-section,.section-light,.bg-white,.white-section,.card-light,.light-card,[data-theme="light"]) :is(h1,h2,h3,h4,h5,h6),
body :is(main,section,.hero,.page-hero,.pricing-hero,.dev-hero).light :is(h1,h2,h3,h4,h5,h6) {
 color:#173958!important;-webkit-text-fill-color:#173958!important;
}
body :is(main,section,.hero,.page-hero,.pricing-hero,.dev-hero) :is(.light,.light-section,.section-light,.bg-white,.white-section,.card-light,.light-card,[data-theme="light"]) :is(p,li,.lead,.subtitle,.muted,.description),
body :is(main,section,.hero,.page-hero,.pricing-hero,.dev-hero).light :is(p,li,.lead,.subtitle,.muted,.description) {
 color:#38526b!important;-webkit-text-fill-color:#38526b!important;
}
/* Unified footer: protect logo, colors, spacing and links from legacy rules. */
body footer.hv-unified-footer {background:#0b2035!important;color:#d1e3f1!important}
body footer.hv-unified-footer :is(h1,h2,h3,h4,p,li,span) {color:#d1e3f1!important;-webkit-text-fill-color:#d1e3f1!important}
body footer.hv-unified-footer a:not(.hv-footer-brand) {color:#d7e6f3!important;-webkit-text-fill-color:#d7e6f3!important}
body footer.hv-unified-footer .hv-footer-brand {display:flex!important;align-items:center!important;justify-content:flex-start!important;transform:none!important}
body footer.hv-unified-footer .hv-footer-brand img {display:block!important;object-fit:contain!important;object-position:left center!important}

/* Footer logo left alignment — final override, applies on every page */
html body footer.hv-unified-footer .hv-unified-footer__inner,
html body footer.hv-unified-footer .hv-unified-footer__top {
  width:100%!important;max-width:1160px!important;margin-left:auto!important;margin-right:auto!important;
  text-align:left!important;
}
html body footer.hv-unified-footer .hv-unified-footer__identity {
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;justify-self:start!important;
  width:100%!important;margin:0!important;padding:0!important;text-align:left!important;
}
html body footer.hv-unified-footer a.hv-footer-brand {
  display:block!important;position:static!important;float:none!important;
  align-self:flex-start!important;justify-self:start!important;
  width:240px!important;max-width:100%!important;height:74px!important;
  margin:0!important;padding:0!important;transform:none!important;
  text-align:left!important;line-height:0!important;
}
html body footer.hv-unified-footer a.hv-footer-brand img {
  display:block!important;float:none!important;
  width:240px!important;height:74px!important;max-width:100%!important;
  margin:0!important;padding:0!important;transform:none!important;
  object-fit:contain!important;object-position:0% 50%!important;
}
html body footer.hv-unified-footer .hv-unified-footer__tagline {
  align-self:flex-start!important;margin:0!important;text-align:left!important;
}
@media(max-width:760px) {
 html body footer.hv-unified-footer a.hv-footer-brand,
 html body footer.hv-unified-footer a.hv-footer-brand img {
  width:190px!important;height:60px!important;
 }
}


/* FOOTER-ONLY CORRECTION v7 — no selectors outside footer.hv-unified-footer */
html body footer.hv-unified-footer {
  box-sizing:border-box!important; background:#0b2035!important;
  width:100%!important; margin:0!important; padding:52px 24px 24px!important;
  border:0!important;border-top:1px solid #29455e!important;
  box-shadow:none!important;text-align:left!important;
}
html body footer.hv-unified-footer,
html body footer.hv-unified-footer * { box-sizing:border-box!important; }
html body footer.hv-unified-footer .hv-unified-footer__inner {
  display:block!important; width:100%!important; max-width:1160px!important;
  margin:0 auto!important; padding:0!important; background:transparent!important;
  border:0!important;box-shadow:none!important;
}
html body footer.hv-unified-footer .hv-unified-footer__top {
  display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)!important;
  gap:48px!important; align-items:start!important; width:100%!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html body footer.hv-unified-footer .hv-unified-footer__identity {
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-self:stretch!important;justify-content:flex-start!important;gap:14px!important;
  text-align:left!important; margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html body footer.hv-unified-footer a.hv-footer-brand {
  display:block!important;align-self:flex-start!important;position:static!important;
  width:240px!important;height:74px!important;max-width:100%!important;
  padding:0!important;margin:0!important;line-height:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;filter:none!important;transform:none!important;
  text-align:left!important;
}
html body footer.hv-unified-footer a.hv-footer-brand img {
  display:block!important;width:240px!important;height:74px!important;max-width:100%!important;
  padding:0!important;margin:0!important;object-fit:contain!important;
  object-position:left center!important;transform:none!important;
  filter:none!important;box-shadow:none!important;
}
html body footer.hv-unified-footer .hv-unified-footer__tagline {
  margin:0!important;padding:0!important;align-self:flex-start!important;
  color:#d1e3f1!important;-webkit-text-fill-color:#d1e3f1!important;
  background:transparent!important;text-align:left!important;
}
html body footer.hv-unified-footer nav.hv-unified-footer__links {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:13px 20px!important;align-content:start!important;align-items:start!important;
  margin:8px 0 0!important;padding:0!important;width:100%!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  backdrop-filter:none!important;filter:none!important;
}
html body footer.hv-unified-footer nav.hv-unified-footer__links > a,
html body footer.hv-unified-footer nav.hv-unified-footer__links > a:is(:hover,:focus,:active,:visited) {
  display:block!important;position:static!important;width:auto!important;min-width:0!important;
  margin:0!important;padding:0!important;
  background:transparent!important;background-color:transparent!important;
  background-image:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;outline-offset:3px!important;filter:none!important;
  text-decoration:none!important;text-transform:none!important;
  color:#d7e6f3!important;-webkit-text-fill-color:#d7e6f3!important;
  line-height:1.5!important;text-align:left!important;transform:none!important;
}
html body footer.hv-unified-footer nav.hv-unified-footer__links > a::before,
html body footer.hv-unified-footer nav.hv-unified-footer__links > a::after {
  content:none!important;display:none!important;background:none!important;box-shadow:none!important;
}
html body footer.hv-unified-footer nav.hv-unified-footer__links > a:hover {
  color:#a8dcff!important;-webkit-text-fill-color:#a8dcff!important;
}
html body footer.hv-unified-footer .hv-unified-footer__bottom {
  display:flex!important;justify-content:space-between!important;flex-wrap:wrap!important;
  gap:16px!important;margin-top:34px!important;padding:18px 0 0!important;
  border:0!important;border-top:1px solid #29455e!important;
  background:transparent!important;box-shadow:none!important;
}
html body footer.hv-unified-footer .hv-unified-footer__bottom span {
  color:#a8bfd1!important;-webkit-text-fill-color:#a8bfd1!important;
}
@media(max-width:760px) {
 html body footer.hv-unified-footer {padding:36px 20px 22px!important}
 html body footer.hv-unified-footer .hv-unified-footer__top {
   grid-template-columns:minmax(0,1fr)!important;gap:28px!important;
 }
 html body footer.hv-unified-footer nav.hv-unified-footer__links {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:12px 16px!important;margin:0!important;
 }
 html body footer.hv-unified-footer a.hv-footer-brand,
 html body footer.hv-unified-footer a.hv-footer-brand img {
   width:190px!important;height:60px!important;
 }
 html body footer.hv-unified-footer .hv-unified-footer__bottom {
   flex-direction:column!important;gap:5px!important;
 }
}
