/* Botón flotante WhatsApp — global, por debajo del drawer móvil (30000) */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  background: radial-gradient(circle at 30% 30%, #6ef7a1 0%, #25d366 40%, #20ba57 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), inset 0 -2px 6px rgba(0, 0, 0, 0.15);
  z-index: 25000;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45), inset 0 -2px 6px rgba(0, 0, 0, 0.18);
  filter: brightness(1.05);
  color: #ffffff !important;
}

.whatsapp-fab:active {
  transform: translateY(-1px) scale(0.98);
}

.whatsapp-fab__icon {
  font-size: 1.7rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

@media (max-width: 768px) {
  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-fab__icon {
    font-size: 1.6rem;
  }
}

@media (max-width: 380px) {
  .whatsapp-fab {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-fab__icon {
    font-size: 1.5rem;
  }
}
