/* =========================================
   BOTÓN FLOTANTE SOPORTE TÉCNICO
========================================= */

.support-float {
    position: fixed;

    top: 50%;
    right: 0;

    transform: translateY(-50%);

    display: flex;
    align-items: center;

    background: #0d62ad;

    color: #ffffff !important;

    text-decoration: none !important;

    border-radius: 14px 0 0 14px;

    overflow: hidden;

    z-index: 9998;

    box-shadow:
        0 10px 30px rgba(13, 98, 173, 0.25);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


/* ICONO */

.support-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    background: rgba(255, 255, 255, 0.12);
}


/* TEXTO */

.support-text {
    display: flex;
    flex-direction: column;

    padding:
        0 22px
        0 12px;

    white-space: nowrap;
}


.support-text strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}


.support-text small {
    margin-top: 3px;

    font-size: 11px;

    opacity: 0.75;
}


/* EFECTO HOVER */

.support-float:hover {

    color: #ffffff !important;

    background: #083f75;

    transform:
        translateY(-50%)
        translateX(-5px);

}











/* =========================================
   BOTÓN FLOTANTE WHATSAPP
========================================= */

.whatsapp-float {
    position: fixed;

    bottom: 28px;
    right: 28px;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;

    color: #ffffff !important;

    border-radius: 50%;

    font-size: 34px;

    text-decoration: none;

    z-index: 9999;

    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* EFECTO AL PASAR EL MOUSE */

.whatsapp-float:hover {

    color: #ffffff !important;

    transform: translateY(-5px) scale(1.06);

    box-shadow:
        0 16px 35px rgba(37, 211, 102, 0.5);

}


/* ANILLO DE ANIMACIÓN */

.whatsapp-float::before {

    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    border: 2px solid #25D366;

    animation: whatsappPulse 2s infinite;

}


@keyframes whatsappPulse {

    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }

}


/* MENSAJE */

.whatsapp-tooltip {

    position: absolute;

    right: 76px;

    background: #ffffff;

    color: #17375e;

    padding: 10px 16px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;

    visibility: hidden;

    transform: translateX(10px);

    transition: all 0.25s ease;

}


/* MOSTRAR MENSAJE */

.whatsapp-float:hover .whatsapp-tooltip {

    opacity: 1;

    visibility: visible;

    transform: translateX(0);

}


/* MÓVIL */

@media (max-width: 768px) {

    .whatsapp-float {

        width: 56px;
        height: 56px;

        bottom: 20px;
        right: 20px;

        font-size: 30px;

    }

    .whatsapp-tooltip {
        display: none;
    }

}