.ns__main{
  background-color: var(--color-gris-fondo);
  padding-top: 3rem;
}
.max-padding-left{
  padding-left: 4rem;
}
.max-padding-right{
  padding-right: 4rem;
}
.ns__message{
  margin: 0;
}
.ns__history{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem 0;
}
.ns__alliance{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.ns__history-paragraphs{
  width: 80%;
  background: var(--color-text-negro);
  padding: 1rem 2rem;
}
.ns__history-text{
  color: white;
}
.ns__goals{
  display: flex;
}
.ns__goals>div{
  width: 50%;
  padding: 3rem 4rem;
}
.ns__goals-vision{
  background-color: var(--color-gris-dashboard);
}
.ns__goals-mission{
  background-color: var(--color-text-negro);
}
.ns__goals-title{
  display: flex;
  flex-direction: column;
}
.ns__goals-wrapp span:nth-child(2){
  font-size: 1.5rem;
}
.ns__goals-title span:nth-child(1){
  color: #757D7D;
}
.ns__goals-vision>p span:nth-child(2){
  color: var(--color-text-negro);
}
.ns__goals-mission>p span:nth-child(2){
  color: white;
}
.ns__goals-vision{
  .ns__goals-message{
    color: var(--color-text-negro);
  }
}
.ns__goals-mission{
  .ns__goals-message{
    color: white;
  }
}
.ns__values-wrapper{
  background-color: var(--color-gris-dashboard);
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin: 1rem auto;
}
.ns__values{
  display: grid;
  /*flex-wrap: wrap;*/
  margin: auto;
  gap: .5rem;
  text-align: center;
  grid-template-columns: 1fr 1fr 1fr 1fr; 
  grid-template-rows: 1fr 1fr; 
  grid-template-areas: 
    "area1 area1 area2 area3"
    "area4 area5 area6 area7"; 
  p{
    text-align: center;
    vertical-align: middle;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    height: 3.4rem;
    align-content: center;
  }
}
.ns__values p:nth-child(1){
  /*width: calc(50% - .5rem);*/
  display: flex;
  flex-direction: column;
  grid-area: area1;
}
.ns__values-title span:nth-child(1){
  color: var(--color-texto-gris);
  font-weight: bold;
  font-size: 1.5rem;
}
.ns__values-title span:nth-child(2){
  color: var(--color-text-negro);
  font-weight: bold;
  font-size: 2.2rem;
}
.ns__values p{
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}
.ns__values p:nth-child(n+2){
  /*width: calc(25% - .5rem);*/
  color: white;
  grid-area: area7;
}
.ns__values p:nth-child(2){
  background-color: #85C29A;
  grid-area: area2;
}
.ns__values p:nth-child(3){
  background-color: #656C80;
  grid-area: area3;
}
.ns__values p:nth-child(4){
  background-color: #00C8AA;
  grid-area: area4;
}
.ns__values p:nth-child(5){
  background-color: #398670;
  grid-area: area5;
}
.ns__values p:nth-child(6){
  background-color: #30496A;
  grid-area: area6;
}
.ns__values p:nth-child(7){
  background-color: #79928F;
  border-bottom-right-radius: 1rem;
}
.ns__policies{
  display: grid;
  grid-template-areas:
    "politicas calidad mejora talento apoyo cumplimiento";
  grid-template-columns: 3fr 1fr 1fr 1fr 1fr 2fr;
  gap: .5rem;
  margin: 1rem 0;
}
.ns__policies p{
  color: white;
  font-size: 1.3rem;
  margin: 0;
  min-height: 5rem;
  justify-content: center;
}
.ns__policies>p>span{
  align-self: center;
}
.ns__policies-our{
  grid-area: politicas;
  background-color: #303030;
  display: flex;
  flex-direction: column;
  text-align: right;
  justify-content: center;
}
.ns__policies-our span{
  padding-right: 1.5rem;
  align-content: center;
}
.ns__policies-our span:nth-child(1){
  font-weight: bold;
}
.ns__policies-our span:nth-child(2){
  font-size: 1.6rem;
}
.ns__policies p:nth-child(2){
  grid-area: calidad;
  background-color: #303030;
  padding: 1rem 0;
  display: flex;
  text-align: center;
}
.ns__policies p:nth-child(2) span{
  background-color: #3E4041;
  padding: .5rem 0;
  width: -moz-available;
  width: -webkit-fill-available;
  align-content: center;
}
.ns__policies p:nth-child(3){
  grid-area: mejora;
  background-color: #464846;
  padding: 1rem 0;
  display: flex;
  text-align: center;
}
.ns__policies p:nth-child(3) span{
  background-color: #535756;
  padding: .5rem 0;
  width: -moz-available;
  width: -webkit-fill-available;
  align-content: center;
}
.ns__policies p:nth-child(4){
  grid-area: talento;
  background-color: #303030;
  padding: 1rem 0;
  display: flex;
  text-align: center;
}
.ns__policies p:nth-child(4) span{
  background-color: #3E4041;
  padding: .5rem 0;
  width: -moz-available;
  width: -webkit-fill-available;
  align-content: center;
}
.ns__policies p:nth-child(5){
  grid-area: apoyo;
  background-color: #464846;
  padding: 1rem 0;
  display: flex;
  text-align: center;
}
.ns__policies p:nth-child(5) span{
  background-color: #535756;
  padding: .5rem 0;
  width: -moz-available;
  width: -webkit-fill-available;
  align-content: center;
}
.ns__policies p:nth-child(6){
  grid-area: cumplimiento;
  background-color: #303030;
  padding: 1rem 0;
  display: flex;
  text-align: center;
}
.ns__policies p:nth-child(6) span{
  background-color: #3E4041;
  padding: .5rem 0;
  width: -moz-available;
  width: -webkit-fill-available;
  align-content: center;
}
.ns__training-wrapper{
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
}
.ns__training{
  display: flex;
}
.ns__training-message{
  padding: 1rem 2rem;
  width: 100%;
  p{
    text-wrap: pretty;
    line-height: 1.4;
  }
}
.ns__training-first,
.ns__training-third{
  background: #e4e4e4;
  h2{
    color: #535756;
  }
}
.ns__training-second{
  background-color: #223355;
  color: white;
}
.ns__galery{
  background-color: #e4e4e4;
  margin: 1rem 0;
  padding: 1rem .5rem;
  h2{
    text-align: center;
    color: var(--color-texto-gris);
    font-size: 1.8rem;
  }
}
.ns__galery-cards{
  display: flex;
  gap: .5rem;
  color: white;
}
.ns__galery-cards div:nth-child(odd){
  background-color: #333;
}
.ns__galery-cards div:nth-child(even){
  background-color: #464845;
}
.ns__galery-card{
  display: flex;
  flex-direction: column;
  padding: 1rem;
  text-align: center;
  justify-content: center;
}
.ns__galery-card img{
  margin-left: auto;
  margin-right: auto;
}
.ns__present-name{
  text-wrap: nowrap;
}
@media (max-width: 780px) {
  .max-padding-left{
    padding-left: 4rem;
    padding-right: 4rem;
  }
  .max-padding-right{
    padding-right: 0;
  }
  .ns__alliance{
    flex-direction: row;
    margin: 0 auto 2rem;
  }
  .ns__history-paragraphs{
    width: 100%;
  }
  .ns__galery-cards{
    overflow: hidden;
    overflow-x: auto;
    scroll-snap-type: mandatory;
  }
  .ns__values-title span:nth-child(1){
    font-size: 1.2rem;
  }
  .ns__values-title span:nth-child(2){
    font-size: 1.8rem;
  }
  .ns__values p{
    font-size: 1rem;
  }
}
@media (max-width: 480px){
  .max-padding-left{
    padding-left: 0;
    padding-right: 0;
  }
  .ns__message{
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .ns__history{
    padding-bottom: 0;
  }
  .ns__goals{
    flex-direction: column;
  }
  .ns__goals>div{
    width: 100%;
    padding: 3rem 0;
  }
  .ns__goals-title,
  .ns__goals-message{
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .ns__alliance{
    flex-direction: column;
    margin: 0 auto 2rem;
  }
  .ns__values-wrapper{
    margin: 0 auto;
  }
  .ns__values{
    display: grid;
    gap: 0;
    grid-template-columns: 1.5fr 1fr 1fr; 
    grid-template-rows: 1fr 1fr 1fr; 
    grid-template-areas: 
      "area1 area2 area3"
      "area1 area4 area5"
      "area1 area6 area7";
  }
  .ns__values p{
    padding: 1rem .5rem;
  }
  .ns__values p:nth-child(7){
    border-radius: 0;
  }
  .ns__policies{
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
    "politicas calidad calidad mejora mejora apoyo apoyo"
    "politicas talento talento talento cumplimiento cumplimiento cumplimiento";
    gap: .1rem;
    margin: 0;
    background-color: #303030;
    padding: .5rem;
  }
  .ns__policies p{
    font-size: 1rem;
  }
  .ns__policies p:nth-child(n):not(:first-child){
    background-color: #464846;
  }
  .ns__policies p:nth-child(n) span{
    background-color: transparent;
  }
  .ns__policies-our span{
    padding: 0;
  }
  .ns__training-wrapper{
    margin: 0;
  }
  .ns__training img{
    display: none;
  }
  .ns__galery{
    margin-top: .1rem;
  }
  .ns__galery-cards{
    flex-direction: column;
  }
}