/* ATH Institutional Footer 2.1.1 */
#footer.footer-wrapper {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(216, 174, 93, .28);
    background:
        radial-gradient(circle at 8% 8%, rgba(216, 174, 93, .075), transparent 25rem),
        radial-gradient(circle at 96% 28%, rgba(40, 105, 148, .13), transparent 29rem),
        #07131b;
    color: #91a2ad;
}

#footer.footer-wrapper::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image:
        linear-gradient(rgba(173, 203, 219, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(173, 203, 219, .025) 1px, transparent 1px);
    background-size: 38px 38px;
    content: "";
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
    pointer-events: none;
}

#footer .footer-1,
#footer .footer-2 {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
}

#footer .footer-1 {
    padding: 0;
}

#footer .footer-1 > .row {
    display: grid;
    width: min(100% - 48px, 1160px);
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr) minmax(0, 1.12fr);
    column-gap: 52px;
    row-gap: 0;
    margin: 0 auto;
    padding: 0;
}

#footer .footer-1 > .row > .col {
    width: auto !important;
    max-width: none !important;
    flex-basis: auto !important;
    padding: 15px !important;
}

#footer .footer-1 > .row > .widget {
    margin: 0;
    padding-top: 38px !important;
    padding-bottom: 30px !important;
}

#footer .ath-footer-signature {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(320px, 1.02fr) minmax(300px, .98fr) auto;
    gap: 32px;
    align-items: center;
    padding: 28px 18px !important;
    border-bottom: 1px solid rgba(195, 215, 226, .12);
    box-sizing: border-box;
}

.ath-footer-signature__brand {
    display: flex;
    min-width: 0;
    gap: 12px;
    align-items: center;
}

.ath-footer-signature__mark {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(216, 174, 93, .34);
    border-radius: 12px;
    background:
        radial-gradient(circle at 75% 20%, rgba(255, 255, 255, .2), transparent 45%),
        linear-gradient(145deg, #bd2731, #73131b);
    box-shadow: 0 10px 24px rgba(116, 16, 24, .25), inset 0 1px rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.ath-footer-signature__brand > span:last-child {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.ath-footer-signature__brand small {
    color: #ddb96d;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .18em;
}

.ath-footer-signature__brand strong {
    overflow: hidden;
    color: #f2f5f6;
    font-size: 15px;
    font-weight: 720;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#footer .ath-footer-signature > p {
    max-width: 480px;
    margin: 0;
    color: #8497a3;
    font-size: 12.5px;
    line-height: 1.6;
}

.ath-footer-signature__contact {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.ath-footer-signature__contact a {
    display: inline-flex;
    min-height: 38px;
    gap: 7px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(195, 215, 226, .13);
    border-radius: 9px;
    background: rgba(255, 255, 255, .025);
    color: #a9bac4 !important;
    font-size: 10px;
    font-weight: 720;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.ath-footer-signature__contact a:hover {
    border-color: rgba(216, 174, 93, .38);
    background: rgba(216, 174, 93, .07);
    color: #e8cc8e !important;
}

.ath-footer-signature__contact i {
    color: #d8ae5d;
    font-size: 12px;
}

#footer .footer-1 .widget-title {
    position: relative;
    display: flex;
    min-height: 22px;
    gap: 9px;
    align-items: center;
    margin: 0 0 18px;
    color: #dfe6e9;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .15em;
    line-height: 1.2;
}

#footer .footer-1 .widget-title::before {
    width: 18px;
    height: 1px;
    flex: 0 0 18px;
    background: linear-gradient(90deg, #d8ae5d, rgba(216, 174, 93, .18));
    content: "";
}

#footer .footer-1 .is-divider {
    display: none;
}

#footer #block_widget-4 .img {
    width: 190px !important;
    margin: 0 0 22px !important;
}

#footer #block_widget-4 .img-inner {
    overflow: visible;
    box-shadow: none;
}

#footer #block_widget-4 .img img {
    display: block;
    width: 100%;
    opacity: .96;
}

