/* ==========================================================================
   Nurea · Sistema de diseño
   v2.0 · Bauhaus (30-09-2026)
   --------------------------------------------------------------------------
   Un único archivo con los tokens de la marca y los componentes. Se enlaza
   en cualquier web, landing o documento HTML:

       <link rel="stylesheet" href="nurea-theme.css">

   Principio rector: papel, tinta y tres primarios con un papel fijo cada uno.
     rojo     = acción (botones y llamadas)
     azul     = datos y hechos
     amarillo = lo gratuito, el precio, lo que se quiere destacar
   Esquinas siempre rectas. Reglas de 3 px en tinta. El círculo, el cuadrado
   y el triángulo son formas de composición, nunca iconos de adorno.

   Compatibilidad: se conservan TODOS los nombres de clases y variables de la
   v1.1 (nu-*, --nu-gold*, --nu-bone*, --nu-acc-*), así que los documentos
   ya hechos cambian de estilo solos, sin tocarlos. La v1.1 está en
   _versiones anteriores/marca v1.1 (jul-sep 2026)/.
   ========================================================================== */

@font-face{font-family:'Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/jost-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/jost-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Jost';font-style:italic;font-weight:100 900;font-display:swap;src:url(fonts/jost-latin-wght-italic.woff2) format('woff2')}

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {

  /* --- Papel y tinta ---------------------------------------------------- */
  --nu-paper:        #EEECE6;   /* Fondo principal                          */
  --nu-paper-2:      #E2DFD6;   /* Fondo alterno                            */
  --nu-ink:          #171717;   /* Texto, reglas, logo                      */
  --nu-ink-2:        #242424;   /* Fondos oscuros                           */
  --nu-ink-3:        #3A3A3A;   /* Bordes finos sobre oscuro                */
  --nu-muted:        #464646;   /* Texto secundario. 8,0:1 sobre papel      */
  --nu-on-color:     #F6F3EC;   /* Texto sobre rojo y azul                  */

  /* --- Los tres primarios (contrastes medidos sobre papel #EEECE6) ------ */
  --nu-red:          #C4302A;   /* Acción. Texto papel encima 5,0:1         */
  --nu-red-text:     #B02A24;   /* Texto rojo sobre papel 5,6:1             */
  --nu-blue:         #1D4A8C;   /* Datos. 7,4:1 como texto sobre papel      */
  --nu-yellow:       #F0B726;   /* Destacado. NUNCA como texto sobre papel  */
  --nu-yellow-text:  #7A5800;   /* Si hace falta texto "amarillo": 5,5:1    */

  /* --- Compatibilidad v1.1 (los nombres viejos apuntan a los nuevos) ---- */
  --nu-bone:         var(--nu-paper);
  --nu-bone-2:       var(--nu-paper-2);
  --nu-white:        #F6F4EF;
  --nu-line:         var(--nu-ink);
  --nu-gold:         var(--nu-red);        /* el oro de NureaLegal pasa a rojo */
  --nu-gold-text:    var(--nu-red-text);
  --nu-gold-soft:    #F08A80;
  --nu-gold-tint:    #F6DCD8;

  /* --- Acento de submarca (dos capas, igual que en la v1.1) -------------
     Capa 1 · paleta INMUTABLE de la submarca (--nu-acc-*), según data-brand.
       NureaLegal = rojo · NureaData = azul · NureaCompliance = amarillo.
     Capa 2 · roles DERIVADOS (--nu-accent, --nu-accent-text), según el fondo
     sea claro u oscuro. Los componentes usan la capa 2.
     El acento de submarca pinta el haz del símbolo, filetes y cifras.
     Los BOTONES son siempre rojos, sea cual sea la submarca.            */
  --nu-acc-graphic:  var(--nu-red);
  --nu-acc-onlight:  var(--nu-red-text);
  --nu-acc-soft:     #F08A80;   /* sobre oscuro 7,6:1                      */
  --nu-acc-tint:     #F6DCD8;
  --nu-acc-ink:      #8E221D;   /* sobre su tint 6,7:1                     */
  --nu-acc-surface:  var(--nu-red);
  --nu-acc-on:       var(--nu-on-color);

  --nu-accent:       var(--nu-acc-graphic);
  --nu-accent-text:  var(--nu-acc-onlight);

  /* --- Botones ---------------------------------------------------------- */
  --nu-btn-primary-bg: var(--nu-red);
  --nu-btn-primary-fg: var(--nu-on-color);
  --nu-btn-primary-hover: #A92620;

  /* --- Estado (uso mínimo) ---------------------------------------------- */
  --nu-ok:           #2F6B45;
  --nu-warn:         #7A5800;
  --nu-error:        var(--nu-red);

  /* --- Tipografía: una sola familia geométrica ---------------------------- */
  --nu-font-display: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --nu-font-sans:    'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --nu-size-display: clamp(2.6rem, 5.8vw, 4.6rem);
  --nu-size-h1:      clamp(2.2rem, 4.6vw, 3.6rem);
  --nu-size-h2:      clamp(1.8rem, 3.6vw, 2.8rem);
  --nu-size-h3:      1.35rem;
  --nu-size-lead:    clamp(1.125rem, 1.5vw, 1.3rem);
  --nu-size-body:    1.0625rem;
  --nu-size-small:   0.9375rem;
  --nu-size-micro:   0.8125rem;

  --nu-leading-tight: 1.04;
  --nu-leading-snug:  1.3;
  --nu-leading-body:  1.55;

  --nu-track-display: -0.02em;
  --nu-track-micro:    0.08em;

  /* --- Espaciado (escala de 4) ------------------------------------------ */
  --nu-1:  0.25rem;   --nu-2:  0.5rem;   --nu-3: 0.75rem;   --nu-4: 1rem;
  --nu-5:  1.5rem;    --nu-6:  2rem;     --nu-7: 3rem;      --nu-8: 4rem;
  --nu-9:  6rem;      --nu-10: 8rem;

  --nu-measure: 64ch;
  --nu-container: 1240px;

  /* --- Forma: todo recto. Los radios se conservan por compatibilidad ---- */
  --nu-rule:        3px;       /* la regla gruesa de tinta                 */
  --nu-radius-sm:   0;
  --nu-radius:      0;
  --nu-radius-lg:   0;
  --nu-radius-xl:   0;
  --nu-radius-pill: 0;

  /* --- Sin sombras: la profundidad la dan el color y las reglas --------- */
  --nu-shadow-sm: none;
  --nu-shadow:    none;
  --nu-shadow-lg: none;

  /* --- Movimiento ------------------------------------------------------- */
  --nu-ease: cubic-bezier(.2, .8, .2, 1);
  --nu-fast: 120ms;
  --nu-slow: 420ms;

  /* --- Roles semánticos (usa estos al maquetar) --------------------------- */
  --nu-bg:         var(--nu-paper);
  --nu-bg-alt:     var(--nu-paper-2);
  --nu-surface:    var(--nu-white);
  --nu-text:       var(--nu-ink);
  --nu-text-soft:  var(--nu-muted);
  --nu-border:     var(--nu-ink);
  --nu-focus:      var(--nu-blue);
}

