.footer {
    background: var(--grey);
    color: var(--dark-40);
    --c-link: var(--color-100);
    --c-link-hover: var(--dark-10);
    padding-top: 28px;
    padding-bottom: 90px;
}

.footer__btn-up {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 64px;
    color: var(--dark-10);
    background: var(--dark-80);
    cursor: pointer;
    transition: color var(--trs-out), background-color var(--trs-out);
    position: fixed;
    z-index: 10;
    right: 10px;
    bottom: 82px;
}
.footer__btn-up:not(.is-active) {
    display: none;
}
.footer__btn-up:hover {
    background: var(--color-100);
    color: var(--dark-10);
    transition: color var(--trs-in), background-color var(--trs-in);
}
.footer a {
    color: var(--white);
}
.footer__top {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px
}

.footer__top > *{
    width: 100%;
}

.footer__top__schedule__time,
.footer__top__contacts__phone{
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: var(--white);
}
.footer__top__contacts__feedback a,
.footer__top__contacts__email a{
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--blue);
}
.footer__top__social .social-links__list{
    justify-content: center;
}
.footer .social-links__item:hover {
    background-color: var(--blue);
}

.footer__map {
    height: 400px;
    border-radius: var(--bdrs);
    overflow: hidden;
    margin: 0 0 24px
}

.footer__map-marker {
    width: 355px;
    padding: 24px;
    border-radius: var(--bdrs);
    align-items: flex-start;
    gap: 16px;
    background: var(--dark-10);
    color: var(--dark-100);
    transform: translate(-50%, -100%);
    margin-top: -16px;
    display: none;
    position: relative
}

.footer__map-marker:after {
    display: block;
    content: "";
    width: 32px;
    height: 17px;
    background: var(--dark-10);
    position: absolute;
    top: 100%;
    left: 50%;
    margin: -1px 0 0 -16px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%)
}

.footer__map-marker {
    filter: drop-shadow(0px 0px 30px rgba(42, 48, 71, .1))
}

.footer__map-marker-icon {
    flex: 0 0 54px
}

.footer__map-marker-icon img {
    display: block;
    width: 100%;
    height: auto
}

.footer__map-marker-heading {
    margin: 0 0 12px;
    font-weight: 600
}

.footer__map-marker-cta {
    margin: 0;
    text-align: center
}

.footer__map-marker-cta a {
    color: var(--color-100)
}

.footer__info{
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: var(--white-2);
    margin-bottom: 24px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--dark-50);
    --c-link: var(--dark-50);
    font-size: 14px;
    line-height: 18px
}

.footer__bottom-item,
.footer__bottom-item a{
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: var(--white);
}
.footer__bottom-item a {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .footer__top__logo{
        width: 160px;
    }
    .footer__map {
        height: 256px;
        margin-bottom: 32px
    }
    .footer__map-marker {
        width: calc(100vw - 52px);
        max-width: 355px;
        padding: 16px
    }
    .footer__map-marker-icon {
        flex-basis: 38px
    }
}

@media (max-width: 991px) {
    .footer__bottom-item{
        width: 100%;
    }
    .footer__bottom {
        flex-direction: row-reverse;
    }
}


@media (min-width: 700px) {
    .footer__top__schedule{
        text-align: right;
    }
    .footer__top > *:not(.footer__top__logo__wrap){
        width: 48%;
    }
    .footer__top__social .social-links__list{
        justify-content: flex-end;
    }
}
@media (min-width: 992px) {
    .footer__bottom {
        gap: 10px;
    }
    .footer__top {
        margin-bottom: 32px;
    }
    .footer__map {
        margin-bottom: 30px;
    }
    .footer__info {
        margin-bottom: 60px;
    }
    .footer {
        padding-top: 60px;
        padding-bottom: 42px;
    }
    .footer__bottom-item a {
        text-decoration: none;
    }
    .footer__btn-up {
        right: 14px;
        bottom: 130px;
    }
}

@media (min-width: 1200px) {
    .footer__top{
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .footer__top > *{
        flex: none;
        white-space: nowrap;
    }
    .footer__top > .footer__top__contacts{
        order: 1;
        width: 195px;
    }
    .footer__top > .footer__top__schedule{
        order: 2;
        text-align: left;
        width: 200px;
    }
    .footer__top > .footer__top__logo__wrap{
        display: block;
        text-align: center;
        order: 3;
        width: 200px;
        flex: none;
    }
    .footer__top > .footer__top__social{
        order: 4;
        width: 195px;
    }
    .footer__top > .footer__top__cta{
        order: 5;
        width: 200px;
    }
    .footer__top__social .social-links__list {
        justify-content: center;
    }
}

@media (min-width: 1200px){
    .header__main-connect-cta{
        flex: none;
        width: 200px;
    }
}
@media (min-width: 1200px) and (max-width: 1400px){

}

@media (min-width: 1580px) {
    .footer__top {
        gap: 100px;
    }
    .footer__top > .footer__top__logo__wrap{
        width: 305px;
    }
}