.consult-sect__item.text-hover-black:hover {
    color: #000;
}

.main-sect__slider .swiper-wrapper {
    height: auto !important;
}

.main-sect__slide .main-sect__container {
    min-height: auto;
}

.main-footer__nav {
    justify-content: flex-start;
}

.card-sect__block.active {
    display: block !important;
}

.card-sect__tabs {
    display: flex !important;
}

.def-title, .dir-sect__item-title, .counts-sect__item strong, .desc-sect__item-info-title {
    font-family: Manrope, Arial, sans-serif;
}

.dirs-sect__items {
    grid-template-columns: repeat(2, 1fr);
}

.fabr-sect {
    padding: 15px 0 70px;
}

.main-header__nav a {
    text-transform: uppercase;
}

@media only screen and (max-width: 1200px) {
    .card-sect__list>div>div strong {
        font-size: 1em;
    }

    .def-title {
        font-size: 42px;
    }
}

@media only screen and (max-width: 992px) {
    .main-sect__slide-links a {
        height: auto;
        aspect-ratio: 1/1;
        flex: 0 0 calc((100% / 4) - ((15px * 3) / 4));
        width: calc((100% / 4) - ((15px * 3) / 4));
    }

    .dirs-sect__items {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 10px;
    }
}

@media only screen and (max-width: 576px) {
    .main-sect__slide-links a {
        height: auto;
        aspect-ratio: 1/1;
        flex: 0 0 calc((100% / 4) - ((10px * 3) / 4));
        width: calc((100% / 4) - ((10px * 3) / 4));
    }
}

.cookie {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
}

.cookie .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    background-color: #fff;
    padding: 15px 20px;
    box-shadow: -2px 2px 10px 1px rgba(163, 168, 179, .71);
}

.cookie .container p {
    width: 100%;
    font-size: 14px;
    margin-bottom: 0;
    padding-left: 7px;
    margin-right: 20px;
}

.cookie .container .button__fill_curve {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    padding: 7px 30px 5px;
    line-height: normal;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    border: none;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 500;
    text-transform: uppercase;
    height: 50px;
    letter-spacing: .01em;
    -webkit-transition: all .35s ease-out;
    -o-transition: all .35s ease-out;
    transition: all .35s ease-out;
    color: #245647;
    background-color: rgba(36, 86, 71, .15);
}

.cookie .container .button__fill_curve:hover {
    color: #245647;
    background-color: rgba(36, 86, 71, .25);
}

.info-sect__map,
.info-sect__map img {
    height: 85%;
    width: auto;
    margin-top: 25px;
}

/* обёртка секции – точка отсчёта для карты */
.info-sect__content {
    position: unset;
    z-index: 1;
}

/* десктоп: карта справа, но не вылезает за правый край окна */
.info-sect__map {
    position: absolute;
    top: 0;
    right: 0;
    /* вместо больших отрицательных значений */
    z-index: -1;
    aspect-ratio: 16/9;
    left: unset;
}

/* карта может быть больше блока, но не даём горизонтальный скролл */
.info-sect__container {
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cookie .container {
        width: 750px;
    }
}

@media (min-width: 1200px) {
    .cookie .container {
        width: 1170px;
    }
}

@media (max-width: 540px) {
    .cookie .container {
        flex-direction: column;
        gap: 20px;
    }

    .cookie .container .button__fill_curve {
        width: 100%;
    }
}

/* мобильная версия: карта уходит под текст обычным блоком */
@media (max-width: 992px) {
    .cookie .container {
        width: 970px;
    }

    .info-sect__map {
        height: 70% !important;
        top: unset !important;
        transform: unset !important;
    }

    .info-sect__map {
        position: static;
        right: auto;
        top: auto;
        z-index: 0;
        margin-top: 20px;
        display: block;
        text-align: center;
    }

    .info-sect__map img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 1500px) {
    .info-sect__map {
        height: 40vw;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .about-sect__gal-item--long {
        grid-column: span 3;
    }

    .about-sect__gal {
        grid-template-columns: repeat(7, 1fr);
    }

    .about-sect__gal-item {
        display: flex;
    }
}