/* --------------------------------------------------------------------------
   1b. SUBMARCAS · la familia Nurea
   --------------------------------------------------------------------------
       <html data-brand="data">       → NureaData (azul)
       <html data-brand="compliance"> → NureaCompliance (amarillo)
       sin atributo                   → NureaLegal (rojo, la marca madre)
   Solo cambia la capa 1. La clase .brand-* tiñe un subárbol suelto.       */

[data-brand="data"], .brand-data {
  --nu-acc-graphic: #1D4A8C;
  --nu-acc-onlight: #1D4A8C;   /* 7,4:1 sobre papel */
  --nu-acc-soft:    #8FB2E6;   /* 8,5:1 sobre oscuro */
  --nu-acc-tint:    #DCE5F2;
  --nu-acc-ink:     #173C73;   /* 8,6:1 sobre su tint */
  --nu-acc-surface: #1D4A8C;
  --nu-acc-on:      #F6F3EC;
}
.brand-data { --nu-accent: var(--nu-acc-graphic); --nu-accent-text: var(--nu-acc-onlight); }

[data-brand="compliance"], .brand-compliance {
  --nu-acc-graphic: #F0B726;
  --nu-acc-onlight: #7A5800;   /* 5,5:1 sobre papel: el amarillo no va en texto */
  --nu-acc-soft:    #F0B726;   /* 10:1 sobre oscuro */
  --nu-acc-tint:    #FBEBC0;
  --nu-acc-ink:     #5C4300;   /* 7,9:1 sobre su tint */
  --nu-acc-surface: #F0B726;
  --nu-acc-on:      #171717;   /* sobre amarillo, tinta: 9,8:1 */
}
.brand-compliance { --nu-accent: var(--nu-acc-graphic); --nu-accent-text: var(--nu-acc-onlight); }

