/* ================================================
   ИСПРАВЛЕНИЯ ДЛЯ СТАБИЛЬНОСТИ КАРТОЧЕК
   Устраняет дергание при прокрутке
   ================================================ */

/* Отключаем все анимации при скролле для карточек */
.quality-item,
.product-card,
.article-card {
    animation: none !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

/* Стабильное выравнивание карточек */
.quality-grid .quality-item,
.products-grid .product-card,
.articles-grid .article-card {
    align-self: start !important;
}

/* Убираем все GSAP трансформации при загрузке */
.quality-item,
.product-card,
.article-card {
    opacity: 1 !important;
    transform: translateY(0) translateZ(0) !important;
    scale: 1 !important;
}

/* Стабильный hover без дергания */
.quality-item:hover,
.product-card:hover,
.article-card:hover {
    transform: translateY(-10px) translateZ(0) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* ================================================
   PROCESS - ЧИСТЫЙ ДИЗАЙН БЕЗ ВЛОЖЕННОСТИ
   ================================================ */

/* УБИРАЕМ TIMELINE LINE КОТОРАЯ ЗАКРЫВАЕТ ЦИФЕРКИ */
.timeline-line {
    display: none !important;
}

/* УБИРАЕМ ЖЕЛТУЮ ПОЛОСУ СВЕРХУ (под заголовком) */
.process-header .section-title::after {
    display: none !important;
}

.process-timeline {
    position: relative !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.process-content {
    background: transparent !important;
    padding: 2rem !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ВСЕ ШАГИ - ГОРИЗОНТАЛЬНЫЕ */
.process-step {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 6rem !important;
    display: grid !important;
    grid-template-columns: 48% 48% !important;
    gap: 4% !important;
    align-items: center !important;
}

/* Шаги с фото слева: 1 и 3 (nth-child 2 и 4) */
.process-step:nth-child(2),
.process-step:nth-child(4) {
    grid-template-columns: 50% 46% !important;
    gap: 4% !important;
}

/* Шаги с текстом слева: 2 и 4 (nth-child 3 и 5) */
.process-step:nth-child(3),
.process-step:nth-child(5) {
    grid-template-columns: 46% 50% !important;
    gap: 4% !important;
}

.process-image {
    width: 100% !important;
    height: 500px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    position: relative !important;
}

/* УБРАЛИ ЖЕЛТУЮ ПОЛОСУ */
.process-image::after {
    display: none !important;
}

.process-content {
    text-align: left !important;
}

/* НОМЕР СВЕРХУ, НЕ КРУГЛЯШОК */
.process-number {
    display: block !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #d4af37 !important;
    opacity: 1 !important;
    line-height: 1 !important;
    margin-bottom: 0.8rem !important;
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    text-align: left !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.process-step-title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #1a3d2e !important;
    margin-bottom: 1rem !important;
    text-transform: none !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
}

.process-content p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #6b6b6b !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
}

@media (max-width: 1024px) {
    .process-step,
    .process-step:nth-child(3),
    .process-step:nth-child(5) {
        grid-template-columns: 1fr !important;
        direction: ltr !important;
        gap: 2rem !important;
    }

    .process-image {
        height: 350px !important;
        min-height: 350px !important;
    }

    .process-content {
        text-align: center !important;
    }

    .process-content p {
        max-width: 100% !important;
    }
}
