/* =========================================================
   ESTT GLOBAL FOOTER
   ========================================================= */

#estt-footer,
#estt-footer * {
    box-sizing: border-box;
}

#estt-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #d8e0ec;
    font-family: inherit;
}

#estt-footer a {
    text-decoration: none;
    transition:
        color .2s ease,
        border-color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}


/* =========================================================
   TOP SUPPORT BAR
   ========================================================= */

#estt-footer .estt-footer-top {
    padding: 20px 0;
    background:
        linear-gradient(
            135deg,
            #2467de 0%,
            #177cae 55%,
            #14ad98 100%
        );
}

#estt-footer .estt-footer-top__grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.1fr)
        minmax(200px, .7fr)
        auto;
    gap: 30px;
    align-items: center;
}

#estt-footer .estt-footer-support {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

#estt-footer .estt-footer-support__icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    color: #fff;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.17);
}

#estt-footer .estt-footer-support__icon i {
    font-size: 21px;
}

#estt-footer .estt-footer-support strong,
#estt-footer .estt-footer-support span {
    display: block;
}

#estt-footer .estt-footer-support strong {
    margin-bottom: 3px;
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 750;
}

#estt-footer .estt-footer-support span {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.4;
}


/* phones */

#estt-footer .estt-footer-phones a {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    white-space: nowrap;
}

#estt-footer .estt-footer-phones a:hover {
    color: #fff;
    text-decoration: underline;
}


/* buttons */

#estt-footer .estt-footer-top__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

#estt-footer .estt-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
}

#estt-footer .estt-footer-btn--light {
    color: #17306a;
    background: #fff;
}

#estt-footer .estt-footer-btn--light:hover {
    color: #2467de;
    background: #fff;
    transform: translateY(-1px);
}

#estt-footer .estt-footer-btn--outline {
    color: #fff;
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.08);
}

#estt-footer .estt-footer-btn--outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,.14);
}


/* =========================================================
   MAIN
   ========================================================= */

#estt-footer .estt-footer-main {
    padding: 50px 0 34px;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(36,103,222,.13),
            transparent 30%
        ),
        #17243a;
}

#estt-footer .estt-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.3fr)
        minmax(150px, .8fr)
        minmax(150px, .8fr)
        minmax(220px, 1fr);
    gap: clamp(30px, 4vw, 58px);
}


/* brand */

#estt-footer .estt-footer-logo {
    display: inline-block;
    margin-bottom: 22px;
}

#estt-footer .estt-footer-logo img {
    display: block;
    width: 155px;
    max-width: 100%;
    height: auto;
}

#estt-footer .estt-footer-brand p {
    max-width: 300px;
    margin: 0 0 22px;
    color: #9eabc0;
    font-size: 13px;
    line-height: 1.65;
}


/* social */

#estt-footer .estt-footer-social {
    display: flex;
    gap: 10px;
}

#estt-footer .estt-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px;
    background: rgba(255,255,255,.055);
}

#estt-footer .estt-footer-social a:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.1);
}

#estt-footer .estt-footer-social img {
    display: block;
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
}
#estt-footer .estt-footer-social a[title="MAX"] img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
}

#estt-footer .estt-footer-social a[title="TenChat"] img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
}


/* navigation */

#estt-footer .estt-footer-title {
    display: block;
    margin-bottom: 19px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}

#estt-footer .estt-footer-column > a {
    display: block;
    margin-bottom: 11px;
    color: #aab6c9;
    font-size: 13px;
    line-height: 1.45;
}

#estt-footer .estt-footer-column > a:hover {
    color: #fff;
}


/* contacts */

#estt-footer .estt-footer-contact {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin-bottom: 17px;
    color: #aab6c9;
    font-size: 13px;
    line-height: 1.5;
}
#estt-footer .estt-footer-contact__label {
    display: block;
    margin-bottom: 3px;
    color: #8291a8;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

#estt-footer .estt-footer-contact > i {
    flex: 0 0 17px;
    width: 17px;
    margin-top: 3px;
    color: #58ceb8;
    text-align: center;
}

#estt-footer .estt-footer-contact a {
    display: block;
    color: #d6dfec;
}

#estt-footer .estt-footer-contact a:hover {
    color: #fff;
}

#estt-footer .estt-footer-support__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
}

#estt-footer .estt-footer-support__details a {
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
    text-decoration: none;
}

#estt-footer .estt-footer-support__details a:hover {
    color: #fff;
    text-decoration: underline;
}

#estt-footer .estt-footer-support__details span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.35;
}

#estt-footer .estt-footer-social__text {
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.02em;
}

#estt-footer .estt-footer-social__text:hover {
    color: #fff;
    text-decoration: none;
}


/* =========================================================
   TRUST
   ========================================================= */

#estt-footer .estt-footer-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.09);
}

#estt-footer .estt-footer-rating iframe {
    display: block;
}

#estt-footer .estt-footer-partner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    background: rgba(255,255,255,.055);
    text-decoration: none;
}

#estt-footer .estt-footer-partner:hover {
    border-color: rgba(255,255,255,.20);
    background: rgba(255,255,255,.08);
    text-decoration: none;
}

#estt-footer .estt-footer-partner img {
    display: block;
    width: 58px;
    max-height: 36px;
    object-fit: contain;
}

#estt-footer .estt-footer-partner span {
    color: #aab6c9;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
}


/* =========================================================
   BOTTOM
   ========================================================= */

#estt-footer .estt-footer-bottom {
    padding: 15px 0;
    background: #0d1728;
    border-top: 1px solid rgba(255,255,255,.055);
}

#estt-footer .estt-footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    color: #7f8ca1;
    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    #estt-footer .estt-footer-top__grid {
        grid-template-columns: 1fr 1fr;
    }

    #estt-footer .estt-footer-top__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    #estt-footer .estt-footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    #estt-footer .estt-footer-contacts {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    #estt-footer .estt-footer-top {
        padding: 22px 0;
    }

    #estt-footer .estt-footer-top__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #estt-footer .estt-footer-top__actions {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #estt-footer .estt-footer-btn {
        width: 100%;
    }

    #estt-footer .estt-footer-main {
        padding: 38px 0 28px;
    }

    #estt-footer .estt-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 25px;
    }

    #estt-footer .estt-footer-brand,
    #estt-footer .estt-footer-contacts {
        grid-column: 1 / -1;
    }

    #estt-footer .estt-footer-brand p {
        max-width: 430px;
    }
}


@media (max-width: 430px) {

    #estt-footer .estt-footer-top__actions {
        grid-template-columns: 1fr;
    }

    #estt-footer .estt-footer-grid {
        grid-template-columns: 1fr;
    }

    #estt-footer .estt-footer-brand,
    #estt-footer .estt-footer-contacts {
        grid-column: auto;
    }

    #estt-footer .estt-footer-trust {
        flex-wrap: wrap;
    }

    #estt-footer .estt-footer-bottom__inner {
        display: block;
    }

    #estt-footer .estt-footer-bottom__inner span {
        display: block;
        margin-bottom: 4px;
    }
}