/* =========================================================
   TALENT CORE - CONTACTO MULTICANAL FLOTANTE
   ========================================================= */

.tc-contact-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: inherit;
}


/* =========================================================
   MENÚ
   ========================================================= */

.tc-contact-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;

    margin-bottom: 12px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(15px) scale(0.96);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


/* MENÚ ABIERTO */

.tc-contact-float.is-open .tc-contact-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}


/* =========================================================
   ELEMENTOS DEL MENÚ
   ========================================================= */

.tc-contact-item {
    min-width: 155px;
    height: 48px;

    display: flex;
    align-items: center;

    padding: 0 15px;

    background: #ffffff;
    color: #0E3B5F;

    border-radius: 25px;

    text-decoration: none;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);

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

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


.tc-contact-item:hover {
    transform: translateX(-5px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);

    color: #0E3B5F;
}


/* =========================================================
   ICONOS
   ========================================================= */

.tc-contact-icon {
    width: 22px;
    height: 22px;

    margin-right: 11px;

    flex-shrink: 0;
}


.tc-contact-label {
    white-space: nowrap;
}


/* =========================================================
   COLORES DE CADA CANAL
   ========================================================= */

.tc-contact-whatsapp .tc-contact-icon {
    color: #25D366;
}

.tc-contact-telegram .tc-contact-icon {
    color: #229ED9;
}

.tc-contact-email .tc-contact-icon {
    color: #005B81;
}

.tc-contact-phone .tc-contact-icon {
    color: #EB7615;
}


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

.tc-contact-toggle {
    width: 62px;
    height: 62px;

    border: none;
    border-radius: 50%;

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

    background: #ED7615;
    color: #ffffff;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.tc-contact-toggle:hover {
    background: #005B81;

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   ICONO DEL BOTÓN
   ========================================================= */

.tc-contact-toggle-icon {
    width: 27px;
    height: 27px;

    transition: transform 0.3s ease;
}


/* Cuando está abierto */

.tc-contact-float.is-open .tc-contact-toggle-icon {
    transform: rotate(45deg);
}


/* =========================================================
   ANIMACIÓN INDIVIDUAL
   ========================================================= */

.tc-contact-float.is-open .tc-contact-item {
    animation: tcContactItemIn 0.25s ease both;
}

.tc-contact-float.is-open .tc-contact-item:nth-child(1) {
    animation-delay: 0.03s;
}

.tc-contact-float.is-open .tc-contact-item:nth-child(2) {
    animation-delay: 0.07s;
}

.tc-contact-float.is-open .tc-contact-item:nth-child(3) {
    animation-delay: 0.11s;
}

.tc-contact-float.is-open .tc-contact-item:nth-child(4) {
    animation-delay: 0.15s;
}


@keyframes tcContactItemIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


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

@media (max-width: 576px) {

    .tc-contact-float {
        right: 16px;
        bottom: 16px;
    }


    .tc-contact-toggle {
        width: 58px;
        height: 58px;
    }


    .tc-contact-item {
        min-width: 145px;
        height: 46px;

        font-size: 13px;

        padding: 0 13px;
    }


    .tc-contact-icon {
        width: 20px;
        height: 20px;
    }

}