/* ===== Landing CNX Experience (/) =====
   Basada en el flyer: navy profundo, lima neón, trazos de brocha y red de nodos.
   Usa los tokens de nq.css. Sin recursos externos (modo offline). */

.lx {
  --lx-lima: var(--green);
  --lx-tinta: var(--navy-950);
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .05) 1px, transparent 1.6px) 0 0 / 26px 26px,
    linear-gradient(170deg, var(--navy-950), var(--navy-900) 45%, var(--navy-950));
  min-height: 100vh;
  overflow-x: hidden;
}

.lx a:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

/* ——— Hero ——— */
.lx-hero {
  position: relative;
  padding: 0 16px 56px;
  text-align: center;
  isolation: isolate;
}

.lx-red {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--green-bright);
  z-index: -1;
  opacity: .55;
}

/* Logo sobre la pincelada blanca, recortada del flyer (img/logo-pincelada.png) */
.lx-hero__logo {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto;
}
.lx-hero__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* El elemento memorable: EXPERIENCE recortado del flyer (img/experience.png) */
.lx-titulo {
  margin: 8px auto 0;
  max-width: 980px;
  line-height: 0;
}
.lx-titulo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
}

/* Lema como en el flyer: mayúsculas condensadas, lima / blanco / lima y trazo lima debajo */
.lx-lema {
  position: relative;
  display: inline-block;
  margin: 14px 0 0;
  padding-bottom: 14px;
  font-size: clamp(1rem, 3.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: scaleX(.86);
  color: var(--white);
}
.lx-lema span {
  color: var(--green);
}
.lx-lema::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
  clip-path: polygon(0 60%, 100% 0, 96% 100%, 3% 100%);
}

/* Pinceladas lima laterales del flyer */
.lx-pincelada {
  position: absolute;
  width: clamp(120px, 18vw, 260px);
  height: auto;
  pointer-events: none;
  z-index: -1;
}
.lx-pincelada--der {
  right: -20px;
  bottom: 40px;
}
.lx-pincelada--izq {
  left: -30px;
  top: 38%;
  transform: scale(-1, -1);
}

.lx-datos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 40px auto 0;
  padding: 14px 8px;
  border: 2px solid var(--lx-lima);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(183, 223, 31, .18), inset 0 0 24px rgba(183, 223, 31, .08);
}
.lx-datos > div {
  flex: 1 1 160px;
  padding: 4px 18px;
  text-align: left;
}
.lx-datos > div + div {
  border-left: 1px solid rgba(255, 255, 255, .25);
}
.lx-datos dt {
  font-size: .8rem;
  font-weight: 400;
  color: var(--gray-300);
}
.lx-datos dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ——— Las dos puertas ——— */
.lx-accesos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px 72px;
}
.lx-cerrado {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-weight: 600;
  color: var(--green-bright);
}
.lx-accesos:has(> .lx-puerta:only-of-type) {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}
.lx-puerta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 28px 24px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lx-puerta:hover {
  transform: translateY(-3px);
}
.lx-puerta--miembro {
  background: var(--lx-lima);
  color: var(--lx-tinta);
  box-shadow: 0 18px 50px rgba(183, 223, 31, .25);
}
.lx-puerta--asistente {
  background: var(--white);
  color: var(--lx-tinta);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.lx-puerta__quien {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
}
.lx-puerta__que {
  font-size: .98rem;
  line-height: 1.55;
  max-width: 38ch;
}
.lx-puerta__cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lx-tinta);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}
.lx-puerta--asistente .lx-puerta__cta {
  background: var(--navy);
}

/* ——— Concepto + ruta de nodos ——— */
.lx-concepto {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  text-align: center;
}
.lx-concepto__texto {
  max-width: 30ch;
  margin: 0 auto 48px;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
}

