.site-footer {
    color: #ffffff;
    background: var(--um-blue-deep);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.site-footer__main {
    padding: 58px 28px 46px;
}

.site-footer__inner {
    display: grid;
    width: min(100%, 1280px);
    margin: 0 auto;
    grid-template-columns:
        minmax(190px, 1.15fr)
        minmax(190px, 1fr)
        minmax(220px, 1.25fr)
        minmax(180px, 0.9fr);
    gap: clamp(30px, 4vw, 68px);
}

.site-footer__brand {
    color: rgb(255 255 255 / 78%);
}

.site-footer__logo {
    display: inline-flex;
}

.site-footer__logo img {
    display: block;
    width: 150px;
    height: auto;
}

.site-footer__brand p {
    max-width: 240px;
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.55;
}

.site-footer__column h2 {
    margin: 0 0 16px;
    font-family:
        Onest,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.site-footer__contact-list,
.site-footer__navigation,
.site-footer__legal ul,
.social-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__contact-list {
    display: grid;
    gap: 14px;
}

.site-footer__contact-list li {
    display: grid;
    gap: 3px;
}

.site-footer__contact-list a,
.site-footer__navigation a,
.site-footer__legal a {
    color: rgb(255 255 255 / 82%);
    text-decoration: none;
}

.site-footer__contact-list a:hover,
.site-footer__contact-list a:focus-visible,
.site-footer__navigation a:hover,
.site-footer__navigation a:focus-visible,
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__contact-list strong {
    color: #ffffff;
    font-size: 14px;
}

.site-footer__contact-list small {
    color: rgb(255 255 255 / 58%);
    font-size: 12px;
}

.site-footer__locations {
    display: grid;
    gap: 20px;
}

.site-footer__locations address {
    display: flex;
    flex-direction: column;
    color: rgb(255 255 255 / 75%);
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
}

.site-footer__locations strong {
    margin-bottom: 4px;
    color: #ffffff;
}

.site-footer__navigation {
    display: grid;
    gap: 9px;
    font-size: 14px;
}

.site-footer__follow-heading {
    margin-top: 28px !important;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border: 1px solid rgb(255 255 255 / 36%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        transform 150ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    border-color: #ffffff;
    background: rgb(255 255 255 / 12%);
    transform: translateY(-2px);
}

.social-links svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.site-footer__legal {
    border-top: 1px solid rgb(255 255 255 / 13%);
    background: rgb(0 0 0 / 13%);
}

.site-footer__legal-inner {
    display: flex;
    width: min(100%, 1280px);
    min-height: 76px;
    margin: 0 auto;
    padding: 20px 28px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer__legal p {
    margin: 0;
    color: rgb(255 255 255 / 62%);
    font-size: 12px;
    line-height: 1.55;
}

.site-footer__legal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.site-footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
    font-size: 12px;
}

.site-footer__cookie-button {
    padding: 0;
    border: 0;
    color: rgb(255 255 255 / 76%);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 850;
    display: inline-flex;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--um-blue);
    box-shadow: 0 8px 24px rgb(16 35 76 / 28%);
    cursor: pointer;
    opacity: 1;
    transition:
        opacity 150ms ease,
        transform 150ms ease;
}

.scroll-top[hidden] {
    display: none;
}

.scroll-top:hover,
.scroll-top:focus-visible {
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 960px) {
    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__legal-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__legal-actions,
    .site-footer__legal ul {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .site-footer__main {
        padding: 46px 22px 36px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__legal-inner {
        padding: 20px 22px;
    }

    .site-footer__legal-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
    }
}
