}
    
/* --- Enlace contenedor (para la API de WhatsApp) --- */
#whatsappLink {
  text-decoration: none;
  z-index: 100;
}

/* --- Botón flotante de WhatsApp --- */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  overflow: visible;
  /* Animación de aparición y levitación */
  animation: fadeIn 1.5s ease forwards, float 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 100;
}

.whatsapp-button:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

/* --- La imagen ocupa todo el botón --- */
.whatsapp-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 100;
  /* Se elimina el transition para que las animaciones via JS sean más notorios */
}

/* --- Tooltip estilo diálogo de caricatura, posicionado a la derecha --- */
.tooltip {
  position: absolute;
  top: 50%;
  left: 105%;
  transform: translateY(-50%) translateX(-20px) scale(0.8);
  background: #fff;
  color: #333;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

/* Pseudo-elemento para la flecha del diálogo */
.tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
  z-index: 100;
}

/* Estado visible: se desliza a la derecha */
.tooltip.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
  z-index: 100;
}

/* --- Contenedor de partículas --- */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  z-index: 100;
}

/* --- Estilo de cada partícula --- */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  z-index: 100;
}

/* --- Animaciones CSS --- */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 8px #25d366; }
  50% { box-shadow: 0 0 16px #25d366; }
}