.lx-ruta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* La línea que conecta los nodos, como en el flyer */
.lx-ruta::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--lx-lima);
  box-shadow: 0 0 12px var(--lime-glow);
}
.lx-ruta li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.lx-ruta svg {
  width: 116px;
  height: 116px;
  padding: 30px;
  margin-bottom: 12px;
  border: 2px solid var(--lx-lima);
  border-radius: 50%;
  background: var(--navy-950);
  box-shadow: 0 0 22px rgba(183, 223, 31, .3);
  fill: none;
  stroke: var(--lx-lima);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lx-ruta b {
  font-size: 1.05rem;
}
.lx-ruta span {
  max-width: 16ch;
  font-size: .9rem;
  color: var(--gray-300);
  line-height: 1.4;
}

/* ——— Boleto ——— */
.lx-boleto {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 16px 88px;
}
.lx-boleto__frase {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  transform: rotate(-2deg);
}
.lx-boleto__precio {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 280px;
  padding: 22px 26px;
  border: 2px dashed var(--lx-lima);
  border-radius: var(--radius);
}
.lx-boleto__precio span {
  font-size: .9rem;
  color: var(--gray-300);
}
.lx-boleto__precio strong {
  font-size: 3rem;
  font-style: italic;
  line-height: 1.1;
  color: var(--lx-lima);
}
.lx-boleto__precio small {
  font-size: .85rem;
  line-height: 1.45;
  color: var(--gray-300);
}

/* ——— Patrocinio ——— */
.lx-patrocinio {
  padding: 72px 16px 80px;
  background: var(--white);
  color: var(--text);
  text-align: center;
}
.lx-patrocinio h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
}
.lx-patrocinio__intro {
  margin: 8px 0 40px;
  color: var(--gray-700);
}
.lx-planes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.lx-plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light);
}
.lx-plan img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.lx-plan__cuerpo {
  padding: 22px 24px 26px;
}
.lx-plan h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--navy);
}
.lx-plan__precio {
  margin: 2px 0 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
}
.lx-plan p {
  line-height: 1.55;
}
.lx-plan__req {
  font-size: .9rem;
  color: var(--gray-700);
}

/* ——— Pie ——— */
.lx-pie {
  padding: 36px 16px 44px;
  text-align: center;
  color: var(--gray-300);
}
.lx-pie p {
  margin: 0 0 12px;
  letter-spacing: .08em;
}
.lx-pie nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.lx-pie a {
  color: var(--green-bright);
  font-size: .9rem;
}

/* ——— Responsive ——— */
@media (max-width: 860px) {
  .lx-ruta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
  .lx-ruta::before { display: none; }
  .lx-ruta li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .lx-accesos,
  .lx-planes {
    grid-template-columns: 1fr;
  }
  .lx-datos {
    border-radius: var(--radius-lg);
    flex-direction: column;
    gap: 8px;
  }
  .lx-datos > div {
    flex: 0 0 auto;
  }
  .lx-datos > div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 10px;
  }
  .lx-hero__logo { width: calc(100% + 32px); margin: 0 -16px; }
  .lx-ruta svg { width: 92px; height: 92px; padding: 22px; }
  .lx-pincelada--izq { display: none; }
  .lx-pincelada--der { width: 110px; bottom: 120px; opacity: .8; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-puerta { transition: none; }
  .lx-puerta:hover { transform: none; }
}

/* ——— Extras para las páginas de acceso (miembro / asistente) ——— */
.nq-entrar__volver {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .9rem;
  color: var(--green-bright);
  text-decoration: none;
}
.nq-alta__ayuda {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.45;
}
.nq-badge {
  display: inline-block;
  padding: 2px 10px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
}
.nq-badge--vip {
  background: var(--navy);
  color: var(--green-bright);
}
a.nq-login__boton {
  display: block;
  text-align: center;
  text-decoration: none;
}
.nq-login__boton--outline {
  background: transparent !important;
  border: 2px solid var(--navy) !important;
  color: var(--navy) !important;
}
.nq-alta__lista {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  text-align: left;
}
.nq-alta__lista-titulo {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.nq-alta__lista ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nq-alta__lista li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: .9rem;
}
.nq-alta__lista a {
  color: var(--green-dark);
  font-weight: 600;
}
