/* ==========================================================================
   MegaEventos.co — Portada (vitrina)
   Usa los tokens de app.css, así que funciona en versión oscura y clara.
   ========================================================================== */

/* ---------- Encabezado fijo y translúcido sobre el carrusel ---------- */
.is-home { --header-h: 80px; }
.is-home .site-header { position: fixed; left: 0; right: 0; top: 0; background: rgba(var(--scrim), .5); border-bottom-color: transparent; transition: background .3s ease, border-color .3s ease; }
.is-home .site-header.is-scrolled, .is-home .site-header.is-open { background: var(--header-bg); border-bottom-color: var(--line); }
@media (min-width: 1201px) {
  .is-home .header-search { display: none; }
  .is-home .site-header.is-past .header-search { display: flex; animation: nxfade .3s ease both; }
}
@media (min-width: 1201px) and (max-width: 1499px) { .is-home .site-header.is-past .btn-create { display: none; } }
@media (max-width: 1599px) { .is-home .site-header .country-pill { display: none; } }
@keyframes nxfade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Avisos como toast flotante */
.is-home .flashes {
  position: fixed; z-index: 70; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); margin: 0; padding: 0; transition: opacity .4s ease, transform .4s ease;
}
.is-home .flashes.is-hiding { opacity: 0; transform: translate(-50%, -12px); pointer-events: none; }
.is-home .flash { box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); cursor: pointer; background-color: var(--surface-2); }

/* ==========================================================================
   1. Carrusel de destacados
   ========================================================================== */
