/* Блок "Ваша задача — просто сесть за руль" */
.drive-ready-section {
    width: 100%;
    position: relative;
    background-color: transparent;
    overflow: visible;
    margin: 0;
    padding: 0;
    box-shadow: none;
    z-index: 1;
}

/* Убираем все псевдоэлементы с тенями */
.drive-ready-section::before,
.drive-ready-section::after {
    display: none;
}

/* Фоновое изображение - GIF, отображается целиком (СЛЕВА) - ДЛЯ ДЕСКТОПА */
.drive-ready-section .gif-background {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 63%;
    height: 80%;
    background-image: url('../images/drive-ready.gif');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Полупрозрачный белый фон для правой части - ДЛЯ ДЕСКТОПА */
.drive-ready-section .gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 85%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.drive-ready-container {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.drive-ready-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.drive-ready-text-wrapper {
    max-width: 55%;
    position: relative;
    z-index: 3;
    text-align: left;
}

.drive-ready-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.3);
    border-radius: 50px;
    color: var(--red-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.drive-ready-title {
    font-size: 34px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.3;
    font-family: Arial, sans-serif;
    text-align: left;
}

.drive-ready-title .red-text {
    color: var(--red-accent);
}

.drive-ready-description {
    margin-bottom: 35px;
}

.drive-ready-description p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-text);
    font-family: Arial, sans-serif;
    text-align: left;
    margin-bottom: 20px;
}

.drive-ready-description p:last-child {
    margin-bottom: 0;
}

/* Стиль для жирного текста */
.drive-ready-description .bold-text {
    font-weight: bold;
}

.drive-ready-btn {
    background-color: var(--red-accent);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 51, 51, 0.3);
}

.drive-ready-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.drive-ready-btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 51, 51, 0.4);
}

.drive-ready-btn:hover::before {
    left: 100%;
}

.drive-ready-btn:active {
    transform: translateY(2px) scale(0.98);
    transition: transform 0.1s ease;
}

/* Мобильное изображение - скрыто на десктопе */
.mobile-gif-wrapper {
    display: none;
}

/* ===== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ ===== */
@media (max-width: 1024px) {
    .drive-ready-container {
        padding: 60px 0;
    }
    
    .drive-ready-title {
        font-size: 30px;
    }
    
    .drive-ready-description p {
        font-size: 16px;
    }
    
    .drive-ready-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .drive-ready-text-wrapper {
        max-width: 65%;
    }
    
    .drive-ready-section .gif-background {
        width: 45%;
        height: 70%;
    }
    
    .drive-ready-section .gradient-overlay {
        width: 70%;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */
@media (max-width: 768px) {
    /* Скрываем десктопные элементы */
    .drive-ready-section .gif-background,
    .drive-ready-section .gradient-overlay {
        display: none;
    }
    
    /* Показываем мобильное изображение */
    .mobile-gif-wrapper {
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .mobile-gif-background {
        width: 100%;
        height: 250px;
        background-image: url('../images/drive-ready.gif');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 12px;
    }
    
    .drive-ready-container {
        padding: 40px 20px;
    }
    
    .drive-ready-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .drive-ready-text-wrapper {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 30px 25px;
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .drive-ready-title {
        font-size: 26px;
        text-align: center;
    }
    
    .drive-ready-description p {
        font-size: 15px;
        text-align: center;
    }
    
    .drive-ready-btn {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 100%;
        max-width: 280px;
    }
    
    .drive-ready-badge {
        display: inline-block;
        margin: 0 auto 20px auto;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ СМАРТФОНОВ ===== */
@media (max-width: 480px) {
    .mobile-gif-background {
        height: 200px;
        margin-bottom: 5px;
    }
    
    .drive-ready-container {
        padding: 30px 15px;
    }
    
    .drive-ready-text-wrapper {
        padding: 25px 20px;
    }
    
    .drive-ready-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .drive-ready-description p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .drive-ready-btn {
        padding: 12px 25px;
        font-size: 14px;
        max-width: 250px;
    }
    
    .drive-ready-badge {
        font-size: 10px;
        padding: 4px 12px;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ СРЕДНИХ ПЛАНШЕТОВ (768px - 992px) ===== */
@media (min-width: 769px) and (max-width: 992px) {
    .mobile-gif-wrapper {
        display: none;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ БОЛЬШИХ ПЛАНШЕТОВ (992px - 1024px) ===== */
@media (min-width: 993px) and (max-width: 1024px) {
    .mobile-gif-wrapper {
        display: none;
    }
}