/* NBA All In — estilos base. El resto del diseño va en línea en las plantillas, igual que el prototipo. */
@font-face{font-family:"ActionNBA Cond";src:url(../fonts/ActionNBACondensed-Bold.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"ActionNBA Cond";src:url(../fonts/ActionNBACondensed-BoldItalic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"ActionNBA";src:url(../fonts/ActionNBA-Light.woff) format("woff");font-weight:300;font-display:swap}
@font-face{font-family:"ActionNBA";src:url(../fonts/ActionNBA-Medium.woff) format("woff");font-weight:500;font-display:swap}
@font-face{font-family:"ActionNBA";src:url(../fonts/ActionNBA-Bold.woff) format("woff");font-weight:700;font-display:swap}
@font-face{font-family:"ActionNBA";src:url(../fonts/ActionNBA-BoldItalic.woff) format("woff");font-weight:700;font-style:italic;font-display:swap}

@keyframes liveGlow{0%{box-shadow:0 0 0 0 rgba(255,40,70,.75)}70%,100%{box-shadow:0 0 0 12px rgba(255,40,70,0)}}

html{scroll-behavior:smooth}
body{margin:0;background:#05070f;color:#f4f5f8;-webkit-font-smoothing:antialiased}
a{color:#f4f5f8;text-decoration:none}
a:hover{color:#ff3b4f}
*{box-sizing:border-box}
img{max-width:none}
button{font:inherit;color:inherit}

.nba-root{font-family:'Barlow',system-ui,sans-serif;font-weight:500;background:#05070f;color:#f4f5f8;overflow-x:clip}
.cond{font-family:'ActionNBA Cond',Anton,sans-serif}
.h2{margin:0;font-family:'ActionNBA Cond',Anton,sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(48px,7vw,104px);line-height:.9}

/* barra de administración de WP */
.admin-bar .nba-nav{top:32px!important}
@media(max-width:782px){.admin-bar .nba-nav{top:46px!important}}

/* visibilidad por ancho (reemplaza isDesktop / isMobile del prototipo) */
.only-desktop{display:none}
.only-notmobile{display:none}
.only-mobile{display:flex}
.pc-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#1a2036;border:1px solid rgba(255,255,255,.12)}
.pc-card{--card-h:340px}
@media(min-width:760px){.only-notmobile{display:block}.only-mobile{display:none}}
@media(min-width:1000px){
  .only-desktop{display:block}
  .only-desktop-flex{display:flex!important}
  .pc-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pc-card{--card-h:380px}
}
.only-desktop-flex{display:none}

/* hero: logo | línea | titular (solo escritorio; en móvil y tableta se oculta) */
.hero-lockup{--hs:clamp(64px,13vw,200px);display:flex;align-items:center;justify-content:center}
.hero-lockup-logo,.hero-lockup-sep{display:none}
@media(min-width:900px){
  .hero-lockup{gap:clamp(24px,3.2vw,52px)}
  .hero-lockup-logo{display:block;width:clamp(150px,15vw,260px);height:auto}
  .hero-lockup-sep{display:block;flex:none;width:2px;align-self:stretch;background:rgba(255,255,255,.6)}
}

/* forma de botón (vector): tapa izquierda + centro que se estira + tapa derecha.
   Esquinas superior-izquierda e inferior-derecha cortadas a 45° (41% del alto); superior-derecha e inferior-izquierda redondeadas (11%).
   La altura la define --h; el ancho se adapta al texto. El contorno fino (btn-ring) sigue la misma forma. */
.btn-shape{--h:56px;--cap:calc(var(--h) * .45);position:relative;box-sizing:border-box;height:var(--h);padding:0 calc(var(--h) * .75)!important;border:0!important;text-align:center;line-height:var(--h)!important;white-space:nowrap;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cg%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/g%3E%3C/svg%3E") left / var(--cap) 100% no-repeat,url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cg transform=%22rotate%28180 22.5 50%29%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/g%3E%3C/svg%3E") right / var(--cap) 100% no-repeat,linear-gradient(#000 0 0) center / calc(100% - var(--cap) * 2 + 2px) 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cg%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/g%3E%3C/svg%3E") left / var(--cap) 100% no-repeat,url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cg transform=%22rotate%28180 22.5 50%29%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/g%3E%3C/svg%3E") right / var(--cap) 100% no-repeat,linear-gradient(#000 0 0) center / calc(100% - var(--cap) * 2 + 2px) 100% no-repeat}
.bs-s{--h:40px}
.bs-m{--h:56px}
.bs-l{--h:72px}
.btn-ring::before{content:'';position:absolute;inset:0;pointer-events:none;background:var(--bd,#fff);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3CclipPath id=%22c%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/clipPath%3E%3C/defs%3E%3Cg%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%224.4%22 clip-path=%22url%28%23c%29%22/%3E%3C/g%3E%3C/svg%3E") left / var(--cap) 100% no-repeat,url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3CclipPath id=%22c%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform=%22rotate%28180 22.5 50%29%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%224.4%22 clip-path=%22url%28%23c%29%22/%3E%3C/g%3E%3C/svg%3E") right / var(--cap) 100% no-repeat,linear-gradient(#000 0 0) center top / calc(100% - var(--cap) * 2 + 2px) calc(var(--h) * .022) no-repeat,linear-gradient(#000 0 0) center bottom / calc(100% - var(--cap) * 2 + 2px) calc(var(--h) * .022) no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3CclipPath id=%22c%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/clipPath%3E%3C/defs%3E%3Cg%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%224.4%22 clip-path=%22url%28%23c%29%22/%3E%3C/g%3E%3C/svg%3E") left / var(--cap) 100% no-repeat,url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 45 100%22 preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3CclipPath id=%22c%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45Z%22/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform=%22rotate%28180 22.5 50%29%22%3E%3Cpath d=%22M45 0H44Q41 0 38.88 2.12L2.12 38.88Q0 41 0 44V89A11 11 0 0 0 11 100H45%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%224.4%22 clip-path=%22url%28%23c%29%22/%3E%3C/g%3E%3C/svg%3E") right / var(--cap) 100% no-repeat,linear-gradient(#000 0 0) center top / calc(100% - var(--cap) * 2 + 2px) calc(var(--h) * .022) no-repeat,linear-gradient(#000 0 0) center bottom / calc(100% - var(--cap) * 2 + 2px) calc(var(--h) * .022) no-repeat}

/* hover / focus (reemplaza style-hover y style-focus del prototipo) */
.cta-red:hover{background:#e01a3a!important;color:#fff!important}
.cta-dark:hover{background:#fff!important;color:#05070f!important}
.btn-ticket:hover{background:#f4f5f8!important;color:#05070f!important}
.btn-outline:hover{background:#f4f5f8!important;color:#05070f!important}
.city-chip:hover{border-color:#fff!important;color:#fff!important}
.city-card:hover{border-color:#fff!important;color:#fff!important}
.befun-link{opacity:.85}.befun-link:hover{opacity:1;color:inherit}

/* FAQ acordeón (grid-template-rows 0fr↔1fr) */
.faq-body{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .45s cubic-bezier(.2,.8,.2,1),opacity .35s ease}
.faq-item.is-open .faq-body{grid-template-rows:1fr;opacity:1}
.faq-q{all:unset;box-sizing:border-box;cursor:pointer;width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0;font-size:clamp(18px,2vw,22px);font-weight:700}
.faq-q:focus-visible{outline:2px solid #fff;outline-offset:2px}
.faq-q span{font-family:'ActionNBA Cond',Anton,sans-serif;font-size:28px;color:#ff3b4f}

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[data-pc-step]:focus-visible{outline:2px solid #fff;outline-offset:-2px}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
