/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: pulse 2s infinite; /* Animación latido */
  transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1); /* Se agranda */
  background-color: #20b954; /* Más oscuro */
}

/* Animación de pulso */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* 📱 Responsive */

/* Teléfonos pequeños */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 15px;
    right: 15px;
  }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 18px;
    right: 18px;
  }
}

/* Pantallas grandes (PCs) */
@media (min-width: 1024px) {
  .whatsapp-float {
    width: 70px;
    height: 70px;
    font-size: 35px;
    bottom: 25px;
    right: 25px;
  }
}
