/* Landing de venta — capa mobile-first (solo <900px). Desktop intacto. */
@media (max-width:900px){
  /* Secciones: menos alto, mismo aire lateral */
  #top{padding:28px 18px 44px!important}
  #video,#problema,#metodo,#andy,#oferta,#dudas{padding:56px 18px!important}

  /* Hero: titular contenido, imagen debajo, CTA cómodo */
  #top h1{font-size:clamp(34px,10.5vw,44px)!important;line-height:.98!important}
  #top p{font-size:16px!important}
  #top>div{gap:28px!important}
  #top button{min-height:56px!important;font-size:16px!important}
  #top>div>div{gap:16px!important}
  #top [data-d="280"]{gap:10px!important}
  #top [data-d="280"] img{width:38px!important;height:38px!important}
  #top [data-d="280"] > span:last-of-type{font-size:13px!important;flex:1 1 100%!important;min-width:0!important}

  /* Titulares de sección más compactos */
  #problema h2,#metodo h2,#andy h2,#oferta h2,#dudas h2{font-size:clamp(28px,8.4vw,36px)!important;line-height:1!important}

  /* "Si te suena esto": números más pequeños, filas compactas */
  #problema span[style*="52px"]{font-size:34px!important}
  #problema h3{font-size:19px!important}
  #problema p{font-size:14px!important}


  /* Método: tarjetas de semana compactas */
  #metodo [data-wk]{min-height:0!important}
  #metodo span[style*="220px"]{font-size:120px!important}
  #metodo span[style*="clamp(30px,3.4vw,44px)"]{font-size:24px!important}

  /* ¿Es para ti?: cuadrícula 2x2 compacta */
  [data-types]{grid-template-columns:1fr 1fr!important;gap:10px!important}
  [data-types]>div{padding:16px!important;border-radius:18px!important;gap:8px!important}
  [data-types] h3{font-size:16px!important}
  [data-types] p{font-size:12.5px!important;line-height:1.45!important}

  /* Oferta: precio y cuenta atrás contenidos */
  #oferta span[style*="clamp(96px"]{font-size:72px!important}
  #oferta button{min-height:56px!important}

  /* FAQ: filas más bajas */
  #dudas button{min-height:60px!important}

  /* Andy: cifras en 3 columnas pero compactas */
  #andy b[style*="38px"]{font-size:26px!important}

  /* Carruseles de webs reales: tarjetas más estrechas */
  a[style*="width:250px"]{width:200px!important}

  /* Acceso alumnos: la foto ocupa menos, el formulario manda */
  [data-page] div[style*="accImgH"]{min-height:200px!important}

  /* Franja de cuenta atrás: fija encima del header, sin solape */
  [data-topbar]{position:fixed!important;top:0;left:0;right:0;z-index:55}
  body:has([data-topbar]) header{top:40px!important}
  body:has([data-topbar]) header+div[aria-hidden]{height:110px!important}
}

/* Cabecera móvil: logo + un solo botón */
@media (max-width:899px){
  header a[href="#/acceso"],header a[href="#/app"]{display:none!important}
  header button{margin-left:auto!important;padding:0 14px!important;min-height:40px!important;font-size:13px!important}
  header img{height:28px!important}
}

/* Pantallas muy estrechas: la línea de Andy entra sin palabra huérfana */
@media (max-width:380px){
  #top [data-d="280"] > span:last-of-type{font-size:12.5px!important}
}
