/* ==========================================================================
   NEWSON — Clinical Light
   Sistema visual claro, minimalista y tecnológico.
   ========================================================================== */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --surface-3: #e8ebef;
  --ink: #0a0d12;
  --ink-2: #2b313a;
  --muted: #69717d;
  --faint: #9aa1ab;
  --line: rgba(10, 13, 18, .08);
  --line-2: rgba(10, 13, 18, .14);
  --grid: rgba(24, 40, 72, .055);

  --brand: #ea9108;
  --brand-600: #cf7c00;
  --brand-700: #a86300;
  --brand-50: #fff6e8;
  --brand-100: #ffe9c7;
  --ok: #17a36b;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --sh-1: 0 1px 2px rgba(10, 13, 18, .04), 0 1px 1px rgba(10, 13, 18, .03);
  --sh-2: 0 1px 2px rgba(10, 13, 18, .04), 0 8px 24px -8px rgba(10, 13, 18, .08);
  --sh-3: 0 2px 4px rgba(10, 13, 18, .04), 0 24px 60px -20px rgba(10, 13, 18, .18);
  --sh-brand: 0 10px 30px -10px rgba(234, 145, 8, .55);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--ink); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.n-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.n-mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.n-muted { color: var(--faint); }
.n-accent { color: var(--brand); }
.n-lead { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.65; color: var(--muted); max-width: 58ch; }
.n-skip { position: absolute; left: 16px; top: -60px; z-index: 9999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.n-skip:focus { top: 16px; color: #fff; }

.n-live { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.n-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); opacity: 0; animation: nPing 2.2s var(--ease) infinite; }
@keyframes nPing { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.n-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- Botones ---------- */
.n-btn {
  --bh: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.n-btn i { font-size: 12px; transition: transform .3s var(--ease); }
.n-btn:hover i { transform: translateX(3px); }
.n-btn:active { transform: translateY(1px); }
.n-btn--sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.n-btn--primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), var(--sh-brand); }
.n-btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 34px -10px rgba(234,145,8,.7); }
.n-btn--dark { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 20px -10px rgba(10,13,18,.5); }
.n-btn--dark:hover { background: #20252d; color: #fff; }
.n-btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-1); }
.n-btn--ghost:hover { border-color: rgba(10,13,18,.3); color: var(--ink); }
.n-btn[disabled] { opacity: .6; pointer-events: none; }

.n-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.n-link i { font-size: 11px; transition: transform .3s var(--ease); }
.n-link:hover { border-color: var(--brand); }
.n-link:hover i { transform: translateX(3px); }

/* ---------- Progreso de scroll ---------- */
.n-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 1100; pointer-events: none; }
.n-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #ffb84d); }

/* ---------- Navegación ---------- */
.n-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.n-nav.is-scrolled {
  --nav-h: 64px;
  background: rgba(246, 247, 249, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.n-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.n-nav__brand { display: inline-flex; align-items: center; flex: none; }
.n-nav__brand img { height: 38px; width: auto; display: block; }
.n-nav__menu { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; }
.n-nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.n-nav__links a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.n-nav__links a:hover { color: var(--ink); }
.n-nav__links a.is-active { color: var(--ink); background: var(--surface); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.n-nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand); }
.n-nav__actions { display: flex; align-items: center; gap: 10px; }
.n-nav__search {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 14px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.n-nav__search:hover { color: var(--ink); border-color: rgba(10,13,18,.28); }
.n-nav__search i { font-size: 13px; }
.n-nav__search kbd, .n-search kbd {
  font-family: var(--mono); font-size: 10.5px; padding: 3px 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); box-shadow: none;
}
.n-nav__user { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.n-nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); position: relative; cursor: pointer; }
.n-nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.n-nav__toggle span:first-child { top: 17px; }
.n-nav__toggle span:last-child { top: 25px; }
.n-nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.n-nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Búsqueda (Ctrl K) ---------- */
.n-search { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: start center; padding: 12vh 16px 16px; visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility .25s; }
.n-search.is-open { visibility: visible; opacity: 1; }
.n-search__backdrop { position: absolute; inset: 0; border: 0; background: rgba(240, 242, 245, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: default; }
.n-search__dialog { position: relative; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-3); overflow: hidden; transform: translateY(12px) scale(.98); transition: transform .35s var(--ease); }
.n-search.is-open .n-search__dialog { transform: none; }
.n-search__field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.n-search__field i { color: var(--faint); }
.n-search__field input { flex: 1; border: 0; outline: 0; font: 500 17px var(--font); color: var(--ink); background: transparent; min-width: 0; }
.n-search__field input::-webkit-search-cancel-button { display: none; }
.n-search__esc { font: 500 11px var(--mono); text-transform: uppercase; padding: 5px 8px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); cursor: pointer; }
.n-search__results { max-height: 52vh; overflow: auto; padding: 8px; }
.n-search__item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 0; background: transparent; border-radius: 12px; text-align: left; cursor: pointer; color: var(--ink-2); }
.n-search__item.is-active { background: var(--surface-2); }
.n-search__item-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 14px; flex: none; }
.n-search__item.is-active .n-search__item-icon { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); }
.n-search__item strong { display: block; color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.3; }
.n-search__item small { display: block; color: var(--muted); font-size: 13px; }
.n-search__item > i { margin-left: auto; color: var(--faint); font-size: 12px; }
.n-search__empty { padding: 28px; text-align: center; color: var(--muted); }
.n-search__hint { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 12px; }
.n-search__hint kbd { margin-right: 3px; }

/* ---------- Retícula técnica ---------- */
.n-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
}

