/* =========================================================
   UNA LOKA NAVIDAD EN BÁRBARA — estilos
   ========================================================= */

/* ---------- Fuentes (auto-hospedadas) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-latin-soft-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Great Vibes';
  src: url('../assets/fonts/great-vibes-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b070b;
  --ink-2: #160d15;
  --pink: #ff2b78;
  --pink-2: #ff74ad;
  --pink-deep: #c8115a;
  --cream: #f6f0e7;
  --muted: rgba(246, 240, 231, 0.66);

  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Great Vibes', 'Brush Script MT', cursive;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --pad: clamp(20px, 5vw, 64px);
  --vh: 1vh;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 6px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink);
}
.eyebrow--dark { color: var(--ink); }

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100;
  font-weight: 600;
  font-size: clamp(44px, 11vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.section-title--dark { color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--pink);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-stretch: 112%;
  font-weight: 750;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.btn::before {
  /* relleno líquido que sube al pasar el mouse */
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: var(--fg);
  border-radius: 45%;
  transform: translateY(105%) scaleX(1.4);
  transition: transform 0.6s var(--ease-out), border-radius 0.6s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0) scaleX(1.4); border-radius: 0; }
  .btn:hover { color: var(--bg); }
}
.btn:active { transform: scale(0.96); }
.btn--pill { min-height: 40px; padding: 10px 18px; font-size: 12px; }
.btn--light { --bg: var(--cream); --fg: var(--pink); }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  background: var(--ink);
  transition: transform 1s var(--ease-io) 0.1s;
}
.loader__goo {
  position: absolute;
  width: 220px; height: 220px;
  left: 50%; top: 50%;
  margin: -110px 0 0 -110px;
  filter: url(#goo);
  opacity: 0.9;
}
.loader__goo span {
  position: absolute;
  left: 50%; top: 50%;
  width: 70px; height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  background: var(--pink);
  animation: orbit 1.8s var(--ease-io) infinite;
}
.loader__goo span:nth-child(2) { animation-delay: -0.45s; width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.loader__goo span:nth-child(3) { animation-delay: -0.9s;  width: 62px; height: 62px; margin: -31px 0 0 -31px; }
.loader__goo span:nth-child(4) { animation: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; }
@keyframes orbit {
  0%   { transform: rotate(0deg) translateX(0) scale(1); }
  50%  { transform: rotate(180deg) translateX(64px) scale(0.7); }
  100% { transform: rotate(360deg) translateX(0) scale(1); }
}
.loader__logo {
  position: relative;
  width: min(46vw, 230px);
  filter: drop-shadow(0 10px 30px rgba(255, 43, 120, 0.45));
  animation: loaderPop 1.2s var(--ease-back) both;
}
@keyframes loaderPop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08, 0.94); opacity: 1; }
  80% { transform: scale(0.97, 1.04); }
  100% { transform: scale(1); }
}
.loader__count {
  position: relative;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.loader__count::after { content: '%'; }
.curtain {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: var(--pink);
  pointer-events: none;
  transition: transform 1s var(--ease-io) 0.28s;
}
body.is-loaded .loader { transform: translateY(-102%); pointer-events: none; }
body.is-loaded .curtain { transform: translateY(-102%); }
html:not(.js) .loader, html:not(.js) .curtain { display: none; }

/* ---------- Capas de efectos ---------- */
.sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
}
.grain {
  position: fixed;
  inset: -100%;
  z-index: 45;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); }
  80% { transform: translate(7%, 2%); }
  100% { transform: translate(-4%, -5%); }
}
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 80;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink), var(--pink-2));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* Cursor personalizado (solo mouse) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor .cursor { display: block; }
  .cursor__dot, .cursor__ring {
    position: fixed;
    top: 0; left: 0;
    z-index: 400;
    pointer-events: none;
    border-radius: 50%;
  }
  .cursor__dot {
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--pink);
  }
  .cursor__ring {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    border: 1.5px solid rgba(255, 116, 173, 0.75);
    transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), margin 0.45s var(--ease-out),
                background-color 0.35s, border-color 0.35s;
  }
  .cursor.is-hover .cursor__ring {
    width: 92px; height: 92px;
    margin: -46px 0 0 -46px;
    background: rgba(255, 43, 120, 0.92);
    border-color: transparent;
  }
  .cursor.is-hover .cursor__dot { opacity: 0; }
  .cursor.is-down .cursor__ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .cursor__label {
    font-stretch: 115%;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s, transform 0.4s var(--ease-back);
  }
  .cursor.is-hover .cursor__label { opacity: 1; transform: scale(1); }
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) var(--pad) 14px;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out), opacity 0.6s;
}
.topbar > * { pointer-events: auto; }
.topbar__brand img {
  width: 74px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s var(--ease-back);
}
.topbar__brand:hover img { transform: rotate(-6deg) scale(1.08); }
.topbar.is-hidden { transform: translateY(-120%); }
body.is-loading .topbar { opacity: 0; transform: translateY(-100%); }

