/*
 |------------------------------------------------------------------
 | Flotante de WhatsApp aislado para sitio antiguo
 |------------------------------------------------------------------
 | Se deja con prefijo propio para no interferir con el CSS actual.
 | bottom: 88px evita chocar con la barra fija inferior existente.
 */

.inka-whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #5af18d, #25d366 62%);
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.32);
  z-index: 9999;
  text-decoration: none;
  animation: inkaWhatsappPulse 2.2s ease-in-out infinite;
}

.inka-whatsapp-float:before,
.inka-whatsapp-float:after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.28);
  animation: inkaWhatsappRing 2.2s ease-out infinite;
}

.inka-whatsapp-float:after {
  animation-delay: 1.1s;
}

.inka-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.inka-whatsapp-float img {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
  border: 0;
}

@keyframes inkaWhatsappPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes inkaWhatsappRing {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .inka-whatsapp-float {
    right: 14px;
    bottom: 96px;
    width: 62px;
    height: 62px;
  }
}
