.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex ;
    align-items: center;
    justify-content: space-between;
}

.hero-main-kicker {
    margin: 0;
    font-weight: 400;
    color: #ffffff;
    font-size: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;

    display: inline-block;
    font-family: 'Unbounded', sans-serif;
}

.hero {
    min-height: 600px;
    height: calc(90vh + 20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 0%) 30%), no-repeat;
    color: #fff;
    position: relative;
    min-height: 500px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.hero-main h1 {
    color: #ffffff;
    font-size: 52px;
    margin: 0;
    font-weight: 500;
    line-height: 1;
    padding-right: 10px;
    padding-bottom: 8px;
    margin-bottom: 5px;
    font-family: 'Unbounded', sans-serif;
}


/* Внешняя обертка для прокрутки */
.hero-advantages-wrapper {
    overflow-x: auto;
    padding: 5px 0 60px;
    overflow: hidden;
}

/* Внутренняя линия преимуществ */
.hero-advantages {
    display: flex;
    flex-wrap: nowrap; /* Только в одну строку */
    gap: 20px;
    padding: 0 20px;
}

/* Каждое преимущество */
.hero-advantage {
    flex: 0 0 auto; /* Не сжиматься, ширина по контенту */
    min-width: 150px;
    text-align: center;
    color: #333;
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
}

/* Скрыть горизонтальный скроллбар на мобильных для красоты (по желанию) */
.hero-advantages-wrapper::-webkit-scrollbar {
    display: none;
}

.hero-advantages-wrapper {
    -ms-overflow-style: none; /* IE и Edge */
    scrollbar-width: none; /* Firefox */
    background: linear-gradient(360deg, #0000008a, transparent);
}

.hero-advantages-wrapper .swiper-horizontal {
    width: 100%;
    overflow: visible;
}

.menu-advantages-wrapper .swiper-horizontal {
    width: 100%;
    overflow: visible;
}

.apart-snippet-link {
    display: block;
    width: 100%;
    height: 100%;
    color: #28283A;
}

.apart-snippet {
    padding: 20px;
    background: #fffffff0;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    transition: all .4s;
    /* background: linear-gradient(90deg, #94c3ff, #a6c5ff); */
    backdrop-filter: blur(10px);
    color: var(--text-color);
    pointer-events: none;
}

.apart-snippet:hover {
    transform: scale(1.02); /* background: #3aa6f1; *//* background: linear-gradient(138deg, #34a1ff, #56c2a0); */

}

.apart-snippet-name {
    font-size: 16px;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
    color: var(--text-color)
}

.apart-snippet-size {
    font-size: 11px;
    color: var(--text-color);
    font-family: 'Unbounded', sans-serif;
    color: var(--text-color)
}

.apart-snippet-price {
    font-size: 14px;
    color: var(--text-color);
    font-family: 'Unbounded', sans-serif;
    color: var(--text-color)
}

.apart-snippet-price-num {
    font-size: 28px;
    font-family: 'Unbounded', sans-serif;
    color: var(--text-color)
}

.apart-snippet-count {
    font-size: 12px;
    color: var(--text-color);
    font-family: 'Unbounded', sans-serif;

}

.apart-snippet-discount {
    color: #6cc518;
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: baseline;

    padding: 5px 0 0;
    height: 24px;
    width: 100%;
    display: inline-block;
    font-family: 'Unbounded', sans-serif;
}

.apart-snippet-discount span {
    font-size: 18px; /* padding: 0 5px; */
}

/* Десктоп — всё ок, базовые стили */


.flats_summary .swiper .swiper-wrapper {
    align-items: stretch; /* важно! */
    padding: 10px 0px;
}

.flats_summary .swiper .swiper-slide {
    display: flex;
    flex-direction: column; /* если нужен вертикальный флекс */
    width: 15%;
    min-width: 220px;
}

.flats_summary .flats-swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 20px;
    left: auto;
    top: -20px;
    right: 45px;
    z-index: 2;
}

.flats_summary .flats-swiper-button-next {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 20px;
    right: 0px;
    top: -20px;
    z-index: 2;
}

.flats_summary .flats-swiper-button-prev:after, .flats_summary .flats-swiper-button-next:after {
    font-size: 12px;
}


.hero-main {
    padding: 40px 0 0px;
    text-align: left;
    color: #fff;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.hero-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(180deg, #000000c7, transparent);
}

.hero-background:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background: linear-gradient(360deg, #0000008a, transparent);
}





@media (max-width: 768px) {
    .hero-main h1 {
        font-size: 36px;
        line-height: 32px;
        font-weight: 500;
    }

    .wrapper {

        padding: 0 24px;

    }

    .flats_summary .flats-swiper-button-prev{
        display:none;
    }
    .flats_summary .flats-swiper-button-next{
        display:none;
    }
}