/* --- Modo oscuro: tinta de fondo, papel de letra, primarios iguales ----- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --nu-bg:        #141414;
    --nu-bg-alt:    #1E1E1E;
    --nu-surface:   #1E1E1E;
    --nu-text:      #ECE9E2;
    --nu-text-soft: #B6B2A9;
    --nu-border:    #ECE9E2;
    --nu-accent:      var(--nu-acc-soft);
    --nu-accent-text: var(--nu-acc-soft);
    --nu-gold-text:   var(--nu-gold-soft);
    --nu-focus:       var(--nu-yellow);
  }
}
:root[data-theme="dark"] {
  --nu-bg: #141414; --nu-bg-alt: #1E1E1E; --nu-surface: #1E1E1E;
  --nu-text: #ECE9E2; --nu-text-soft: #B6B2A9; --nu-border: #ECE9E2;
  --nu-accent: var(--nu-acc-soft); --nu-accent-text: var(--nu-acc-soft);
  --nu-gold-text: var(--nu-gold-soft); --nu-focus: var(--nu-yellow);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--nu-bg);
  color: var(--nu-text);
  font-family: var(--nu-font-sans);
  font-size: var(--nu-size-body);
  font-weight: 400;
  line-height: var(--nu-leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--nu-4);
  line-height: var(--nu-leading-tight);
  font-family: var(--nu-font-display);
  font-weight: 700;
  letter-spacing: var(--nu-track-display);
  text-wrap: balance;
}
.nu-display { font-family: var(--nu-font-display); font-size: var(--nu-size-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
h1 { font-size: var(--nu-size-h1); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--nu-size-h2); }
h3 { font-size: var(--nu-size-h3); line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-size: var(--nu-size-body); font-weight: 600; letter-spacing: 0; }

p  { margin: 0 0 var(--nu-4); max-width: var(--nu-measure); }
a  { color: var(--nu-text); text-decoration-thickness: 2px; text-underline-offset: 3px;
     transition: color var(--nu-fast) var(--nu-ease); }
a:hover { color: var(--nu-accent-text); }

strong, b { font-weight: 600; }
hr { border: 0; border-top: var(--nu-rule) solid var(--nu-border); margin: var(--nu-7) 0; }

::selection { background: var(--nu-yellow); color: #171717; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--nu-focus);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. UTILIDADES TIPOGRÁFICAS
   -------------------------------------------------------------------------- */

.nu-lead      { font-size: var(--nu-size-lead); font-weight: 400;
                line-height: 1.45; color: var(--nu-text); max-width: 46ch; }
.nu-small     { font-size: var(--nu-size-small); }
.nu-soft      { color: var(--nu-text-soft); }

/* Etiqueta pequeña sobre un titular. Úsala poco: como mucho una de cada
   tres secciones. Lleva un cuadrado del acento delante. */
.nu-eyebrow {
  font-size: var(--nu-size-micro);
  font-weight: 700;
  letter-spacing: var(--nu-track-micro);
  text-transform: uppercase;
  color: var(--nu-text);
  display: inline-flex; align-items: center; gap: var(--nu-3);
  margin: 0 0 var(--nu-4);
}
.nu-eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--nu-accent); }

