#footer {
    flex: 0 0 auto;
    background: var(--color-primary);
    color: var(--color-primary-inverse);
    padding: 45px 0 105px;
    position: relative;
}
.footer-inner {
    row-gap: 30px;
}
@media screen and (min-width: 992px) {
    #footer {
        padding: 45px 0 50px;
    }
}

.nav-footer__item {
    position: relative;
}
.nav-footer__item_submenu {
    margin: 0 0 10px;
}
.nav-footer__link {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    color: var(--color-primary-inverse);
    white-space: nowrap;
}
.nav-footer__link:hover {
    color: var(--color-primary-inverse);
    text-decoration-color: transparent;
}
.nav-footer__link_submenu,
.nav-footer__link_submenu:hover {
    color: var(--color-primary);
}
.nav-footer__submenu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%,0);
    display: none;
    background: var(--color-primary-inverse);
    box-shadow: var(--shadow);
    padding: 10px 15px 0;
    z-index: 3;
}
.nav-footer__submenu-toggle {}
.nav-footer__submenu-toggle:after {
    content: "\e902";
    font-family: var(--icons);
    font-size: 11px;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    transform: rotate(-90deg);
    text-decoration: none !important;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    transition: transform var(--animate);
}
.nav-footer__submenu-toggle_active:after {
    transform: rotate(90deg);
}
@media screen and (max-width: 767px) {
    .nav-footer {
        margin-bottom: 20px;
    }
    .nav-footer__item {
        display: inline-block;
        margin: 0 20px 20px 0;
        line-height: 1;
    }
    .nav-footer__item_submenu {
        margin: 0 0 10px;
    }
}
@media screen and (min-width: 768px) {
    .nav-footer__wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
        z-index: 1;
    }
    .nav-footer {
        display: flex;
        gap: 0 28px;
    }
    .nav-footer__list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .nav-footer__submenu {
        top: 0;
        left: calc(100% + 8px);
        bottom: auto;
        transform: none;
    }
    .nav-footer__submenu-toggle_active:after {
        transform: rotate(180deg);
    }
}

.footer-social {}
.footer-social__item {
    width: 100%;
    font-size: 15px;
    letter-spacing: -0.02em;
    padding: 0 16px;
    font-weight: 400;
}
@media screen and (min-width: 768px) {
    .footer-social__item {
        width: auto;
        font-size: 16px;
        letter-spacing: 0;
        padding: 0 24px;
    }
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.footer-contacts__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: var(--color-primary-inverse);
    white-space: nowrap;
}
.footer-contacts__phone:before {
    content: "\e901";
    font-family: var(--icons);
    font-size: 22px;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
}
.footer-contacts__phone:hover {
    color: var(--color-primary-inverse);
}
.footer-contacts__text {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.23;
    color: var(--color-primary-inverse);
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.footer-slogan {
    font-weight: 400;
    font-size: 26px;
    line-height: 1.19;
}
.footer-slogan__bold {
    font-weight: 800;
}
.footer-copyright {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.18;
}
.footer-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-primary-inverse);
}
.footer-text a:not([class]) {
    color: var(--color-primary-inverse);
}
.footer-text a:not([class]):hover {
    color: var(--color-primary-inverse);
}
@media screen and (min-width: 768px) {
    .footer-info {
        align-items: flex-end;
        text-align: right;
    }
    .footer-copyright {
        margin-bottom: 10px;
    }
}

.go-top {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,0);
    width: 66px;
    height: 66px;
    background: var(--color-primary-inverse);
    border-radius: 50px 50px 0 0;
    border: none;
    padding: 0;
    box-shadow: none;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.go-top:before {
    content: "\e904";
    font-family: var(--icons);
    font-size: 16px;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
    transition: transform var(--animate);
}
.go-top:hover:before {
    transform: translateY(-4px);
}