/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    animation: waBounceIn 0.5s ease 1s forwards;
}

@keyframes waBounceIn {
    to { opacity: 1; transform: scale(1); }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

/* Pulso animado */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: waPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes waPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50%       { transform: scale(1.4); opacity: 0; }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #0a1929;
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #0a1929;
    border-right: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 80px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-tooltip { display: none; }
}