/* ---------- Revelados ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.split .word { display: inline-block; white-space: nowrap; }
.split .char {
  display: inline-block;
  transform: translateY(110%) rotate(8deg);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 0.6s var(--ease-out);
  transition-delay: calc(var(--ci) * 28ms + var(--d, 0ms));
}
.split .word-mask { display: inline-block; overflow: hidden; padding: 0.08em 0.02em 0.12em; margin: -0.08em -0.02em -0.12em; vertical-align: bottom; }
.split.is-in .char { transform: none; opacity: 1; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -6% 0;
  z-index: -3;
  will-change: transform;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  transform-origin: 50% 60%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.22) translate3d(-2%, 1.5%, 0); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 45%, rgba(11, 7, 11, 0.25), rgba(11, 7, 11, 0.85) 75%),
    linear-gradient(180deg, rgba(11, 7, 11, 0.55) 0%, rgba(11, 7, 11, 0.15) 35%, rgba(11, 7, 11, 0.95) 100%);
  opacity: var(--shade, 1);
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__glow span {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 43, 120, 0.55), rgba(255, 43, 120, 0) 65%);
  filter: blur(10px);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero__glow span:nth-child(1) { left: -20vmax; top: -10vmax; }
.hero__glow span:nth-child(2) { right: -25vmax; top: 20vh; animation-duration: 21s; animation-delay: -6s; background: radial-gradient(circle, rgba(200, 17, 90, 0.6), rgba(200, 17, 90, 0) 65%); }
.hero__glow span:nth-child(3) { left: 10vw; bottom: -35vmax; animation-duration: 18s; animation-delay: -3s; opacity: 0.7; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(8vw, -6vh) scale(1.15); }
  100% { transform: translate(-6vw, 8vh) scale(0.9); }
}

.hero__content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 var(--pad);
  text-align: center;
  will-change: transform, opacity;
}
.hero__title {
  position: relative;
  margin: 0;
  width: min(92vw, 820px);
  perspective: 900px;
}
.tilt {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.tilt__img {
  width: 100%;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 60px rgba(255, 43, 120, 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-12px) rotate(0.6deg); }
}
/* Brillo especular que recorre las letras siguiendo el mouse */
.tilt__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url('../assets/img/loka-barbara.webp') center / 100% 100% no-repeat;
          mask: url('../assets/img/loka-barbara.webp') center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.75) 48%, rgba(255, 255, 255, 0) 58%);
  background-size: 260% 100%;
  background-position: var(--shine, 120%) 0;
  mix-blend-mode: soft-light;
  animation: float 6s ease-in-out infinite;
}
.hero__navidad {
  position: absolute;
  right: -2%;
  bottom: -14%;
  font-size: clamp(56px, 15vw, 150px);
  line-height: 1;
  color: var(--pink-2);
  text-shadow: 0 0 18px rgba(255, 43, 120, 0.9), 0 0 50px rgba(255, 43, 120, 0.6);
  transform: rotate(-9deg);
  pointer-events: none;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  margin: clamp(40px, 7vh, 72px) 0 0;
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
}
.hero__date { font-size: clamp(22px, 5.6vw, 34px); letter-spacing: 0.06em; }
.hero__star { color: var(--pink); animation: spin 6s linear infinite; display: inline-block; }
.hero__place { font-size: clamp(13px, 3.2vw, 16px); letter-spacing: 0.24em; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 46px;
  background: rgba(246, 240, 231, 0.18);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pink);
  animation: scrollLine 1.8s var(--ease-io) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Entrada del hero después del loader */
