/* V11 · Adaptación panorámica: personajes miran hacia los textos y CTA */
/* Se conserva la composición máxima de 1440 px de la versión anterior. */
.hero-copy { padding-top:49px; }
.hero h1 { margin-bottom:21px; }
.hero-children {
    width:58%;max-width:none;left:19%;bottom:-9px;
    transform:none; filter:drop-shadow(0 12px 12px rgba(10,69,84,.14));
}
.hero-shine{background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,0) 58%)}
/* Escena independiente de la colección. Los extremos conservan personajes
   y el centro mantiene la legibilidad de filtros y fichas. */
.collection-scenery{
    background-image:url('assets/scenes/collection-world-v11.webp');
    background-position:center 38%;opacity:.92;
}
.collection::before{
    background:linear-gradient(180deg,rgba(247,252,255,.76) 0%,rgba(251,253,255,.58) 33%,rgba(255,255,255,.34) 100%);
}
/* Cierre de fantasía: personajes originales mirando al bloque de acción. */
.ending{min-height:435px;}
.ending-scenery{background-image:url('assets/scenes/ending-world-v11.webp');background-position:center 52%;}
.ending::after{background:linear-gradient(90deg,rgba(255,249,208,.72) 0%,rgba(255,249,208,.43) 36%,rgba(255,249,208,0) 68%);}
.ending-characters{
    position:absolute;z-index:0;right:0;bottom:-2px;width:54%;height:auto;
    pointer-events:none;filter:drop-shadow(0 8px 10px rgba(6,67,69,.06));
}
.ending-content{position:relative;z-index:1;width:47%;max-width:620px;margin-left:4%;}
.ending h2{font-size:clamp(2.8rem,4.45vw,4.7rem);}
@media(max-width:1280px){
  .hero-children{width:56%;left:18%;bottom:0;}
  .ending-characters{width:53%;}
}
@media(max-width:1060px){
  .hero-copy{padding-top:42px;}
  .hero-children{width:55%;left:17%;bottom:0;}
  .ending-characters{width:55%;}
}
@media(max-width:800px){
  .hero{padding-top:14px;}
  .hero-copy{padding-top:19px;}
  .hero-children{position:relative;width:112%;left:auto;bottom:auto;max-width:700px;margin:-16px auto 0;transform:none;}
  .collection-scenery{background-position:center center;}
  .ending{display:flex;flex-direction:column;align-items:center;min-height:620px;justify-content:flex-start;}
  .ending-content{width:100%;max-width:690px;margin:0;padding:45px 25px 0;order:0;}
  .ending-characters{position:relative;order:1;align-self:flex-end;width:min(95%,710px);height:auto;margin:-8px -5px 0 auto;bottom:auto;right:auto;}
  .ending-scenery{background-position:61% center;}
}
@media(max-width:540px){
 .hero{padding-top:8px;}
 .hero-copy{padding-top:10px;}
 .hero h1{font-size:clamp(3.08rem,11.6vw,4.15rem);margin-bottom:15px;}
 .hero-children{width:120%;max-width:none;margin:-9px auto -6px;transform:translateX(-7%);}
 .collection-scenery{background-position:50% center;opacity:.9;}
 .collection::before{background:linear-gradient(180deg,rgba(250,252,255,.80),rgba(255,255,255,.64) 40%,rgba(255,255,255,.48));}
 .ending{min-height:545px;}
 .ending-content{padding:39px 19px 0;}
 .ending-characters{width:112%;max-width:none;align-self:center;margin:15px -6% 0;}
 .ending-scenery{background-position:66% center;}
 .ending::after{background:linear-gradient(180deg,rgba(255,248,216,.85) 0%,rgba(255,248,216,.65) 35%,rgba(255,248,216,0) 82%);}
}
@media(max-width:375px){
 .hero-children{width:122%;}
 .ending-characters{width:118%;margin-top:18px;}
}
