/* Burbuja de WhatsApp */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Animación de flotación */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { 
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Estilos para el mensaje emergente */
.whatsapp-message {
    position: absolute;
    bottom: 70px; /* justo arriba del botón */
    right: 0;
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mostrar mensaje al hacer hover */
.whatsapp-bubble:hover .whatsapp-message {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .whatsapp-bubble {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-message {
        bottom: 60px;
        font-size: 13px;
        padding: 8px 12px;
    }
}