.js .hero__meta,
.js .hero__scroll { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .hero__scroll { transform: translate(-50%, 24px); }
.js .hero__title { opacity: 0; }
.js .hero__navidad { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-io) 1.15s; }
body.is-loaded .hero__title { opacity: 1; animation: jellyIn 1.4s var(--ease-out) 0.75s both; }
body.is-loaded .hero__navidad { clip-path: inset(-20% -20% -20% -20%); }
body.is-loaded .hero__meta { opacity: 1; transform: none; transition-delay: 1.45s; }
body.is-loaded .hero__scroll { opacity: 1; transform: translateX(-50%); transition-delay: 1.8s; }
@keyframes jellyIn {
  0%   { opacity: 0; transform: scale(0.5) translateY(40px); filter: blur(12px); }
  35%  { opacity: 1; transform: scale(1.12, 0.88); filter: blur(0); }
  55%  { transform: scale(0.94, 1.08); }
  72%  { transform: scale(1.04, 0.97); }
  86%  { transform: scale(0.99, 1.01); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Gelatina al tocar/pasar el mouse por los logos */
.jelly.is-jelly { animation: jelly 0.9s var(--ease-out) both !important; }
@keyframes jelly {
  0%   { transform: scale(1, 1); }
  25%  { transform: scale(1.18, 0.84); }
  40%  { transform: scale(0.88, 1.14); }
  55%  { transform: scale(1.07, 0.94); }
  70%  { transform: scale(0.97, 1.03); }
  100% { transform: scale(1, 1); }
}

/* ---------- CINTAS (marquee) ---------- */
.band {
  position: relative;
  z-index: 2;
  padding: 56px 0 44px;
  margin: -40px 0 0;
  overflow: hidden;
}
.band__row {
  display: flex;
  width: 112vw;
  margin-left: -6vw;
  padding: 14px 0;
  white-space: nowrap;
  will-change: transform;
}
.band__row--pink {
  position: relative;
  z-index: 2;
  background: var(--pink);
  color: var(--ink);
  transform: rotate(-4deg);
  box-shadow: 0 18px 50px rgba(255, 43, 120, 0.35);
}
.band__row--dark {
  margin-top: -36px;
  background: var(--ink-2);
  color: transparent;
  -webkit-text-stroke: 1.2px var(--pink-2);
  transform: rotate(3deg);
  border-block: 1px solid rgba(255, 116, 173, 0.25);
}
.band__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  will-change: transform;
}
.band__track span {
  padding: 0 0.45em;
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(26px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.band__track i {
  font-style: normal;
  font-size: clamp(18px, 3.6vw, 36px);
  -webkit-text-stroke: 0;
}
.band__row--dark i { color: var(--pink); }

/* ---------- EL LUGAR ---------- */
.venue {
  position: relative;
  height: 320vh;
  --a: 0; --e: 0; --i: 0;
}
.venue__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.venue__media {
  position: absolute;
  inset: 0;
  margin: 0;
  clip-path: inset(var(--cy, 25%) var(--cx, 15%) var(--cy, 25%) var(--cx, 15%) round var(--cr, 28px));
  transform: rotate(var(--rot, -5deg));
  will-change: clip-path, transform;
}
.venue__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--zoom, 1.3));
  will-change: transform;
}
.venue__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 7, 11, 0.1) 30%, rgba(11, 7, 11, 0.92) 100%),
    radial-gradient(90% 60% at 50% 100%, rgba(255, 43, 120, 0.35), transparent 70%);
  opacity: var(--i);
}
.venue__phrase {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  margin: 0;
  text-align: center;
  pointer-events: none;
}
.venue__part { display: block; will-change: transform, opacity; }
.venue__part > * { display: inline-block; }
.venue__una {
  font-size: clamp(54px, 13vw, 120px);
  line-height: 0.6;
  color: var(--cream);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
  transform: translate(-22%, 0) rotate(-8deg);
}
.venue__loka {
  width: min(78vw, 560px);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55));
  pointer-events: auto;
}
.venue__navidad {
  margin-top: -0.32em;
  font-size: clamp(70px, 19vw, 190px);
  line-height: 1;
  color: var(--pink-2);
  text-shadow: 0 0 20px rgba(255, 43, 120, 0.8), 0 4px 30px rgba(0, 0, 0, 0.5);
  transform: rotate(-5deg);
}
.venue__en {
  margin-top: -0.1em;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(22px, 5vw, 40px);
  letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}
