.footer {
    background-color: #F0F3FB;
    padding: 10rem 0;
}

.footer__columns {
    display: flex;
    align-items: start;
    gap: 4rem;
    justify-content: space-between;
}

.footer__column {
    max-width: 25%;
    flex-shrink: 0;
}

.footer__logo {
    margin-bottom: 1rem;
    margin-top: -0.7rem;
}

.footer__requizites {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 400;
    text-wrap: balance;
}

.footer__title {
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.7rem;
    color: var(--violet);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1.2rem;
}

.footer__link:not(:last-child) {
    margin-bottom: 0;
}

.footer__link {
    font-size: 1.4rem;
    font-weight: 400;
    white-space: normal;
    line-height: 1.2;
}

.footer__contact {
    margin-top: .5rem;
    font-size: 2.3rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--violet);
}

.footer__contact:first-of-type {
    margin-top: 1.5rem;
}

.footer__link--tg {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__link--tg::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background-image: url('../../img/base/telegram.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.footer__bottom {
    margin-top: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logos {
    display: flex;
    align-items: center;
    gap: 4rem;
}

@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 7rem;
    }

    .footer__columns {
        gap: 2rem;
        flex-direction: column;
    }

    .footer__column {
        max-width: 100%;
    }

    .footer__logo {
        margin-bottom: 1rem;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__requizites {
        text-align: center;
    }

    .footer__title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .footer__nav {
        gap: .5rem;
    }

    .footer__link {
        font-size: 1.2rem;
    }

    .footer__contact {
        font-size: 1.6rem;
    }

    .footer__contact:first-of-type {
        margin-top: .5rem;
    }

    .footer__link--tg {
        gap: 0.5rem;
    }

    .footer__link--tg::before {
        width: 1.6rem;
        height: 1.6rem;
    }

    .footer__bottom {
        margin-top: 2rem;
    }

    .footer__logos {
        justify-content: space-between;
        gap: 3rem;
    }

    .footer__btns .main-btn {
        width: 100%;
    }
}