.feature__outer {
    display: flex;
    align-items: center;
    position: relative;
}

.feature__slider-wrap {
    flex: 1;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    z-index: 0;
}

.feature__track {
    display: flex;
    transition: transform 0.5s ease;
}

.feature__slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.feature__inner {
    display: flex;
    align-items: stretch;
    height: 402px;
    position: relative;
    background: url('./promo-bg.webp') center/cover no-repeat;
}

.feature__content {
    flex: 0 0 55%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.feature__content .section-title {
    font-size: 40px;
    color: var(--white);
    line-height: 122%;
    margin-bottom: 0;
    text-transform: uppercase;
}

.feature__content p {
    font-size: 22px;
    font-weight: 500;
    margin-top: 20px;
    color: var(--white);
    line-height: normal;
}

.btn--feature {
    margin-top: 40px;
    padding: 20px 30px;
    font-size: 20px;
}

.feature__image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

.feature__image img {
    position: absolute;
    top: 0;
    left: 10%;
    width: 85%;
    height: 149%;
    max-width: none;
    object-fit: cover;
}

.feature__nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.feature__nav-btn--prev {
    left: -29px;
}

.feature__nav-btn--next {
    right: -29px;
}

.feature__nav-btn:hover {
    background: #b8d0e8;
}

.feature__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 5;
}

.feature__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.feature__dot--active {
    width: 23px;
    height: 23px;
    background: var(--orange);
}

@media (max-width: 1024px) {
    .feature__inner {
        flex-direction: column;
        height: 100%;
    }

    .feature__image {
        min-height: 220px;
        flex: none;
    }

    .feature__image img {
        position: relative;
        left: 0;
        width: 100%;
        height: 220px;
    }

    .feature__content {
        padding: 30px;
        flex: none;
    }

    .feature__content .section-title {
        font-size: 28px;
    }

    .feature__nav-btn {
        width: 40px;
        height: 40px;
    }

    .feature__nav-btn--prev {
        left: -14px;
    }

    .feature__nav-btn--next {
        right: -14px;
    }
}

@media (max-width: 768px) {
    .feature__slider-wrap {
        border-radius: 30px;
    }

    .feature__content {
        padding: 29.5px 17px 0 15px;
    }

    .feature__content .section-title {
        font-size: 22px;
        line-height: 122%;
    }

    .feature__content p {
        font-size: 16px;
        line-height: normal;
        margin-top: 15px;
    }

    .btn--feature {
        padding: 13.5px 30px;
        font-size: 16px;
        margin-top: 20px;
    }

    .feature__image {
        min-height: auto;
        height: 226px;
        border-radius: 30px;
        box-shadow: 2px 10px 9.4px 0 rgba(0, 0, 0, 0.25);
    }

    .feature__image img {
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    .feature__nav-btn {
        top: 64%;
    }
}
