/* ==========================================================================
   Portada Nitrox v2 — se carga solo en la página de inicio.
   Estructura de tienda moderna (banda diagonal, texto gigante en contorno,
   tarjetas flotantes) con la identidad Nitrox: slate-950, azul industrial,
   índigo y vidrio solo donde algo flota sobre otra cosa.
   Movimiento: 200–300 ms en interacciones, ease-out, entrada única al cargar.
   ========================================================================== */

/* Astra encierra el contenido en 1200px: la portada usa todo el ancho. */
body.nx-home #content > .ast-container,
body.nx-home .site-content > .ast-container { max-width: none; padding: 0; display: block; }
body.nx-home #primary, body.nx-home .site-main { margin: 0; padding: 0; width: 100%; }

.nxh { --wrap: 1280px; overflow-x: clip; }
.nxh-wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { .nxh-wrap { padding-inline: 32px; } }

.nxh h1, .nxh h2, .nxh h3 { margin: 0; }
.nxh h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.nxh-muted { color: var(--muted); }
.nxh-tabular { font-variant-numeric: tabular-nums; }

.nx-btn--lg { min-height: 54px; padding: 14px 26px; font-size: 15px; border-radius: 12px !important; }
.nx-btn .nx-ico { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nx-btn:hover .nx-ico { transform: translateX(3px); } }

/* --- 1. Banner ---------------------------------------------------------- */

.nxh-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 800px);
  display: flex; align-items: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(96px, 10vw, 140px);
  background:
    radial-gradient(50% 60% at 72% 45%, rgba(79, 70, 229, 0.28), transparent 70%),
    radial-gradient(40% 50% at 10% 10%, rgba(4, 119, 191, 0.18), transparent 70%),
    var(--canvas);
}
/* Retícula técnica muy tenue: da textura industrial sin competir. */
.nxh-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
}
/* Desvanecido inferior hacia la barra de confianza. */
.nxh-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--canvas));
}

/* Bandas diagonales: azul → índigo, detrás de la modelo. */
.nxh-hero__band {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(160deg, rgba(4, 119, 191, 0.85), rgba(79, 70, 229, 0.75));
  clip-path: polygon(64% 0, 86% 0, 60% 100%, 38% 100%);
  animation: nxh-band 1000ms var(--ease-out) both;
}
.nxh-hero__band--thin {
  background: linear-gradient(160deg, rgba(124, 196, 245, 0.55), rgba(165, 180, 252, 0.25));
  clip-path: polygon(89% 0, 91% 0, 65% 100%, 63% 100%);
  animation-delay: 120ms;
}

/* "Always the best" gigante en contorno, siguiendo el ángulo de la banda. */
.nxh-hero__outline {
  /* El contenedor gira; la pista se mueve en su propio eje X, así el texto
     avanza exactamente a lo largo de la diagonal de la banda. */
  position: absolute; z-index: -1; left: 48%; top: 50%; margin: 0;
  transform: translate(-50%, -50%) rotate(-64deg);
  pointer-events: none; user-select: none;
  font-size: clamp(64px, 9vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(165, 180, 252, 0.24);
  animation: nxh-fade 1200ms var(--ease-out) 200ms both;
}
.nxh-ribbon {
  display: flex; width: max-content;
  animation: nxh-ribbon 40s linear infinite;
  will-change: transform;
}
/* Cada copia lleva su propio espacio final (no "gap"), así 8 copias = 8 periodos exactos.
   8 copias cubren la diagonal de pantallas grandes más una copia de recorrido. */
.nxh-ribbon span { flex: none; padding-inline-end: 0.6em; }
@keyframes nxh-ribbon {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-12.5%, 0, 0); }   /* una copia exacta (1/8) → bucle sin salto */
}
/* Fuera de pantalla o con la pestaña oculta, la cinta se detiene. */
.nxh-hero.is-offscreen .nxh-ribbon { animation-play-state: paused; }

.nxh-hero__grid {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: center;
}