/* Compatibilidad: la v1.1 usaba una serif cursiva para destacar. Ahora es
   la cursiva de la misma familia. */
.nu-serif-italic { font-family: var(--nu-font-display); font-style: italic; font-weight: 500; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */

.nu-container { width: min(100% - 2 * clamp(16px, 4vw, 40px), var(--nu-container)); margin-inline: auto; }
.nu-section   { padding-block: clamp(64px, 9vw, 120px); }
.nu-section + .nu-section { border-top: var(--nu-rule) solid var(--nu-border); }
.nu-stack > * + * { margin-top: var(--nu-4); }

.nu-grid { display: grid; gap: var(--nu-5); }
@media (min-width: 720px) {
  .nu-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .nu-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   5. COMPONENTES
   -------------------------------------------------------------------------- */

/* --- Botones --- */
.nu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--nu-2);
  min-height: 50px; padding: 0 1.4rem;
  font-family: var(--nu-font-sans); font-size: var(--nu-size-body); font-weight: 600; line-height: 1;
  border: var(--nu-rule) solid transparent; border-radius: 0;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color var(--nu-fast) var(--nu-ease), color var(--nu-fast) var(--nu-ease),
              transform var(--nu-fast) var(--nu-ease);
}
.nu-btn:active { transform: translateY(2px); }

.nu-btn--primary   { background: var(--nu-btn-primary-bg); color: var(--nu-btn-primary-fg); }
.nu-btn--primary:hover { background: var(--nu-btn-primary-hover); color: var(--nu-btn-primary-fg); }

.nu-btn--secondary { background: transparent; color: var(--nu-text); border-color: var(--nu-border); }
.nu-btn--secondary:hover { background: var(--nu-text); color: var(--nu-bg); }

/* Relleno en el color de la submarca (azul en Data, amarillo en Compliance). */
.nu-btn--accent    { background: var(--nu-acc-surface); color: var(--nu-acc-on); }
.nu-btn--accent:hover { filter: brightness(.9); color: var(--nu-acc-on); }

