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

.site-footer {
    width: 100%;
    flex-shrink: 0;
    color: #dce6eb;
    background: #122532;
    font-family: "Nunito", sans-serif;
    line-height: 1.5;
}

.site-footer a {
    text-decoration: none;
}

.site-footer__shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 0.8fr) 1fr;
    gap: 38px;
    padding-top: 50px;
    padding-bottom: 38px;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 1.24rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.site-footer__brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.site-footer__about p {
    max-width: 230px;
    margin: 14px 0 0;
    color: #aebdc6;
    font-size: 0.82rem;
}

.site-footer nav,
.site-footer__apps {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.site-footer nav strong,
.site-footer__apps strong {
    margin-bottom: 3px;
    color: #fff;
    font-size: 0.87rem;
}

.site-footer nav a,
.site-footer__bottom a {
    color: #aebdc6;
    font-size: 0.78rem;
}

.site-footer nav a:hover,
.site-footer__bottom a:hover {
    color: #fff;
}

.site-footer__apps img {
    width: 132px;
    height: auto;
    border-radius: 5px;
}

.site-footer__bottom {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8fa0aa;
    font-size: 0.76rem;
}

.site-footer__bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

@media (max-width: 1020px) {
    .site-footer__shell {
        width: min(calc(100% - 34px), 940px);
    }

    .site-footer__grid {
        grid-template-columns: 1.3fr repeat(2, 1fr);
    }

    .site-footer__apps {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .site-footer__shell {
        width: min(calc(100% - 24px), 680px);
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .site-footer__about,
    .site-footer__apps {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }
}

@media (max-width: 430px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer nav,
    .site-footer__apps,
    .site-footer__about {
        grid-column: auto;
    }
}
