/* * =============================================
 * PALETA DE COLORES INSTITUCIONALES (ISTSPE)
 * =============================================
 * Azul Oscuro: #0D2D5B (Del header)
 * Azul Medio: #2A6DBF (Del header)
 * Acento Amarillo: #FDB913 (Del header)
 * Acento Naranja: #F29F05 (Para gradientes)
 * =============================================
*/

.educacion-inclusiva-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f7 100%); /* Fondo más claro */
    padding: 0;
    min-height: 100vh;
}

.hero-section {
    /* CAMBIO: Gradiente con azules institucionales */
    background: linear-gradient(135deg, #0D2D5B 0%, #2A6DBF 100%);
    color: white;
    padding: 60px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ----- CORRECCIÓN AQUÍ ----- */
.hero-section h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    color: white; /* <-- AÑADIDO: Color blanco */
    font-weight: 700; /* <-- AÑADIDO: Negrita */
}
/* ----- FIN DE LA CORRECCIÓN ----- */

.hero-section .subtitle {
    font-size: 1.4em;
    opacity: 0.95;
    margin-bottom: 10px;
}

.badge-aprobacion {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
    backdrop-filter: blur(10px);
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    /* CAMBIO: Color y borde azul institucional */
    color: #0D2D5B;
    font-size: 2.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 3px solid #0D2D5B;
    padding-bottom: 15px;
}

.section-title i {
    font-size: 1.2em;
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.competencias-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.competencia-item {
    /* CAMBIO: Fondo azul claro y borde acento amarillo */
    background: linear-gradient(135deg, #0D2D5B08 0%, #2A6DBF08 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #FDB913;
    transition: all 0.3s ease;
}

.competencia-item:hover {
    transform: translateX(10px);
    /* CAMBIO: Sombra azul */
    box-shadow: 0 5px 15px rgba(13, 45, 91, 0.2);
}

.competencia-item i {
    /* CAMBIO: Color azul */
    color: #0D2D5B;
    margin-right: 10px;
    font-size: 1.2em;
}

.campo-laboral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.campo-card {
    /* CAMBIO: Gradiente con acentos amarillo/naranja */
    background: linear-gradient(135deg, #FDB913 0%, #F29F05 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    /* CAMBIO: Sombra amarilla */
    box-shadow: 0 8px 20px rgba(253, 185, 19, 0.3);
}

.campo-card:hover {
    transform: translateY(-10px) scale(1.02);
    /* CAMBIO: Sombra amarilla más fuerte */
    box-shadow: 0 15px 40px rgba(253, 185, 19, 0.4);
}

.campo-card i {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.campo-card h3 {
    font-size: 1.3em;
    margin: 0;
    color: #0D2D5B; /* CAMBIO: Texto azul oscuro para contraste */
}

.periodo-section {
    margin-bottom: 40px;
}

.periodo-header {
    /* CAMBIO: Gradiente amarillo/naranja */
    background: linear-gradient(135deg, #FDB913 0%, #F29F05 100%);
    color: #0D2D5B; /* CAMBIO: Texto azul oscuro */
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    /* CAMBIO: Sombra amarilla */
    box-shadow: 0 8px 20px rgba(253, 185, 19, 0.4);
}

.periodo-header i {
    font-size: 2em;
}

.periodo-header h3 {
    font-size: 1.6em;
    margin: 0;
}

.materias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.materia-card {
    background: white;
    /* CAMBIO: Borde azul */
    border: 2px solid #0D2D5B30;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.materia-card:hover {
    transform: translateY(-5px);
    /* CAMBIO: Sombra y borde azul */
    box-shadow: 0 10px 25px rgba(13, 45, 91, 0.25);
    border-color: #0D2D5B;
}

.materia-card i {
    /* CAMBIO: Icono azul */
    color: #0D2D5B;
    font-size: 1.8em;
    margin-bottom: 10px;
    display: block;
}

.materia-card h4 {
    color: #333;
    font-size: 1.05em;
    margin: 0;
    line-height: 1.4;
}

.sidebar-info {
    position: sticky;
    top: 20px;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.info-card-header {
    /* CAMBIO: Gradiente azul institucional */
    background: linear-gradient(135deg, #0D2D5B 0%, #2A6DBF 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: -25px -25px 20px -25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-header.success {
    /* CAMBIO: Gradiente amarillo para "success" */
    background: linear-gradient(135deg, #FDB913 0%, #F29F05 100%);
}

.info-card-header h3 {
    margin: 0;
    font-size: 1.3em;
    color: white; /* Asegurar texto blanco */
}

.info-card-header.success h3 {
    color: #0D2D5B; /* Texto oscuro para header amarillo */
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-list li:last-child {
    border-bottom: none;
}

.costo-detalle {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.costo-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.costo-item:last-child {
    border-bottom: none;
}

.beca-alert {
    /* CAMBIO: Gradiente amarillo */
    background: linear-gradient(135deg, #FDB913 0%, #F29F05 100%);
    color: #0D2D5B; /* Texto oscuro */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
}

.beca-alert strong {
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
    color: #0D2D5B;
}

.contacto-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacto-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-list li:last-child {
    border-bottom: none;
}

.contacto-list i {
    /* CAMBIO: Icono azul */
    color: #0D2D5B;
    width: 25px;
    text-align: center;
}

.contacto-list a {
    /* CAMBIO: Link azul */
    color: #0D2D5B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-list a:hover {
    /* CAMBIO: Link azul más claro */
    color: #2A6DBF;
    text-decoration: underline;
}

.practicas-section {
    /* CAMBIO: Fondo azul muy claro */
    background: linear-gradient(135deg, #0D2D5B10 0%, #2A6DBF10 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.practicas-section h3 {
    /* CAMBIO: Título azul */
    color: #0D2D5B;
    font-size: 1.8em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.practicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.practica-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.practica-card:hover {
    transform: scale(1.05);
}

.practica-card i {
    /* CAMBIO: Icono amarillo */
    font-size: 2.5em;
    color: #FDB913;
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2em;
    }

    .sidebar-info {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .competencias-list,
    .campo-laboral-grid,
    .materias-grid {
        grid-template-columns: 1fr;
    }
}