/* Flecha triangular para botones: <span class="nu-arrow" aria-hidden="true"></span> */
.nu-arrow { display: inline-block; width: .75em; height: .75em; background: currentColor;
            clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* --- Caja (antes "tarjeta"): regla de tinta, sin sombra ni radio --- */
.nu-card {
  background: transparent;
  border: var(--nu-rule) solid var(--nu-border);
  padding: var(--nu-6);
}
.nu-card h3 { margin-bottom: var(--nu-2); }
.nu-card p:last-child { margin-bottom: 0; }

/* Destacada: banda gruesa del acento arriba. */
.nu-card--featured { border-top: 14px solid var(--nu-accent); }

/* --- Precio --- */
.nu-price { font-family: var(--nu-font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -0.035em; }
.nu-price small { font-size: var(--nu-size-small); font-weight: 500; letter-spacing: 0; color: var(--nu-text-soft); }

/* --- Distintivo: bloque sólido recto --- */
.nu-badge {
  display: inline-block;
  font-size: var(--nu-size-micro); font-weight: 700;
  letter-spacing: var(--nu-track-micro); text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  background: var(--nu-yellow); color: #171717;
}

/* --- Cita: barra gruesa del acento --- */
.nu-quote {
  font-family: var(--nu-font-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.35; color: var(--nu-text);
  border-left: 14px solid var(--nu-accent);
  padding-left: var(--nu-5); margin: var(--nu-7) 0; max-width: 46ch;
}

/* --- Bloque oscuro --- */
.nu-dark {
  background: #171717;
  color: #ECE9E2;
  --nu-text: #ECE9E2;
  --nu-text-soft: #B6B2A9;
  --nu-border: #ECE9E2;
  --nu-accent: var(--nu-acc-soft);
  --nu-accent-text: var(--nu-acc-soft);
  --nu-gold-text: var(--nu-gold-soft);
  --nu-focus: var(--nu-yellow);
}
.nu-dark .nu-eyebrow { color: #ECE9E2; }
.nu-dark a:not(.nu-btn) { color: #ECE9E2; }
.nu-dark a:not(.nu-btn):hover { color: var(--nu-acc-soft); }

/* --- Bloque siempre claro (maquetas, membretes, vistas de impresión) --- */
.nu-light {
  background: var(--nu-paper);
  color: var(--nu-ink);
  --nu-bg: var(--nu-paper); --nu-bg-alt: var(--nu-paper-2); --nu-surface: var(--nu-white);
  --nu-text: var(--nu-ink); --nu-text-soft: var(--nu-muted); --nu-border: var(--nu-ink);
  --nu-accent: var(--nu-acc-graphic); --nu-accent-text: var(--nu-acc-onlight);
  --nu-gold-text: var(--nu-red-text); --nu-focus: var(--nu-blue);
}
.nu-light a:not(.nu-btn) { color: var(--nu-ink); }
.nu-light a:not(.nu-btn):hover { color: var(--nu-accent-text); }

/* --- Logo en HTML --- */
.nu-logo { display: inline-block; height: 40px; width: auto; }
.nu-logo svg { height: 100%; width: auto; display: block; }

/* --------------------------------------------------------------------------
   6. IMPRESIÓN (cartas, informes, presupuestos)
   -------------------------------------------------------------------------- */

@media print {
  :root { --nu-bg: #fff; --nu-surface: #fff; --nu-text: #000; --nu-border: #000; }
  body  { font-size: 10.5pt; line-height: 1.45; color: #000; }
  a { text-decoration: none; color: #000; }
  .nu-no-print { display: none !important; }
  .nu-block, .nu-dark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   7. COMPONENTES DE WEB (mismas clases que la v1.1)
   ========================================================================== */

/* --- Utilidades ------------------------------------------------------- */
.nu-center      { text-align: center; }
.nu-center p    { margin-inline: auto; }
.nu-num         { font-variant-numeric: tabular-nums; }
.nu-measure     { max-width: var(--nu-measure); }
.nu-cluster     { display: flex; flex-wrap: wrap; gap: var(--nu-3) var(--nu-4); align-items: center; }
.nu-section--alt   { background: var(--nu-bg-alt); }
.nu-section--tight { padding-block: var(--nu-7); }
.nu-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
              overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nu-skip { position: absolute; left: var(--nu-4); top: -100px; z-index: 1000;
           background: var(--nu-yellow); color: #171717; padding: var(--nu-2) var(--nu-4); text-decoration: none; }
.nu-skip:focus { top: var(--nu-4); }
@media (min-width: 720px) { .nu-grid-4 { grid-template-columns: repeat(4, 1fr); } }

p, li { text-wrap: pretty; }
section[id], [id].nu-section, h2[id], h3[id] { scroll-margin-top: 88px; }
:where(button, .nu-btn, input, select, textarea, summary) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.nu-btn--lg      { min-height: 56px; padding: 0 1.7rem; font-size: 1.125rem; }
.nu-btn--sm      { min-height: 42px; padding: 0 1rem; font-size: var(--nu-size-small); }
.nu-btn--block   { width: 100%; }

/* --- Barra de navegación --------------------------------------------- */
.nu-nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--nu-bg);
  border-bottom: var(--nu-rule) solid var(--nu-border);
}
.nu-nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--nu-5); min-height: 72px; }
.nu-nav__brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--nu-text); }
.nu-nav__brand svg { height: 30px; width: auto; display: block; }
.nu-nav__links { display: flex; gap: var(--nu-6); align-items: center; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nu-nav__links a { font-weight: 500; text-decoration: none; color: var(--nu-text); }
.nu-nav__links a:hover { text-decoration: underline; color: var(--nu-text); }
@media (max-width: 859px) { .nu-nav__links { display: none; } }

/* --- Cifras ------------------------------------------------------------ */
.nu-stat { display: flex; flex-direction: column; gap: var(--nu-2); }
.nu-stat__n { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; line-height: .95;
              letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--nu-text); }
.nu-stat__n em { font-style: normal; color: var(--nu-accent-text); }
.nu-stat__l { font-size: var(--nu-size-small); color: var(--nu-text-soft); max-width: 28ch; line-height: 1.4; }

/* --- Lista con marca: cuadrado de tinta ---------------------------------- */
.nu-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--nu-3) var(--nu-6); }
@media (min-width: 720px) { .nu-checks--2 { grid-template-columns: 1fr 1fr; } }
.nu-checks li { position: relative; padding-left: 1.6rem; }
.nu-checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--nu-text); }

