/* ============================================================
   Growth eCommerce Intelligence — sitio comercial
   Modo: Persuade · data-driven premium · ES
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg: oklch(1 0 0);
  --surface: oklch(0.982 0.006 160);
  --surface-2: oklch(0.965 0.008 160);
  --line: oklch(0.905 0.008 160);
  --line-strong: oklch(0.855 0.010 160);

  /* ink */
  --ink: oklch(0.20 0.010 165);
  --ink-body: oklch(0.36 0.012 165);
  --ink-muted: oklch(0.50 0.012 165);

  /* brand */
  --primary: oklch(0.40 0.085 158);
  --primary-strong: oklch(0.33 0.078 158);
  --primary-deep: oklch(0.185 0.032 160);
  --primary-deep-2: oklch(0.135 0.026 162);

  /* signals */
  --upside: oklch(0.86 0.19 128);
  --upside-ink: oklch(0.30 0.10 130);
  --leak: oklch(0.55 0.15 30);
  --leak-ink: oklch(0.44 0.15 30);
  --leak-soft: oklch(0.965 0.018 45);

  /* on dark */
  --on-dark: oklch(0.96 0.010 160);
  --on-dark-muted: oklch(0.80 0.016 160);
  --on-dark-line: oklch(0.30 0.020 162);

  /* type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  /* rhythm */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.25rem, 5.5vw, 5.5rem);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* z-scale */
  --z-nav: 200;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--upside); color: var(--primary-deep-2); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  font-weight: 700;
}
p { margin: 0; text-wrap: pretty; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 0.75rem; top: -100px; z-index: 999;
  background: var(--primary); color: oklch(0.98 0.01 160);
  padding: 0.7rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus-visible { top: 0.75rem; outline: 3px solid var(--upside); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}
.section-head { max-width: 48rem; margin-bottom: clamp(1.75rem, 3.2vw, 2.6rem); }
.section-head h2 { font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.7rem); }
.section-head p { margin-top: 1.2rem; font-size: 1.1rem; color: var(--ink-body); max-width: 60ch; }

