/* Voluve · web de agencia
   Seis colores y dos familias. Todo lo demás sale de aquí. */

@font-face { font-family: "Teko"; src: url("../fonts/teko-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Teko"; src: url("../fonts/teko-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("../fonts/heebo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("../fonts/heebo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("../fonts/heebo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --canvas: #0F1015;
  --surface: #17181E;
  --surface-2: #1F2027;
  --ink: #F6F5F0;
  --ink-soft: #A6A8B1;
  --accent: #E3FC02;
  --accent-ink: #0F1015;
  --line: rgba(246, 245, 240, 0.12);

  --f-display: "Teko", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Heebo", system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --section: clamp(72px, 12vw, 176px);
  --measure: 58ch;
  --radius: 6px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);

  --t-hero: clamp(3.6rem, 9.4vw, 9.6rem);
  --t-xl: clamp(3rem, 7vw, 6.4rem);
  --t-lg: clamp(2.4rem, 4.6vw, 4.2rem);
  --t-md: clamp(1.8rem, 2.6vw, 2.4rem);
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-small: 0.875rem;

  --e1: 0 1px 2px rgba(5, 6, 9, 0.4), 0 4px 12px rgba(5, 6, 9, 0.28);
  --e2: 0 2px 4px rgba(5, 6, 9, 0.45), 0 16px 40px rgba(5, 6, 9, 0.42);
  --edge: inset 0 1px 0 rgba(246, 245, 240, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #3a3b44 var(--canvas); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.62;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--accent-ink); }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.on-accent :focus-visible { outline-color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--s4); top: var(--s4); z-index: 100; padding: var(--s3) var(--s4); background: var(--accent); color: var(--accent-ink); font-weight: 700; border-radius: var(--radius); transform: translateY(-160%); transition: transform 160ms var(--ease); }
.skip:focus { transform: none; }

.display {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--accent); }
.on-accent .display em { color: inherit; text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.08em; }
.lede { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.3rem); line-height: 1.55; max-width: 44ch; margin: 0; text-wrap: pretty; }
p { text-wrap: pretty; }
.soft { color: var(--ink-soft); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--accent); --bi: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.35em;
  background: var(--b); color: var(--bi);
  border: 0; border-radius: 999px;
  font-family: var(--f-text); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: var(--e1);
  transition: transform 140ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 160ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--dark { --b: var(--accent-ink); --bi: var(--accent); }
.btn--ghost { --b: transparent; --bi: var(--ink); box-shadow: inset 0 0 0 1px rgba(246,245,240,0.32); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(3px); }
  .btn:hover { box-shadow: var(--e2); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
}

/* ---------- Barra superior ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s4) var(--gutter);
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar__logo img { height: 30px; width: auto; }
.bar__links { display: flex; align-items: center; gap: var(--s5); }
.bar__link { font-weight: 500; font-size: 0.95rem; text-decoration: none; opacity: 0.86; transition: opacity 140ms var(--ease); }
.bar__link:hover { opacity: 1; }
.bar.is-light .bar__logo img { filter: brightness(0); }
.bar.is-light .bar__link { color: var(--accent-ink); }
.bar.is-light .btn { --b: var(--accent-ink); --bi: var(--accent); }
@media (max-width: 720px) { .bar__link { display: none; } .bar__logo img { height: 24px; } .bar .btn { min-height: 44px; padding: 0 1.1em; } }

/* ---------- Marcador (firma) ---------- */
.score {
  position: fixed; left: var(--gutter); bottom: var(--s5); z-index: 55;
  font-family: var(--f-display);
  text-transform: uppercase;
  filter: drop-shadow(0 10px 24px rgba(5,6,9,0.45));
}
.score__btn {
  display: grid; grid-template-columns: auto auto auto; align-items: stretch;
  padding: 0; border: 0; cursor: pointer; background: none; border-radius: var(--radius); overflow: hidden;
  line-height: 1;
}
.score__team { background: #F6F5F0; color: #0F1015; padding: 10px 12px 6px; font-size: 1.35rem; letter-spacing: 0.04em; font-weight: 600; }
.score__pts { position: relative; min-width: 3.3em; background: var(--accent); color: var(--accent-ink); padding: 10px 12px 6px; font-size: 1.35rem; font-weight: 600; overflow: hidden; text-align: center; }
.score__pts span { display: block; }
.score__label { background: #0F1015; color: var(--ink); padding: 10px 14px 6px; font-size: 1.35rem; font-weight: 500; letter-spacing: 0.04em; display: flex; align-items: center; gap: 10px; box-shadow: inset 0 0 0 1px rgba(246,245,240,0.1); }
.score__label::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.6; transition: transform 160ms var(--ease); }
.score[data-open] .score__label::after { transform: translateY(1px) rotate(-135deg); }
.score__menu {
  position: absolute; left: 0; bottom: calc(100% + 8px); min-width: 100%;
  margin: 0; padding: 6px; list-style: none;
  background: #0F1015; border-radius: var(--radius); box-shadow: var(--e2), inset 0 0 0 1px rgba(246,245,240,0.1);
  opacity: 0; transform: translateY(6px) scale(0.98); transform-origin: bottom left; pointer-events: none;
  transition: opacity 160ms var(--ease), transform 200ms var(--ease);
}
.score[data-open] .score__menu { opacity: 1; transform: none; pointer-events: auto; }
.score__menu a { display: flex; justify-content: space-between; gap: 20px; padding: 8px 10px 4px; font-size: 1.25rem; text-decoration: none; border-radius: 4px; color: var(--ink-soft); }
.score__menu a b { color: var(--ink); font-weight: 600; }
.score__menu a:hover, .score__menu a:focus-visible, .score__menu a[aria-current="true"] { background: var(--surface-2); color: var(--ink); }
.score__menu a[aria-current="true"] b { color: var(--accent); }
.score.is-game .score__pts { animation: game 900ms var(--ease); }
@keyframes game { 0% { box-shadow: inset 0 0 0 0 #fff; } 30% { box-shadow: inset 0 0 0 40px #fff; } 100% { box-shadow: inset 0 0 0 0 #fff; } }
@media (max-width: 720px) {
  /* En móvil el marcador sube a la barra, entre el logo y el botón */
  .score { left: 50%; transform: translateX(-50%); bottom: auto; top: 18px; filter: drop-shadow(0 6px 14px rgba(5,6,9,0.4)); }
  .score__team { display: none; }
  .score__btn { grid-template-columns: auto auto; }
  .score__pts, .score__label { font-size: 1.05rem; padding: 8px 8px 4px; }
  .score__pts { min-width: 2.6em; }
  .score__label { gap: 6px; }
  .score__menu { left: 50%; bottom: auto; top: calc(100% + 8px); transform: translate(-50%, -6px); transform-origin: top center; }
  .score[data-open] .score__menu { transform: translate(-50%, 0); }
}
@media (max-width: 370px) { .score__label { display: none; } .score__btn { grid-template-columns: auto; } }

/* ---------- Hero: el saque ---------- */
.hero { position: relative; height: 230vh; background: #000; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.hero__frame {
  position: absolute; top: -8vh; height: 126vh; aspect-ratio: 2 / 3;
  left: calc(66% - 48.3vh);
  will-change: transform;
}
.hero__frame img { position: absolute; }
.hero__bg { inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.hero__player { left: 40.833%; top: 11.111%; width: 32.708%; height: auto; }
.hero { --hf: min(8.2vw, 14.5vh); --ht: 15vh; }
.hero__type { position: absolute; z-index: 1; left: var(--gutter); top: var(--ht); right: var(--gutter); will-change: transform; }
.hero__frame--bg { z-index: 0; }
.hero__frame--player { z-index: 2; }
.hero__net { position: absolute; z-index: 3; left: -2vw; right: -2vw; top: calc(-8vh + 126vh * 0.7); height: 60vh; will-change: transform; }
.hero__net svg { width: 100%; height: 100%; }
.hero__copy { position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--ht) + var(--hf) * 1.76 + 5vh); max-width: 30rem; display: grid; gap: var(--s5); will-change: transform, opacity; }
.hero h1 { font-size: var(--hf); }
.hero h1 .l1, .hero h1 .l2 { display: block; white-space: nowrap; }
.hero h1 .l2 { padding-left: 0.9ch; }
.hero__ball { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.hero__ball canvas { width: 100% !important; height: 100% !important; }
.hero__ballcss {
  position: absolute; z-index: 5; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F7FF9C 0, #E3FC02 34%, #B9CE00 72%, #7E8C00 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  pointer-events: none; left: 0; top: 0; opacity: 0;
}
.hero__flood { position: absolute; z-index: 6; inset: 0; background: var(--accent); opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .hero { height: 200vh; }
  .hero__frame { height: 88vh; top: 14vh; left: calc(74vw - 33.7vh); }
  .hero__net { top: calc(14vh + 88vh * 0.7); }
  .hero__type { top: 12vh; z-index: 3; }
  .hero h1 { font-size: clamp(3.4rem, 15.5vw, 5.4rem); }
  .hero h1 .l1, .hero h1 .l2 { white-space: normal; }
  .hero h1 .l2 { padding-left: 0; }
  .hero__copy { top: auto; bottom: 30vh; max-width: 21rem; gap: var(--s4); }
  .hero__copy .lede { font-size: 1.02rem; }
}
@media (max-width: 860px) and (max-height: 700px) { .hero__copy { bottom: 24vh; } }

/* ---------- Capítulos ---------- */
.chapter { position: relative; padding: var(--section) var(--gutter); }
.chapter--accent { background: var(--accent); color: var(--accent-ink); --ink: var(--accent-ink); --ink-soft: #3E4405; --line: rgba(15,16,21,0.18); }
.kicker { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; display: inline-flex; align-items: center; gap: 12px; margin: 0 0 var(--s6); }
.kicker b { display: inline-block; padding: 6px 9px 2px; background: var(--ink); color: var(--canvas); font-weight: 600; border-radius: 3px; }
.chapter--accent .kicker b { background: var(--accent-ink); color: var(--accent); }

/* 15 · Clubes */
.clubes { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 112px); align-items: end; }
.clubes h2 { font-size: var(--t-xl); margin-bottom: var(--s6); }
.clubes .lede { margin-bottom: var(--s8); }
.clubes__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #0F1015; box-shadow: var(--e2); }
.clubes__media video, .clubes__media img { width: 100%; height: 100%; object-fit: cover; }
.clubes__media figcaption { position: absolute; left: var(--s4); bottom: var(--s4); right: var(--s4); color: #F6F5F0; font-size: var(--t-small); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }

.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--s2) var(--s6); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.svc h3 { margin: 0; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 1.75rem; line-height: 0.95; letter-spacing: 0.01em; padding-top: 2px; }
.svc p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
@media (max-width: 900px) {
  .clubes { grid-template-columns: 1fr; }
  .clubes__media { aspect-ratio: 16 / 10; order: -1; }
  .svc li { grid-template-columns: 1fr; }
}

/* 30 · Marcas */
.marcas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: end; }
.marcas h2 { font-size: var(--t-xl); margin-bottom: var(--s6); }
@media (max-width: 900px) { .marcas { grid-template-columns: 1fr; } }

/* La pista con los puntos de activación */
.court { position: relative; margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(16px, 2.4vw, 32px); align-items: end; }
.court__hint { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.court__stage { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--e2); container-type: inline-size; }
.court__stage img { width: 100%; height: auto; }
.court__banner { position: absolute; left: 0; top: 0; width: 600px; height: 120px; transform-origin: 0 0; pointer-events: none; }
.court__banner span { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; background: var(--accent); color: var(--accent-ink); transform-origin: left center; transform: scaleX(var(--k, 0)); box-shadow: inset 0 -10px 0 rgba(15,16,21,0.12); }
.court__banner b { font-family: var(--f-display); font-weight: 600; font-size: 74px; line-height: 0.82; text-transform: uppercase; letter-spacing: 0.01em; opacity: var(--k, 0); }
.court__banner small { font-weight: 700; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; opacity: var(--k, 0); }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); transform: translate(-14px, -14px) scale(var(--p, 0)); opacity: var(--p, 0); transition: transform 260ms var(--ease), opacity 200ms var(--ease); }
.pin i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(15,16,21,0.55), 0 6px 16px rgba(5,6,9,0.5); flex: none; }
.pin i::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--accent-ink); }
.pin i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.pin span { padding: 5px 10px 3px; border-radius: 4px; background: rgba(15,16,21,0.82); font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
.pin[aria-pressed="true"] i { background: #fff; }
.pin[aria-pressed="true"] span { background: var(--accent); color: var(--accent-ink); }
.pin:focus-visible { outline: none; }
.pin:focus-visible i { outline: 2px solid #fff; outline-offset: 4px; }
@container (max-width: 640px) { .pin span { display: none; } .pin i { width: 24px; height: 24px; } .pin i::before { inset: 7px; } }
.court__card { display: grid; gap: var(--s3); padding: clamp(20px, 2.4vw, 32px); background: var(--surface); border-radius: 10px; box-shadow: var(--e1), var(--edge); align-content: start; }
.court__n { margin: 0; font-family: var(--f-display); font-size: 1.2rem; color: var(--accent); letter-spacing: 0.04em; }
.court__card h3 { margin: 0; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 0.9; }
.court__card p { margin: 0; color: var(--ink-soft); }
.court__m { display: grid; gap: 2px; padding-top: var(--s3); border-top: 1px solid var(--line); }
.court__m span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.court__m b { color: var(--ink); font-weight: 500; }
.court__card .btn { justify-self: start; margin-top: var(--s2); }
@media (max-width: 900px) { .court { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pin i::after { animation: none; } }

/* Silencio antes del pico */
.hush { height: 34vh; background: var(--canvas); }

/* ---------- 40 · En directo (pico) ---------- */
.live { position: relative; height: 420vh; background: #0B0C10; }
.live__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr; gap: clamp(12px, 2.2vh, 28px); padding: clamp(76px, 11vh, 110px) var(--gutter) clamp(76px, 10vh, 96px); overflow: hidden; }
.live__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.live__head h2 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
.live__head p { margin: 0; max-width: 34ch; color: var(--ink-soft); }

.dash {
  min-height: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto minmax(0, 1fr); gap: 12px;
  font-family: var(--f-text); font-size: 0.875rem; line-height: 1.4;
  background: #121318; border-radius: 10px; padding: 12px;
  box-shadow: var(--e2), inset 0 0 0 1px rgba(246,245,240,0.08);
}
.dash__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 6px 2px; }
.dash__brand { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dash__brand img { height: 15px; width: auto; }
.dash__crumb { color: var(--ink-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.chip--demo { background: rgba(246,245,240,0.08); color: var(--ink-soft); box-shadow: inset 0 0 0 1px rgba(246,245,240,0.12); }
.chip--live { background: rgba(227,252,2,0.12); color: var(--accent); }
.chip--live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.dash__clock { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.dash__clock span { color: var(--ink-soft); font-weight: 400; margin-right: 6px; }

.panel { background: var(--surface); border-radius: 8px; padding: 14px 16px; box-shadow: var(--edge); min-width: 0; }
.panel h3 { margin: 0 0 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 8px; }
.kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border-radius: 8px; padding: 12px 16px 10px; box-shadow: var(--edge); }
.kpi dt { font-size: 0.75rem; color: var(--ink-soft); font-weight: 500; }
.kpi dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi--hi { background: var(--accent); color: var(--accent-ink); }
.kpi--hi dt { color: #3E4405; }
.dash__chart { grid-column: 1 / 8; display: grid; grid-template-rows: auto 1fr auto; }
.dash__chart svg { width: 100%; height: 100%; min-height: 120px; overflow: visible; }
.dash__axis { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 0.72rem; margin-top: 6px; font-variant-numeric: tabular-nums; }
.dash__mix { grid-column: 8 / 11; }
.dash__feed { grid-column: 11 / -1; display: grid; grid-template-rows: auto 1fr; }
.dash__mix, .dash__feed, .dash__chart { min-height: 0; overflow: hidden; }
.mix { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mix button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; cursor: pointer; padding: 4px 6px; margin: -4px -6px; border-radius: 6px; transition: background-color 140ms var(--ease), opacity 140ms var(--ease); }
.mix button:hover { background: var(--surface-2); }
.mix button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.mix button[aria-pressed="false"] { opacity: 0.4; }
.mix .v { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.mix .track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(246,245,240,0.08); overflow: hidden; }
.mix .fill { height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); border-radius: 3px; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 7px; overflow: hidden; font-size: 0.8rem; }
.feed li { display: grid; grid-template-columns: 3.1em 1fr; gap: 8px; color: var(--ink-soft); animation: feedIn 260ms var(--ease); }
.feed li time { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 500; }
.feed li b { color: var(--ink); font-weight: 500; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dash__foot { grid-column: 1 / -1; display: none; }
.live__note { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3vh, 32px); text-align: right; font-size: var(--t-small); color: var(--ink-soft); pointer-events: none; }
.live__outro {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: var(--gutter);
  background: rgba(11,12,16,0.86); opacity: 0; pointer-events: none;
}
.live__outro p { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: var(--t-xl); line-height: 0.9; margin: 0; max-width: 14ch; }
.live__outro .btn { margin-top: var(--s6); pointer-events: auto; }
.live__outro.is-on { pointer-events: auto; }
.live__outro.is-on .btn { pointer-events: auto; }
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis .kpi:nth-child(n+4) { display: none; }
  .dash__chart { grid-column: 1 / 8; }
  .dash__mix { grid-column: 8 / -1; }
  .dash__feed { display: none; }
}
@media (max-width: 720px) {
  .live { height: 380vh; }
  .live__stage { padding-top: 76px; padding-bottom: 64px; gap: 12px; }
  .live__head h2 { font-size: 2.6rem; }
  .live__head p { display: none; }
  .dash { grid-template-rows: auto auto auto minmax(0, 1fr); padding: 10px; gap: 8px; }
  .dash__top { gap: 8px; }
  .dash__crumb { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpis .kpi:nth-child(n+3) { display: none; }
  .kpis .kpi:nth-child(5) { display: block; grid-column: 1 / -1; }
  .kpi { padding: 10px 12px 8px; }
  .kpi dd { font-size: 2rem; }
  .dash__chart { grid-column: 1 / -1; min-height: 120px; }
  .dash__mix { grid-column: 1 / -1; }
  .mix { gap: 6px; }
  .panel { padding: 10px 12px; }
  .dash__mix { display: none; }
  .dash__chart { min-height: 0; }
  .live__note { text-align: left; bottom: 18px; font-size: 0.75rem; }
}
@media (max-width: 720px) and (max-height: 760px) { .dash__chart { display: none; } }

/* ---------- Punto de oro · Resultados ---------- */
.results { position: relative; background: var(--canvas); }
.results__pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.results__intro { width: min(26rem, 82vw); flex: none; display: grid; gap: var(--s6); align-content: center; padding-right: clamp(16px, 3vw, 48px); }
.results__intro h2 { font-size: var(--t-xl); }
.results__intro .kicker { margin-bottom: var(--s5); }
.rail { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: clamp(80px, 11vh, 120px) var(--gutter); width: max-content; will-change: transform; }
.case {
  width: min(32rem, 82vw); flex: none;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s4);
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface); border-radius: 10px; box-shadow: var(--e1), var(--edge);
}
.case__type { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.case h3 { margin: 0; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 0.92; }
.case__big { display: grid; gap: 6px; align-content: start; }
.case__big strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(4.4rem, min(7vw, 11vh), 7rem); line-height: 0.82; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.case__big span { color: var(--ink); max-width: 30ch; }
.case dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); }
.case dt { font-size: 0.8rem; color: var(--ink-soft); }
.case dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.case blockquote { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.case blockquote footer { margin-top: 6px; color: var(--ink); font-size: 0.85rem; font-weight: 500; }
@media (max-width: 860px) {
  .results__pin { min-height: 0; display: block; }
  .results__intro { width: 100%; padding: 0 0 var(--s5); }
  .rail { width: auto; flex-direction: column; align-items: stretch; padding: var(--section) var(--gutter); }
  .case { width: 100%; }
}

/* ---------- JUEGO · Contacto ---------- */
.close { background: var(--accent); color: var(--accent-ink); --ink: var(--accent-ink); --ink-soft: #3E4405; --line: rgba(15,16,21,0.2); padding: var(--section) var(--gutter) var(--s7); }
.close__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(40px, 7vw, 120px); align-items: start; }
.close h2 { font-size: clamp(5rem, 17vw, 16rem); line-height: 0.8; margin-bottom: clamp(32px, 5vw, 72px); }
.close__lede { max-width: 34ch; }
.close__mail { display: inline-block; margin-top: var(--s5); font-weight: 700; font-size: 1.1rem; }
.form { display: grid; gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 0.85rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: rgba(255,255,255,0.55); border: 1px solid rgba(15,16,21,0.28); border-radius: var(--radius);
  color: var(--accent-ink); caret-color: var(--accent-ink);
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(15,16,21,0.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); background: rgba(255,255,255,0.8); box-shadow: 0 0 0 2px var(--accent-ink); }
.field ::placeholder { color: #5A5F2A; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.85rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; margin: 0; font-weight: 700; }
.form .btn { justify-self: start; }
.foot { margin-top: var(--section); padding-top: var(--s6); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); font-size: 0.9rem; padding-bottom: 64px; }
.foot img { height: 24px; width: auto; filter: brightness(0); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
.foot a { text-decoration: none; font-weight: 500; }
.foot a:hover { text-decoration: underline; }
.foot small { width: 100%; color: var(--ink-soft); }
@media (max-width: 900px) { .close__grid { grid-template-columns: 1fr; } }

/* ---------- Entradas ---------- */
.in { opacity: 0; transform: translateY(18px); }
.wipe { clip-path: inset(0 0 100% 0); }

@media (prefers-reduced-motion: reduce) {
  .in { opacity: 1; transform: none; }
  .wipe { clip-path: none; }
  .hero, .live { height: auto; }
  .hero__stage { position: relative; height: 100svh; min-height: 620px; }
  .live__stage { position: relative; height: auto; min-height: 100svh; }
  .live__outro { position: relative; opacity: 1; background: none; padding: var(--s7) 0 0; }
  .chip--live i { animation: none; }
}
.pin--l { flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -14px) scale(var(--p, 0)); }

/* Confían en nosotros: logos en bucle */
.trust { margin: calc(var(--section) * -0.35) calc(var(--gutter) * -1) clamp(56px, 8vw, 112px); padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.trust__label { margin: 0 0 clamp(20px, 2.4vw, 32px); padding-inline: var(--gutter); font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(48px, 6vw, 96px) / 2)); } }
.logo { flex: none; height: clamp(44px, 5vw, 64px); display: grid; place-items: center; }
.logo img { height: 100%; width: auto; filter: brightness(0); opacity: 0.9; }
.logo--type { justify-items: center; align-content: center; gap: 2px; }
.logo--type span { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 0.8; text-transform: uppercase; letter-spacing: 0.01em; }
.logo--type small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* Hero: pilares + botones */
.hero__pillars { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; }
.hero__pillars b { color: var(--accent); font-weight: 600; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { --b: transparent; --bi: var(--ink); box-shadow: inset 0 0 0 1px rgba(246,245,240,0.34); }
@media (max-width: 860px) { .hero__copy .lede { display: none; } }

/* 15 · Pilares */
.pillars { display: grid; border-top: 1px solid var(--line); margin-top: var(--s7); }
.pillar { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 6px var(--s5); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.pillar__n { font-family: var(--f-display); font-size: 1.4rem; opacity: 0.6; }
.pillar h3 { margin: 0; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 0.85; }
.pillar p { grid-column: 2 / -1; margin: 0; max-width: 52ch; color: var(--ink-soft); }
.pillar p b { color: var(--ink); font-weight: 700; }
.pillar__go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.pillar__go svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .pillar:hover .pillar__go { background: var(--accent-ink); color: var(--accent); transform: rotate(-45deg); } }

/* Experiencias */
.xp { position: relative; min-height: 92vh; display: grid; align-items: end; padding: var(--section) var(--gutter); overflow: hidden; isolation: isolate; }
.xp__media { position: absolute; inset: 0; z-index: -1; }
.xp__media video { width: 100%; height: 100%; object-fit: cover; }
.xp__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,12,16,0.94) 0, rgba(11,12,16,0.55) 45%, rgba(11,12,16,0.15) 100%); }
.bw { filter: grayscale(1) contrast(1.08); }
.xp h2 { font-size: clamp(3rem, 7.4vw, 7rem); max-width: 14ch; }
.xp__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s7); align-items: end; }
.xp__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.xp__list li { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.xp__list b { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.xp__list span { color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 860px) { .xp__grid { grid-template-columns: 1fr; } }

/* Eventos en la home */
.evhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: var(--s5) var(--s7); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.evhead h2 { font-size: var(--t-xl); }
.evcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.evcard { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border-radius: 10px; overflow: hidden; box-shadow: var(--e1), var(--edge); }
.evcard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.evcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.evcard__body { display: grid; gap: var(--s3); padding: var(--s5); align-content: start; }
.evcard h3 { margin: 0; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 2rem; line-height: 0.92; }
.evcard p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.tag { display: inline-flex; justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(227,252,2,0.12); color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .evcard:hover .evcard__img img { transform: scale(1.04); } }
@media (max-width: 960px) { .evcards { grid-template-columns: 1fr; } .evhead { grid-template-columns: 1fr; } }

/* Formulario: presupuesto */
.radios { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.radios legend { font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radios span { display: inline-block; padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(15,16,21,0.35); font-size: 0.92rem; font-weight: 500; transition: background-color 140ms var(--ease), color 140ms var(--ease); }
.radios input:checked + span { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.radios input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

.bar__link--shop { color: var(--accent); }
.bar.is-light .bar__link--shop { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
