.footer {
    position: relative;
    margin-top: auto;
    padding-top: 37px;
    padding-bottom: 20px;
    background-color: #F2F0F6;
    color: #463B3F;
}

@media (max-width: 868px) {
    .footer__container {
        padding-right: 38px;
        padding-left: 38px;
    }
}

.footer__body {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer__logo {
    order: 1;
    display: block;
    width: 176px;
    margin: 0 auto 10px;
}

.footer__logo-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.3968;
    object-fit: contain;
}

.footer__phone {
    margin-bottom: 20px;
    text-align: center;
}

.footer__phone a {
    font-size: 22px;
    line-height: 120%;
    font-family: 'Cocon', sans-serif;
    color: #463B3F;
}

.global_background-dark .footer__phone a {
    color: #ffffff;
}

.footer__connect {
    order: 2;
    margin-bottom: 30px;
}

.footer__callback,
.footer__appointment {
    display: block;
    width: 100%;
}

.footer__callback {
    margin-bottom: 16px;
}

.footer__menu {
    order: 3;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 14px;
    line-height: 130%;
}

.global_font-1 .footer__menu {
    font-size: 16px;
}

.global_font-2 .footer__menu {
    font-size: 18px;
}

.global_font-3 .footer__menu {
    font-size: 20px;
}

.footer__menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    column-count: 2;
}

.footer__menu-item {
    margin-bottom: 20px;
    break-inside: avoid;
}

.global_background-dark .footer__menu-item {
    color: #FFFFFF;
}

.footer__menu-link {
    text-decoration: none;
    color: #4A3942;
}

.footer__app {
    order: 4;
    margin-bottom: 30px;
}

.footer__app-item:first-child {
    margin-bottom: 12px;
}

.footer__app-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 7px 20px;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    border: 1px solid #463B3F;
    border-radius: 30px;
    color: #463B3F;
}

.footer__app-icon {
    margin-right: 10px;
    fill: currentColor;
}

.footer__app-img {
    display: block;
    width: 100%;
}

.footer__social {
    order: 5;
}

.footer__bottom {
    font-size: 14px;
    line-height: 140%;
}

.global_font-1 .footer__bottom {
    font-size: 16px;
}

.global_font-2 .footer__bottom {
    font-size: 18px;
}

.global_font-3 .footer__bottom {
    font-size: 20px;
}

.footer__copyright {
    margin-bottom: 30px;
}

.footer__developer {
    margin-right: -18px;
    margin-left: -18px;
    padding-top: 20px;
    border-top: 1px solid #666666;
}

.footer__developer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #463B3F;
    fill: #463B3F;
}

.global_background-dark .footer__developer-link {
    color: #ffffff;
    fill: #ffffff;
}

.footer__developer-link
.footer__developer-link:hover {
    text-decoration: none;
}

.footer__developer-text {
    margin-right: 4px;
}

.footer__developer-link:hover .footer__developer-icon {
    border-bottom: 1px solid #BDBDBD;
}

.footer__developer-icon {
    border-bottom: 1px solid transparent;
}

.global_font-1 .footer__developer-icon {
    width: 78px;
    height: 12px
}

.global_font-2 .footer__developer-icon {
    width: 90px;
    height: 14px
}

.global_font-3 .footer__developer-icon {
    width: 105px;
    height: 16px
}

.footer__glasses {
    display: none;
}

.footer__services {
    display: none;
}

@media (min-width: 869px) {
    .footer__body {
        display: block;
        margin-bottom: 45px;
    }

    .footer__body::after,
    .footer__bottom::after {
        content: '';
        display: table;
        clear: both;
    }

    .footer__menu {
        margin-bottom: 47px;
    }

    .footer__menu-list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-count: auto;
    }

    .footer__menu-item {
        margin: 0;
    }

    .footer__logo,
    .footer__app {
        float: left;
        clear: left;
    }

    .footer__logo {
        margin: 0 0 27px;
    }

    .footer__app {
        width: 255px;
        margin-bottom: 0;
    }

    .footer__app-link {
        width: auto;
        font-size: 16px;
    }

    .footer__glasses,
    .footer__connect,
    .footer__social {
        float: right;
        width: 306px;
        clear: right;
    }

    .footer__glasses {
        display: block;
        margin-bottom: 43px;
    }

    .footer__glasses-link {
        display: inline-flex;
        align-items: center;
        color: #463B3F;
    }

    .footer__glasses-icon {
        margin-right: 8px;
        fill: #463B3F;
    }

    .footer__glasses-text {
        font-size: 14px;
        line-height: 140%;
    }

    .footer__connect {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 40px;
    }

    .footer__phone {
        margin-right: auto;
        margin-bottom: 18px;
    }

    .footer__phone a {
        font-size: 18px;
    }

    .footer__callback {
        width: 135px;
        margin-bottom: 18px;
        padding: 5px 12px;
        font-size: 13px;
    }

    .footer__appointment {
        width: auto;
        padding: 13px 30px 12px;
    }

    .footer__social {
        justify-content: flex-start;
        border-top: 33px;
    }

    .footer__social-item {
        margin-right: 30px;
    }

    .footer__services {
        display: block;
        padding: 0 10px 0 30px;
        font-size: 16px;
        line-height: 120%;
        overflow: hidden;
    }

    .footer__services-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .footer__services-item {
        break-inside: avoid;
        margin-bottom: 24px;
    }

    .footer__services-link {
        color: #463B3F;
    }

    .footer__bottom {
        font-size: 12px;
    }

    .footer__copyright {
        float: left;
        width: calc(100% - 326px);
        margin: 0;
    }

    .footer__copyright br {
        display: none;
    }

    .footer__developer {
        float: right;
        width: 306px;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .footer__developer-link {
        justify-content: flex-start;
    }
}

@media (min-width: 1189px) {
    .footer__menu {
        font-size: 16px;
    }

    .footer__glasses,
    .footer__connect,
    .footer__social {
        width: 350px;
    }

    .footer__services {
        padding: 20px 30px 0 50px;
    }

    .footer__services-list {
        column-count: 2;
    }

    .footer__phone a {
        font-size: 23px;
    }

    .footer__copyright {
        width: calc(100% - 380px);
    }

    .footer__developer {
        width: 350px;
    }
}