.lead { font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.4rem); color: var(--ink-body); line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:focus-visible { outline: 3px solid var(--upside); outline-offset: 3px; }
.btn-primary { background: var(--primary); color: oklch(0.98 0.01 160); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); box-shadow: 0 12px 28px -12px oklch(0.40 0.085 158 / .55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.05rem; }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-on-dark.btn-primary { background: var(--upside); color: var(--primary-deep-2); }
.btn-on-dark.btn-primary:hover { background: oklch(0.90 0.19 128); box-shadow: 0 14px 30px -12px oklch(0.86 0.19 128 / .5); }
.btn-on-dark.btn-ghost { color: var(--on-dark); border-color: var(--on-dark-line); }
.btn-on-dark.btn-ghost:hover { border-color: var(--upside); color: var(--upside); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in oklch, var(--bg) 93%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-size: 0.94rem; color: var(--ink-body); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a:focus-visible, .footer-links a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; color: var(--ink); }
.nav-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }
.logo svg { width: 30px; height: 30px; border-radius: 8px; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.logo-word b { color: var(--primary); font-weight: 700; }
.logo-sub {
  display: block; margin-top: 4px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--primary); line-height: 1;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.25rem, 3.5vw, 3.25rem); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 {
  font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-weight: 800;
  max-width: 18ch;
}
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.06em; height: 0.24em;
  background: var(--upside); z-index: -1; border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .85s var(--ease-out) .7s;
}
.hero h1.in em::after { transform: scaleX(1); }
.hero-lead { margin-top: 1.5rem; max-width: 46ch; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-note { margin-top: 1.6rem; font-size: 0.9rem; color: var(--ink-muted); display: flex; align-items: center; gap: 0.5rem; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--upside); box-shadow: 0 0 0 4px oklch(0.86 0.19 128 / .2); flex: none; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1.2rem; padding: 0.42rem 0.9rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--primary); line-height: 1;
}
.hero-tag .tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--upside); flex: none; }
.hero-clarify {
  font-size: 0.95rem; color: var(--ink-body); line-height: 1.55; max-width: 74ch;
  padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.hero-clarify b { color: var(--ink); font-weight: 600; }

/* hero visual */
.hero-visual { position: relative; }
.shot {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 0;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px oklch(0.20 0.03 160 / .35), 0 8px 24px -12px oklch(0.20 0.03 160 / .2);
  background: var(--surface);
}
.shot img { width: 100%; height: auto; }
/* anonymize overlays positioned over client identifiers */
.shot .anon {
  position: absolute; background: var(--primary-deep);
  color: var(--on-dark); font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.06em; display: flex; align-items: center; padding: 0 0.5rem;
  border-radius: 5px; white-space: nowrap;
}
.shot .anon.top { top: 1.7%; left: 16.5%; height: 3.4%; }
.shot .anon.foot { bottom: 1.5%; left: 1.2%; width: 15%; height: 6.5%; border-radius: 8px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; line-height: 1.2; }

.hero-chip {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.85rem 1.1rem;
  box-shadow: 0 20px 40px -20px oklch(0.20 0.03 160 / .4);
  display: flex; align-items: center; gap: 0.8rem; max-width: 21rem;
}
.hero-chip .big { font-family: var(--font-mono); font-weight: 500; font-size: 1.35rem; color: var(--primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-chip .lbl { font-size: 0.76rem; color: var(--ink-muted); line-height: 1.3; }
.hero-chip .up { color: var(--upside-ink); font-weight: 600; }

/* source strip */
.sources { border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.6rem; }
.sources-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; }
.sources-row .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.sources-row .src { font-weight: 600; color: var(--ink); font-size: 0.98rem; }

/* ---------- Puntos ciegos (dark) ---------- */
.blind { background: var(--primary-deep); color: var(--on-dark); }
.blind h2 { color: var(--on-dark); }
.blind .section-head p { color: var(--on-dark-muted); }
.blind-list { list-style: none; margin: 0; padding: 0; }
.blind-list li {
  display: grid; grid-template-columns: 10.5rem 1fr 16rem;
  gap: 0.4rem 2rem; align-items: baseline;
  padding: clamp(0.95rem, 1.8vw, 1.35rem) 0;
  border-top: 1px solid var(--on-dark-line);
}
.blind-list li:first-child { border-top: 0; }
.blind-list .who {
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--upside); text-transform: uppercase; padding-top: 0.3rem;
}
.blind-list .what { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem); color: var(--on-dark); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.blind-list .why { font-size: 0.92rem; color: var(--on-dark-muted); line-height: 1.5; }
.blind-list li.you { border-top-color: oklch(0.42 0.030 162); }
.blind-list li.you .who { color: var(--on-dark); }
.blind-close {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem); letter-spacing: -0.02em;
  color: var(--on-dark); line-height: 1.2; max-width: 26ch;
}

/* ---------- Las cinco dimensiones ---------- */
.growth { background: var(--surface); border-block: 1px solid var(--line); }
.eq {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.6vw, 1.8rem);
  margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
}
.eq-line {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: clamp(0.9rem, 0.72rem + 0.8vw, 1.24rem);
  line-height: 1.65; color: var(--ink-body); letter-spacing: -0.015em;
  white-space: nowrap; overflow-x: auto; overflow-y: hidden;
  padding-bottom: 0.15rem;
}
.eq-line + .eq-line { margin-top: 0.75rem; }
.eq-out { color: var(--primary); font-weight: 500; }
.eq .op { color: var(--ink-muted); padding-inline: 0.28em; }
.eq-note {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink-muted); line-height: 1.6; max-width: 70ch;
  white-space: normal;
}
.eq-note b { color: var(--ink); font-weight: 600; }

