/* novedades.css — «Conoce lo nuevo» del home (#nuevo): las páginas web que arma Gu (lanzamiento del 24 nov 2026).
 * Arriba, un scrollytelling (25 nov 2026): el navegador se queda fijo y la página se arma paso a paso mientras se baja
 * (novedades.js pone `data-paso` en .nv-sc). Abajo, el precio. Todo con los tokens de paleta.css, también la maqueta
 * (25 nov 2026: «mantener los estilos de toda la página»), así que sigue al tema claro u oscuro de la landing.
 * Prefijo nv-. */

.nv-eti { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 12px 6px 8px; border: 1px solid var(--line2); border-radius: 99px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.nv-eti b { padding: 3px 8px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ───────────────────────── scrollytelling ───────────────────────── */
/* Los pasos y el navegador se quedan fijos lado a lado; lo que avanza es el scroll de la sección (.vivo le da 5 tramos
 * de alto y novedades.js traduce la posición a paso). 25 nov 2026: antes cada paso ocupaba ~70vh de alto y el texto
 * quedaba muy separado; ahora es una lista compacta donde solo el paso activo abre su descripción. */
.nv-sc { --nv-top: calc(50vh - var(--nv-alto, 600px) / 2 + 30px); display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 56px; align-items: start; }
.nv-sc.vivo { min-height: calc(var(--nv-alto, 600px) + 280vh); }

.nv-pasos { list-style: none; margin: 0; padding: 0; position: sticky; top: var(--nv-top); min-height: var(--nv-alto, 0); display: flex; flex-direction: column; justify-content: center; }
.nv-paso { position: relative; padding: 16px 0 16px 22px; border-left: 2px solid var(--line); transition: opacity .4s, border-color .4s; }
.vivo .nv-paso { opacity: .45; cursor: pointer; }
.vivo .nv-paso:hover { opacity: .75; }
.nv-paso.on { opacity: 1; border-left-color: var(--brand-l); }
.nv-num { color: var(--brand-l); font: 800 12px/1 var(--disp); letter-spacing: .08em; }
.nv-paso h3 { margin: 8px 0 0; font-size: clamp(20px, 1.9vw, 25px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.nv-paso p { margin: 10px 0 0; max-width: 40ch; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.nv-paso p b { color: var(--fg); }
/* con JS, solo el activo enseña su descripción (abre con la altura animada) */
.vivo .nv-paso p { display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0; transition: grid-template-rows .45s, margin-top .45s, opacity .35s; }
.vivo .nv-paso p > span { overflow: hidden; }
.vivo .nv-paso.on p { grid-template-rows: 1fr; margin-top: 10px; opacity: 1; }

.nv-esc { position: sticky; top: var(--nv-top); }

/* navegador */
.nv-nav { --luz-o: .5; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); overflow: hidden; box-shadow: 0 40px 90px -45px var(--k7f77dd-7, rgba(127, 119, 221, .7)); }
.nv-barra { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.nv-barra > i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.nv-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; margin-left: 6px; padding: 7px 12px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; }
.nv-url b { color: var(--fg); font-weight: 600; }
.nv-url em { font-style: normal; color: var(--brand-l); }
.nv-candado { width: 9px; height: 10px; border: 1.6px solid currentColor; border-radius: 2px; position: relative; margin-top: 3px; }
.nv-candado::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 6px; height: 5px; border: 1.6px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; transform: translateX(-50%); }

/* la página: se diseña a 640 px y novedades.js la escala (--k) al ancho del navegador */
.nv-vista { height: calc(560px * var(--k, 1)); overflow: hidden; position: relative; }
.nv-pag { --a: var(--brand); --a2: var(--k7f77dd-2, rgba(127, 119, 221, .2)); --t: var(--fg); --m: var(--muted); --l: var(--line2); width: 640px; height: 560px; position: relative; overflow: hidden; background: var(--bg2); color: var(--t); font-family: var(--sans); transform: scale(var(--k, 1)); transform-origin: top left; }
.nv-doc { transition: transform .8s cubic-bezier(.3, .7, .2, 1); }

.nv-cab { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: var(--panel); border-bottom: 1px solid var(--l); }
.nv-logo { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--a); color: #fff; font: 800 11px/1 var(--disp); }
.nv-cab b { font: 800 14px/1 var(--disp); letter-spacing: -.01em; }
.nv-cab nav { margin-left: auto; display: flex; gap: 18px; color: var(--m); font-size: 12px; font-weight: 500; }

.nv-hero { position: relative; height: 236px; overflow: hidden; }
.nv-hero-f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 10, 28, .85), rgba(40, 30, 90, .35)); }
.nv-hero-in { position: relative; z-index: 1; padding: 34px 28px 0; color: #fff; }
.nv-hero-in small { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.nv-hero-in p { margin: 8px 0 0; max-width: 15ch; font: 800 28px/1.05 var(--disp); letter-spacing: -.03em; }
.nv-busca { display: flex; align-items: center; gap: 8px; width: 430px; margin-top: 18px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line2); color: var(--t); font-size: 12.5px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.nv-busca svg { width: 15px; height: 15px; color: var(--m); flex: none; }
.nv-busca-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.nv-busca-t.escribe::after { content: ""; display: inline-block; width: 1.5px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--t); animation: nvCursor .8s steps(1) infinite; }
.nv-busca i { font-style: normal; padding: 7px 12px; border-radius: 7px; background: var(--a); color: #fff; font-weight: 700; font-size: 12px; }
.nv-ops { display: flex; gap: 6px; margin-top: 10px; }
.nv-ops span { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); font-size: 11px; font-weight: 600; }
.nv-ops span.on { background: var(--brand); color: #fff; }

.nv-res { padding: 14px 22px 0; }
.nv-fil { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; }
.nv-fil span { padding: 5px 10px; border-radius: 99px; border: 1px solid var(--l); background: var(--panel); }
.nv-fil .nv-fil-b { display: inline-flex; align-items: center; gap: 5px; border-color: var(--brand-l); }
.nv-fil-b svg { width: 12px; height: 12px; }
.nv-fil-b i { font-style: normal; min-width: 15px; height: 15px; display: grid; place-items: center; border-radius: 99px; background: var(--a); color: #fff; font-size: 9.5px; }
.nv-fil small { margin-left: auto; color: var(--m); font-size: 11px; font-weight: 500; }
.nv-rej { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 12px; margin-top: 12px; transition: grid-template-columns .7s cubic-bezier(.3, .7, .2, 1); }
.nv-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.nv-prop { border-radius: 10px; overflow: hidden; background: var(--panel); border: 1px solid var(--l); transition: opacity .5s, transform .5s; }
.nv-prop img { display: block; width: 100%; height: 82px; object-fit: cover; }
.nv-prop div { padding: 8px 10px 10px; }
.nv-prop b { display: block; font: 800 14px/1 var(--disp); letter-spacing: -.01em; }
.nv-prop small { display: block; margin-top: 4px; color: var(--m); font-size: 10px; }
.nv-prop p { margin: 5px 0 0; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-prop em { display: block; margin-top: 2px; font-style: normal; color: var(--m); font-size: 10px; }
.nv-mapa { position: relative; height: 296px; border-radius: 10px; overflow: hidden; border: 1px solid var(--l); transition: opacity .6s .15s; }
.nv-mapa svg { width: 100%; height: 100%; display: block; }
.nv-m-f { fill: var(--panel2); }
.nv-m-v { fill: none; stroke: var(--line2); stroke-width: 7; }
.nv-m-c { fill: none; stroke: var(--k7f77dd-2, rgba(127, 119, 221, .3)); stroke-width: 6; }
.nv-m-p { fill: var(--line); }
.nv-pin { position: absolute; transform: translate(-50%, -100%) scale(1); padding: 4px 8px; border-radius: 99px; background: var(--a); color: #fff; font: 700 10.5px/1 var(--sans); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .3s; }
.nv-pin::after { content: ""; position: absolute; left: 50%; top: 100%; border: 5px solid transparent; border-top-color: var(--a); transform: translateX(-50%); }

/* 1 · Gu armando */
.nv-arma { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--bg2); transition: opacity .5s; }
.nv-arma img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 6px var(--k7f77dd-2, rgba(127, 119, 221, .2)); animation: nvRespira 1.6s ease-in-out infinite; }
.nv-arma-t { margin: 0; font: 800 18px/1.2 var(--disp); letter-spacing: -.02em; }
.nv-arma ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.nv-arma li { display: flex; align-items: center; gap: 8px; color: var(--m); font-size: 13px; opacity: 0; transform: translateY(6px); }
.nv-arma li::before { content: "✓"; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--a2); color: var(--a); font-size: 11px; font-weight: 800; }
.nv-sc[data-paso="1"] .nv-arma li { animation: nvAparece .45s forwards; }
.nv-sc[data-paso="1"] .nv-arma li:nth-child(2) { animation-delay: .45s; }
.nv-sc[data-paso="1"] .nv-arma li:nth-child(3) { animation-delay: .9s; }

/* 5 · Gu en la página y el aviso */
.nv-aviso { position: absolute; top: 56px; right: 14px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transition: opacity .45s .6s, transform .45s .6s; }
.nv-aviso-i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #fff; }
.nv-aviso-i svg { width: 14px; height: 14px; }
.nv-aviso b { display: block; font-size: 12px; }
.nv-aviso small { color: var(--m); font-size: 10.5px; }
.nv-gu { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; justify-items: end; gap: 6px; }
.nv-gu-b { max-width: 230px; padding: 8px 11px; border-radius: 12px 12px 4px 12px; background: var(--panel2); border: 1px solid var(--line2); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); font-size: 11.5px; line-height: 1.35; transition: opacity .4s, transform .4s; }
.nv-gu-b2 { background: var(--a); color: #fff; border-radius: 12px 12px 12px 4px; justify-self: start; transition-delay: .35s; }
.nv-gu-a img { width: 44px; height: 44px; border-radius: 50%; background: var(--panel2); box-shadow: 0 0 0 2px var(--brand), 0 6px 18px rgba(0, 0, 0, .3); display: block; }

/* ── estados: qué se ve en cada paso (sin data-paso, o en 5, se ve todo) ── */
.nv-cab, .nv-hero, .nv-res, .nv-gu { transition: opacity .55s, transform .55s; }
.nv-sc:not([data-paso="1"]) .nv-arma { opacity: 0; pointer-events: none; }
.nv-sc[data-paso="1"] :is(.nv-cab, .nv-hero, .nv-res) { opacity: 0; transform: translateY(14px); }
.nv-sc[data-paso="2"] .nv-res { opacity: 0; transform: translateY(18px); }
.nv-sc:is([data-paso="3"], [data-paso="4"], [data-paso="5"]) .nv-doc { transform: translateY(-206px); }
.nv-sc:is([data-paso="1"], [data-paso="2"], [data-paso="3"]) .nv-rej { grid-template-columns: minmax(0, 1fr) 0px; gap: 0; }
.nv-sc:is([data-paso="1"], [data-paso="2"], [data-paso="3"]) .nv-mapa { opacity: 0; }
.nv-sc:is([data-paso="1"], [data-paso="2"], [data-paso="3"]) .nv-pin { transform: translate(-50%, -100%) scale(0); }
.nv-sc[data-paso="4"] .nv-pin:nth-of-type(1), .nv-sc[data-paso="5"] .nv-pin:nth-of-type(1) { transition-delay: .5s; }
.nv-sc[data-paso="4"] .nv-pin:nth-of-type(2), .nv-sc[data-paso="5"] .nv-pin:nth-of-type(2) { transition-delay: .62s; }
.nv-sc[data-paso="4"] .nv-pin:nth-of-type(3), .nv-sc[data-paso="5"] .nv-pin:nth-of-type(3) { transition-delay: .74s; }
.nv-sc[data-paso="4"] .nv-pin:nth-of-type(4), .nv-sc[data-paso="5"] .nv-pin:nth-of-type(4) { transition-delay: .86s; }
.nv-sc:is([data-paso="3"]) .nv-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-sc:not([data-paso="5"]) .nv-aviso { opacity: 0; transform: translateY(-10px); transition-delay: 0s; }
.nv-sc:not([data-paso="5"]) .nv-gu-b { opacity: 0; transform: translateY(8px); transition-delay: 0s; }
.nv-sc:not([data-paso="5"]) .nv-gu { opacity: 0; transform: translateY(10px); }

@keyframes nvAparece { to { opacity: 1; transform: none; } }
@keyframes nvRespira { 50% { transform: scale(1.08); } }
@keyframes nvCursor { 50% { opacity: 0; } }
.nv-prog { display: none; }

/* ───────────────────────── precio ───────────────────────── */
.nv-precio { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; }
.nv-op { --luz-o: 0; display: flex; flex-direction: column; padding: 26px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.nv-op:hover { --luz-o: .5; }
.nv-op.nv-dest { --luz-o: .85; background: var(--panel2); }
.nv-op h3 { font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.nv-op .nv-ahorro { min-height: 18px; margin: 4px 0 0; color: var(--ok, var(--brand-l)); font-size: 12.5px; font-weight: 700; }
.nv-op .nv-cr { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.nv-op .nv-cr b { display: block; color: var(--fg); font: 900 48px/1 var(--disp); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.nv-op .nv-usd { display: block; margin-top: 6px; color: var(--fg); font-size: 15px; font-weight: 700; }
.nv-op .nv-vig { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.nv-inc { display: flex; flex-direction: column; justify-content: center; padding: 4px 0 4px 12px; }
.nv-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nv-inc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.nv-inc li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: var(--brand-l);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.nv-inc li b { font-weight: 700; }
.nv-inc .nv-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.nv-inc .nv-cta a:not(.boton) { color: var(--muted); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .2s; }
.nv-inc .nv-cta a:not(.boton):hover { color: var(--fg); }
.nv-nota { margin: 18px 0 0; color: var(--dim); font-size: 13px; line-height: 1.5; }

/* ───────────────────────── celular ───────────────────────── */
@media (max-width: 900px) {
  /* Celular (25 nov 2026): navegador y barra de tramos fijos arriba, el paso activo fijo debajo; la sección se recorre
   * sola al entrar (novedades.js, mismo patrón que sh.js) para que no se sienta trabada. */
  .nv-sc { grid-template-columns: minmax(0, 1fr); gap: 0; align-content: start; } /* sin esto la fila del navegador se estira con el alto de la sección y el texto queda muy abajo */
  .nv-esc { order: -1; top: 64px; z-index: 2; padding: 8px 0 0; background: var(--bg); }
  .nv-pasos { top: calc(64px + var(--nv-esc-alto, 360px)); min-height: 0; justify-content: flex-start; padding-top: 6px; }
  .nv-sc.vivo { min-height: calc(var(--nv-esc-alto, 360px) + 260vh); }
  .vivo .nv-paso:not(.on) { display: none; }
  .nv-sc:not(.vivo) :is(.nv-esc, .nv-pasos) { position: static; }
  .nv-paso { padding: 4px 0 4px 16px; }
  .nv-prog { display: flex; gap: 6px; margin: 2px 0 6px; }
  .nv-prog button { flex: 1; height: 24px; padding: 10px 0; border: 0; background: none; cursor: pointer; }
  .nv-prog button::before { content: ""; display: block; height: 4px; border-radius: 99px; background: var(--line2); }
  .nv-prog i { display: block; height: 4px; margin-top: -4px; width: 0; border-radius: 99px; background: var(--brand-l); }
  .nv-paso h3 { font-size: 21px; }
  .nv-paso p { font-size: 15px; }
  .nv-barra { padding: 8px 10px; }
  .nv-url { font-size: 11.5px; padding: 5px 9px; }

  .nv-precio { margin-top: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .nv-op { padding: 20px 18px; }
  .nv-op .nv-cr b { font-size: 40px; }
  .nv-inc { grid-column: 1 / -1; padding: 12px 0 0; }
  .nv-inc .nv-cta .boton { width: 100%; justify-content: center; }
}

/* sin movimiento: la página completa, sin pasos atenuados */
@media (prefers-reduced-motion: reduce) {
  .nv-sc *, .nv-sc *::before, .nv-sc *::after { animation: none !important; transition: none !important; }
  .nv-paso { opacity: 1; }
}
