/* =========================================================
   DJ MANI — base.css (compartido por la web y la landing)
   ========================================================= */
:root {
  --bg: #03040a;
  --bg-2: #070a16;
  --bg-3: #0b1022;
  --ink: #f3f6ff;
  --ink-2: #b9c2da;
  --muted: #7d87a3;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --blue: #1d5bff;
  --blue-2: #2f8bff;
  --cyan: #19e3ff;
  --glow: rgba(47, 139, 255, .55);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e4ebf9 34%, #94a6c9 50%, #eef3ff 63%, #ffffff 100%);
  --grad: linear-gradient(120deg, #1d5bff 0%, #2f8bff 45%, #19e3ff 100%);
  --f-display: "Anton", "Impact", sans-serif;
  --f-wide: "Syncopate", "Arial Black", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --beat: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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-2);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(96px, 13vw, 190px) 0; position: relative; }

/* ---------- Tipografía ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 .68rem/1 var(--f-wide); letter-spacing: .34em; text-transform: uppercase;
  color: var(--blue-2);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; box-shadow: 0 0 10px var(--blue-2); }
.h2 {
  font: 400 clamp(2.6rem, 6vw, 5.8rem)/.94 var(--f-display);
  text-transform: uppercase; letter-spacing: .005em; color: var(--ink);
  margin: 22px 0 28px;
}
.lead { font-size: clamp(1.15rem, 1.55vw, 1.42rem); line-height: 1.55; color: var(--ink); font-weight: 500; }
.chrome, .chrome .wi {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chrome { filter: drop-shadow(0 0 26px rgba(47, 139, 255, .35)); }
.is-split .chrome { background: none; }
.accent { color: var(--blue-2); }
strong { color: var(--ink); font-weight: 600; }

/* split helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .22em .04em .1em; margin: -.22em -.04em -.1em; }
.chrome .wi { padding: .2em .02em .06em; margin: -.2em -.02em -.06em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Grano + scanlines ---------- */
.grain {
  position: fixed; inset: -60%; z-index: 9000; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 5%); } 80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); }
}
.scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: .22; mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .55) 0 1px, transparent 1px 3px);
}

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center; pointer-events: all; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #020308; }
.preloader__panel--top { top: 0; border-bottom: 1px solid rgba(47, 139, 255, .25); }
.preloader__panel--bot { bottom: 0; }
.preloader__inner { position: relative; display: grid; justify-items: center; gap: 26px; text-align: center; }
.preloader__ring { width: clamp(120px, 18vw, 190px); animation: spin 6s linear infinite; filter: drop-shadow(0 0 22px rgba(47, 139, 255, .7)); }
.preloader__num { font: 700 clamp(2.4rem, 6vw, 4.2rem)/1 var(--f-wide); color: #fff; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.preloader__bar { width: min(280px, 60vw); height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; border-radius: 2px; }
.preloader__bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--blue-2); }
.preloader__txt { font: 700 .62rem/1 var(--f-wide); letter-spacing: .42em; color: var(--muted); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cursor ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text !important; }
html.has-cursor iframe { cursor: auto !important; }
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9500; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; box-shadow: 0 0 12px var(--blue-2); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--blue-2); background: rgba(47, 139, 255, .12); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 40px var(--glow); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor__label { font: 700 .6rem/1 var(--f-wide); letter-spacing: .2em; color: #fff; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-down .cursor__ring { transform-origin: center; scale: .85; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 58px; padding: 0 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font: 700 .7rem/1 var(--f-wide); letter-spacing: .2em; text-transform: uppercase; color: #fff;
  transition: box-shadow .4s, background .4s, color .4s, border-color .4s;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); box-shadow: 0 10px 40px -10px var(--glow), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 14px 60px -8px rgba(47, 139, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: #fff; color: #05060c; border-color: #fff; }
.btn--wa { background: #1fbf5b; box-shadow: 0 10px 40px -12px rgba(31, 191, 91, .8); }
.btn--wa:hover { background: #25d366; }
.btn--block { width: 100%; padding-inline: 20px; letter-spacing: .14em; white-space: normal; text-align: center; line-height: 1.3; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Láseres ---------- */
.lasers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; mix-blend-mode: screen; }
.lasers i {
  position: absolute; bottom: -12%; width: 2px; height: 150vh;
  transform-origin: 50% 100%; border-radius: 2px;
  background: linear-gradient(to top, rgba(47, 139, 255, 0) 0%, rgba(47, 139, 255, .95) 35%, rgba(25, 227, 255, .5) 65%, rgba(25, 227, 255, 0) 100%);
  box-shadow: 0 0 14px 2px rgba(47, 139, 255, .55);
  opacity: calc(.12 + var(--beat) * .9);
  animation: sweep var(--d, 8s) ease-in-out infinite alternate;
  animation-delay: var(--dl, 0s);
}
.lasers i:nth-child(1) { left: 6%; rotate: 30deg; --d: 7s; }
.lasers i:nth-child(2) { left: 18%; rotate: 10deg; --d: 9s; --dl: -2s; }
.lasers i:nth-child(3) { left: 32%; rotate: -6deg; --d: 6.5s; --dl: -4s; }
.lasers i:nth-child(4) { left: 50%; rotate: 0deg; --d: 10s; --dl: -1s; }
.lasers i:nth-child(5) { left: 68%; rotate: 6deg; --d: 7.5s; --dl: -3s; }
.lasers i:nth-child(6) { left: 82%; rotate: -12deg; --d: 8.5s; --dl: -5s; }
.lasers i:nth-child(7) { left: 94%; rotate: -30deg; --d: 6.8s; --dl: -2.5s; }
.lasers i:nth-child(8) { left: 40%; rotate: 0deg; --d: 12s; --dl: -6s; width: 1px; }
.lasers i:nth-child(even) { animation-direction: alternate-reverse; }
@keyframes sweep { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }

/* ---------- Hero video base ---------- */
.vbg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: #000; }
.vbg video { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.vshade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(3, 4, 10, .05) 0%, rgba(3, 4, 10, .55) 70%, rgba(3, 4, 10, .9) 100%),
    linear-gradient(180deg, rgba(3, 4, 10, .5) 0%, rgba(3, 4, 10, 0) 28%, rgba(3, 4, 10, .25) 70%, var(--bg) 100%);
}
.vshade::after { /* destello con el beat */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(29, 91, 255, .5), transparent 70%);
  opacity: calc(var(--beat) * .55); mix-blend-mode: screen;
}

/* ---------- Botón de sonido flotante ---------- */
.sound-fab {
  position: fixed; right: clamp(16px, 2.4vw, 34px); bottom: clamp(16px, 2.4vw, 34px); z-index: 120;
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(5, 8, 20, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(47, 139, 255, .35);
  box-shadow: 0 0 calc(20px + var(--beat) * 50px) rgba(47, 139, 255, calc(.25 + var(--beat) * .5));
}
.sound-fab__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.sound-fab__text text { font: 700 7.6px var(--f-wide); fill: #fff; letter-spacing: .1em; }
.sound-fab__text .t-on { display: none; fill: var(--cyan); }
.sound-on .sound-fab__text .t-on { display: inline; }
.sound-on .sound-fab__text .t-off { display: none; }
.sound-fab::before { /* anillo pulso */
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--blue-2);
  animation: ping 2.4s var(--ease) infinite;
}
.sound-on .sound-fab::before { animation: none; opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
.sound-fab__hint {
  position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: #05060c;
  font: 700 .62rem/1 var(--f-wide); letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateX(10px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none;
}
.sound-fab__hint::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.sound-fab.show-hint .sound-fab__hint { opacity: 1; transform: none; }
.sound-on .sound-fab__hint { opacity: 0 !important; }

/* barras ecualizador */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq i { width: 3px; height: 100%; background: #fff; border-radius: 2px; transform-origin: bottom; transform: scaleY(.2); box-shadow: 0 0 8px var(--blue-2); }
.sound-on .eq i { background: var(--cyan); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas con brillo que sigue al ratón ---------- */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 139, 255, .9), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .06) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -2; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 139, 255, .12), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.glow:hover::after { opacity: 1; }

/* ---------- Tarjetas de vídeo ---------- */
.vcard {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #000;
  aspect-ratio: 9 / 16; transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.vcard--wide { aspect-ratio: 16 / 9; }
.vcard video, .vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.vcard:hover video, .vcard:hover img { transform: scale(1.06); }
.vcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 4, 10, 0) 45%, rgba(3, 4, 10, .92) 100%);
}
.vcard__info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: grid; gap: 6px; }
.vcard__tag { font: 700 .6rem/1 var(--f-wide); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); }
.vcard__info h3 { font: 400 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; color: #fff; }
.vcard__dur { position: absolute; right: 0; bottom: 4px; font: 700 .62rem/1 var(--f-wide); letter-spacing: .14em; color: var(--ink-2); }
.vcard__play {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, transform .5s var(--ease);
}
.vcard__play::before { content: ""; margin-left: 4px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vcard:hover .vcard__play { background: var(--blue); transform: scale(1.12); }
.vcard__live {
  position: absolute; top: 22px; left: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font: 700 .58rem/1 var(--f-wide); letter-spacing: .24em; color: #fff; text-transform: uppercase;
}
.vcard__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff2d55; box-shadow: 0 0 10px #ff2d55; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9600; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .45s, visibility 0s .45s; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .45s; }
.lightbox__bg { position: absolute; inset: 0; background: rgba(2, 3, 8, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lightbox__stage { position: relative; z-index: 1; display: grid; place-items: center; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__stage { transform: none; }
.lightbox__stage video, .lightbox__stage img { max-width: min(92vw, 1500px); max-height: 84vh; border-radius: 16px; box-shadow: 0 40px 120px -20px rgba(29, 91, 255, .45); background: #000; }
.lightbox__stage video.is-vertical { height: 84vh; width: auto; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 3vh; z-index: 1; text-align: center; font: 700 .66rem/1 var(--f-wide); letter-spacing: .3em; color: var(--ink-2); text-transform: uppercase; }
.lightbox__btn {
  position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: #fff; font-size: 1.1rem; transition: background .3s;
}
.lightbox__btn:hover { background: var(--blue); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev, .lightbox__next { top: 50%; translate: 0 -50%; display: none; }
.lightbox__prev { left: 22px; } .lightbox__next { right: 22px; }
.lightbox.has-nav .lightbox__prev, .lightbox.has-nav .lightbox__next { display: grid; }

/* ---------- Formularios ---------- */
.form { grid-template-columns: minmax(0, 1fr); border-radius: 26px; padding: clamp(24px, 3vw, 40px); background: linear-gradient(180deg, rgba(14, 20, 42, .82), rgba(6, 9, 20, .88)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: grid; gap: 18px; position: relative; }
.form__title { font: 400 clamp(1.7rem, 2.4vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; color: #fff; }
.form__sub { font-size: .95rem; color: var(--ink-2); margin-top: -8px; }
.form__label, .field > span { display: block; font: 700 .6rem/1 var(--f-wide); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.form__2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field input, .field textarea, .field select {
  width: 100%; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04); color: #fff; font: 500 1rem var(--f-body); outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s; color-scheme: dark;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 139, 255, .18); background: rgba(47, 139, 255, .06); }
.field input::placeholder, .field textarea::placeholder { color: #59627d; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font: 600 .9rem/1 var(--f-body); color: var(--ink-2); transition: all .3s var(--ease);
}
.chips button:hover { border-color: var(--blue-2); color: #fff; }
.chips button.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 24px -6px var(--glow); }
.form__note { font-size: .8rem; color: var(--muted); text-align: center; }
.form__ok {
  display: none; padding: 14px 18px; border-radius: 14px; background: rgba(31, 191, 91, .12); border: 1px solid rgba(31, 191, 91, .4);
  color: #8ff0b3; font-weight: 600; text-align: center;
}
.form.is-sent .form__ok { display: block; }

/* ---------- Iconos sociales ---------- */
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Reveal fallback (sin JS se ve todo) ---------- */
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }

@media (max-width: 700px) {
  .form__2 { grid-template-columns: minmax(0, 1fr); }
  .sound-fab { width: 84px; height: 84px; }
  .sound-fab__text text { font-size: 9px; }
  .btn { height: 54px; padding: 0 24px; font-size: .64rem; }
}
@media (max-width: 420px) {
  .btn { padding: 0 16px; gap: 8px; letter-spacing: .14em; }
}