.dim-list { list-style: none; margin: 0; padding: 0; }
.dim-list li {
  display: grid; grid-template-columns: 11.5rem 1fr;
  gap: 0.45rem clamp(1.5rem, 4vw, 3rem);
  padding: clamp(0.9rem, 1.7vw, 1.25rem) 0;
  border-top: 1px solid var(--line);
}
.dim-list li:first-child { border-top: 0; padding-top: 0; }
.dim-list .dim {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); letter-spacing: -0.025em;
  color: var(--ink); line-height: 1.15;
}
.dim-list .ask {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); font-weight: 500;
  color: var(--ink); line-height: 1.4; letter-spacing: -0.01em;
}
.dim-list .lev { grid-column: 2; font-size: 0.95rem; color: var(--ink-muted); line-height: 1.65; max-width: 74ch; }
.dim-list li.enable { border-top-color: var(--line-strong); }
.dim-list li.enable .dim { font-family: var(--font-mono); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); padding-top: 0.3rem; }
.growth-close {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  padding-top: clamp(1.15rem, 2.2vw, 1.5rem);
  border-top: 1px solid var(--line-strong);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.28rem);
  line-height: 1.5; color: var(--ink-body); max-width: 74ch;
}
.growth-close b { color: var(--ink); font-weight: 600; }

/* ---------- La pila · piezas del entregable ---------- */
.stack-group {
  display: grid; grid-template-columns: 17rem 1fr; gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-top: 1px solid var(--line-strong);
}
.stack-group:first-of-type { border-top: 0; padding-top: 0; }
.sg-head h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem); letter-spacing: -0.025em; color: var(--ink); line-height: 1.15; }
.sg-head p { margin-top: 0.55rem; font-size: 0.93rem; color: var(--ink-muted); line-height: 1.55; }

.stack-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(1.5rem, 3.5vw, 2.75rem); }
.stack-list li { padding: 0.8rem 0; border-top: 1px solid var(--line); }
.stack-list li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.stack-list .pc { display: block; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.stack-list .pd { display: block; margin-top: 0.35rem; font-size: 0.93rem; color: var(--ink-muted); line-height: 1.55; }
.stack-foot {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
  font-size: 1.02rem; color: var(--ink-body); max-width: 74ch;
}
.stack-foot b { color: var(--ink); }

/* ---------- Ledger de evidencia ---------- */
.leak-ledger { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.leak-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center;
  padding: 1.35rem clamp(1.1rem, 2.5vw, 1.9rem);
  border-top: 1px solid var(--line);
}
.leak-row:first-child { border-top: 0; }
.leak-row .what { display: flex; gap: 1rem; align-items: flex-start; }
.leak-row .icn {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--leak-soft); color: var(--leak-ink); font-size: 1rem; margin-top: 2px;
}
.leak-row.pos .icn { background: oklch(0.95 0.06 128); color: var(--upside-ink); }
.leak-row h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; }
.leak-row p { font-size: 0.92rem; color: var(--ink-muted); margin-top: 0.3rem; max-width: 62ch; }
.leak-row .impact { text-align: right; }
.leak-row .impact .val { font-family: var(--font-mono); font-weight: 500; font-size: 1.2rem; color: var(--leak-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.leak-row .impact .val.lbl { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.leak-row.pos .impact .val { color: var(--upside-ink); }
.leak-row .impact .cap { font-size: 0.72rem; color: var(--ink-muted); font-family: var(--font-mono); margin-top: 0.15rem; }
.leak-foot { padding: 1.05rem clamp(1.1rem, 2.5vw, 1.9rem); border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; background: var(--surface-2); }
.leak-foot .t { font-weight: 600; color: var(--ink); }
.leak-foot .n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-muted); }

/* ---------- Honestidad del dato ---------- */
.honesty { margin-top: clamp(3rem, 6vw, 4.5rem); }
.honesty-head { max-width: 52rem; }
.honesty-head h3 { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); letter-spacing: -0.025em; }
.honesty-head p { margin-top: 0.9rem; color: var(--ink-body); max-width: 62ch; }
.honesty-ladder { list-style: none; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; padding: 0; counter-reset: tier; }
.honesty-ladder li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.4rem 2rem; align-items: baseline;
  padding: 1.1rem 0; border-top: 1px solid var(--line); position: relative;
}
.honesty-ladder li::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 8.5rem; height: 2px;
  background: linear-gradient(to right,
    var(--primary) 0 calc(var(--fill) * 25%),
    var(--line) calc(var(--fill) * 25%) 100%);
}
.honesty-ladder li:nth-child(1) { --fill: 4; }
.honesty-ladder li:nth-child(2) { --fill: 3; }
.honesty-ladder li:nth-child(3) { --fill: 2; }
.honesty-ladder li:nth-child(4) { --fill: 1; }
.honesty-ladder .tier { font-family: var(--font-mono); font-size: 0.86rem; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; }
.honesty-ladder .def { color: var(--ink-body); font-size: 0.98rem; max-width: 64ch; }
.honesty-foot { margin-top: 1.6rem; font-size: 0.95rem; color: var(--ink-body); max-width: 66ch; }
.honesty-foot .honest { color: var(--primary); font-size: 0.7rem; margin-right: 0.5rem; vertical-align: 0.15em; }
.honesty-foot b { color: var(--ink); }

