.whatsapp-float {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px #00174326;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

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

.whatsapp-float:hover { background: #1ebe5d; box-shadow: 0 6px 20px #00174333; }
.whatsapp-float:active { background: #1baa53; }
.whatsapp-float:focus-visible { outline: 3px solid #001743; outline-offset: 4px; }

/* Keep the footer links clear of the floating contact button. */
footer.site-footer { padding-bottom: 96px; }

@media (max-width: 600px) {
  .whatsapp-float {
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}
