/* ==========================================================================
   TIJUANIA+ · Landing de lanzamiento
   Arquetipo: Mouse-Reactive Gradient (oscuro, tipografía grande, un acento)
   ========================================================================== */

/* Degular (fuente de marca): al recibir los .woff2, descomentar y colocar en assets/fonts/
@font-face { font-family: "Degular"; src: url("assets/fonts/Degular-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Degular"; src: url("assets/fonts/Degular-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Degular"; src: url("assets/fonts/Degular-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
*/

:root {
  /* Marca */
  --blue: #4530d0;
  --violet: #8b2cd0;
  --lilac: #d566f0;
  --purple: #5a1bb0;
  --deep: #2a0d50;
  --brand: #b662f5; /* lila del logotipo (iA) */

  /* Superficies y texto */
  --bg: #0b0515;
  --bg-2: #10081f;
  --bg-3: #180b30;
  --card: rgba(255, 255, 255, 0.045);
  --ink: #f6f0ff;
  --ink-2: rgba(246, 240, 255, 0.76);
  --ink-3: rgba(246, 240, 255, 0.56);
  --line: rgba(246, 240, 255, 0.14);
  --line-2: rgba(246, 240, 255, 0.24);

  --grad: linear-gradient(95deg, #b662f5 0%, #d566f0 55%, #8f7bff 100%);

  --font: "Degular", "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --nav-h: 72px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lilac); color: #1c0a3a; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--lilac); color: #1c0a3a; font-weight: 700;
  padding: 0.7rem 1rem; border-radius: 10px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografía ---------- */
.display {
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 22ch;
}
.section__head .display { max-width: 26ch; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.lede + .body, .body + .body, .lede + .lede { margin-top: 1.1rem; }
.minor { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 1.1rem; }
.minor--soft { color: var(--brand); margin: 1.6rem 0 0.7rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; }
.kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1.3rem;
}
.fineprint { font-size: 0.86rem; color: var(--ink-3); line-height: 1.5; max-width: 60ch; }
.badge {
  font-size: 0.7rem; letter-spacing: 0.12em; padding: 0.25rem 0.65rem; border-radius: 99px;
  border: 1px solid var(--line-2); color: var(--ink);
}

.section .display + .lede, .section .display + .body { margin-top: 1.4rem; }
.section__head { margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.section__head .lede { margin-top: 1.4rem; }

/* ---------- Botones ---------- */
.btn {
  --h: 3.2rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: var(--h); padding: 0 1.6rem;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-align: center; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 99px; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  position: relative;
}
.btn--sm { --h: 2.6rem; padding: 0 1.25rem; font-size: 0.95rem; }
.btn--lg { --h: 3.6rem; padding: 0 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary {
  color: #1c0a3a;
  background: linear-gradient(100deg, #b662f5, #d566f0 60%, #e39bff);
  box-shadow: 0 10px 30px -10px rgba(213, 102, 240, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary .i { transition: transform 0.3s var(--ease); }
.btn--ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(213, 102, 240, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  .btn--primary:hover .i { transform: translateX(4px); }
  .btn--ghost:hover { border-color: var(--lilac); background: rgba(213, 102, 240, 0.12); transform: translateY(-2px); }
}
.btn:active { transform: translateY(0) scale(0.98); }

/* Enlaces con subrayado animado */
.nav__links a:not(.btn), .footer__nav a, .check a, .stat__ref {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
@media (hover: hover) {
  .nav__links a:not(.btn):hover, .footer__nav a:hover, .check a:hover { background-size: 100% 1.5px; }
}

/* ---------- Logo (dos tonos con la misma imagen) ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__mark { position: relative; display: block; height: 34px; aspect-ratio: 2339 / 907; }
.logo__mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* "TIJUAN" en blanco; "iA" + marco + estrella conservan sus colores */
.logo__w { filter: brightness(0) invert(1); clip-path: inset(0 33.5% 0 0); }
.logo__c { clip-path: inset(0 0 0 66.5%); }
.logo--foot { height: 42px; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.is-solid {
  background: rgba(11, 5, 21, 0.92);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-solid { background: rgba(11, 5, 21, 0.68); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
}
.nav__inner {
  height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.75rem); }
.nav__links a:not(.btn) { font-size: 0.93rem; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 0.3rem 0; white-space: nowrap; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="true"]:not(.btn) { background-size: 100% 1.5px; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3rem)) 0 clamp(2.5rem, 6vh, 4rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 46vmax at var(--mx, 62%) var(--my, 32%), rgba(139, 44, 208, 0.6), transparent 62%),
    radial-gradient(circle 40vmax at calc(var(--mx, 62%) + 16%) calc(var(--my, 32%) - 10%), rgba(69, 48, 208, 0.5), transparent 62%),
    radial-gradient(circle 28vmax at calc(100% - var(--mx, 62%)) calc(100% - var(--my, 32%)), rgba(213, 102, 240, 0.28), transparent 68%),
    linear-gradient(180deg, #14082a 0%, var(--bg) 78%);
}
.hero__waves {
  position: absolute; inset: auto -8% -6% -8%; height: 78%;
  background: url("assets/waves.svg") center bottom / cover no-repeat;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  will-change: transform;
}
.hero__waves--low { height: 100%; opacity: 0.5; }
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(213, 102, 240, 0.55) 1px, transparent 1.5px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(ellipse 45% 55% at 96% 92%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 45% 55% at 96% 92%, #000, transparent 70%);
  opacity: 0.55;
}
.hero__grain {
  position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; }
.hero__pre {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.95rem; font-weight: 500; color: var(--ink-2); max-width: 58ch; line-height: 1.4;
}
.spark {
  width: 1.1rem; height: 1.1rem; flex: none; background: var(--lilac);
  -webkit-mask: url("assets/img/icono.png") center / contain no-repeat;
  mask: url("assets/img/icono.png") center / contain no-repeat;
}
.hero__title {
  margin-top: clamp(0.8rem, 2vh, 1.4rem);
  font-size: clamp(3.1rem, 13.6vw, 12.4rem);
  font-weight: 900; line-height: 0.92; letter-spacing: -0.045em;
  white-space: nowrap;
}
.hero__ia { color: var(--brand); }
.hero__plus {
  color: var(--lilac); margin-left: 0.02em; font-weight: 800;
  display: inline-block; transform: translateY(-0.05em) scale(0.86); transform-origin: 30% 60%;
}
.hero__sub {
  margin-top: clamp(0.6rem, 1.6vh, 1.1rem);
  font-size: clamp(1.05rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  max-width: 34ch; text-wrap: balance;
}
.hero__grid {
  margin-top: clamp(1.6rem, 4.5vh, 3rem);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: end;
}
.hero__lead { font-size: clamp(1.5rem, 2.9vw, 2.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.hero__lead em { font-style: normal; color: var(--lilac); }
.hero__text { margin-top: 0.9rem; color: var(--ink-2); max-width: 56ch; }
.hero__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__micro { margin-top: 0.9rem; font-size: 0.86rem; color: var(--ink-3); }

/* Ficha del evento */
.ticket {
  position: relative; padding: 1.5rem; border-radius: var(--radius);
  background: rgba(20, 8, 42, 0.86);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
@supports (backdrop-filter: blur(14px)) {
  .ticket { background: rgba(20, 8, 42, 0.55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
}
.ticket::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(213, 102, 240, 0.7), transparent 40%, transparent 60%, rgba(69, 48, 208, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ticket__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.ticket__list { display: grid; gap: 0.95rem; }
.ticket__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ticket__list .i { margin-top: 0.15rem; color: var(--lilac); width: 1.4rem; height: 1.4rem; }
.ticket__list strong { display: block; font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.ticket__list small { display: block; color: var(--ink-3); font-size: 0.86rem; margin-top: 0.1rem; }
.ticket__list--plain { margin-top: 2rem; }
.ticket__list--plain strong { font-size: 1.1rem; }

.countdown { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.countdown__label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.6rem; font-weight: 600; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.countdown__grid div { text-align: center; padding: 0.55rem 0.2rem; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.countdown__grid b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__grid span { display: block; margin-top: 0.3rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.countdown.is-over { display: none; }

/* Entrada del hero (CSS puro: nunca deja contenido oculto) */
.rise { animation: rise 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg-2)); }
.section--tint::before, .section--tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
}
.section--tint::before { top: 0; }
.section--tint::after { bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* Franja de impacto */
.band {
  position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #12082a 100%);
  border-top: 1px solid var(--line);
}
.band__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.band__head .display { max-width: 18ch; }
.stats { display: grid; grid-template-columns: 0.8fr 1fr 0.9fr 1.4fr 1.25fr; border-top: 1px solid var(--line-2); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.7rem; padding: 1.6rem 1.2rem 0.5rem 0; }
.stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.stat dt { font-size: 0.92rem; color: var(--ink-2); line-height: 1.35; }
.stat dd { font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat__n { font-size: clamp(2.4rem, 3.9vw, 3.4rem); font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat__plus { font-size: clamp(2.4rem, 3.9vw, 3.4rem); color: var(--lilac); }
.stat__u { font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--ink); }
.stat__t { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.05; display: block; }
.stat__t i { font-style: normal; color: var(--lilac); }
.stat__ref { color: var(--lilac); text-decoration: none; margin-left: 0.15em; font-weight: 800; }
.band .fineprint { margin-top: 1.4rem; }

/* Datos clave */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line-2); }
.facts dt { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 0.25rem; }
.facts dd { font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.facts--compact { grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.4rem; padding-top: 1.2rem; text-align: left; }
.facts + .fineprint { margin-top: 1.4rem; }

/* Lista numerada en filas */
.rows { border-top: 1px solid var(--line-2); }
.rows li {
  display: grid; grid-template-columns: 3rem 1fr; gap: 0.5rem; align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.06rem; font-weight: 500; line-height: 1.4;
  transition: padding 0.3s var(--ease), color 0.3s;
}
.rows__n { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; color: var(--brand); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .rows li:hover { padding-left: 0.6rem; } }

/* Bloque CTA */
.cta-block {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: 28px;
  background: linear-gradient(120deg, rgba(90, 27, 176, 0.5), rgba(69, 48, 208, 0.28) 60%, rgba(213, 102, 240, 0.16));
  border: 1px solid var(--line-2);
}
.cta-block__text { font-size: clamp(1.4rem, 2.8vw, 2.3rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.cta-block__text em { font-style: normal; color: var(--lilac); }
.cta-block__action { display: grid; gap: 0.9rem; justify-items: start; }

/* Agenda */
.badge { vertical-align: middle; }
.agenda { border-top: 1px solid var(--line-2); }
.agenda__item {
  display: grid; grid-template-columns: minmax(9.5rem, 15rem) minmax(0, 1fr); gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.agenda__time { font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 800; letter-spacing: -0.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
.agenda__body h3 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.agenda__body p { margin-top: 0.5rem; color: var(--ink-2); max-width: 62ch; }
.agenda__foot { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
@media (hover: hover) { .agenda__item:hover { background: linear-gradient(90deg, rgba(213, 102, 240, 0.08), transparent 70%); } }

/* Qué es */
.what { overflow: clip; }
.what__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.what__art { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.what__frame, .what__star {
  position: absolute; inset: 0;
  -webkit-mask: url("assets/img/simbolo.png") center / contain no-repeat;
  mask: url("assets/img/simbolo.png") center / contain no-repeat;
}
.what__frame { background: linear-gradient(140deg, #4530d0, #8b2cd0 45%, #d566f0); }
.what__star { background: transparent; }
.what__art::after {
  content: ""; position: absolute; inset: 12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 102, 240, 0.45), transparent 65%); filter: blur(30px);
}
.what__art { animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }

/* Cita destacada */
.quote { margin-top: 2.4rem; padding: 1.6rem 1.6rem 1.6rem 1.8rem; border-left: 3px solid var(--lilac); background: linear-gradient(90deg, rgba(213, 102, 240, 0.12), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.quote em { font-style: normal; color: var(--lilac); }

/* Listas con destello */
.checks li, .chips li { position: relative; }
.checks li { padding: 0.95rem 0 0.95rem 2.1rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.checks { border-top: 1px solid var(--line-2); }
.checks li::before, .benefit li::before {
  content: ""; position: absolute; left: 0; top: 1.2rem; width: 1rem; height: 1rem;
  background: var(--lilac);
  -webkit-mask: url("assets/img/icono.png") center / contain no-repeat;
  mask: url("assets/img/icono.png") center / contain no-repeat;
}

/* Habilidades */
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 5vw, 5rem); border-top: 1px solid var(--line-2); }
.skills li {
  display: grid; grid-template-columns: 3rem 1fr; gap: 0.4rem; align-items: baseline;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.1rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em;
}
.skills span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--brand); }
@media (min-width: 761px) { .skills li:nth-child(2) { border-top: 0; } }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.benefit {
  position: relative; padding: clamp(1.4rem, 2.4vw, 2.1rem); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.benefit__tag { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; padding-bottom: 1.1rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--line-2); }
.benefit li { position: relative; padding: 0.7rem 0 0.7rem 1.9rem; color: var(--ink-2); line-height: 1.45; }
.benefit li::before { top: 0.95rem; width: 0.85rem; height: 0.85rem; }
@media (hover: hover) { .benefit:hover { transform: translateY(-6px); border-color: rgba(213, 102, 240, 0.6); background: rgba(213, 102, 240, 0.07); } }

/* Fases */
.phases { position: relative; display: grid; gap: 0; }
.phase {
  display: grid; grid-template-columns: clamp(4.5rem, 10vw, 8rem) minmax(0, 1fr); gap: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line-2);
}
.phase:last-child { border-bottom: 1px solid var(--line-2); }
.phase__n { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--brand); transition: color 0.4s; }
.phase h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.phase p { margin-top: 0.7rem; color: var(--ink-2); max-width: 64ch; }
.phase .phase__note { padding: 0.9rem 1.1rem; margin-top: 1rem; border-radius: 14px; background: rgba(69, 48, 208, 0.22); border: 1px solid rgba(139, 44, 208, 0.45); font-size: 0.95rem; }
@media (hover: hover) { .phase:hover .phase__n { color: var(--brand); } }

/* Impacto */
.equation { margin-bottom: clamp(2.2rem, 4vw, 3.5rem); padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(90, 27, 176, 0.4), rgba(69, 48, 208, 0.18)); }
.equation__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(0.6rem, 2vw, 1.6rem); text-align: center; }
.equation__row > div { display: grid; gap: 0.35rem; min-width: 6rem; }
.equation__row b { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.equation__row span { font-size: 0.85rem; color: var(--ink-2); }
.equation__row i { font-style: normal; font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--lilac); font-weight: 300; }
.equation__res b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.equation .fineprint { margin: 1.6rem auto 0; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chips li { padding: 0.7rem 1.1rem; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); font-weight: 500; font-size: 0.98rem; line-height: 1.3; transition: border-color 0.3s, background 0.3s; }
@media (hover: hover) { .chips li:hover { border-color: var(--lilac); background: rgba(213, 102, 240, 0.12); } }

/* ---------- Registro ---------- */
.register { isolation: isolate; overflow: clip; padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.register__bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); overflow: hidden; }
.register__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.register__intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.pills { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pills li { padding: 0.45rem 0.95rem; border-radius: 99px; font-size: 0.85rem; font-weight: 600; background: rgba(213, 102, 240, 0.14); border: 1px solid rgba(213, 102, 240, 0.4); }

.register__card {
  position: relative; padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: 28px;
  background: rgba(20, 8, 42, 0.92); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
@supports (backdrop-filter: blur(14px)) {
  .register__card { background: rgba(20, 8, 42, 0.68); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
}
.form__title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em; }
.form__hint { color: var(--ink-3); font-size: 0.88rem; margin: 0.3rem 0 1.5rem; }
.field { margin-bottom: 1.05rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label, .field legend { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.field label span[aria-hidden], .field legend span[aria-hidden], .form__hint span[aria-hidden] { color: var(--lilac); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select {
  width: 100%; min-height: 3.1rem; padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.06); color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: 12px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-size: 1rem;
}
.field input::placeholder { color: var(--ink-3); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d566f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.2rem;
}
.field select:invalid { color: var(--ink-3); }
.field select option { color: #1c0a3a; background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--lilac); background: rgba(213, 102, 240, 0.1); box-shadow: 0 0 0 4px rgba(213, 102, 240, 0.2); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff8fa3; }
.field__err { min-height: 0; font-size: 0.84rem; color: #ffb3c1; margin-top: 0.35rem; }
.field__err:empty { display: none; }
.field--group { border: 0; padding: 0; margin: 0 0 1.05rem; }
.field--group legend { padding: 0; }
.choices { display: grid; gap: 0.5rem; }
.choice, .check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; }
.choice { padding: 0.8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-weight: 500; transition: border-color 0.2s, background 0.2s; margin-bottom: 0 !important; }
.choice input, .check input { appearance: none; -webkit-appearance: none; flex: none; width: 1.3rem; height: 1.3rem; margin: 0.1rem 0 0; border: 1.8px solid var(--ink-3); background: transparent; display: grid; place-content: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.choice input { border-radius: 50%; }
.check input { border-radius: 6px; }
.choice input::after { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #1c0a3a; transform: scale(0); transition: transform 0.2s var(--ease); }
.check input::after { content: ""; width: 0.7rem; height: 0.4rem; border: solid #1c0a3a; border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg) scale(0); margin-top: -0.1rem; transition: transform 0.2s var(--ease); }
.choice input:checked, .check input:checked { background: var(--lilac); border-color: var(--lilac); }
.choice input:checked::after { transform: scale(1); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.choice:has(input:checked) { border-color: var(--lilac); background: rgba(213, 102, 240, 0.14); }
.choice:has(input:focus-visible), .check:has(input:focus-visible) { outline: 2px solid var(--lilac); outline-offset: 3px; }
.check { font-size: 0.92rem; color: var(--ink-2); line-height: 1.45; }
.check a { color: var(--ink); font-weight: 600; text-decoration: none; background-size: 100% 1.5px; }
.field--check { margin-bottom: 0.7rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form .btn--block { margin-top: 1.1rem; }
.btn__spin { display: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2.5px solid rgba(28, 10, 58, 0.3); border-top-color: #1c0a3a; animation: spin 0.7s linear infinite; }
.form.is-sending .btn__spin { display: inline-block; }
.form.is-sending .btn--primary { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: 12px; background: rgba(255, 143, 163, 0.14); border: 1px solid rgba(255, 143, 163, 0.5); color: #ffd0d8; font-size: 0.92rem; }
.form__trust { display: flex; gap: 0.6rem; margin-top: 1.1rem; font-size: 0.82rem; line-height: 1.5; color: var(--ink-3); }
.form__trust .i { margin-top: 0.15rem; color: var(--brand); }

/* Confirmación */
.done { text-align: center; padding: 0.5rem 0; }
.done:focus { outline: none; }
.done__check { width: 5rem; height: 5rem; margin-inline: auto; fill: rgba(213, 102, 240, 0.14); stroke: var(--lilac); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__check circle { stroke-dasharray: 190; stroke-dashoffset: 190; }
.done__check path { fill: none; stroke-dasharray: 60; stroke-dashoffset: 60; }
.done.is-in .done__check circle { animation: draw 0.8s 0.05s var(--ease) forwards; }
.done.is-in .done__check path { animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { margin-top: 1.2rem; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.025em; }
.done__text { margin-top: 0.5rem; color: var(--ink-2); }
.done .facts { padding: 1.2rem 1.3rem; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.done__mail { margin-top: 1.1rem; color: var(--ink-2); font-size: 0.95rem; }
.done__actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.done__toast { margin-top: 1rem; font-size: 0.9rem; color: var(--brand); font-weight: 600; }
.menu { position: relative; }
.menu__list { position: absolute; z-index: 5; left: 0; top: calc(100% + 0.5rem); min-width: 100%; padding: 0.4rem; border-radius: 14px; background: #1a0d33; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7); text-align: left; }
.menu__list a, .menu__list button { display: block; width: 100%; padding: 0.7rem 0.9rem; border: 0; border-radius: 10px; background: none; text-align: left; text-decoration: none; cursor: pointer; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.menu__list a:hover, .menu__list button:hover { background: rgba(213, 102, 240, 0.16); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq__grid .body { margin-top: 1.4rem; }
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background:
    linear-gradient(var(--lilac), var(--lilac)) center / 0.85rem 2px no-repeat,
    linear-gradient(var(--lilac), var(--lilac)) center / 2px 0.85rem no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); border-color: var(--lilac); background-color: rgba(213, 102, 240, 0.14); }
.faq__item[open] summary { color: var(--lilac); }
.faq__a { padding: 0 3.7rem 1.5rem 0; color: var(--ink-2); max-width: 62ch; animation: fadeDown 0.4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .faq__item summary:hover { color: var(--lilac); } }

/* ---------- Cierre ---------- */
.closing { position: relative; isolation: isolate; overflow: clip; padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem); text-align: center; }
.closing__inner { position: relative; }
.closing__title {
  font-size: clamp(2.6rem, 8.6vw, 8rem); font-weight: 900; line-height: 0.98; letter-spacing: -0.045em;
  max-width: 14ch; margin-inline: auto; text-wrap: balance;
}
.closing__title .w { display: inline-block; padding: 0 0.06em; border-radius: 0.12em; transition: background 0.2s, color 0.2s; }
.closing__title .w--accent { color: var(--lilac); }
@media (hover: hover) {
  .closing__title .w:hover { background: var(--ink); color: var(--bg); }
}
.closing__text { margin: 2rem auto 0; max-width: 60ch; color: var(--ink-2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); text-wrap: pretty; }
.closing__brand { margin: 2.4rem auto 2rem; }
.closing__name { font-size: 1.3rem; font-weight: 900; letter-spacing: 0.08em; }
.closing__tag { color: var(--ink-3); font-size: 0.95rem; margin-top: 0.2rem; }
.closing__when { margin-top: 1.6rem; color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { background: #070310; border-top: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.footer__brand p { margin-top: 1.1rem; color: var(--ink-3); max-width: 32ch; font-size: 0.95rem; }
.footer__nav { display: grid; gap: 0.6rem; align-content: start; }
.footer__nav a { width: fit-content; text-decoration: none; color: var(--ink-2); font-size: 0.95rem; }
.footer__nav a:hover { color: var(--ink); }
.footer__base { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; color: var(--ink-3); font-size: 0.85rem; }

/* ---------- Barra fija móvil ---------- */
.cta-bar { display: none; }
.dialog { max-width: min(92vw, 26rem); padding: 1.8rem; border-radius: 22px; border: 1px solid var(--line-2); background: #150a2b; color: var(--ink); }
.dialog::backdrop { background: rgba(5, 2, 12, 0.72); }
.dialog h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.dialog p { margin: 0.7rem 0 1.4rem; color: var(--ink-2); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa: split-text nunca debe dejar el padre oculto */

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a:not(.btn) { font-size: 0.86rem; }
  .nav__links { gap: 1rem; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 1rem; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav.is-solid, .nav.is-open { background: rgba(11, 5, 21, 0.96); }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; padding: 0;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem; background: rgba(11, 5, 21, 0.98); border-bottom: 1px solid var(--line-2);
    max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 1rem 0; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line); background: none; }
  .nav__cta { margin-top: 1rem; --h: 3.2rem; }

  .hero { align-items: flex-start; }
  .hero__title { font-size: 17.5vw; }
  .ticket { order: -1; }
  .hero__grid, .band__head, .split, .what__grid, .register__grid, .faq__grid, .cta-block { grid-template-columns: minmax(0, 1fr); }
  .register__intro, .faq__grid > div:first-child { position: static; }
  .what__art { max-width: 260px; order: -1; justify-self: start; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .display, .section__head .display { max-width: none; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 5.2rem; }
  .agenda__item { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; padding: 1.2rem 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1rem; }
  .stat:nth-child(5) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .phase { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; }
  .faq__a { padding-right: 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .cta-block__action .btn, .agenda__foot .btn { width: 100%; }
  .center .btn { width: 100%; }

  .cta-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(11, 5, 21, 0.96); border-top: 1px solid var(--line-2);
    transition: transform 0.35s var(--ease);
  }
  @supports (backdrop-filter: blur(14px)) { .cta-bar { background: rgba(11, 5, 21, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); } }
  .cta-bar.is-hidden { transform: translateY(110%); }
  .cta-bar__info { display: grid; line-height: 1.25; }
  .cta-bar__info b { font-size: 0.98rem; font-weight: 800; }
  .cta-bar__info span { font-size: 0.8rem; color: var(--ink-3); }
  .cta-bar .btn { --h: 3rem; padding: 0 1.6rem; }
  .done__actions .btn, .done__actions .menu { width: 100%; }
  .menu__list { min-width: 100%; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 18vw; }
  .ticket { padding: 1.2rem; }
  .countdown { margin-top: 1rem; padding-top: 0.9rem; }
  .countdown__grid b { font-size: 1.35rem; }
  .facts { grid-template-columns: 1fr; }
}

/* Solo lo verdaderamente intrusivo se apaga con "reducir movimiento" */
@media (prefers-reduced-motion: reduce) {
  .what__art { animation: none; }
  .hero__waves { transform: none; }
}
