/* Keep the last page content above the floating contact link. */
body {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 56px;
  min-height: 56px;
  box-sizing: border-box;
  padding: 14px 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #087f5b;
  color: #fff;
  font-family: 'Inter Tight', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #065f46;
  color: #fff;
  text-decoration: none;
}

.whatsapp-float:focus-visible {
  outline: 3px solid #203033;
  outline-offset: 3px;
}

.whatsapp-float svg {
  display: block;
  flex: none;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Do not compete with an open mobile menu or the visible contact form. */
.navbar-dropdown-open .whatsapp-float,
.whatsapp-float[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    padding: 12px;
  }

  .whatsapp-float__text {
    display: none;
  }
}
