.header-principal .menu-principal li a {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 7px 9px 7px 13px;
  border-radius: 6px;
  overflow: visible;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-principal .menu-principal li a::after {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: #f5a623;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.6);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1;
}

.header-principal .menu-principal li a:hover,
.header-principal .menu-principal li a:focus-visible,
.header-principal .menu-principal li a.active {
  color: #292b2f;
  transform: none;
}

.header-principal .menu-principal li a:hover::after,
.header-principal .menu-principal li a:focus-visible::after,
.header-principal .menu-principal li a.active::after {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 2px;
  width: 5px;
  height: 5px;
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.header-principal .menu-principal li a[href="#academy"] {
  justify-content: center;
}

.header-principal .menu-principal li a[href="#academy"] .nav-badge-new {
  position: absolute;
  top: -15px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 3px 7px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: #f5a623;
  color: #111111;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.22);
  z-index: 8;
}

.academy-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.academy-promo-modal,
.academy-promo-modal *,
.academy-promo-modal *::before,
.academy-promo-modal *::after {
  box-sizing: border-box;
}

.academy-promo-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.academy-promo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.academy-promo-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 430px);
  max-height: calc(100vh - 32px);
  padding: 10px 10px 14px;
  overflow-y: auto;
  border: 1px solid rgba(245, 166, 35, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 8%, rgba(245, 166, 35, 0.2), transparent 32%),
    linear-gradient(145deg, #171717 0%, #070707 62%, #111111 100%);
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.academy-promo-modal__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.academy-promo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(245, 166, 35, 0.42);
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.78);
  color: #ffffff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.academy-promo-modal__close::before,
.academy-promo-modal__close::after {
  content: none;
}

.academy-promo-modal__close:hover,
.academy-promo-modal__close:focus-visible {
  border-color: #f5a623;
  background: rgba(20, 20, 20, 0.94);
  transform: translateY(-1px);
}

.academy-promo-modal__media {
  overflow: hidden;
  border-radius: 14px;
  background: #050505;
}

.academy-promo-modal__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 196px);
  object-fit: contain;
}

.academy-promo-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 4px 0;
}

.academy-promo-modal__cta,
.academy-promo-modal__secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.academy-promo-modal__cta {
  border: 1px solid rgba(255, 214, 143, 0.55);
  border-radius: 9px;
  background: #f5a623;
  color: #111111;
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.26);
}

.academy-promo-modal__secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.academy-promo-modal__secondary::before,
.academy-promo-modal__secondary::after {
  content: none;
}

.academy-promo-modal__cta:hover,
.academy-promo-modal__cta:focus-visible {
  background: #ffb43b;
  color: #111111;
  box-shadow: 0 14px 30px rgba(245, 166, 35, 0.34);
  transform: translateY(-1px);
}

.academy-promo-modal__secondary:hover,
.academy-promo-modal__secondary:focus-visible {
  border-color: rgba(245, 166, 35, 0.42);
  background: rgba(245, 166, 35, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

body.academy-promo-modal-open {
  overflow: hidden;
}

.academy-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(245, 166, 35, 0.16), transparent 30%),
    linear-gradient(145deg, #0b0b0b 0%, #171717 52%, #070707 100%);
  color: #ffffff;
}

.academy-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.14;
}

.academy-section .container {
  position: relative;
  z-index: 1;
}

.academy-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  gap: clamp(34px, 5vw, 72px);
  row-gap: 30px;
  align-items: start;
}

.academy-section__content,
.academy-section__details {
  max-width: 650px;
}

.academy-section__content {
  grid-column: 1;
}

.academy-section__details {
  grid-column: 1;
}

