* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body */
body.si {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    color: #222;
    line-height: 1.6;
}

/* Navegación */
nav {
    background: linear-gradient(90deg, #4fc3f7 0%, #0288d1 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.barnav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 18px 0;
}

.barnav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.2s, border-bottom 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.barnav a:hover {
    color: #ffd166;
    border-bottom: 2px solid #ffd166;
}

/* Espacios */
.espacio {
    height: 20px;
}

/* Título */
.titulos {
    text-align: center;
    font-size: 2.5rem;
    color: #0288d1;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 20px 0;
    text-shadow: 1px 2px 8px #b2ebf2;
    text-transform: uppercase;
}

/* Contenedor principal con grid para imagen y texto */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    gap: 40px;
    padding: 0 20px;
    align-items: center;
}

/* Columnas */
.column {
    display: flex;
    justify-content: center;
}

.content img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(4, 115, 194, 0.3);
    transition: transform 0.3s ease;
}

.content img:hover {
    transform: scale(1.05);
}

/* Texto */
.content2 p {
    font-size: 1.1rem;
    color: #034078;
    font-weight: 500;
    line-height: 1.6;
    text-align: justify;
    max-width: 600px;
}

/* Fondo negro translúcido */
.negro {
    background-color: rgba(0, 0, 0, 0.2);
    height: 50px;
}

/* Footer */
.footer {
    background: #0288d1;
    color: #fff;
    text-align: center;
    padding: 22px 0 10px 0;
    font-size: 1rem;
    margin-top: 40px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    .column {
        justify-content: center;
    }
    .content2 p {
        max-width: 100%;
        font-size: 1rem;
    }
    .content img {
        max-width: 100%;
        height: auto;
    }
}


