.footer-site {
    padding: 60px 0 41px;
    color: #fff;
    background: var(--color-2);
}

.footer_top {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row-gap: 35px;
    padding-bottom: 37px;
}

.footer_logotype img {
    max-width: 258px;
}

.footer_social {
    position: relative;
    display: flex;
    grid-column-gap: 25px;
}


.footer_social li {
    position: relative;
    display: flex;
    align-items: center;
    grid-column-gap: 12px;
}

.footer_social a {
    position: relative;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
}

.footer_menu .menu a::after,
.footer_social a::after {
    content: "";
    left: 50%;
    bottom: -4px;
    display: block;
    height: 2px;
    position: absolute;
    background: var(--color-1);
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.footer_menu .menu a:hover::after,
.footer_social a:hover::after {
    width: 100%;
    left: 0;
}

.footer_bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
}

.footer_bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 1330px;
    width: calc(100% - 30px);
    height: 1px;
    margin: 0 auto;
    background: var(--color-1);
}

#copyright {
    font-size: 11px;
    line-height: 18px;
}

.footer_menu .menu {
    display: flex;
    grid-column-gap: 20px;
}

.footer_menu .menu li {
    position: relative;
}

.footer_menu .menu a {
    position: relative;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-6);
}

.back_to_top {
    position: absolute;
    top: 65px;
    right: 5px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 1px;
    color: #fff;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.back_to_top__icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    border-radius: 50%;
    color: #fff;
    background: var(--color-1);
    transition: all .3s ease;
    overflow: hidden;
    z-index: 1;
}

.back_to_top:hover .back_to_top__icon {
    color: var(--color-1);
}

.back_to_top__icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(100%);
    transition: all .3s ease;
    opacity: 0;
    z-index: -1;
}

.back_to_top:hover .back_to_top__icon::before {
    transform: translateY(0);
    opacity: 1;
}

@media (min-width: 992px) {
    .footer-site {
        padding: 26px 0 24px;
    }

    .footer_top {
        grid-row-gap: 29px;
        padding-bottom: 24px;
    }

    .footer_logotype img {
        max-width: 234px;
    }

    .footer_social li {
        grid-column-gap: 12px;
    }

    .footer_social li:not(:last-child):after {
        content: "|";
        position: absolute;
        top: 3px;
        right: -14px;
        color: #fff;
    }

    .footer_social a {
        position: relative;
        font-size: 18px;
        line-height: normal;
    }

    .footer_menu .menu li:not(:last-child):after {
        content: "|";
        position: absolute;
        top: 0;
        right: -13px;
        color: var(--color-6);
    }

    #copyright {
        font-size: 14px;
    }

    .footer_menu .menu a {
        font-size: 14px;
    }
}

@media (min-width: 1331px) {
    .footer_bottom::before {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .back_to_top {
        display: none;
    }
    
    .footer_social {
        flex-direction: column;
        align-items: center;
        grid-row-gap: 8px;
    }

    .footer_bottom {
        flex-direction: column;
        align-items: center;
        grid-row-gap: 26px;
    }

    .footer_menu {
        max-width: 201px;
        width: 100%;
    }

    .footer_menu .menu {
        position: relative;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .footer_menu .menu::after {
        content: "|";
        position: absolute;
        top: 3px;
        left: 47%;
        font-size: 12px;
        color: var(--color-6);
    }
}