/* --- Aviso ------------------------------------------------------------- */
.nu-callout { border: var(--nu-rule) solid var(--nu-border); border-left: 14px solid var(--nu-accent);
              padding: var(--nu-5) var(--nu-6); }
.nu-callout--warn { border-left-color: var(--nu-red); }
.nu-callout h3 { margin-bottom: var(--nu-2); }
.nu-callout p:last-child { margin-bottom: 0; }

/* --- Preguntas desplegables ------------------------------------------ */
.nu-details { border-top: var(--nu-rule) solid var(--nu-border); }
.nu-details:last-of-type { border-bottom: var(--nu-rule) solid var(--nu-border); }
.nu-details summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 36px;
                      align-items: center; gap: var(--nu-5); padding: 1.3rem 0;
                      font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.nu-details summary::-webkit-details-marker { display: none; }
.nu-details summary::after { content: "+"; width: 36px; height: 36px; display: grid; place-content: center;
                             border: var(--nu-rule) solid var(--nu-border); font-weight: 500; font-size: 1.4rem; line-height: 1; }
.nu-details[open] summary::after { content: "\2212"; background: var(--nu-text); color: var(--nu-bg); }
.nu-details > :not(summary) { color: var(--nu-text-soft); }
.nu-details > :not(summary):last-child { padding-bottom: var(--nu-5); margin-bottom: 0; }

/* --- Formularios ------------------------------------------------------ */
.nu-field  { display: flex; flex-direction: column; gap: var(--nu-2); }
.nu-label  { font-weight: 600; color: var(--nu-text); line-height: 1.3; }
.nu-hint   { font-size: .9rem; font-weight: 400; color: var(--nu-text-soft); line-height: 1.45; }
.nu-input  { font-family: inherit; font-size: var(--nu-size-body); padding: .7rem .9rem;
             border: var(--nu-rule) solid var(--nu-border); border-radius: 0;
             background: var(--nu-bg); color: var(--nu-text); width: 100%; }
.nu-input:focus-visible { outline: 3px solid var(--nu-focus); outline-offset: 2px; }
.nu-input--num { width: 6.5rem; height: 3.1rem; text-align: center; font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.nu-check  { display: inline-flex; align-items: center; gap: var(--nu-3); font-weight: 600; cursor: pointer; user-select: none; }
.nu-check input { appearance: none; -webkit-appearance: none; width: 30px; height: 30px; margin: 0;
                  border: var(--nu-rule) solid var(--nu-border); border-radius: 0; background: var(--nu-bg); cursor: pointer; }
.nu-check input:checked { background: var(--nu-red); box-shadow: inset 0 0 0 4px var(--nu-bg); }

/* --- Tabla ------------------------------------------------------------ */
.nu-table { width: 100%; border-collapse: collapse; font-size: var(--nu-size-small); font-variant-numeric: tabular-nums; }
.nu-table th, .nu-table td { padding: var(--nu-3) var(--nu-2); text-align: left; border-bottom: 1px solid var(--nu-border); vertical-align: top; }
.nu-table th { font-weight: 700; font-size: var(--nu-size-micro); letter-spacing: var(--nu-track-micro); text-transform: uppercase; color: var(--nu-text);
               border-bottom: var(--nu-rule) solid var(--nu-border); }
.nu-table .nu-r { text-align: right; }
.nu-table tr.nu-total td { font-weight: 700; border-top: var(--nu-rule) solid var(--nu-border); border-bottom: 0; }

/* --- Pie de página (se combina con .nu-dark) -------------------------- */
.nu-footer { padding-block: var(--nu-8) var(--nu-6); font-size: var(--nu-size-small); }
.nu-footer__grid { display: grid; gap: var(--nu-6); }
@media (min-width: 860px) { .nu-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--nu-8); } }
.nu-footer__legal { margin-top: var(--nu-7); padding-top: var(--nu-5); border-top: 1px solid var(--nu-ink-3);
                    font-size: .875rem; color: var(--nu-text-soft); }
