/* Общая сетка публичных страниц и личного кабинета. */
.footer {
    background: linear-gradient(to bottom,
            rgba(31, 33, 32, .9) 80%,
            rgba(31, 33, 32, .9) 90%,
            #1f2120d1 100%),
        url("/lp/static/img/hero.jpg") center/cover no-repeat;
    color: white;
    padding: 40px 0 20px;
    font-size: 16px;
    line-height: 24px;
    flex: 1;
}

.footer p,
.footer h2 {
    margin: 0;
    padding: 0;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    color: #91ffa9;
}

.footer__container {
    box-sizing: border-box;
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    padding-bottom: 32px;
}

.footer__brand,
.footer__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.footer_logo,
.footer__heading {
    display: flex;
    align-items: center;
    min-height: 36px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

.footer_logo {
    gap: 10px;
}

.footer_logo svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.footer_logo p {
    font-weight: 700;
}

.footer__description {
    max-width: 440px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer__links a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.footer__links--muted {
    color: #ffffffd9;
}

.footer__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #ffffffbf;
}

.footer__socials a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid #ffffff40;
    padding-top: 20px;
    color: #ffffff80;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: minmax(160px, .6fr) minmax(0, 1fr);
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    .footer__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(160px, .6fr) minmax(0, 1fr);
        column-gap: 40px;
    }

    .footer__brand {
        grid-column: auto;
    }
}
