/* Floating WhatsApp contact button — Villa Zahra */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .24);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.whatsapp-float svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #1fb955;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .26);
  text-decoration: none;
}
.whatsapp-float:focus-visible {
  outline: 3px solid #186b38;
  outline-offset: 3px;
}
/* Place the existing back-to-top arrow above WhatsApp. */
#back_to_top {
  bottom: 92px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 767px) {
  .whatsapp-float { right: 15px; bottom: 15px; bottom: calc(15px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; }
  .whatsapp-float svg { width: 30px; height: 30px; }
  #back_to_top { bottom: 82px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}
