/* ==========================================================
   SAE SHELL
   Header + menú + footer del Sistema de Admisión Escolar
   Aislado para no afectar el aplicativo .sae-app.
   ========================================================== */
.sae-shell,
.sae-shell * {
  box-sizing: border-box;
}
.sae-shell {
  width: 100%;
  position: relative;
  z-index: 100;
  font-family: "Museo_Sans_300", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
   margin: 0!important;
    padding: 0!important;
  
}
.sae-shell img {
  max-width: none;
}
/* ==========================================================
   HEADER SAE 2027
   ========================================================== */
.sae-shell .header-admision {
  position: relative;
  background: #29357A;
  overflow: hidden;
  min-height: 0%;
  width: 100%;
}
.sae-shell .header-admision__fondo {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.sae-shell .header-admision__fondo img {
  display: block;
  width: 760px;
  max-width: none;
  height: auto;
}
.sae-shell .header-admision__desktop {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  /*padding-bottom: 65px;*/
}
.sae-shell .header-admision__social {
  position: absolute;
  top: 0;
  left: 51%;
  transform: translateX(355px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.sae-shell .header-admision__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .25s ease;
}
.sae-shell .header-admision__social a:hover {
  transform: translateY(-2px);
}
.sae-shell .header-admision__social img {
  width: 42px;
  height: 42px;
  display: block;
}
.sae-shell .header-admision__branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  width: 100%;
  max-width: 1669px;
  margin: 0 auto;
}
.sae-shell .header-admision__logo {
  flex: 0 0 593px;
  width: 593px;
      padding-left: 3%;
    padding-right: 3%;
}
.sae-shell .header-admision__logo img {
  display: block;
  width: 100%;
  max-width: 593px;
  height: auto;
}
.sae-shell .header-admision__line-left,
.sae-shell .header-admision__line-right {
  flex: 0 0 430px;
  width: 430px;
}
.sae-shell .header-admision__line-left img,
.sae-shell .header-admision__line-right img {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
}
.sae-shell .header-admision__mobile {
  display: none;
  position: relative;
  z-index: 2;
  padding-top: 35px;
  padding-bottom: 45px;
}
.sae-shell .header-admision__mobile-logo {
  text-align: center;
  margin-bottom: 38px;
}
.sae-shell .header-admision__mobile-logo img {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  height: auto;
}
.sae-shell .header-admision__mobile-lineas {
  text-align: center;
}
.sae-shell .header-admision__mobile-lineas img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: auto;
}
/* ==========================================================
   MENU SAE
   ========================================================== */
.sae-shell .sae-menu {
    position: relative;
    z-index: 99999;
    width: 100%;
    min-height: 92px;
    padding: 0;
    margin: 0;
    background: #29357A;
}
/* El menú SOLO se fija cuando hacemos scroll */
.sae-shell .sae-menu.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
}
.sae-shell {
  --sae-menu-height: 92px;
}
.sae-shell .sae-app {
  position: relative;
  z-index: 1;
}
.sae-shell .sae-menu + .sae-app {
  margin-top: 92px;
}
.sae-shell .sae-menu__container {
  width: 100%;
  max-width: 1100px;
  min-height: 92px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}
.sae-shell .sae-menu__toggler {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  border-radius: 5px;
  width: 46px;
  height: 42px;
  padding: 8px;
  margin: 12px;
  cursor: pointer;
}
.sae-shell .sae-menu__toggler:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.sae-shell .sae-menu__toggler-icon,
.sae-shell .sae-menu__toggler-icon::before,
.sae-shell .sae-menu__toggler-icon::after {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}
.sae-shell .sae-menu__toggler-icon::before,
.sae-shell .sae-menu__toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.sae-shell .sae-menu__toggler-icon::before { top: -7px; }
.sae-shell .sae-menu__toggler-icon::after { top: 7px; }
.sae-shell .sae-menu__collapse {
  display: flex;
  justify-content: center;
  width: 100%;
}
.sae-shell .sae-menu__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-height: 92px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sae-shell .sae-menu__list > li {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
}
.sae-shell .sae-menu__list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.35);
}
.sae-shell .sae-menu .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 92px;
  width: 100%;
  padding: 15px 22px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
  transition: background .25s ease, color .25s ease;
}
.sae-shell .sae-menu .nav-link:hover,
.sae-shell .sae-menu .nav-link:focus-visible {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.sae-shell .sae-menu .nav-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
}
.sae-shell .sae-menu .dropdown {
  position: relative;
}
.sae-shell .sae-menu .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.sae-shell .sae-menu .dropdown.is-open > .dropdown-toggle::after {
  transform: rotate(225deg) translate(-1px,-1px);
}
.sae-shell .sae-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100000;
  min-width: 320px;
  max-width: 420px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.sae-shell .sae-menu .dropdown.is-open > .dropdown-menu {
  display: block;
}
@media (min-width: 992px) {
  .sae-shell .sae-menu .dropdown:hover > .dropdown-menu {
    display: block;
    animation: saeShellFade .2s ease;
  }
}
.sae-shell .sae-menu .dropdown-menu li {
  margin: 0;
  padding: 0;
}
.sae-shell .sae-menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 20px;
  color: #29357A;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.sae-shell .sae-menu .dropdown-item:hover,