/* ---------- Entregables (secuencia numerada) ---------- */
.deliver { background: var(--surface); border-block: 1px solid var(--line); }
.deliver-list { list-style: none; margin: 0; padding: 0; counter-reset: dl; }
.deliver-list > li {
  counter-increment: dl;
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.5rem 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.3rem) 0; border-top: 1px solid var(--line);
}
.deliver-list > li:first-child { border-top: 0; padding-top: 0; }
.deliver-list > li::before {
  content: counter(dl);
  grid-row: span 3;
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500;
  color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.deliver-list h3 { font-size: clamp(1.2rem, 1rem + 1.1vw, 1.65rem); letter-spacing: -0.025em; line-height: 1.15; }
.deliver-list p { margin-top: 0.7rem; color: var(--ink-body); max-width: 64ch; }
.deliver-list p.note { margin-top: 0.9rem; font-size: 0.94rem; color: var(--ink-muted); padding-top: 0.9rem; border-top: 1px dashed var(--line-strong); }
.deliver-list > li.hi::before { color: var(--upside-ink); }
.deliver-list > li.hi h3 { color: var(--primary); }

/* ---------- Motor / herramienta ---------- */
.tool-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tool-tab {
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em;
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink-body); transition: background .2s, color .2s, border-color .2s;
}
.tool-tab:hover { border-color: var(--primary); color: var(--primary); }
.tool-tab:focus-visible { outline: 3px solid var(--upside); outline-offset: 2px; }
.tool-tab[aria-selected="true"] { background: var(--primary); color: oklch(0.98 0.01 160); border-color: var(--primary); }
.tool-stage { position: relative; }
.tool-panel { display: none; }
.tool-panel.active { display: block; animation: fade .5s var(--ease-out); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tool-caption { margin-top: 1rem; display: flex; gap: 0.7rem; align-items: baseline; flex-wrap: wrap; }
.tool-caption .k { font-family: var(--font-mono); font-size: 0.78rem; color: var(--primary); }
.tool-caption .v { color: var(--ink-muted); font-size: 0.92rem; max-width: 68ch; }
.tool-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.tool-feature { border-top: 2px solid var(--primary); padding-top: 0.9rem; }
.tool-feature h3 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink); letter-spacing: -0.005em; }
.tool-feature p { font-size: 0.9rem; color: var(--ink-muted); margin-top: 0.4rem; }

/* ---------- Alcance ---------- */
.scope { background: var(--surface); border-block: 1px solid var(--line); }
.scope-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.scope-three.fit-two { grid-template-columns: repeat(2, 1fr); gap: clamp(1.75rem, 4vw, 4rem); }
.scope-col .mk.no { background: var(--leak-soft); color: var(--leak-ink); }
.fit-close {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
  font-size: 1.02rem; color: var(--ink-body); max-width: 74ch;
}
.fit-close b { color: var(--ink); }
.scope-col h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink); display: flex; align-items: center; gap: 0.6rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line-strong); }
.scope-col .mk { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.78rem; flex: none; }
.scope-col .mk.ex { background: oklch(0.94 0.055 158); color: var(--primary); }
.scope-col .mk.co { background: var(--surface-2); color: var(--ink-body); border: 1px solid var(--line-strong); }
.scope-col .mk.ap { background: var(--leak-soft); color: var(--leak-ink); }
.scope-col ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.scope-col li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); color: var(--ink-body); font-size: 0.96rem; }
.scope-col .col-note { margin-top: 1rem; font-size: 0.88rem; color: var(--ink-muted); }
.scope-rule { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-strong); font-size: 1.05rem; color: var(--ink-body); max-width: 74ch; }
.scope-rule b { color: var(--ink); }

