/* Nosotros mantiene la escena original; lectura y guía tienen su propio ritmo. */
/* Safari trasluce el documento detrás de su barra: ocultar la tienda sin perder su estado. */
body:has(#nosPant.on)>:is(.promo,.cab,main,.pie-tienda,#tabs,#enCurso){visibility:hidden}
#nosPant{--nos-cabecera:72px;--nos-escena:calc(100svh - var(--nos-cabecera));background:#eee6dd;overscroll-behavior:contain}
#nosPant .top{gap:10px;padding:12px max(16px,calc((100vw - 1240px)/2));align-items:center}
#nosPant .nosTitulo{font-size:17px;font-weight:650;flex:1;white-space:nowrap}
#nosPant .top button{min-width:44px;min-height:44px;cursor:pointer}
#nosPant .nosAtajos{display:flex;gap:6px}
#nosPant .nosAtajos button{padding:10px 14px;font-size:14px;border-radius:12px}
#nosPant .nosAtajos .nosGuiar{background:var(--marca);color:white;border-color:var(--marca)}
#nosPant button:focus-visible,#nosPant a:focus-visible{outline:3px solid var(--menta);outline-offset:3px}
#nosPant .nosProgreso{top:var(--nos-cabecera)}
#nosPant .nosProgreso i{width:100%;transform:scaleX(0);transform-origin:left;will-change:transform}
#nosPant .nosPeg{height:var(--nos-escena);top:var(--nos-cabecera)}
#nosPant .nosSobre{pointer-events:none;margin-top:calc(-1 * var(--nos-escena))}
#nosPant .nosEspacio{height:calc(var(--nos-escena) * 1.6)}
#nosPant .nosVelo{background:linear-gradient(0deg,rgba(15,20,31,.8),transparent 75%);opacity:var(--nos-velo,1)}
body.noche #nosPant .nosVelo{background:rgba(8,11,15,.64);opacity:1}
#nosPant .nosPortada{padding:36px max(24px,calc((100vw - 1180px)/2)) 90px;justify-content:flex-end;pointer-events:auto;max-width:none}
#nosPant .nosPortada h1{font-size:clamp(32px,4.4vw,60px);line-height:1.08;max-width:15ch;font-weight:700;text-wrap:balance;letter-spacing:-.025em;margin:10px 0 18px}
#nosPant .nosPortada p{font-size:clamp(16px,1.5vw,20px);max-width:42ch;line-height:1.5}
#nosPant .nosPortada .nosEtiqueta{font-size:13px;font-weight:600;letter-spacing:.04em}
#nosPant .nosEntradas{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
#nosPant .nosEntradas button{font:inherit;font-size:16px;font-weight:600;min-height:48px;padding:13px 20px;border:1px solid white;border-radius:12px;background:white;color:var(--marca);cursor:pointer;transition:transform 160ms ease-out,background 160ms ease-out}
#nosPant .nosEntradas .nosLeer{color:white;background:rgba(20,25,35,.3)}
#nosPant .nosEntradas button:active{transform:scale(.98)}
#nosPant .nosPista{bottom:20px;font-size:13px;min-height:44px}
#nosPant .nosPista i{animation:none;font-size:18px}
#nosPant .nosCarga{height:auto;bottom:14px;left:auto;right:20px;background:rgba(15,20,31,.6);color:white;font-size:12px;border-radius:8px;padding:6px 10px;pointer-events:none}
#nosPant .nosCarga[hidden]{display:none}
#nosPant .nosInfo{--nos-panel:245,241,235;pointer-events:auto;background:linear-gradient(to bottom,rgba(var(--nos-panel),0) var(--nos-fusion-inicio,220px),rgba(var(--nos-panel),.97) calc(var(--nos-fusion-inicio,220px) + 180px));padding:56px 0 48px;scroll-margin-top:calc(var(--nos-cabecera) + 20px)}
#nosPant .nosInfo .caja{max-width:1180px;padding:0 28px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:start}
#nosPant .nosLema{grid-column:1/-1;max-width:34ch;font-size:clamp(25px,3vw,38px);padding:0 0 18px;line-height:1.2;text-shadow:none;text-wrap:balance;letter-spacing:-.02em}
#nosPant .nosBloque{grid-column:span 6;margin:0;padding:30px;border:0;border-radius:20px;background:rgba(255,255,255,.88);box-shadow:none;scroll-margin-top:calc(var(--nos-cabecera) + 20px)}
#nosPant .nosBloque h2{font-size:clamp(21px,2vw,27px);line-height:1.2;margin:0 0 16px;text-wrap:balance;font-weight:650}
#nosPant .nosBloque p,#nosPant .nosBloque ul{font-size:16px;line-height:1.7;max-width:65ch}
#nosPant .nosBloque .eyebrow{font-size:12px;line-height:1.4;letter-spacing:.045em;margin-bottom:12px}
#nosPant .nosContacto{grid-column:1/-1;background:var(--marca);color:white;display:grid;grid-template-columns:1fr 1fr;gap:0 40px}
#nosPant .nosContacto .eyebrow,#nosPant .nosContacto h2,#nosPant .nosContacto p{color:inherit}
#nosPant .nosContacto .nosPie{grid-column:2;grid-row:1/4;align-self:center;margin:0}
#nosPant .nosContacto a{min-height:48px;background:white;color:var(--marca);border-color:transparent;display:grid;place-items:center}
#nosPant .nosContacto a.alt{background:transparent;color:white;border:1px solid #ffffff66}
#nosPant .nosBorrador{grid-column:1/-1;text-align:left;font-size:12px;margin:0;max-width:65ch}
#nosPant .nosPie a{min-height:48px}
#nosPant .nosEscenaError{display:none;max-width:45ch;padding:12px;border-radius:10px;font-size:14px;background:rgba(255,255,255,.92);color:var(--tinta);text-shadow:none;margin-top:16px}
#nosPant.nos-sin-imagen .nosEscenaError{display:block}
#nosPant.nos-sin-imagen .nosVelo{background:#252544}
#nosPant.nos-sin-imagen .nosEspacio{height:var(--nos-escena)}
body.noche #nosPant .nosInfo{--nos-panel:30,29,40}
body.noche #nosPant .nosBloque{background:#282733}
body.noche #nosPant .nosLema{color:var(--n-tinta);text-shadow:none}
body.noche #nosPant .nosContacto{background:var(--marca)}
body.noche #nosPant .nosContacto h2,body.noche #nosPant .nosContacto p{color:white}

/* La guía deja libre la escena; el estado se anuncia sin una barra de controles. */
#nosAutoEstado{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#nosAutoEstado.aviso{position:fixed;z-index:4;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 32px));height:auto;margin:0;padding:12px 16px;overflow:visible;clip-path:none;white-space:normal;background:var(--blanco);color:var(--tinta);border:1px solid var(--linea);border-radius:12px;font-size:14px}
#nosPant.nos-automatico .nosPista{visibility:hidden!important}
body.noche #nosAutoEstado.aviso{background:var(--n-tarjeta);color:var(--n-tinta);border-color:var(--n-linea)}
@media(max-width:700px){
 #nosPant .top{padding:8px 14px;gap:6px}
 #nosPant .nosAtajos{order:4;flex-basis:100%;justify-content:center}
 #nosPant .nosAtajos button{flex:1;font-size:12px;padding:8px;white-space:nowrap}
 #nosPant .nosPortada{padding:28px 24px 78px}
 #nosPant .nosPortada h1{font-size:clamp(29px,8vw,40px)}
 #nosPant .nosEntradas{gap:10px;margin-top:20px}
 #nosPant .nosEntradas button{font-size:14px;padding:12px 14px}
 #nosPant .nosInfo{padding:32px 0}
 #nosPant .nosInfo .caja{display:block;padding:0 18px}
 #nosPant .nosLema{padding-bottom:26px}
 #nosPant .nosBloque{padding:24px;margin-bottom:16px}
 #nosPant .nosContacto{display:block}
 #nosPant .nosContacto .nosPie{margin-top:24px}
 #nosPant .nosContacto .nosPie a{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){#nosPant:not(.nos-automatico) .nosEspacio{height:var(--nos-escena)}#nosPant button{transition:none}}
@media(hover:hover) and (pointer:fine){#nosPant .nosEntradas button:hover{background:#e7fff7;color:var(--marca)}}
@media(max-height:550px) and (orientation:landscape){
 #nosPant{--nos-escena:calc(100svh - var(--nos-cabecera))}
 #nosPant .top{padding:6px 12px;gap:6px}
 #nosPant .nosAtajos{order:initial;flex-basis:auto}
 #nosPant .nosAtajos button{font-size:11px;padding:8px}
 #nosPant .nosTitulo{font-size:15px}
 #nosPant .nosPortada{padding:16px max(24px,calc((100vw - 1180px)/2)) 54px}
 #nosPant .nosPortada h1{font-size:32px;margin:8px 0 12px;max-width:24ch}
 #nosPant .nosPortada p{font-size:14px;max-width:none;margin:0}
 #nosPant .nosEntradas{margin-top:12px}
 #nosPant .nosEntradas button{min-height:44px;padding:10px 14px;font-size:14px}
 #nosPant .nosPista{bottom:10px}
}
