/*Components*/

/*? Hero*/
.hero_component {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 2rem;
  width: 100%;
  height: 60vh;
}
.hero_section {
  background: url("/images/hero.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
}
.hero_section p {
  font-size: var(--fs-6);
}
@media (max-width: 768px) {
  .hero_component {
    height: auto;
    row-gap: 1.5rem;
  }
}

/*? Quienes Somos*/
.qs-component {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 4rem;
  align-items: flex-end;
}
.qs-component .col {
  width: 100%;
}
.qs-component img {
  border-radius: 0px 2rem 2rem 0px;
  width: 100%;
}
.qs-component .col {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  align-items: flex-start;
  justify-content: flex-start;
}
.qs-component h2 {
  max-width: 35rem;
}
@media (max-width: 768px) {
  .qs-component {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .qs-component .col:first-child {
    padding-right: 2rem;
  }
  .qs-component .col:last-child {
    padding-right: 2rem;
  }
}

/*?Elegirnos*/
.elegirnos_component {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 1.5rem;
  width: 100%;
  height: auto;
  text-align: center;
}
.elegirnos_section {
  background: url("/images/elegirnos.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
}
.elegirnos_section p {
  max-width: 40rem;
}
@media (max-width: 768px) {
  .hero_component {
    height: auto;
  }
}

/*?Nuestros Servicios NS*/
.ns_section {
  background-color: var(--deep-blue);
}
.ns-component {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.grid-ns {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
  justify-content: center;
  align-items: stretch;
}
.item-ns {
  border: 1px solid white;
  border-radius: 1rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  width: 16%;
  padding: 2rem;
  box-sizing: border-box;
  margin: 1rem;
}

@media (max-width: 768px) {
  .item-ns {
    width: 40%;
    margin: 0.5rem;
  }
}

/*graficos*/
.ns_section {
  position: relative;
}
.gc1 {
  display: block;
  position: absolute;
  left: 20%;
  bottom: -10%;
  z-index: 2;
  width: 8%;
}
.gc2 {
  position: absolute;
  z-index: 2;
  top: -10%;
  right: 20%;
  width: 7%;
}
@media (max-width: 768px) {
  .gc1 {
    left: 5%;
    bottom: -5%;
    width: 18%;
  }
  .gc2 {
    top: -5%;
    right: 8%;
    width: 18%;
  }
}
