/* Estilos Generales v2 */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF; /* Fondo blanco predominante */
    color: #222222; /* Gris oscuro para texto principal */
}

.container {
    width: 85%; /* Un poco más de ancho para aprovechar el espacio */
    max-width: 1200px; /* Max width para pantallas grandes */
    margin: auto;
    overflow: hidden;
    padding: 0 25px;
}

/* Encabezado */
header {
    background: #FFFFFF; /* Fondo blanco para un look más limpio */
    color: #222222;
    padding-top: 25px;
    padding-bottom: 25px;
    min-height: 80px;
    border-bottom: 1px solid #ecf0f1; /* Borde sutil */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header a {
    color: #222222;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

header h1 a {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50; /* Azul pizarra para el título principal */
}

header nav {
    float: right;
    margin-top: 15px; /* Ajuste para alinear mejor */
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 18px;
}

header nav a:hover {
    color: #34568B; /* Azul de acento primario */
}

/* Sección Hero */
#hero {
    min-height: 450px;
    background-color: #f8f9fa; /* Un gris muy claro como fondo, o #ecf0f1 */
    color: #2c3e50; /* Azul pizarra para texto en hero */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

#hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 25px;
}

#hero p {
    font-size: 20px;
    margin-bottom: 35px;
    max-width: 700px; /* Limitar ancho del párrafo */
}

.cta-button {
    display: inline-block;
    background: #34568B; /* Azul de acento primario */
    color: #FFFFFF;
    padding: 18px 35px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    border-radius: 8px; /* Esquinas más redondeadas */
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #2c3e50; /* Azul pizarra más oscuro */
    transform: translateY(-2px);
}

/* Secciones Generales */
section {
    padding: 60px 0;
}

section:nth-child(even) {
 /* background-color: #f8f9fa; /* Alternar color de fondo para secciones */
}

section h3 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #2c3e50;
}

/* Rutas de Aprendizaje (Cards) */
.rutas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.ruta-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ruta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.ruta-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #34568B; /* Azul de acento primario */
    margin-bottom: 15px;
}

.ruta-card p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #555555;
}

.ruta-card a {
    display: inline-block;
    background: #2c3e50; /* Azul pizarra */
    color: #FFFFFF;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.ruta-card a:hover {
    background: #34568B; /* Azul de acento primario */
}

/* Contenido Destacado */
#destacados p {
    text-align: center;
    font-size: 18px;
    color: #555555;
}

/* Pie de Página */
footer {
    background: #2c3e50; /* Azul pizarra */
    color: #ecf0f1; /* Gris claro para texto */
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
}

footer p {
    margin: 8px 0;
    font-size: 15px;
}

footer a {
    color: #16a085; /* Verde azulado oscuro para enlaces en footer */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Estilos para páginas de secciones (placeholder) */
.section-page-header {
    background: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.section-page-header h2 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    font-size: 40px;
    font-weight: 600;
}

.content-placeholder {
    text-align: center;
    padding: 60px 20px;
    font-style: italic;
    color: #777777;
    font-size: 18px;
    border: 2px dashed #dddddd;
    border-radius: 8px;
    background-color: #fdfdfd;
}

.section-page-container ul {
    list-style: none;
    padding-left: 0;
}

.section-page-container li a {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #FFFFFF;
    color: #34568B;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.section-page-container li a:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #2c3e50;
}


/* Responsive Design */
@media(max-width: 768px){
    .container {
        width: 90%;
        padding: 0 15px;
    }

    header {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    header h1 a {
        font-size: 24px;
        display: block;
        text-align: center;
        margin-bottom: 10px; /* Espacio si el título es largo */
    }

    header nav {
        float: none;
        text-align: center;
        margin-top: 10px;
    }

    header li {
        display: block; /* Menú hamburguesa sería mejor, pero para simplificar */
        padding: 8px 0;
    }

    #hero h2 {
        font-size: 38px;
    }

    #hero p {
        font-size: 18px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 17px;
    }

    section h3 {
        font-size: 30px;
        margin-bottom: 35px;
    }

    .rutas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-page-header h2 {
        font-size: 32px;
    }
}

/* Importar fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