/* ---------- Hero (inicio) ---------- */
.n-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 88px)); overflow: hidden; background: linear-gradient(180deg, #fbfbfc 0%, var(--bg) 100%); }
.n-hero__glow { position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(234,145,8,.16) 0%, rgba(234,145,8,.05) 38%, transparent 68%); pointer-events: none; filter: blur(10px); }
.n-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.n-hero__copy h1 { font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin: 26px 0 22px; max-width: 13ch; }
.n-hero__copy .n-accent { background: linear-gradient(92deg, var(--brand) 10%, #f5b041 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.n-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.n-hero__trust { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.n-hero__trust .n-mono { color: var(--faint); font-size: 11px; }
.n-hero__trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 12px 0 0; padding: 0; }
.n-hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.n-hero__trust li i { color: var(--ok); font-size: 13px; }
.n-hero__kpis { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 48px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.n-hero__kpis > div { padding-right: clamp(20px, 3vw, 40px); margin-right: clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); }
.n-hero__kpis > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.n-hero__kpis dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 6px; }
.n-hero__kpis dd { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.n-hero__kpis dd small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* Consola / escenario */
.n-stage { perspective: 1400px; }
.n-stage__panel {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: var(--r-xl); background: rgba(255,255,255,.82);
  border: 1px solid var(--line); box-shadow: var(--sh-3), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s var(--ease);
  overflow: hidden;
}
.n-stage__bar, .n-stage__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; color: var(--muted); }
.n-stage__bar { border-bottom: 1px solid var(--line); }
.n-stage__foot { border-top: 1px solid var(--line); color: var(--faint); font-size: 10.5px; }
.n-stage__dots { display: inline-flex; gap: 6px; }
.n-stage__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); display: block; }
.n-stage__dots i:first-child { background: var(--brand); }
.n-stage__status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.n-stage__canvas {
  position: relative; aspect-ratio: 1 / .92; overflow: hidden;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px; background-position: center;
}
.n-cross { position: absolute; width: 14px; height: 14px; }
.n-cross::before, .n-cross::after { content: ""; position: absolute; background: var(--line-2); }
.n-cross::before { left: 6px; top: 0; width: 1px; height: 14px; }
.n-cross::after { top: 6px; left: 0; height: 1px; width: 14px; }
.n-cross--tl { left: 14px; top: 14px; } .n-cross--tr { right: 14px; top: 14px; } .n-cross--bl { left: 14px; bottom: 14px; } .n-cross--br { right: 14px; bottom: 14px; }

.n-orbit { position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }
.n-orbit__ring { fill: none; stroke: rgba(10,13,18,.1); stroke-width: 1; }
.n-orbit__ring--dash { stroke-dasharray: 3 6; stroke: rgba(10,13,18,.16); }
.n-orbit__axis { stroke: rgba(10,13,18,.06); stroke-width: 1; stroke-dasharray: 2 5; }
.n-orbit__spin { transform-origin: 200px 200px; animation: nSpin 14s linear infinite; }
.n-orbit__spin--rev { animation-duration: 60s; animation-direction: reverse; }
@keyframes nSpin { to { transform: rotate(360deg); } }

.n-stage__core { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -12px rgba(234,145,8,.45), inset 0 -8px 20px rgba(234,145,8,.06); display: grid; place-items: center; }
.n-stage__core img { width: 52%; height: auto; position: relative; z-index: 1; }
.n-stage__pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(234,145,8,.5); animation: nPulse 3s var(--ease) infinite; }
@keyframes nPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

/* Nodos sobre la órbita media (r=138/400 del SVG, que ocupa el 78% del lienzo) */
.n-node {
  position: absolute; z-index: 2; display: flex; align-items: center; color: var(--ink);
  left: calc(50% + cos(var(--a)) * 26.9%);
  top: calc(50% + sin(var(--a)) * 29.2%);
  translate: -50% -50%;
}
.n-node__dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-2); font-size: 15px; color: var(--ink); transition: all .3s var(--ease); flex: none; }
.n-node__label { position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid var(--line); }
.n-node:hover .n-node__dot { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--sh-brand); transform: translateY(-2px); }
.n-node:hover .n-node__label { color: var(--ink); }

.n-float { position: absolute; z-index: 3; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: nFloat 7s ease-in-out infinite; }
.n-float--cert { top: 3.5%; right: 3.5%; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.n-float__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.n-float b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.2; }
.n-float small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.n-float__ok { color: var(--ok); font-size: 14px; }
.n-float--ecg { left: 3.5%; bottom: 3.5%; width: min(36%, 200px); padding: 12px 14px; animation-delay: -3.5s; }
.n-float__head, .n-float__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.n-float__head { color: var(--muted); font-size: 10px; }
.n-float__foot { margin-top: 4px; }
.n-float__foot .n-mono { font-size: 10px; color: var(--ok); }
.n-float svg { display: block; width: 100%; height: 44px; margin-top: 6px; }
.n-ecg__base { stroke: var(--line); stroke-width: 1; fill: none; }
.n-ecg { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: nEcg 2.8s linear infinite; }
@keyframes nEcg { 0% { stroke-dashoffset: 420; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }
@keyframes nFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Marquesina de marcas */
.n-marquee { position: relative; margin-top: clamp(56px, 8vw, 96px); padding: 26px 0 30px; border-top: 1px solid var(--line); background: rgba(255,255,255,.5); }
.n-marquee__label { color: var(--faint); margin-bottom: 18px; font-size: 11px; }
.n-marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.n-marquee__track { display: flex; width: max-content; animation: nMarquee 60s linear infinite; }
.n-marquee:hover .n-marquee__track { animation-play-state: paused; }
.n-marquee__item { display: grid; place-items: center; width: 180px; height: 52px; padding: 0 26px; flex: none; }
.n-marquee__item img { max-height: 36px; max-width: 128px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .55; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.n-marquee__item:hover img { filter: none; opacity: 1; }
.n-marquee__item b { font-weight: 600; color: var(--faint); letter-spacing: -.01em; }
@keyframes nMarquee { to { transform: translateX(-50%); } }

/* ---------- Hero de páginas internas ---------- */
.n-page-hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #fbfbfc, var(--bg)); overflow: hidden; border-bottom: 1px solid var(--line); }
.n-page-hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(234,145,8,.12), transparent 65%); pointer-events: none; }
.n-page-hero__inner { position: relative; z-index: 1; }
.n-crumbs { display: flex; align-items: center; gap: 10px; color: var(--faint); margin-bottom: 26px; }
.n-crumbs a:hover { color: var(--ink); }
.n-crumbs b { color: var(--ink-2); font-weight: 500; }
.n-page-hero__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.n-page-hero h1 { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.045em; line-height: 1.03; margin: 0; max-width: 16ch; }
.n-page-hero .n-lead { margin: 0; }
.n-page-hero__meta { display: flex; align-items: center; gap: 16px; margin-top: clamp(32px, 4vw, 52px); color: var(--faint); }
.n-page-hero__meta span:first-child { color: var(--brand); }
.n-page-hero__line { flex: 1; height: 1px; background: var(--line); }

