/* Botón sticky de WhatsApp - Esquina inferior izquierda */
.sticky-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Color verde oficial de WhatsApp */
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    text-decoration: none !important;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.sticky-whatsapp-btn:hover {
    background-color: #128C7E; /* Color más oscuro al hacer hover */
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.sticky-whatsapp-btn:active {
    transform: scale(0.95);
}

/* Animación de pulso para el botón de WhatsApp */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Icono dentro del botón */
.sticky-whatsapp-btn i {
    color: white !important;
    font-size: 28px;
}

/* Adaptaciones responsive para el botón de WhatsApp */
@media (max-width: 768px) {
    .sticky-whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 15px;
        left: 15px;
    }
    
    .sticky-whatsapp-btn i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .sticky-whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 10px;
        left: 10px;
    }
    
    .sticky-whatsapp-btn i {
        font-size: 22px;
    }
}
