/* Universo Lunéa · V64 · capa móvil premium
   Solo actúa <= 780px. Desktop queda intacto. */
@media(max-width:780px){
  html{overflow-x:hidden;-webkit-text-size-adjust:100%}
  body{overflow-x:hidden!important;padding-top:64px!important}
  body>nav:not(.lunea-mobile-drawer),body>header.top{display:none!important}
  body *{max-width:100%}
  img,video,svg{max-width:100%;height:auto}
  .wrap,.school-wrap{width:calc(100% - 32px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
  main,section,header,footer{min-width:0}

  /* Tipo / ritmo */
  h1,.display{font-size:clamp(42px,12vw,56px)!important;line-height:.96!important;letter-spacing:-.025em!important;overflow-wrap:normal;word-break:normal}
  h2{font-size:clamp(36px,10vw,46px)!important;line-height:1!important;letter-spacing:-.018em!important}
  h3{line-height:1.06!important}
  p,li{font-size:15px;line-height:1.72}
  .ey,.eyebrow,.path-tag,.tag{font-size:10px!important;letter-spacing:.19em!important}
  section{padding-top:58px!important;padding-bottom:58px!important}

  /* Botones / controles */
  .actions,.hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
  .actions .btn,.hero-actions .btn,.school-btn,.cta,.event-link{width:100%;max-width:none!important;justify-content:center;text-align:center}
  input,select,textarea,button{font-size:16px!important}
  input,select,textarea{min-height:48px}
  textarea{min-height:110px}

  /* tarjetas / grids comunes */
  .grid3,.grid4,.path-grid,.compact-grid,.event-grid,.levels,.groups,.prices,.facts,.classes,.calendar-grid,.program,.verify,.includes,.who,.pricegrid,.methodGrid,.include,.practiceBlock,.premium-grid,.live-grid,.heroGrid,.intro,.final,.formbox,.product,.checkoutbox,.availability-strip,.pay-grid{grid-template-columns:1fr!important}
  .card,.path-card,.compact-card,.event-card,.level,.group,.price,.fact,.module,.include,.case,.programme,.schedule,.method,.heroCard{min-height:0!important}

  /* Home */
  body.page-index{padding-top:64px!important}
  body.page-index .hero{padding-top:0!important}
  body.page-index .hero-grid{grid-template-columns:1fr!important;min-height:auto!important}
  body.page-index .hero-copy{min-height:0!important;padding:64px 22px 48px!important}
  body.page-index .hero-copy:after{display:none!important}
  body.page-index .hero h1{font-size:clamp(48px,14vw,62px)!important;max-width:9ch!important;margin:12px 0 20px!important}
  body.page-index .hero-copy>p:not(.eyebrow){font-size:15px!important;max-width:34ch}
  body.page-index .hero-image{padding:0 16px 18px!important;min-height:0!important;background:#171114!important}
  body.page-index .hero-image img{width:100%!important;aspect-ratio:4/5!important;max-height:470px!important;border-radius:22px!important;object-fit:cover!important}
  body.page-index .intro{padding:66px 0!important}
  body.page-index .intro h2{font-size:clamp(42px,12vw,52px)!important;max-width:10ch!important}
  body.page-index .intro .lead{font-size:22px!important;line-height:1.42!important;padding:0 2px}
  body.page-index .worlds{padding:68px 0!important}
  body.page-index .worlds .wrap{width:calc(100% - 28px)!important}
  body.page-index .worlds-intro{margin:0 auto 36px!important;padding:0 6px}
  body.page-index .worlds-intro h2{font-size:clamp(42px,12vw,52px)!important;line-height:.95!important}
  body.page-index .worlds-intro>p:last-child{font-size:14px!important;line-height:1.72!important;margin-top:20px!important}
  body.page-index .world-card,body.page-index .world-card.reverse{grid-template-columns:1fr!important;margin-bottom:18px!important;border-radius:2px;overflow:hidden}
  body.page-index .world-card.reverse .world-photo{order:0!important}
  body.page-index .world-photo{min-height:0!important;height:280px!important}
  body.page-index .shop-photo{height:300px!important;padding:32px!important}
  body.page-index .shop-book{width:190px!important;padding:25px 18px!important}
  body.page-index .shop-book strong{font-size:2.25rem!important}
  body.page-index .world-copy{padding:30px 24px 34px!important}
  body.page-index .world-copy h3{font-size:40px!important;margin:7px 0 12px!important}
  body.page-index .points{margin:18px 0 22px!important}
  body.page-index .premium-retreat{padding:62px 0!important}
  body.page-index .premium-retreat .inner{grid-template-columns:1fr!important;gap:22px!important}
  body.page-index .premium-retreat h2{font-size:46px!important;max-width:9ch!important}
  body.page-index .premium-retreat .copy{padding-left:18px!important}
  body.page-index footer .foot{justify-content:center!important;text-align:center!important}

  /* Escuela */
  body.page-escuela .school-hero{padding:64px 0 58px!important}
  body.page-escuela .school-hero h1{font-size:52px!important}
  body.page-escuela .school-hero p{font-size:15px!important}
  body.page-escuela .school-section{padding:58px 0!important}
  body.page-escuela .section-heading{margin-bottom:28px!important}
  body.page-escuela .section-heading h2{font-size:42px!important}
  body.page-escuela .path-card,body.page-escuela .compact-card{padding:24px!important}
  body.page-escuela .path-card h3,body.page-escuela .compact-card h3{font-size:36px!important}
  body.page-escuela .compact-card{gap:20px!important}
  body.page-escuela .compact-action{align-items:flex-start!important;width:100%!important}
  body.page-escuela .compact-action a{width:100%;padding:12px 0;border-top:1px solid rgba(181,142,85,.22)}
  body.page-escuela .final-inner{align-items:flex-start!important;flex-direction:column!important;gap:22px!important}

  /* Comunidad */
  body.page-comunidad .hero{padding:60px 0!important}
  body.page-comunidad .hero h1{font-size:52px!important}
  body.page-comunidad .manifesto{padding:52px 0!important}
  body.page-comunidad .experience-head{grid-template-columns:1fr!important;gap:12px!important;align-items:start!important}
  body.page-comunidad .event-grid{grid-template-columns:1fr!important}
  body.page-comunidad .event-card{padding:24px!important}
  body.page-comunidad .event-card h3{font-size:32px!important}
  body.page-comunidad .retreat{grid-template-columns:1fr!important;padding:26px!important;gap:22px!important}
  body.page-comunidad .retreat-note{padding-left:16px!important}
  body.page-comunidad .circle{padding:56px 0!important}
  body.page-comunidad .newsletter{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.page-comunidad .newsletter input,body.page-comunidad .newsletter button{width:100%!important}

  /* Tienda */
  body.page-tienda .hero{padding:58px 0!important}
  body.page-tienda .hero h1{font-size:50px!important}
  body.page-tienda .product,body.page-tienda .checkoutbox{grid-template-columns:1fr!important}
  body.page-tienda .cover{padding:34px 22px!important}
  body.page-tienda .details,body.page-tienda .payment,body.page-tienda .summary{padding:28px 22px!important}
  body.page-tienda .future{padding:58px 0!important}
  body.page-tienda .future h2{font-size:42px!important}

  /* Consultas */
  body.page-consultas .hero{padding:58px 0!important}
  body.page-consultas .hero h1{font-size:50px!important}
  body.page-consultas .intro{grid-template-columns:1fr!important;gap:28px!important}
  body.page-consultas .cards{grid-template-columns:1fr!important;gap:10px!important}
  body.page-consultas .booking{padding:24px 15px!important}
  body.page-consultas .booking-head{align-items:flex-start!important;flex-direction:column!important;gap:12px!important}
  body.page-consultas .formgrid,body.page-consultas .availability-strip,body.page-consultas .pay-grid{grid-template-columns:1fr!important}
  body.page-consultas .calendar-shell{padding:13px 9px!important}
  body.page-consultas .week,body.page-consultas .days{gap:3px!important}
  body.page-consultas .week div{font-size:9px!important;letter-spacing:0!important}
  body.page-consultas .day{min-height:46px!important;padding:2px!important;font-size:12px!important}
  body.page-consultas .day small{display:none!important}
  body.page-consultas .times{gap:7px!important}
  body.page-consultas .time{flex:1 0 calc(33.333% - 7px);text-align:center;padding:10px 6px!important}
  body.page-consultas .pay-btn,body.page-consultas .free-btn{width:100%!important;min-height:52px}

  /* Formación Tarot / Brujería */
  body.page-tarot-formacion .hero,body.page-brujeria-formacion .hero{padding:62px 0!important}
  body.page-tarot-formacion .hero h1,body.page-brujeria-formacion .display{font-size:50px!important}
  body.page-tarot-formacion .facts,body.page-brujeria-formacion .facts{grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.page-tarot-formacion .fact,body.page-brujeria-formacion .fact{padding:18px!important}
  body.page-tarot-formacion .levels,body.page-tarot-formacion .calendar-grid,body.page-tarot-formacion .prices,body.page-tarot-formacion .formbox,body.page-brujeria-formacion .levels,body.page-brujeria-formacion .groups,body.page-brujeria-formacion .prices{grid-template-columns:1fr!important}
  body.page-tarot-formacion .level,body.page-tarot-formacion .group,body.page-tarot-formacion .price,body.page-brujeria-formacion .level,body.page-brujeria-formacion .group,body.page-brujeria-formacion .price{padding:24px!important}
  body.page-tarot-formacion .row,body.page-brujeria-formacion .row{display:block!important}
  body.page-tarot-formacion .row span,body.page-brujeria-formacion .row span{display:block!important;text-align:left!important}
  body.page-tarot-formacion .formbox form{padding:22px!important}

  /* Intensivos premium */
  body.page-workshop-volteo .hero,body.page-formacion-espiritismo .hero,body.page-formacion-santa-muerte .hero,body.page-formacion-anima-sola .hero{padding:62px 0!important}
  body.page-workshop-volteo h1,body.page-formacion-espiritismo h1,body.page-formacion-santa-muerte h1,body.page-formacion-anima-sola h1{font-size:50px!important}
  body.page-workshop-volteo .heroGrid,body.page-formacion-espiritismo .heroGrid,body.page-formacion-santa-muerte .heroGrid,body.page-formacion-anima-sola .heroGrid{grid-template-columns:1fr!important;gap:28px!important;align-items:start!important}
  body.page-workshop-volteo main,body.page-formacion-espiritismo main,body.page-formacion-santa-muerte main,body.page-formacion-anima-sola main{padding-top:58px!important;padding-bottom:70px!important}
  body.page-workshop-volteo .intro,body.page-formacion-espiritismo .intro,body.page-formacion-santa-muerte .intro,body.page-formacion-anima-sola .intro{grid-template-columns:1fr!important;gap:24px!important}
  body.page-workshop-volteo .levels,body.page-workshop-volteo .methodGrid,body.page-workshop-volteo .verify,body.page-workshop-volteo .includes,body.page-workshop-volteo .program,body.page-workshop-volteo .who,
  body.page-formacion-espiritismo .levels,body.page-formacion-espiritismo .methodGrid,body.page-formacion-espiritismo .verify,body.page-formacion-espiritismo .includes,body.page-formacion-espiritismo .program,body.page-formacion-espiritismo .who,
  body.page-formacion-santa-muerte .levels,body.page-formacion-santa-muerte .methodGrid,body.page-formacion-santa-muerte .verify,body.page-formacion-santa-muerte .includes,body.page-formacion-santa-muerte .program,body.page-formacion-santa-muerte .who,
  body.page-formacion-anima-sola .levels,body.page-formacion-anima-sola .methodGrid,body.page-formacion-anima-sola .verify,body.page-formacion-anima-sola .includes,body.page-formacion-anima-sola .program,body.page-formacion-anima-sola .who{grid-template-columns:1fr!important}
  body.page-workshop-volteo .method,body.page-workshop-volteo .final,body.page-formacion-espiritismo .method,body.page-formacion-espiritismo .final,body.page-formacion-santa-muerte .method,body.page-formacion-santa-muerte .final,body.page-formacion-anima-sola .method,body.page-formacion-anima-sola .final{padding:30px 22px!important}
  body.page-workshop-volteo .final,body.page-formacion-espiritismo .final,body.page-formacion-santa-muerte .final,body.page-formacion-anima-sola .final{grid-template-columns:1fr!important;gap:22px!important}
  body.page-workshop-volteo .final .price,body.page-formacion-espiritismo .final .price,body.page-formacion-santa-muerte .final .price,body.page-formacion-anima-sola .final .price{text-align:left!important}

  /* Curso altar + alumnos + páginas funcionales */
  body.page-curso-altar .hero{padding:62px 0!important}
  body.page-curso-altar .hero h1{font-size:50px!important}
  body.page-alumnos .center{padding-top:42px!important;padding-bottom:50px!important}
  body.page-alumnos .box{padding:24px!important}

  /* footers */
  footer .foot,footer .wrap,footer .school-wrap{justify-content:center!important;text-align:center!important;align-items:center!important}
  footer p{font-size:11px!important;line-height:1.6!important}
}

@media(max-width:430px){
  .wrap,.school-wrap{width:calc(100% - 28px)!important}
  h1,.display{font-size:44px!important}
  h2{font-size:38px!important}
  body.page-index .hero h1{font-size:52px!important}
  body.page-index .worlds-intro h2{font-size:44px!important}
  body.page-index .world-photo{height:250px!important}
  body.page-index .shop-photo{height:280px!important}
  body.page-consultas .time{flex-basis:calc(50% - 7px)}
}
