.hero-optimization {
    position: relative;
    padding: 100px 0;
    background-image: url('../../../public/imagen/servicios/fondo1.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Oscurece la imagen para resaltar el texto */
.overlay-service {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 30, 33, 0.8) 0%, rgba(26, 30, 33, 0.4) 100%);
    z-index: 1;
}

.z-index-2 { position: relative; z-index: 2; }

.badge-opt {
    color: #d81b35; /* Rojo de la imagen */
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.title-opt {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.highlight-blue {
    color: #3182ce;
}

.description-opt {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Botones */
.actions-opt {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-blue {
    background-color: #3182ce;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

/* Responsivo */
@media (max-width: 991px) {
    .title-opt { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .hero-optimization { padding: 60px 0; text-align: center; }
    .description-opt { margin: 0 auto 30px; }
    .actions-opt { justify-content: center; }
    .btn-primary-blue, .btn-outline-white { width: 100%; }
}

:root {
    --text-navy-blue: #00264e;
    --light-gray-bg: #f8fafc;
    --border-soft: #e2e8f0;
    --prinsupe-blue: #3182ce;
    --danger-soft: #cbd5e0;
}

#why-outsourcing {
    padding: 80px 0;
}

.outsourcing-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-navy-blue);
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--prinsupe-blue);
    margin: 0 auto;
    border-radius: 2px;
}

/* Tarjetas de Comparación */
.comparison-card {
    background-color: var(--light-gray-bg);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    border: 1px solid var(--border-soft);
}

.prinsupe-card {
    background-color: #ffffff;
    border: 2px solid #ebf4ff;
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.05);
}

.comparison-header {
    font-size: 1.4rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
}

.header-blue {
    color: var(--prinsupe-blue);
}

/* Lista de Beneficios/Problemas */
.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.comparison-list li:last-child {
    margin-bottom: 0;
}

.list-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.icon-red {
    background-color: #f1f5f9;
    color: #94a3b8;
}

.icon-blue {
    background-color: var(--prinsupe-blue);
    color: white;
}

.list-text strong {
    display: block;
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.list-text p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsividad */
@media (max-width: 991px) {
    .outsourcing-main-title { font-size: 1.8rem; }
    .comparison-card { padding: 30px 20px; }
}

@media (max-width: 576px) {
    .comparison-header { font-size: 1.2rem; }
    .list-text strong { font-size: 1rem; }
}

:root {
    --prinsupe-red: #d81b35;
    --navy-dark: #1a1e21;
}

.saving-badge {
    background-color: var(--prinsupe-red);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    display: inline-block;
}

.cost-card {
    background: white;
    border: 1px solid #eee;
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    margin: 10px 0; /* Espacio para la sombra */
}

.cost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.cost-icon-box {
    width: 55px;
    height: 55px;
    background-color: #f8f9fa;
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
}

.cost-card h4 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--navy-dark);
    text-transform: uppercase;
}

.cost-card p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Ajuste responsive para el badge en móvil */
@media (max-width: 991px) {
    .saving-badge { margin-top: 20px; width: 100%; text-align: center; }
}