/* ===================================
   HERO SLIDER - Кастомный слайдер
   =================================== */

.hero-slider {
    width: 100%;
    max-width: 1170px;
    margin: 30px auto;
    padding: 0 15px;
}

.hero-slider__wrapper {
    border: 3px solid #D3D5D8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

/* Слайд */
.hero-slide {
    background: #fff;
}

.hero-slide__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    min-height: 420px;
    text-decoration: none;
    gap: 40px;
}

/* Левый блок - контент */
.hero-slide__content {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 20px;
}

.hero-slide__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 120%;
    letter-spacing: 0;
    text-align: left !important;
    color: #2E4892;
    margin: 0 0 25px 0;
}

.hero-slide__description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    letter-spacing: 0;
    color: #242D3C;
    margin: 0 0 30px 0;
    padding-left: 0;
}

.hero-slide__description li {
    list-style: disc;
    margin-bottom: 8px;
    margin-left: 20px;
}

.hero-slide__button {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 120% !important;
    letter-spacing: 0 !important;
    text-transform: unset !important;
    background-color: #2E4892 !important;
    border-radius: 10px !important;
    max-width: 228px !important;
    padding: 16px 37px !important;
    border: none !important;
    color: #fff !important;
}

.hero-slide__inner:hover .hero-slide__button {
    background-color: #1e3266;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 72, 146, 0.3);
}

/* Правый блок - изображение */
.hero-slide__image {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide__image img {
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Навигация */
.hero-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #2E4892;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(46, 72, 146, 0.3);
}

.hero-slider__nav:hover {
    background: #1e3266;
}

.hero-slider__nav svg {
    width: 34px;
    height: 34px;
}

.hero-slider__prev {
    left: 20px;
}

.hero-slider__next {
    right: 20px;
}

/* ===================================
   АДАПТИВНОСТЬ
   =================================== */

@media (max-width: 1024px) {
    .hero-slide__inner {
        padding: 40px;
        gap: 30px;
    }

    .hero-slide__content {
        padding-left: 20px;
    }

    .hero-slide__title {
        font-size: 32px;
        text-align: center !important;
    }

    .hero-slide__button {
        padding: 16px 30px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero-slide__inner {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        min-height: auto;
    }

    .hero-slide__content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        order: 1;
    }

    .hero-slide__image {
        flex: 0 0 100%;
        max-width: 100%;
        order: 2;
        margin-top: 20px;
    }

    .hero-slide__image img {
        max-height: 250px;
        opacity: 0.7;
    }

    .hero-slide__title {
        font-size: 22px;
        text-align: center;
    }

    .hero-slide__description {
        text-align: center;
    }

    .hero-slide__button {
        width: auto;
        height: auto;
        padding: 14px 28px;
        font-size: 14px;
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    .hero-slide__title {
        font-size: 20px;
    }

    .hero-slide__button {
        font-size: 12px;
        padding: 12px 24px;
    }

    .hero-slider__nav {
        width: 35px;
        height: 35px;
    }
}