.nxh .nxh-hero__title {
  margin: 0 0 22px;
  font-size: clamp(42px, 6.4vw, 88px) !important;
  line-height: 0.98; letter-spacing: -0.045em !important; font-weight: 800;
  color: var(--ink); max-width: 12ch;
}
.nxh-hero__title .nx-grad-text { display: block; }
.nxh-hero__lede { margin: 0 0 34px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--ink-soft); }
.nxh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.nxh-hero__media { position: relative; display: flex; justify-content: center; align-items: center; }
.nxh-hero__ring {
  position: absolute; left: 50%; top: 52%; width: min(500px, 92%); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  border: 1px solid rgba(165, 180, 252, 0.22);
  box-shadow: 0 0 0 28px rgba(165, 180, 252, 0.04), 0 0 0 56px rgba(165, 180, 252, 0.025);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 65%);
  animation: nxh-ring 1100ms var(--ease-out) both;
}
.nxh-hero__model {
  position: relative; z-index: 1; display: block;
  width: auto; max-width: 100%; max-height: min(640px, 72vh);
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
  animation: nxh-model 900ms var(--ease-out) 120ms both;
}

/* Precio "desde": disco de vidrio flotante (como el sello de precio de una vitrina). */
.nxh-price {
  position: absolute; z-index: 2; right: 2%; top: 8%;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  width: 132px; aspect-ratio: 1; border-radius: 50%;
  color: var(--ink) !important; text-decoration: none !important; text-align: center;
  transition: transform 200ms var(--ease-out), border-color 200ms ease;
  animation: nxh-pop 500ms var(--ease-out) 700ms backwards; /* "backwards": no bloquea el hover al terminar. */
}
.nxh-price:active { transform: scale(0.96); }
.nxh-price__label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.nxh-price__value { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nxh-price__cta { font-size: 11.5px; font-weight: 600; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .nxh-price:hover { transform: translateY(-3px); border-color: rgba(165, 180, 252, 0.4); } }

@media (max-width: 921px) {
  .nxh-hero { min-height: 0; padding-bottom: 96px; }
  .nxh-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .nxh-hero__band { clip-path: polygon(55% 40%, 100% 22%, 100% 58%, 40% 100%, 10% 100%); }
  .nxh-hero__band--thin { display: none; }
  .nxh-hero__outline { left: 60%; top: 72%; font-size: 72px; }
  .nxh-ribbon { animation-duration: 30s; }
  .nxh-hero__model { max-height: 420px; }
  .nxh-price { width: 108px; right: 0; top: 4%; }
  .nxh-price__value { font-size: 16px; }
}
@media (max-width: 520px) { .nxh-hero__actions .nx-btn { flex: 1 1 100%; } }

/* --- 2. Barra de confianza: tarjetas de vidrio sobre el borde del banner -- */

.nxh-trust { position: relative; z-index: 3; margin-top: -64px; }
.nxh-trust__list {
  list-style: none; margin-block: 0; padding-block: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.nxh-trust__list li {
  margin: 0; display: flex; gap: 14px; align-items: center;
  padding: 18px; border-radius: 18px;
  font-size: 13.5px; line-height: 1.4; color: var(--ink-soft);
}
.nxh-trust__list strong { display: block; color: var(--ink); font-size: 14.5px; }
.nxh-trust__ico {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(4, 119, 191, 0.14); color: var(--accent);
  border: 1px solid rgba(124, 196, 245, 0.25);
}
.nxh-trust__ico .nx-ico { width: 22px; height: 22px; }
@media (max-width: 1024px) { .nxh-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .nxh-trust { margin-top: -48px; }
  .nxh-trust__list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .nxh-trust__list li { padding: 14px; }
}

/* --- Encabezados de sección -------------------------------------------- */

.nxh-section { padding-block: clamp(64px, 9vw, 120px) 0; }
.nxh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.nxh-link {
  color: var(--ink-soft) !important; text-decoration: none !important; font-size: 14px; font-weight: 700;
  display: inline-flex; gap: 6px; align-items: center; transition: color 200ms ease;
}
.nxh-link .nx-ico { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nxh-link:hover { color: var(--accent) !important; }
  .nxh-link:hover .nx-ico { transform: translateX(3px); }
}

/* --- 3. Destacados: tres tarjetas de color con precio grande -------------- */

.nxh-promos, .nxh-products {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.nxh-products { margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.nxh-promos li, .nxh-products li { margin: 0; }
@media (max-width: 1024px) { .nxh-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nxh-promos { grid-template-columns: minmax(0, 1fr); } }

.nxh-promo {
  --tint-a: #0b3a66; --tint-b: #071a33;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px; height: 100%;
  padding: 22px; border-radius: 24px;
  background: linear-gradient(160deg, var(--tint-a), var(--tint-b));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: var(--ink) !important; text-decoration: none !important;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 200ms ease;
}
.nxh-promo--indigo { --tint-a: #312e81; --tint-b: #110f3a; }
.nxh-promo--slate { --tint-a: #1e293b; --tint-b: #0b1222; }
/* Diagonal decorativa, eco de la banda del banner. */
.nxh-promo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 40%);
  clip-path: polygon(55% 0, 80% 0, 45% 100%, 20% 100%);
}
.nxh-promo:active { transform: scale(0.985); }

.nxh-promo__head { display: grid; gap: 4px; }
.nxh-promo__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo-300); }
.nxh-promo__name { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.nxh-promo__price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nxh-promo__price del { font-size: 15px; font-weight: 500; color: var(--muted); margin-right: 8px; opacity: 1; }
.nxh-promo__price ins { text-decoration: none; }

/* Las fotos traen fondo blanco: van en una placa clara con "multiply". */
.nxh-promo__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden;
  border-radius: 18px; background: radial-gradient(80% 70% at 50% 40%, #f8fafc, #e2e8f0);
}
.nxh-promo__media img {
  width: 86% !important; height: 86% !important; object-fit: contain; margin: 0 !important;
  mix-blend-mode: multiply; transition: transform 300ms var(--ease-out);
}
.nxh-promo__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.nxh-promo__meta { display: flex; gap: 12px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.nxh-promo__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); color: #0b1222; font-size: 13.5px; font-weight: 800;
  transition: background-color 200ms ease;
}
.nxh-promo__cta .nx-ico { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .nxh-promo:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); border-color: rgba(165, 180, 252, 0.35); }
  .nxh-promo:hover .nxh-promo__media img { transform: scale(1.05); }
  .nxh-promo:hover .nxh-promo__cta .nx-ico { transform: translateX(3px); }
}