.sae-shell .sae-menu .dropdown-item:focus-visible {
  background: #f5f7fc;
  color: #29357A;
}
.sae-shell .sae-menu .dropdown-item:focus-visible {
  outline: 3px solid #29357A;
  outline-offset: -3px;
}
.sae-shell .sae-menu .nav-link.active,
.sae-shell .sae-menu .dropdown-item.active {
  font-weight: 700;
}
@keyframes saeShellFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================
   FOOTER SAE
   ========================================================== */
.sae-shell .sae-footer {
  position: relative;
  width: 100%;
  background: #29357A;
  color: #fff;
  padding: 60px 30px 35px;
  z-index: 2;
}
.sae-shell .sae-footer__container {
  max-width: 1100px;
  margin: 0 auto;
}
.sae-shell .sae-footer__logo-top {
  text-align: center;
  margin-bottom: 50px;
}
.sae-shell .sae-footer__logo-top img {
  display: inline-block;
  width: 100%;
  max-width: 330px;
  height: auto;
}
.sae-shell .sae-footer__middle {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
}
.sae-shell .sae-footer__datos {
  position: relative;
  text-align: left;
  padding-right: 40px;
}
.sae-shell .sae-footer__datos::after,
.sae-shell .sae-footer__ayuda::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 90px;
  transform: translateY(-50%);
  background: rgba(255,255,255,.25);
}
.sae-shell .sae-footer__datos p {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}

.sae-shell .sae-footer__datos a {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease;
}
.sae-shell .sae-footer__datos a:hover,
.sae-shell .sae-footer__datos a:focus-visible {
  color: #5DBCE5;
}
.sae-shell .sae-footer__ayuda {
  position: relative;
  /*text-align: center;*/
  padding: 0 40px;
}
.sae-shell .sae-footer__ayuda h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}
.sae-shell .sae-footer__ayuda p {
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}
.sae-shell .sae-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-left: 20px;
}
.sae-shell .sae-footer__social a {
  display: inline-flex;
  transition: transform .25s ease;
}
.sae-shell .sae-footer__social a:hover,
.sae-shell .sae-footer__social a:focus-visible {
  transform: translateY(-3px);
}
.sae-shell .sae-footer__social img {
  display: block;
  width: 42px;
  height: 42px;
}
.sae-shell .sae-footer__gob {
  text-align: center;
  padding-top: 40px;
}
.sae-shell .sae-footer__gob img {
  display: inline-block;
  width: 100%;
  max-width: 1439px;
  height: auto;
}
/* ==========================================================
   BOTÓN VOLVER ARRIBA
   ========================================================== */
.sae-shell #btnTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  display: none;
  width: 40px;
  height: 40px;
  text-decoration: none;
  transition: opacity .3s ease;
}
.sae-shell #btnTop:hover svg polyline,
.sae-shell #btnTop:hover svg circle {
  stroke: #6c6cc0;
}
.sae-shell #btnTop:hover svg circle {
  fill: #ececf9;
}
/* ==========================================================
   RESPONSIVE HEADER
   ========================================================== */
@media (max-width: 1550px) {
  .sae-shell .header-admision__branding {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    gap: 48px;
  }
  .sae-shell .header-admision__logo {
    flex: 0 1 593px;
    width: auto;
  }
  .sae-shell .header-admision__line-left,
  .sae-shell .header-admision__line-right {
    flex: 1 1 430px;
    width: auto;
  }
}
@media (max-width: 1450px) {
  .sae-shell .header-admision__branding { gap: 36px; }
}
@media (max-width: 1350px) {
  .sae-shell .header-admision__branding { gap: 24px; }
}
@media (max-width: 1250px) {
  .sae-shell .header-admision__branding { gap: 16px; }
}
@media (max-width: 1199.98px) {
  .sae-shell .header-admision__social img {
    width: 38px;
    height: 38px;
  }
}
/* ==========================================================
   RESPONSIVE MENU / HEADER / FOOTER
   ========================================================== */
