/* ==========================================================
   ATMOSPHERA FREE CONSULTATION
   ========================================================== */

.id-consult[hidden] {
    display: none !important;
}

.id-consult {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99990;

    width: min(390px, calc(100vw - 32px));

    font-family: inherit;
}


/* CARD */

.id-consult__card {
    position: relative;

    overflow: hidden;

    padding: 25px 25px 20px;

    color: #142d3b;

    border: 1px solid rgba(7, 53, 70, .09);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(25, 199, 236, .12),
            transparent 38%
        ),
        #fff;

    box-shadow:
        0 28px 75px rgba(7, 31, 45, .20),
        0 5px 18px rgba(7, 31, 45, .08);

    animation:
        idConsultIn .38s
        cubic-bezier(.2,.75,.25,1)
        both;
}


/* turquoise accent */

.id-consult__card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #10aeb8,
            #19c7ec 72%,
            #ef7b24
        );
}


/* CLOSE */

.id-consult__close {
    position: absolute;
    top: 13px;
    right: 13px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #647985;

    border: 0;
    border-radius: 50%;

    background: rgba(7, 31, 45, .055);

    cursor: pointer;

    font-size: 22px;
    line-height: 1;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.id-consult__close:hover {
    color: #071b2b;
    background: rgba(7, 31, 45, .10);

    transform: rotate(4deg);
}


/* TOP ROW */

.id-consult__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    padding-right: 35px;
    margin-bottom: 16px;
}

.id-consult__label {
    color: #087f8f;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .105em;
}

.id-consult__time {
    padding: 5px 9px;

    color: #a44c0d;

    border: 1px solid rgba(239, 123, 36, .16);
    border-radius: 999px;

    background: #fff2e8;

    font-size: 10px;
    font-weight: 800;
}


/* COPY */

.id-consult h2 {
    margin: 0 0 11px;

    color: #071b2b;

    font-size: 25px;
    font-weight: 800;
    line-height: 1.12;

    letter-spacing: -.035em;
}

.id-consult p {
    margin: 0;

    color: #607581;

    font-size: 14px;
    line-height: 1.62;
}

.id-consult p strong {
    color: #087f8f;
}


/* BENEFITS */

.id-consult__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 15px;

    margin-top: 17px;
}

.id-consult__benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #304b59;

    font-size: 12px;
    font-weight: 700;
}

.id-consult__benefits i {
    width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #087f8f;

    border-radius: 50%;

    background: #e6f8f7;

    font-style: normal;
    font-size: 11px;
}


/* MAIN CTA */

.id-consult__cta {
    min-height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 21px;
    padding: 0 20px;

    color: #042a31 !important;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #19c7ec,
            #59dceb
        );

    box-shadow:
        0 11px 27px rgba(25, 199, 236, .22);

    text-decoration: none !important;

    font-size: 13px;
    font-weight: 850;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.id-consult__cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 34px rgba(25, 199, 236, .31);
}

.id-consult__cta > span {
    font-size: 18px;

    transition: transform .2s ease;
}

.id-consult__cta:hover > span {
    transform: translateX(3px);
}


/* NOT NOW */

.id-consult__later {
    display: block;

    margin: 11px auto 0;
    padding: 5px 10px;

    color: #798a94;

    border: 0;
    background: transparent;

    cursor: pointer;

    font-size: 11px;
}

.id-consult__later:hover {
    color: #354f5d;
}


/* ENTER */

@keyframes idConsultIn {
    from {
        opacity: 0;
        transform:
            translateY(22px)
            scale(.97);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .id-consult {
        left: 10px;
        right: 10px;
        bottom: 10px;

        width: auto;
    }

    .id-consult__card {
        padding:
            22px 20px
            calc(18px + env(safe-area-inset-bottom));

        border-radius: 20px;
    }

    .id-consult h2 {
        font-size: 22px;
    }

    .id-consult p {
        font-size: 13px;
    }

    .id-consult__cta {
        min-height: 48px;
        width: 100%;
    }

}


/* RESPECT REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .id-consult__card,
    .id-consult__cta,
    .id-consult__close {
        animation: none !important;
        transition: none !important;
    }

}