/* Reset y base */
body {
  margin: 0;
  font-family: 'Open Sans', Montserrat, sans-serif;

  /* Imagen de fondo */
  background-image: url('/ASS2WebPage/img/fondo-index.jpg');
  background-repeat: no-repeat;         /* No repetir la imagen */
  background-position: center center;   /* Centrar la imagen */
  background-size: cover;               /* Cubrir TODO el body, ajustando la imagen */
  background-attachment: fixed;         /* Mantener la imagen fija al hacer scroll */
  min-height: 100vh;                    /* Alto mínimo igual al viewport */
}
 

/********************************************************************************************************************/

   /* HERO SECTION */
   /* HERO SECTION */
  #hero {
    width: 100%;
    max-width: 100%;    /* Igual que tus otras secciones */
    margin: 0px auto;    /* Centrado horizontal */
    min-height: 500px;    /* Igual que otras secciones */
    /*border-radius: 8px;   /* Igual que otras secciones */
    background: url('/ASS2WebPage/img/laboratorio-somos.jpg') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.11);
}

     #hero::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(35, 102, 168, 0.35);  /*//filtro azul translúcido //*/
        z-index: 1;
    }  
 
    #hero h1 {
        color: #fff;
        font-size: 5rem;
        font-weight: bold;
        margin: 0;
        letter-spacing: 2px;
        position: relative;
        z-index: 2;
    }
    
    #hero h4 {  /*estilo de letra conocenos*/
        color: #fff;
        font-size: 2.5rem;
        font-weight: 1000;
        margin: 18px 0 0px 0;
        position: relative;
        z-index: 2;
        letter-spacing: 1px;
        /* sombra de texto: desplazamiento-x, desplazamiento-y, desenfoque, color */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    #hero h5 {  /*estilo de letra conocenos*/
        color: #fff;
        font-size: 1rem;
        font-weight: 1000;
        margin: 0px 0 34px 0;
        position: relative;
        z-index: 2;
        letter-spacing: 1px;
        /* sombra de texto: desplazamiento-x, desplazamiento-y, desenfoque, color */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    #hero button {
        background: #2366a8;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 12px 28px;
        margin: 0 12px;
        font-size: 1.1em;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
        position: relative;
        z-index: 2;
    }
    
    #hero button a {
        color: inherit;
        text-decoration: none;
        font-weight: 500;
    }
    
    #hero button:hover {
        background: #174a76;
        color: #fff;
    }

    .hero-logo {
        display: flex;
        align-items: center;
    }
    
    .hero-logo img {
        filter: grayscale(1) brightness(0) invert(1); /*Cambia el color del logo a inverso del que se tenga actualmente*/
        height: 200px;
        margin-right: 10px;
    }

.hero-line {
  border-top: 40px solid rgb(107, 105, 105); /* Línea negra con 3px de grosor */
  width: 100%;
  margin: 0px 0;               /* Espacio arriba y abajo opcional */
}

/********************************************************************************************************************/



/* Secciones principales */
section #hero{
  
  position: relative;
  background: transparent;
  border-radius: 0px;
  max-width: 1200px;
  margin: 6px auto;
  padding:  32px 32px 30px 10px;
  overflow: hidden;
  min-height: 210px;
  box-shadow: none;
  border: none;

}

/* Títulos */
section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  /*text-transform: uppercase;*/ /*Propiedad para texto en MAYUSCULAS*/
  margin: 0 0 0px 0;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
  color: #111;
  padding-top: 0px;
  padding-bottom: 0px;
  /*border-bottom: 1.5px solid #222;*/
}

/* Párrafos */
section p {
  font-size: 23px; /*Tamo de la fuenta para texto*/
  color: #222;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 2;
  padding-top: 6px;
  text-align: justify;
}