/* ---------- Secciones ---------- */
.n-main { position: relative; }
.n-section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.n-section--tight { padding-block: clamp(36px, 4.5vw, 64px); }
.n-section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.n-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.n-head__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.n-index { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.n-head h2, .n-split h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.n-head p { margin: 20px 0 0; color: var(--muted); font-size: 17px; max-width: 60ch; }
.n-head--row { display: flex; align-items: end; justify-content: space-between; gap: 32px; max-width: none; }
.n-head--row > div { max-width: 820px; }

/* Métricas */
.n-metrics { padding-block: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.n-metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.n-metrics__grid > div { position: relative; padding: clamp(28px, 3.5vw, 44px) clamp(16px, 2.2vw, 32px); border-left: 1px solid var(--line); }
.n-metrics__grid > div:first-child { border-left: 0; padding-left: 0; }
.n-metrics .n-mono { color: var(--faint); font-size: 10.5px; }
.n-metrics strong { display: block; margin: 14px 0 8px; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -.05em; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.n-metrics p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 24ch; }

/* Especialidades */
.n-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.n-spec {
  position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.n-spec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(234,145,8,.08), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.n-spec:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--line-2); color: inherit; }
.n-spec:hover::before { opacity: 1; }
.n-spec__top { display: flex; align-items: center; justify-content: space-between; color: var(--faint); }
.n-spec__arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); font-size: 12px; transition: all .35s var(--ease); }
.n-spec__arrow i { transform: rotate(-45deg); transition: transform .35s var(--ease); }
.n-spec:hover .n-spec__arrow { background: var(--brand); border-color: var(--brand); color: #fff; }
.n-spec:hover .n-spec__arrow i { transform: rotate(0); }
.n-spec__media { flex: 1; display: grid; place-items: center; margin: 10px 0 18px; min-height: 190px; border-radius: var(--r-md); background: radial-gradient(circle at 50% 60%, #fff 0%, var(--surface-2) 70%); }
.n-spec__media img { max-height: 190px; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.n-spec:hover .n-spec__media img { transform: scale(1.05); }
.n-spec__body h3 { font-size: 24px; letter-spacing: -.03em; margin: 0 0 8px; }
.n-spec__body p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.n-spec__tags { display: block; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--faint); font-size: 10.5px; }

/* Split nosotros */
.n-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.n-split .n-lead { margin: 24px 0 0; }
.n-split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.n-timeline-card { position: relative; border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); }
.n-timeline-card__head { display: flex; justify-content: space-between; color: var(--ink-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.n-timeline { list-style: none; margin: 0; padding: 10px 0; position: relative; }
.n-timeline::before { content: ""; position: absolute; left: 82px; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(var(--brand), var(--line-2)); }
.n-timeline li { display: grid; grid-template-columns: 64px 36px 1fr; align-items: center; padding: 16px 0; }
.n-timeline li + li { border-top: 1px dashed var(--line); }
.n-timeline__year { font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 500; }
.n-timeline__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); justify-self: center; position: relative; z-index: 1; }
.n-timeline__text { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.n-timeline-card__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.n-timeline-card__foot div { padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.n-timeline-card__foot strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.n-timeline-card__foot small { color: var(--muted); font-size: 13px; }

/* Pilares */
.n-pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.n-pillar { padding: 32px 28px 8px 0; margin-right: 28px; position: relative; }
.n-pillar + .n-pillar { padding-left: 28px; margin-right: 0; border-left: 1px solid var(--line); }
.n-pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--brand); transition: width .6s var(--ease); }
.n-pillar:hover::before { width: 64px; }
.n-pillar + .n-pillar::before { left: 28px; }
.n-pillar__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); color: var(--ink); margin-bottom: 26px; font-size: 16px; transition: all .35s var(--ease); }
.n-pillar:hover .n-pillar__icon { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); }
.n-pillar h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 10px; }
.n-pillar p { color: var(--muted); font-size: 15px; margin: 0; }

/* Certificaciones */
.n-certs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.n-certs__intro .n-head__meta { margin-bottom: 14px; }
.n-certs__intro h3 { font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -.03em; margin: 0; }
.n-certs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.n-certs__list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); transition: background .3s; }
.n-certs__list li:hover { background: var(--bg); }
.n-certs__logo { width: 48px; height: 48px; display: grid; place-items: center; flex: none; }
.n-certs__logo img { max-width: 48px; max-height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.n-certs__list b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.25; }
.n-certs__list small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }

/* CTA */
.n-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(36px, 6vw, 80px); border-radius: var(--r-xl); background: linear-gradient(135deg, #fff 0%, var(--brand-50) 100%); border: 1px solid var(--brand-100); }
.n-cta::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(234,145,8,.25); box-shadow: 0 0 0 60px rgba(234,145,8,.04), 0 0 0 120px rgba(234,145,8,.03); pointer-events: none; }
.n-cta .n-hero__grid { -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.n-cta__copy, .n-cta__actions { position: relative; z-index: 1; }
.n-cta h2 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.04em; max-width: 20ch; margin: 22px 0 0; }
.n-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; flex: none; }

