/* SUCCESS CASES SECTION - MINIMAL ENTERPRISE REDESIGN */

.casos-exito-section {
    padding: 8rem 2rem;
    background-color: #040b17; /* Deep core dark background */
    position: relative;
}

.casos-exito-section .container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.casos-exito-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.caso-item {
    background: rgba(10, 23, 51, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Subtle, minimal transitions */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.caso-item:hover {
    border-color: rgba(0, 230, 255, 0.3);
    transform: translateY(-4px); /* Very minimal lift */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.caso-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.caso-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.caso-item:hover .caso-image img {
    transform: scale(1.03); /* Extremely subtle zoom */
}

.caso-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.caso-content h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.caso-result {
    font-family: 'Space Grotesk', sans-serif;
    color: #00e6ff;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.caso-content p:not(.caso-result) {
    font-family: 'Space Grotesk', sans-serif;
    color: #a0aec0;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive constraints */
@media (max-width: 992px) {
    .casos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .casos-grid {
        grid-template-columns: 1fr;
    }
    .casos-exito-section {
        padding: 5rem 1.5rem;
    }
    .casos-exito-section h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
}