.footer.home-footer {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--home-footer-bg, #f4f4f4);
    color: var(--home-footer-text, #0a0a0a);
    font-family: "Onest VF", "Onest", sans-serif;
}

.home-footer .home-shell {
    width: min(800px, calc(100% - 32px));
    margin-inline: auto;
}

.home-footer__main {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 265px;
    padding-top: 34px;
    padding-bottom: 135px;
    gap: 0;
}

.home-footer h2 {
    margin: 0 0 8px;
    color: var(--home-footer-text, #0a0a0a);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
}

.home-footer__support,
.home-footer__socials,
.home-footer__legal {
    margin-bottom: 28px;
}

.home-footer__support a {
    display: block;
    width: max-content;
    margin-top: 5px;
    color: var(--home-footer-text, #111111);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

.home-footer__hours {
    margin: 0 0 12px;
    color: var(--home-footer-muted, #a5a5a5);
    font-size: 12px;
    line-height: 1.25;
}

.home-footer__social-list {
    display: flex;
    gap: 7px;
    margin-top: 24px;
}

.home-footer__social {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.home-footer__social img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.home-footer__social--vk { order: 1; background: #428acb; }
.home-footer__social--tg { order: 2; background: #29b9ea; }
.home-footer__social--max { order: 3; background: #6750a4; }
.home-footer__social--tt { order: 4; background: #000; }
.home-footer__social--max img { width: 100%; height: 100%; object-fit: cover; }

.home-footer .home-footer__social--tg img,
.home-footer .home-footer__social--tt img,
.home-footer .home-footer__social--max img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-footer__legal a {
    display: block;
    margin-bottom: 7px;
    color: #a7a7a7;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
}

.home-footer__mascot {
    position: absolute;
    right: -15px;
    bottom: -11px;
    width: 180px;
    max-height: 170px;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
}

.home-footer__copyright {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    border-top: 1px solid var(--home-footer-line, #dddddd);
    color: #aaa;
    background: var(--home-footer-copyright-bg, rgba(244, 244, 244, .92));
    font-size: 11px;
    line-height: 1.3;
}

@media (min-width: 576px) {
    .home-footer__main {
        grid-template-columns: 1fr 1fr;
        padding-top: 50px;
        padding-bottom: 90px;
        gap: 38px;
    }

    .home-footer__legal {
        grid-column: 1 / -1;
    }

    .home-footer__mascot {
        right: -8px;
        width: 220px;
    }
}

@media (min-width: 992px) {
    .home-footer .home-shell {
        width: min(1160px, calc(100% - 48px));
    }

    .home-footer__main {
        grid-template-columns: 1fr 1fr 1.1fr;
        min-height: 387px;
        padding-top: 76px;
        padding-bottom: 48px;
        gap: 55px;
    }

    .home-footer__support,
    .home-footer__socials,
    .home-footer__legal {
        margin-bottom: 0;
    }

    .home-footer__legal {
        grid-column: auto;
    }

    .home-footer h2 {
        margin-bottom: 8px;
        font-size: 23px;
    }

    .home-footer__hours {
        margin-bottom: 17px;
        font-size: 18px;
    }

    .home-footer__support a {
        margin-top: 0;
        font-size: 23px;
        line-height: 1.55;
    }

    .home-footer__social-list {
        gap: 8px;
        margin-top: 40px;
    }

    .home-footer__social {
        width: 68px;
        height: 68px;
        border-radius: 13px;
    }

    .home-footer__social img {
        width: 37px;
        height: 37px;
    }

    .home-footer__legal a {
        margin-bottom: 4px;
        font-size: 17px;
        line-height: 1.15;
    }

    .home-footer__mascot {
        z-index: 3;
        right: 55px;
        bottom: -87px;
        width: 390px;
        max-height: 300px;
    }

    .home-footer__copyright {
        min-height: 85px;
        padding: 31px 0 27px;
        font-size: 17px;
    }
}

@media (min-width: 1200px) {
    .home-footer__main {
        grid-template-columns: 335px 337px minmax(0, 1fr);
    }

    .home-footer__legal {
        max-width: 390px;
    }
}