#footer #block_widget-4 .gap-element {
    display: none !important;
}

#footer #block_widget-4 > p {
    max-width: 360px;
    margin: 0 0 20px;
    color: #8fa0aa;
    font-size: 13.5px;
    line-height: 1.65;
}

#footer .social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

#footer .social-icons .icon {
    display: inline-grid;
    width: 39px;
    height: 39px;
    margin: 0 !important;
    place-items: center;
    border: 1px solid rgba(195, 215, 226, .13);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    color: #9babb5 !important;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

#footer .social-icons .icon:hover {
    border-color: rgba(216, 174, 93, .4);
    background: rgba(216, 174, 93, .08);
    color: #edce89 !important;
    transform: translateY(-2px);
}

#footer .social-icons .icon i {
    top: auto;
    font-size: 15px;
}

#footer .widget_nav_menu .menu {
    margin: 0;
}

#footer .widget_nav_menu .menu > li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid rgba(195, 215, 226, .08);
}

#footer .widget_nav_menu .menu > li:first-child {
    border-top: 1px solid rgba(195, 215, 226, .08);
}

#footer .widget_nav_menu .menu > li > a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 9px 22px 9px 0;
    color: #9dadb7 !important;
    font-size: 12.5px;
    font-weight: 590;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease, padding-left .18s ease;
}

#footer .widget_nav_menu .menu > li > a::after {
    position: absolute;
    right: 3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    opacity: .35;
    transform: rotate(45deg);
    transition: opacity .18s ease, right .18s ease;
}

#footer .widget_nav_menu .menu > li > a:hover {
    padding-left: 5px;
    color: #e9cc8b !important;
}

#footer .widget_nav_menu .menu > li > a:hover::after {
    right: 0;
    opacity: .9;
}

#footer .widget_ath_footer_support {
    color: #94a5af;
}

#footer .ath-footer-support__card {
    padding: 24px;
    border-color: rgba(195, 215, 226, .14);
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0, rgba(46, 119, 166, .19), transparent 46%),
        linear-gradient(145deg, rgba(255, 255, 255, .04), transparent 48%),
        #0d1c25;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .035);
}

#footer .ath-footer-support__card::before {
    left: 24px;
    width: 64px;
    background: linear-gradient(90deg, #c72d37, #d8ae5d);
}

#footer .ath-footer-support__status {
    margin-bottom: 10px;
    color: #86a9bd;
    font-size: 9.5px;
}

#footer .ath-footer-support__card h3 {
    max-width: 310px;
    margin-bottom: 10px;
    color: #f3f6f7;
    font-size: 20px;
    font-weight: 770;
    line-height: 1.28;
}

#footer .ath-footer-support__card > p {
    margin-bottom: 18px;
    color: #8fa1ac;
    font-size: 12px;
    line-height: 1.6;
}

#footer .ath-footer-support__actions {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

#footer .ath-footer-support__button {
    min-height: 44px;
    border-radius: 10px;
    font-size: 10px;
}

#footer .ath-footer-support__button--primary {
    border-color: rgba(216, 174, 93, .62);
    background: linear-gradient(135deg, #e1bc70, #b98532);
    box-shadow: 0 9px 22px rgba(157, 105, 27, .21);
    color: #12202a !important;
}

#footer .ath-footer-support__button--primary:hover {
    border-color: #f0d89e;
    background: linear-gradient(135deg, #efd08c, #c9963e);
    color: #0b1720 !important;
}

#footer .ath-footer-support__button--secondary {
    border-color: rgba(195, 215, 226, .15);
    background: rgba(255, 255, 255, .025);
    color: #b1c0c8 !important;
}

#footer .ath-footer-support__meta {
    gap: 10px;
    padding-top: 16px;
    border-color: rgba(195, 215, 226, .09);
}

#footer .ath-footer-support__meta a {
    color: #acd0e6 !important;
    font-size: 10px;
}

.ath-footer-support__service {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 15px;
    color: #6f818c;
    font-size: 9.5px;
}

#footer .ath-footer-support__response {
    padding-left: 13px;
    color: #8799a3;
}

