.site-footer__outer {
    position: relative;
    clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);
    height: var(--f-h);
}

.site-footer__wrapper {
    position: relative;
    height: calc(var(--f-h) * 2);
    top: calc(var(--f-h) * -1);
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 6vw 2.333vw 2vw;
    box-sizing: border-box;
    z-index: 1;
}

@media screen and (max-width: 639px) {
    .site-footer {
        padding: 10vw 6.667vw 8vw;
    }
}

/* .site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2.333vw;
    right: 2.333vw;
    height: 0.067vw;
    background-color: rgba(240, 240, 240, 0.15);
} */

.site-footer__inner {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4vw;
    max-width: calc(-1.253vw + 100vw);
    margin: 0 auto;
}

@media screen and (max-width: 639px) {
    .site-footer__inner {
        flex-flow: column;
        gap: 10vw;
        max-width: 100%;
    }
}

.site-footer__left {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    flex-shrink: 0;
}

@media screen and (max-width: 639px) {
    .site-footer__left {
        flex-direction: row;
        align-items: center;
        gap: 5vw;
    }
}

.site-footer__branding {
    width: 2.8vw;
    height: 2.8vw;
    display: block;
    color: var(--color-white);
    text-decoration: none !important;
    transition: opacity 0.5s ease;
}

.site-footer__branding:hover {
    opacity: 0.7;
}

@media screen and (max-width: 639px) {
    .site-footer__branding {
        width: 10vw;
        height: 10vw;
    }
}

.site-footer__branding svg {
    width: 100%;
    height: 100%;
}

.site-footer__tagline {
    font-size: 1vw;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(240, 240, 240, 0.5);
    max-width: 18vw;
}

@media screen and (max-width: 639px) {
    .site-footer__tagline {
        font-size: 3.5vw;
        max-width: 65vw;
        line-height: 1.4;
    }
}

.site-footer__nav {
    display: flex;
    flex-flow: row;
    gap: 6vw;
}

@media screen and (max-width: 639px) {
    .site-footer__nav {
        flex-flow: row;
        flex-wrap: wrap;
        gap: 4vw;
        width: 100%;
        justify-content: space-between;
    }
}

.site-footer__nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
}

@media screen and (max-width: 639px) {
    .site-footer__nav-group {
        gap: 3vw;
        flex: 0 0 calc(50% - 2vw);
    }
}

.site-footer__nav-label {
    font-size: 0.8vw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(240, 240, 240, 0.35);
    margin-bottom: 0.5vw;
}

@media screen and (max-width: 639px) {
    .site-footer__nav-label {
        font-size: 2.8vw;
        margin-bottom: 2vw;
    }
}

.site-footer__nav-group a {
    font-size: 1vw;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    line-height: 1.6;
    position: relative;
    width: fit-content;
    display: inline-block;
    transition: color 0.4s ease;
}

@media screen and (max-width: 639px) {
    .site-footer__nav-group a {
        font-size: 3.5vw;
    }
}

.site-footer__nav-group a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: auto;
    right: 0;
    width: 0%;
    height: 0.067vw;
    background-color: currentcolor;
    transition: 0.7s cubic-bezier(0, 0, 0.2, 1);
}

.site-footer__nav-group a:hover::before,
.site-footer__nav-group a:focus::before {
    right: auto;
    left: 0;
    width: 100%;
}

@media (max-width: 639px) {

    .site-footer__nav-group a:hover::before,
    .site-footer__nav-group a:focus::before {
        width: 0%;
    }
}

.site-footer__right {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    align-items: flex-end;
}