/* Responsive */
@media (max-width: 700px) {
  section {
    padding: 18px 6px 18px 6px;
    margin: 18px 3px;
    min-height: 140px;
  }

  section h2 {
    font-size: 1.08rem;
    padding-top: 8px;
    padding-bottom: 4px;
  }
  
#hero h5 {  /*estilo de letra conocenos*/
        color: #fff;
        font-size: 4.5rem;
        font-weight: 1000;
        margin: 18px 0 34px 0;
        position: relative;
        z-index: 2;
        letter-spacing: 1px;
    }
}


/**********************************************************************************************************/

section.somos{
  position: relative;
  background: transparent;
  border-radius: 0px;
  max-width: 1200px;
  margin: 12px auto;
  padding:  80px 0px;
  overflow: hidden;
  min-height: 210px;
  box-shadow: none;
  border: none;
}



/***********************************************************************************************************/
.mision-vision {
  display: flex;
  max-width: 1200px;
  margin: 12px auto;
  gap: 40px; /* espacio entre las columnas */
  padding: 80px 20px;
  box-sizing: border-box;
  background: transparent;
  color: #222;
}

.mision-vision > div {
  flex: 1 1 50%;
  background: transparent;
  padding: 20px;
  box-sizing: border-box;
  min-height: 210px;
  border-radius: 10px;
}

.mision-text h2, .vision-text h2 {
  font-size: 2.5em;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  text-align: center;
  margin-bottom: 10px;
}

.icono-entre {
  display: block;
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.mision-text p, .vision-text p {
  font-size: 1.15em;
  line-height: 1.7;
  font-family: 'Open Sans', 'Montserrat', sans-serif;
  color: #222;
  text-align: justify;
  margin: 0;
}

/* Responsive: columnas pasan a pila vertical */
@media (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    padding: 40px 10px;
  }
  
  .mision-vision > div {
    flex: 1 1 100%;
    padding: 10px 0;
  }
  
  .mision-text h2, .vision-text h2 {
    font-size: 1.5em;
  }
  
  .icono-entre {
    width: 20px;
    height: 20px;
  }
}




/**********************************************************************************************************/

section.valores{
  position: relative;
  background: transparent;
  border-radius: 0px;
  max-width: 1200px;
  margin: 12px auto;
  padding:  80px 0px;
  overflow: hidden;
  min-height: 210px;
  box-shadow: none;
  border: none;
}

.valores > div {
  display: flex;
  flex-wrap: wrap;
  column-gap: 50px;      /* Espacio solo entre las columnas */
  row-gap: 50px;         /* Espacio entre filas */
  background-color: transparent;
  /*background-color: #bebdbd;*/
}

.valores > div > div {
  flex: 1 1 45%;         /* Cada valor ocupa aproximadamente 45% del ancho (dos columnas) */
  box-sizing: border-box;
  margin-left: 10px;
  background-color: #bebdbd;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.11);
}

.valores h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.valores div div h5 {
  margin-bottom: 10px;
   font-size: 1.3em; /* o usa un valor en px, por ejemplo 24px, según prefieras */
   text-align: center;
}

.valores div div p {
  line-height: 1.5;
  font-size: 0.95rem;
  margin: 10px 20px 30px 20px;
}






/***********************************************************************************************************/

.laborsector {
position: relative;
  background: transparent;
  border-radius: 0px;
  max-width: 1200px;
  margin: 12px auto;
  padding:  80px 0px;
  overflow: hidden;
  min-height: 210px;
  box-shadow: none;
  border: none;
}

.laborsector h2 {
  text-align: center;
  font-size: 2.5rem;
  /*margin-bottom: 28px;*/
  letter-spacing: 1px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #222;
}

.labor-content {
  font-size: 1.15em;
  line-height: 1.7;
  font-family: 'Open Sans', 'Montserrat', sans-serif;
  color: #222;
  background: transparent; /* Fondo transparente */
  padding: 8px 8px 8px 8px;
  border-radius: 10px;
}