/* ---------- Footer ---------- */
.n-footer { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); }
.n-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(28px, 4vw, 56px); }
.n-footer__brand img { height: 40px; width: auto; }
.n-footer__brand p { color: var(--muted); font-size: 15px; margin: 20px 0 22px; max-width: 34ch; }
.n-footer__social { display: flex; gap: 8px; }
.n-footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; transition: all .25s var(--ease); }
.n-footer__social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.n-footer__col h3 { color: var(--faint); margin-bottom: 18px; font-size: 11px; }
.n-footer__col a { display: block; width: fit-content; color: var(--ink-2); font-size: 15px; padding: 4px 0; }
.n-footer__col a:hover { color: var(--brand-600); }
.n-footer__contact p { display: flex; gap: 12px; margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.n-footer__contact p i { width: 14px; margin-top: 5px; color: var(--brand); font-size: 13px; flex: none; }
.n-footer__contact p a { padding: 0; }
.n-footer__certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.n-footer__certs span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 10.5px; background: var(--bg); }
.n-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; margin-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.n-footer__bottom p { margin: 0; }
.n-footer__bottom div { display: flex; flex-wrap: wrap; gap: 22px; }
.n-footer__bottom a:hover { color: var(--ink); }
.n-footer__wordmark { font-size: clamp(90px, 21vw, 320px); line-height: .72; font-weight: 700; letter-spacing: -.07em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(10,13,18,.07); background: linear-gradient(180deg, rgba(10,13,18,.05), transparent 80%); -webkit-background-clip: text; background-clip: text; user-select: none; margin-top: 10px; transform: translateY(18%); }

/* Volver arriba */
.n-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--sh-2); color: var(--ink); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .35s var(--ease); }
.n-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.n-top:hover { background: var(--ink); color: #fff; }

/* ---------- Modal ---------- */
.n-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; }
.n-modal.is-open { visibility: visible; opacity: 1; }
.n-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(240,242,245,.75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: default; }
.n-modal__box { position: relative; width: min(560px, 100%); padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); transform: translateY(14px) scale(.98); transition: transform .4s var(--ease); }
.n-modal.is-open .n-modal__box { transform: none; }
.n-modal__close { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.n-modal__close:hover { background: var(--ink); color: #fff; }
.n-modal__kicker { color: var(--brand-600); }
.n-modal h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; margin: 10px 0 8px; padding-right: 40px; }
.n-modal p { color: var(--muted); }
.n-modal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 22px; }
.n-modal__grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); font-weight: 500; color: var(--ink); transition: all .25s var(--ease); }
.n-modal__grid a i { font-size: 12px; color: var(--faint); }
.n-modal__grid a:hover { border-color: var(--brand); background: var(--brand-50); }
.n-modal__grid a:hover i { color: var(--brand); }

/* ---------- Animación de aparición ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */

/* ---------- Nosotros ---------- */
.n-split--top { align-items: start; }
.n-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.n-stat { position: relative; padding: clamp(22px, 3vw, 34px); background: var(--surface); transition: background .3s; }
.n-stat:hover { background: #fcfcfd; }
.n-stat i { position: absolute; right: 22px; top: 22px; color: var(--faint); font-size: 15px; transition: color .3s; }
.n-stat:hover i { color: var(--brand); }
.n-stat strong { display: block; margin-top: 36px; font-size: clamp(36px, 4vw, 52px); letter-spacing: -.05em; line-height: 1; color: var(--ink); font-weight: 600; }
.n-stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

.n-sticky-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.n-sticky-split__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.n-sticky-split__head h2 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.n-sticky-split__head p { color: var(--muted); font-size: 17px; margin: 20px 0 0; max-width: 42ch; }
.n-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.n-row { display: grid; grid-template-columns: 44px 48px 1fr; gap: 18px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.n-row:hover { padding-left: 8px; }
.n-row__num { color: var(--faint); padding-top: 14px; }
.n-row__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--ink); transition: all .35s var(--ease); }
.n-row:hover .n-row__icon { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.n-row h3 { font-size: 20px; letter-spacing: -.02em; margin: 2px 0 8px; }
.n-row p { color: var(--muted); margin: 0; font-size: 15.5px; }

.n-htrack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.n-htrack::before { content: ""; position: absolute; left: 0; right: 0; top: 47px; height: 1px; background: linear-gradient(90deg, var(--brand), var(--line-2) 60%, transparent); }
.n-htrack li { position: relative; padding-right: 24px; }
.n-htrack__year { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-bottom: 18px; }
.n-htrack__node { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); box-shadow: 0 0 0 6px var(--bg); margin: 0 0 26px; }
.n-htrack li:first-child .n-htrack__node { background: var(--brand); }
.n-htrack h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 8px; }
.n-htrack p { color: var(--muted); font-size: 15px; margin: 0; }

.n-tabs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.n-tabs__nav { display: flex; flex-direction: column; gap: 4px; }
.n-tabs__nav button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: var(--muted); font: 600 22px var(--font); letter-spacing: -.03em; text-align: left; cursor: pointer; transition: all .25s var(--ease); }
.n-tabs__nav button small { font-size: 10px; color: var(--faint); font-weight: 500; }
.n-tabs__nav button:hover { color: var(--ink); background: var(--bg); }
.n-tabs__nav button.is-active { color: var(--ink); background: var(--bg); border-color: var(--line); box-shadow: inset 3px 0 0 var(--brand); }
.n-tabs__nav button.is-active small { color: var(--brand-700); }
.n-tabs__panel { display: grid; gap: 10px; animation: nFadeUp .5s var(--ease); }
.n-tabs__panel[hidden] { display: none; }
@keyframes nFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.n-award { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); transition: border-color .25s, background .25s; }
.n-award:hover { border-color: var(--brand-100); background: #fff; }
.n-award__year { color: var(--brand-700); font-size: 13px; }
.n-award b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.n-award p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.n-award > i { color: var(--faint); font-size: 14px; }
.n-award:hover > i { color: var(--brand); }

.n-purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(80px, 10vw, 140px); }
.n-purpose__card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); min-height: 440px; display: flex; flex-direction: column; }
.n-purpose__card h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; line-height: 1.12; margin: 8px 0 18px; max-width: 20ch; position: relative; }
.n-purpose__card p { color: var(--muted); max-width: 46ch; position: relative; }
.n-purpose__card--vision { background: linear-gradient(160deg, #fff 30%, var(--brand-50)); border-color: var(--brand-100); }
.n-purpose__rings { position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; pointer-events: none; }
.n-purpose__rings circle { fill: none; stroke: rgba(234,145,8,.22); stroke-width: 1; }
.n-purpose__rings circle.dash { stroke-dasharray: 3 6; }
.n-purpose__rings .n-orbit__spin circle { stroke: #EA9108; stroke-width: 2; }
.n-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; position: relative; }
.n-chips span { padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); }
.n-purpose__card--vision .n-chips span { background: rgba(255,255,255,.8); }

.n-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.n-value, .n-doc { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.n-value::before, .n-doc::before, .n-brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(234,145,8,.07), transparent 50%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.n-value:hover, .n-doc:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line-2); }
.n-value:hover::before, .n-doc:hover::before, .n-brand:hover::before { opacity: 1; }
.n-value__top, .n-doc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.n-value__top .n-pillar__icon, .n-doc__top .n-pillar__icon { margin: 0; }
.n-value:hover .n-pillar__icon, .n-doc:hover .n-pillar__icon { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); }
.n-value h3, .n-doc h3 { font-size: 21px; letter-spacing: -.025em; margin: 0 0 10px; }
.n-value p, .n-doc p { color: var(--muted); font-size: 15px; margin: 0; }
.n-head--values { margin-bottom: 44px; }

