/* Estilos generales para la página Nosotros */

.nosotros-container {
    padding: 50px 0;
    display: flex;
    width: 70%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}

.nosotros-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Espacio entre la imagen y el texto */
}

.nosotros-image img {
    display: inline-block;
    width: 100%;
    height: auto;
    border-radius: 10px; /* Bordes redondeados para la imagen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera para la imagen */
}

.nosotros-image img {
    max-width: 90%;
    height: auto;
    border-radius: 10px; /* Bordes redondeados para la imagen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera para la imagen */
}

.nosotros-title {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff; /* Color oscuro para el título */
    margin-bottom: 15px;
}

.nosotros-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #ffffff; /* Color gris oscuro para el texto */
    text-align: justify;
    max-width: 800px; /* Ancho máximo del texto */
    margin: 0 auto;
}

@media (min-width: 500px) {
    .nosotros-section {
        flex-direction: row;
        text-align: left;
    }
    .nosotros-image { flex: 1; }
    .nosotros-info { flex: 1; text-align: left; }
}

@media (max-width: 767px) {
    .nosotros-container {
        width: 92% !important;
        padding: 10px 16px !important;
    }
    .nosotros-title { font-size: 2rem !important; }
    .nosotros-text { font-size: 1.1rem !important; }
    .nosotros-image img { max-width: 100% !important; }
    .main-footer { width: 92% !important; font-size: 13px; }
}

.main-footer {
    display: flex;
    width: 70%;
    justify-content: center;
    margin: 0 auto;
}

/* ===== ESCRITORIO: que todo quepa en una pantalla (sin scroll) ===== */
@media (min-width: 769px) {
    .nosotros-container {
        height: calc(100vh - 135px);
        padding: 1rem 0;
        box-sizing: border-box;
        justify-content: center;
    }
    .nosotros-section { gap: 2.5rem; }
    .nosotros-title { font-size: 2.4rem; margin-bottom: 12px; }
    .nosotros-text { font-size: 1.05rem; line-height: 1.5; margin-bottom: 12px; }
    .nosotros-image img { max-width: 100%; max-height: 72vh; width: auto; object-fit: contain; }
}
