/*
 * NWC Elementor Kit — Hero V9: nombre del evento protagonista + galería de tarjetas en abanico.
 * Reemplaza la composición del arco. Todo queda aislado bajo .nwc-root.nwc-scope.
 */
.nwc-root.nwc-scope{--fan-ease:cubic-bezier(.22,1,.36,1);--fan-ease-out:cubic-bezier(.16,1,.3,1)}

/* ---------- Título del evento ---------- */
.nwc-root.nwc-scope .hero h1.hero-display-title.nwc-event-title{font-size:clamp(62px,7.6vw,136px);line-height:.88;letter-spacing:-.062em;font-weight:800;margin:0 0 28px;max-width:none;color:var(--ink)}
.nwc-root.nwc-scope .hero h1.nwc-event-title .serif-word{display:inline-block;font-size:1.1em;line-height:.86;letter-spacing:-.045em;color:var(--coral);padding-right:.08em}
.nwc-root.nwc-scope .hero h1.nwc-event-title>span:not(.serif-word){display:inline-block;vertical-align:top;margin:.14em 0 0 .16em;padding:.46em .74em .42em;font-family:"DM Sans","Lato",Arial,sans-serif;font-style:normal;font-size:.17em;font-weight:750;letter-spacing:.08em;line-height:1;color:var(--blue);border:1.5px solid currentColor;border-radius:999px;transform:rotate(-7deg);transform-origin:left center}
.nwc-root.nwc-scope .hero .nwc-hero-tagline{margin:0 0 22px;max-width:640px;font-size:clamp(23px,2.25vw,38px);line-height:1.1;letter-spacing:-.04em;font-weight:650;color:var(--ink)}
.nwc-root.nwc-scope .hero .nwc-hero-tagline .serif-word{font-size:1.14em;color:var(--blue);letter-spacing:-.05em}
.nwc-root.nwc-scope .nwc-hero-v9 .hero-copy .eyebrow{margin-bottom:28px}
@keyframes nwcTrackIn{from{opacity:0;letter-spacing:.04em;filter:blur(10px);transform:translateY(18px)}to{opacity:1;filter:blur(0);transform:none}}
@keyframes nwcRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.nwc-root.nwc-scope .nwc-hero-v9 .hero-copy.in-view h1.nwc-event-title{animation:nwcTrackIn 1.25s var(--fan-ease-out) both}
.nwc-root.nwc-scope .nwc-hero-v9 .hero-copy.in-view .nwc-hero-tagline{animation:nwcRise .9s var(--fan-ease-out) .35s both}