.n-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.n-doc { display: flex; flex-direction: column; background: var(--bg); box-shadow: none; }
.n-doc p { margin-bottom: 26px; }
.n-doc .n-btn { margin-top: auto; align-self: flex-start; }
.n-banner { display: flex; align-items: center; gap: 20px; margin-top: 16px; padding: 22px 26px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--surface); }
.n-banner__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; }
.n-banner div { flex: 1; }
.n-banner strong { color: var(--ink); font-weight: 600; }
.n-banner p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.n-cert-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.n-cert { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 14px 24px; background: var(--surface); transition: background .3s; }
.n-cert:hover { background: var(--bg); }
.n-cert__logo { height: 72px; display: grid; place-items: center; margin-bottom: 16px; }
.n-cert__logo img { max-height: 68px; max-width: 96px; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.n-cert:hover .n-cert__logo img { transform: scale(1.06); }
.n-cert b { color: var(--ink); font-size: 15px; font-weight: 600; }
.n-cert small { color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.n-carbon { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: linear-gradient(135deg, #fff, #eef8f2); border: 1px solid rgba(23,163,107,.18); }
.n-carbon__media { display: grid; place-items: center; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.n-carbon__media img { max-height: 200px; width: auto; object-fit: contain; }
.n-carbon .n-index { background: rgba(23,163,107,.1); color: var(--ok); border-color: rgba(23,163,107,.2); }
.n-carbon h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; margin: 0 0 10px; }
.n-carbon p { color: var(--muted); max-width: 52ch; }
.n-chip-ok { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid rgba(23,163,107,.25); color: var(--ok); font-weight: 500; font-size: 13.5px; }

/* ---------- Representaciones ---------- */
.n-reps-count { display: flex; align-items: center; gap: 14px; flex: none; }
.n-reps-count strong { font-size: clamp(56px, 6vw, 88px); letter-spacing: -.06em; line-height: .9; color: var(--ink); font-weight: 600; }
.n-reps-count .n-mono { color: var(--muted); line-height: 1.5; }
.n-brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); }
.n-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 22px; background: var(--surface); transition: background .3s; }
.n-brand:hover { background: #fcfcfd; color: inherit; }
.n-brand__logo { flex: 1; display: grid; place-items: center; padding: 14px 8px 20px; }
.n-brand__logo img { max-height: 46px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .35s, opacity .35s, transform .45s var(--ease); }
.n-brand:hover .n-brand__logo img { filter: none; opacity: 1; transform: scale(1.04); }
.n-brand__meta { display: block; border-top: 1px dashed var(--line); padding-top: 12px; }
.n-brand__meta b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.n-brand__meta small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }

.n-profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.n-profile { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); transition: border-color .3s, box-shadow .3s, background .3s; }
.n-profile:hover, .n-profile:target { background: #fff; border-color: var(--line-2); box-shadow: var(--sh-2); }
.n-profile:target { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50), var(--sh-2); }
.n-profile__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.n-profile__logo { display: grid; place-items: center; width: 112px; height: 56px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.n-profile__logo img { max-height: 36px; max-width: 88px; object-fit: contain; mix-blend-mode: multiply; }
.n-profile h3 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 6px; }
.n-profile__tag { align-self: flex-start; font-size: 12.5px; font-weight: 500; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 3px 10px; border-radius: 999px; margin-bottom: 16px; }
.n-profile p { color: var(--muted); font-size: 15px; }
.n-profile ul { list-style: none; margin: 0 0 24px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.n-profile li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.n-profile li i { color: var(--ok); font-size: 11px; margin-top: 5px; }
.n-profile .n-link { margin-top: auto; align-self: flex-start; }
.n-pillars--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Contacto ---------- */
.n-contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.n-form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.n-form-card h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; margin: 0 0 8px; }
.n-form-card__lead { color: var(--muted); margin-bottom: 30px; }
.n-form { display: grid; gap: 22px; }
.n-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.n-field { display: grid; gap: 8px; margin: 0; }
.n-field--full { grid-column: 1 / -1; }
.n-field > span, .n-choices legend { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.n-field input, .n-field textarea, .n-field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg);
  font: 400 15.5px var(--font); color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.n-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%2369717d'%3E%3Cpath d='M1.6 4.6a.5.5 0 0 1 .7 0L8 10.3l5.6-5.7a.5.5 0 0 1 .8.7l-6 6a.5.5 0 0 1-.8 0l-6-6a.5.5 0 0 1 0-.7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.n-field textarea { resize: vertical; min-height: 140px; }
