.problem-solution .section-title { margin-bottom: 48px; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.problem-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(196,30,42,0.4);
}

.problem-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.problem-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,15,22,0.04) 0%, rgba(10,15,22,0.24) 100%);
}

.problem-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.problem-card:hover .problem-card-image {
    transform: scale(1.04);
}

.problem-card-content {
    padding: 24px 24px 28px;
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: rgba(196,30,42,0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.35;
}

.problem-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
}

/* Ultimul card centrat dacă e singur pe rând */
.problem-grid .problem-card:last-child:nth-child(3n-1) {
    grid-column: span 1;
}

@media (max-width: 960px) {
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .problem-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(84%, 84%);
        gap: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        padding-bottom: 8px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .problem-grid::-webkit-scrollbar { display: none; }

    .problem-card {
        scroll-snap-align: start;
    }

    .problem-card-content {
        padding: 22px 20px 24px;
    }
}
