.problem-section {
    min-height: 100vh;
    padding: 0;
}

.left-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

/* Список проблем */
.problem-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 24px;
    background: #ffffff;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.problem-item:hover {
    transform: translateY(-4px);
    border-color: #388286;
}

.problem-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #388286;
    color: #fefefe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2px;
}

.problem-content {
    flex: 1;
}

.problem-content h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2px;
    color: #333;
}

.problem-content p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.92rem;
    font-weight: 400;
}

.problem-icon {
    flex-shrink: 0;
    color: #388286;
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.problem-item:hover .problem-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Правая колонка с фото */
.right-col {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.right-col .image-wrapper {
    height: 80vh;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.right-col .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* ===== Адаптивность ===== */
@media (max-width: 991px) {
    .left-col {
        padding: 40px 30px;
        min-height: auto;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .right-col {
        padding: 20px;
        min-height: auto;
        height: 400px;
        order: -1; /* Фото сверху */
    }

    .right-col .image-wrapper {
        height: 360px;
        border-radius: 16px;
    }

    .right-col .image-wrapper img {
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .left-col {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 1.8rem;
        margin-bottom: 28px;
    }

    .problem-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .problem-number {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .problem-content h5 {
        font-size: 0.95rem;
    }

    .problem-content p {
        font-size: 0.82rem;
    }

    .problem-icon {
        font-size: 1.2rem;
    }

    .right-col {
        display: none;
    }

    .right-col .image-wrapper {
        height: 270px;
        border-radius: 12px;
    }

    .right-col .image-wrapper img {
        border-radius: 12px;
    }
}

@media (max-width: 400px) {
    .main-title {
        font-size: 1.5rem;
    }

    .problem-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .problem-number {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .problem-content h5 {
        font-size: 0.88rem;
    }

    .right-col {
        height: 250px;
    }

    .right-col .image-wrapper {
        height: 220px;
    }
}
/* Блок для фото (заглушка) */
.image-placeholder {
    background: linear-gradient(145deg, #e9ecef, #ced4da);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed #adb5bd;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.image-placeholder:hover {
    border-color: #0d6efd;
    background: #e9ecef;
}
.image-placeholder .camera-icon {
    font-size: 48px;
    line-height: 1;
    color: #6c757d;
    margin-bottom: 15px;
}
.image-placeholder h5 {
    color: #495057;
    font-weight: 600;
}
.image-placeholder p {
    color: #6c757d;
    font-size: 14px;
}

/* Стили для списка ошибок */
.error-card {
    background: #ffffff;
    border-radius: 5px;
    padding: 20px 25px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #3a8387;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
}
.error-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.1);
}
.error-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #e7f1ff;
    color: #3a8387;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 18px;
}
.error-content {
    flex: 1;
}
.error-content .error-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}
.error-content .error-desc {
    color: #475569;
    font-size: 15px;
    margin-bottom: 0;
}

/* Скрытые ошибки (список текстовых) */
.hidden-errors-wrapper {
    margin-top: 10px;
    display: none;
}
.hidden-errors-wrapper.show {
    display: block;
}
.text-error-item {
    background: #ffffff;
    border-radius: 5px;
    padding: 14px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-left: 4px solid #3a8387;
    display: flex;
    align-items: flex-start;
}
.text-error-item .bullet {
    color: #3a8387;
    font-weight: 700;
    margin-right: 14px;
    font-size: 14px;
}
.text-error-item .text-muted-note {
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
}

/* Адаптив */
@media (max-width: 992px) {
    .image-placeholder {
        margin-top: 30px;
        min-height: 200px;
    }
}
@media (max-width: 576px) {
    .error-card {
        padding: 15px;
        flex-wrap: wrap;
    }
    .error-badge {
        width: 36px;
        height: 36px;
        font-size: 11px;
        margin-right: 12px;
    }
    .section-padding {
        padding: 30px 0;
    }
}