/* =========================================================
   Block: FLOATING WHATSAPP BUTTON (v0.1)
   Phones only. Small round button, bottom-right, within
   thumb reach. Hides itself while the hero, the enquiry
   form or the footer is on screen (no doubled buttons,
   never covers the form).
   ========================================================= */
.wa-float {
  position: fixed;
  right: var(--space-4);
  bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));  /* clears the iPhone home bar */
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--colour-whatsapp);
  color: var(--colour-on-whatsapp);
  box-shadow: 0 4px 14px rgb(var(--colour-image-shade) / 0.25);
  transition: opacity 200ms ease, transform 200ms ease;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
@media (min-width: 48rem) {
  .wa-float { display: none; }          /* desktop: the page's own WhatsApp buttons are enough */
}