.labor-content p.labor-text {
  font-size: 23px;
  margin-bottom: 20px;
  text-align: justify;
}

.labor-content p {
    font-size: 0.9rem;
    color: #222;
    line-height: 1.5;
    margin: 10px 0px 30px 0px;
    position: relative;
    z-index: 2;
    padding-top: 6px;
    text-align: justify;
}

.labor-list {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0;
  list-style-type: none;
  justify-content: center;
  gap: 30px 40px; /* espacio vertical y horizontal */
}

.labor-list li {
  background: transparent; /* contenedor fondo transparente */
  border-radius: 10px;
  box-sizing: border-box;
  padding: 10px 15px 15px 15px;
  color: #222;
  flex-grow: 0;
}

.labor-list li:nth-child(-n+4) {
  flex: 1 1 calc(20% - 40px); /* primeros 4 elementos: fila 1 */
  min-width: 180px;
}
.labor-list li:nth-child(n+5) {
  flex: 1 1 calc(25% - 40px); /* siguientes 3 elementos: fila 2 */
  min-width: 180px;
}

.labor-list li img {
  display: block;
  margin: 0 auto 15px auto;
  max-width: 60px;
  height: auto;
}

.labor-list li p {
  margin: 0;
  text-align: justify;
}


/* Responsivo */
@media (max-width: 600px) {
  .laborsector {
    padding: 18px 5vw 25px 5vw;
  }
  .laborsector h2 {
    font-size: 1.25em;
  }
  .labor-content {
    font-size: 1em;
    padding: 10px 0;
  }
}

/* Responsivo para móviles */
@media (max-width: 600px) {
  .labor-list {
    flex-direction: column;
    gap: 20px 0;
  }
  .labor-list li {
    flex: 1 1 100%;
    min-width: auto;
    padding: 10px 5px;
  }
  .labor-list li img {
    max-width: 40px;
  }
}




/*****************************************************************************************************************/

.equipoass2 {
  position: relative;
  /*max-width: 1200px;*/
  /*margin: 12px auto;*/
  padding: 80px 0 300px 0;
  box-sizing: border-box;
  overflow: hidden;
  background: transparent;
  /*background: rgba(255, 255, 255, 0.7); /* Blanco con transparencia */
  /*box-shadow: 0 8px 32px rgba(0,0,0,0.11);*/
}

.equipoass2 h2 {
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 1px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #222;
  margin-bottom: 70px;
}

/* Contenedor flex para imagen y texto */
.equipo-container {
  display: flex;
  gap: 30px; /* espacio entre imagen y texto */
  align-items: center;
  background: transparent;
  border-radius: 10px;
  padding: 0px 300px;
  box-sizing: border-box;
}

.equipo-image {
  flex: 0 0 40%;       /* Ocupa el 40% del ancho del contenedor padre */
  height: 450px;       /* O la altura que prefieras */
  background-image: url('/ASS2WebPage/img/somos-soporte.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*border-radius: 10px;*/
  box-shadow: 0 8px 32px rgba(0,0,0,0.11);
}

/* Texto ocupa el resto, 60% */
.equipo-text {
  flex: 1 1 60%;
  font-size: 23px;
  line-height: 1.7;
  font-family: 'Open Sans', 'Montserrat', sans-serif;
  color: #222;
  background: transparent;
  border-radius: 10px;
  text-align: justify;
  padding: 0;
  margin: 0;
}

/* Responsive para móviles: apilar verticalmente y ajustar */
@media (max-width: 600px) {
  .equipo-container {
    flex-direction: column;
  }
  .equipo-image {
    width: 100%;
    height: 200px;
    flex-basis: auto;
  }
  .equipo-text {
    flex-basis: auto;
    font-size: 1em;
    margin-top: 20px;
  }
  .equipoass2 {
    padding: 18px 5vw 25px 5vw;
  }
  .equipoass2 h2 {
    font-size: 1.25em;
  }
}