.n-field input::placeholder, .n-field textarea::placeholder { color: var(--faint); }
.n-field input:hover, .n-field textarea:hover, .n-field select:hover { border-color: rgba(10,13,18,.24); }
.n-field input:focus, .n-field textarea:focus, .n-field select:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(234,145,8,.14); }
.n-choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.n-choices legend { float: none; width: auto; margin-bottom: 10px; padding: 0; }
.n-choices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.n-choice { position: relative; margin: 0; cursor: pointer; }
.n-choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.n-choice span { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: all .2s var(--ease); }
.n-choice span i { color: var(--faint); font-size: 13px; width: 16px; text-align: center; transition: color .2s; }
.n-choice:hover span { border-color: rgba(10,13,18,.26); }
.n-choice input:checked + span { background: var(--brand-50); border-color: var(--brand); color: var(--ink); box-shadow: 0 0 0 3px rgba(234,145,8,.12); }
.n-choice input:checked + span i { color: var(--brand); }
.n-choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.n-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.n-check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; margin: 0; max-width: 46ch; }
.n-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.n-check__box { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; flex: none; margin-top: 1px; transition: all .2s; }
.n-check__box i { font-size: 10px; color: #fff; opacity: 0; transform: scale(.5); transition: all .2s var(--ease); }
.n-check input:checked + .n-check__box { background: var(--brand); border-color: var(--brand); }
.n-check input:checked + .n-check__box i { opacity: 1; transform: none; }
.n-check input:focus-visible + .n-check__box { outline: 2px solid var(--brand); outline-offset: 2px; }
.n-form-msg .alert, .n-alert { border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2); padding: 14px 16px; font-size: 14.5px; margin: 0 0 22px; }
.n-form-msg .alert-success { background: #eef8f2; border-color: rgba(23,163,107,.3); color: #0e6b46; }
.n-form-msg .alert-danger, .n-alert--error { background: #fdf0ef; border-color: rgba(214,69,54,.3); color: #9c2b20; }
.n-form-msg .alert p { margin: 6px 0 0; }

.n-contact__side { position: sticky; top: calc(var(--nav-h) + 24px); }
.n-info-card { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; }
.n-info-card__map { aspect-ratio: 4 / 3; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.n-info-card__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.85) contrast(1.05); transition: filter .4s; }
.n-info-card__map:hover iframe { filter: none; }
.n-info-card__body { padding: 26px 28px 28px; }
.n-info-card__body h3 { font-size: 22px; letter-spacing: -.03em; margin: 8px 0 18px; }
.n-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.n-info-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.n-info-list i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 12px; flex: none; }
.n-info-list a:hover, .n-info-card__sub a:hover { color: var(--brand-600); }
.n-info-card__sub { display: grid; gap: 4px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); word-break: break-word; }

.n-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.n-dir { position: relative; display: grid; gap: 6px; padding: 26px 28px; background: var(--surface); transition: background .3s; }
.n-dir:hover { background: var(--bg); color: inherit; }
.n-dir b { font-size: 20px; letter-spacing: -.025em; color: var(--ink); font-weight: 600; margin-top: 12px; }
.n-dir__mail { color: var(--muted); font-size: 15px; }
.n-dir__arrow { position: absolute; right: 24px; top: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink); transition: all .3s var(--ease); }
.n-dir__arrow i { transform: rotate(-45deg); transition: transform .3s var(--ease); }
.n-dir:hover .n-dir__arrow { background: var(--brand); border-color: var(--brand); color: #fff; }
.n-dir:hover .n-dir__arrow i { transform: none; }

/* ---------- Acceso / registro ---------- */
.n-auth__card { width: min(460px, 100%); margin: 0 auto; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); }
.n-auth__card--wide { width: min(720px, 100%); }
.n-auth__card--center { text-align: center; display: grid; justify-items: center; gap: 10px; }
.n-auth__card--center p { color: var(--muted); }
.n-auth__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.n-auth__head .n-pillar__icon { margin: 0; color: var(--brand); background: var(--brand-50); border-color: var(--brand-100); }
.n-auth__head h2 { font-size: 26px; letter-spacing: -.035em; margin: 0; }
.n-auth__head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.n-auth__submit { width: 100%; }
.n-auth__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.n-auth__links a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.n-auth__links a:hover { border-color: var(--brand); }
.n-auth__ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #eef8f2; color: var(--ok); font-size: 24px; box-shadow: 0 0 0 8px rgba(23,163,107,.06); margin-bottom: 8px; }
.n-auth__card--center h2 { font-size: 30px; letter-spacing: -.035em; margin: 0; }
.n-auth__card--center .n-btn { margin-top: 12px; }

/* ==========================================================================
   CATÁLOGO DE PRODUCTOS (markup heredado + contenido AJAX)
   ========================================================================== */
.page-productos .n-main { padding-block: clamp(32px, 4vw, 56px) clamp(72px, 9vw, 120px); }
.page-productos .seccion-productos { padding: 0; font-family: var(--font); }
.page-productos .seccion-productos > .container { max-width: calc(var(--container) + var(--gutter) * 2); padding-inline: var(--gutter); }
.page-productos .txt_shadow { text-shadow: none !important; }

