.btn-whatsapp {
    position: fixed;
    z-index: 999;
    bottom: 20px;
    right: 20px;
}

/* Solo aplica la animación si tiene la clase */
.btn-whatsapp-animate:before,
.btn-whatsapp-animate:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #00e676;
    opacity: 0;
    animation: onda 1.7s infinite;
}

.btn-whatsapp-animate:before { animation-delay: 1s; }
.btn-whatsapp-animate:after { animation-delay: 1.3s; }

.btn-whatsapp img {
    position: relative;
    z-index: 2;
}

@keyframes onda {
    0% { transform: scale(1); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: scale(2.5); }
}

/* Menú flotante */
.menu-whatsapp {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 998;
    padding: 10px;
}

.menu-whatsapp a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
}

.menu-whatsapp a:hover {
    background-color: #f0f0f0;
}
