.site-footer {
    background: #e4e4e7;
    border-top: 1px solid rgba(57, 57, 64, 0.12);
}

.site-footer .container {
    display: block;
    padding: 2rem 1rem;
}

.site-footer__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 100%;
    margin-bottom: 0.9rem;
    color: #393940;
    text-decoration: none;
}

.site-footer__logo {
    width: auto;
    max-width: 64px;
    height: 42px;
    object-fit: contain;
}

.site-footer__brand-text {
    color: #393940;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.site-footer__brand:hover .site-footer__brand-text,
.site-footer__brand:focus-visible .site-footer__brand-text {
    color: #ec4899;
}

.site-footer__text {
    max-width: 680px;
    margin: 0;
    color: rgba(57, 57, 64, 0.82);
    font-size: 0.9rem;
    line-height: 1.55;
}

.site-footer__nav {
    display: block;
}

.site-footer__title {
    margin-bottom: 0.75rem;
    color: #393940;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-footer__links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem 1rem;
}

.site-footer__links a {
    display: inline-flex;
    min-width: 0;
    color: #393940;
    font-size: 0.92rem;
    line-height: 1.3;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: #ec4899;
}

@media (min-width: 576px) {
    .site-footer__nav--categories .site-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .site-footer .container {
        padding: 2rem 1rem;
    }

    .site-footer__layout {
        grid-template-columns: minmax(260px, 1.35fr) minmax(320px, 1fr) minmax(160px, 0.55fr);
        gap: 2rem;
        align-items: start;
    }
}

@media (min-width: 1200px) {
    .site-footer .container {
        padding-right: 0;
        padding-left: 0;
    }
}