/* ---------- Esfuerzo del cliente ---------- */
.effort-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.effort-grid h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); }
.effort-lead { margin-top: 1.3rem; max-width: 34ch; }
.effort-list { list-style: none; margin: 0; padding: 0; }
.effort-list li { display: grid; gap: 0.35rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.effort-list li:first-child { border-top: 0; padding-top: 0; }
.effort-list .t { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.effort-list .d { color: var(--ink-body); font-size: 0.96rem; }

/* ---------- Precio ---------- */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.price-entry {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.pe-main h3 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -0.025em; }
.pe-main p { margin-top: 0.8rem; color: var(--ink-body); max-width: 56ch; }
.pe-main .btn { margin-top: 1.4rem; }
.pe-price { text-align: right; }
.pe-price .amount { display: block; font-family: var(--font-mono); font-weight: 500; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); color: var(--primary); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.pe-price .terms { display: block; margin-top: 0.7rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); }

.method-steps + .price-entry { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); }
.price-tiers { margin-top: clamp(2rem, 4vw, 3rem); }
.pt-intro h3 { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem); letter-spacing: -0.025em; }
.pt-intro p { margin-top: 0.6rem; color: var(--ink-body); }
.pt-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pt-table th, .pt-table td { text-align: left; padding: 1.1rem clamp(1rem, 2.5vw, 1.6rem); border-top: 1px solid var(--line); }
.pt-table thead th {
  border-top: 0; background: var(--surface-2);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}
.pt-table tbody th { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; width: 22%; }
.pt-table tbody td { color: var(--ink-body); font-size: 0.98rem; }
.pt-table .amt { font-family: var(--font-mono); font-weight: 500; font-size: 1.3rem; color: var(--primary); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pt-table .amt span { font-size: 0.8rem; color: var(--ink-muted); }

.price-rule { margin-top: clamp(2rem, 4vw, 2.8rem); }
.rule-main { font-size: 1.08rem; color: var(--ink-body); max-width: 72ch; }
.rule-main b { color: var(--ink); }
.rule-terms { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.1rem; max-width: 72ch; }
.rule-terms li { padding: 0.65rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-muted); }
.rule-terms li b { color: var(--ink); }

/* ---------- Preguntas / objeciones ---------- */
.qa { margin: 0; }
.qa-item { padding: clamp(1.1rem, 2.1vw, 1.5rem) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.35fr; gap: 1rem clamp(2rem, 5vw, 4rem); align-items: start; }
.qa-item:first-child { border-top: 0; padding-top: 0; }
.qa dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 0.95rem + 0.85vw, 1.45rem); color: var(--ink); letter-spacing: -0.025em; line-height: 1.2; text-wrap: balance; }
.qa dd { margin: 0; color: var(--ink-body); max-width: 62ch; }
.qa dd b { color: var(--ink); }

/* ---------- Anti-cliente ---------- */
.noclient-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.noclient-grid h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); }
.noclient-lead { margin-top: 1.3rem; max-width: 36ch; }
.noclient-list { list-style: none; margin: 0; padding: 0; counter-reset: nc; }
.noclient-list li {
  counter-increment: nc; position: relative;
  padding: 1.05rem 0 1.05rem 2.6rem; border-top: 1px solid var(--line);
  color: var(--ink-body); font-size: 0.99rem;
}
.noclient-list li:first-child { border-top: 0; padding-top: 0; }
.noclient-list li::before {
  content: "×"; position: absolute; left: 0; top: 1.05rem;
  width: 1.6rem; height: 1.6rem; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--leak-soft); color: var(--leak-ink);
  font-family: var(--font-mono); font-size: 0.9rem; line-height: 1;
}
.noclient-list li:first-child::before { top: 0; }

