/* === REVEAL SECTION STYLES === */
.reveal-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.reveal-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reveal-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Текстовая часть */
.reveal-text {
    flex: 1;
    min-width: 0; /* 🔥 ВАЖНО: предотвращает переполнение */
}

.reveal-text .text-content {
    width: 100%;
}

.reveal-text .text-content h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #FFB800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.reveal-text .text-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
}

.reveal-text .text-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
}

.reveal-text .text-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.reveal-text .text-content strong {
    font-weight: 700;
    color: #333;
}

/* Стили для маркированных списков */
.reveal-text .text-content ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.reveal-text .text-content li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
    text-align: left;
}

.reveal-text .text-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #FFB800 0%, #E6A600 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Строка с 3 словами */
.words-strip {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.word-item {
    padding: 14px 24px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    white-space: nowrap;
    margin-right: -10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.word-comfort {
    background: linear-gradient(135deg, #FFB800 0%, #E6A600 100%);
    z-index: 3;
    transform: rotate(-2deg);
}

.word-speed {
    background: linear-gradient(135deg, #FFC233 0%, #FFB800 100%);
    z-index: 2;
    transform: rotate(1deg);
}

.word-safety {
    background: linear-gradient(135deg, #FFD166 0%, #FFC233 100%);
    z-index: 1;
    transform: rotate(-1deg);
}

.word-item:hover {
    transform: rotate(0deg) translateY(-8px);
    z-index: 4;
    box-shadow: 0 20px 40px -8px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.5);
}

/* Слайдер */
.reveal-slider {
    flex: 1;
    min-width: 0; /* 🔥 ВАЖНО: предотвращает переполнение */
}

.slider-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
}

.swiper {
    border-radius: 20px;
    overflow: hidden;
}

.swiper-slide {
    border-radius: 20px;
    overflow: hidden;
}

.slide-image,
.slide-placeholder {
    width: 100%;
    height: 400px;
    background: #333;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFB800 0%, #E6A600 100%);
}

.placeholder-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

/* Навигация слайдера */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 184, 0, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #FFB800;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

/* Пагинация */
.swiper-pagination {
    bottom: 15px !important;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #FFB800;
    opacity: 1;
}

/* Анимационные классы для скролла */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text[data-animate] {
    transform: translateX(-50px);
}

.reveal-text[data-animate].animated {
    transform: translateX(0);
}

.reveal-slider[data-animate] {
    transform: translateX(50px);
}

.reveal-slider[data-animate].animated {
    transform: translateX(0);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
    .reveal-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .reveal-text {
        order: 1;
    }

    .reveal-slider {
        order: 2;
        width: 100%;
    }

    .slide-image,
    .slide-placeholder {
        height: 350px;
    }

    /* 🔥 СКРЫВАЕМ WORDS-STRIP НА МОБИЛЬНЫХ */
    .words-strip {
        display: none;
    }

    /* 🔥 Полный сброс анимационных сдвигов */
    .reveal-text[data-animate],
    .reveal-slider[data-animate] {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .reveal-section {
        padding: 40px 0;
    }

    .reveal-content {
        gap: 30px;
    }

    .reveal-text .text-content h1 {
        font-size: 22px;
    }

    .reveal-text .text-content h2 {
        font-size: 18px;
    }

    .slide-image,
    .slide-placeholder {
        height: 300px;
    }

    .placeholder-text {
        font-size: 20px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .reveal-section {
        padding: 30px 0;
    }

    .slide-image,
    .slide-placeholder {
        height: 250px;
    }

    .placeholder-text {
        font-size: 18px;
    }
}