.contenedor-1{
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.contenedor-1::before{
  content: '';
  position: absolute;
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: url('../img/fondo-nosotros.webp') no-repeat center;
  background-size: cover;
  mask-image: linear-gradient(to left, black 80%, rgba(0,0,0,0.5) 90%, transparent 95%),
              linear-gradient(to bottom, black 70%, rgba(0,0,0,0.5) 85%, transparent 99%),
              linear-gradient(to right, black 80%, rgba(0,0,0,0.5) 90%, transparent 95%);
              mask-composite: intersect;
  filter: brightness(0.3);
  z-index: -1;
}

.separador{
  height: 95px;
}

.seccion-nosotros {
  max-width: 60%; /* Limita el ancho del contenido para que no sea muy largo */
  margin:50px auto; /* Centra el div y agrega espacio vertical */
  text-align: center; /* Centra todo el texto dentro de la sección */
  color: white;
}

.seccion-nosotros h1{
    font-size: 4em;
}

.seccion-nosotros h2 {
  position: relative;
  display: inline-flex;       
  justify-content: center;    
  align-items: center;        
  font-size: 2.5rem;
  color: #fbff2a;
  margin-bottom: 20px;
  font-family: "Anton";
  text-align: center;   
}

.seccion-nosotros h2 span {
  display: inline-block;
  margin-right: 1rem;   
  background: url('../img/flecha-r.svg') no-repeat center;
  background-size: 5rem 5rem;
  width: 5.5rem;
  height: 5rem;      
}

.seccion-nosotros p,
.seccion-nosotros ul{
  font-family: avenir;
  text-align: justify;
}

.seccion-nosotros p {
  font-size: 1.3em; /* Un tamaño más pequeño para el párrafo */
  line-height: 1.6; /* Mejora la legibilidad con un interlineado mayor */
  margin-bottom: 20px;
}

.seccion-nosotros ul{
  list-style: none;
  padding: 0;
  font-size: 1.3rem;
}
.seccion-nosotros li {
  text-align: justify;
  background-image: url("../img/check-icono.svg"); 
  background-repeat: no-repeat;
  background-size: 1em 1em; 
  padding-left: 3em; 
  margin-bottom: 25px;
  background-position: 0.5em center; 
}
.seccion-nosotros ul b{
  text-transform: uppercase;
  font-size: 1.4rem;
}


@media (max-width: 576px) {
  .contenedor-1::before{
    mask-image: linear-gradient(to bottom, black 70%, rgba(0,0,0,0.5) 85%, transparent 99%);
  }
  .seccion-nosotros{
    max-width: 85%;
  }
  .seccion-nosotros p{
    text-align: justify;

    text-align: justify; /* Mantenemos la justificación */
        
        /* APLICAR LA SEPARACIÓN SILÁBICA (GUIONADO) */
        hyphens: auto; 
        -webkit-hyphens: auto; /* Para navegadores basados en WebKit (Chrome, Safari) */
        -ms-hyphens: auto;     /* Para Internet Explorer */
        
        /* Opcional: Controla el número de líneas */
        -webkit-hyphenate-limit-lines: 2; /* Para evitar que lo haga en todas las líneas */
        letter-spacing: -0.01em;
   }
  .seccion-nosotros h2 {
    display: flex;            
    justify-content: center;
    width: 90%;
    padding: 0 5%;
  }
  .seccion-nosotros h2 span{
    position: absolute; 
    left: 0;                
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;          
    background-size: 3rem 3rem;  
    width: 3.5rem;
    height: 3rem;
  }

  .seccion-nosotros li{
    padding-left: 2em;
    background-size: 0.6em 0.6em;

    /* APLICAR LA JUSTIFICACIÓN CON GUIONES */
        text-align: justify; /* Asegura la justificación */
        hyphens: auto;
        -webkit-hyphens: auto; /* Para Chrome y Safari */
        -ms-hyphens: auto;     /* Para Edge/IE */
        -webkit-hyphenate-limit-lines: 2;
        letter-spacing: -0.01em;
  }
}