 .menu-toggle {
   display: none;
 }

@media (max-width: 1180px) {
  .barra {
    padding: 26px 28px;
  }

  .barra .logo {
    width: 78px;
    height: 105px;
  }

  .barra .menu {
    max-width: 620px;
    gap: 18px;
  }

  .hero,
  .presentacion,
  .explica,
  .beneficios,
  .llevas,
  .territorial,
  .alumnos,
  .cta {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero .content,
  .presentacion .content,
  .explica .content,
  .cta .content {
    gap: 34px;
  }

  .hero h1,
  .cta h2 {
    font-size: 36px;
    line-height: 58px;
  }

  .presentacion {
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
  }

  .presentacion .content {
    align-items: flex-end;
  }

  .presentacion .foto {
    height: 78vh;
  }

  .presentacion .numeralias {
    flex-wrap: wrap;
    padding-top: 58px;
  }

  .explica .content {
    gap: 46px;
  }

  .explica .right {
    max-width: 610px;
  }

  .explica h3,
  .curso h2 {
    font-size: 34px;
    line-height: 54px;
  }

  .beneficios .bottom {
    justify-content: center;
  }

  .curso .top,
  .curso .bottom {
    padding-right: 28px;
    padding-left: 28px;
  }

  .curso .bottom .content {
    gap: 24px;
  }

  .curso .bottom .right.registro {
    max-width: 390px;
  }

  .alumnos .content {
    gap: 38px;
  }
}

@media (max-width: 900px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }

  .barra {
    position: absolute;
    padding: 22px;
  }

  .barra .contenedor {
    position: relative;
    align-items: center;
    gap: 22px;
  }

  .barra .logo {
    position: relative;
    z-index: 32;
    width: 88px;
    height: 119px;
  }

  .menu-toggle {
    position: relative;
    z-index: 32;
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.16);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .barra.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .barra.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .barra.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .barra.is-menu-open .menu-toggle {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 34;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
  }

  .barra .menu {
    position: fixed;
    z-index: 31;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 132px clamp(26px, 8vw, 72px) 42px;
    border: 0;
    background: rgba(21, 21, 21, 0.98);
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 220ms ease, transform 260ms ease;
  }

  .barra.is-menu-open .menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .barra a {
    display: flex;
    width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: clamp(16px, 4vw, 20px);
    line-height: 24px;
    text-align: center;
  }

  .barra a:last-child {
    border-bottom: 0;
  }

  .hero {
    position: relative;
    min-height: 100svh;
    height: auto;
    padding-top: 160px;
    padding-bottom: 88px;
    align-items: flex-end;
  }

  .hero .content {
    flex-direction: column;
    gap: 28px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero .textos {
    max-width: 680px;
  }

  .presentacion {
    min-height: 0;
    padding-top: 92px;
  }

  .presentacion .content {
    flex-direction: column;
    align-items: center;
  }

  .presentacion .foto {
    order: -1;
  }

  .presentacion .textos {
    max-width: 720px;
  }

  .presentacion .foto {
    width: min(100%, 430px);
    height: auto;
    padding-bottom: 0px;
    border-bottom: 1px solid #A96735;
  }

  .presentacion .numeralias {
    max-width: none;
  }

  .explica {
    padding-top: 105px;
    padding-bottom: 110px;
  }

  .explica .content {
    flex-direction: column;
    align-items: center;
  }

  .explica .left,
  .explica .right {
    width: 100%;
    max-width: 720px;
  }

  .explica .fotoWrapper {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .explica .foto {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 506 / 723;
  }

  .explica .right {
    gap: 52px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .explica .descripcion {
    min-height: 52svh;
    height: auto;
  }

  .beneficios {
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 130px;
  }

  .curso {
    position: relative;
    height: auto;
    min-height: 100svh;
  }

  .curso .background img {
    object-position: right center;
  }

  .curso .top,
  .curso .bottom {
    height: auto;
  }

  .curso .top {
    min-height: 42svh;
    padding-top: 220px;
    padding-bottom: 54px;
  }

  .curso .bottom {
    min-height: 58svh;
    padding-top: 44px;
    padding-bottom: 62px;
    align-items: flex-start;
  }

  .curso .bottom .content {
    flex-direction: column;
  }

  .curso .bottom .left,
  .curso .bottom .right.registro {
    max-width: none;
  }

  .curso .bottom .right.registro {
    align-self: auto;
  }

  .curso .bottom.especial {
    min-height: 100svh;
    height: auto;
    padding-top: 220px;
    padding-bottom: 90px;
  }

  .llevas {
    min-height: 0;
    padding-top: 125px;
    padding-bottom: 135px;
  }

  .llevas .grid {
    column-gap: 34px;
    row-gap: 36px;
  }

  .llevas .item {
    width: calc((100% - 34px) / 2);
  }

  .territorial {
    min-height: 0;
    padding-top: 130px;
    padding-bottom: 170px;
  }

  .territorial__recurso {
    max-width: 760px;
  }

  .alumnos {
    height: auto;
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .alumnos .content {
    flex-direction: column;
  }

  .alumnos .columna {
    max-width: 560px;
  }

  .alumnos .columna:first-child .caja:last-child {
    padding-bottom: 24px;
    border-bottom: 1px solid #A96735;
  }

  .alumnos h1 {
    order: -1;
    max-width: 560px;
    min-width: 0;
    font-size: 34px;
    line-height: 52px;
  }

  .cta {
    height: auto;
    min-height: 100svh;
    padding-top: 115px;
    padding-bottom: 105px;
  }

  .cta .content {
    flex-direction: column;
  }

  .cta .textos,
  .cta form {
    max-width: 720px;
  }

  .aliados {
    position: relative;
    height: auto;
    min-height: 56svh;
    padding-top: 80px;
    padding-bottom: 130px;
  }

    .hero h1{
    max-width: 680px;
  } 
  
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  body * {
    min-width: 0;
  }

  .barra {
    padding: 18px;
  }

  .barra .contenedor {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .barra .logo {
    width: 82px;
    height: 111px;
  }

  .barra .menu {
    width: 100%;
  }

  .barra a {
    font-size: 13px;
    line-height: 16px;
  }

  .hero,
  .presentacion,
  .explica,
  .beneficios,
  .llevas,
  .territorial,
  .alumnos,
  .cta {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding-top: 145px;
    padding-bottom: 74px;
  }

  .hero h1,
  .presentacion h2,
  .beneficios h1,
  .llevas h2,
  .territorial__intro h2,
  .cta h2 {
    max-width: 100%;
    font-size: 28px;
    line-height: 45px;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }


  .hero h1,
  .explica h3,
  .cta h2 {
    text-underline-offset: 10px;
  }

    .hero {
    align-items: center;
  }

  .hero .textos,
  .presentacion p,
  .explica p,
  .beneficios .subtexto,
  .cta p {
    max-width: 100%;
    font-size: 15px;
    line-height: 26px;
    overflow-wrap: break-word;
  }

  .hero a,
  .presentacion__boton,
  .curso .bottom a.descargar,
  .curso .bottom .right.registro .formulario,
  .cta button,
  .territorial__formulario button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .presentacion {
    padding-top: 84px;
  }

  .presentacion .numeralias {
    flex-direction: column;
    gap: 26px;
    padding-top: 42px;
  }

  .presentacion .numero {
    width: 100%;
    gap: 16px;
  }

  .presentacion .numero .top {
    justify-content: space-between;
    padding-right: 0;
  }

  .presentacion .top p.contador {
    font-size: 42px;
    line-height: 52px;
  }

  .presentacion .foto {
    width: min(100%, 340px);
  }

  .explica {
    padding-top: 88px;
    padding-bottom: 92px;
  }

  .explica .content {
    gap: 48px;
  }

  .explica .foto {
    width: min(100%, 315px);
  }

  .explica .descripcion {
    min-height: 0;
    padding: 24px 0;
  }

  .explica .textos {
    opacity: 1;
  }

  .explica .iconLaptop {
    width: 92px;
    height: 85px;
  }

  .explica .iconTiempo {
    width: 49px;
    height: 84px;
  }

  .explica h3,
  .curso h2 {
    font-size: 27px;
    line-height: 42px;
    letter-spacing: 0;
  }

  .frase {
    min-height: 185px;
    gap: 14px;
  }

  .frase .marquee p {
    font-size: 46px;
    padding-right: 24px;
  }

  .beneficios {
    padding-top: 96px;
    padding-bottom: 104px;
  }

  .beneficios h1 {
    padding-bottom: 22px;
  }

  .beneficios .bottom {
    gap: 34px;
    padding-top: 46px;
  }

  .beneficios .caja {
    max-width: none;
    flex-basis: 100%;
  }

  .beneficios .icon {
    height: 82px;
    margin-bottom: 24px;
  }

  .curso .top,
  .curso .bottom {
    padding-right: 22px;
    padding-left: 22px;
  }

  .curso .top {
    min-height: 40svh;
    padding-top: 190px;
    padding-bottom: 38px;
  }

  .curso .bottom {
    min-height: 60svh;
    padding-top: 32px;
    padding-bottom: 44px;
  }

  .curso .top .content {
    gap: 12px;
  }

  .curso .bottom .left {
    gap: 22px;
    padding-top: 0;
  }

  .curso .bottom .puntos {
    row-gap: 18px;
  }

  .curso .bottom .caja {
    flex-basis: 100%;
    max-width: none;
  }

  .curso .bottom .right.registro {
    padding: 22px 18px;
  }

  .curso .content.rutaCompleta {
    padding: 28px 18px;
  }

  .curso .content.rutaCompleta > p {
    text-align: center;
  }

  .curso .content.rutaCompleta .right.registro .curso-actions {
    width: 100%;
  }

  .llevas {
    padding-top: 96px;
    padding-bottom: 108px;
  }

  .llevas .grid {
    margin-top: 52px;
  }

  .llevas .item {
    width: 100%;
  }

  .territorial {
    padding-top: 92px;
    padding-bottom: 132px;
  }

  .territorial__puntos {
    gap: 18px;
  }

  .territorial__punto {
    min-height: 152px;
  }

  .territorial__punto::before {
    top: 86px;
    height: 42px;
  }

  .territorial__punto::after {
    top: 128px;
    bottom: -18px;
  }

  .territorial__marcador {
    top: 128px;
  }

  .territorial__punto h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .territorial__recurso {
    min-height: 0;
  }

  .territorial__imagen {
    aspect-ratio: 4 / 5;
  }

  .territorial__formulario input,
  .cta input,
  .cta textarea {
    font-size: 16px;
  }

  .alumnos {
    padding-top: 92px;
    padding-bottom: 98px;
  }

  .alumnos .content {
    gap: 44px;
  }

  .alumnos .columna {
    gap: 26px;
  }

  .alumnos .caja {
    justify-content: space-between;
  }

  .alumnos .number {
    font-size: 42px;
  }

  .alumnos h1 {
    font-size: 28px;
    line-height: 45px;
  }

  .aliados {
    min-height: 530px;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .aliados .content {
    gap: 62px;
  }

  .aliados h3 {
    padding: 0 22px;
    font-size: 27px;
    line-height: 42px;
  }

  .aliados .tira {
    gap: 24px;
    animation-duration: 36s;
  }

  .aliados .logo {
    height: 82px;
  }

  .cta {
    padding-top: 92px;
    padding-bottom: 94px;
  }

  .cta .content {
    gap: 34px;
  }

  .cta .textos {
    gap: 28px;
  }

  .cta form {
    gap: 11px;
  }

  .cta textarea {
    min-height: 126px;
  }

  .formModal .submit {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .barra .logo {
    width: 74px;
    height: 100px;
  }

  .hero {
    padding-top: 170px;
  }

  .hero h1,
  .presentacion h2,
  .beneficios h1,
  .llevas h2,
  .territorial__intro h2,
  .cta h2,
  .alumnos h1 {
    font-size: 25px;
    line-height: 39px;
  }

  .curso h2,
  .explica h3 {
    font-size: 24px;
    line-height: 38px;
  }

  .curso .bottom .right.registro .formulario {
    padding-right: 16px;
    padding-left: 16px;
  }

  .floating-cta__button {
    padding-right: 14px;
    padding-left: 14px;
  }
}
