/*  
	Theme Name: 21Nova 
	Version: 1.0 2025
    Página: About
	Author: hctr
*/

/* Why */

.aboutWhy {
  width: 100%;
}

.aboutWhy__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
}

.aboutWhy__container h2 {
  font-size: var(--size--24);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}

.aboutWhy__destacados {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.3rem;
}

.aboutWhy__destacados li {
  flex: 1 0.25 calc(25% - 1.3rem);
  max-width: calc(25% - 1.3rem);
  padding: 1.7rem 2.5rem;
  border: 0.1rem solid rgb(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.aboutWhy__destacados h3 {
  font-size: var(--size--20);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}

.aboutWhy__destacados p {
  font-size: var(--size--13);
  text-align: center;
}

.aboutWhy__contenido {
  width: 100%;
  padding: 4rem 18.7rem 12.8rem 18.7rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5%;
}

.aboutWhy__contenido > span {
  flex: 1 0.225 22.5%;
  max-width: 22.5%;
}

.aboutWhy__lista {
  flex: 1 0.55 55%;
  max-width: 55%;
}

.aboutWhy__lista p {
  font-size: var(--size--14);
  text-transform: uppercase;
  text-align: center;
}

.aboutWhy__lista p + p {
  margin-top: 2rem;
}

.aboutWhy__lista ul {
  width: 100%;
  margin-top: 4rem;
  list-style: none;
  border-top: 0.1rem solid rgb(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aboutWhy__lista li {
  width: 100%;
  padding: 1.9rem 0;
  text-align: center;
  border-bottom: 0.1rem solid rgb(0, 0, 0, 0.32);
}

.aboutWhy__lista li span {
  font-size: var(--size--20);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.2;
  cursor: default;
}

.aboutWhy__lista li:hover span {
  opacity: 1;
}

.aboutWhy__imagenes {
  flex: 1 0.225 22.5%;
  max-width: 22.5%;
}

.aboutWhy__imagenes picture {
  position: absolute;
  z-index: 0;
  top: 4rem;
  left: 0;
  display: block;
  width: 100%;
  aspect-ratio: 295 / 403;
  overflow: hidden;
  opacity: 0;
}

.aboutWhy__imagenes picture.active {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.aboutWhy__imagenes picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1439px) {
  .aboutWhy__lista li span {
    white-space: wrap;
  }
}
@media (max-width: 799px) {
  .aboutWhy__destacados {
    width: 90%;
  }
  .aboutWhy__contenido > span {
    display: none;
  }
  .aboutWhy__lista {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .aboutWhy__imagenes {
    display: none;
  }
}
@media (max-width: 639px) {
  .aboutWhy__container h2 {
    display: none;
  }
  .aboutWhy__destacados {
    width: 100%;
    padding: 0 15px;
    flex-wrap: wrap;
  }
  .aboutWhy__destacados li {
    flex: 1 0.5 calc(50% - 1.3rem);
    max-width: calc(50% - 1.3rem);
  }
  .aboutWhy__contenido {
    padding: 4rem 35px 12.8rem 35px;
  }
  .aboutWhy__lista ul {
    margin-top: 8rem;
    border-top: 0.1rem solid rgb(0, 0, 0, 1);
  }
  .aboutWhy__lista li {
    padding: 4rem 0;
    border-bottom: 0.1rem solid rgb(0, 0, 0, 1);
  }
  .aboutWhy__lista li span {
    opacity: 1;
    line-height: 1.2;
  }
}

/* CAREERS - Slides */

.careersSlide {
  width: 100%;
  padding: 0 0.5rem;
}

.careersSlide__container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.5rem;
}

.careersSlide__container h2 {
  position: absolute;
  z-index: 1;
  top: 2rem;
  left: 2rem;
  font-size: var(--size--24);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color--secondary);
}

.careersSlide__slide {
  flex: 1 0.5 50%;
  max-width: 50%;
  z-index: 0 !important;
}

.careersSlide__slide picture {
  display: block;
  width: 100%;
  aspect-ratio: 849 / 778;
  overflow: hidden;
}

.careersSlide__slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careersSlide__slide .mySwiper2 {
  position: absolute;
  z-index: 1 !important;
  top: 2rem;
  right: 2rem;
  width: 12rem !important;
}

.careersSlide__slide .mySwiper2 .swiper-wrapper {
  justify-content: flex-end;
}
.careersSlide__slide .mySwiper2 .swiper-slide {
  margin-right: 0 !important;
  margin-left: 5px !important;
}

.careersSlide__slide h3 {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  left: 2rem;
  font-size: var(--size--24);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color--secondary);
}

@media (max-width: 799px) {
  .careersSlide {
    padding: 0 15px;
  }
  .careersSlide__container {
    flex-direction: column;
    gap: 15px;
  }
  .careersSlide__container h2 {
    top: 25px;
    left: 20px;
  }
  .careersSlide__slide {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .careersSlide__slide .mySwiper2 {
    top: 25px;
    width: 20rem !important;
  }
  .careersSlide__slide h3 {
    font-size: 14px;
    bottom: 6rem;
    left: 0;
    padding: 0 25px;
  }
}

/* CAREERS - Beneficios */

.careersBene {
  width: 100%;
  padding: 7.3rem 0;
}

.careersBene__container {
  width: 100%;
  padding: 0 7rem;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 3%;
}

.careersBene__left {
  flex: 1 0.5 50%;
}

.careersBene__left h2 {
  font-size: var(--size--24);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1rem;
}

.careersBene__left h3 {
  font-size: var(--size--14);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.6rem;
}

.careersBene__cols {
  width: 100%;
  /*display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  align-items: flex-start;
  gap: 5%;*/
}
/*
.careersBene__left ul {
  flex: 1 0.5 calc(50% - 2.5%);
  width: 100%;
  list-style: none;
}
*/
.careersBene__left ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 5%;
  row-gap: 0;
}

.careersBene__left li {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 0.1rem solid rgb(0, 0, 0, 0.32);
}

.careersBene__left li:first-child,
.careersBene__left li:nth-child(2) {
  border-top: 0.1rem solid rgb(0 0 0 / 0.32);
}

.careersBene__left h4 {
  font-size: var(--size--14);
  font-weight: 400;
  text-transform: uppercase;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.careersBene__left h4::before {
  content: "+";
}

.careersBene__left li.activo h4::before {
  content: "-";
}

.careersBene__left p {
  font-size: var(--size--14);
  line-height: 1.2;
  max-height: 0;
  overflow: hidden;
  transition: max-width 0.3s ease-out, padding-top 0.3s ease-out;
}

.careersBene__left li.activo p {
  max-height: 100rem;
  padding-top: 1.5rem;
}

.careersBene__right {
  flex: 1 0.5 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.careersBene__right h2 {
  font-size: var(--size--24);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2rem;
}

.careersBene__right p {
  font-size: var(--size--14);
  line-height: 1.4;
}

.careersBene__right a {
  font-size: var(--size--14);
  font-weight: 500;
  text-decoration: none;
  color: var(--color--primary);
  padding: 1rem;
  border: 0.1rem solid rgb(0, 0, 0, 0.32);
}

@media (max-width: 799px) {
  .careersBene {
    padding: 12rem 0;
  }
  .careersBene__container {
    flex-direction: column;
    padding: 0 15px;
    row-gap: 30px;
  }
  .careersBene__left,
  .careersBene__right {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .careersBene__right {
    margin-top: 4rem;
  }
  .careersBene__left h2 {
    text-align: center;
    margin-bottom: 15px;
  }
  .careersBene__left h3 {
    text-align: center;
    margin-bottom: 20px;
  }
  .careersBene__cols {
    padding: 0 20px;
    flex-direction: column;
  }
  .careersBene__left li {
    align-items: center;
    padding: 1.5rem;
  }
  .careersBene__left .col:last-child li:first-child {
    border-top: 0;
  }
  .careersBene__left h4 {
    display: block;
    text-align: center;
    text-wrap: inherit;
    gap: 0.5%;
  }
  .careersBene__left li.activo p {
    text-align: center;
  }
  .careersBene__left h4::before {
    margin-right: 1rem;
  }
  .careersBene__right h2 {
    text-align: center;
    padding: 0 30px 30px 30px;
  }
  .careersBene__right p {
    text-align: center;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  .careersBene__right a {
    margin: auto;
    padding: 2rem 2.5rem;
  }
}
@media (max-width: 639px) {
  .careersBene__left ul {
    grid-template-columns: 1fr;
  }
  .careersBene__left li:nth-child(2) {
    border-top: 0;
  }
}

/* CAREERS - Contacto */

.careersContacto {
  width: 100%;
  aspect-ratio: 1728 / 354;
  overflow: hidden;
}

.careersContacto__container {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.careersContacto__container h3 {
  font-size: var(--size--24);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color--secondary);
  text-align: center;
}

.careersContacto__container p {
  font-size: var(--size--24);
  text-transform: uppercase;
  color: var(--color--secondary);
  text-align: center;
  margin-bottom: 2rem;
}

.careersContacto__container a {
  font-size: var(--size--14);
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color--primary);
  background-color: var(--color--secondary);
  padding: 1rem;
}

.careersContacto picture {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.careersContacto picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 799px) {
  .careersContacto {
    aspect-ratio: 1 / 1;
  }
  .careersContacto__container a {
    padding: 2rem 2.5rem;
  }
}
@media (max-width: 639px) {
  .careersContacto__container h3 {
    margin-bottom: 4rem;
  }
  .careersContacto__container p {
    display: none;
  }
}
