@font-face {
    font-family: "FuturaCondensed";
    src: url("../fuente/futura-condensed.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
/* Estilos generales */
.container, .contenido-banner, .nosotros-texto {
    font-family: "FuturaCondensed", sans-serif;
}

/* Contenedor principal */
.container {
    position: relative;
    margin-top: 400px;
    width: 100%;
    max-width: 1920px;
    height: 500px;
}


/* Contenedor del banner */
.banner {
    position: relative;
}
.banner img{
    position: relative;
    width: 100%;
    height: 1000px;
}

/* Contenedor de los textos en el banner */
.contenido-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-left: 17%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 14%, rgba(0, 0, 0, 0.6) 14%, rgba(0, 0, 0, 0.6) 69.3%, rgba(255, 255, 255, 0.4) 10%);
}

.contenido-banner div {
    margin-bottom: -30px; /* Reduce el espacio entre secciones */
}


.titulo-mision {
    font-size: 40px;
    border-bottom: 2px solid red;
    display: inline-block;
    margin-bottom: 10px;
    color: white;
    margin-top: 10px;
    padding-bottom: 5px;
    width: 300px;
    letter-spacing: 5px; /* Ajusta el espacio entre letras */
}

.titulo-vision {
    font-size: 40px;
    border-bottom: 2px solid red;
    display: inline-block;
    margin-bottom: 10px;
    color: white;
    margin-top: 10px;
    padding-bottom: 5px;
    width: 300px;
    letter-spacing: 5px; /* Ajusta el espacio entre letras */
}


.titulo-valores {
    font-size: 40px;
    border-bottom: 2px solid red;
    display: inline-block;
    margin-bottom: 10px;
    color: white;
    margin-top: -60px;
    padding-bottom: 5px;
    width: 300px;
    letter-spacing: 5px; /* Ajusta el espacio entre letras */
}

/* Texto */
.texto {
    font-size: 25px;
    margin-bottom: 20px;
    max-width: 60%;
    color: white;
}

.valores-container {
    text-align: left;
    margin-top: 10px;
}
.valores-lista {
    list-style: none;
    padding: 0;
}

.valores-lista li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px; /* Espacio para la viñeta */
    cursor: pointer; /* Hace clickeable toda el área */
}

/* Agregar viñetas personalizadas */
.valores-lista li::before {
    content: "➤"; /* Símbolo de viñeta */
    color: #ed1c24; /* Color de la viñeta */
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
    cursor: pointer; /* Permite hacer clic en la viñeta */
    transition: transform 0.3s ease; /* Añadimos una transición para la rotación */
}

/* Cuando se hace clic en la viñeta, rota hacia abajo */
.valores-lista li.activo::before {
    transform: rotate(90deg); /* Rotación de 90 grados hacia abajo */
}

.valor-link {
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    font-size: 25px;
}

/* Resto del CSS */
.descripcion {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    padding: 0 10px;
    border-radius: 5px;
    margin-top: 5px;
    color: white;
    font-size: 20px;
}

/* Clase para mostrar la descripción con animación */
.descripcion.activo {
    max-height: 200px; /* Ajustable según el contenido */
    opacity: 1;
    font-size: 20px;
    padding: 10px;
}

.nosotros-container {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 50px;
}

.nosotros-imagen {
    width: 100%;
    display: block;
    height: 100%;
    max-height: 500px;
}

.nosotros-texto {
    position: absolute;
    top: 48%;
    left: 72%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 50%;
    text-align: left;
    font-family: "FuturaCondensed", sans-serif;
    max-height: 300px; /* Ajusta según la imagen */
    overflow-y: auto; /* Activa el scroll vertical si el contenido es muy largo */
    white-space: normal; /* Permite que el texto haga saltos de línea */
    border-radius: 10px; /* Bordes redondeados para un mejor diseño */
}

.nosotros-texto h2 {
    font-size: 40px;
    color: black;
    font-weight: bold;
    margin-bottom: 10px;
}

.nosotros-texto p {
    font-size: 25px;
    line-height: 1.0;
    font-family: "FuturaCondensed", sans-serif;
    color: #333;
    overflow-wrap: break-word; /* Asegura que las palabras largas no se desborden */
}