.academy-section__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-radius: 4px;
  background: rgba(245, 166, 35, 0.1);
  color: #f5a623;
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.academy-section h2 {
  margin: 0 0 8px;
  color: #f5a623;
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.academy-section h3 {
  max-width: 720px;
  margin: 0 0 22px;
  color: #ffffff;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.93;
  text-transform: uppercase;
}

.academy-section p {
  max-width: 630px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 1.04rem;
}

.academy-section__benefits {
  display: grid;
  gap: 13px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.academy-section__benefits li {
  position: relative;
  min-height: 42px;
  padding: 11px 14px 11px 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
}

.academy-section__benefits li::before {
  position: absolute;
  top: 13px;
  left: 15px;
  width: 13px;
  height: 13px;
  border: 3px solid #f5a623;
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 18px rgba(245, 166, 35, 0.28);
}

.academy-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.academy-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.academy-section__cta--primary {
  border: 1px solid rgba(255, 214, 143, 0.55);
  background: #f5a623;
  color: #111111;
  box-shadow: 0 14px 30px rgba(245, 166, 35, 0.22);
}

.academy-section__cta--primary:hover,
.academy-section__cta--primary:focus-visible {
  background: #ffb43b;
  color: #111111;
  box-shadow: 0 16px 34px rgba(245, 166, 35, 0.3);
  transform: translateY(-1px);
}

.academy-section__cta--secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.88);
}

.academy-section__cta--secondary:hover,
.academy-section__cta--secondary:focus-visible {
  border-color: rgba(245, 166, 35, 0.38);
  background: rgba(245, 166, 35, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.academy-section__visual {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-content: center;
}

.academy-section__image-card {
  width: min(100%, 410px);
  padding: 10px;
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    #080808;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 44px rgba(245, 166, 35, 0.12);
}

.academy-section__image-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .academy-promo-modal__dialog {
    width: min(88vw, 456px);
    padding: 12px 12px 16px;
  }

  .academy-promo-modal__actions {
    padding-top: 16px;
  }
}

@media (max-width: 991px) {
  .academy-section {
    padding: 78px 0;
  }

  .academy-section__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .academy-section__content {
    max-width: none;
    order: 1;
  }

  .academy-section__visual {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .academy-section__details {
    max-width: none;
    order: 3;
    grid-column: auto;
  }

  .academy-section__image-card {
    width: min(100%, 430px);
  }
}

@media (max-width: 1080px) {
  .header-principal .menu-principal li a[href="#academy"] {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding-top: 7px;
    padding-bottom: 9px;
  }

  .header-principal .menu-principal li a[href="#academy"]::after {
    bottom: auto;
  }

  .header-principal .menu-principal li a[href="#academy"] .nav-badge-new {
    position: static;
    order: -1;
    min-height: 17px;
    margin-left: 0;
    font-size: 0.62rem;
    transform: none;
  }
}

@media (max-width: 480px) {
  .academy-promo-modal {
    padding: 16px;
  }

  .academy-promo-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .academy-promo-modal__close {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    font-size: 25px;
  }

  .academy-promo-modal__media img {
    max-height: calc(100vh - 190px);
  }

  .academy-promo-modal__cta,
  .academy-promo-modal__secondary {
    min-height: 50px;
    font-size: 0.92rem;
  }

  .academy-section {
    padding: 62px 0;
  }

  .academy-section .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .academy-section__badge {
    margin-bottom: 16px;
    font-size: 0.72rem;
  }

  .academy-section h3 {
    font-size: clamp(2.35rem, 14vw, 3.35rem);
    line-height: 0.98;
  }

  .academy-section p {
    margin-bottom: 24px;
    font-size: 0.98rem;
  }

  .academy-section__benefits {
    gap: 11px;
    margin-bottom: 26px;
  }

  .academy-section__benefits li {
    padding: 11px 12px 11px 39px;
    font-size: 0.93rem;
  }

  .academy-section__benefits li::before {
    left: 14px;
  }

  .academy-section__actions {
    gap: 11px;
  }

  .academy-section__cta {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
  }

  .academy-section__image-card {
    padding: 8px;
  }
}

@media (max-height: 620px) {
  .academy-promo-modal__media img {
    max-height: 56vh;
  }
}