#footer .ath-footer-assurance {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(195, 215, 226, .11);
    border-radius: 15px;
    background: rgba(255, 255, 255, .018);
    box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.ath-footer-assurance article {
    display: flex;
    min-height: 82px;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-right: 1px solid rgba(195, 215, 226, .09);
}

.ath-footer-assurance article:last-child {
    border-right: 0;
}

.ath-footer-assurance article > span {
    color: #d9b66b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ath-footer-assurance article > div {
    display: grid;
    gap: 3px;
}

.ath-footer-assurance strong {
    color: #cbd5da;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.ath-footer-assurance small {
    color: #6f818c;
    font-size: 9.5px;
    line-height: 1.4;
}

#footer .footer-2 {
    padding: 0;
    border-top: 1px solid rgba(195, 215, 226, .1);
    background: rgba(3, 12, 18, .72);
}

#footer .footer-2 > .row {
    width: min(100% - 48px, 1160px);
    max-width: none;
    margin: 0 auto;
}

#footer .footer-2 .widget {
    margin: 0;
    padding: 0 !important;
}

#footer .footer-2 .custom-html-widget > div {
    margin: 0 !important;
    padding: 20px 0 !important;
    color: #687b86;
    font-size: 11px;
    letter-spacing: .015em;
}

#footer .footer-2 .custom-html-widget span {
    color: #687b86 !important;
}

#footer .footer-2 .custom-html-widget strong span {
    color: #91a2ac !important;
    font-weight: 720;
}

#footer #top-link {
    right: 18px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(216, 174, 93, .38);
    background: #11232d;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
    color: #e6c77e;
}

#footer #top-link:hover {
    border-color: #e6c77e;
    background: #193140;
    color: #fff;
}

@media (max-width: 1020px) {
    #footer .footer-1 > .row {
        column-gap: 34px;
        row-gap: 0;
    }

    #footer .ath-footer-signature {
        grid-template-columns: minmax(270px, .9fr) minmax(280px, 1.1fr);
        padding: 27px 16px !important;
    }

    .ath-footer-signature__contact {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    #footer .ath-footer-support__actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 849px) {
    #footer .footer-1 > .row {
        width: min(100% - 32px, 680px);
        grid-template-columns: 1fr;
        gap: 0;
    }

    #footer .ath-footer-signature {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 26px 14px !important;
    }

    #footer .ath-footer-signature > p {
        max-width: 560px;
    }

    .ath-footer-signature__contact {
        grid-column: auto;
    }

    #footer .footer-1 > .row > .widget {
        padding-top: 32px !important;
        padding-bottom: 24px !important;
        border-bottom: 1px solid rgba(195, 215, 226, .09);
    }

    #footer #block_widget-4 > p {
        max-width: 560px;
    }

    #footer .ath-footer-support__card {
        max-width: none;
    }

    #footer .ath-footer-assurance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 26px;
    }

    .ath-footer-assurance article:nth-child(2) {
        border-right: 0;
    }

    .ath-footer-assurance article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(195, 215, 226, .09);
    }

    #footer .footer-2 > .row {
        width: min(100% - 32px, 680px);
    }
}

@media (max-width: 480px) {
    .ath-footer-signature__contact {
        align-items: stretch;
        flex-direction: column;
    }

    .ath-footer-signature__contact a {
        justify-content: center;
    }

    #footer .ath-footer-support__actions,
    #footer .ath-footer-assurance {
        grid-template-columns: 1fr;
    }

    .ath-footer-assurance article {
        min-height: 66px;
        border-right: 0;
        border-bottom: 1px solid rgba(195, 215, 226, .09);
    }

    .ath-footer-assurance article:last-child {
        border-bottom: 0;
    }

    #footer .footer-2 .custom-html-widget > div {
        padding: 16px 0 !important;
        font-size: 9px;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    #footer .social-icons .icon,
    #footer .widget_nav_menu .menu > li > a,
    #footer .ath-footer-support__button {
        transition: none;
    }
}
