/* =========================================
   ESTILOS EXCLUSIVOS: SOPORTE Y MANTENIMIENTO
   Archivo: css/soporte.css
   ========================================= */

/* 🌟 HERO BANNER INTERNO (SIN FOTO, PATRÓN CSS) 🌟 */
.page-hero {
    position: relative;
    padding: 220px 0 100px 0; 
    text-align: center;
    color: white;
    overflow: hidden;
    border-bottom: 6px solid var(--mpc-green);
    background-color: var(--mpc-dark); 
}

/* Patrón de puntos estilo matriz de monitoreo */
.tech-pattern-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
    background-image: radial-gradient(var(--mpc-green) 1px, transparent 1px);
    background-size: 35px 35px;
    opacity: 0.15; 
}

/* Overlay radial para enfocar el centro */
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--mpc-dark) 80%); 
    z-index: 1;
}

.relative-z { position: relative; z-index: 2; }

.pill-tag {
    background: var(--mpc-green); color: white; border: none; font-size: 0.9rem;
    padding: 8px 18px; border-radius: 30px; font-weight: 900; display: inline-block; margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 3.8rem; font-weight: 900; margin-bottom: 20px; letter-spacing: 1px; color: #ffffff; 
}

.page-hero h1 .highlight-green { color: var(--mpc-green); }

/* Animaciones de cascada aprobadas */
@keyframes smoothSlideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.page-hero h1 .word-1 { display: inline-block; opacity: 0; animation: smoothSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s; }
.page-hero h1 .word-2 { display: inline-block; opacity: 0; animation: smoothSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s; }
.page-hero p {
    font-size: 1.15rem; max-width: 680px; margin: 0 auto; color: #e5e8eb; line-height: 1.6;
    opacity: 0; animation: smoothSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

/* 🌟 SECCIONES GLOBALES 🌟 */
.section-light { background-color: #ffffff; padding: 90px 0; } 
.section-gray { background-color: var(--mpc-gray); padding: 90px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);}
.section-header-center { text-align: center; margin-bottom: 50px; }
.section-header-center h2 { font-size: 2.8rem; color: var(--mpc-dark); font-weight: 900; margin-bottom: 15px;}

/* 🌟 MÉTRICAS (SLAs) QUE SUBEN SOBRE EL BANNER 🌟 */
.sla-section {
    margin-top: -60px; 
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.sla-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sla-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--mpc-green);
}

.sla-item i {
    font-size: 2.5rem;
    color: var(--mpc-green);
    margin-bottom: 15px;
}

.sla-item h3 {
    font-size: 2rem;
    color: var(--mpc-dark);
    font-weight: 900;
    margin-bottom: 10px;
}

.sla-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* 🌟 TARJETAS DE SOPORTE COMPLETAS 🌟 */
.support-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.support-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--mpc-green);
}

.highlighted-card {
    border-top: 5px solid var(--mpc-green);
    box-shadow: 0 10px 25px rgba(0,154,68,0.1);
}

.s-icon {
    width: 60px; height: 60px;
    background: var(--mpc-gray);
    color: var(--mpc-green);
    font-size: 1.8rem;
    display: flex; justify-content: center; align-items: center;
    border-radius: 10px;
    margin-bottom: 25px;
}

.highlighted-card .s-icon {
    background: var(--mpc-green);
    color: #fff;
}

.support-card h3 {
    font-size: 1.5rem;
    color: var(--mpc-dark);
    font-weight: 900;
    margin-bottom: 20px;
}

.card-list {
    list-style: none;
}

.card-list li {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-list i {
    color: var(--mpc-green);
    font-size: 1rem;
    margin-top: 4px;
}

/* 🌟 FLUJO DE ATENCIÓN (PROCESO) 🌟 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 55px; 
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--mpc-gray);
    z-index: 1;
}

.step-box {
    text-align: center;
    position: relative;
    z-index: 2; 
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--mpc-gray);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.5;
}

.step-icon {
    width: 80px; height: 80px;
    background: #ffffff;
    border: 3px solid var(--mpc-green);
    color: var(--mpc-green);
    font-size: 2rem;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(0,154,68,0.2);
    transition: 0.3s;
}

.step-box:hover .step-icon {
    background: var(--mpc-green);
    color: #ffffff;
    transform: scale(1.1);
}

.step-box h4 {
    font-size: 1.3rem;
    color: var(--mpc-dark);
    font-weight: 900;
    margin-bottom: 10px;
}

.step-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 10px;
}

/* 🌟 CTA FOOTER 🌟 */
.cta-banner { background-color: var(--mpc-green); padding: 60px 0; color: white; }
.cta-banner h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 15px;}
.cta-banner p { font-size: 1.1rem; margin-bottom: 25px;}
.text-center { text-align: center; }

/* =========================================
   MEDIA QUERIES (MOBILE RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    /* Ajuste Anti-Desbordamiento del Hero */
    .page-hero { 
        padding: 150px 20px 100px 20px; 
        width: 100%; 
        max-width: 100vw; 
        box-sizing: border-box;
    }
    
    .page-hero h1 { 
        font-size: 2.5rem; 
        word-wrap: break-word; 
        hyphens: auto; 
    }
    
    .page-hero p { 
        font-size: 1.05rem; 
        padding: 0 10px; 
    }

    .section-header-center h2 { font-size: 2.2rem; word-wrap: break-word; }
    
    /* Evitar desbordamiento en grillas */
    .sla-section { margin-top: 30px; }
    
    .sla-grid, .support-cards-grid, .process-steps { 
        grid-template-columns: 1fr; 
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .process-steps { gap: 50px; }
    .process-steps::before { display: none; }
}