/* Omega v9: lo que cambia en la web principal por pedido de la academia (primero las clases, presentaciones y battles con muy poco peso).
   Misma identidad: negro de sala, luz cian y luz magenta, Clash Display + Satoshi. Todo lo que se mueve usa transform y opacidad. */

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ins-dir[hidden], .ins-sub[hidden] { display: none !important; }
.kick, .section-head .kick { margin: 0 0 0.8rem; font-family: var(--sans); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; color: var(--cyan); }

/* ============== Cabecera: ocho enlaces fijos y el resto en el menú; el menú lateral aparece antes ============== */
.nav-trial { display: none; }
.header-inner { max-width: 1400px; }
.main-nav { gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.nav-link { white-space: nowrap; }
.nav-m { display: none; }
@media (min-width: 1181px) and (max-width: 1399px) { .nav-link { font-size: 0.78rem; } }
@media (min-width: 1560px) { .nav-m { display: inline-block; } }
@media (max-width: 1180px) {
  .nav-toggle { display: flex; order: -1; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(82vw, 340px); overflow-y: auto; overscroll-behavior: contain;
    background: var(--ink-soft); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: clamp(0.45rem, 2.1svh, 1.4rem); padding: 4.6rem 2.2rem 1.6rem; transform: translateX(-100%); transition: transform 0.5s var(--ease-standard);
    box-shadow: 20px 0 48px rgba(0, 0, 0, 0.4); z-index: 10; border-right: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { font-size: clamp(1rem, 2.7svh, 1.1rem); line-height: 1.35; }
  .nav-m { display: inline-block; }
  .nav-trial { display: inline-flex; margin-top: 0.4rem; flex: none; }
  .header-actions .btn-ghost { display: inline-flex; }
}
@media (min-width: 761px) and (max-width: 1180px) { .nav-trial { display: none; } }
@media (max-height: 620px) and (max-width: 1180px) { .main-nav { justify-content: flex-start; padding-top: 4.4rem; } }

/* ============== Hero: frase corta y botones entran después de las letras ============== */
.hero-title { margin-bottom: 1.3rem; font-size: clamp(3.4rem, min(12vw, 24svh), 11rem); }
.hero-sub { position: relative; z-index: 2; max-width: 36rem; margin: 0 auto 1.7rem; font-size: clamp(1.02rem, 2.3vw, 1.3rem); font-weight: 500; line-height: 1.45; color: var(--white); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7); }
.hero-cta { margin: 0 0 2rem; }
.hero-sub, .hero-cta { opacity: 0; transform: translateY(18px); }
body:not(.loading) .hero-sub, body:not(.loading) .hero-cta { animation: heroIn 0.95s var(--ease-out) 0.75s both; }
body:not(.loading) .hero-cta { animation-delay: 0.9s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-sub, .hero-cta { opacity: 1; transform: none; animation: none !important; } }

/* ============== Instructores: dirección y plantel ============== */
.ins-dir { margin: 0 0 clamp(2.4rem, 6vw, 4rem); }
.ins-label, .ins-sub { margin: 0 0 1.1rem; font-family: var(--sans); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; line-height: 1.4; color: var(--cyan); }
.ins-sub { color: var(--magenta); }
.dir-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); grid-template-columns: minmax(0, 1fr); }
.dir-grid[data-n="2"], .dir-grid[data-n="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dir-card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1rem, 3vw, 2.2rem); align-items: center; padding: clamp(0.9rem, 2vw, 1.4rem); border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(135deg, rgba(63, 225, 255, 0.07), rgba(255, 59, 125, 0.07)); }
.dir-ph { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--ink-elevated); }
.dir-ph img { width: 100%; height: 100%; object-fit: cover; }
.dir-mono { position: absolute; inset: 0; display: grid; place-items: center; }
.dir-mono .ring-svg { inset: 9%; width: 82%; height: 82%; }
.dir-mono b { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: 0.02em; }
.dir-name { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 0.96; }
.dir-role { margin-top: 0.7rem; color: var(--cyan); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.dir-bio { margin-top: 1rem; max-width: 46ch; color: var(--muted-strong); }
@media (max-width: 760px) {
  .dir-grid[data-n="2"], .dir-grid[data-n="3"] { grid-template-columns: minmax(0, 1fr); }
  .dir-card { grid-template-columns: minmax(0, 1fr); }
  .dir-ph { aspect-ratio: 4 / 4.4; max-height: 62svh; }
}

/* ============== Horarios: botón de clase de prueba ============== */

/* ============== Festival, talleres y eventos: el afiche se ve entero ============== */
.show-poster { background: #07070a; }
.show-poster .bd { object-fit: cover; filter: blur(26px) saturate(1.15); transform: scale(1.25); opacity: 0.55; }
.show-poster .pf { object-fit: contain; padding: clamp(0.7rem, 2vw, 1.2rem); }
.show-poster::after { background: linear-gradient(180deg, rgba(8, 8, 10, 0.62), transparent 30%); pointer-events: none; }
.show-poster .chips { top: 1rem; bottom: auto; }
.evt { padding-top: clamp(2.4rem, 6vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.show-cards .evt-card, .show-cards .evt-card:nth-child(even) { grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr); }
.show-cards .evt-card .show-poster, .show-cards .evt-card:nth-child(even) .show-poster { order: 0; min-height: 0; aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .show-cards .show-card .show-poster { min-height: 0; aspect-ratio: 4 / 5; max-height: 80svh; }
  .show-cards .show-card, .show-cards .show-card:nth-child(even), .show-cards .evt-card, .show-cards .evt-card:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .show-ctas .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.25; } }

/* ============== Competencias nacionales e internacionales ============== */
.cp { position: relative; isolation: isolate; overflow: clip; padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); background: radial-gradient(60% 46% at 86% 10%, rgba(255, 59, 125, 0.15), transparent 70%), radial-gradient(50% 36% at 8% 66%, rgba(63, 225, 255, 0.1), transparent 70%), var(--ink); }
.cp-wrap { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.cp-ghost { position: absolute; left: 0; right: 0; top: 40%; z-index: -1; text-align: center; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(5rem, 22vw, 19rem); line-height: 0.85; color: rgba(247, 247, 250, 0.05); white-space: nowrap; pointer-events: none; user-select: none; }
.cp-head { max-width: 1000px; margin: 0 auto clamp(0.8rem, 2vw, 1.6rem); text-align: center; }
.cp-h { font-size: clamp(2rem, 7vw, 6.4rem); line-height: 0.95; letter-spacing: -0.01em; }
.cp-l { display: flex; justify-content: center; overflow: clip; }
.cp-l > span { display: block; line-height: 0.95; white-space: nowrap; padding-bottom: 0.14em; margin-bottom: -0.1em; }
.cp-l .c { color: var(--cyan); }
.cp-l .m { color: var(--magenta); }
.cp-lead { margin-top: 1.1rem; color: var(--muted-strong); font-size: clamp(1rem, 2vw, 1.2rem); }
.cp-route { position: relative; max-width: 1200px; margin: clamp(0.4rem, 2vw, 1.4rem) auto clamp(1.2rem, 4vw, 2.6rem); }
.cp-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cp-route[data-kind="tall"] .cp-svg { max-width: 420px; margin: 0 auto; }
.cp-track { fill: none; stroke: rgba(247, 247, 250, 0.16); stroke-width: 2; stroke-dasharray: 3 11; stroke-linecap: round; }
.cp-line { fill: none; stroke-width: 6; stroke-linecap: round; }
.cp-glow { stroke-width: 22; opacity: 0.2; }
.cp-node text { font-family: var(--display); font-weight: 600; font-size: 27px; text-transform: uppercase; letter-spacing: 0.02em; fill: rgba(247, 247, 250, 0.62); transition: fill 0.4s ease; }
.cp-n-ring { fill: var(--ink); stroke: rgba(247, 247, 250, 0.4); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transition: stroke 0.4s ease, transform 0.6s var(--ease-out); }
.cp-n-dot { fill: rgba(247, 247, 250, 0.55); transition: fill 0.4s ease; }
.cp-node.is-lit text { fill: var(--white); }
.cp-node.is-lit .cp-n-ring { stroke: var(--cyan); transform: scale(1.2); }
.cp-node.is-lit .cp-n-dot { fill: var(--cyan); }
.cp-node[data-i="2"].is-lit .cp-n-ring { stroke: var(--magenta); }
.cp-node[data-i="2"].is-lit .cp-n-dot { fill: var(--magenta); }
.cp-mk .ring-main, .cp-mk .ring-feet { stroke: #fff; stroke-width: 6.5; }
.cp-mk .ring-glow.g1 { stroke: var(--cyan); stroke-width: 22; opacity: 0.2; }
.cp-mk .ring-glow.g2 { stroke: var(--magenta); stroke-width: 13; opacity: 0.34; }
.cp-body { position: relative; max-width: 1100px; margin: 0 auto; }
.cp-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.cp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.cp-row { position: relative; isolation: isolate; overflow: clip; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.4rem 1.6rem; align-items: center; padding: clamp(1.1rem, 2.6vw, 1.8rem) clamp(0.4rem, 1.6vw, 1rem); border-bottom: 1px solid var(--line-strong); }
.cp-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cp-year { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 0.9; color: var(--cyan); }
.cp-row.is-int .cp-year { color: var(--magenta); }
.cp-main h3 { font-size: clamp(1.3rem, 3vw, 2.2rem); }
.cp-main p { margin-top: 0.3rem; color: var(--muted-strong); }
.cp-lv { padding: 0.35rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.cp-res { grid-column: 2 / -1; font-weight: 700; }
@media (max-width: 640px) { .cp-row { grid-template-columns: minmax(0, 1fr); } .cp-res { grid-column: 1; } .cp-lv { justify-self: start; } }

/* ============== Tienda ============== */
.shop { position: relative; isolation: isolate; overflow: clip; padding: clamp(4rem, 9vw, 7rem) 0; background: linear-gradient(180deg, var(--ink), #0d0d12 55%, var(--ink)); }
.shop-wrap { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.shop-ghost { position: absolute; left: 0; right: 0; top: 16%; z-index: -1; text-align: center; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(7rem, 30vw, 26rem); line-height: 0.8; color: rgba(247, 247, 250, 0.045); white-space: nowrap; pointer-events: none; user-select: none; }
.shop-head { max-width: 700px; margin: 0 auto clamp(1.4rem, 4vw, 2.6rem); text-align: center; }
.shop-head h2 { font-size: clamp(3rem, 11vw, 8rem); line-height: 0.9; }
.shop-lead { margin-top: 1rem; color: var(--muted-strong); font-size: 1.05rem; }
.shop-empty { display: grid; justify-items: center; gap: 1.6rem; }
.shop-art { width: min(220px, 56vw); }
.shop-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.sa-bag, .sa-handle { fill: none; stroke: var(--white); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.shop-art .ring-main, .shop-art .ring-feet { stroke-width: 3.2; }
.shop-act { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.4rem); }
.shop-item { grid-column: span 6; display: grid; gap: 0.9rem; align-content: start; }
.shop-ph { margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--ink-elevated); }
.shop-ph img { width: 100%; height: 100%; object-fit: cover; }
.shop-tx h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.shop-tx p { margin-top: 0.3rem; color: var(--muted-strong); }
.shop-tx .shop-price { font-family: var(--display); font-size: 1.5rem; color: var(--white); }
.shop-tx .btn { margin-top: 0.9rem; }
@media (min-width: 900px) {
  .shop-item:nth-child(4n + 1), .shop-item:nth-child(4n) { grid-column: span 7; }
  .shop-item:nth-child(4n + 2), .shop-item:nth-child(4n + 3) { grid-column: span 5; }
  .shop-item:nth-child(4n + 1) .shop-ph, .shop-item:nth-child(4n) .shop-ph { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) { .shop-item { grid-column: span 12; } }

/* ============== Crédito del desarrollador: AlvaWebDesign ============== */
.made-by { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.55rem 0.9rem; margin: 1.6rem 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.aw-mark { display: block; height: 28px; width: auto; flex: none; fill: var(--white); overflow: visible; }
.aw-mark path { transform-box: fill-box; }
.made-name b { font-weight: 800; color: var(--white); }
.made-by a { color: var(--muted-strong); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
@media (hover: hover) and (pointer: fine) { .made-by a:hover { color: var(--white); text-decoration-color: var(--cyan); } }
/* el logo se arma al entrar: el pico sube, la línea de crecimiento se estira hasta el punto y el cursor llega */
.made-by.aw-pre .aw-a { opacity: 0; transform: scaleY(0.2); transform-origin: 50% 100%; }
.made-by.aw-pre .aw-w { opacity: 0; transform: scaleX(0.15); transform-origin: 0 100%; }
.made-by.aw-pre .aw-c { opacity: 0; transform: translate(-30%, 35%) scale(0.7); transform-origin: 0 0; }
.made-by.aw-go .aw-a, .made-by.aw-go .aw-w, .made-by.aw-go .aw-c { transition: opacity 0.5s var(--ease-out), transform 0.9s var(--ease-out); }
.made-by.aw-go .aw-w { transition-delay: 0.25s; }
.made-by.aw-go .aw-c { transition-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) { .made-by.aw-pre path { opacity: 1 !important; transform: none !important; } }
@media (max-width: 760px) { .site-footer { padding-bottom: 6.4rem; } } /* el botón de WhatsApp no tapa el crédito al llegar al final */
