/* Footer redesign */

body.body-redesign-117406 .content {
    padding-bottom: 48px;
}

body.body-redesign-117406 .page-content .content {
    padding-bottom: 48px;
}

body.body-redesign-117406 .footer.footer--v2 {
    display: block !important;
    visibility: visible !important;
    position: relative;
    z-index: 200;
    width: 100%;
    clear: both;
    margin: 0 !important;
    overflow: visible;
    isolation: isolate;
    background: #fff;
}

body.body-redesign-117406 .footer.footer--v2 .footer__nav,
body.body-redesign-117406 .footer.footer--v2 .footer__body {
    display: block !important;
    visibility: visible !important;
    position: relative;
    width: 100%;
}

.footer--v2 .footer__nav.lvl2 {
    background: #0063a8 !important;
    border-bottom: none !important;
}

.footer--v2 .footer__nav .inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    display: flow-root;
}

.footer--v2 .footer__nav .col1 {
    float: none;
    width: 100%;
}

.footer--v2 .footer__nav .col1 > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer--v2 .footer__nav .col1 > ul > li {
    float: none;
    padding: 0;
    display: block;
}

.footer--v2 .footer__nav .col1 > ul > li > a {
    color: #fff !important;
    display: block;
    font-family: "Exo2-Bold", sans-serif;
    font-size: 13px;
    letter-spacing: 0.03em;
    padding: 18px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer--v2 .footer__nav .col1 > ul > li > a:hover,
.footer--v2 .footer__nav .col1 > ul > li > a.active {
    color: #b3d9f2 !important;
}

.footer--v2 .footer__nav .col1 > ul > li > a:before {
    display: none;
}

.footer--v2 .footer__body {
    background: #fff;
    padding: 32px 0 0;
}

.footer--v2 .footer__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px 28px;
}

.footer--v2 .footer__logo {
    flex-shrink: 0;
    text-decoration: none;
}

.footer--v2 .footer__logo img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.footer--v2 .footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    margin-left: auto;
    text-align: right;
}

.footer--v2 .footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 420px;
}

.footer--v2 .footer__contact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: #0063a8;
}

.footer--v2 .footer__contact-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.footer--v2 .footer__contact-text a {
    color: #489bd8;
    text-decoration: none;
}

.footer--v2 .footer__contact-text a:hover {
    color: #0063a8;
}

.footer--v2 .footer__contact-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.footer--v2 .footer__contact-text .link-email,
.footer--v2 .footer__contact-text .link-phone {
    position: static !important;
    margin: 0 !important;
    padding-left: 0 !important;
    font-size: 14px !important;
    color: #489bd8 !important;
    text-decoration: none;
}

.footer--v2 .footer__contact-text .link-email:before,
.footer--v2 .footer__contact-text .link-phone:before {
    display: none;
}

.footer--v2 .footer__contact-text .phone-botom {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.footer--v2 .footer__contact-text .bottom-link-phone {
    font-family: "Exo2-SemiBold", sans-serif;
    font-size: 15px !important;
    line-height: 1.5;
}

.footer--v2 .footer__bottom {
    border-top: 1px solid #e5e5e5;
    max-width: 1170px;
    margin: 0 auto;
    padding: 16px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer--v2 .footer__copy {
    font-size: 13px;
    color: #666;
    flex-shrink: 0;
}

.footer--v2 .footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 24px;
    margin-left: auto;
}

.footer--v2 .footer__legal a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer--v2 .footer__legal a:hover {
    color: #0063a8;
}

/* Override legacy global footer rules from styles.css */
body.body-redesign-117406 .footer.footer--v2 .footer__nav.lvl2 {
    background: #0063a8 !important;
    text-align: left;
}

body.body-redesign-117406 .footer.footer--v2 .footer__body.lvl1 {
    display: block !important;
    text-align: left;
    padding: 0;
}

body.body-redesign-117406 .footer.footer--v2 .footer__nav .col1.fll {
    float: none !important;
    width: 100% !important;
}

body.body-redesign-117406 .footer.footer--v2 .footer__nav .col1 > ul > li {
    padding: 0 !important;
    border: none !important;
}

body.body-redesign-117406 .footer.footer--v2 .footer__nav .col1 > ul > li > ul {
    display: none !important;
    position: static !important;
}

@media screen and (max-width: 1100px) {
    body.body-redesign-117406 .content,
    body.body-redesign-117406 .page-content .content {
        padding-bottom: 0;
    }

    body.body-redesign-117406 .footer.footer--v2 {
        z-index: 200;
        flex-shrink: 0;
    }

    body.body-redesign-117406 .home-contacts__map .bx-yandex-map {
        touch-action: pan-y;
    }

    .footer--v2 .footer__main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 0 16px 24px;
    }

    .footer--v2 .footer__contacts {
        align-items: center;
        margin-left: 0;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .footer--v2 .footer__contact-item {
        justify-content: center;
        max-width: 100%;
        width: 100%;
    }

    .footer--v2 .footer__bottom {
        flex-direction: column;
        text-align: center;
        padding: 16px 16px 24px;
        gap: 12px;
    }

    .footer--v2 .footer__legal {
        justify-content: center;
        margin-left: 0;
        gap: 8px 16px;
    }

    .footer--v2 .footer__nav .inner {
        padding: 0 12px;
    }

    .footer--v2 .footer__nav .col1 > ul > li > a {
        padding: 12px 10px;
        font-size: 11px;
    }
}

@media screen and (max-width: 768px) {
    .footer--v2 .footer__contact-item {
        flex-direction: column;
        align-items: center;
    }

    .footer--v2 .footer__bottom {
        padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    }

    .footer--v2 .footer__nav .col1 > ul > li > a {
        padding: 12px 14px;
        font-size: 12px;
    }
}
