/* Sitewide mobile slide-up contact bar. Mirrors the 2025 homepage component
   (css/header-footer.css) so it looks the same on every template. 2026-11-18 */
.mobile-floating-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 99;
  box-shadow: 0 -8px 14px rgba(0, 0, 0, 0.07);
  text-align: center;
  padding: 14px 16px 20px;
  transform: translateY(100%);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.mobile-floating-cta.open {
  opacity: 1;
  transform: translateY(0);
}
.mobile-floating-cta-title {
  color: #606060;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: normal;
}
.mobile-floating-cta-btn a.apn-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-color: #E87722;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
  border: 0;
  box-sizing: border-box;
}
.mobile-floating-cta-btn a.apn-btn:hover,
.mobile-floating-cta-btn a.apn-btn:focus {
  background-color: #A55418;
  color: #fff;
}
.mobile-floating-cta-btn a.apn-btn span {
  display: flex;
  align-items: center;
}
.mobile-floating-cta-btn .apn-btn-has-call-icon span:before {
  content: '';
  background-image: url(../images/call-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 14px;
  position: relative;
  z-index: 3;
}
.mobile-floating-cta-btn a.apn-btn::before,
.mobile-floating-cta-btn a.apn-btn::after {
  display: none;
}
/* While the bar is open on mobile, lift the cookie-preferences button above it. */
@media all and (max-width: 767px) {
  pressidium-floating-button {
    transition: bottom 0.25s;
  }
  body.apn-floating-cta-open pressidium-floating-button {
    bottom: 127px !important;
  }
}
/* Keep the bottom of the page (footer links) reachable above the bar. */
@media all and (max-width: 767px) {
  body.apn-has-floating-cta {
    padding-bottom: 110px;
  }
}
/* Pages with their own sticky contact bar (approved-service v2, Virtual IOP) keep theirs. */
body:has(.sp-mobile-actions) .mobile-floating-cta,
body:has(.vt-sticky-cta) .mobile-floating-cta {
  display: none;
}
@media all and (max-width: 767px) {
  body.apn-has-floating-cta:has(.sp-mobile-actions),
  body.apn-has-floating-cta:has(.vt-sticky-cta) {
    padding-bottom: 0;
  }
}
@media all and (min-width: 768px) {
  .mobile-floating-cta {
    display: none;
  }
}
