/* ============================================================
   Hero con 2 escenas: la de siempre (Pequeños Mimitos) y Wanna Go.
   Las dos escenas comparten la misma celda de grid, así el alto del
   hero es el de la escena más alta y no salta al cambiar.
   ============================================================ */
.hero.hero-rot{display:grid;}
.hero.hero-rot>.hero-in,.hero.hero-rot>.wg-scene{grid-area:1/1;transition:opacity .9s ease,visibility 0s linear .9s;}
.hero.hero-rot>.hero-in{position:relative;z-index:1;}
.hero.hero-rot.show-wg>.hero-in{opacity:0;visibility:hidden;}
.hero.hero-rot:not(.show-wg)>.wg-scene{opacity:0;visibility:hidden;}
.hero.hero-rot.show-wg>.wg-scene,.hero.hero-rot:not(.show-wg)>.hero-in{transition:opacity .9s ease,visibility 0s;}

/* fondo arena de Wanna Go, tapa los blobs de colores mientras está visible */
.wg-bg{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 72% 55%,#FFF8F1 0%,#EFE2D3 72%);opacity:0;transition:opacity .9s ease;}
.hero.hero-rot.show-wg .wg-bg{opacity:1;}

.wg-scene{position:relative;z-index:2;display:grid;grid-template-columns:.85fr 1.3fr;gap:32px;align-items:center;--wg:#4A3A32;--wg-sand:#EFE2D3;}
.wg-txt{display:flex;flex-direction:column;align-items:flex-start;}
.wg-badge{display:inline-flex;background:var(--wg);color:var(--wg-sand);border-radius:999px;padding:7px 15px;font-family:'Nunito',sans-serif;font-weight:800;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;}
.wg-logo{width:min(320px,80%);height:auto;margin:16px 0 4px;}
.hero .wg-kicker{margin:0;font-family:'Nunito',sans-serif;font-weight:800;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--wg);opacity:.75;}
.wg-title{margin:4px 0 10px;font-family:'Poppins',sans-serif;font-weight:600;font-size:clamp(1.45rem,2.6vw,1.95rem);line-height:1.15;color:var(--wg);text-wrap:balance;}
.hero .wg-lead{font-size:1rem;color:#7A6A60;margin:0 0 22px;max-width:36ch;}
.wg-btn{background:var(--wg);color:var(--wg-sand);}
.wg-btn:hover{filter:brightness(1.12);}

/* prendas flotando */
.wg-cloud{position:relative;height:380px;}
.wg-slot{position:absolute;}
.wg-slot::after{content:"";position:absolute;left:22%;right:22%;bottom:-14px;height:12px;border-radius:50%;background:rgba(74,58,50,.13);filter:blur(4px);animation:wgShadow 6s ease-in-out infinite;animation-delay:inherit;}
.wg-it{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:0;background:none;padding:0;cursor:pointer;color:var(--wg);animation-delay:inherit;transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1);}
.wg-it img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;filter:drop-shadow(0 18px 18px rgba(74,58,50,.18));transition:transform .35s ease;animation:wgFloat 6s ease-in-out infinite;animation-delay:inherit;}
.wg-it.b{opacity:0;transform:translateY(24px) scale(.92);pointer-events:none;}
.wg-cloud.alt .wg-it.a{opacity:0;transform:translateY(-24px) scale(.92);pointer-events:none;}
.wg-cloud.alt .wg-it.b{opacity:1;transform:none;pointer-events:auto;}
.wg-cat{position:absolute;top:2%;left:4%;z-index:2;background:rgba(255,255,255,.88);border-radius:999px;padding:3px 10px;font-family:'Nunito',sans-serif;font-weight:800;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--wg);}
.wg-tag{position:absolute;left:50%;bottom:-6px;transform:translate(-50%,8px);white-space:nowrap;background:#fff;border-radius:999px;padding:6px 12px;font-family:'Poppins',sans-serif;font-weight:600;font-size:.76rem;box-shadow:0 6px 16px rgba(74,58,50,.15);opacity:0;transition:.3s;z-index:2;}
.wg-it:hover img,.wg-it:focus-visible img{transform:scale(1.07) rotate(-2deg);}
.wg-it:hover .wg-tag,.wg-it:focus-visible .wg-tag{opacity:1;transform:translate(-50%,0);}
.wg-it:focus-visible{outline:2px dashed var(--wg);outline-offset:6px;border-radius:12px;}
.wg-s1{width:28%;height:50%;left:0;top:2%;animation-delay:0s;}
.wg-s2{width:28%;height:48%;left:23%;bottom:3%;animation-delay:-1.5s;}
.wg-s3{width:28%;height:50%;left:47%;top:0;animation-delay:-3s;}
.wg-s4{width:28%;height:48%;right:0;bottom:6%;animation-delay:-4.5s;}
@keyframes wgFloat{0%,100%{transform:translateY(0) rotate(-1.5deg);}50%{transform:translateY(-16px) rotate(1.5deg);}}
@keyframes wgShadow{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(.8);opacity:.6;}}

/* indicador de escenas */
.hero-dots{position:absolute;left:0;right:0;bottom:12px;z-index:3;display:flex;gap:8px;justify-content:center;}
.hero-dot{width:34px;height:6px;border-radius:6px;border:0;padding:0;background:rgba(47,58,69,.15);cursor:pointer;position:relative;overflow:hidden;}
.hero-dot i{position:absolute;inset:0;width:0;background:var(--text);opacity:.5;}
.hero-dot.on i{animation:heroDotFill var(--d,8s) linear forwards;}
.hero.paused .hero-dot.on i{animation-play-state:paused;}
@keyframes heroDotFill{to{width:100%;}}

@media(max-width:820px){
  .wg-scene{grid-template-columns:1fr;gap:18px;padding-bottom:22px;}
  .wg-txt{align-items:center;text-align:center;}
  .hero .wg-lead{margin-inline:auto;}
  .wg-cloud{height:330px;}
  .wg-s1{width:46%;height:46%;left:2%;top:0;}
  .wg-s2{width:46%;height:46%;left:auto;right:2%;top:2%;bottom:auto;}
  .wg-s3{width:46%;height:44%;left:2%;top:auto;bottom:4%;}
  .wg-s4{width:46%;height:44%;left:auto;right:2%;bottom:2%;}
}
@media(prefers-reduced-motion:reduce){.wg-it img,.wg-slot::after{animation:none;}}

/* en celular la escena más alta define el alto: centramos la otra */
.hero.hero-rot>.hero-in,.hero.hero-rot>.wg-scene{align-self:center;}
