.btn-whatsapp {
  display: block;
  width: 70px;
  height: 70px;
  color: #fff;
  position: fixed;
  right: 20px;
  bottom: 20px;
  border-radius: 50%;
  line-height: 80px;
  text-align: center;
  z-index: 999;
}

/* La onda expansiva exacta que se ve en la animación */
.btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366; /* Verde de WhatsApp */
  z-index: -1;
  animation: pulsoOnda 2s infinite ease-out;
}

/* Estilos del mensaje emergente para la landing de dictámenes */
.wa-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 85px; 
  top: 50%;
  transform: translateY(-50%); 
  background-color: #25d366; 
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: inherit; 
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap; 
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.wa-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #25d366;
}

.btn-whatsapp a:hover .wa-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Keyframes clave: inicia visible y pequeña, se expande a 1.6 y desaparece */
@keyframes pulsoOnda {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}