.footer {
    margin-top: 120px;
    padding: 45px 0 0;
    background: var(--dark-blue);
}

.footer__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 36px;
    margin-bottom: 50px;
}
.footer__wrapper--columns-5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__wrapper--rowgap-20 {
    row-gap: 12px;
}

@media (max-width: 950px) {
    .footer__wrapper--columns-5 {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer__wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__wrapper {
        grid-template-columns: 100%;
    }
}

@media (max-width: 576px) {
    .footer__wrapper--second {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer__logo {
    width: 174px;
    height: auto;
}

.footer__header {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 18px;
}

.footer__list {
    margin-top: 8px;
    list-style: none;
    font-size: 16px;
    text-align: left;
}

.footer__list li + li {
    margin-top: 4px;
}

.footer__link {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #FFFFFF;
    opacity: 0.65;
    text-decoration: none;
    transition: color 0.1s;
}

.footer__link:hover {
    color: var(--orange);
}

.footer__link--underline {
    text-decoration: solid underline;
}

.footer__copyright {
    text-align: left;
    font-size: 14px;
    color: var(--white);
    opacity: 0.5;
}

.footer__copyright ~ .footer__copyright {
    margin-top: 20px;
}

.footer__info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer__contacts {
    display: flex;
    align-items: flex-end;
}
.footer__bank-of-russia {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    margin: 0 20px;
}
@media (max-width: 1024px) {
    .footer__bank-of-russia {
        margin: 0 0 30px;
    }
}
.bank-of-russia__text {
    max-width: 565px;
    margin-top: 10px;
}

.footer__contacts-header {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--white);
}

.footer__contacts-links {
    display: flex;
    list-style: none;
}

.footer__contacts-links li + li {
    margin-left: 10px;
}

@media (max-width: 340px) {
    .footer__contacts-links {
        display: flex;
        flex-direction: column;
        list-style: none;
    }
    .footer__contacts-links li + li {
        margin-left: 0px;
        margin-top: 10px;
    }
}

.footer__contacts-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.footer__contacts-link--vk {
    background-color: var(--vk-color);
}

.footer__contacts-link--facebook {
    background-color: var(--facebook-color);
}

.footer__contacts-link--twitter {
    background-color: var(--twitter-color);
}

.footer__column--without-title {
    margin-top: 36px;
}

.footer__separator-line {
    width: 100%;
    height: 1px;
    background: var(--white);
    opacity: 0.15;
    margin-bottom: 50px;
}

.footer__info-bottom {
    padding-top: 32px;
    padding-bottom: 27px;
    background: #23232D;
}
