.header.header--partners {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transform: none;
}

.header__partner-banner {
  margin-top: 0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
}

.header__media-wrapper {
  display: flex;
  width: 120px;
}

.header__media-wrapper__logo {
  width: 100%;
  height: auto;
}

.header__nav {
  display: flex;
  gap: 1rem;
}

.header__nav__link {
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.header__nav__link:active,
.header__nav__link:focus,
.header__nav__link:focus-visible,
.header__nav__link:focus-within,
.header__nav__link.active {
  color: var(--purple);
}

.header__nav__button {
  display: none;
  position: relative;
  width: 2rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 0.35rem;
}

.header__nav__button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--black);
}

.header__nav__button span:last-child {
  width: 80%;
}

.header__nav__button::before {
  top: 0;
}

@media (hover: hover) {
  .header__nav__link:hover {
    color: var(--purple);
  }
}

@media all and (max-width: 810px) {
  .header__container {
    max-width: calc(100% - 1rem);
  }

  .header__nav__button {
    display: flex;
  }

  .header__nav__button.header__nav__button--second {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .header__nav__button--second span {
    position: absolute;
    width: 100%;
    height: 2px;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* Posicionar y rotar para hacer la X */
  .header__nav__button--second span:first-child {
    transform: rotate(45deg);
  }

  .header__nav__button--second span:last-child {
    transform: rotate(-45deg);
    width: 100%;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    width: 70vw;
    height: 100%;
    background-color: var(--white);
    flex-direction: column;
    gap: 1.5rem;
    padding: 4rem 2rem;
    z-index: 3;
  }

  .header__nav.active {
    transform: translateX(0);
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 250px);
  color: var(--white);
}
.hero__container {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero__bg-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__bg-items__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__ft-items {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 75%;
  padding-top: 2rem;
  z-index: 1;
}

.hero__ft-items__hd__media {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.hero__ft-items__hd__media--second {
  filter: brightness(0) invert(1);
}

.hero__ft-items__title {
  font-size: clamp(2.5rem, 10vw, 4rem);
  line-height: 1.2;
  text-wrap: balance;
}

.hero__ft-items__bd {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.hero__ft-items__bd img {
  max-width: 100%;
  width: 100px;
  height: auto;
}

.hero__ft-items__bd span {
  text-transform: uppercase;
}

.hero__ft-items__subtitle {
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  line-height: 1.2;
  text-wrap: balance;
}

.hero__ft-items__button {
  width: fit-content;
  padding-inline: 2rem;
  margin-top: 1rem;
}

@media all and (max-width: 810px) {
  .hero {
    min-height: calc(100vh - 200px);
  }
  .hero__ft-items {
    flex: 0 0 100%;
  }
}

.section {
  padding-block: 6.5rem;
  scroll-margin-top: 80px;
}

@media all and (max-width: 810px) {
  .section {
    padding-block: 3.5rem;
  }
}

/* academy */
.academy__container {
  display: flex;
  gap: 4rem;
}
.academy__left-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 52%;
}

.academy__left-items__title {
  font-size: clamp(2.5rem, 10vw, 3.25rem);
  font-weight: 400;
  line-height: 1.2;
  text-wrap: balance;
}

.academy__right-items {
  flex: 0 0 48%;
}
.academy__right-items__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: clamp(1rem, 5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.2;
}

@media all and (max-width: 1300px) {
  .academy__right-items,
  .academy__left-items {
    flex: 0 0 50%;
  }
}

@media all and (max-width: 810px) {
  .academy__container {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .academy__right-items,
  .academy__left-items {
    flex: 0 0 100%;
  }
}

.index {
  background-color: #ebebeb;
}
/* info */
.info__wrapper {
  display: flex;
  gap: 4rem;
}
.info__wrapper__left-items {
  flex: 0 0 20%;
}
.info__wrapper__left-items__title {
  font-size: clamp(2rem, 10vw, 3.5rem);
  line-height: 1.2;
  text-wrap: balance;
}
.info__wrapper__right-items {
  flex: 0 0 80%;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card-icon {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 0.7px solid rgba(0, 0, 0, 0.7);
}
.card-icon__icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.card-icon__icon img {
  max-width: 100%;
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.card-icon__title {
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 500;
  line-height: 109%;
  letter-spacing: 0.04em;
  color: var(--purple);
}
.card-icon__content {
  font-size: clamp(1rem, 5vw, 1.25rem);
  letter-spacing: 0.04em;
  line-height: 120%;
  color: var(--purple);
}

@media all and (max-width: 1500px) {
  .info__wrapper {
    flex-wrap: wrap;
  }
  .info__wrapper__right-items,
  .info__wrapper__left-items {
    flex: 0 0 100%;
  }
}

@media all and (max-width: 1024px) {
  .info__wrapper__right-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media all and (max-width: 580px) {
  .info__wrapper__right-items {
    grid-template-columns: repeat(1, 1fr);
  }
}

.footer__logo {
  pointer-events: none;
}
