/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.wa-float {
  position: fixed;
  right: 30px;
  bottom: 32px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  /* Glow CENTRADO (sin offset vertical) para que el halo no se derrame por
     debajo del botón y se corte contra el borde inferior de la pantalla. El
     margen (bottom/right) es mayor que el radio del glow para que entre entero. */
  box-shadow:
    0 0 22px rgba(37,211,102,0.5),
    0 4px 14px rgba(0,0,0,0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: none;
  animation: wa-pulse 2.4s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 26px rgba(37,211,102,0.62),
    0 6px 16px rgba(0,0,0,0.3);
  opacity: 1;
  animation-play-state: paused;
}

.wa-float:active {
  transform: scale(0.96);
}

.wa-float svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

/* Pulso suave para que se note */
@keyframes wa-pulse {
  0%, 100% {
    box-shadow:
      0 0 22px rgba(37,211,102,0.5),
      0 4px 14px rgba(0,0,0,0.28),
      0 0 0 0 rgba(37,211,102,0.5);
  }
  50% {
    box-shadow:
      0 0 22px rgba(37,211,102,0.5),
      0 4px 14px rgba(0,0,0,0.28),
      0 0 0 12px rgba(37,211,102,0);
  }
}

/* Responsive */
@media (max-width: 640px) {
  .wa-float {
    right: 24px;
    bottom: 28px;
    width: 56px;
    height: 56px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
}