/* ---------- Garantía (dark) ---------- */
.warranty { background: var(--primary-deep); color: var(--on-dark); }
.warranty h2, .warranty h3 { color: var(--on-dark); }
.warranty-main { max-width: 50rem; }
.warranty-main h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); }
.w-lead { margin-top: 1.3rem; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--on-dark); line-height: 1.5; max-width: 60ch; }
.w-lead b { color: var(--upside); font-weight: 600; }
.warranty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.w-block h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--on-dark-line); }
.w-block p { margin-top: 1rem; color: var(--on-dark-muted); line-height: 1.65; }
.w-block p b { color: var(--on-dark); font-weight: 600; }
.w-block .w-note { font-size: 0.9rem; color: oklch(0.68 0.018 160); }
.anti-warranty { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(1.75rem, 3vw, 2.25rem); border-top: 1px solid var(--on-dark-line); max-width: 66ch; }
.anti-warranty h3 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 500; }
.anti-warranty p { margin-top: 0.9rem; color: var(--on-dark-muted); line-height: 1.65; }
.anti-warranty p b { color: var(--on-dark); font-weight: 600; }

/* ---------- Método / proceso ---------- */
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--primary); font-weight: 500;
}
.step::after { content: ""; position: absolute; top: 0.55rem; left: 2.6rem; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.01em; }
.step p { font-size: 0.93rem; color: var(--ink-body); margin-top: 0.5rem; }

/* ---------- Radiografía · hero ---------- */
.rx-hero { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.rx-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 1.2rem; }
.rx-hero h1 { font-size: clamp(2.15rem, 1.3rem + 3.6vw, 3.7rem); letter-spacing: -0.035em; font-weight: 800; max-width: 16ch; }
.rx-hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.rx-hero h1 em::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.06em; height: 0.24em;
  background: var(--upside); z-index: -1; border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .85s var(--ease-out) .6s;
}
.rx-hero h1.in em::after { transform: scaleX(1); }
.rx-lead { margin-top: 1.4rem; max-width: 48ch; }
.rx-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.1rem); }
.rx-amount { display: block; font-family: var(--font-mono); font-weight: 500; font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.4rem); color: var(--primary); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.rx-terms { display: block; margin-top: 0.7rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); }
.rx-facts { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.rx-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.rx-facts .k { color: var(--ink-muted); }
.rx-facts .v { color: var(--ink); font-weight: 600; text-align: right; }
.rx-fine { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- Radiografía · dimensiones ---------- */
.dims { background: var(--surface); border-block: 1px solid var(--line); }
.dims-list { list-style: none; margin: 0; padding: 0; counter-reset: dim; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3.5vw, 2.75rem); }
.dims-list li { counter-increment: dim; padding-top: 2.4rem; position: relative; border-top: 1px solid var(--line-strong); }
.dims-list li::before {
  content: counter(dim, decimal-leading-zero); position: absolute; top: 0.85rem; left: 0;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--primary); font-weight: 500;
}
.dims-list li.meta::before { content: "+"; color: var(--upside-ink); }
.dims-list h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.dims-list p { margin-top: 0.55rem; font-size: 0.94rem; color: var(--ink-body); }

/* ---------- Radiografía · después ---------- */
.rx-after { max-width: 62rem; }
.rx-after h2 { font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem); }
.rx-after p { margin-top: 1.2rem; font-size: 1.08rem; color: var(--ink-body); max-width: 66ch; }
.rx-after p b { color: var(--ink); }
.rx-after-note { color: var(--ink-muted) !important; font-size: 1rem !important; }
.rx-after .btn { margin-top: 0.6rem; }

/* ---------- CTA final ---------- */
.cta { background: var(--primary-deep-2); color: var(--on-dark); text-align: center; }
.cta h2 { color: var(--on-dark); font-size: clamp(2rem, 1.3rem + 3.5vw, 3.6rem); max-width: 19ch; margin-inline: auto; }
.cta h2 .up { color: var(--upside); }
.cta p { color: var(--on-dark-muted); max-width: 56ch; margin: 1.4rem auto 0; font-size: 1.08rem; }
.cta-actions { margin-top: 2.2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-assure { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--on-dark-muted); letter-spacing: 0.03em; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-deep-2); color: var(--on-dark-muted); border-top: 1px solid var(--on-dark-line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer .logo-word { color: var(--on-dark); }
.footer .logo-word b { color: var(--upside); }
.footer .logo-sub { color: var(--upside); }
.footer-links { display: flex; gap: 2.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--on-dark-muted); font-size: 0.92rem; transition: color .2s; }
.footer-links a:hover { color: var(--upside); }
.footer-bottom { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--on-dark-line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; }

