body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    position: relative;
    background: url('IMG_9166.png') no-repeat center center;
    background-size: cover;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.95) 0%,     /* Muy oscuro arriba */
        rgba(0,0,0,0.75) 40%,    /* Oscuro fuerte */
        rgba(0,0,0,0.20) 70%,    /* Se empieza a desvanecer */
        rgba(0,0,0,0.00) 100%    /* Mitad inferior sin oscuridad */
    );
    z-index: 1;
}


/* Para que el texto quede por encima del overlay */
header * {
    position: relative;
    z-index: 2;
}


header h1 {
    margin: 0;
    font-size: 2.2rem;
}

header p {
    margin-top: 10px;
    font-size: 1.1rem;
}

.bloque {
    background: white;
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.bloque h2 {
    margin-top: 0;
    color: #0057b7;
}

.reflexion {
    margin-top: 20px;
    font-style: italic;
    color: #444;
    border-left: 4px solid #0057b7;
    padding-left: 10px;
}

.lista li {
    margin-bottom: 10px;
}nav {
    background: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

nav a {
    background: #0057b7;
    color: white;
    padding: 10px 18px;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: 0.2s;
}

nav a:hover {
    background: #003f8a;
}

.activo {
    background: #003f8a;
}

