:root {
    --v6-red: #e30613;
    --v6-text: #2c2c2c;
    --v6-light-gray: #f9fafc;
    --v6-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.v6-steps-section {
    padding: 80px 0;
    background: #fff;
}

.v6-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.v6-section-title {
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--v6-text);
}

.v6-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Карточка этапа */
.v6-step-item {
    position: relative;
    background: var(--v6-light-gray);
    border-radius: 20px;
    padding: 25px;
    transition: var(--v6-transition);
    display: flex;
    flex-direction: column;
}

/* Крупный номер этапа */
.v6-step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(227, 6, 19, 0.1); /* Полупрозрачный красный */
    transition: var(--v6-transition);
}

/* Обёртка картинки */
.v6-step-img-link {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
    background: #eee;
}

.v6-step-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Иконка лупы */
.v6-step-zoom-icon {
    position: absolute;
    inset: 0;
    background: rgba(227, 6, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    opacity: 0;
    transition: var(--v6-transition);
}

/* Текстовая часть */
.v6-step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--v6-text);
}

.v6-step-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Hover эффекты */
.v6-step-item:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.v6-step-item:hover .v6-step-number {
    color: rgba(227, 6, 19, 0.3);
    transform: translateY(-10px);
}

.v6-step-item:hover .v6-step-img {
    transform: scale(1.1);
}

.v6-step-item:hover .v6-step-zoom-icon {
    opacity: 1;
}

.v6-step-item:hover .v6-step-title {
    color: var(--v6-red);
}

@media (max-width: 768px) {
    .v6-steps-grid { grid-template-columns: 1fr; }
}

/* Подложка при наведении */
.v6-step-overlay {
    position: absolute;
    inset: 0;
    background: rgba(227, 6, 19, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--v6-transition);
}

/* Рисуем лупу через CSS */
.v6-icon-zoom {
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.v6-icon-zoom::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 10px;
    background: #fff;
    bottom: -6px;
    right: -4px;
    transform: rotate(-45deg);
}

/* Показываем при наведении */
.v6-step-item:hover .v6-step-overlay {
    opacity: 1;
}