/* ---------- Página de encaje (formulario) ---------- */
.diag { padding-top: clamp(2.5rem, 5vw, 4rem); }
.diag-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.diag h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.2rem); letter-spacing: -0.03em; max-width: 16ch; }
.diag .lead { margin-top: 1.3rem; max-width: 50ch; }
.diag-side { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); }
.diag-side h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--ink); }

.call-agenda { list-style: none; margin: 1.3rem 0 0; padding: 0; }
.call-agenda li { display: grid; gap: 0.25rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.call-agenda li:first-child { border-top: 0; padding-top: 0; }
.call-agenda .t { font-family: var(--font-mono); font-size: 0.8rem; color: var(--primary); letter-spacing: 0.02em; }
.call-agenda .d { font-size: 0.92rem; color: var(--ink-body); }

.call-not { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.call-not h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.call-not ul { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.call-not li { font-size: 0.9rem; color: var(--ink-body); padding-left: 1.1rem; position: relative; }
.call-not li::before { content: "—"; position: absolute; left: 0; color: var(--ink-muted); }

.diag-assure { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; }
.diag-assure .a { display: flex; gap: 0.6rem; align-items: center; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); }
.diag-assure .a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--upside); flex: none; }

/* form */
.form { display: grid; gap: 1.15rem; margin-top: clamp(2rem, 4vw, 2.8rem); }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label, .field legend { font-size: 0.86rem; font-weight: 600; color: var(--ink); padding: 0; }
.field label .opt { font-weight: 400; color: var(--ink-muted); font-family: var(--font-mono); font-size: 0.72rem; }
.field .hint { font-size: 0.8rem; color: var(--ink-muted); }
.fieldset { border: 0; margin: 0; padding: 0; }
.fieldset legend { line-height: 1.4; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.40 0.085 158 / .18);
}
.field input:user-invalid, .field select:user-invalid { border-color: var(--leak); }
.field .err { font-size: 0.78rem; color: var(--leak-ink); display: none; font-weight: 500; }

.radio-row { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.radio { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; font-weight: 400; color: var(--ink-body); cursor: pointer; padding: 0.7rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); transition: border-color .2s, background .2s; }
.radio:hover { border-color: var(--primary); }
.radio input { width: auto; margin: 0; accent-color: var(--primary); flex: none; }
.radio:has(input:checked) { border-color: var(--primary); background: oklch(0.975 0.02 158); color: var(--ink); font-weight: 500; }
.radio:has(input:focus-visible) { outline: 3px solid var(--upside); outline-offset: 2px; }

.form-submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.form-legal { font-size: 0.78rem; color: var(--ink-muted); max-width: 42ch; }
.form-success {
  display: none; border: 1px solid var(--primary); background: oklch(0.97 0.03 158);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); text-align: center;
  margin-top: clamp(2rem, 4vw, 2.8rem);
}
.form-success.show { display: block; animation: fade .5s var(--ease-out); }
.form-success .big { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.5rem; }
.form-success h3 { color: var(--ink); font-size: 1.4rem; }
.form-success p { color: var(--ink-body); margin-top: 0.6rem; max-width: 46ch; margin-inline: auto; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 1.2rem; }
.back-link:hover { color: var(--primary); }
.back-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }

