.site-footer__mobile-icon,
.site-footer__mobile-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .site-footer {
        color: #5f687b;
        background: #f3f5f9;
    }

    .site-footer__intro {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-block: 28px 22px;
    }

    .site-footer__brand {
        gap: 10px;
        padding: 0 2px 8px;
    }

    .site-footer__brand img {
        width: 7.25rem;
        max-height: 2.5rem;
    }

    .site-footer__brand p {
        max-width: 34ch;
        margin: 0;
        color: #687286;
        font-size: 14px;
        line-height: 1.55;
    }

    .site-footer__contact {
        gap: 4px;
        padding: 18px 18px 16px;
        border: 1px solid #e4e8ef;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(20, 33, 76, 0.045);
    }

    .site-footer__contact h2 {
        margin: 0 0 5px;
        color: #14214c;
        font-size: 15px;
        font-weight: 700;
    }

    .site-footer__contact a,
    .site-footer__contact address {
        display: flex;
        min-height: 44px;
        align-items: center;
        gap: 11px;
        margin: 0;
        color: #59647a;
        font-size: 14px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .site-footer__contact .site-footer__phone {
        color: #14214c;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.25;
    }

    .site-footer__mobile-icon {
        display: inline-flex;
        width: 18px;
        flex: 0 0 18px;
        justify-content: center;
        color: #e98300;
        font-size: 14px;
    }

    .site-footer__column {
        width: 100%;
        padding: 0 15px;
        border: 1px solid #e4e8ef;
        border-radius: 14px;
        background: #fff;
    }

    .site-footer__column h2,
    .site-footer__legal-nav h2 {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
    }

    .site-footer__desktop-heading {
        display: none;
    }

    .site-footer__mobile-toggle {
        display: flex;
        width: 100%;
        min-height: 54px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0;
        border: 0;
        color: #14214c;
        background: transparent;
        font: inherit;
        text-align: left;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }

    .site-footer__mobile-toggle i {
        color: #81899a;
        font-size: 12px;
        transition: transform 160ms ease;
    }

    .site-footer__mobile-toggle i.is-open {
        transform: rotate(180deg);
    }

    .site-footer__mobile-toggle:focus-visible {
        outline: 2px solid #e98300;
        outline-offset: 3px;
    }

    .site-footer__column ul {
        gap: 0;
        padding: 0 0 8px;
        border-top: 1px solid #edf0f4;
    }

    .site-footer__column li + li {
        border-top: 1px solid #f1f3f6;
    }

    .site-footer__column a {
        display: flex;
        width: 100%;
        min-height: 44px;
        padding: 8px 0;
        color: #5f687b;
        font-size: 14px;
        line-height: 1.35;
    }

    .site-footer__bar {
        border-top: 3px solid #e98300;
        color: rgba(255, 255, 255, 0.78);
        background: #080b3f;
    }

    .site-footer__bar-inner {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding-block: 10px 22px;
    }

    .site-footer__legal-nav {
        width: 100%;
    }

    .site-footer__legal-nav h2 {
        color: #fff;
    }

    .site-footer__legal-nav .site-footer__mobile-toggle {
        min-height: 52px;
        color: #fff;
    }

    .site-footer__legal-nav .site-footer__mobile-toggle i {
        color: rgba(255, 255, 255, 0.65);
    }

    .site-footer__bar nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        padding: 7px 0 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .site-footer__bar a {
        display: flex;
        min-height: 44px;
        align-items: center;
        padding: 7px 0;
        color: rgba(255, 255, 255, 0.76);
        font-size: 12px;
        line-height: 1.3;
    }

    .site-footer__bar-inner > p {
        width: 100%;
        margin: 0;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.68);
        font-size: 12px;
        line-height: 1.5;
        white-space: normal;
    }
}

@media (max-width: 360px) {
    .site-footer__bar nav ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 1024px) {
    .site-footer__mobile-toggle {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__mobile-toggle i {
        transition: none;
    }
}