/* Pestañas de especialidad: control segmentado */
.page-productos #productos > div { width: 100%; flex: 0 0 100%; max-width: 100%; }
.page-productos .seccion-productos .navbar { padding: 0 !important; position: sticky; top: calc(var(--nav-h) + 12px); z-index: 50; }
.page-productos .seccion-productos .navbar-toggler { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; background: var(--surface); box-shadow: none; }
.page-productos #navbar_prods { margin: 0 !important; }
.page-productos .seccion-productos .nav-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto; padding: 5px; border: 1px solid var(--line) !important;
  border-radius: 999px; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sh-2);
}
.page-productos .seccion-productos .nav-tabs > li { margin: 0 !important; }
.page-productos .seccion-productos .nav-tabs > li a,
.page-productos .seccion-productos .nav-tabs .nav-link {
  border: 0 !important; border-radius: 999px !important; background: transparent !important; color: var(--muted) !important;
  padding: 10px 18px !important; margin: 0 !important; transition: all .25s var(--ease);
}
.page-productos .seccion-productos .nav-tabs .nav-link span { display: inline-block; font-family: var(--font) !important; font-size: 14px !important; font-weight: 500 !important; text-transform: lowercase !important; letter-spacing: -.005em; }
.page-productos .seccion-productos .nav-tabs .nav-link span::first-letter { text-transform: uppercase; }
.page-productos .seccion-productos .nav-tabs .nav-link:hover { color: var(--ink) !important; background: var(--bg) !important; }
.page-productos .seccion-productos .nav-tabs .nav-link.active { color: #fff !important; background: var(--ink) !important; box-shadow: 0 6px 16px -8px rgba(10,13,18,.6); }

/* Introducción de cada especialidad */
.page-productos .tab-pane > .row:first-child {
  align-items: center; margin: 32px 0 32px !important; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.page-productos .tab-pane > .row:first-child p,
.page-productos .tab-pane p.f18 { font-size: 16px !important; line-height: 1.65; color: var(--muted); text-align: left !important; margin-bottom: .8em; font-family: var(--font) !important; }
.page-productos .tab-pane > .row:first-child img { border-radius: var(--r-md); }
@media (min-width: 768px) { .page-productos .tab-pane > .row:first-child > [class*="col-"] { flex: 1 1 0; width: auto; max-width: none; } .page-productos .tab-pane > .row:first-child > .img_top, .page-productos .tab-pane > .row:first-child > [class*="col-"]:has(> img) { flex: 0 0 30%; } }
.n-logo-text { font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--muted); }
.page-productos .fg_newson { color: var(--brand-600) !important; font-weight: 600; }

/* Menú lateral en acordeón */
.page-productos .accordion {
  --bs-accordion-bg: transparent; --bs-accordion-border-color: transparent; --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--ink); --bs-accordion-btn-padding-y: .65rem; --bs-accordion-btn-padding-x: .9rem;
}
.page-productos [id$="Menu"].accordion { position: sticky; top: calc(var(--nav-h) + 90px); padding: 8px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.page-productos .accordion-item { padding-left: 0 !important; background: transparent; border: 0 !important; }
.page-productos .accordion .accordion .accordion-item { padding-left: 8px !important; border-left: 1px solid var(--line) !important; margin-left: 12px; border-radius: 0; }
.page-productos .accordion-header { margin: 0; }
.page-productos .accordion-button {
  font-family: var(--font); font-size: 14.5px !important; font-weight: 500; color: var(--ink-2); border-radius: 10px !important; background: transparent; box-shadow: none !important;
  transition: background .2s, color .2s;
}
.page-productos .accordion .accordion .accordion-button { font-size: 13.5px !important; font-weight: 400; color: var(--muted); padding-block: .5rem; }
.page-productos .accordion-button:hover { background: var(--bg); color: var(--ink); }
.page-productos .accordion-button:not(.collapsed) { background: var(--brand-50); color: var(--ink); font-weight: 600; }
.page-productos .accordion .accordion .accordion-button:not(.collapsed) { background: transparent; color: var(--brand-700); font-weight: 500; }
.page-productos .accordion-body { padding: 4px 0 6px !important; }
.page-productos .accordion-button::after { background-size: .75rem; }

/* Área de contenido y carrusel */
.page-productos .carousel-item > .row { margin: 0; padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.page-productos .col_img img, .page-productos .carousel img { mix-blend-mode: multiply; border-radius: var(--r-sm); }
.page-productos .carousel-caption.col_desc { position: static; color: var(--ink-2); text-align: left; padding: 0; }
.page-productos .col_desc h1, .page-productos .col_desc h2, .page-productos .col_desc h3 { font-size: 26px; letter-spacing: -.03em; color: var(--ink); }
.page-productos .col_desc h4, .page-productos h4.f14 { font-family: var(--mono) !important; font-size: 11.5px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--faint) !important; font-weight: 500; }
.page-productos .col_desc h4 span { color: var(--ink) !important; margin-left: 6px; }
.page-productos .txt_justify { text-align: left; color: var(--muted); font-size: 15.5px; }
.page-productos .p_tit { font-weight: 600; color: var(--ink); margin: 14px 0 4px; }
.page-productos .carousel-control-prev, .page-productos .carousel-control-next { width: 44px; height: 44px; top: 50%; translate: 0 -50%; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-2); opacity: 1; }
.page-productos .carousel-control-prev { left: -14px; }
.page-productos .carousel-control-next { right: -14px; }
.page-productos .carousel-control-prev-icon, .page-productos .carousel-control-next-icon { width: 14px; height: 14px; filter: invert(1); }
.page-productos .carousel-indicators { position: static; margin: 14px 0 0; gap: 6px; justify-content: flex-start; }
.page-productos .carousel-indicators img { border-radius: 8px !important; border: 1px solid var(--line-2) !important; background: #fff; }
.page-productos .placa_des, .page-productos .placa_uso { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 13px; margin: 0 6px 8px 0; color: var(--ink-2); }
.page-productos #nav_page .pagination { gap: 4px; }
.page-productos #nav_page .page-link { border-radius: 8px !important; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px !important; }
.page-productos #nav_page .active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-productos p.title { font-size: 13px !important; font-weight: 500; color: var(--ink-2); }
.page-productos .img-thumbnail { border-radius: var(--r-sm); border-color: var(--line); padding: 8px; }
.page-productos .bg_newson { background: var(--brand) !important; border-radius: 999px; }
.page-productos #the_detail { margin-top: 20px; }
.page-productos [id^="detail_"] h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; }

