/* ===== КАК МЫ РАБОТАЕМ (ВИДЕОНАБЛЮДЕНИЕ) ===== */
.video-how-we-work {
    margin: 140px 0;
    margin-bottom: 200px;
}

.video-how-we-work-grid {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.video-how-we-work-left {
    flex: 2;
    min-width: 280px;
    height: 100%;
    margin-top: -50px;
    position: relative;
}

.steps-images {
    position: relative;
    min-height: 600px;
}

.step-image {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-image-1 {
    top: 0;
    left: 0;
    z-index: 1;
}

.step-image-2 {
    top: 180px;
    right: 0;
    z-index: 2;
}

.step-image-3 {
    bottom: -120px;
    left: 0;
    z-index: 3;
}

.steps-border {
    position: absolute;
    top: 90px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 18px solid #a43ccf;
    border-radius: 30px;
    z-index: 0;
    opacity: 0.2;
}

.video-how-we-work-right {
    flex: 3;
    min-width: 280px;
}

.video-how-we-work-right h2 {
    font-size: 56px;
    font-weight: 500;
    color: #433f45;
    margin-bottom: 40px;
}

.video-steps-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.video-step-item {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.video-step-number {
    font-size: 20px;
    border-radius: 10px;
    background: #8a2eb8;
    padding: 15px 18px;
    font-weight: 700;
    color: white;
    line-height: 20px;
    text-align: center;
    min-width: 50px;
}

.video-step-text {
    flex: 1;
}

.video-step-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #433f45;
    margin-bottom: 10px;
}

.video-step-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.step-note {
    font-size: 14px;
    color: #a43ccf;

    margin-top: 10px;
}

.download-link {
    color: #a43ccf;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #a43ccf;
}

.download-link:hover {
    color: #8a2eb8;
    border-bottom-style: solid;
}

/* Адаптивность */
@media (max-width: 992px) {
    .video-how-we-work-grid {
        flex-direction: column;
    }

    .video-how-we-work-left {
        width: 100%;
        min-height: 400px;
        margin-top: 0;
    }

    .steps-images {
        min-height: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .step-image-1,
    .step-image-2,
    .step-image-3 {
        position: relative;
        display: inline-block;
        width: 120px;
        height: 120px;
        margin: 0 10px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .steps-border {
        display: none;
    }

    .video-how-we-work-right h2 {
        font-size: 48px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .video-how-we-work {
        margin: 60px 0;
    }

    .video-how-we-work-right h2 {
        font-size: 42px;
    }

    .video-step-item {
        flex-direction: column;
        gap: 10px;
    }

    .video-step-number {
        font-size: 36px;
        width: fit-content;
    }

    .video-step-text h3 {
        font-size: 20px;
    }

    .video-step-text p {
        font-size: 14px;
    }

    .step-note {
        font-size: 12px;
    }

    .step-image-1,
    .step-image-2,
    .step-image-3 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .video-how-we-work-right h2 {
        font-size: 36px;
    }

    .step-image-1,
    .step-image-2,
    .step-image-3 {
        width: 80px;
        height: 80px;
    }

    .video-step-number {
        font-size: 28px;
        padding: 10px 15px;
    }

    .video-step-text h3 {
        font-size: 18px;
    }
}