.banner-imagen {
    width: 100%;
    display: block;
    margin-top: -200px;
}

/* Media Queries para responsividad */
@media (max-width: 1024px) {
    .contenido-banner {
        width: 100%;
    }
    .titulo-mision, .titulo-vision, .titulo-valores {
        font-size: 35px;
        width: 250px;
    }
    .texto {
        font-size: 22px;
        max-width: 80%;
    }
    .nosotros-container {
        margin-top: -200px;
    }
    .nosotros-texto {
        width: 48%;
        height: 55%;
    }
    .descrip1{
        margin-top: -50px;
        padding-left: 1%;
        width: 75%;
        height: 20%;
    }
    .descrip2{
        margin-top: 50px;
        padding-left: 1%;
        width: 75%;
        height: 20%;
    }
    .valores-container {
        text-align: left;
        margin-top: 100px;
    }
    .banner {
        position: relative;
        width: 100%;
        height: 900px;
    }
    .banner img{
        position: relative;
        width: 100%;
        height: 900px;
    }
}

@media (max-width: 768px) {
    .contenido-banner {
        padding-left: 5%;
        align-items: center;
        text-align: center;
    }
    .titulo-mision, .titulo-vision, .titulo-valores {
        font-size: 30px;
        width: auto;
    }
    .texto {
        font-size: 20px;
        max-width: 90%;
    }
    .nosotros-texto {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .container {
        position: relative;
        margin-top: 400px;
        width: 100%;
        max-width: 380px;
        height: 700px;
    }
    .nosotros-imagen {
        width: 380px;
        display: block;
        height: 180px;
        max-height: 200px;
    }
    .nosotros-container {
        margin-top: -500px;
    }
    .nosotros-texto h2 {
        margin-top: -20px;
        font-size: 16px;
        color: black;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .nosotros-texto {
        width: 58%;
        height: 50%;
    }
    .nosotros-texto p{
        font-size: 12px;
    }
    .banner img{
        height: 500px;
    }
.contenido-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-left: 15%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 14%, rgba(0, 0, 0, 0.6) 14%, rgba(0, 0, 0, 0.6) 69.3%, rgba(255, 255, 255, 0.4) 10%);
}


/* Texto */
.texto {
    font-size: 12px;
    margin-bottom: 20px;
    max-width: 60%;
    color: white;
}

.valores-container {
    text-align: left;
    margin-top: -50px;
}
.valores-lista {
    list-style: none;
    padding: 0;
}

.valores-lista li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px; /* Espacio para la viñeta */
    cursor: pointer; /* Hace clickeable toda el área */
}

/* Agregar viñetas personalizadas */
.valores-lista li::before {
    content: "➤"; /* Símbolo de viñeta */
    color: #ed1c24; /* Color de la viñeta */
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 2px;
    cursor: pointer; /* Permite hacer clic en la viñeta */
    transition: transform 0.3s ease; /* Añadimos una transición para la rotación */
}

/* Cuando se hace clic en la viñeta, rota hacia abajo */
.valores-lista li.activo::before {
    transform: rotate(90deg); /* Rotación de 90 grados hacia abajo */
}

.valor-link {
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
}

/* Resto del CSS */
.descripcion {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    padding: 0 10px;
    border-radius: 5px;
    margin-top: 5px;
    color: white;
    font-size: 20px;
}

/* Clase para mostrar la descripción con animación */
.descripcion.activo {
    max-height: 200px; /* Ajustable según el contenido */
    opacity: 1;
    font-size: 12px;
    padding: 10px;
}

    .titulo-mision, .titulo-vision, .titulo-valores {
        font-size: 15px;
        width: auto;
    }
    .descrip1{
        margin-top: 10px;
    padding-left: 1%;
        width: 58%;
        height: 50%;
    }
    .descrip2{
        margin-top: -100px;
    padding-left: 1%;
        width: 58%;
        height: 50%;
    }
    .texto {
        font-size: 8px;
        max-width: 100%;
        margin-bottom: -10px;
        padding: 0 10px;
    }
    .banner {
        position: relative;
        width: 100%;
        height: 500px;
    }
}