/* ============================================
   BOTÓN FLOTANTE WHATSAPP — ESTILO PORTAL
============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #5c1a1a 0%, #3a0f0f 100%);
    color: #e0e0e0;
    padding: 0.7rem 1.1rem 0.7rem 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid #8b2a2a;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.35);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.5);
    border-color: #b52e2e;
    color: #fff;
}

.whatsapp-float i {
    font-size: 1.3rem;
    color: #e0e0e0;
    animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-float .wa-texto {
    display: inline-block;
    white-space: nowrap;
}

/* Pulso exterior */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    border: 2px solid rgba(139, 0, 0, 0.4);
    animation: waRing 2s ease-out infinite;
    pointer-events: none;
}

@keyframes waRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        padding: 0.8rem;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
    .whatsapp-float .wa-texto {
        display: none;
    }
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* Modo oscuro para navegadores que lo soportan */
@media (prefers-color-scheme: dark) {
    .whatsapp-float {
        background: linear-gradient(135deg, #5c1a1a 0%, #3a0f0f 100%);
    }
}