@media screen and (max-width: 639px) {
    .site-footer__right {
        align-items: flex-start;
        gap: 6vw;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3vw;
}

@media screen and (max-width: 639px) {
    .site-footer__contact {
        align-items: flex-start;
        gap: 1vw;
    }
}

.site-footer__contact-label {
    font-size: 0.8vw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(240, 240, 240, 0.35);
    margin-bottom: 0.3vw;
}

@media screen and (max-width: 639px) {
    .site-footer__contact-label {
        font-size: 2.8vw;
        margin-bottom: 1vw;
    }
}

.site-footer__contact a {
    font-size: 1vw;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    line-height: 1.6;
    position: relative;
    width: fit-content;
    display: inline-block;
}

@media screen and (max-width: 639px) {
    .site-footer__contact a {
        font-size: 3.5vw;
    }
}

.site-footer__contact a::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
    width: 100%;
    height: 0.067vw;
    background-color: currentcolor;
    transition: 0.7s cubic-bezier(0, 0, 0.2, 1);
}

.site-footer__contact a:hover::before,
.site-footer__contact a:focus::before {
    left: auto;
    right: 0;
    width: 0%;
}

@media (max-width: 639px) {

    .site-footer__contact a:hover::before,
    .site-footer__contact a:focus::before {
        width: 100%;
    }
}

.site-footer__socials {
    display: flex;
    flex-flow: row;
    gap: 0.627vw;
    align-items: center;
}

@media screen and (max-width: 639px) {
    .site-footer__socials {
        gap: 4vw;
        margin-top: 2vw;
        display: flex;
        justify-content: flex-start;
    }
}

.site-footer__socials a {
    width: 2.67vw;
    height: 2.67vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background-color: rgba(240, 240, 240, 0.1);
    border-radius: 100%;
    text-decoration: none !important;
    transition: 0.6s cubic-bezier(0, 0, 0, 1);
}

@media screen and (max-width: 639px) {
    .site-footer__socials a {
        width: 12vw;
        height: 12vw;
    }
}

.site-footer__socials a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border-radius: 100%;
    z-index: -1;
    transform: scale(0);
    visibility: hidden;
    transition: 0.6s cubic-bezier(0, 0, 0, 1);
}

.site-footer__socials a:hover::before,
.site-footer__socials a:focus::before {
    transform: scale(1.1);
    visibility: visible;
}

.site-footer__socials a svg {
    color: var(--color-white);
    transition: 0.6s cubic-bezier(0, 0, 0, 1);
}

.site-footer__socials a:hover svg,
.site-footer__socials a:focus svg {
    color: var(--color-dark);
}

@media (max-width: 639px) {

    .site-footer__socials a:hover::before,
    .site-footer__socials a:focus::before {
        transform: scale(0);
        visibility: hidden;
    }

    .site-footer__socials a:hover svg,
    .site-footer__socials a:focus svg {
        color: var(--color-white);
    }
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6vw;
    padding-top: 1.5vw;
    border-top: 0.067vw solid rgba(240, 240, 240, 0.1);
    max-width: calc(-1.253vw + 100vw);
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 639px) {
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4vw;
        margin-top: 8vw;
        padding-top: 5vw;
        max-width: 100%;
    }
}

.site-footer__copyright {
    font-size: 0.8vw;
    font-weight: 400;
    color: rgba(240, 240, 240, 0.35);
    line-height: 1;
}

@media screen and (max-width: 639px) {
    .site-footer__copyright {
        font-size: 2.8vw;
    }
}

.site-footer__back-top {
    font-size: 0.8vw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5vw;
    transition: opacity 0.4s ease;
}

.site-footer__back-top:hover {
    opacity: 0.6;
}

@media screen and (max-width: 639px) {
    .site-footer__back-top {
        display: none;
    }
}

.site-footer__back-top .arrow-up {
    display: inline-block;
    font-size: 1.2vw;
    transition: transform 0.4s cubic-bezier(0, 0, 0.2, 1);
}

.site-footer__back-top:hover .arrow-up {
    transform: translateY(-0.3vw);
}

@media screen and (max-width: 639px) {
    .site-footer__back-top .arrow-up {
        font-size: 4vw;
    }
}