.site-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    min-height: 0;
    z-index: 1;
    background: #dedede;
    color: #989898;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    padding: 4rem 0;
    font-size: 0.85rem;
    line-height: 1;
}

.site-footer p,
.site-footer li,
.site-footer h3 {
    font-size: 1em;
}

.footer-contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact-link,
.footer-instagram-link,
.footer-privacy-link,
.footer-cookie-settings {
    display: inline-flex;
    color: inherit;
    font-size: 1em;
    text-decoration: none;
}

.footer-contact-link {
    margin-top: 1rem;
}

.footer-instagram-link {
    margin-top: 0.65rem;
    line-height: 1.25;
    overflow: visible;
}

.footer-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;

}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 35%) repeat(2, minmax(0, 20%));
    justify-content: space-between;
    align-items: stretch;
    flex: 1;
    max-width: 100%;
    min-height: 0;
    margin-inline: auto;
}

@media (min-width: 1025px) and (max-width: 1920px) {
    .footer-grid {
        grid-template-columns: minmax(0, 38%) repeat(2, minmax(0, 20%));
    }
}

.footer-column--contact,
.footer-column--details {
    color: #606060;
}

.footer-address {
    color: #989898;
}

.footer-column {
    min-width: 0;
}

.footer-column--details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: space-between;
}

.footer-column--about {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: space-between;
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 100%;
}

.footer-legal-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 3rem;
    color: #989898;
}

.footer-address p,
.footer-copyright p {
    margin: 0;
}

.footer-copyright .copyright {
    margin-top: 0;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .site-footer {
        height: auto;
        min-height: 0;
        position: sticky;
        bottom: 0;
        z-index: 1;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
        text-align: center;
        align-items: center;
        min-height: 0;
        width: 100%;
    }

    .footer-column {
        width: 100%;
    }

    .footer-column--about {
        display: contents;
    }

    .footer-column--about > p {
        order: 1;
    }

    .footer-column--contact {
        order: 2;
    }

    .footer-column--details {
        order: 3;
        gap: 2.5rem;
        justify-content: flex-start;
    }

    .footer-copyright {
        order: 4;
        text-align: center;
        width: 100%;
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-address {
        width: 100%;
    }

    .footer-contact-block {
        align-items: center;
        gap: 1.25rem;
    }

    .footer-legal-links {
        align-items: center;
        margin-top: 0;
    }

    .footer-column p,
    .footer-contact-link,
    .footer-instagram-link,
    .footer-privacy-link,
    .footer-cookie-settings,
    .footer-address p,
    .footer-copyright p,
    .footer-copyright h3 {
        margin-inline: auto;
        text-align: center;
    }

    .footer-contact-actions {
        align-items: center;
    }

    .site-footer p {
        text-wrap: balance;
    }
}