/* ---------- 404 ---------- */
.nf { padding-top: clamp(3rem, 7vw, 6rem); }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.nf-code { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.16em; color: var(--ink-muted); margin-bottom: 1.1rem; }
.nf h1 { font-size: clamp(1.9rem, 1.2rem + 2.9vw, 3.1rem); letter-spacing: -0.033em; max-width: 17ch; }
.nf-lead { margin-top: 1.3rem; max-width: 40ch; }
.nf-list { list-style: none; margin: 0; padding: 0; }
.nf-list li { border-top: 1px solid var(--line); }
.nf-list li:first-child { border-top: 0; }
.nf-list a { display: grid; gap: 0.35rem; padding: 1.25rem 0; transition: transform .3s var(--ease-out); }
.nf-list a:hover { transform: translateX(0.6rem); }
.nf-list a:focus-visible { outline: 3px solid var(--upside); outline-offset: 3px; border-radius: 4px; }
.nf-list .t { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.nf-list a:hover .t { color: var(--primary); }
.nf-list .d { font-size: 0.95rem; color: var(--ink-body); max-width: 52ch; }
@media (max-width: 860px) { .nf-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nf-list a, .nf-list a:hover { transition: none; transform: none; } }

/* ---------- Reveal ----------
   El estado oculto vive tras `.js`, que sólo se añade si el script del <head>
   corre. Sin JS (o si falla), el contenido se ve: en una página de venta no se
   puede esconder nada detrás de una clase. */
.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 em::after, .rx-hero h1 em::after { transition: none; transform: scaleX(1); }
  .tool-panel.active { animation: none; }
  .form-success.show { animation: none; }
  .btn, .btn .arrow { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .blind-list li { grid-template-columns: 9rem 1fr; }
  .blind-list .why { grid-column: 2; }
  .dims-list { grid-template-columns: repeat(2, 1fr); }
  .dim-list li { grid-template-columns: 9.5rem 1fr; }
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; margin-top: 1rem; }
  .hero-chip { left: 0; bottom: -14px; }
  .rx-hero-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .scope-three { grid-template-columns: 1fr; }
  .effort-grid, .noclient-grid { grid-template-columns: 1fr; }
  .qa-item { grid-template-columns: 1fr; }
  .price-entry { grid-template-columns: 1fr; }
  .pe-price { text-align: left; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary { white-space: nowrap; padding: 0.62rem 0.95rem; font-size: 0.9rem; }
  .nav-cta .btn-primary .arrow { display: none; }
  .nav[data-open="true"] .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0.25rem;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter);
  }
  .nav[data-open="true"] .nav-links a { padding: 0.6rem 0; width: 100%; }
  .blind-list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .blind-list .why { grid-column: 1; }
  .dim-list li { grid-template-columns: 1fr; gap: 0.35rem; }
  .dim-list .lev { grid-column: 1; }
  .leak-row { grid-template-columns: 1fr; }
  .leak-row .impact { text-align: left; }
  .honesty-ladder li { grid-template-columns: 1fr; gap: 0.3rem; padding-top: 1.3rem; }
  .honesty-ladder li::after { width: 5rem; }
  .deliver-list > li { grid-template-columns: 2.5rem 1fr; gap: 0.4rem 1rem; }
  .deliver-list > li::before { font-size: 1.15rem; }
  .method-steps, .dims-list { grid-template-columns: 1fr; }
  .stack-group { grid-template-columns: 1fr; gap: 1rem; }
  .stack-list { grid-template-columns: 1fr; }
  .stack-list li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 0.8rem; }
  .diag-grid { grid-template-columns: 1fr; }
  .diag-side { position: static; order: -1; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .pt-table th, .pt-table td { padding: 0.85rem 0.9rem; }
  .pt-table tbody th { width: auto; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .pt-table { display: block; border: 0; background: none; }
  .pt-table thead { display: none; }
  .pt-table tbody, .pt-table tr, .pt-table th, .pt-table td { display: block; width: auto; }
  .pt-table tr { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 0.85rem; }
  .pt-table th, .pt-table td { border-top: 0; padding: 0.2rem 0; }
  .pt-table tbody th { font-size: 1.2rem; }
  .pt-table .amt { text-align: left; margin-top: 0.5rem; }
}
@media (min-width: 521px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; } }
@media (max-width: 560px) {
  .logo svg { width: 26px; height: 26px; }
  .logo-word { font-size: 0.8rem; line-height: 1.15; max-width: 9rem; }
  .logo-sub { font-size: 0.56rem; letter-spacing: 0.22em; margin-top: 3px; }
  .nav-cta-full { display: none; }
  .nav-cta .btn-primary { font-size: 0.84rem; padding: 0.58rem 0.85rem; }
  .nav-inner { gap: 0.6rem; }
}