/* Tarjeta compacta (si hay más de 3 productos). */
.nxh-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface);
  text-decoration: none !important; color: inherit !important;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 200ms ease;
}
.nxh-card:active { transform: scale(0.985); }
.nxh-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, #f8fafc, #e2e8f0); }
.nxh-card__media img { width: 88% !important; height: 88% !important; object-fit: contain; margin: 0 !important; mix-blend-mode: multiply; transition: transform 300ms var(--ease-out); }
.nxh-card__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--grad-brand); color: #fff; font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nxh-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.nxh-card__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nxh-card__name { font-size: 16px; font-weight: 700; color: var(--ink); }
.nxh-card__price { font-size: 16px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.nxh-card__price del { color: var(--muted); font-weight: 500; font-size: 14px; margin-right: 6px; opacity: 1; }
.nxh-card__price ins { text-decoration: none; }
.nxh-card__meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nxh-card__sizes { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .nxh-card:hover { transform: translateY(-4px); border-color: var(--line-hover); box-shadow: var(--shadow-float); }
  .nxh-card:hover .nxh-card__media img { transform: scale(1.05); }
}

.nxh-dots { display: inline-flex; align-items: center; }
.nxh-dots span { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(2, 6, 23, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.nxh-dots span + span { margin-left: -4px; }
.nxh-dots em { margin-left: 6px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }

/* --- 4. Colecciones ----------------------------------------------------- */

.nxh-cats { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 16px; }
@media (max-width: 1024px) { .nxh-cats { grid-template-columns: 1fr 1fr; } .nxh-cat--empresa { grid-column: 1 / -1; min-height: 260px !important; } }
@media (max-width: 640px) { .nxh-cats { grid-template-columns: 1fr; } }

.nxh-cat {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; min-height: 460px; padding: 28px;
  border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(90% 80% at 80% 90%, rgba(79, 70, 229, 0.35), transparent 65%), var(--surface);
  text-decoration: none !important;
  transition: transform 260ms var(--ease-out), border-color 200ms ease, box-shadow 260ms var(--ease-out);
}
.nxh-cat:active { transform: scale(0.99); }
.nxh-cat__text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; max-width: 60%; }
.nxh-cat__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.nxh-cat__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.nxh-cat__body { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.nxh-cat__cta { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.nxh-cat__cta .nx-ico { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.nxh-cat img {
  position: absolute; z-index: 1; right: -6%; bottom: 0; height: 92%; width: auto; max-width: none;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  transition: transform 300ms var(--ease-out); transform-origin: bottom center;
}
/* La foto de hombre trae fondo blanco: se presenta como disco de producto. */
.nxh-cat--hombre { background: radial-gradient(90% 80% at 80% 90%, rgba(4, 119, 191, 0.4), transparent 65%), var(--surface); }
.nxh-cat--hombre img {
  right: -12%; bottom: -10%; height: auto; width: 82%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; filter: none;
  box-shadow: 0 0 0 10px rgba(124, 196, 245, 0.08), 0 0 0 22px rgba(124, 196, 245, 0.04), var(--shadow-float);
}
.nxh-cat--empresa { background: var(--grad-brand); border-color: rgba(165, 180, 252, 0.35); }
.nxh-cat--empresa .nxh-cat__text { max-width: 100%; }
.nxh-cat--empresa .nxh-cat__kicker { color: #c7d2fe; }
.nxh-cat--empresa .nxh-cat__title, .nxh-cat--empresa .nxh-cat__cta { color: #fff; }
.nxh-cat--empresa .nxh-cat__body { color: #e0e7ff; }
/* Costuras de acolchado. */
.nxh-stitch {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 34px, rgba(255, 255, 255, 0.18) 34px 35px);
  -webkit-mask-image: repeating-linear-gradient(to right, #000 0 8px, transparent 8px 14px), linear-gradient(to top, #000 10%, transparent 75%);
  -webkit-mask-composite: source-in;
  mask-image: repeating-linear-gradient(to right, #000 0 8px, transparent 8px 14px), linear-gradient(to top, #000 10%, transparent 75%);
  mask-composite: intersect;
}
@media (hover: hover) and (pointer: fine) {
  .nxh-cat:hover { transform: translateY(-4px); border-color: var(--line-hover); box-shadow: var(--shadow-float); }
  .nxh-cat:hover img { transform: scale(1.04); }
  .nxh-cat:hover .nxh-cat__cta .nx-ico { transform: translateX(4px); }
}
@media (max-width: 640px) { .nxh-cat { min-height: 360px; padding: 22px; } .nxh-cat__text { max-width: 62%; } }

/* --- 5. Banner de dotaciones -------------------------------------------- */

.nxh-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 28px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(79, 70, 229, 0.45), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(4, 119, 191, 0.35), transparent 60%),
    var(--surface);
  border: 1px solid rgba(165, 180, 252, 0.18);
}
.nxh-band__outline {
  position: absolute; z-index: -1; right: -2%; bottom: -18%; margin: 0;
  font-size: clamp(80px, 14vw, 220px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(165, 180, 252, 0.16);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.nxh-band__copy p:not(.nx-eyebrow) { margin: 16px 0 0; max-width: 52ch; color: var(--ink-soft); font-size: 16px; }
.nxh-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (max-width: 921px) { .nxh-band { grid-template-columns: minmax(0, 1fr); } }

/* --- 6. Cifras y proceso ------------------------------------------------ */

.nxh-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.nxh-why__grid > div > p { margin: 16px 0 0; max-width: 42ch; font-size: 16px; }
.nxh-stats { margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nxh-stats div { margin: 0; padding: 18px; border-radius: 18px; }
.nxh-stats dt { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.nxh-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }

.nxh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nxh-steps li {
  margin: 0; display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color 200ms ease;
}
.nxh-steps__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(99, 102, 241, 0.14); border: 1px solid rgba(165, 180, 252, 0.25); color: var(--indigo-300); }
.nxh-steps__ico .nx-ico { width: 24px; height: 24px; }
.nxh-steps h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.nxh-steps p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) { .nxh-steps li:hover { border-color: var(--line-hover); } }
@media (max-width: 921px) { .nxh-why__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .nxh-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* --- 7. Cotización B2B ------------------------------------------------------ */

.nxh-section:last-child { padding-bottom: clamp(64px, 9vw, 120px); }
.nxh-b2b {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 56px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 0% 0%, rgba(4, 119, 191, 0.2), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(79, 70, 229, 0.2), transparent 60%), var(--surface);
}
@media (max-width: 921px) { .nxh-b2b { grid-template-columns: minmax(0, 1fr); } }
.nxh-b2b__copy p { color: var(--ink-soft); font-size: 16px; max-width: 46ch; margin: 14px 0 0; }
.nxh-checks { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; }
.nxh-checks li { margin: 0; display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; font-size: 15px; }
.nxh-checks .nx-ico { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: rgba(99, 102, 241, 0.16); color: var(--indigo-300); }
.nxh-wa {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px;
  background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.35);
  color: #a7f3c4 !important; font-weight: 700; font-size: 14.5px; text-decoration: none !important;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.nxh-wa .nx-ico { width: 20px; height: 20px; }
.nxh-wa:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .nxh-wa:hover { background: rgba(37, 211, 102, 0.2); } }
.nxh-b2b__form { padding: clamp(20px, 3vw, 32px); border-radius: 22px; min-width: 0; }

/* --- Entrada del banner: una sola secuencia al cargar ------------------- */

@keyframes nxh-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes nxh-model { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes nxh-ring { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes nxh-pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes nxh-band { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes nxh-fade { from { opacity: 0; } to { opacity: 1; } }

.nxh-in { animation: nxh-rise 600ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 60ms + 60ms); }

@media (prefers-reduced-motion: reduce) {
  .nxh-in, .nxh-price, .nxh-hero__model, .nxh-hero__ring, .nxh-hero__band, .nxh-hero__outline { animation: nxh-fade 300ms ease both !important; }
  .nxh-ribbon { animation: none; will-change: auto; }   /* movimiento reducido: cinta quieta */
  .nxh-promo:hover, .nxh-card:hover, .nxh-cat:hover { transform: none; }
  .nxh-promo:hover .nxh-promo__media img, .nxh-card:hover .nxh-card__media img, .nxh-cat:hover img { transform: none; }
}

/* --- Modo claro (portada) -------------------------------------------------- */
html[data-theme="light"] .nxh-hero { background: radial-gradient(50% 60% at 72% 45%, rgba(79, 70, 229, 0.12), transparent 70%), radial-gradient(40% 50% at 10% 10%, rgba(4, 119, 191, 0.1), transparent 70%), var(--canvas); }
html[data-theme="light"] .nxh-hero__band { background: linear-gradient(160deg, rgba(4, 119, 191, 0.9), rgba(4, 57, 166, 0.85)); }
html[data-theme="light"] .nxh-hero__ring { border-color: rgba(4, 57, 166, 0.15); box-shadow: 0 0 0 28px rgba(4, 57, 166, 0.03), 0 0 0 56px rgba(4, 57, 166, 0.02); background: radial-gradient(circle, rgba(4, 119, 191, 0.12), transparent 65%); }
html[data-theme="light"] .nxh-steps__ico, html[data-theme="light"] .nxh-checks .nx-ico { background: var(--brand-tint); border-color: var(--brand-200); color: var(--accent); }
html[data-theme="light"] .nxh-trust__ico { background: var(--brand-tint); border-color: var(--brand-200); }
html[data-theme="light"] .nxh-cat:not(.nxh-cat--empresa) { background: radial-gradient(90% 80% at 80% 90%, rgba(4, 119, 191, 0.12), transparent 65%), var(--surface); }
html[data-theme="light"] .nxh-band, html[data-theme="light"] .nxh-b2b { background: radial-gradient(60% 120% at 100% 0%, rgba(4, 119, 191, 0.1), transparent 60%), var(--surface); border-color: var(--line); }