.venue__en b { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.venue__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 0 var(--pad) max(48px, calc(env(safe-area-inset-bottom) + 32px));
  pointer-events: none;
}
.venue__info > * {
  opacity: var(--o, 0);
  transform: translateY(var(--y, 40px));
}
.venue.is-info .venue__info { pointer-events: auto; }
.venue__title {
  margin: 0;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100;
  font-weight: 700;
  font-size: clamp(64px, 17vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.venue__place {
  margin: 8px 0 0;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(14px, 3.6vw, 20px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-2);
}
.venue__text {
  max-width: 34ch;
  margin: 16px 0 24px;
  font-size: clamp(15px, 3.8vw, 18px);
  color: rgba(246, 240, 231, 0.85);
}

/* ---------- CUENTA REGRESIVA ---------- */
.countdown {
  position: relative;
  padding: clamp(110px, 18vh, 180px) var(--pad) clamp(160px, 24vh, 240px);
  text-align: center;
  background: radial-gradient(70% 50% at 50% 60%, rgba(255, 43, 120, 0.14), transparent 70%), var(--ink);
}
.cd {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 24px);
  max-width: 900px;
  margin: clamp(36px, 6vh, 64px) auto 0;
}
.cd__unit {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(14px, 3vw, 28px) 4px;
  border: 1px solid rgba(255, 116, 173, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 43, 120, 0.08), rgba(255, 43, 120, 0.01));
  overflow: hidden;
}
.cd__num {
  display: block;
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(30px, 9vw, 92px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
.cd__num.tick { animation: tick 0.6s var(--ease-out); }
@keyframes tick {
  0% { transform: translateY(-60%); opacity: 0; filter: blur(6px); color: var(--pink); }
  100% { transform: none; opacity: 1; filter: none; }
}
.cd__label {
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 12px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
}
.cd__done {
  margin: 40px 0 0;
  font-family: var(--script);
  font-size: clamp(56px, 14vw, 120px);
  line-height: 1;
  color: var(--pink-2);
  text-shadow: 0 0 24px rgba(255, 43, 120, 0.7);
}
.countdown__date {
  margin: 32px 0 0;
  font-stretch: 115%;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Bordes líquidos (goo) ---------- */
.goo-edge {
  position: absolute;
  left: 0; right: 0;
  height: 170px;
  filter: url(#goo);
  pointer-events: none;
}
.goo-edge__bar {
  position: absolute;
  left: -40px; right: -40px;
  height: 46px;
  background: var(--pink);
}
.goo-edge__blob {
  position: absolute;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  margin-left: calc(var(--s) / -2);
  border-radius: 50%;
  background: var(--pink);
  animation: var(--anim) var(--dur) var(--ease-io) var(--delay) infinite;
}
.goo-edge--up { top: -124px; }
.goo-edge--up .goo-edge__bar { bottom: 0; }
.goo-edge--up .goo-edge__blob { bottom: 10px; --anim: rise; }
.goo-edge--down { top: -46px; }
.goo-edge--down .goo-edge__bar { top: 0; }
.goo-edge--down .goo-edge__blob { top: 10px; --anim: drip; }
@keyframes rise {
  0%   { transform: translateY(0) scale(0.6); }
  70%  { transform: translateY(calc(var(--h) * -1)) scale(1); }
  100% { transform: translateY(calc(var(--h) * -1.35)) scale(0); }
}
@keyframes drip {
  0%   { transform: translateY(0) scale(0.6, 0.6); }
  70%  { transform: translateY(var(--h)) scale(0.85, 1.12); }
  100% { transform: translateY(calc(var(--h) * 1.4)) scale(0); }
}
.is-paused .goo-edge__blob { animation-play-state: paused; }

/* ---------- RRPP ---------- */
.rrpp {
  position: relative;
  z-index: 3;
  padding: clamp(70px, 12vh, 120px) var(--pad) clamp(110px, 16vh, 160px);
  background: var(--pink);
  color: var(--ink);
}
.rrpp__head { max-width: 980px; margin: 0 auto; text-align: center; }
.rrpp__lead {
  max-width: 44ch;
  margin: 22px auto 0;
  font-size: clamp(15px, 3.8vw, 19px);
  font-weight: 500;
  color: rgba(11, 7, 11, 0.8);
}
.rrpp__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: clamp(44px, 7vh, 72px) auto 0;
  padding: 0;
  list-style: none;
  perspective: 1000px;
}
@media (min-width: 640px) { .rrpp__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .rrpp__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rrpp :focus-visible { outline-color: var(--ink); }

/* Buscador */
.rrpp__search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 420px;
  margin: 28px auto 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 18px 40px -18px rgba(80, 0, 35, 0.8);
  transition: box-shadow 0.4s var(--ease-out);
}
.rrpp__search:focus-within { box-shadow: 0 0 0 3px var(--cream), 0 18px 40px -18px rgba(80, 0, 35, 0.8); }
.rrpp__search svg {
  position: absolute;
  left: 20px;
  width: 20px; height: 20px;
  color: var(--pink);
  pointer-events: none;
}
.rrpp__search input {
  width: 100%;
  min-height: 54px;
  padding: 0 22px 0 52px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px; /* evita el zoom automático en iPhone */
  font-weight: 600;
  outline: none;
}
.rrpp__search input::placeholder { color: rgba(246, 240, 231, 0.5); }
.rrpp__search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.rrpp__empty {
  margin: 32px 0 0;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
}

.card {
  position: relative;
  transform-style: preserve-3d;
}
.card__inner {
  position: relative;
  display: grid;
  gap: 18px;
  height: 100%;
  padding: 24px 22px 22px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 24px 50px -20px rgba(80, 0, 35, 0.75);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.card.is-tilting .card__inner { transition: transform 0.12s linear, box-shadow 0.6s var(--ease-out); box-shadow: 0 40px 70px -24px rgba(80, 0, 35, 0.9); }
.card__glare {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 43, 120, 0.32), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.card.is-tilting .card__glare { opacity: 1; }
.card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.card__who { display: grid; min-width: 0; }
.card__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px; height: 60px;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  border-radius: 42% 58% 62% 38% / 45% 40% 60% 55%;
  animation: morph 7s ease-in-out infinite;
  animation-delay: var(--md, 0s);
}
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 62% 38% / 45% 40% 60% 55%; }
  33% { border-radius: 62% 38% 44% 56% / 58% 62% 38% 42%; }
  66% { border-radius: 38% 62% 56% 44% / 40% 55% 45% 60%; }
}
.card__role {
  margin: 0;
  font-stretch: 125%;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
}
.card__name {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100;
  font-weight: 650;
  font-size: clamp(24px, 6.6vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.card__phone {
  justify-self: start;
  margin-top: 6px;
  font-stretch: 118%;
  font-weight: 800;
  font-size: 17px;
  color: rgba(246, 240, 231, 0.8);
  letter-spacing: 0.04em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.3s;
}
.card__phone:hover { color: var(--pink-2); }
.card__ig {
  justify-self: start;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.card__ig:hover { color: var(--pink-2); }
.card__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.card__actions .btn { height: 48px; min-height: 48px; }
.btn--buy {
  flex: 1;
  min-width: 0;
  padding-inline: 14px;
  font-stretch: 100%;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.btn--buy svg { width: 18px; height: 18px; flex-shrink: 0; }
/* celulares muy angostos: "Comprar entrada" ocupa toda la fila */
@media (max-width: 359px) {
  .card__actions { flex-wrap: wrap; }
  .btn--buy { flex-basis: 100%; }
  .card__actions .btn--icon { flex: 1 1 0; }
}
.btn--icon {
  --bg: var(--cream);
  --fg: var(--pink);
  flex: 0 0 48px;
  width: 48px;
  padding: 0;
}
.btn--icon svg { width: 20px; height: 20px; }
@media (hover: hover) { .btn--icon:hover { color: var(--cream); } }
.btn--ghost {
  --bg: transparent;
  --fg: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(246, 240, 231, 0.3);
}
.btn--ghost svg { width: 18px; height: 18px; }
@media (hover: hover) { .btn--ghost:hover { color: var(--ink); } }

/* ---------- FORMAS DE VENTA (acordeón) ---------- */
.channels { max-width: 1180px; margin: clamp(40px, 6vh, 64px) auto 0; }
.channels__list { display: grid; gap: 14px; }
.channel { scroll-margin-top: 84px; }
.channel__h { margin: 0; font: inherit; }
.channel__head {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 18px 18px 22px;
  border: 0;
  border-radius: 26px;
  background: var(--ink);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 50px -24px rgba(80, 0, 35, 0.8);
  transition: transform 0.5s var(--ease-out);
}
.channel__head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--pink-deep), #3a0f25 70%);
  transform: translateX(-101%);
  transition: transform 0.7s var(--ease-out);
}
.channel__head:hover::before,
.channel.is-open .channel__head::before { transform: none; }
.channel__head:active { transform: scale(0.985); }
.channel__num {
  align-self: start;
  padding-top: 6px;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--pink);
}
.channel.is-open .channel__num { color: var(--cream); }
.channel__text { display: grid; gap: 4px; min-width: 0; }
.channel__title {
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100;
  font-weight: 650;
  font-size: clamp(26px, 7vw, 46px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.channel__count {
  font-stretch: 125%;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.channel__icon {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pink);
  transition: transform 0.6s var(--ease-back), background-color 0.4s;
}
.channel__icon span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2.5px;
  margin: -1.25px 0 0 -9px;
  border-radius: 2px;
  background: var(--ink);
}
.channel__icon span:last-child { transform: rotate(90deg); }
.channel.is-open .channel__icon { transform: rotate(135deg); background: var(--cream); }

.channel__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.75s var(--ease-io);
}
.channel.is-open .channel__panel { grid-template-rows: 1fr; }
.channel__inner { min-height: 0; overflow: hidden; }
.channel__body { padding: 18px 2px 30px; }
.channel__intro {
  margin: 0 0 16px;
  text-align: center;
  font-weight: 600;
  color: rgba(11, 7, 11, 0.78);
}
.channel .rrpp__search { margin: 0 auto 18px; }
.channel .rrpp__list { margin: 0 auto; }
.channel .rrpp__empty { margin-top: 18px; }
/* las tarjetas entran escalonadas al desplegar */
.channel .card {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}
.channel.is-open .card {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out) var(--d), transform 0.9s var(--ease-out) var(--d);
}

.card__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.14em;
  vertical-align: 1px;
}
.card__contact { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.card__note { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 04 · Tarjeta VIP ---------- */
.vip-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px 20px;
  width: 100%;
  margin-top: 14px;
  padding: 30px 22px 28px;
  border: 0;
  border-radius: 28px;
  background: #000;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 34px 70px -26px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.vip-tile::before {
  /* líneas de escaneo */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px);
  animation: scanlines 6s linear infinite;
}
.vip-tile::after {
  /* barrido de luz */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  background-size: 260% 100%;
  animation: sweep 4.5s var(--ease-io) infinite;
}
@keyframes scanlines { to { background-position: 0 120px; } }
@keyframes sweep { 0% { background-position: 130% 0; } 60%, 100% { background-position: -40% 0; } }
.vip-tile:hover { transform: translateY(-4px); box-shadow: 0 44px 80px -26px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.vip-tile:active { transform: scale(0.98); }
.vip-tile__num {
  position: absolute;
  top: 18px; right: 22px;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}
.vip-tile__fp {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
}
.vip-tile__fp img { width: 52px; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45)); }
.vip-tile__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  animation: ping 2.6s var(--ease-out) infinite;
}
.vip-tile__ring + .vip-tile__ring { animation-delay: 1.3s; }
@keyframes ping {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}
.vip-tile__body { display: grid; justify-items: start; gap: 10px; min-width: 0; }
.vip-tile__kicker {
  font-stretch: 125%;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.vip-tile__logo { width: min(100%, 420px); animation: glitchIdle 5s steps(1) infinite; }
.vip-tile:hover .vip-tile__logo { animation: glitch 0.45s steps(1) infinite; }
@keyframes glitch {
  0%   { transform: translate(0, 0); filter: drop-shadow(2px 0 0 rgba(255, 43, 120, 0.9)) drop-shadow(-2px 0 0 rgba(0, 240, 255, 0.7)); }
  25%  { transform: translate(-2px, 1px); filter: drop-shadow(-3px 0 0 rgba(255, 43, 120, 0.9)) drop-shadow(3px 0 0 rgba(0, 240, 255, 0.7)); }
  50%  { transform: translate(2px, -1px); filter: none; }
  75%  { transform: translate(-1px, 0); filter: drop-shadow(2px 0 0 rgba(255, 43, 120, 0.9)); }
  100% { transform: translate(0, 0); filter: none; }
}
@keyframes glitchIdle {
  0%, 88%, 100% { transform: none; filter: none; opacity: 1; }
  90% { transform: translate(-3px, 0); filter: drop-shadow(3px 0 0 rgba(255, 43, 120, 0.9)) drop-shadow(-3px 0 0 rgba(0, 240, 255, 0.7)); }
  92% { opacity: 0.2; }
  94% { transform: translate(2px, 0); opacity: 1; }
  96% { opacity: 0.5; filter: none; }
}
.vip-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-stretch: 118%;
  font-weight: 750;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.vip-tile__cta span { display: inline-block; transition: transform 0.5s var(--ease-out); }
.vip-tile:hover .vip-tile__cta span { transform: translateX(6px); }

/* ---------- BLACK OUT (overlay) ---------- */
html.is-blackout { overflow: hidden; }
html.is-blackout .topbar,
html.is-blackout .progress { opacity: 0; pointer-events: none; }
html.is-blackout .cursor__dot { background: #fff; }
html.is-blackout .cursor__ring { border-color: rgba(255, 255, 255, 0.7); }
html.is-blackout .cursor.is-hover .cursor__ring { background: #fff; }

.blackout {
  position: fixed;
  inset: 0;
  z-index: 39; /* debajo de los destellos y el grano: quedan como polvo en la luz */
  color: #fff;
}
.blackout[hidden] { display: none; }
/* 1) la luz parpadea */
.blackout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
.blackout.is-off::before { animation: powerFlicker 0.42s steps(1) both; }
@keyframes powerFlicker {
  0% { opacity: 0; } 10% { opacity: 0.88; } 20% { opacity: 0.06; } 32% { opacity: 0.92; }
  44% { opacity: 0.18; } 58% { opacity: 1; } 70% { opacity: 0.35; } 84% { opacity: 0.95; } 100% { opacity: 0; }
}
/* 2) se apaga como una tele vieja: la imagen se aplasta en una línea y un punto */
.blackout__screen {
  position: absolute;
  inset: 0;
  background: #000;
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 0, 0 100%, 100% 100%, 100% 0, 0 0);
}
.blackout.is-off .blackout__screen { animation: tvOff 0.72s 0.4s both; }
.blackout.is-dark .blackout__screen { clip-path: none; }
.blackout.is-on .blackout__screen { animation: tvOn 0.7s both; }
@keyframes tvOff {
  0% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 0, 0 100%, 100% 100%, 100% 0, 0 0); animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0); }
  55% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 49.7%, 0 50.3%, 100% 50.3%, 100% 49.7%, 0 49.7%); animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0); }
  85% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 49.9% 49.7%, 49.9% 50.3%, 50.1% 50.3%, 50.1% 49.7%, 49.9% 49.7%); }
  100% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%); }
}
@keyframes tvOn {
  0% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  35% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 49.7%, 0 50.3%, 100% 50.3%, 100% 49.7%, 0 49.7%); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  100% { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 0, 0 100%, 100% 100%, 100% 0, 0 0); }
}
.blackout__line {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px 3px #fff, 0 0 60px 14px rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
}
.blackout.is-off .blackout__line { animation: tvLine 0.72s 0.4s both; }
.blackout.is-on .blackout__line { animation: tvLineOn 0.7s both; }
@keyframes tvLine {
  0%, 40% { opacity: 0; transform: scaleX(1); }
  55% { opacity: 1; transform: scaleX(1); animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0); }
  85% { opacity: 1; transform: scaleX(0.004) scaleY(2.6); }
  100% { opacity: 0; transform: scaleX(0) scaleY(2.6); }
}
@keyframes tvLineOn {
  0% { opacity: 1; transform: scaleX(0.004) scaleY(2.6); }
  35% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

.blackout__stage {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* 3) escaneo de huella */
.blackout__scan {
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.8s var(--ease-io);
}
.blackout.is-dark .blackout__scan { opacity: 1; }
.blackout.is-in .blackout__scan { opacity: 0; transform: scale(1.6); }
.blackout.is-closing .blackout__scan { opacity: 0; transition: none; }
.blackout__fp { position: relative; width: 120px; }
.blackout__fp img {
  width: 100%;
  opacity: 0.35;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  transition: opacity 0.4s, filter 0.4s;
}
.blackout.is-dark .blackout__fp img { animation: fpPulse 1.1s ease-in-out infinite; }
.blackout.is-granted .blackout__fp img { animation: none; opacity: 1; filter: drop-shadow(0 0 18px #fff) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)); }
@keyframes fpPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.75; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
}
.blackout__fp::after {
  /* onda al conceder el acceso */
  content: '';
  position: absolute;
  inset: -16px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  opacity: 0;
}
.blackout.is-granted .blackout__fp::after { animation: grant 0.9s var(--ease-out) both; }
@keyframes grant {
  0% { opacity: 1; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(2.4); }
}
.blackout__beam {
  position: absolute;
  left: -22%; right: -22%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
  box-shadow: 0 0 14px 3px rgba(255, 255, 255, 0.7);
  opacity: 0;
}
.blackout.is-dark .blackout__beam { opacity: 1; animation: beam 1.1s ease-in-out infinite alternate; }
.blackout.is-granted .blackout__beam { opacity: 0; animation: none; }
@keyframes beam { from { top: -4%; } to { top: 104%; } }
.blackout__status {
  font-stretch: 125%;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.blackout.is-dark:not(.is-granted) .blackout__status::after { content: ''; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

/* 4) el sector VIP con linterna */
.blackout__photo {
  position: fixed;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.blackout.is-in .blackout__photo { opacity: 1; }
.blackout__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: contrast(1.2) brightness(0.55);
  transform: scale(1.08);
  animation: kenburns 30s ease-in-out infinite alternate;
}
.blackout__spot {
  position: absolute;
  left: 0; top: 0;
  width: 300vmax; height: 300vmax;
  margin: -150vmax 0 0 -150vmax;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.45) 9vmax, rgba(0, 0, 0, 0.88) 22vmax, rgba(0, 0, 0, 0.97) 38vmax);
  will-change: transform;
  pointer-events: none;
}
.blackout__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.7) 65%, rgba(0, 0, 0, 0.95) 100%);
}

