.site-footer {
    background: #000;
    color: #fff;
    width: 100%;

    margin: 0 auto;
    padding: 4.625rem 1rem;

}

.site-footer .page-container {
    margin: 0 auto;
    width: 100%;
    max-width: 120rem;
    padding: 0 6rem;
}

.site-footer__inner {
    position: relative;
    min-height: 8.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 2rem;
}

.site-footer__contacts,
.site-footer__brand,
.site-footer__meta {
    position: static;
    transform: none;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 25.0625rem;
    justify-self: start;
}

.site-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.9375rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.5625rem;
    line-height: 1.1;
    font-weight: 400;
    word-break: break-word;
}

.site-footer__contact:hover {
    color: #c3a185;
}

.site-footer__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    display: block;
    object-fit: contain;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1875rem;
    text-align: center;
    justify-self: center;
}

.site-footer__brand-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1875rem;
    text-decoration: none;
    color: inherit;
}

.site-footer__logo {
    width: 3.215625rem;
    height: 3.317125rem;
    color: #c3a185;
}

.site-footer__name {
    margin: 0;
    color: #fff;
    font-size: 2.375rem;
    line-height: 1.05;
    font-weight: 400;
}

.site-footer__meta {
    width: 18.9375rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.875rem;
    text-align: right;
    justify-self: end;
}

.site-footer__meta-item {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 400;
}

.site-footer__meta-link {
    color: #fff;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-offset: 0.1em;
}

.site-footer__meta-link:hover {
    color: #c3a185;
}

@media (max-width: 1279px) {
    .site-footer {
        padding: 3rem 0;
    }

    .site-footer__inner {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .site-footer__contacts,
    .site-footer__brand,
    .site-footer__meta {
        position: static;
        transform: none;
        width: 100%;
        max-width: 30rem;
        justify-self: auto;
    }

    .site-footer__contacts {
        align-items: flex-start;
        gap: 0.75rem;
        order: 2;
    }

    .site-footer__brand {
        order: 1;
        gap: 0.875rem;
    }

    .site-footer__meta {
        order: 3;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }

    .site-footer__contact,
    .site-footer__meta-item {
        font-size: 1.125rem;
        line-height: 1.4;
    }

    .site-footer__name {
        font-size: 2rem;
        line-height: 1.1;
    }
}

@media (min-width: 768px) {
    .site-footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .site-footer {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1280px) {
    .site-footer {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: var(--m-space-6) 0;
    }

    .site-footer__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--m-space-5);
        width: var(--m-container);
        margin: 0 auto;
        min-height: 0;
        font-family: "Manrope", sans-serif;
        font-weight: 400;
        color: #fff;
    }

    .site-footer__contacts,
    .site-footer__brand,
    .site-footer__meta {
        position: static;
        transform: none;
        width: 100%;
        max-width: var(--m-container);
        justify-self: auto;
    }

    .site-footer__brand {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
        text-align: center;
    }

    .site-footer__brand-link {
        gap: 0.875rem;
    }

    .site-footer__brand-link > svg {
        width: 2.645625rem;
        height: 2.72925rem;
    }

    .site-footer__name {
        margin: 0;
        font-size: 1.75rem;
        line-height: 1.1;
        font-weight: 400;
        color: #fff;
    }

    .site-footer__contacts {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: var(--m-space-2);
        width: 100%;
        align-items: center;
    }

    .site-footer__contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3125rem;
        text-decoration: none;
        color: #fff;
        text-align: center;
        font-size: var(--m-fs-8);
        line-height: var(--m-lh-11);
        font-weight: 400;
        letter-spacing: 0;
    }

    .site-footer__contact:hover {
        color: #fff;
    }

    .site-footer__icon {
        width: 0.625rem;
        height: 0.625rem;
        flex: 0 0 0.625rem;
        display: block;
        object-fit: contain;
    }

    .site-footer__meta {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: var(--m-space-2);
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .site-footer__meta-item {
        margin: 0;
        font-size: var(--m-fs-8);
        line-height: var(--m-lh-11);
        font-weight: 400;
        letter-spacing: 0;
        color: #fff;
    }

    .site-footer__meta-link {
        color: #fff;
        text-decoration: underline;
        text-decoration-skip-ink: none;
        text-underline-offset: 0.1em;
    }
}
