/* =========================================================
   SOLROCK 2026 — hoja de estilos
   Paleta: noche (#1E3A4C) · cielo (#609DD1) · luna (#FFF9DE)
           calabaza (#D9601A) · arena (#F3A762) · sombra (#1C2026)
           montaña (#46667B)
   ========================================================= */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Creepster";
  src: url("../fonts/creepster-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --night: #1E3A4C;
  --sky: #609DD1;
  --moon: #FFF9DE;
  --pumpkin: #D9601A;
  --sand: #F3A762;
  --shadow: #1C2026;
  --mountain: #46667B;

  --bg: #13171c;
  --ink: var(--moon);
  --ink-soft: rgba(255, 249, 222, .72);
  --ink-mute: rgba(255, 249, 222, .5);
  --line: rgba(255, 249, 222, .12);
  --glass: rgba(28, 32, 38, .55);

  --spooky: "Creepster", "Anton", "Impact", fantasy;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 14px;
  --r-md: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --dock-gap: max(14px, env(safe-area-inset-bottom));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 30px; interpolate-size: allow-keywords; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.55;
  overflow-x: clip;
  padding-bottom: 90px;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--pumpkin); color: var(--moon); }

.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--pumpkin); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 8px; }

/* ---------- Grano ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; } 25% { background-position: -40px 30px; }
  50% { background-position: 30px -50px; } 75% { background-position: -20px 50px; } 100% { background-position: 0 0; }
}

/* ---------- Botones ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 1.5em; border-radius: 999px; border: 0;
  font-family: var(--body); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease-back), box-shadow .35s var(--ease), background .3s;
}
.btn--sm { --h: 40px; padding: 0 1.15em; font-size: .88rem; }
.btn--lg { --h: 60px; padding: 0 2em; font-size: 1.05rem; }
.btn--orange {
  background: linear-gradient(135deg, #ea7428, var(--pumpkin) 55%, #b94b0e);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(217, 96, 26, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--orange::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 249, 222, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--orange:hover { box-shadow: 0 16px 40px -8px rgba(217, 96, 26, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--orange:hover::after { transform: translateX(120%); }
.btn--ghost {
  background: rgba(255, 249, 222, .06); color: var(--moon);
  box-shadow: inset 0 0 0 1.5px rgba(255, 249, 222, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 249, 222, .14); }
.btn:active { transform: scale(.96); }
.arrow { font-style: normal; transition: transform .35s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header isla ---------- */
.island {
  position: fixed; z-index: 100; top: max(14px, env(safe-area-inset-top));
  left: 50%; transform: translateX(-50%);
  width: min(980px, calc(100% - 24px));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(28, 32, 38, .5);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 249, 222, .12), 0 20px 50px -20px rgba(0, 0, 0, .6);
  transition: width .6s var(--ease), background .4s, border-radius .5s var(--ease), padding .4s var(--ease), transform .8s cubic-bezier(.65, 0, .25, 1);
  will-change: transform;
  animation: islandIn 1s var(--ease-back) .2s backwards;
}
@keyframes islandIn { from { transform: translate(-50%, -140%); } }
.island.is-scrolled { width: min(760px, calc(100% - 24px)); background: rgba(19, 23, 28, .78); }
.island.is-docked {
  transform: translate(-50%, calc(100dvh - 100% - max(14px, env(safe-area-inset-top)) - var(--dock-gap)));
  box-shadow: inset 0 0 0 1px rgba(255, 249, 222, .16), 0 -10px 50px -12px rgba(0, 0, 0, .7);
}
.island__logo { flex: none; justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.island__logo img { width: 44px; height: 44px; object-fit: contain; transition: transform .6s var(--ease-back); }
.island__logo:hover img { transform: rotate(-14deg) scale(1.08); }
.island__nav { display: flex; justify-content: center; align-items: center; gap: 2px; }
.island__nav a {
  text-decoration: none; font-size: .9rem; font-weight: 600; padding: 9px 14px; border-radius: 999px;
  color: var(--ink-soft); transition: color .25s, background .25s;
}
.island__nav a:hover, .island__nav a.is-active { color: var(--moon); background: rgba(255, 249, 222, .08); }
.island__nav a.is-active { color: var(--sand); }
.island__cta { flex: none; --h: 44px; justify-self: end; }
.island__burger {
  display: none; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 249, 222, .08); position: relative;
}
.island__burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--moon);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.island__burger span:first-child { top: 18px; }
.island__burger span:last-child { top: 24px; }
.island.is-open .island__burger span:first-child { top: 21px; transform: rotate(45deg); }
.island.is-open .island__burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .island { display: flex; flex-wrap: wrap; width: calc(100% - 24px); row-gap: 0; }
  .island.is-scrolled { width: calc(100% - 24px); }
  .island__cta { margin-left: auto; }
  .island__burger { display: block; }
  .island__nav {
    order: 5; flex-basis: 100%; flex-direction: column; gap: 4px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .5s var(--ease), opacity .3s, padding .4s var(--ease);
  }
  .island__nav a { font-family: var(--display); font-size: 1.9rem; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; padding: 6px 14px; color: var(--moon); }
  .island.is-open { border-radius: 22px; background: rgba(19, 23, 28, .94); }
  .island.is-open .island__nav { max-height: 420px; opacity: 1; padding: 12px 0 10px; }
  .island.is-docked .island__nav { order: -1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 700px);
  display: grid; align-items: center; overflow: hidden; isolation: isolate;
  padding: 110px 0 150px;
  background:
    radial-gradient(120% 70% at 70% 30%, rgba(96, 157, 209, .45), transparent 60%),
    linear-gradient(180deg, #16303f 0%, var(--night) 30%, #2f5f82 70%, var(--sky) 100%);
}
.sky, .scene-layer, .fog, .bats { position: absolute; inset: 0; pointer-events: none; }
.sky { z-index: -3; }
.scene-layer { z-index: -2; width: 100%; height: 100%; will-change: transform; }
.scene-front { z-index: 1; }
.stars {
  position: absolute; inset: 0 0 40% 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff9de, transparent),
    radial-gradient(1px 1px at 22% 42%, #fff9de, transparent),
    radial-gradient(1.5px 1.5px at 35% 12%, #fff9de, transparent),
    radial-gradient(1px 1px at 48% 30%, #fff9de, transparent),
    radial-gradient(1.2px 1.2px at 58% 8%, #fff9de, transparent),
    radial-gradient(1px 1px at 66% 44%, #fff9de, transparent),
    radial-gradient(1.5px 1.5px at 78% 20%, #fff9de, transparent),
    radial-gradient(1px 1px at 88% 36%, #fff9de, transparent),
    radial-gradient(1.2px 1.2px at 94% 10%, #fff9de, transparent),
    radial-gradient(1px 1px at 5% 50%, #fff9de, transparent),
    radial-gradient(1px 1px at 40% 55%, #fff9de, transparent),
    radial-gradient(1.3px 1.3px at 72% 60%, #fff9de, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
.moon {
  position: absolute; width: clamp(260px, 36vw, 560px); aspect-ratio: 1; border-radius: 50%;
  right: 6%; top: 50%; translate: 0 -55%;
  background:
    radial-gradient(circle at 30% 35%, rgba(230, 220, 190, .7) 0 7%, transparent 8%),
    radial-gradient(circle at 62% 60%, rgba(230, 220, 190, .6) 0 10%, transparent 11%),
    radial-gradient(circle at 70% 28%, rgba(230, 220, 190, .5) 0 5%, transparent 6%),
    radial-gradient(circle at 40% 70%, rgba(230, 220, 190, .45) 0 4%, transparent 5%),
    radial-gradient(circle at 40% 40%, #fffdf0, var(--moon) 60%, #f2e9c4);
  box-shadow: 0 0 80px 20px rgba(255, 249, 222, .35), 0 0 220px 80px rgba(96, 157, 209, .45);
  animation: moonPulse 6s ease-in-out infinite alternate;
}
@keyframes moonPulse { to { box-shadow: 0 0 110px 30px rgba(255, 249, 222, .45), 0 0 260px 110px rgba(96, 157, 209, .5); } }
.clouds span {
  position: absolute; height: 60px; border-radius: 999px; background: rgba(30, 58, 76, .75); filter: blur(4px);
  animation: drift 40s linear infinite;
}
.clouds span:nth-child(1) { width: 380px; top: 22%; left: -10%; }
.clouds span:nth-child(2) { width: 260px; top: 40%; left: 50%; height: 40px; animation-duration: 55s; animation-delay: -20s; }
.clouds span:nth-child(3) { width: 520px; top: 12%; left: 70%; height: 50px; animation-duration: 70s; animation-delay: -35s; opacity: .7; }
@keyframes drift { from { translate: -30vw 0; } to { translate: 60vw 0; } }

.fog { z-index: 2; top: auto; height: 40%; }
.fog span {
  position: absolute; inset: 0; width: 200%;
  background: radial-gradient(40% 60% at 25% 90%, rgba(255, 249, 222, .12), transparent 70%),
              radial-gradient(40% 50% at 75% 95%, rgba(255, 249, 222, .10), transparent 70%);
  animation: fog 30s linear infinite;
}
.fog span:last-child { animation-duration: 45s; animation-direction: reverse; opacity: .8; }
@keyframes fog { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bats { z-index: 0; }
.bat { position: absolute; width: 46px; fill: var(--shadow); offset-rotate: 0deg; animation: flap .28s ease-in-out infinite alternate, fly 22s linear infinite; }
.bat:nth-child(1) { top: 20%; animation-delay: 0s, -4s; }
.bat:nth-child(2) { top: 32%; width: 30px; animation-delay: 0s, -12s; animation-duration: .22s, 28s; }
.bat:nth-child(3) { top: 14%; width: 36px; animation-delay: 0s, -18s; animation-duration: .3s, 18s; }
.bat:nth-child(4) { top: 42%; width: 24px; animation-delay: 0s, -8s; animation-duration: .2s, 34s; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
@keyframes fly {
  0% { left: -8%; translate: 0 0; }
  25% { translate: 0 -40px; } 50% { translate: 0 20px; } 75% { translate: 0 -30px; }
  100% { left: 108%; translate: 0 0; }
}

.hero__inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(28, 32, 38, .45); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pumpkin); box-shadow: 0 0 0 0 rgba(217, 96, 26, .7); animation: ping 1.8s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(217, 96, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 96, 26, 0); } }

.hero__title {
  font-family: var(--spooky); font-weight: 400; margin: 0; line-height: 1; letter-spacing: .02em;
  font-size: clamp(72px, 13.5vw, 210px);
}
.hero__title .line { display: block; padding: .02em 0 .06em; }
.hero__title .word { display: inline-block; opacity: 0; transform: translateY(40px) scale(.94); transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.is-loaded .hero__title .word { transform: none; opacity: 1; }
.is-loaded .hero__title .line:nth-child(2) .word { transition-delay: .12s; }
.hero__title .word:not(.word--outline) {
  background: linear-gradient(180deg, #ffd9a8 0%, var(--sand) 45%, var(--pumpkin) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.word--outline {
  background: linear-gradient(180deg, var(--moon) 20%, var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .08em;
}
.hero__title .line:nth-child(2) { font-size: .62em; margin-top: -.05em; }
.hero__date {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.2vw, 44px);
  margin: 14px 0 20px; letter-spacing: .02em; line-height: 1;
}
.hero__date strong { font-weight: 400; color: var(--sand); }

.countdown { display: flex; gap: 10px; margin-bottom: 30px; }
.countdown div {
  min-width: 78px; padding: 12px 10px 10px; border-radius: 10px; text-align: center;
  background: rgba(28, 32, 38, .5); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mute); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__poster { position: relative; margin: 0; justify-self: center; width: min(420px, 100%); perspective: 1000px; transform-style: preserve-3d; }
.hero__poster img {
  border-radius: 12px; width: 100%; height: auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 249, 222, .15);
  transform: rotate(3deg); transition: transform .4s var(--ease);
}
.poster-glow { position: absolute; inset: 10%; border-radius: 50%; background: var(--pumpkin); filter: blur(80px); opacity: .45; z-index: -1; }

.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 28px; translate: -50% 0; width: 28px; height: 46px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255, 249, 222, .5); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--moon); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero { padding: 96px 0 130px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__actions { justify-content: center; }
  .hero__poster { width: min(230px, 58%); order: -1; margin-bottom: 4px; }
  .hero__poster img { border-radius: 10px; }
  .moon { right: 50%; translate: 50% -50%; top: 24%; width: 320px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero__title { font-size: 21vw; }
  .countdown { gap: 6px; }
  .countdown div { min-width: 0; flex: 1; padding: 10px 6px 8px; border-radius: 14px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 5; overflow: hidden;
  background: var(--pumpkin); color: var(--shadow);
  transform: rotate(-2deg); margin: -34px -20px 0; padding: 16px 0;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(26px, 3.4vw, 44px); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 1.4rem; color: var(--moon); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.kicker { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--sand); margin: 0 0 14px; }
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; margin: 0 0 22px;
  font-size: clamp(52px, 8.5vw, 128px); line-height: .9; letter-spacing: .005em; hyphens: manual;
}
.h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--sand); }
.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-soft); max-width: 58ch; margin: 0 0 16px; }
.lead a { color: var(--sand); }
.muted { color: var(--ink-mute); }

/* Cartel */
.cartel { background: linear-gradient(180deg, var(--bg), #172029); }
.cartel__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cartel .h2 { font-size: clamp(60px, 11vw, 170px); background: linear-gradient(90deg, var(--moon), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lineup-ghost { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lineup-ghost span {
  font-family: var(--display); font-size: clamp(22px, 3vw, 34px); padding: 10px 22px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-mute); letter-spacing: .15em;
  animation: flicker 3s infinite;
}
.lineup-ghost span:nth-child(2) { animation-delay: .7s; }
.lineup-ghost span:nth-child(3) { animation-delay: 1.4s; }
@keyframes flicker { 0%, 100% { opacity: .5; } 45% { opacity: 1; color: var(--sand); } 50% { opacity: .3; } 55% { opacity: 1; } }
.date-card {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); padding: 32px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; isolation: isolate;
  background: linear-gradient(160deg, var(--night), #102430);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.date-card::before {
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; right: -30%; top: -20%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 40% 40%, #fffdf0, var(--moon) 60%, #e8dfbc);
  box-shadow: 0 0 120px 30px rgba(255, 249, 222, .25);
}
.date-card::after {
  content: ""; position: absolute; inset: auto 0 0; height: 35%; z-index: -1;
  background: linear-gradient(transparent, rgba(217, 96, 26, .5));
}
.date-card__day { font-family: var(--display); font-size: clamp(140px, 16vw, 230px); line-height: .8; color: var(--shadow); -webkit-text-stroke: 0; mix-blend-mode: normal; }
.date-card__month { font-family: var(--display); font-size: clamp(34px, 3.4vw, 50px); line-height: .95; text-transform: uppercase; align-self: end; color: var(--sand); }
.date-card__meta { font-size: .95rem; color: var(--ink-soft); margin-top: 12px; }

@media (max-width: 900px) {
  .cartel__grid { grid-template-columns: 1fr; }
  .cartel__cards { max-width: 420px; }
}

/* Información (foto de fondo + tarjetas) */
.info { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 120px); }
.info__bg { position: absolute; inset: 0; z-index: -1; }
.info__bg img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; filter: saturate(1.1); }
.info__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(30, 58, 76, .55) 30%, rgba(19, 23, 28, .6) 70%, var(--bg) 100%),
    radial-gradient(80% 60% at 80% 20%, rgba(217, 96, 26, .25), transparent 70%);
}
.info__cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.icard {
  grid-column: span 2; position: relative; padding: 26px 24px 24px; border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 8px; min-height: 250px;
  background: rgba(19, 23, 28, .55); color: var(--moon);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 249, 222, .14), 0 30px 60px -30px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease), box-shadow .4s, background .4s;
}
.icard:nth-child(4), .icard:nth-child(5) { grid-column: span 3; }
.icard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(243, 167, 98, .6), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.icard h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.3vw, 34px); line-height: 1; margin: auto 0 0; }
.icard p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.icard__icon { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 249, 222, .1); margin-bottom: 18px; }
.icard__icon svg { width: 24px; height: 24px; }
.icard__icon b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.icard--orange { background: linear-gradient(150deg, rgba(234, 116, 40, .92), rgba(185, 75, 14, .92)); box-shadow: 0 30px 60px -30px rgba(217, 96, 26, .8); }
.icard--orange p { color: rgba(255, 249, 222, .92); }
.icard--orange .icard__icon { background: rgba(28, 32, 38, .28); }
.icard--cream { background: rgba(255, 249, 222, .94); color: var(--shadow); }
.icard--cream p { color: rgba(28, 32, 38, .75); }
.icard--cream .icard__icon { background: var(--shadow); color: var(--moon); }
.info__strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: 14px; }
.info__strip figure { margin: 0; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px var(--line); }
.info__strip img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s; }
.info__strip figure:hover img { filter: saturate(1.3) brightness(1.1); }
@media (max-width: 900px) {
  .info__cards { grid-template-columns: 1fr 1fr; }
  .icard, .icard:nth-child(4), .icard:nth-child(5) { grid-column: span 1; min-height: 0; }
  .icard:first-child { grid-column: span 2; }
  .info__strip { grid-template-columns: 1fr 1fr; }
  .info__strip figure:first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .info__cards { grid-template-columns: 1fr; }
  .icard, .icard:first-child { grid-column: span 1; }
}