.blackout__content {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: max(96px, calc(env(safe-area-inset-top) + 80px)) var(--pad) max(56px, calc(env(safe-area-inset-bottom) + 40px));
  text-align: center;
  pointer-events: none;
}
.blackout.is-in .blackout__content { pointer-events: auto; }
.blackout__content > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
}
.blackout.is-in .blackout__content > * { opacity: 1; transform: none; }
.blackout.is-in .blackout__content > :nth-child(2) { transition-delay: 0.5s; }
.blackout.is-in .blackout__content > :nth-child(3) { transition-delay: 0.65s; }
.blackout.is-in .blackout__content > :nth-child(4) { transition-delay: 0.8s; }
.blackout.is-in .blackout__content > :nth-child(5) { transition-delay: 0.95s; }
.blackout.is-in .blackout__content > :nth-child(6) { transition-delay: 1.1s; }
.blackout.is-in .blackout__content > :nth-child(7) { transition-delay: 1.25s; }
.blackout__seller {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  margin: 6px 0 0;
  font-stretch: 118%;
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.blackout__seller a {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}
.blackout__copy {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.blackout__copy svg { width: 15px; height: 15px; }
@media (hover: hover) { .blackout__copy:hover { background: #fff; color: #000; } }
.blackout__actions .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.blackout.is-closing .blackout__content > *,
.blackout.is-closing .blackout__photo { transition-duration: 0.35s; transition-delay: 0s; }

.blackout__logo {
  width: min(86vw, 600px);
  clip-path: inset(0 100% 0 0);
  filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.35));
}
.blackout.is-in .blackout__logo { animation: logoOn 1.5s var(--ease-io) 0.15s both; }
@keyframes logoOn {
  0% { clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 40px #fff) brightness(2); }
  55% { clip-path: inset(0 0 0 0); }
  62% { opacity: 0.3; }
  66% { opacity: 1; }
  72% { opacity: 0.5; }
  76% { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.35)); }
}
.blackout__kicker {
  display: flex;
  gap: 12px;
  margin: 6px 0 0;
  font-stretch: 125%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.blackout__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.btn--white { --bg: #fff; --fg: #000; }
.btn--line { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
@media (hover: hover) { .btn--line:hover { color: #000; } }
.blackout :focus-visible { outline-color: #fff; }

.blackout__x {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 2;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  transition: opacity 0.5s, transform 0.7s var(--ease-back), background-color 0.3s;
}
.blackout.is-in .blackout__x { opacity: 1; transform: none; transition-delay: 0.9s; }
.blackout__x:hover { background: #fff; }
.blackout__x span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  margin: -1px 0 0 -9px;
  background: #fff;
  transform: rotate(45deg);
  transition: background-color 0.3s;
}
.blackout__x span + span { transform: rotate(-45deg); }
.blackout__x:hover span { background: #000; }

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(150px, 22vh, 220px) var(--pad) max(48px, calc(env(safe-area-inset-bottom) + 32px));
  text-align: center;
  background: var(--ink);
}
.footer__logo {
  width: min(70vw, 420px);
  filter: drop-shadow(0 20px 50px rgba(255, 43, 120, 0.35));
}
.footer__line {
  margin: 10px 0 0;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.footer__line span { color: var(--pink); }
.footer__by {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.footer__by a { color: var(--pink-2); text-decoration: none; font-weight: 700; }
.footer__by a:hover { text-decoration: underline; }

/* ---------- powered by Launchbyte ---------- */
.powered {
  margin: 0;
  font-stretch: 112%;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 240, 231, 0.38);
}
.powered--loader {
  position: absolute;
  left: 0; right: 0;
  bottom: max(22px, env(safe-area-inset-bottom));
  text-align: center;
}
.powered--footer { margin-top: 18px; }
.powered--footer a {
  color: rgba(246, 240, 231, 0.7);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.3s;
}
.powered--footer a:hover { color: var(--pink-2); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 350;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, 30px) scale(0.9);
  transition: opacity 0.35s, transform 0.5s var(--ease-back);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------- Black Out en celular: botones en una fila ---------- */
@media (max-width: 600px) {
  .blackout__content { gap: 16px; }
  .blackout__actions { gap: 8px; flex-wrap: nowrap; }
  .blackout__actions .btn { padding: 13px 16px; font-size: 12px; letter-spacing: 0.06em; white-space: nowrap; }
  .blackout__seller { font-size: 10.5px; }
}
@media (max-width: 359px) { .blackout__actions { flex-wrap: wrap; } }

/* ---------- Pantallas grandes ---------- */
@media (min-width: 900px) {
  .hero__navidad { right: -6%; bottom: -12%; }
  .venue__una { transform: translate(-60%, 0) rotate(-8deg); }
  .venue__info {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'eyebrow eyebrow' 'title text' 'place cta';
    align-items: end;
    column-gap: 48px;
  }
  .venue__info .eyebrow { grid-area: eyebrow; }
  .venue__title { grid-area: title; }
  .venue__place { grid-area: place; }
  .venue__text { grid-area: text; margin: 0 0 12px; }
  .venue__info .btn { grid-area: cta; justify-self: start; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .sparkles, .grain { display: none; }
  .venue { height: auto; }
  .venue__sticky { position: relative; height: auto; min-height: 100svh; padding: 120px 0 0; display: block; }
  .venue__media { position: relative; height: 70svh; clip-path: none; transform: none; }
  .venue__media img { transform: none; }
  .venue__phrase { display: none; }
  .venue__veil { display: none; }
  .venue__info { position: relative; padding-top: 32px; }
  .venue__info > * { opacity: 1; transform: none; }
}
