/* ============================================================
   TELEMETRIC
   BOTÓN FLOTANTE DE CONTACTO
   CSS AISLADO
============================================================ */


/* ============================================================
   CONTENEDOR
============================================================ */

.telemetric-contact-float {

    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

}


/* ============================================================
   OPCIONES
============================================================ */

.telemetric-contact-options {

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 8px;

    margin-bottom: 12px;

    pointer-events: none;

}


/* ============================================================
   OPCIÓN
============================================================ */

.telemetric-contact-option {

    display: flex;
    align-items: center;

    gap: 9px;

    min-width: 125px;

    padding: 8px 11px;

    border: 1px solid #E1E6EA;

    border-radius: 7px;

    background: #FFFFFF;

    color: #30424D;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    box-shadow:
        0 7px 20px rgba(14, 59, 95, .12);

    opacity: 0;

    transform:
        translateY(10px)
        scale(.96);

    transition:
        opacity .2s ease,
        transform .2s ease,
        color .2s ease,
        border-color .2s ease;

}


.telemetric-contact-option:hover {

    color: #EB7615;

    border-color: rgba(235,118,21,.35);

}


/* ============================================================
   ICONOS DE OPCIONES
============================================================ */

.telemetric-contact-icon {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    border-radius: 6px;

    background: #FFF3EA;

    color: #EB7615;

}


.telemetric-contact-icon svg {

    width: 15px;
    height: 15px;

    fill: currentColor;

}


/* ============================================================
   BOTÓN PRINCIPAL
============================================================ */

.telemetric-contact-toggle {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #EB7615;

    color: #FFFFFF;

    cursor: pointer;

    box-shadow:
        0 8px 24px rgba(48,59,67,.22);

    transition:
        background-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.telemetric-contact-toggle:hover {

    background: #D96308;

    transform: translateY(-2px);

    box-shadow:
        0 10px 28px rgba(48,59,67,.25);

}


/* ============================================================
   ICONO CHAT
============================================================ */

.telemetric-contact-chat-icon {

    width: 25px;
    height: 25px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

}


/* ============================================================
   ESTADO ABIERTO
============================================================ */

.telemetric-contact-float.is-open
.telemetric-contact-options {

    pointer-events: auto;

}


.telemetric-contact-float.is-open
.telemetric-contact-option {

    opacity: 1;

    transform:
        translateY(0)
        scale(1);

}


/* ============================================================
   ANIMACIÓN ESCALONADA
============================================================ */

.telemetric-contact-float.is-open
.telemetric-contact-option:nth-child(1) {

    transition-delay: .03s;

}


.telemetric-contact-float.is-open
.telemetric-contact-option:nth-child(2) {

    transition-delay: .07s;

}


.telemetric-contact-float.is-open
.telemetric-contact-option:nth-child(3) {

    transition-delay: .11s;

}


.telemetric-contact-float.is-open
.telemetric-contact-option:nth-child(4) {

    transition-delay: .15s;

}

/* ============================================================
   BOTÓN ABIERTO
============================================================ */

.telemetric-contact-float.is-open
.telemetric-contact-toggle {

    transform: rotate(45deg);

}


.telemetric-contact-float.is-open
.telemetric-contact-toggle:hover {

    transform:
        rotate(45deg)
        translateY(-2px);

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 991px) {

    .telemetric-contact-float {

        right: 20px;
        bottom: 20px;

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .telemetric-contact-float {

        right: 16px;
        bottom: 16px;

    }


    .telemetric-contact-toggle {

        width: 54px;
        height: 54px;

    }


    .telemetric-contact-option {

        min-width: 118px;

        padding: 8px 10px;

        font-size: 10px;

    }


    .telemetric-contact-icon {

        width: 27px;
        height: 27px;

        flex-basis: 27px;

    }

}

