/* Candidate staging patch, 2026-09-16. Load after existing stylesheets.
   Presentation only: no changes to lead submission, tracking or CRM. */
.hero .heroReassurance,
.hero .heroReassurance span {
  color: #fff !important;
}
.hero .heroReassurance {
  background: #17232d;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px;
}

.lightbox .lightboxTop #lbClose {
  color: #fff !important;
  background: #243747 !important;
  border: 1px solid #b8c7d2 !important;
  min-width: 44px;
  min-height: 44px;
}
.lightbox .lightboxTop #lbClose:hover {
  background: #354f64 !important;
}
.lightbox .lightboxTop #lbClose:focus-visible {
  outline: 3px solid #f6c343 !important;
  outline-offset: 3px !important;
}

/* Scope header changes to the main landing-page navigation. */
header .navRight .langToggle {
  background: #075366 !important;
}
header .navRight .langBtn {
  color: #fff !important;
}
header .navRight .langBtn.active {
  color: #12303c !important;
  background: #fff !important;
}
header .navRight .btn:not(.gold) {
  color: #fff !important;
  background: #075366 !important;
}
header .navRight .btn:not(.gold):hover {
  background: #063f50 !important;
}

@media (max-width: 760px) {
  .aps-chatbot {
    right: 76px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .aps-chatbot .aps-chatbot__launcher {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
  }
  .aps-chatbot .aps-chatbot__launcher-text {
    display: none;
  }
  /* Keep the text alternative supplied by the launcher's aria-label. */
  body:has(.quoteForm :focus) .aps-chatbot:not(.is-open),
  body:has(.quoteForm :focus) .wa-float,
  body:has(.lightbox.open) .aps-chatbot,
  body:has(.lightbox.open) .wa-float {
    visibility: hidden;
    pointer-events: none;
  }
}
