.casos-exito-section {
    font-family: 'Manrope', sans-serif;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.casos-exito-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.casos-exito-header .header-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #22E6A7;
    margin-bottom: 12px;
    display: inline-block;
}

.casos-exito-header .header-title {
    font-size: 30px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.casos-exito-header .header-title .highlight-text {
    color: #22E6A7;
}

.casos-exito-header .header-subtitle {
    font-size: 15px;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
    max-width: 460px;
}

.casos-exito-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1120px;
    margin-bottom: 40px;
}

.casos-exito-card {
    background: #111827;
    border-radius: 14px;
    border: 1px solid #2D3748;
    overflow: hidden;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.casos-exito-card:hover {
    border-color: #22E6A7;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #2D3748;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #22E6A7;
    color: #1F2937;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 9px;
    line-height: 1;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-sector {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #22E6A7;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.card-desc {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.55;
    margin: 0 0 20px 0;
}

.card-divider {
    border: none;
    border-top: 1px solid #2D3748;
    margin: 0 0 15px 0;
    width: 100%;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.meta-row {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.meta-icon {
    color: #22E6A7;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.meta-label {
    color: #94A3B8;
    margin-right: 5px;
}

.meta-val {
    color: #FFFFFF;
}

.casos-exito-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: #22E6A7;
    color: #1F2937;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    color: #1F2937;
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid #2D3748;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-left: 12px;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
}

@media (max-width: 991px) {
    .casos-exito-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .casos-exito-grid {
        grid-template-columns: 1fr;
    }
    .casos-exito-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-secondary {
        margin-left: 0;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
