*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; 
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.6rem; 
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.contenedor {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #004a99;
    transition: color 0.3s ease;
}

a:hover {
    color: #003a75;
}

h1, h2, h3 {
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.8rem; color: #004a99; }
h3 { font-size: 2.2rem; }

.boton-primario,
.boton-secundario {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.boton-primario {
    background-color: #004a99;
    color: #ffffff;
}
.boton-primario:hover {
    background-color: #003a75;
    color: #ffffff;
}

.boton-secundario {
    background-color: #4caf50;
    color: #ffffff;
}
.boton-secundario:hover {
    background-color: #3e8e41;
    color: #ffffff;
}

.sitio-header {
    background-color: #ffffff;
    padding: 2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sitio-header .contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sitio-header .logo h1 {
    font-size: 3rem;
    color: #004a99;
    margin: 0;
}
.sitio-header .logo p {
    font-size: 1.4rem;
    margin: 0;
    text-align: center;
}

.navegacion-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
}

.navegacion-principal a {
    padding: 1rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.navegacion-principal a.enlace-activo {
    color: #4caf50;
}

.sitio-footer {
    background-color: #222;
    color: #aaa;
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
}
.sitio-footer p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.sitio-footer .navegacion-footer a {
    color: #ffffff;
    margin: 0 1rem;
    font-size: 1.4rem;
}

.principal {
    background-color: #004a99;
    color: #ffffff;
    text-align: center;
    padding: 6rem 0;
    margin-bottom: 3rem;
}
.principal h2 {
    color: #ffffff;
    font-size: 3.4rem;
}

.mision-resumen {
    text-align: center;
}
.mision-bloques {
    margin-top: 3rem;
}
.mision-bloques .bloque {
    margin-bottom: 3rem;
}
.mision-bloques .bloque img {
    max-width: 80px;
    margin: 0 auto 1.5rem auto;
}

.cta {
    background-color: #4caf50;
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
    margin-top: 3rem;
}
.cta h3 { font-size: 2.4rem; }
.cta .boton-secundario {
    background-color: #ffffff;
    color: #4caf50;
}
.cta .boton-secundario:hover {
    background-color: #f0f0f0;
}

.pagina-titulo {
    background-color: #e0e0e0;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.servicio-articulo {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.servicio-articulo img {
    border-radius: 5px;
    margin-bottom: 1.5rem;
}
.servicio-articulo ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-top: 1.5rem;
}

.ods-seccion { margin-top: 4rem; }
.ods-iconos {
    display: flex;
    flex-direction: column;
}
.ods-icono {
    text-align: center;
    margin-bottom: 2rem;
}
.ods-icono img {
    max-width: 120px;
    margin: 0 auto 1rem auto;
}

.layout-contacto {
    display: flex;
    flex-direction: column;
}

.info-contacto {
    margin-bottom: 3rem;
}

.formulario-contacto fieldset {
    border: 1px solid #ccc;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}
.formulario-contacto legend {
    padding: 0 1rem;
    font-weight: 700;
    color: #004a99;
}

.campo-formulario {
    margin-bottom: 1.5rem;
}
.campo-formulario label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.campo-formulario input[type="text"],
.campo-formulario input[type="email"],
.campo-formulario input[type="tel"],
.campo-formulario select,
.campo-formulario textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
}

.campo-formulario input:focus,
.campo-formulario select:focus,
.campo-formulario textarea:focus {
    outline: 2px solid #004a99;
    border-color: #004a99;
    box-shadow: 0 0 5px rgba(0,74,153,0.5);
}

.campo-formulario-check {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.campo-formulario-check input[type="checkbox"] {
    width: auto;
}
.campo-formulario-check label {
    margin-bottom: 0;
    font-weight: normal;
}

.acciones-formulario {
    display: flex;
    gap: 1rem;
}


@media (min-width: 768px) {
    
    .sitio-header .contenedor {
        flex-direction: row;
        justify-content: space-between;
    }

    .sitio-header .logo {
        text-align: left;
    }
    .sitio-header .logo p {
        text-align: left;
    }

    .navegacion-principal {
        flex-direction: row;
        width: auto;
        margin-top: 0;
    }
    .navegacion-principal a {
        width: auto;
        padding: 0.5rem 1.5rem;
    }

    .mision-bloques {
        display: flex;
        gap: 2rem;
    }
    .mision-bloques .bloque {
        flex: 1;
    }

    .ods-iconos {
        flex-direction: row;
        gap: 2rem;
    }
    .ods-icono {
        flex: 1;
    }

    .layout-contacto {
        flex-direction: row;
        gap: 4rem;
    }
    .info-contacto {
        flex: 0 0 33%;
    }
    .formulario-seccion {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    h1 { font-size: 3.8rem; }
    h2 { font-size: 3.2rem; }

    .principal {
        padding: 8rem 0;
    }
    .principal h2 {
        font-size: 4.2rem;
    }
}