.footer-redesign {
    --footer-redesign-text: #282828;
    --footer-redesign-copy: #5d5d5d;
    --footer-redesign-muted: #888;
    min-height: 535px;
    background: #faf7f6;
    color: var(--footer-redesign-text);
    font-family: "Manrope", "Open Sans", Arial, sans-serif;
}

.footer-redesign,
.footer-redesign * {
    box-sizing: border-box;
}

.footer-redesign__container {
    position: relative;
    max-width: 1520px !important;
    min-height: 535px;
    margin: 0 auto;
    padding: 60px 0 0;
}

.footer-redesign__main {
    display: grid;
    grid-template-columns: 310px 423px 238px 289px;
    column-gap: 90px;
    align-items: start;
}

.footer-redesign__logo {
    width: 182px;
    height: 42px;
    margin: 0 0 30px;
}

.footer-redesign__logo .logo,
.footer-redesign__logo a,
.footer-redesign__logo img,
.footer-redesign__logo svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.footer-redesign__description {
    width: 310px;
    color: var(--footer-redesign-copy);
    font-size: 16px;
    line-height: 1.5;
}

.footer-redesign__description p,
.footer-redesign__legal p {
    margin: 0;
}

.footer-redesign__title {
    margin: 0 0 30px;
    color: var(--footer-redesign-text);
    font-family: "Manrope", "Open Sans", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 15px;
}