/* ---------- Escenario ---------- */
.nwc-root.nwc-scope .hero-art.nwc-fan-hero{position:relative;min-width:0;width:100%;max-width:820px;height:clamp(600px,50vw,760px);margin:0 0 0 -10px;isolation:isolate;overflow:visible;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.nwc-root.nwc-scope .nwc-fan-aura{position:absolute;inset:6% 4% 14% 6%;z-index:0;pointer-events:none;background:radial-gradient(42% 38% at 62% 40%,rgba(232,162,145,.34),transparent 70%),radial-gradient(36% 34% at 32% 64%,rgba(38,82,155,.16),transparent 72%),radial-gradient(30% 26% at 76% 78%,rgba(232,184,44,.18),transparent 70%);filter:blur(6px)}

/* ---------- Abanico ---------- */
.nwc-root.nwc-scope .nwc-fan{position:absolute;inset:0 0 13% 0;z-index:2}
.nwc-root.nwc-scope .nwc-fan-deck{position:absolute;inset:0;perspective:1700px;touch-action:pan-y}
.nwc-root.nwc-scope .nwc-fan-card{--step-x:37%;--step-y:2.6%;--step-r:9.5deg;--d:0;--ad:0;--r0:0deg;--z:1;--delay:0ms;--lift:0px;
  position:absolute;left:50%;top:50%;display:block;width:clamp(230px,46%,368px);aspect-ratio:3/4;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;outline:none;appearance:none;-webkit-appearance:none;z-index:var(--z);
  transform-origin:50% 120%;
  transform:translate3d(calc(-50% + var(--d) * var(--step-x)),calc(-52% + var(--ad) * var(--step-y)),0) rotate(calc(var(--d) * var(--step-r) + var(--r0))) scale(calc(1 - var(--ad) * .072));
  transition:transform 1s var(--fan-ease) var(--delay),opacity .7s ease var(--delay),filter .6s ease;will-change:transform}
.nwc-root.nwc-scope .nwc-fan-card::before{content:"";position:absolute;inset:-14px;border-radius:30px}
.nwc-root.nwc-scope .nwc-fan-hero:not(.is-open) .nwc-fan-card{opacity:0;transform:translate3d(-50%,-44%,0) rotate(var(--r0)) scale(.86)}
.nwc-root.nwc-scope .nwc-fan-hero.is-ready:not(.is-open) .nwc-fan-card{opacity:1;transform:translate3d(-50%,-50%,0) rotate(var(--r0)) scale(.9)}
.nwc-root.nwc-scope .nwc-fan-card.is-hidden{opacity:0;pointer-events:none}
.nwc-root.nwc-scope .nwc-fan-tilt{position:absolute;inset:0;display:block;border-radius:26px;background:#fffcf7;transform:translate3d(0,var(--lift),0) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-style:preserve-3d;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 30px 54px -24px rgba(46,31,19,.55),0 10px 22px -12px rgba(46,31,19,.32);transition:transform .55s var(--fan-ease),box-shadow .55s var(--fan-ease)}
.nwc-root.nwc-scope .nwc-fan-card.is-active .nwc-fan-tilt{box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 44px 70px -26px rgba(46,31,19,.62),0 14px 30px -14px rgba(46,31,19,.38)}
.nwc-root.nwc-scope .nwc-fan-card.is-tilting .nwc-fan-tilt{transition:transform .12s linear,box-shadow .55s var(--fan-ease)}
.nwc-root.nwc-scope .nwc-fan-media{position:absolute;inset:7px;display:block;border-radius:20px;overflow:hidden;background:#e9dfd3;isolation:isolate;-webkit-mask-image:-webkit-radial-gradient(white,black);mask-image:radial-gradient(white,black)}
.nwc-root.nwc-scope .nwc-fan-media>img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:var(--focus,50% 50%);transform:scale(1.03);filter:saturate(.82) brightness(.95);transition:transform 7s cubic-bezier(.2,.6,.2,1),filter .7s ease;-webkit-user-drag:none;pointer-events:none}
.nwc-root.nwc-scope .nwc-fan-card.is-active .nwc-fan-media>img{transform:scale(1.13);filter:none}
.nwc-root.nwc-scope .nwc-fan-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(23,23,22,0) 52%,rgba(23,23,22,.42));opacity:.55;transition:opacity .6s}
.nwc-root.nwc-scope .nwc-fan-card.is-active .nwc-fan-media::after{opacity:1}
.nwc-root.nwc-scope .nwc-fan-glare{position:absolute;inset:7px;border-radius:20px;pointer-events:none;background:radial-gradient(circle at var(--gx,50%) var(--gy,0%),rgba(255,255,255,.55),rgba(255,255,255,0) 46%);mix-blend-mode:soft-light;opacity:0;transition:opacity .45s}
.nwc-root.nwc-scope .nwc-fan-card.is-tilting .nwc-fan-glare{opacity:1}
.nwc-root.nwc-scope .nwc-fan-caption{position:absolute;left:17px;right:17px;bottom:17px;display:flex;flex-direction:column;gap:5px;padding:13px 15px;border-radius:15px;background:rgba(23,23,22,.5);-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);color:#fff;text-align:left;opacity:0;transform:translate3d(0,14px,0);transition:opacity .45s ease,transform .6s var(--fan-ease);pointer-events:none}
.nwc-root.nwc-scope .nwc-fan-card.is-active .nwc-fan-caption{opacity:1;transform:none;transition-delay:.28s}
.nwc-root.nwc-scope .nwc-fan-caption small{font-size:9px;font-weight:750;letter-spacing:.17em;line-height:1.2;color:#f4c9bd;text-transform:uppercase}
.nwc-root.nwc-scope .nwc-fan-caption strong{font-size:15px;font-weight:650;line-height:1.22;letter-spacing:-.015em}
@media (hover:hover){
  .nwc-root.nwc-scope .nwc-fan-card:not(.is-active):hover{--lift:-18px}
  .nwc-root.nwc-scope .nwc-fan-card:not(.is-active):hover .nwc-fan-media>img{filter:saturate(1) brightness(1)}
}
.nwc-root.nwc-scope .nwc-fan-card:focus-visible .nwc-fan-tilt{box-shadow:0 0 0 3px #fffcf7,0 0 0 6px var(--blue),0 30px 54px -24px rgba(46,31,19,.55)}


/* ---------- Controles ---------- */
.nwc-root.nwc-scope .nwc-fan-controls{position:absolute;left:50%;bottom:0;z-index:7;display:flex;align-items:center;gap:20px;transform:translateX(-50%);opacity:0;transition:opacity .8s ease 1.1s}
.nwc-root.nwc-scope .nwc-fan-hero.is-open .nwc-fan-controls{opacity:1}
.nwc-root.nwc-scope .nwc-fan-btn{display:grid;place-items:center;width:48px;height:48px;margin:0;padding:0;border:1px solid rgba(23,23,22,.24);border-radius:50%;background:rgba(255,252,247,.82);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--ink);font-size:17px;line-height:1;cursor:pointer;transition:background .3s,color .3s,transform .3s var(--fan-ease),border-color .3s}
.nwc-root.nwc-scope .nwc-fan-btn:hover{background:var(--ink);border-color:var(--ink);color:#fffcf7;transform:scale(1.06)}
.nwc-root.nwc-scope .nwc-fan-btn:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.nwc-root.nwc-scope .nwc-fan-meter{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:150px}
.nwc-root.nwc-scope .nwc-fan-count{font-size:11px;font-weight:650;letter-spacing:.2em;color:var(--soft-ink,#5e5853)}
.nwc-root.nwc-scope .nwc-fan-count b{font-weight:800;color:var(--ink)}
.nwc-root.nwc-scope .nwc-fan-progress{position:relative;display:block;width:132px;height:2px;border-radius:2px;background:rgba(23,23,22,.14);overflow:hidden}
.nwc-root.nwc-scope .nwc-fan-progress i{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--coral)}
.nwc-root.nwc-scope .nwc-fan-hint{white-space:nowrap;font-size:9px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#8b8379}


/* ---------- Responsive ---------- */
@media(max-width:1250px){
  .nwc-root.nwc-scope .hero-art.nwc-fan-hero{height:clamp(540px,50vw,690px)}
  .nwc-root.nwc-scope .hero h1.hero-display-title.nwc-event-title{font-size:clamp(60px,7.4vw,98px)}
}
@media(max-width:960px){
  .nwc-root.nwc-scope .hero-art.nwc-fan-hero{height:clamp(600px,86vw,720px);width:min(760px,100%);margin:34px auto 0;justify-self:center}
  .nwc-root.nwc-scope .hero h1.hero-display-title.nwc-event-title{font-size:clamp(72px,12.4vw,118px)}
  .nwc-root.nwc-scope .nwc-fan-card{width:clamp(220px,44%,320px)}
}
@media(max-width:660px){
  .nwc-root.nwc-scope .hero h1.hero-display-title.nwc-event-title{font-size:clamp(54px,15.6vw,92px);line-height:.9;margin-bottom:22px}
  .nwc-root.nwc-scope .hero h1.nwc-event-title>span:not(.serif-word){font-size:.2em}
  .nwc-root.nwc-scope .hero .nwc-hero-tagline{font-size:clamp(22px,6.6vw,30px);margin-bottom:18px}
  .nwc-root.nwc-scope .hero-art.nwc-fan-hero{height:clamp(440px,118vw,560px);margin-top:26px}
  .nwc-root.nwc-scope .nwc-fan{inset:0 0 17% 0}
  .nwc-root.nwc-scope .nwc-fan-card{--step-x:31%;--step-y:3.6%;--step-r:7.5deg;width:60%}
  .nwc-root.nwc-scope .nwc-fan-tilt{border-radius:22px}
  .nwc-root.nwc-scope .nwc-fan-media,.nwc-root.nwc-scope .nwc-fan-glare{inset:6px;border-radius:17px}
  .nwc-root.nwc-scope .nwc-fan-caption{left:12px;right:12px;bottom:12px;padding:10px 12px;border-radius:12px}
  .nwc-root.nwc-scope .nwc-fan-caption strong{font-size:13px}
  .nwc-root.nwc-scope .nwc-fan-controls{gap:14px}
  .nwc-root.nwc-scope .nwc-fan-btn{width:44px;height:44px}
  .nwc-root.nwc-scope .nwc-fan-meter{min-width:120px}
  .nwc-root.nwc-scope .nwc-fan-progress{width:104px}
}
@media(max-width:380px){
  .nwc-root.nwc-scope .hero-art.nwc-fan-hero{height:420px}
  .nwc-root.nwc-scope .nwc-fan-card{width:62%}
}
@media(prefers-reduced-motion:reduce){
  .nwc-root.nwc-scope .nwc-fan-card,.nwc-root.nwc-scope .nwc-fan-tilt,.nwc-root.nwc-scope .nwc-fan-media>img{transition-duration:.01ms!important;transition-delay:0s!important}
  .nwc-root.nwc-scope .nwc-hero-v9 .hero-copy.in-view h1.nwc-event-title,.nwc-root.nwc-scope .nwc-hero-v9 .hero-copy.in-view .nwc-hero-tagline{animation:none}
}
/* Editor de Elementor: abanico ya abierto y sin animaciones de entrada. */
body.elementor-editor-active .nwc-root.nwc-scope .nwc-fan-card{transition-delay:0s}
