html, body {
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
span {
font-weight: bold;
display: flex;
}
.nosotros
{
    background: #ffffff;   /* franja blanca */
    max-width: 1200px;
    margin: 20px auto 0px;
    border-radius: 0px;
    padding-bottom: 20px;
}

.servicios, .noticias {
    background: #ffffff;   /* franja blanca */
    max-width: 1200px;
    margin: 0px auto;
    border-radius: 0px;
    padding-bottom: 20px;
}


.titulo-seccion {
    background-color: #0057B9; /* azul del título de "NOSOTROS" */
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 16px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-radius: 5px 5px 0 0; /* esquinas redondeadas arriba */
}

.titulo-servicios,
.titulo-noticia {
    background: transparent;   /* sin franja de color, solo texto */
    color: #000;
    text-align: center;
    font-weight: bold;
    padding: 16px;
    font-size: 1.5rem;
}


.nosotros-contenedor {
    display: flex;
    justify-content: center;
    gap: 130px;
    flex-wrap: wrap;
    padding: 20px;
}

.nosotros-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    width: 158px;
}

.nosotros-item img {
    max-width: 230px;
    margin-bottom: -42px;
}

.fila-servicios {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0px 20px;
    flex-wrap: wrap;
    background: linear-gradient(to right, #0056B8, #0093fa);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1080px;
}

.servicio-card {
    background-color: transparent;
    color: white;
    text-align: center;
    width: 250px;
    flex: 1 1 250px;
}

.servicio-card img {
    width: 100%;
    max-width: 350px;
    border-radius: 5px;
    margin-bottom: -45px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.servicio-card p {
    font-weight: bold;
}

.noticia {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
}

.noticia img {
    max-width: 330px;
    border-radius: 5px;
}

.texto-noticia {
    flex: 1;
    text-align: left;
}

.texto-noticia a {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #003b88;
}


@media (max-width: 768px) {
    .noticia {
        flex-direction: column;
        text-align: center;
    }
    .servicio-card {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .servicio-card {
        width: 100%;
    }
}