.nx-hero { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.nx-slides { position: absolute; inset: 0; z-index: -1; }
.nx-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.nx-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.08); transition: transform 9s ease-out; }
.nx-slide.is-active { opacity: 1; }
.nx-slide.is-active img { transform: scale(1); }
.nx-slide--art {
  background:
    radial-gradient(circle at 72% 28%, rgba(183, 109, 255, .55), transparent 52%),
    radial-gradient(circle at 88% 78%, rgba(202, 129, 0, .35), transparent 45%),
    radial-gradient(circle at 30% 90%, rgba(96, 1, 209, .45), transparent 50%),
    var(--bg);
}
.nx-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--scrim), .97) 0%, rgba(var(--scrim), .8) 38%, rgba(var(--scrim), .28) 72%, rgba(var(--scrim), .08) 100%),
    linear-gradient(0deg, rgb(var(--scrim)) 0%, rgba(var(--scrim), 0) 42%),
    linear-gradient(180deg, rgba(var(--scrim), .75) 0%, rgba(var(--scrim), 0) 26%);
}
.nx-orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(120px); opacity: .3; pointer-events: none; }
.nx-orb--a { background: #b76dff; top: -180px; right: 6%; }
.nx-orb--b { background: #ca8100; bottom: -120px; left: -200px; opacity: .2; }
[data-theme="light"] .nx-orb { opacity: .18; }

.nx-hero-inner {
  position: relative; min-height: 92vh; min-height: 92svh;
  padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.nx-stack { display: grid; }
.nx-content {
  grid-area: 1 / 1; max-width: 880px; align-self: end;
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.nx-content.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.nx-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.nx-title {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.028em; margin: 0 0 22px; color: var(--text); text-wrap: balance;
}
.nx-desc { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--text-2); max-width: 40em; margin: 0 0 30px; }
.nx-by { display: inline-block; margin-top: 8px; font-size: .86rem; color: var(--muted); }
.nx-by a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 60%, transparent); text-underline-offset: 3px; }
.nx-by a:hover { color: var(--primary); }

.nx-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.nx-capsule {
  display: flex; align-items: center; gap: 20px; padding: 12px 26px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface-2) 66%, transparent); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); min-width: 0;
}
.nx-meta { display: flex; align-items: center; gap: 11px; min-width: 0; }
.nx-meta .ic { width: 22px; height: 22px; }
.nx-meta small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.nx-meta b { display: block; font-size: .92rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; }
.nx-divider { width: 1px; height: 30px; background: var(--line-2); flex: none; }
.nx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-btn:focus-visible, .nx-pill:focus-visible, .nx-round:focus-visible, .nx-fav:focus-visible, .nx-preview:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* Navegación del carrusel */
.nx-carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; }
.nx-counter { display: flex; align-items: center; gap: 14px; }
.nx-num { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.nx-progress { width: 140px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.nx-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #b76dff, #ffb95f); }
.nx-progress span.is-running { animation: nxbar var(--nx-dur, 7s) linear forwards; }
.nx-hero.is-paused .nx-progress span { animation-play-state: paused; }
@keyframes nxbar { from { width: 0; } to { width: 100%; } }
.nx-round {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--surface-2) 60%, transparent); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nx-round:hover { background: #b76dff; border-color: #b76dff; color: #fff; }
.nx-round:first-of-type { margin-left: 8px; }
.nx-previews { display: flex; gap: 10px; }
.nx-preview {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; text-align: left;
  background: color-mix(in srgb, var(--surface-2) 66%, transparent); border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .2s ease, border-color .2s ease; max-width: 280px;
}
.nx-preview:hover { background: var(--surface-3); border-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.nx-preview img, .nx-preview .nx-preview-art { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.nx-preview .nx-preview-art { background: var(--grad); }
.nx-preview small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.nx-preview b { display: block; font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.nx-preview span { min-width: 0; }

/* ==========================================================================
   2. Buscador flotante
   ========================================================================== */
.nx-search-wrap { position: relative; z-index: 5; margin-top: 48px; }
.nx-block[data-block="hero"] + .nx-block[data-block="search"] .nx-search-wrap { margin-top: -46px; }
.nx-search {
  display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr auto; gap: 6px; padding: 8px; border-radius: 32px;
  background: color-mix(in srgb, var(--surface-2) 95%, transparent); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nx-field { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 24px; cursor: text; transition: background .2s ease; min-width: 0; position: relative; }
.nx-field:hover, .nx-field:focus-within { background: var(--surface-3); }
.nx-field .ic { width: 22px; height: 22px; }
.nx-field > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nx-field small { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.nx-field input, .nx-field select {
  width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: none; color: var(--text);
  font: 600 .95rem/1.5 var(--f-body); -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis;
}
.nx-field input { cursor: text; }
.nx-field input::placeholder { color: var(--muted); font-weight: 500; }
.nx-field select option { background: var(--surface-2); color: var(--text); }
.nx-field + .nx-field::before { content: ""; position: absolute; left: -3px; top: 22%; height: 56%; width: 1px; background: var(--line); }
.nx-field:hover::before, .nx-field:focus-within::before, .nx-field:hover + .nx-field::before, .nx-field:focus-within + .nx-field::before { opacity: 0; }
.nx-search-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 30px; border: 0; border-radius: 24px;
  background: var(--grad); color: #fff; font: 700 .95rem/1 var(--f-body); cursor: pointer; white-space: nowrap;
  box-shadow: var(--glow); transition: filter .2s ease;
}
.nx-search-btn:hover { filter: brightness(1.08); }
.nx-search-btn .ic { width: 20px; height: 20px; }

/* ==========================================================================
   3. Colecciones
   ========================================================================== */
.nx-blocks { padding-bottom: 104px; }
.nx-blocks:has(> .nx-block--soft:last-child), .nx-blocks:has(> .nx-block--band:last-child) { padding-bottom: 0; }
.nx-updated { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--text-2); }

/* ==========================================================================
   4. Beneficios + promesa
   ========================================================================== */
.nx-band { position: relative; overflow: hidden; margin-top: 112px; padding: 104px 0; background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nx-band::before { content: ""; position: absolute; width: 640px; height: 640px; top: -320px; right: -160px; border-radius: 50%; background: rgba(96, 1, 209, .3); filter: blur(140px); pointer-events: none; }
[data-theme="light"] .nx-band::before { opacity: .35; }
.nx-band .nx-wrap { position: relative; }
.nx-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nx-benefit { padding: 34px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s ease, transform .3s ease; }
.nx-benefit:hover { transform: translateY(-3px); border-color: var(--line-2); }
.nx-benefit h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 0 0 12px; }
.nx-benefit p { color: var(--text-2); font-size: .95rem; line-height: 1.6; flex: 1; margin: 0 0 22px; }
.nx-icon { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.nx-icon .ic { width: 27px; height: 27px; }
.nx-icon--primary { background: var(--primary-soft); color: var(--primary); }
.nx-icon--tertiary { background: var(--accent-soft); color: var(--accent); }
.nx-icon--secondary { background: var(--primary-soft); color: var(--secondary); }
.nx-foot { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nx-foot .ic { width: 16px; height: 16px; }

.nx-mosaic { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; margin-top: 24px; }
.nx-promise {
  position: relative; overflow: hidden; padding: 48px; border-radius: 32px; color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(255, 185, 95, .28), transparent 40%), linear-gradient(135deg, #6001d1 0%, #3a0a78 45%, #1e1f27 100%);
  border: 1px solid rgba(221, 183, 255, .18);
}
.nx-quote { width: 46px !important; height: 46px !important; color: rgba(255, 255, 255, .3); }
.nx-promise blockquote { margin: 18px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.25; letter-spacing: -.02em; }
.nx-sign { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ffb95f; margin: 0; }
.nx-promise .nx-ctas { margin-top: 32px; }
.nx-promise .nx-btn--solid { background: #ddb7ff; color: #490080; }
.nx-promise .nx-btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.nx-promise .nx-btn--glass .ic { color: #ddb7ff; }
.nx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nx-stats > div { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.nx-stats b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; color: var(--text); }
.nx-stats small { display: block; margin-top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.nx-stats span { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   5. Banda para organizadores
   ========================================================================== */
.nx-org {
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; align-items: center; gap: 36px; padding: 52px; border-radius: 32px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 185, 95, .16), transparent 45%), radial-gradient(circle at 0% 100%, rgba(183, 109, 255, .14), transparent 45%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.nx-org .nx-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.nx-org .nx-ctas { justify-content: flex-end; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nx-search { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 28px; }
  .nx-field--q { grid-column: 1 / -1; }
  .nx-field--q + .nx-field::before { display: none; }
  .nx-search-btn { grid-column: 1 / -1; height: 54px; }
  .nx-previews .nx-preview + .nx-preview { display: none; }
}
@media (max-width: 960px) {
  .nx-benefits { grid-template-columns: 1fr; }
  .nx-benefit { padding: 28px; }
  .nx-mosaic, .nx-org { grid-template-columns: 1fr; }
  .nx-org .nx-ctas { justify-content: flex-start; }
  .nx-capsule { border-radius: 24px; flex-wrap: wrap; row-gap: 12px; }
}
@media (max-width: 760px) {
  .is-home { --header-h: 64px; }
  .nx-hero-inner { min-height: 0; padding-top: calc(var(--header-h) + 44px); padding-bottom: 84px; }
  .nx-scrim { background: linear-gradient(180deg, rgba(var(--scrim), .72) 0%, rgba(var(--scrim), .58) 35%, rgba(var(--scrim), .93) 70%, rgb(var(--scrim)) 100%); }
  .nx-slide img { object-position: 50% 30%; }
  .nx-badges { margin-bottom: 16px; }
  .nx-badge--glass { white-space: normal; }
  .nx-title { font-size: clamp(2.1rem, 9.4vw, 2.7rem); line-height: 1.05; }
  .nx-desc { margin-bottom: 22px; }
  .nx-meta-row { flex-direction: column; align-items: stretch; }
  .nx-capsule { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; }
  .nx-divider { display: none; }
  .nx-meta b { max-width: none; white-space: normal; }
  .nx-ctas .nx-btn { flex: 1; }
  .nx-ctas .nx-btn--glass:has(.nx-hide-sm) { flex: 0 0 54px; padding: 0; }
  .nx-hide-sm { display: none; }
  .nx-carousel-nav { margin-top: 32px; }
  .nx-previews { display: none; }
  .nx-progress { width: 90px; }
  .nx-search-wrap { margin-top: 36px; }
  .nx-search { grid-template-columns: 1fr; padding: 6px; border-radius: 24px; gap: 2px; }
  .nx-field { padding: 10px 14px; border-radius: 18px; }
  .nx-field + .nx-field::before { left: 14px; right: 14px; top: -1px; width: auto; height: 1px; }
  .nx-search-btn { border-radius: 18px; margin-top: 4px; }
  .nx-section { padding-top: 72px; }
  .nx-section--tight { padding-top: 56px; }
  .nx-blocks { padding-bottom: 72px; }
  .nx-block[data-block="hero"] + .nx-block[data-block="search"] .nx-search-wrap { margin-top: -36px; }
  .nx-head { margin-bottom: 22px; }
  .nx-more .nx-btn--lg { height: auto; min-height: 56px; padding: 14px 22px; white-space: normal; text-align: center; line-height: 1.3; }
  .nx-band { margin-top: 80px; padding: 72px 0; }
  .nx-promise { padding: 32px 24px; border-radius: 26px; }
  .nx-stats { gap: 12px; }
  .nx-stats > div { padding: 20px; border-radius: 20px; }
  .nx-org { padding: 32px 22px; border-radius: 26px; gap: 24px; }
  .nx-org .nx-ctas .nx-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-slide, .nx-slide img, .nx-content, .nx-card, .nx-card-media img, .nx-btn, .nx-benefit { transition: none !important; }
  .nx-slide.is-active img { transform: none; }
  .nx-ping::after, .nx-card.is-in { animation: none; }
  .nx-progress { display: none; }
}

/* ==========================================================================
   Cinta de tipos de evento: itálica premium en movimiento (derecha → izquierda)
   ========================================================================== */
.nx-ticker {
  position: relative; overflow: hidden; margin-top: 56px; padding: 26px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 140% at 50% 50%, rgba(202, 129, 0, .14), transparent 70%), radial-gradient(ellipse 40% 120% at 85% 50%, rgba(183, 109, 255, .1), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
[data-theme="light"] .nx-ticker { background: radial-gradient(ellipse 60% 140% at 50% 50%, rgba(202, 129, 0, .1), transparent 70%), radial-gradient(ellipse 40% 120% at 85% 50%, rgba(123, 47, 214, .07), transparent 70%); }
.nx-ticker-track { display: flex; width: max-content; animation: nxticker 60s linear infinite; }
.nx-ticker:hover .nx-ticker-track { animation-play-state: paused; }
.nx-ticker-list { display: flex; align-items: center; flex: none; margin: 0; padding: 0; list-style: none; }
.nx-ticker-list li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--f-logo); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.1; letter-spacing: -.01em; color: var(--text-2); font-variation-settings: "opsz" 144;
}
.nx-ticker-list li::after {
  content: ""; flex: none; width: 10px; height: 10px; margin: 0 clamp(26px, 3.4vw, 48px);
  background: var(--accent); opacity: .85;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.nx-ticker-list li.is-accent { font-weight: 400; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.nx-ticker-list li.is-accent::after { -webkit-text-fill-color: initial; }
.nx-ticker-list li.is-soft { color: var(--muted); }
@keyframes nxticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .nx-ticker { margin-top: 40px; padding: 18px 0; }
  .nx-ticker-track { animation-duration: 45s; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-ticker-track { animation: none; }
}
.nx-block[data-block="ticker"] + .nx-block--default > .nx-section { padding-top: 84px; }
@media (max-width: 760px) { .nx-block[data-block="ticker"] + .nx-block--default > .nx-section { padding-top: 56px; } }

/* ==========================================================================
   Secciones configurables (Admin → Portada y menú)
   ========================================================================== */
.nx-anchor { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.nx-block { position: relative; scroll-margin-top: var(--header-h); }
.nx-block--soft, .nx-block--band { margin-top: 104px; padding-bottom: 104px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nx-block--soft { background: var(--bg-deep); }
.nx-block--soft::before { content: ""; position: absolute; width: 640px; height: 640px; top: -320px; right: -160px; border-radius: 50%; background: rgba(96, 1, 209, .3); filter: blur(140px); pointer-events: none; }
[data-theme="light"] .nx-block--soft::before { opacity: .35; }
.nx-block--band { color: var(--text); background: radial-gradient(700px 420px at 90% 0%, rgba(96, 1, 209, .38), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(255, 185, 95, .12), transparent 60%), #0d0e15; }
.nx-block--soft + .nx-block--soft, .nx-block--band + .nx-block--band, .nx-block--soft + .nx-block--band, .nx-block--band + .nx-block--soft { margin-top: 0; border-top: 0; }
.nx-block--soft > *, .nx-block--band > * { position: relative; }
.nx-block--soft .nx-benefit, .nx-block--soft .nx-stats > div { background: var(--surface); }

/* Cinta: velocidad y estilo */
.nx-ticker--lento .nx-ticker-track { animation-duration: 95s; }
.nx-ticker--rapido .nx-ticker-track { animation-duration: 36s; }
.nx-ticker--mayusculas .nx-ticker-list li { font-family: var(--f-display); font-style: normal; font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.45rem); letter-spacing: .22em; text-transform: uppercase; }

/* Beneficios: 1 o 2 tarjetas */
.nx-benefits--1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.nx-benefits--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-benefits-wrap .nx-mosaic:first-child { margin-top: 0; }
.nx-mosaic--single { grid-template-columns: 1fr; }

/* Encabezado centrado */
.nx-head--center { justify-content: center; text-align: center; }
.nx-head--center > div { margin: 0 auto; max-width: 760px; }
.nx-head--center .nx-lead { margin: 0 auto; }

/* Logos de aliados */
.nx-logos { padding-top: 80px; }
.nx-logos-title { text-align: center; color: var(--text-2); font-size: .98rem; font-weight: 500; margin: 0 0 26px; }
.nx-logos-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
.nx-logos-track { display: flex; width: max-content; animation: nxticker 45s linear infinite; }
.nx-logos-viewport:hover .nx-logos-track { animation-play-state: paused; }
.nx-logos-list { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); padding: 0 clamp(20px, 3vw, 44px); margin: 0; list-style: none; flex: none; }
.nx-logos-static .nx-logos-list { flex-wrap: wrap; justify-content: center; padding: 0; row-gap: 24px; }
.nx-logo { display: flex; align-items: center; justify-content: center; height: 56px; color: var(--text-2); text-decoration: none; opacity: .75; transition: opacity .2s ease; white-space: nowrap; }
.nx-logo:hover { opacity: 1; }
.nx-logo img { max-height: 46px; max-width: 170px; width: auto; height: auto; filter: brightness(0) invert(1); }
[data-theme="light"] .nx-logo img { filter: brightness(0); opacity: .7; }
.nx-logo-name--0 { font-family: var(--f-logo); font-style: italic; font-weight: 500; font-size: 1.7rem; letter-spacing: -.01em; }
.nx-logo-name--1 { font-family: var(--f-body); font-weight: 500; font-size: 1rem; letter-spacing: .36em; text-transform: uppercase; }
.nx-logo-name--2 { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; text-transform: uppercase; }
.nx-logo-name--3 { font-family: var(--f-logo); font-weight: 800; font-size: 1.55rem; letter-spacing: .01em; }

/* Banner promocional (siempre oscuro para que el texto se lea sobre la foto) */
.nx-banner { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; min-height: 400px; display: flex; align-items: flex-end; border: 1px solid var(--line-2); color: var(--text); background: #12131b; }
.nx-banner--tall { min-height: 540px; }
.nx-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nx-banner-art { display: block; background: radial-gradient(circle at 80% 20%, rgba(183, 109, 255, .6), transparent 50%), radial-gradient(circle at 15% 95%, rgba(202, 129, 0, .45), transparent 50%), linear-gradient(135deg, #3a0a78, #12131b); }
.nx-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 14, 21, .92) 0%, rgba(13, 14, 21, .7) 45%, rgba(13, 14, 21, .12) 100%), linear-gradient(0deg, rgba(13, 14, 21, .7), transparent 55%); }
.nx-banner--center { justify-content: center; align-items: center; text-align: center; }
.nx-banner--center::after { background: radial-gradient(ellipse at center, rgba(13, 14, 21, .82), rgba(13, 14, 21, .5) 75%); }
.nx-banner--center .nx-ctas { justify-content: center; }
.nx-banner-body { padding: clamp(28px, 5vw, 60px); max-width: 740px; }
.nx-banner .nx-h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.nx-banner .nx-lead { margin-bottom: 26px; }

/* Texto con imagen */
.nx-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.nx-split--left .nx-split-media { order: -1; }
.nx-split--text { grid-template-columns: minmax(0, 820px); justify-content: center; }
.nx-split-media { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: var(--surface-3); }
.nx-split-media img { width: 100%; height: 100%; object-fit: cover; }
.nx-prose p { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }
.nx-checks { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 10px; }
.nx-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.nx-checks .ic { color: var(--accent); margin-top: 3px; }

/* Eventos en fila deslizable */
.nx-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--surface-4) transparent; }
.nx-row > .nx-card { flex: 0 0 min(360px, 84%); scroll-snap-align: start; }

/* Preguntas frecuentes */
.nx-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.nx-qa { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s ease; }
.nx-qa[open] { border-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.nx-qa summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nx-qa summary::-webkit-details-marker { display: none; }
.nx-qa-ic { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); flex: none; transition: transform .25s ease; }
.nx-qa-ic::before, .nx-qa-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--primary); transform: translate(-50%, -50%); }
.nx-qa-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.nx-qa[open] .nx-qa-ic { transform: rotate(45deg); }
.nx-qa-a { padding: 0 24px 20px; color: var(--text-2); }
.nx-qa-a p:last-child { margin-bottom: 0; }

/* Video */
.nx-video { position: relative; max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.nx-video-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.nx-video-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s ease, opacity .3s ease; }
.nx-video-btn:hover img { transform: scale(1.03); opacity: 1; }
.nx-video-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: -6px; }
.nx-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 12px rgba(183, 109, 255, .2), var(--glow); }
.nx-play .ic { width: 34px; height: 34px; margin-left: 4px; }
.nx-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Testimonios */
.nx-testis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nx-testis--1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.nx-testis--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-testi { margin: 0; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.nx-testi-q { width: 34px !important; height: 34px !important; color: var(--accent); }
.nx-testi blockquote { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--text); flex: 1; }
.nx-testi figcaption { display: flex; gap: 12px; align-items: center; }
.nx-testi figcaption img, .nx-testi-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.nx-testi-av { display: grid; place-items: center; background: var(--surface-3); color: var(--tone); font-weight: 800; }
.nx-testi figcaption b { display: block; }
.nx-testi figcaption small { color: var(--muted); font-size: .84rem; }

@media (max-width: 960px) {
  .nx-split { grid-template-columns: 1fr; }
  .nx-split--left .nx-split-media { order: 0; }
  .nx-testis, .nx-testis--2 { grid-template-columns: 1fr; }
  .nx-benefits--2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nx-block--soft, .nx-block--band { margin-top: 72px; padding-bottom: 72px; }
  .nx-banner { min-height: 360px; border-radius: 26px; }
  .nx-banner--tall { min-height: 460px; }
  .nx-logos { padding-top: 56px; }
  .nx-logo-name--0 { font-size: 1.4rem; }
  .nx-play { width: 68px; height: 68px; }
  .nx-qa summary { padding: 18px; }
  .nx-qa-a { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { .nx-logos-track { animation: none; } }

/* Hero: «Organiza» sin página propia y compra en otro sitio */
.nx-by b { color: var(--text); font-weight: 700; }
.nx-ext { font-size: .85em; opacity: .85; }
@media (max-width: 640px) {
  .nx-ctas .nx-btn { padding-left: 14px; padding-right: 14px; white-space: nowrap; }
}
