/* CajonFlow: CSS consolidado; editar este modulo en futuras versiones. */

/* === Fuente integrada: home-cinematico.css === */
/* Laboratorio de Cajón V19.7.1 - Portada sin tarjetas, fondo fijo y botones funcionales. */
body.cinema-home-open{background:#000}
body.cinema-home-open #mainApp{width:100%;max-width:none;margin:0;padding:0!important}
body.cinema-home-open #globalHeader,body.cinema-home-open #mainApp>footer{display:none!important}
#homeView.home-cinema{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;
 justify-content:flex-start;margin:0;padding:clamp(1.1rem,2.3vw,2rem) clamp(.8rem,3.7vw,4rem) 0;
 min-height:100vh;min-height:100svh;overflow:hidden;background:#000}
#homeView .cinema-art{position:absolute;z-index:-3;left:0;right:0;bottom:0;height:clamp(31rem,70svh,60rem);
 background-image:url('../media/home/home-cajones.webp');background-repeat:no-repeat;background-position:center bottom;background-size:cover;
 pointer-events:none;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 12%);mask-image:linear-gradient(to bottom,transparent 0%,#000 12%)}
/* The overlay is CSS, not part of the photograph, so it transitions smoothly on every viewport. */
#homeView .cinema-soft-light{position:absolute;inset:0;z-index:-2;pointer-events:none;
 background:linear-gradient(to bottom,#000 0%,#000 15%,rgba(0,0,0,.98) 25%,rgba(0,0,0,.82) 33%,rgba(0,0,0,.20) 50%,transparent 67%,transparent 100%)}
#homeView .cinema-home-header{z-index:2;position:relative;width:100%;max-width:94rem;display:flex;flex-direction:column;
 align-items:center;gap:clamp(1.5rem,3.3vh,2.1rem)}
#homeView .cinema-brand-logo{display:block;max-width:min(92%,29rem);height:auto;width:clamp(16rem,32vw,27rem);
 object-fit:contain;filter:drop-shadow(0 2px 14px rgba(0,0,0,.45))}
#homeView .cinema-home-nav{width:100%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(.6rem,1.35vw,1.4rem)}
#homeView .cinema-nav-link{min-width:0;min-height:4.4rem;display:flex;align-items:center;justify-content:center;gap:clamp(.45rem,1.05vw,1rem);
 padding:.8rem .9rem;text-decoration:none;border-radius:999px;color:#f6ffff;font-size:clamp(.8rem,1.1vw,1.1rem);
 font-weight:800;line-height:1.15;text-align:center;border:1px solid rgba(108,233,222,.39);
 background:linear-gradient(180deg,rgba(21,91,91,.30),rgba(7,52,54,.22));
 box-shadow:inset 0 1px 4px rgba(235,255,253,.17),0 7px 16px rgba(0,0,0,.36);
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
 transition:background .15s ease,border-color .15s ease,transform .15s ease}
#homeView .cinema-nav-link:hover{background:rgba(7,98,97,.5);border-color:#65e5d8;transform:translateY(-1px)}
#homeView .cinema-nav-link:focus-visible{outline:3px solid white;outline-offset:3px}
#homeView .cinema-nav-link[aria-current=page]{border:2px solid #00ebdb;background:rgba(3,95,87,.36);
 box-shadow:inset 0 1px 4px rgba(255,255,255,.24),0 0 16px rgba(0,225,205,.22)}
#homeView .cinema-nav-link .ico{display:block;flex:0 0 auto;width:clamp(1.25rem,1.7vw,1.8rem);
 height:clamp(1.25rem,1.7vw,1.8rem);stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#homeView .cinema-nav-link span{min-width:0}
@media(max-width:1000px){
 #homeView .cinema-home-nav{max-width:53rem;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
 #homeView .cinema-nav-link{min-height:3.9rem;font-size:.9rem}
 #homeView .cinema-brand-logo{width:clamp(17rem,42vw,24rem)}
 #homeView .cinema-art{height:65svh}
}
@media(max-width:620px){
 #homeView.home-cinema{padding:clamp(1.25rem,3.8svh,2rem) .8rem 0;min-height:100svh}
 #homeView .cinema-home-header{gap:clamp(1.25rem,3.1svh,1.75rem)}
 #homeView .cinema-brand-logo{width:min(87vw,20rem);max-width:none}
 #homeView .cinema-home-nav{width:min(100%,26rem);grid-template-columns:1fr;gap:1.1rem;padding:0 clamp(.5rem,3vw,1rem)}
 #homeView .cinema-nav-link{min-height:clamp(3rem,5.8svh,3.45rem);justify-content:flex-start;gap:1rem;
  padding:.55rem 1.25rem;font-size:clamp(.94rem,3.75vw,1.08rem);
  background:linear-gradient(180deg,rgba(25,110,105,.23),rgba(9,70,66,.17));
  border-color:rgba(128,226,222,.38);box-shadow:inset 0 1px 3px rgba(255,255,255,.14),0 6px 14px rgba(0,0,0,.3)}
 #homeView .cinema-nav-link .ico{width:1.45rem;height:1.45rem;flex:none}
 #homeView .cinema-nav-link span{flex:1;text-align:center;padding-right:2.45rem}
 #homeView .cinema-art{height:clamp(19rem,42svh,28rem);background-position:center bottom;background-size:cover}
 #homeView .cinema-soft-light{background:linear-gradient(180deg,#000 0%,#000 29%,rgba(0,0,0,.98) 39%,rgba(0,0,0,.78) 48%,rgba(0,0,0,.21) 60%,transparent 75%)}
}
@media(max-width:620px) and (max-height:780px){
 #homeView.home-cinema{min-height:47rem}
 #homeView .cinema-home-header{gap:1.2rem}
 #homeView .cinema-home-nav{gap:.75rem}
 #homeView .cinema-art{height:19.2rem}
}
@media(orientation:landscape) and (max-height:580px){
 #homeView.home-cinema{min-height:38rem;padding-top:1rem}
 #homeView .cinema-brand-logo{width:clamp(12rem,26vw,19rem)}
 #homeView .cinema-home-header{gap:.8rem}
 #homeView .cinema-home-nav{grid-template-columns:repeat(6,minmax(0,1fr));max-width:none;gap:.5rem}
 #homeView .cinema-nav-link{min-height:3rem;font-size:.76rem;padding:.5rem}
 #homeView .cinema-nav-link span{padding-right:0}
 #homeView .cinema-art{height:28rem}
}
@media(prefers-reduced-motion:reduce){#homeView .cinema-nav-link{transition:none}}


/* V19.54: el logotipo de la portada es enlace al inicio sin alterar el montaje. */
#homeView .cinema-brand-link{display:block;width:max-content;max-width:100%;line-height:0;text-decoration:none;border-radius:10px}
#homeView .cinema-brand-link:focus-visible{outline:3px solid #4ee6d5;outline-offset:6px}