.nu-footer__legal p { max-width: none; }
.nu-footer svg { height: 30px; width: auto; display: block; }

/* --- Aparición al hacer scroll --------------------------------------
   Solo con la clase .js en <html>. Úsala con moderación: en la v2 la
   mayoría del contenido debe estar quieto. */
html.js .nu-reveal { opacity: 0; transform: translateY(14px);
                     transition: opacity var(--nu-slow) var(--nu-ease), transform var(--nu-slow) var(--nu-ease); }
html.js .nu-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .nu-reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   8. PIEZAS BAUHAUS (nuevas en la v2.0)
   ========================================================================== */

/* Regla gruesa de tinta entre bloques */
.nu-rule { border: 0; border-top: var(--nu-rule) solid var(--nu-border); margin: 0; }

/* Bloques de color a sangre. El texto encima ya viene resuelto. */
.nu-block--red    { background: var(--nu-red);    color: var(--nu-on-color); --nu-text: var(--nu-on-color); --nu-text-soft: var(--nu-on-color); --nu-border: var(--nu-on-color); }
.nu-block--blue   { background: var(--nu-blue);   color: var(--nu-on-color); --nu-text: var(--nu-on-color); --nu-text-soft: var(--nu-on-color); --nu-border: var(--nu-on-color); }
.nu-block--yellow { background: var(--nu-yellow); color: #171717; --nu-text: #171717; --nu-text-soft: #171717; --nu-border: #171717; }
.nu-block--red a:not(.nu-btn), .nu-block--blue a:not(.nu-btn) { color: var(--nu-on-color); }
/* Dentro de un bloque rojo, el botón principal pasa a papel. */
.nu-block--red .nu-btn--primary { background: var(--nu-on-color); color: #171717; }

/* Formas de composición. Tamaño con width; el alto sale solo. */
.nu-shape { display: block; width: 56px; aspect-ratio: 1; }
.nu-shape--circle   { border-radius: 50%; }
.nu-shape--triangle { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.nu-shape--quarter  { border-bottom-left-radius: 100%; }
.nu-shape--red    { background: var(--nu-red); }
.nu-shape--blue   { background: var(--nu-blue); }
.nu-shape--yellow { background: var(--nu-yellow); }
.nu-shape--ink    { background: var(--nu-text); }

/* Cifra grande */
.nu-big { font-weight: 800; font-size: clamp(4rem, 11vw, 8.5rem); line-height: .9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }

/* Lista de cuadrados (igual que .nu-checks, nombre más claro) */
.nu-sq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--nu-3); }
.nu-sq-list li { position: relative; padding-left: 1.6rem; }
.nu-sq-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--nu-text); }

/* Rejilla de celdas con reglas compartidas */
.nu-cells { display: grid; margin: 0; padding: 0; list-style: none;
            border-top: var(--nu-rule) solid var(--nu-border); border-left: var(--nu-rule) solid var(--nu-border); }
.nu-cells > * { padding: var(--nu-4) 1.1rem; border-right: var(--nu-rule) solid var(--nu-border); border-bottom: var(--nu-rule) solid var(--nu-border); }
@media (min-width: 620px) { .nu-cells--2 { grid-template-columns: repeat(2, 1fr); } .nu-cells--3 { grid-template-columns: repeat(3, 1fr); } }

/* Aviso lateral fino (disclaimers) */
.nu-note { border-left: 14px solid var(--nu-blue); padding: 4px 0 4px 20px; }
.nu-note p:last-child { margin-bottom: 0; }