/* Entradas */
.tickets { overflow: hidden; isolation: isolate; background: var(--night); }
.tickets__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 10% 10%, rgba(96, 157, 209, .35), transparent 70%),
    radial-gradient(40% 50% at 90% 90%, rgba(217, 96, 26, .35), transparent 70%),
    linear-gradient(180deg, #172029, var(--night) 30%, var(--night) 70%, #16242e);
}
.tickets__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.tickets__info { position: sticky; top: 120px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink-soft); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--pumpkin); color: #fff;
}
.ticket-frame { position: relative; min-height: 560px; scroll-margin-top: 90px; }
.ticket-frame::before {
  content: "Cargando la venta de entradas…"; position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 700; color: var(--ink-mute);
}
.ticket-frame iframe { position: relative; z-index: 1; display: block; }
.ticket-frame.is-ready::before { display: none; }
@media (max-width: 900px) {
  .tickets__grid { grid-template-columns: 1fr; }
  .tickets__info { position: static; }
  .ticket-frame { margin-inline: calc(var(--gutter) * -1 + 4px); }
}

/* Tarjeta-entrada de la portada (lleva a /entradas/) */
.stub {
  position: relative; display: grid; gap: 18px; padding: 28px; border-radius: 12px; text-decoration: none;
  background: var(--moon); color: var(--shadow); overflow: hidden; isolation: isolate;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 249, 222, .08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stub::before, .stub::after {
  content: ""; position: absolute; top: 74px; width: 26px; height: 26px; border-radius: 50%; background: var(--night);
}
.stub::before { left: -13px; } .stub::after { right: -13px; }
.stub:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 60px 110px -30px rgba(217, 96, 26, .55), 0 0 0 6px rgba(243, 167, 98, .25); }
.stub__top {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 20px;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 2px dashed rgba(28, 32, 38, .28);
}
.stub__date { display: flex; align-items: flex-end; gap: 16px; }
.stub__date b { font-family: var(--display); font-weight: 400; font-size: clamp(120px, 15vw, 200px); line-height: .8; color: var(--pumpkin); }
.stub__date span { font-family: var(--display); font-size: clamp(30px, 3.2vw, 46px); line-height: .95; text-transform: uppercase; }
.stub__meta { font-weight: 600; color: rgba(28, 32, 38, .72); }
.stub__btn { width: 100%; }
.stub:hover .arrow { transform: translateX(4px); }