/* Compatibilidad con clases heredadas */
.fg_newson { color: var(--brand-600); }
.bg_newson { background: var(--brand); }
.txt_b, .txt_bold { font-weight: 600; }
.f14 { font-size: 14px; }
.f18 { font-size: 18px; }
.f20 { font-size: 20px; }
.f24 { font-size: 24px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .n-nav__search span, .n-nav__search kbd { display: none; }
  .n-nav__search { width: 40px; padding: 0; justify-content: center; }
  .n-brand-grid { grid-template-columns: repeat(4, 1fr); }
  .n-cert-grid { grid-template-columns: repeat(4, 1fr); }
  .n-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 64px; }
  .n-nav__toggle { display: block; margin-left: auto; }
  .n-nav__menu {
    position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px var(--gutter) 32px; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .n-nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .n-nav__menu { height: calc(100dvh - var(--nav-h)); }
  .n-nav.is-menu-open { background: var(--bg); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .n-nav__links { flex-direction: column; align-items: stretch; margin: 0; padding: 0; border: 0; background: transparent; gap: 0; }
  .n-nav__links a { padding: 18px 4px; border-radius: 0; font-size: 26px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); border-bottom: 1px solid var(--line); }
  .n-nav__links a.is-active { background: transparent; box-shadow: none; color: var(--brand-600); }
  .n-nav__links a.is-active::after { display: none; }
  .n-nav__actions { flex-direction: column; align-items: stretch; }
  .n-nav__search { width: 100%; height: 50px; padding: 0 16px; justify-content: flex-start; }
  .n-nav__search span { display: inline; }
  .n-nav__actions .n-btn { --bh: 52px; font-size: 16px; }

  .n-hero__inner { grid-template-columns: 1fr; }
  .n-hero__copy h1 { max-width: 16ch; }
  .n-stage { max-width: 640px; }
  .n-page-hero__row { grid-template-columns: 1fr; }
  .n-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .n-split, .n-sticky-split, .n-contact { grid-template-columns: 1fr; }
  .n-sticky-split__head, .n-contact__side { position: static; }
  .n-pillars { grid-template-columns: 1fr 1fr; }
  .n-pillar, .n-pillar + .n-pillar { padding: 28px 24px 28px 0; margin: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .n-pillar:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .n-pillar + .n-pillar::before { left: 0; }
  .n-pillar:nth-child(even)::before { left: 24px; }
  .n-certs { grid-template-columns: 1fr; }
  .n-cta { flex-direction: column; align-items: flex-start; }
  .n-metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .n-metrics__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .n-metrics__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .n-htrack { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .n-htrack::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; background: linear-gradient(var(--brand), var(--line-2)); }
  .n-htrack li { padding: 0 0 32px; }
  .n-htrack__node { position: absolute; left: -28px; top: 4px; margin: 0; }
  .n-htrack__year { margin-bottom: 6px; }
  .n-tabs { grid-template-columns: 1fr; }
  .n-tabs__nav { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .n-tabs__nav button { flex: none; font-size: 18px; gap: 14px; }
  .n-tabs__nav button.is-active { box-shadow: inset 0 -2px 0 var(--brand); }
  .n-purpose, .n-docs { grid-template-columns: 1fr; }
  .n-values, .n-profiles, .n-directory { grid-template-columns: repeat(2, 1fr); }
  .n-brand-grid { grid-template-columns: repeat(3, 1fr); }
  .n-head--row { flex-direction: column; align-items: flex-start; }

  .page-productos .seccion-productos .navbar { position: static; }
  .page-productos .seccion-productos .nav-tabs { border-radius: var(--r-lg); }
  .page-productos [id$="Menu"].accordion { position: static; }
}

@media (max-width: 767px) {
  .page-productos [id$="_prods"] > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; width: 100%; }
  .page-productos [id$="Menu"].accordion { margin-bottom: 24px; }
  .page-productos .carousel-item .col-6, .page-productos .carousel-item .col-5 { flex: 0 0 100%; max-width: 100%; width: 100%; }
}

@media (max-width: 640px) {
  .n-mono { font-size: 10.5px; }
  .n-nav__brand img { height: 32px; }
  .n-hero__copy h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .n-hero__actions .n-btn { flex: 1 1 auto; }
  .n-stage__bar .n-mono { display: none; }
  .n-node__dot { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
  .n-node__label { font-size: 10.5px; padding: 1px 6px; }
  .n-float--cert { padding: 8px 10px 8px 8px; gap: 8px; }
  .n-float__icon { width: 28px; height: 28px; }
  .n-float b { font-size: 12.5px; }
  .n-float small { font-size: 10.5px; }
  .n-float--ecg { display: none; }
  .n-orbit { width: 84%; }
  .n-node { left: calc(50% + cos(var(--a)) * 29%); top: calc(50% + sin(var(--a)) * 31.5%); }
  .n-stage__foot span:last-child { display: none; }
  .n-marquee__item { width: 140px; padding: 0 18px; }
  .n-spec-grid, .n-pillars, .n-pillars--3, .n-values, .n-profiles, .n-directory, .n-stat-grid { grid-template-columns: 1fr; }
  .n-spec { min-height: 0; }
  .n-pillar, .n-pillar + .n-pillar, .n-pillar:nth-child(even) { padding: 26px 0; border-left: 0; }
  .n-pillar:nth-child(even)::before { left: 0; }
  .n-metrics__grid > div { padding-left: 0 !important; padding-right: 12px; border-left: 0; }
  .n-metrics__grid > div:nth-child(even) { padding-left: 16px !important; border-left: 1px solid var(--line); }
  .n-certs__list { grid-template-columns: 1fr 1fr; }
  .n-certs__list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .n-timeline::before { left: 70px; }
  .n-timeline li { grid-template-columns: 52px 36px 1fr; }
  .n-timeline-card__foot { grid-template-columns: 1fr; }
  .n-row { grid-template-columns: 48px 1fr; }
  .n-row__num { display: none; }
  .n-award { grid-template-columns: 1fr; gap: 6px; }
  .n-award > i { display: none; }
  .n-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .n-carbon { grid-template-columns: 1fr; }
  .n-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .n-brand { min-height: 150px; padding: 16px; }
  .n-banner { flex-direction: column; align-items: flex-start; }
  .n-form__grid, .n-choices__grid { grid-template-columns: 1fr 1fr; }
  .n-form__grid .n-field { grid-column: 1 / -1; }
  .n-form__foot { flex-direction: column; align-items: stretch; }
  .n-form__foot .n-btn { width: 100%; }
  .n-modal__grid { grid-template-columns: 1fr; }
  .n-footer__top { grid-template-columns: 1fr; }
  .n-footer__bottom { flex-direction: column; align-items: flex-start; }
  .n-search { padding-top: 10vh; }
  .n-search__hint { display: none; }
  .n-top { right: 14px; bottom: 14px; }
}
