.iehes-aula-footer {
  --iehes-footer-navy: #071c2d;
  --iehes-footer-navy-deep: #04131f;
  --iehes-footer-panel: rgba(255, 255, 255, 0.055);
  --iehes-footer-line: rgba(210, 232, 242, 0.14);
  --iehes-footer-muted: #9fb5c3;
  --iehes-footer-white: #f7fbfd;
  --iehes-footer-cyan: #35c2d6;
  --iehes-footer-cyan-soft: #b8f1f6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(53, 194, 214, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 20%, rgba(38, 108, 141, 0.16), transparent 25rem),
    linear-gradient(135deg, var(--iehes-footer-navy) 0%, var(--iehes-footer-navy-deep) 100%);
  color: var(--iehes-footer-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.iehes-aula-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  opacity: 0.13;
  content: "";
  pointer-events: none;
}

.iehes-aula-footer *,
.iehes-aula-footer *::before,
.iehes-aula-footer *::after {
  box-sizing: border-box;
}

.iehes-aula-footer p,
.iehes-aula-footer h2,
.iehes-aula-footer ul {
  margin: 0;
}

.iehes-aula-footer a {
  text-decoration: none;
}

.iehes-aula-footer__accent {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 4px;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 38%, rgba(232, 255, 255, 0.94) 50%, rgba(255, 255, 255, 0.08) 62%, transparent 100%) -300px 0 / 260px 100% no-repeat,
    linear-gradient(90deg, #218ea9 0%, #49cfda 24%, #98e1c7 44%, #34b5cf 64%, #6dded8 82%, #218ea9 100%) 0 0 / 220% 100%;
  box-shadow: 0 0 12px rgba(73, 207, 218, 0.38), 0 3px 18px rgba(53, 194, 214, 0.22);
  will-change: background-position;
  animation: iehes-footer-accent-flow 7.8s linear infinite;
}

@keyframes iehes-footer-accent-flow {
  0% {
    background-position: -300px 0, 0% 50%;
  }
  100% {
    background-position: calc(100vw + 300px) 0, 220% 50%;
  }
}

.iehes-aula-footer__shell {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.iehes-aula-footer__main {
  display: grid;
  grid-template-columns: minmax(255px, 1.42fr) minmax(145px, 0.68fr) minmax(165px, 0.74fr) minmax(235px, 0.92fr);
  gap: clamp(30px, 4vw, 62px);
  align-items: start;
  padding: clamp(58px, 6vw, 78px) 0 clamp(48px, 5vw, 66px);
}

.iehes-aula-footer__brand {
  max-width: 360px;
}

.iehes-aula-footer__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 205px;
  min-height: 50px;
  margin-bottom: 21px;
  border-radius: 4px;
}

.iehes-aula-footer__logo-image {
  display: block;
  width: auto;
  max-width: 205px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.iehes-aula-footer__wordmark {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.iehes-aula-footer__eyebrow {
  color: var(--iehes-footer-white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.iehes-aula-footer__summary {
  max-width: 350px;
  margin-top: 12px !important;
  color: var(--iehes-footer-muted);
  font-size: 0.91rem;
  line-height: 1.72;
}

.iehes-aula-footer__trust {
  display: inline-flex;
  gap: 11px;
  align-items: flex-start;
  width: min(100%, 360px);
  margin-top: 24px;
  padding: 13px 14px 12px 11px;
  border: 1px solid rgba(73, 207, 218, 0.17);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(53, 194, 214, 0.09), rgba(53, 194, 214, 0.035));
}

.iehes-aula-footer__trust-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(53, 194, 214, 0.13);
  color: #6ee2e8;
  place-items: center;
}

.iehes-aula-footer__trust-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.iehes-aula-footer__trust strong {
  color: #eafcff;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.3;
}

.iehes-aula-footer__trust small {
  color: #89a9b9;
  font-size: 0.64rem;
  line-height: 1.35;
}

.iehes-aula-footer__trust-title {
  width: fit-content;
  border-radius: 4px;
}

.iehes-aula-footer__trust-title:hover strong {
  color: #ffffff;
}

.iehes-aula-footer__trust-report {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
  margin-top: 7px;
  border-radius: 4px;
  color: #6ee2e8;
  font-size: 0.69rem;
  font-weight: 750;
  line-height: 1.35;
  transition: color 180ms ease;
}

.iehes-aula-footer__trust-report svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.iehes-aula-footer__trust-report:hover {
  color: #ffffff;
}

.iehes-aula-footer__trust-report:hover svg {
  transform: translateX(3px);
}

.iehes-aula-footer__trust-title:focus-visible,
.iehes-aula-footer__trust-report:focus-visible {
  outline: 2px solid #7ce8ee;
  outline-offset: 3px;
}

.iehes-aula-footer__column h2,
.iehes-aula-footer__support h2 {
  color: var(--iehes-footer-white);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.iehes-aula-footer__column h2::after {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 12px;
  border-radius: 99px;
  background: var(--iehes-footer-cyan);
  content: "";
}

.iehes-aula-footer__links {
  display: grid;
  gap: 1px;
  margin-top: 19px !important;
  padding: 0;
  list-style: none;
}

.iehes-aula-footer__links li {
  margin: 0;
}

.iehes-aula-footer__links a {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  min-height: 37px;
  padding: 6px 0;
  color: #a9bfcb;
  font-size: 0.83rem;
  font-weight: 480;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.iehes-aula-footer__links a svg {
  flex: 0 0 auto;
  color: var(--iehes-footer-cyan);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.iehes-aula-footer__links a:hover,
.iehes-aula-footer__links a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.iehes-aula-footer__links a:hover svg,
.iehes-aula-footer__links a:focus-visible svg {
  opacity: 1;
  transform: translateX(0);
}

.iehes-aula-footer__support {
  position: relative;
  overflow: hidden;
  min-height: 242px;
  padding: 26px 25px 23px;
  border: 1px solid rgba(180, 225, 236, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 50px rgba(0, 9, 16, 0.18);
}

.iehes-aula-footer__support::after {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(53, 194, 214, 0.08);
  content: "";
  pointer-events: none;
}

.iehes-aula-footer__support-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 20px;
  border: 1px solid rgba(110, 226, 232, 0.18);
  border-radius: 12px;
  background: rgba(53, 194, 214, 0.11);
  color: #78e0e8;
  place-items: center;
}

.iehes-aula-footer__support-kicker {
  margin-bottom: 5px !important;
  color: #71dce4;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.iehes-aula-footer__support h2 {
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.iehes-aula-footer__support > p:not(.iehes-aula-footer__support-kicker) {
  margin-top: 8px !important;
  color: var(--iehes-footer-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.iehes-aula-footer__support-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
}

.iehes-aula-footer__support-link svg {
  color: var(--iehes-footer-cyan);
  transition: transform 180ms ease;
}

.iehes-aula-footer__support-link:hover,
.iehes-aula-footer__support-link:focus-visible {
  color: var(--iehes-footer-cyan-soft);
}

.iehes-aula-footer__support-link:hover svg,
.iehes-aula-footer__support-link:focus-visible svg {
  transform: translateX(3px);
}

.iehes-aula-footer__support > small {
  display: block;
  margin-top: 8px;
  color: #7894a4;
  font-size: 0.61rem;
  line-height: 1.4;
}

.iehes-aula-footer__bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  border-top: 1px solid var(--iehes-footer-line);
  color: #7893a2;
  font-size: 0.68rem;
  line-height: 1.5;
}

.iehes-aula-footer__bottom p:last-child {
  display: flex;
  gap: 9px;
  align-items: center;
}

.iehes-aula-footer__bottom p:last-child span:first-child {
  color: #b7cbd4;
  font-weight: 650;
}

.iehes-aula-footer a:focus-visible {
  border-radius: 5px;
  outline: 2px solid #6ee2e8;
  outline-offset: 4px;
}

@media (max-width: 1020px) {
  .iehes-aula-footer__main {
    grid-template-columns: minmax(260px, 1.25fr) minmax(150px, 0.65fr) minmax(230px, 0.9fr);
  }

  .iehes-aula-footer__brand {
    grid-row: span 2;
  }

  .iehes-aula-footer__support {
    grid-column: 2 / -1;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  /*
   * Safari usa el lienzo raíz detrás de sus barras y del overscroll. El
   * contenedor #page conserva el fondo blanco del Aula, mientras que el área
   * exterior adopta el mismo azul del footer.
   */
  html,
  body {
    background-color: #04131f !important;
  }

  body > #page {
    background-color: var(--ast-global-color-4, #fff);
  }

  .iehes-aula-footer {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .iehes-aula-footer__shell {
    width: min(100% - 36px, 620px);
  }

  .iehes-aula-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 30px;
    padding-top: 52px;
  }

  .iehes-aula-footer__brand {
    grid-row: auto;
    grid-column: 1 / -1;
    max-width: 470px;
  }

  .iehes-aula-footer__support {
    grid-column: 1 / -1;
  }

  .iehes-aula-footer__bottom {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    justify-content: center;
    min-height: 98px;
    padding: 17px 0;
  }
}

@media (max-width: 560px) {
  .iehes-aula-footer__shell {
    width: min(100% - 30px, 420px);
  }

  .iehes-aula-footer__main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 46px 0 40px;
  }

  .iehes-aula-footer__brand,
  .iehes-aula-footer__support {
    grid-column: auto;
  }

  .iehes-aula-footer__support {
    padding: 24px 22px 22px;
  }

  .iehes-aula-footer__eyebrow {
    font-size: 13px;
  }

  .iehes-aula-footer__summary {
    font-size: 15px;
    line-height: 1.68;
  }

  .iehes-aula-footer__trust strong {
    font-size: 13px;
  }

  .iehes-aula-footer__trust small {
    font-size: 12px;
  }

  .iehes-aula-footer__trust-report {
    margin-top: 8px;
    font-size: 12px;
  }

  .iehes-aula-footer__column h2 {
    font-size: 13px;
  }

  .iehes-aula-footer__links a {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.5;
  }

  .iehes-aula-footer__support-kicker {
    font-size: 12px;
  }

  .iehes-aula-footer__support h2 {
    font-size: 18px;
  }

  .iehes-aula-footer__support > p:not(.iehes-aula-footer__support-kicker) {
    font-size: 14px;
    line-height: 1.6;
  }

  .iehes-aula-footer__support-link {
    min-height: 40px;
    font-size: 14px;
  }

  .iehes-aula-footer__support > small {
    font-size: 11px;
  }

  .iehes-aula-footer__bottom {
    font-size: 12px;
    line-height: 1.65;
  }

  .iehes-aula-footer__bottom p:last-child {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iehes-aula-footer *,
  .iehes-aula-footer *::before,
  .iehes-aula-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .iehes-aula-footer__accent {
    background-position: 50% 0, 50% 50%;
    animation: none !important;
  }

  .iehes-aula-footer__trust-report svg {
    transition: none;
  }
}