/* Página /entradas/ */
.tpage {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  padding: 104px 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(90% 50% at 80% 0%, rgba(96, 157, 209, .4), transparent 65%),
    linear-gradient(180deg, #16303f 0%, var(--night) 35%, #1a2c38 75%, var(--bg) 100%);
}
.tpage .moon { width: clamp(150px, 20vw, 300px); top: 70px; right: 5%; translate: 0 0; opacity: .92; }
.tpage .stars { inset: 0 0 55% 0; }
.tpage .bats { z-index: -1; height: 420px; inset: 0 0 auto 0; }
.tpage__inner { position: relative; display: grid; gap: clamp(22px, 3vw, 36px); }
.tpage__head { text-align: center; }
.tpage__head .kicker { margin-bottom: 4px; }
.tpage__title {
  font-family: var(--spooky); font-weight: 400; margin: 0; line-height: 1; letter-spacing: .02em;
  font-size: clamp(58px, 8vw, 112px);
  background: linear-gradient(180deg, #ffd9a8 0%, var(--sand) 45%, var(--pumpkin) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tpage__date { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(17px, 1.8vw, 24px); margin: 6px 0 0; }
.tpage__date strong { font-weight: 400; color: var(--sand); }
.tpage .ticket-frame { width: min(920px, 100%); margin-inline: auto; scroll-margin-top: 24px; }
.tnotes { list-style: none; margin: 0 auto; padding: 0; width: min(920px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tnotes li {
  position: relative; padding: 16px 18px 16px 52px; border-radius: var(--r-md); color: var(--ink-soft); font-size: .95rem;
  background: rgba(19, 23, 28, .5); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tnotes li::before {
  content: "✓"; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--pumpkin); color: #fff;
}
.tpage__more { text-align: center; margin: 0; }
@media (max-width: 900px) {
  .tpage { padding-top: 92px; }
  .tpage .ticket-frame { width: auto; margin-inline: calc(var(--gutter) * -1 + 4px); }
  .tnotes { grid-template-columns: 1fr; }
  .tpage .moon { right: -70px; top: 40px; opacity: .35; }
}

/* Aviso de cookies */
.cookies {
  position: fixed; z-index: 120; left: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 24px)); padding: 18px 18px 16px; border-radius: 14px;
  background: rgba(19, 23, 28, .92); color: var(--ink-soft); font-size: .9rem; line-height: 1.45;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 249, 222, .16), 0 30px 60px -20px rgba(0, 0, 0, .8);
  transition: bottom .6s var(--ease);
  animation: cookiesIn .6s var(--ease) both;
}
@keyframes cookiesIn { from { opacity: 0; translate: 0 20px; } }
.island.is-docked ~ .cookies { bottom: calc(86px + env(safe-area-inset-bottom)); }
.cookies p { margin: 0 0 14px; }
.cookies a { color: var(--sand); }
.cookies__actions { display: flex; justify-content: flex-end; gap: 8px; }
.linklike { background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; font-size: inherit; }
.linklike:hover { color: var(--sand); }

/* Ediciones anteriores */
.ediciones { background: linear-gradient(180deg, #16242e, var(--bg)); padding-bottom: clamp(60px, 8vw, 110px); }
.ediciones__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.ediciones__nav { display: flex; gap: 10px; margin-bottom: 26px; }
.round-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 0; font-size: 1.3rem;
  background: rgba(255, 249, 222, .06); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background .3s, transform .3s var(--ease-back);
}
.round-btn:hover { background: var(--pumpkin); transform: scale(1.06); }
.posters {
  display: flex; align-items: flex-start; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 30px max(var(--gutter), calc((100vw - 1240px) / 2)) 40px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2));
  scrollbar-width: none; cursor: grab;
}
.posters::-webkit-scrollbar { display: none; }
.posters.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.posters.is-dragging .poster { pointer-events: none; }
.poster {
  flex: 0 0 clamp(240px, 26vw, 340px); scroll-snap-align: start; border: 0; padding: 0; background: none; text-align: left;
  display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: transform .6s var(--ease);
}
.poster img {
  width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
  transition: transform .6s var(--ease), box-shadow .5s;
  background: #1f2830;
}
.poster:nth-child(odd) img { transform: rotate(-1.5deg); }
.poster:nth-child(even) img { transform: rotate(1.5deg); }
.poster:hover img { transform: rotate(0) translateY(-10px) scale(1.02); box-shadow: 0 40px 70px -25px rgba(217, 96, 26, .55), 0 0 0 1px rgba(243, 167, 98, .5); }
.poster__year {
  position: absolute; top: -14px; right: 14px; z-index: 2;
  font-family: var(--display); font-size: 1.3rem; padding: 6px 16px; border-radius: 999px;
  background: var(--pumpkin); color: #fff; transform: rotate(4deg);
}
.poster__info { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 14, 18, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox[open] { animation: pop .45s var(--ease-back); }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: 10px; }
.lightbox__close {
  position: absolute; top: -18px; right: -18px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--moon); color: var(--shadow); font-size: 1.1rem; z-index: 2;
}
@media (max-width: 600px) { .lightbox__close { top: 8px; right: 8px; } }

