/* --- BOTÓN WHATSAPP (DERECHA) - Intacto --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.tooltip-wa {
    position: absolute;
    right: 75px;
    background-color: #ffffff; /* Tooltip blanco y limpio */
    color: #03194b; /* Letra en azul corporativo */
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.whatsapp-float:hover .tooltip-wa {
    opacity: 1;
    visibility: visible;
}

/* --- BOTÓN SUBIR ARRIBA (IZQUIERDA) - Estilo Corporativo --- */
.scroll-top {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 40px;
    left: 40px;
    background-color: #03194b; /* Azul corporativo */
    color: #ffffff; /* Icono blanco */
    border: 2px solid white; 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0.9;
    box-shadow: 0 4px 10px rgba(3, 25, 75, 0.2); /* Sombra azulada */
}

.scroll-top:hover {
    background-color: #005a2c; /* Cambia a verde corporativo al tocar */
    border-color: #005a2c;
    color: #ffffff;
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 90, 44, 0.3); /* Sombra verde */
}

/* --- RESPONSIVE (MÓVIL) --- */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }

    .tooltip-wa {
        display: none; 
    }
}