@media (max-width: 991.98px) {
  .sae-shell .header-admision {
    min-height: auto;
  }
  .sae-shell .header-admision__desktop {
    display: none;
  }
  .sae-shell .header-admision__mobile {
    display: block;
  }
  .sae-shell .header-admision__fondo img {
    width: 420px;
  }
  .sae-shell .sae-menu__container {
    min-height: 0;
  }
  .sae-shell .sae-menu__toggler {
    display: block;
  }
  .sae-shell .sae-menu__collapse {
    display: none;
    width: 100%;
  }
  .sae-shell .sae-menu__collapse.is-open {
    display: block;
  }
  .sae-shell .sae-menu__list {
    display: block;
    width: 100%;
    min-height: 0;
  }
  .sae-shell .sae-menu__list > li {
    display: block;
    width: 100%;
  }
  .sae-shell .sae-menu__list > li:not(:last-child)::after {
    display: none;
  }
  .sae-shell .sae-menu .nav-link {
    min-height: 0;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 14px;
    text-align: left;
  }
  .sae-shell .sae-menu .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,.05);
    animation: none;
  }
  .sae-shell .sae-menu .dropdown.is-open > .dropdown-menu {
    display: block;
  }
  .sae-shell .sae-menu .dropdown-item {
    padding: 12px 32px;
    color: #fff;
    text-align: left;
  }
  .sae-shell .sae-menu .dropdown-item:hover,
  .sae-shell .sae-menu .dropdown-item:focus-visible {
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  .sae-shell .sae-footer__middle {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .sae-shell .sae-footer__datos,
  .sae-shell .sae-footer__ayuda {
    padding: 0;
    text-align: center;
  }
  .sae-shell .sae-footer__datos::after,
  .sae-shell .sae-footer__ayuda::after {
    display: none;
  }
  .sae-shell .sae-footer__social {
    justify-content: center;
    padding: 0;
  }
}
@media (max-width: 575.98px) {
  .sae-shell .header-admision__mobile {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .sae-shell .header-admision__mobile-logo {
    margin-bottom: 32px;
  }
  .sae-shell .header-admision__mobile-logo img {
    max-width: 290px;
  }
  .sae-shell .header-admision__mobile-lineas img {
    max-width: 420px;
  }
  .sae-shell .header-admision__fondo img {
    width: 320px;
  }
  .sae-shell .sae-footer {
    padding: 45px 20px 30px;
  }
  .sae-shell .sae-footer__logo-top img {
    max-width: 250px;
  }
  .sae-shell .sae-footer__social img {
    width: 38px;
    height: 38px;
  }
  .sae-shell .sae-footer__gob img {
    max-width: 220px;
  }
  .sae-shell #btnTop {
    right: 15px;
    bottom: 15px;
  }
  .sae-shell #btnTop svg {
    width: 30px;
    height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sae-shell * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.sae-shell .sae-menu__toggler {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  border-radius: 5px;
  width: 46px;
  height: 42px;
  padding: 8px;
  margin: 12px 15px;
  cursor: pointer;
}
@media (max-width: 991.98px) {
  .sae-shell .sae-menu {
    min-height: 66px;
    padding-top: 10px;
  }
  .sae-shell .sae-menu__toggler {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sae-shell .sae-menu__container {
    min-height: 66px;
  }
  .sae-shell .sae-menu + .sae-app {
    margin-top: 66px;
  }
}
@media (max-width: 991.98px) {

    .sae-shell .sae-menu__toggler {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sae-shell .sae-menu__collapse {
        display: none;
        width: 100%;
    }

    .sae-shell .sae-menu__collapse.is-open {
        display: block;
    }

    .sae-shell .sae-menu__list {
        display: block;
        width: 100%;
        min-height: 0;
    }

    .sae-shell .sae-menu__list > li {
        display: block;
        width: 100%;
    }

    .sae-shell .sae-menu .nav-link {
        min-height: 0;
        justify-content: space-between;
        padding: 14px 20px;
        font-size: 14px;
        text-align: left;
    }

    .sae-shell .sae-menu .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(255,255,255,.05);
        animation: none;
    }

    .sae-shell .sae-menu .dropdown.is-open > .dropdown-menu {
        display: block;
    }

    .sae-shell .sae-menu .dropdown-item {
        padding: 12px 32px;
        color: #fff;
        text-align: left;
    }

}