/* =====================================================================
   Crimson · portada nueva (26/10) — sistema comun para todas las partes.
   Pedido: "Andres siente que la pagina esta muy saturada": menos texto, mas aire, tarjetas simples, dos acciones
   claras. Identidad: tinta casi negra + rojo Crimson, Arial, la red de nodos como acento (nunca protagonista).
   Movil primero (375 px); tableta 768; escritorio >= 1024. Movimiento solo transform/opacity.
   Cada parte (parts/N-*.css) usa SOLO estos tokens y su propio prefijo de clases.
   ===================================================================== */
:root{
  --nv-bg:#0d0c11;          /* fondo de la pagina */
  --nv-bg-2:#121117;        /* bandas alternas */
  --nv-surface:#17151d;     /* tarjetas */
  --nv-surface-2:#1f1d26;   /* tarjeta elevada / hover */
  --nv-line:rgba(255,255,255,.08);
  --nv-line-2:rgba(255,255,255,.14);
  --nv-text:#f4f1ee;
  --nv-text-2:rgba(244,241,238,.74);
  --nv-text-3:rgba(244,241,238,.5);
  --nv-red:#e2233a;
  --nv-red-2:#ff4458;       /* rojo para texto sobre oscuro (contraste) */
  --nv-red-soft:rgba(226,35,58,.16);
  --nv-ok:#1fa35a;
  --nv-font:Arial, Helvetica, sans-serif;
  --nv-r:18px;              /* radio de tarjetas */
  --nv-r-sm:12px;
  --nv-pad:20px;            /* margen lateral movil */
  --nv-wrap:1200px;
  --nv-space:56px;          /* aire entre secciones (movil) */
  --nv-dur-micro:200ms; --nv-dur:420ms; --nv-dur-scene:750ms;
  --nv-ease:cubic-bezier(.16,1,.3,1);
  --nv-shadow:0 24px 48px -28px rgba(0,0,0,.8);
}
@media (min-width:768px){:root{--nv-pad:32px;--nv-space:80px}}
@media (min-width:1024px){:root{--nv-pad:40px;--nv-space:104px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--nv-bg);color:var(--nv-text);font-family:var(--nv-font);font-size:16px;line-height:1.5;overflow-x:clip;-webkit-tap-highlight-color:transparent}
img,video{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul,ol,figure{margin:0;padding:0}
ul,ol{list-style:none}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--nv-red-2);outline-offset:3px;border-radius:6px}
.nv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nv-skip{position:absolute;left:-999px;top:8px;z-index:100;background:#fff;color:#000;padding:10px 16px;border-radius:8px}
.nv-skip:focus{left:8px}

/* contenedor y secciones */
.nv-wrap{width:100%;max-width:var(--nv-wrap);margin:0 auto;padding:0 var(--nv-pad)}
.nv-sec{padding:var(--nv-space) 0 0}
.nv-sec[id]{scroll-margin-top:76px}

/* encabezado de seccion (como la referencia: punto rojo + titulo + bajada corta, y un enlace a la derecha) */
.nv-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin-bottom:20px}
.nv-head__t{display:flex;flex-direction:column;gap:4px;min-width:0}
.nv-head h2{display:flex;align-items:center;gap:10px;font-size:clamp(20px,2.4vw,30px);font-weight:700;letter-spacing:-.01em;line-height:1.15}
.nv-head h2::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--nv-red);flex:none;box-shadow:0 0 0 4px var(--nv-red-soft)}
.nv-head p{color:var(--nv-text-2);font-size:15px;padding-left:18px}
.nv-head__more{flex:none;font-size:14px;font-weight:700;color:var(--nv-red-2);display:inline-flex;align-items:center;gap:6px;min-height:44px}

/* etiqueta pequena (eyebrow) */
.nv-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--nv-text-2)}
.nv-eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--nv-red)}

/* botones */
.nv-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 24px;border-radius:14px;border:0;
  font-weight:700;font-size:16px;cursor:pointer;transition:transform var(--nv-dur-micro) var(--nv-ease),background var(--nv-dur-micro),box-shadow var(--nv-dur-micro),border-color var(--nv-dur-micro)}
.nv-btn:active{transform:scale(.97)}
.nv-btn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nv-btn--red{background:var(--nv-red);color:#fff;box-shadow:0 14px 30px -14px rgba(226,35,58,.75)}
.nv-btn--line{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px var(--nv-line-2)}
.nv-btn--white{background:#fff;color:#111}
@media (hover:hover){
  .nv-btn--red:hover{background:#c91b30}
  .nv-btn--line:hover{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4)}
  .nv-btn:hover svg{transform:translateX(3px)}
  .nv-btn svg{transition:transform var(--nv-dur-micro) var(--nv-ease)}
}

/* tarjeta base */
.nv-card{background:var(--nv-surface);border:1px solid var(--nv-line);border-radius:var(--nv-r)}

/* flecha circular (como la referencia) */
.nv-go{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;flex:none;background:var(--nv-red-soft);color:var(--nv-red-2)}
.nv-go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* iconos de linea (24x24, trazo 1.8) */
.nv-ico{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* entrada al aparecer: una sola, discreta (las partes la usan con data-nv-in; base.js pone .is-in) */
.js [data-nv-in]{opacity:0;transform:translateY(16px);transition:opacity var(--nv-dur-scene) var(--nv-ease),transform var(--nv-dur-scene) var(--nv-ease);transition-delay:calc(var(--i,0) * 70ms)}
.js [data-nv-in].is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js [data-nv-in]{opacity:1;transform:none;transition:none}}

/* Red de nodos de fondo (base.js): fija, detras de todo, sin capturar clics */
.nv-bgnet{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.95}
/* Tarjetas con inclinacion y brillo (base.js, solo PC con mouse) */
.nv-tilt{position:relative;will-change:transform}
.nv-shine{position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity var(--nv-dur) var(--nv-ease);
  background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.10),rgba(226,35,58,.06) 35%,transparent 60%)}
.nv-tilt:hover .nv-shine{opacity:1}
.nv-bgnet--host{position:absolute;z-index:-1;opacity:.85}
@media (prefers-reduced-motion:reduce){.nv-bgnet{display:none}.nv-shine{display:none}}
