/* Footer locations and shared action states, November 2026. */
@media (min-width: 1101px) {
  html[lang] body #contact.site-footer .site-footer__accreditations {
    position: relative;
    left: -24px;
    top: 10px;
  }
}

html[lang] body #contact.site-footer .v2-areas {
  display: grid !important;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  justify-content: center !important;
  gap: 6px 28px !important;
  margin: 18px 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: center;
}

html[lang] body #contact.site-footer .v2-areas > b {
  margin: 0 !important;
  color: #f0f5fa;
  font-size: 14px;
}

html[lang] body #contact.site-footer .v2-areas ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

html[lang] body #contact.site-footer .v2-areas li {
  padding: 0;
  margin: 0;
}

html[lang] body #contact.site-footer .v2-areas a {
  display: inline-block;
  padding-block: 4px;
  color: #d5e5f2;
  text-decoration: none;
}

html[lang] body #contact.site-footer .v2-areas a:is(:hover, :focus-visible) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  html[lang] body #contact.site-footer .v2-areas {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  html[lang] body #contact.site-footer .v2-areas ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 16px;
    text-align: center;
  }
}

/* Match equivalent actions across templates while keeping the light hero treatment. */
#main {
  --action-fill: #0d335b;
  --action-ink: #fff;
  --action-hover: #174c78;
}

#main .page-hero {
  --action-fill: #fff;
  --action-ink: #0d335b;
  --action-hover: #e1edf6;
}

html[lang] body #main .btn:is(.btn--primary, [data-quote], .meet-company-button, [href*="/contact/#quote"]) {
  color: var(--action-ink) !important;
  background: var(--action-fill) !important;
  border-color: var(--action-fill) !important;
}

html[lang] body #main .btn:is(.btn--primary, [data-quote], .meet-company-button, [href*="/contact/#quote"]):is(:hover, :focus-visible, :active) {
  color: var(--action-ink) !important;
  background: var(--action-hover) !important;
  border-color: var(--action-hover) !important;
}

html[lang] body #main .btn:is([data-wa], .btn--wa, .xb-wa, .ph-wa-hero) {
  color: #fff !important;
  background: #08754e !important;
  border-color: #08754e !important;
}

html[lang] body #main .btn:is([data-wa], .btn--wa, .xb-wa, .ph-wa-hero):is(:hover, :focus-visible, :active) {
  color: #fff !important;
  background: #065c3e !important;
  border-color: #065c3e !important;
}

html[lang] body #main .btn:focus-visible {
  outline: 3px solid #2c85bd !important;
  outline-offset: 3px;
}

/* Align the English accreditation group with the brand text on wide screens. */
@media (min-width:1101px){html[lang="en"] body #contact.site-footer .site-footer__accreditations{left:-36px}}
