/* Shared footer and fixed contact buttons for all rendered Aqua Best pages. */
footer.site-footer.ab-shared-footer {
  background: #051a33;
  color: #b7c8db;
  padding: 64px 0 0;
  font: 15px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif;
  text-align: start;
}
.ab-shared-footer .wrap {
  width: min(1280px, calc(100% - 48px));
  max-width: 1280px;
  margin-inline: auto;
}
.ab-shared-footer .f-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.65fr) minmax(0,2fr) minmax(0,1.15fr);
  align-items: start;
  gap: 32px;
}
.ab-shared-footer .f-grid > * { min-width: 0; order: 0; }
.ab-shared-footer .f-range { grid-column: auto; }
.ab-shared-footer .f-logo {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 0 18px;
  border-radius: 12px;
  background: #fff;
}
.ab-shared-footer .f-logo img { display: block; width: auto; height: 52px; }
.ab-shared-footer .f-brand p { max-width: 34ch; margin: 0 0 15px; font: inherit; }
.ab-shared-footer .f-col h4 {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 10px;
  color: #fff;
  font: 700 18px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;
}
.ab-shared-footer .f-col h4::after {
  content: "";
  position: absolute;
  left: auto;
  right: auto;
  inset-inline-start: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: #c59a42;
}
.ab-shared-footer a { color: #b7c8db; text-decoration: none; }
.ab-shared-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ab-shared-footer a:focus-visible,.ab-contact-float:focus-visible { outline: 3px solid #edc575; outline-offset: 4px; }
.ab-shared-footer .f-links {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: none;
  grid-auto-flow: row;
  gap: 0 24px;
  column-count: auto;
}
.ab-shared-footer .f-col > a,.ab-shared-footer .f-col > nav > a,.ab-shared-footer .f-links a {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 5px 0;
  font: inherit;
  overflow-wrap: anywhere;
  white-space: normal;
}
.ab-shared-footer .ab-footer-channels { display: grid; gap: 5px; margin: 0 0 19px; }
.ab-shared-footer .ab-footer-channel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 10px; }
.ab-shared-footer .ab-footer-channel:nth-child(3) { border-top: 1px solid #28425b; padding-top: 8px; margin-top: 3px; }
.ab-shared-footer .ab-footer-channel dt { flex: 0 0 84px; color: #a5bad0; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ab-shared-footer .ab-footer-channel dd { flex: 1 1 158px; min-width: 0; margin: 0; }
.ab-shared-footer .ab-footer-channel a {
  display: inline-block;
  min-height: 27px;
  color: #dbeaff;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ab-shared-footer .ab-footer-channel a[href^="tel:"] { white-space: nowrap; }
.ab-shared-footer .ab-footer-channel a:hover { color: #fff; }
.ab-shared-footer .f-contact .row { display: block; margin: 0 0 14px; padding: 0; font: inherit; }
.ab-shared-footer .f-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.ab-shared-footer .f-social a {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid #607c98;
  border-radius: 50%;
}
.ab-shared-footer .f-social svg { width: 17px; height: 17px; }
.ab-shared-footer .f-bottom { margin-top: 52px; border-top: 1px solid #203751; }
.ab-shared-footer .f-bottom-in {
  width: min(1280px, calc(100% - 176px));
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  font-size: 13.6px;
}
.ab-shared-footer .f-legal { display: flex; flex-wrap: wrap; gap: 8px 19px; }
.ab-shared-footer .f-legal a { color: #b7c8db; }

body a.ab-contact-float {
  position: fixed;
  z-index: 60;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 22px #0005;
  transition: transform .2s;
}
body a.ab-contact-float.call-float { left: 22px; right: auto; background: #139bd6; }
body a.ab-contact-float.wa-float { right: 22px; left: auto; background: #25d366; }
body a.ab-contact-float::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
  content: "";
  animation: ab-contact-pulse 2.4s ease-out infinite;
}
body a.ab-contact-float:hover { transform: scale(1.08); }
body a.ab-contact-float svg { display: block; flex: none; }
body a.ab-contact-float :is(.call-tip,.wa-tip) {
  position: absolute;
  bottom: calc(100% + 10px);
  padding: 6px 10px;
  border-radius: 7px;
  background: #051a33;
  color: #fff;
  font: 600 13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s,transform .2s;
}
body a.ab-contact-float .call-tip { left: 0; right: auto; }
body a.ab-contact-float .wa-tip { right: 0; left: auto; }
body a.ab-contact-float:is(:hover,:focus-visible) :is(.call-tip,.wa-tip) { opacity: 1; transform: none; }
@keyframes ab-contact-pulse {
  0% { opacity: .48; transform: scale(1); }
  68%,100% { opacity: 0; transform: scale(1.45); }
}
@media (max-width: 1100px) {
  .ab-shared-footer .f-grid { grid-template-columns: minmax(0,1fr) minmax(0,.65fr) minmax(0,1.15fr); gap: 32px 24px; }
  .ab-shared-footer .f-range { grid-column: 1 / -1; order: 1; }
}
@media (max-width: 760px) {
  footer.site-footer.ab-shared-footer { padding-top: 38px; }
  .ab-shared-footer .wrap { width: calc(100% - 40px); }
  .ab-shared-footer .f-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .ab-shared-footer .f-range { grid-column: auto; order: 0; }
  .ab-shared-footer .f-links { gap: 0 20px; }
  .ab-shared-footer .f-bottom { margin-top: 32px; }
  .ab-shared-footer .f-bottom-in {
    width: calc(100% - 40px);
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
  body a.ab-contact-float { width: 54px; height: 54px; }
  body a.ab-contact-float.call-float { left: 16px; }
  body a.ab-contact-float.wa-float { right: 16px; }
}
@media (max-width: 360px) {
  .ab-shared-footer .f-links { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  body a.ab-contact-float::before { animation: none; }
  body a.ab-contact-float,body a.ab-contact-float :is(.call-tip,.wa-tip) { transition: none; }
}
