.services-carousel__wrapper {
    margin-bottom: 60px;
}

.services-carousel-bottom__wrapper {
    margin-top: 60px;
    margin-bottom: 60px;
}

.services-carousel__wrapper .features-slider,
.services-carousel-bottom__wrapper .features-slider-bottom {
    max-width: 100%;
    width: 100%;
    position: relative;
}

.services-carousel__wrapper .glide__slide,
.services-carousel-bottom__wrapper .glide__slide {
    height: auto;
    align-self: stretch;
}

.services-carousel__wrapper .features-item,
.services-carousel-bottom__wrapper .features-item {
    height: 100%;
    box-sizing: border-box;
}

.services-carousel__wrapper .features-item .features-item__inner,
.services-carousel-bottom__wrapper .features-item .features-item__inner {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--brand-text-color);
}

.services-carousel__wrapper .features-item__image,
.services-carousel-bottom__wrapper .features-item__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    background: #f4f4f4;
    flex-shrink: 0;
}

.services-carousel__wrapper .features-item__video,
.services-carousel-bottom__wrapper .features-item__video {
    display: block;
    max-width: 100%;
}

.services-carousel__wrapper .glide__arrows,
.services-carousel-bottom__wrapper .glide__arrows {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.services-carousel__wrapper .glide__aroow,
.services-carousel-bottom__wrapper .glide__aroow {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--brand-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

.services-carousel__wrapper .glide__aroow:hover,
.services-carousel-bottom__wrapper .glide__aroow:hover {
    background-color: var(--brand-text-color);
}

.services-carousel__wrapper .glide__arrow--left svg,
.services-carousel__wrapper .glide__arrow--right svg,
.services-carousel-bottom__wrapper .glide__arrow--left svg,
.services-carousel-bottom__wrapper .glide__arrow--right svg {
    width: 16px;
    height: 16px;
    display: block;
    transition: stroke .25s ease, transform .25s ease;
}

.services-carousel__wrapper .glide__aroow:hover svg,
.services-carousel-bottom__wrapper .glide__aroow:hover svg {
    stroke: #fff;
}

.services-carousel__wrapper .glide__arrow--left:hover svg,
.services-carousel-bottom__wrapper .glide__arrow--left:hover svg {
    transform: translateX(-2px);
}

.services-carousel__wrapper .glide__arrow--right:hover svg,
.services-carousel-bottom__wrapper .glide__arrow--right:hover svg {
    transform: translateX(2px);
}

.book_now_button {
    position: fixed;
    top: 50%;
    right: 0px;
    height: 0px;
    width: 119px;
    color: #8FF837;
    z-index: 999;
    margin-right: -38px;
}

.book_now_button a {
    border: 2px solid #8FF837;
    filter: drop-shadow(3px 3px 6px rgba(143, 248, 55, 0.5));
    transform: rotate(-90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 41px;
    width: 119px;
    color: #053bd2;
    font-weight: bold;
    /*background-color: #8FF837;*/
}

.services-navbar__wrapper {
    margin-bottom: 80px;
    overflow: auto;
}
@media (max-width: 1023px) {
    .services-navbar__wrapper {
        padding-top: 25px;
    }
}

.services-navbar__wrapper::-webkit-scrollbar {
    display: none;
}

.services-navbar {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.services-navbar__item {
    font-weight: 400;
    line-height: 100%;
    text-transform: uppercase;
    color: #053BD2;
    font-size: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--brand-text-color);
    flex: 1;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 120%;
}

.services-navbar__item.active {
    font-weight: 700;
}

.services-navbar__item:hover {
    opacity: 0.8;
}

@media (max-width: 991px) {
    .services-navbar__wrapper {
        margin-bottom: 40px;
    }

    .services-navbar__item {
        flex: auto;
    }

    .services-navbar__item:not(:last-child) {
        padding-right: 30px;
    }
}

@media (max-width: 648px) {
    .services-navbar {
        width: max-content;
    }

/* 1. Главная обертка — теперь она только позиционирует стрелку */
.services-navbar__wrapper {
    position: relative;
    width: 100%;
    background: #fff;
    /* Убираем overflow: hidden, если он мешал скроллу */
}

/* 2. Само меню — здесь ЖИВЕТ скролл */
.services-navbar {
    display: flex;
    flex-wrap: nowrap;      /* Запрещаем перенос строк */
    overflow-x: auto;       /* Включаем горизонтальный скролл */
    overflow-y: hidden;     /* Прячем вертикальный скролл */
    width: 100%;
    padding: 10px 0;        /* Настройте под свой дизайн */

    /* Плавность скролла */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Важно для iOS! */
}

/* Прячем полосу прокрутки (scrollbar) */
/*.services-navbar::-webkit-scrollbar {
    display: none;
}*/

.services-navbar__wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    /* Оставляем отступ снизу, чтобы не перекрывать скроллбар */
    bottom: 4px;

    /* Увеличиваем ширину блока, чтобы отодвинуть стрелку от текста */
    width: 80px;

    pointer-events: none;
    z-index: 10;

     background:
        /* 1. Сама стрелка: центрируем по вертикали (center) и прижимаем вправо (right 10px) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230052D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E")
        no-repeat right 10px top 58% / 18px,

        /* 2. Градиент: делаем его шире (30% вместо 15%), чтобы текст затухал плавно и задолго до стрелки */
        linear-gradient(to left, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}
/* 4. Стили элементов (чтобы они не сжимались) */
.services-navbar__item {
    flex-shrink: 0; /* Важно: запрещает пунктам сжиматься, чтобы они уходили за край */
/*    display: inline-block;*/
/*    padding-inline: 15px;*/
  /*  text-decoration: none;
    text-transform: uppercase;*/
}

/* Стилизация для Chrome, Safari и новых Edge */
.services-navbar::-webkit-scrollbar {
    height: 3px; /* Высота полоски */
}

.services-navbar::-webkit-scrollbar-track {
    background: #f1f1f1; /* Цвет дорожки (светло-серый) */
}

.services-navbar::-webkit-scrollbar-thumb {
    background: #0052D4; /* ВАШ СИНИЙ ЦВЕТ */
    border-radius: 10px;
}

/* Стилизация для Firefox */
.services-navbar {
    scrollbar-color: #0052D4 #f1f1f1;
    scrollbar-width: thin;
}

}
.services-item {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.services-item__title {
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    color: #053BD2;
    font-size: 30px;
    margin-bottom: 16px;
}

.services-item__desc {
    color: #053BD2;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

.services-item__desc p:not(:last-child) {
    margin-bottom: 10px;
}

.services-item__desc ul {
    list-style: none;
    padding-left: 0;
}

.services-item__desc ul li {
    position: relative;
    padding-left: 1.2em;
}
.services-item__desc ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.4em;
    height: 0.4em;
    background-color: var(--brand-text-color);
    border-radius: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.services-item__desc blockquote {
    background: var(--brand-text-color);
    color: white;
    font-weight: 600;
    font-size: 25px;
    padding: 5px 10px;
    width: fit-content;
}

.services-item__right {
    flex: 0 1 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
    flex-shrink: 0;
    align-items: flex-end;
}

.services-item__left {
    flex: 0 1 70%;
}

.services-item__prices {
    display: flex;
    gap: 25px;
    flex-direction: column;
}

@media (max-width: 992px) {
    .services-item__prices {
        gap: 5px;
    }
}

.services-item__price {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
}

.services-item__price-title {
    color: #053BD2;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.services-item__price-title:empty {
    display: none;
}

.services-item__price-number {
    color: #053BD2;
    font-size: 30px;
    font-weight: 500;
    line-height: 120%;
}

.services-item__prices--mobile {
    display: none;
}

.services__info img {
    object-fit: cover;
    width: 100%;
    height: 500px;
    border-radius: 15px;
}

.services__info p {
    color: #053BD2;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    flex-direction: column;
}
@media (max-width: 600px) {
    .services__info img {
        height: 300px;
    }
}
@media (max-width: 991px) {
    .services-item {
        justify-content: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .services-item__title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .services-item__prices--mobile {
        display: flex;
        flex-direction: row;
        gap: 20px;
        margin-bottom: 10px;
    }

    .services-item__prices--mobile .services-item__price {
        align-items: center;
        gap: 5px;
    }

    .services-item__prices--desktop {
        display: none;
    }

    .services-item__desc {
        max-width: 100%;
        font-size: 16px;
    }

    .services-item__right {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-item__price {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .services-item__price-title {
        font-size: 18px;
    }

    .services-item__price-number {
        font-size: 25px;
    }
}