/* FAQ */
.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: 120px; }
.faq__grid > * { min-width: 0; }
.faq__side .tabs { flex-direction: column; border-radius: 12px; width: 100%; }
.faq__side .tabs button { text-align: left; font-size: 1rem; padding: 14px 20px; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .faq__side .tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 12px; width: 100%; }
  .faq__side .tabs button { font-size: .88rem; padding: 12px 10px; text-align: center; white-space: normal; border-radius: 8px; }
}
.tabs {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px; margin: 36px 0 26px;
  background: rgba(255, 249, 222, .05); box-shadow: inset 0 0 0 1px var(--line);
  width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  border: 0; background: transparent; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  white-space: nowrap; color: var(--ink-soft); transition: background .35s var(--ease), color .3s;
}
.tabs button[aria-selected="true"] { background: var(--moon); color: var(--shadow); }
.tabs button:not([aria-selected="true"]):hover { color: var(--moon); background: rgba(255, 249, 222, .08); }
.panel { display: grid; gap: 12px; }
.panel[hidden] { display: none; }
.panel.is-active { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
details {
  border-radius: var(--r-md); background: #1b2229; box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, box-shadow .3s;
}
details[open] { background: #1f2830; box-shadow: inset 0 0 0 1px rgba(243, 167, 98, .35); }
summary {
  list-style: none; cursor: pointer; padding: 22px 70px 22px 24px; position: relative;
  font-weight: 700; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 249, 222, .08); font-size: 1.4rem; font-weight: 400;
  transition: transform .4s var(--ease), background .3s;
}
details[open] summary::after { transform: rotate(135deg); background: var(--pumpkin); color: #fff; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
details[open]::details-content { block-size: auto; }
.ans { padding: 0 24px 22px; color: var(--ink-soft); }
.ans p { margin: 0 0 10px; }
.ans a:not(.btn) { color: var(--sand); }
.ans ul { margin: 0 0 10px; padding-left: 20px; }
.pills { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 7px 14px; border-radius: 999px; font-size: .88rem; }
.pills--no li { background: rgba(217, 96, 26, .14); color: #ffc49a; box-shadow: inset 0 0 0 1px rgba(217, 96, 26, .35); }
.pills--ok li { background: rgba(96, 157, 209, .14); color: #cfe4f6; box-shadow: inset 0 0 0 1px rgba(96, 157, 209, .35); }

/* Footer */
.footer { background: var(--shadow); padding: 70px 0 0; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer__brand img { width: 72px; height: 72px; margin-bottom: 14px; }
.footer__brand p { color: var(--ink-mute); margin: 0; font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__col h4 { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--sand); }
.footer__col a { text-decoration: none; color: var(--ink-soft); transition: color .25s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--moon); }
.footer__org { color: var(--ink-mute); margin-top: 8px; font-size: .9rem; }
.footer__org a { color: var(--moon); }
.footer__giant {
  font-family: var(--spooky); text-align: center; line-height: .8; margin-top: 40px;
  font-size: 19vw; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 167, 98, .35);
  user-select: none; translate: 0 8%;
}
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid var(--line); padding: 20px 0 26px; font-size: .85rem; color: var(--ink-mute);
  position: relative; background: var(--shadow);
}
.footer__legal p { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.footer__legal a { color: var(--ink-soft); }
.footer__legal a:hover { color: var(--sand); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .hero__title .word { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .word { transform: none; }
  .bats, .grain { display: none; }
}

/* =========================================================
   Animaciones ligadas al scroll (solo transform/opacity,
   las calcula el navegador en el compositor: sin JS)
   ========================================================= */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .h2.reveal, .icard.reveal { transform: none; }

    /* El hero se aleja al bajar */
    .hero__copy { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
    .hero__poster { animation: posterOut linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes heroOut { to { opacity: 0; translate: 0 -80px; scale: .94; } }
    @keyframes posterOut { to { opacity: 0; translate: 0 -140px; rotate: 6deg; } }

    /* Titulares: entran deslizándose */
    .h2 { animation: slideIn linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes slideIn { from { translate: -8vw 0; opacity: .2; } to { translate: 0 0; opacity: 1; } }

    /* Información: la foto de fondo se desplaza y las tarjetas suben escalonadas */
    .info__bg img { animation: bgPar linear both; animation-timeline: view(); }
    @keyframes bgPar { from { translate: 0 -12%; scale: 1.25; } to { translate: 0 12%; scale: 1.1; } }
    .icard { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .icard:nth-child(2) { animation-range: entry 8% entry 98%; }
    .icard:nth-child(3) { animation-range: entry 16% cover 30%; }
    .icard:nth-child(4) { animation-range: entry 24% cover 34%; }
    .icard:nth-child(5) { animation-range: entry 32% cover 38%; }
    @keyframes rise { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
    .info__strip img { animation: photoPar linear both; animation-timeline: view(); scale: 1.2; }
    @keyframes photoPar { from { translate: 0 -8%; } to { translate: 0 8%; } }

    /* Tarjeta de fecha: la luna gira un poco y el 31 sube */
    .date-card::before { animation: moonRise linear both; animation-timeline: view(); }
    @keyframes moonRise { from { translate: 0 30%; } to { translate: -10% -20%; } }
    .date-card__day { animation: dayUp linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    @keyframes dayUp { from { translate: 0 60%; opacity: 0; } to { translate: 0 0; opacity: 1; } }

    /* Carteles antiguos: caen en abanico */
    .poster { animation: posterIn linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .poster:nth-child(2) { animation-range: entry 5% cover 45%; }
    .poster:nth-child(3) { animation-range: entry 10% cover 50%; }
    .poster:nth-child(4) { animation-range: entry 15% cover 55%; }
    .poster:nth-child(5) { animation-range: entry 20% cover 60%; }
    @keyframes posterIn { from { translate: 0 120px; rotate: 8deg; opacity: 0; } to { translate: 0 0; rotate: 0deg; opacity: 1; } }

    /* Marquee: se inclina más según el scroll */
    .marquee { animation: tilt linear both; animation-timeline: view(); }
    @keyframes tilt { from { rotate: 1.5deg; } to { rotate: -2deg; } }

    /* Preguntas: aparecen escalonadas */
    .panel details { animation: fadeRise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes fadeRise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

    /* SOLROCK gigante del pie sube al llegar */
    .footer__giant { animation: giantUp linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes giantUp { from { translate: 0 60%; opacity: 0; } to { translate: 0 8%; opacity: 1; } }
  }
}