.footer-redesign-menu {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(6, 10px);
    grid-template-columns: repeat(2, max-content);
    gap: 30px 90px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-redesign-menu__item,
.footer-redesign .footer-redesign-menu__item {
    margin: 0;
    padding: 0;
    line-height: 10px;
}

.footer-redesign .footer-redesign-menu__item::before {
    display: none;
}

.footer-redesign-menu__link,
.footer-redesign__contact {
    color: var(--footer-redesign-copy);
    font-size: 16px;
    font-weight: 400;
    line-height: 10px;
}

.footer-redesign-menu__link {
    display: block;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.footer-redesign-menu__link:hover,
.footer-redesign-menu__item--active .footer-redesign-menu__link {
    color: var(--theme-base-color, #d71f27);
}

.footer-redesign__contacts {
    margin-left: 6px;
}

.footer-redesign__contacts .footer-redesign__contact {
    height: 10px;
}

.footer-redesign__contacts .footer-redesign__contact + .footer-redesign__contact {
    margin-top: 30px;
}

.footer-redesign__contacts .footer__phone,
.footer-redesign__contacts .footer__address,
.footer-redesign__contacts .phones,
.footer-redesign__contacts .phone {
    margin: 0;
    padding: 0 !important;
}

.footer-redesign__contacts .phones,
.footer-redesign__contacts .phones__inner,
.footer-redesign__contacts .address,
.footer-redesign__contacts .address__text,
.footer-redesign__contacts .icon-block__name {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

.footer-redesign__contacts a,
.footer-redesign__contacts .footer__phone,
.footer-redesign__contacts .footer__address {
    color: var(--footer-redesign-copy);
    font-size: 16px;
    line-height: 10px;
}

.footer-redesign__contacts svg,
.footer-redesign__contacts i,
.footer-redesign__contacts .svg-inline-phone,
.footer-redesign__contacts .svg-inline-address {
    display: none !important;
}

.footer-redesign__branches {
    margin-left: 2px;
}

.footer-redesign__branches .footer-redesign-menu {
    display: block;
    column-count: 2;
    column-gap: 90px;
}

.footer-redesign__branches .footer-redesign-menu__item {
    margin-bottom: 30px;
    break-inside: avoid;
}

.footer-redesign__bottom {
    display: grid;
    grid-template-columns: 599px 1fr;
    align-items: start;
    margin-top: 60px;
    padding-top: 27px;
    border-top: 1px solid #e4e0df;
}

.footer-redesign__legal,
.footer-redesign__copyright {
    color: var(--footer-redesign-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.footer-redesign__meta {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-width: 0;
}

.footer-redesign__copyright {
    padding-top: 2px;
    line-height: 10px;
    text-align: right;
}

.footer-redesign__copyright a {
    margin-left: 0;
}

.footer-redesign #bx-composite-banner:empty {
    display: none;
}

.footer-redesign__developer {
    position: absolute;
    right: 0;
    bottom: 14px;
    color: var(--footer-redesign-muted);
    font-size: 12px;
}

.footer-redesign__developer .footer__fred {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.footer-redesign__developer .footer__fred-link {
    display: block;
    width: 68px;
    height: 30px;
}

@media (max-width: 1599px) and (min-width: 768px) {
    .footer-redesign__container {
        width: calc(100% - 80px);
    }

    .footer-redesign__main {
        grid-template-columns: 310px minmax(360px, 423px) 238px minmax(260px, 289px);
        column-gap: clamp(35px, 4.5vw, 90px);
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .footer-redesign {
        min-height: auto;
    }

    .footer-redesign__container {
        min-height: auto;
        padding-bottom: 50px;
    }

    .footer-redesign__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 55px 60px;
    }

    .footer-redesign__contacts {
        margin-left: 0;
    }

    .footer-redesign__bottom {
        margin-top: 55px;
    }
}

@media (max-width: 767px) {
    .footer-redesign {
        min-height: 1280px;
    }

    .footer-redesign__container {
        width: 100%;
        min-height: 1280px;
        padding: 45px 15px 0;
    }

    .footer-redesign__main {
        display: block;
    }

    .footer-redesign__logo {
        margin-bottom: 30px;
    }

    .footer-redesign__description {
        width: 330px;
        max-width: 100%;
        min-height: 60px;
        font-size: 14px;
        line-height: 1.5;
    }

    .footer-redesign__column {
        margin-top: 60px;
    }

    .footer-redesign__title {
        margin-bottom: 30px;
        font-size: 20px;
        line-height: 15px;
    }

    .footer-redesign-menu__link,
    .footer-redesign__contact,
    .footer-redesign__contacts a,
    .footer-redesign__contacts .footer__phone,
    .footer-redesign__contacts .footer__address {
        font-size: 14px;
        line-height: 10px;
    }

    .footer-redesign__sections .footer-redesign-menu {
        grid-template-rows: repeat(6, 10px);
        grid-template-columns: 129px 163px;
        column-gap: 30px;
    }

    .footer-redesign__contacts {
        width: 208px;
        margin-left: 0;
    }

    .footer-redesign__branches .footer-redesign-menu {
        position: relative;
        display: block;
        column-count: 2;
        column-gap: 35px;
    }

    .footer-redesign__branches .footer-redesign-menu__item {
        margin-bottom: 30px;
        break-inside: avoid;
    }

    .footer-redesign__bottom {
        display: block;
        margin-top: 60px;
        padding-top: 29px;
        border-top-color: #e4e0df;
    }

    .footer-redesign__legal,
    .footer-redesign__copyright {
        width: 330px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .footer-redesign__legal {
        min-height: 100px;
    }

    .footer-redesign__meta {
        display: block;
        margin-top: 60px;
    }

    .footer-redesign__copyright {
        padding: 0;
        line-height: 10px;
        white-space: nowrap;
    }

    .footer-redesign__developer {
        right: 50%;
        bottom: 12px;
        transform: translateX(50%);
        white-space: nowrap;
    }
}

@media (max-width: 359px) {
    .footer-redesign__sections .footer-redesign-menu {
        grid-template-columns: max-content max-content;
        column-gap: clamp(12px, 5vw, 30px);
    }

    .footer-redesign__branches .footer-redesign-menu {
        column-gap: clamp(9px, 3.5vw, 35px);
    }

    .footer-redesign-menu__link {
        font-size: clamp(10px, 3.9vw, 14px);
        white-space: nowrap;
    }

    .footer-redesign__branches .footer-redesign-menu__link {
        font-size: clamp(9px, 3.55vw, 12px);
    }

    .footer-redesign__copyright {
        white-space: normal;
    }
}
