/* USP-Section вЂ” Figma 2001:442, 1440x858 */

.usp {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
    padding: 120px var(--gutter);
    background: var(--c-white);

    box-shadow:
            inset 0 1px 0 var(--c-line-mist),
            inset 0 -1px 0 var(--c-line-mist);
}

/* --- header --------------------------------------------------------------- */

.usp__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    flex-shrink: 0;
}


.usp__eyebrow-text {
    width: 179px;
}

.usp__title {
    width: 100%;
    text-align: center;
    word-break: break-word;
}

/* --- bento ---------------------------------------------------------------- */

.usp__bento {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    flex-shrink: 0;
}

.usp__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    width: 500px;
    flex-shrink: 0;
}

.usp__facts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex-shrink: 0;
}

.usp__stat {

    width: 189px;
    font-weight: 600;
    font-size: 92px;
    line-height: 1;
    letter-spacing: -1.84px;
    color: var(--c-primary);
    white-space: nowrap;
}

.usp__lead {
    white-space: nowrap;
}

.usp__text {
    width: 500px;
    color: var(--c-text-body);
}

.usp__compare {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background: var(--c-page);
    flex-shrink: 0;

    box-shadow: inset 0 0 0 1px var(--c-line-mist);
}

.usp__compare-text {
    flex: 1 0 0;
    min-width: 0;
    word-break: break-word;
}


.usp__accent {
    font-family: var(--font-inter);
    font-weight: 600;
    line-height: 0;
}

.usp__accent--brand {
    color: var(--c-primary);
}

/* --- photo ---------------------------------------------------------------- */

.usp__right {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex: 1 0 0;
    min-width: 0;
    height: 450px;
    border-radius: 24px;
    background: var(--c-surface-mist);
    overflow: hidden;
}

.usp__photo {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    align-self: stretch;
}

.usp__photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;

    pointer-events: none;
}

.usp__photo-img--lift {
    object-position: 50% 18%;
}


.usp__dots {
    top: 30px;
    right: 30px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    width: auto;
    height: 8px;
}

.usp__dots .nav-dots__dot {
    position: static;
    top: auto;
    right: 30px;
    transform: none;
    flex-shrink: 0;
}

.splide__pagination {
    left: unset;
    right: 30px;
}

.usp__header,
.usp__bento {
    max-width: var(--content-w);
    margin-inline: auto;
}


@media (max-width: 767px) {
    .usp {
        gap: 40px;
        padding: 60px var(--gutter);
    }


    .usp__eyebrow-text {
        width: 178px;
    }

    .usp__title {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -0.64px;
    }

    .usp__bento {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .usp__left {
        justify-content: flex-start;
        width: 100%;
        gap: 24px;
    }


    .usp__facts {
        align-items: stretch;
    }

    .usp__stat {
        width: 132px;
        font-size: 64px;
        letter-spacing: -1.28px;
    }

    .usp__lead {
        white-space: normal;
    }

    .usp__text {
        width: 100%;
    }

    .usp__right {
        flex: 0 0 auto;
        width: 100%;
    }

    .usp__arrow--next {
        left: auto;
        right: 0;
    }
}



/* Контейнер */
.usp__right {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
}

/* Splide занимает всю высоту */
.usp-splide {
    width: 100%;
    height: 100%;
}

.usp-splide .splide__track,
.usp-splide .splide__list {
    height: 100%;
}

.usp-splide .splide__slide {
    height: 100%;
}

/* Картинки заполняют слайд */
.usp-splide .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Стрелки */
.usp-splide .splide__arrow {
    background: none;
    border: none;
    width: auto;
    height: auto;
    opacity: 1;
}

/* Точки */
.usp-splide .splide__pagination {
    display: flex;
    gap: 8px;
    bottom: 20px;
}

.usp-splide .splide__pagination__page {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    margin: 0;
    opacity: 1;
}

.usp-splide .splide__pagination__page.is-active {
    background: #fff;
    transform: scale(1.2);
}

.usp-splide .splide__pagination {
    z-index: 10;
    display: flex;
    gap: 8px;
    bottom: 20px;
}

.usp-splide .splide__pagination__page {
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.usp-splide .splide__pagination__page.is-active {
    background: transparent;
    transform: scale(1.2);
}
/* Левая стрелка — разворачиваем изображение */
.usp-splide .splide__arrow--prev img {
    transform: rotate(180deg);
}

/* Убираем овал и другие эффекты при нажатии */
.usp-splide .splide__arrow,
.usp-splide .splide__arrow:hover,
.usp-splide .splide__arrow:focus,
.usp-splide .splide__arrow:active {
    outline: none;
    box-shadow: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

/* Не меняем фон кнопки при наведении и нажатии */
.usp-splide .splide__arrow:hover,
.usp-splide .splide__arrow:focus,
.usp-splide .splide__arrow:active {
    background: rgba(255, 255, 255, 0.01);
}