/* True Margin · site.css · consume tokens.css */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg-base);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--teal); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============ TIPOGRAFÍA ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  font-style: normal;
  color: var(--ink);
  overflow-wrap: anywhere;
  min-width: 0;
}
h2 { line-height: var(--lh-snug); }
p { max-width: 62ch; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.eyebrow.no-rule::before { display: none; }

.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }

/* texto en gradiente y resaltado tipo PDF */
.g {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hl {
  background: var(--grad);
  color: var(--ink);
  font-weight: 600;
  padding: 0.02em 0.28em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
strong, b { font-weight: 600; color: var(--ink); }

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 11vw, var(--space-3xl)); }
.section-sm { padding-block: clamp(48px, 8vw, var(--space-2xl)); }

.band-paper { background: var(--paper); }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.band-dark  { background: var(--dark); color: var(--on-dark); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark .lead, .band-dark p { color: var(--on-dark-mut); }
.band-dark .eyebrow { color: var(--teal-bright); }
.band-dark strong, .band-dark b { color: var(--on-dark); }

/* grilla sutil sólo en bandas oscuras (eco del PDF, sin look SaaS) */
.gridfield { position: relative; isolation: isolate; overflow: hidden; }
.gridfield::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 78%);
}
.glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.598 0.228 286.4 / 0.4), transparent 68%);
  filter: blur(40px);
}

.section-head { max-width: 760px; margin-bottom: var(--space-xl); }
.section-head .eyebrow { margin-bottom: var(--space-md); }
.section-head h2 { font-size: var(--text-display); }
.section-head .lead { margin-top: var(--space-md); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 0.85em 1.45em; border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--dark-2); box-shadow: var(--shadow-md); }
.band-dark .btn-primary { background: var(--grad); color: var(--ink); }
.band-dark .btn-primary:hover { box-shadow: 0 14px 40px oklch(0.598 0.228 286.4 / 0.4); }

.btn-grad { background: var(--grad); color: var(--ink); }
.btn-grad:hover { box-shadow: 0 14px 40px oklch(0.598 0.228 286.4 / 0.35); }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.band-dark .btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.band-dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-display); font-weight: 500; color: var(--teal-deep);
  background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size var(--dur) var(--ease-out);
}
.textlink:hover { background-size: 100% 1.5px; }
.textlink .arrow { transition: transform var(--dur) var(--ease-out); }
.textlink:hover .arrow { transform: translateX(3px); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: oklch(0.993 0.004 175.0 / 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--line); background: oklch(0.993 0.004 175.0 / 0.92); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: var(--space-lg); }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 0.55em;
}
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--grad); }
.nav-links { display: flex; align-items: center; gap: var(--space-md); margin-left: auto; list-style: none; }
.nav-links a:not(.btn) {
  font-size: 0.95rem; color: var(--ink-soft); padding: 0.4em 0.1em; position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:not(.btn).is-active { color: var(--ink); }
.nav-cta .btn-primary { color: var(--white); }
.nav-cta { margin-left: var(--space-sm); }
.nav-cta .btn { padding: 0.62em 1.2em; font-size: 0.92rem; }

.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--bg-base); border-bottom: 1px solid var(--line);
    padding: var(--space-sm) var(--gutter) var(--space-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  body.menu-open .nav-links { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav-links a:not(.btn) { width: 100%; font-size: 1.25rem; font-family: var(--font-display); padding: 0.7em 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { width: 100%; margin: var(--space-md) 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; padding: 0.9em; font-size: 1rem; }
}

/* ============ HERO ============ */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--text-hero); margin-block: var(--space-md) var(--space-md); }
.hero .lead { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.hero-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--muted); }

/* tarjeta "el reporte vs el banco": sin chrome falso, editorial */
.reportcard {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.reportcard-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) var(--space-md); border-bottom: 1px solid var(--line);
}
.reportcard-head .tag { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.reportcard-head .live { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--text-xs); color: var(--teal-deep); }
.reportcard-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 var(--teal); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(0.783 0.131 183.0 / 0.5); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .reportcard-head .live::before { animation: none; } }

.rc-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); padding: var(--space-md); }
.rc-row + .rc-row { border-top: 1px solid var(--line); }
.rc-label { font-size: var(--text-sm); color: var(--muted); }
.rc-val { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
.rc-val.ok { color: var(--teal-deep); }
.rc-val.q { color: var(--ink); }
.rc-foot { padding: var(--space-md); background: var(--paper); border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--ink-soft); }
.rc-foot strong { color: var(--ink); }

/* ============ FAJA DE LOGOS / PRUEBA ============ */
.proofbar { border-block: 1px solid var(--line); background: var(--white); }
.proofbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 5vw, 56px); padding-block: clamp(28px, 4vw, 52px); }
.pb-stat { display: flex; flex-direction: column; gap: 3px; flex: 0 0 auto; }
.pb-stat .pb-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 3.6vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.pb-stat .pb-cap { font-size: var(--text-sm); color: var(--muted); max-width: 22ch; }
.proofbar .pb-label { font-size: var(--text-sm); color: var(--muted); max-width: 16ch; flex: 0 0 auto; }
.proofbar .pb-label b { color: var(--ink); font-family: var(--font-display); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 44px); }
.logos .logo {
  font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em;
  color: var(--ink-soft); opacity: 0.85; transition: opacity var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.logos .logo:hover { opacity: 1; color: var(--ink); }
@media (min-width: 760px) {
  .proofbar .pb-stat + .logos { padding-left: clamp(28px, 5vw, 56px); border-left: 1px solid var(--line); }
}

/* ============ GRID DE TARJETAS GENÉRICO ============ */
.cards { display: grid; gap: var(--space-md); }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 880px) { .cards.c3, .cards.c4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: minmax(0,1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card .knum { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--teal-deep); }
.card h3 { font-size: var(--text-h3); }
.card p { font-size: var(--text-sm); color: var(--ink-soft); }
.band-dark .card { background: var(--dark-2); border-color: var(--line-dark); }
.band-dark .card p { color: var(--on-dark-mut); }

/* tarjeta de pilar (sistema) con número grande */
.pillar { position: relative; }
.pillar .big { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; color: var(--line-2); line-height: 1; }
.pillar h3 { font-size: var(--text-h3); }

/* ============ SISTEMA · LAYERS EDITORIAL ============ */
.layer { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding-block: var(--space-xl); }
.layer + .layer { border-top: 1px solid var(--line); }
.layer .layer-id { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: var(--space-sm); }
.layer h3 { font-size: var(--text-h2); margin-bottom: var(--space-sm); }
.layer .layer-body p { color: var(--ink-soft); }
.layer .tagrow { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.tag-pill { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.02em; padding: 0.4em 0.85em; border-radius: var(--radius-pill); background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line); }
@media (max-width: 760px) { .layer { grid-template-columns: minmax(0,1fr); gap: var(--space-md); padding-block: var(--space-lg); } }

/* ============ AUDIENCIAS (visual firma) ============ */
.aud { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.aud-blend { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-md); }
.aud-blend .blabel { font-size: var(--text-sm); color: var(--muted); }
.aud-blend .bval { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }
.aud-blend .bsub { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-xs); }
.aud-split { display: flex; flex-direction: column; gap: var(--space-sm); }
.aud-bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-md);
  padding: var(--space-md) var(--space-md); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.aud-bar.revealed { opacity: 1; transform: none; }
.aud-bar .who { font-family: var(--font-display); font-weight: 500; }
.aud-bar .who small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--text-xs); color: var(--muted); letter-spacing: 0; }
.aud-bar .meter { height: 8px; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.aud-bar .meter i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width var(--dur-slow) var(--ease-out); }
.aud-bar.revealed .meter i { width: var(--w, 50%); }
.aud-bar .num { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
@media (max-width: 760px) { .aud { grid-template-columns: minmax(0,1fr); } }

/* ============ COMPARACIÓN (fork) ============ */
.fork { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-md); }
@media (max-width: 700px) { .fork { grid-template-columns: minmax(0,1fr); } }
.fork-col { border-radius: var(--radius-md); padding: var(--space-lg); }
.fork-col .ft { font-family: var(--font-display); font-weight: 600; margin-bottom: var(--space-md); display: flex; align-items: center; gap: 0.5em; }
.fork-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.fork-col li { font-size: var(--text-sm); padding-left: 1.4em; position: relative; }
.fork-bad { background: var(--white); border: 1px solid var(--line); }
.fork-bad .ft { color: var(--muted); }
.fork-bad li { color: var(--muted); }
.fork-bad li::before { content: "–"; position: absolute; left: 0; color: var(--muted-2); }
.fork-good { background: var(--ink); color: var(--on-dark); }
.fork-good .ft { color: var(--teal-bright); }
.fork-good li { color: var(--on-dark-mut); }
.fork-good li::before { content: "+"; position: absolute; left: 0; color: var(--teal); font-weight: 600; }
.fork-good li b { color: var(--on-dark); }

/* ============ STAT LEDGER ============ */
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-md); }
@media (max-width: 700px) { .ledger { grid-template-columns: minmax(0,1fr); } }
.stat .sval { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.stat .slabel { color: var(--ink-soft); font-size: var(--text-sm); margin-top: var(--space-xs); }
.band-dark .stat .slabel { color: var(--on-dark-mut); }

/* ============ STEPS (método) ============ */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-md); padding-block: var(--space-lg); }
.step + .step { border-top: 1px solid var(--line); }
.step .sn { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--white); background: var(--ink); width: 2.4em; height: 2.4em; border-radius: var(--radius-pill); display: grid; place-items: center; }
.step h3 { font-size: var(--text-h3); margin-bottom: var(--space-2xs); }
.step p { color: var(--ink-soft); font-size: var(--text-sm); }

/* ============ CONTENIDO / AUTORIDAD ============ */
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-md); }
@media (max-width: 820px) { .res-grid { grid-template-columns: minmax(0,1fr); } }
.res-card { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.res-kind { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); }
.res-card h3 { font-size: var(--text-h3); }
.res-card p { font-size: var(--text-sm); color: var(--ink-soft); }
.res-card .textlink { margin-top: auto; }

/* placeholder honesto (assets a confirmar) */
.placeholder {
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-md);
  padding: var(--space-md); background: oklch(0.956 0.012 170.3 / 0.5);
  font-size: var(--text-sm); color: var(--muted);
}
.placeholder b { color: var(--ink-soft); font-family: var(--font-display); }

/* ============ CTA BAND ============ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-display); max-width: 18ch; margin-inline: auto; }
.cta-band .lead { max-width: 50ch; margin: var(--space-md) auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ============ FOOTER (statement · Ft5) ============ */
.footer { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.footer .container { padding-block: clamp(56px, 9vw, 110px); position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.footer h2 { color: var(--on-dark); font-size: var(--text-display); max-width: 16ch; }
.footer .f-cta { margin-top: var(--space-lg); }
.footer-nav { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-nav .fn-title { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: var(--space-sm); }
.footer-nav a { color: var(--on-dark-mut); transition: color var(--dur-fast) var(--ease-out); width: max-content; }
.footer-nav a:hover { color: var(--teal-bright); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; align-items: center; margin-top: clamp(40px, 6vw, 72px); padding-top: var(--space-lg); border-top: 1px solid var(--line-dark); font-size: var(--text-sm); color: var(--on-dark-mut); }
.footer-bottom .brand { color: var(--on-dark); font-size: 1rem; }
@media (max-width: 760px) { .footer-top { grid-template-columns: minmax(0,1fr); gap: var(--space-lg); } }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aud-bar { opacity: 1; transform: none; }
  .aud-bar .meter i { transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; }
}

/* ============ HERO RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: var(--space-xl); }
  .reportcard { max-width: 460px; }
}

/* utilidades */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.maxw { max-width: 720px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 0.6em 1em; border-radius: var(--radius-sm); z-index: 200; }
.skip:focus { left: var(--gutter); top: 8px; }

/* ============ FORMULARIO (contacto) ============ */
.form { display: grid; gap: var(--space-md); max-width: 560px; }
.field { display: flex; flex-direction: column; gap: var(--space-2xs); }
.field label { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 0.8em 0.9em; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px oklch(0.598 0.228 286.4 / 0.14);
}
.field .hint { font-size: var(--text-xs); color: var(--muted); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form-aside { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }

/* lista con check teal */
.checklist { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.checklist li { position: relative; padding-left: 1.8em; color: var(--ink-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: rotate(-45deg); }
.band-dark .checklist li { color: var(--on-dark-mut); }
.band-dark .checklist li::before { border-color: var(--teal-bright); }

/* página interna: hero más compacto */
.page-hero { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-block: var(--space-md) var(--space-md); max-width: 16ch; }
.page-hero .lead { max-width: 54ch; }

/* signal cards (método) */
.signals { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-md); }
@media (max-width: 760px) { .signals { grid-template-columns: minmax(0,1fr); } }
.signal { padding: var(--space-lg); border-radius: var(--radius-md); background: var(--dark-2); border: 1px solid var(--line-dark); }
.signal .sname { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); color: var(--on-dark); }
.signal .srole { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: var(--space-sm); display: block; }
.signal p { color: var(--on-dark-mut); font-size: var(--text-sm); }

/* case block */
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.case .case-meta { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; margin-bottom: var(--space-lg); }
.case .case-meta .badge { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); background: var(--paper); border: 1px solid var(--line); padding: 0.4em 0.85em; border-radius: var(--radius-pill); }

/* ============ MIRROR (si tu reporte suena así) ============ */
.mirror { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 820px) { .mirror { grid-template-columns: minmax(0,1fr); } }
.mirror-lines { display: flex; flex-direction: column; gap: var(--space-sm); }
.mirror-line {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: var(--space-md) var(--space-md); position: relative; padding-left: 2.4em;
}
.mirror-line::before { content: "\201C"; position: absolute; left: 0.7em; top: 0.35em; font-size: 1.6em; line-height: 1; color: var(--teal); }
.mirror-turn { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h2); letter-spacing: -0.02em; line-height: 1.1; }
.mirror-turn .g { display: inline; }

/* ============ MODELO: fragmentado vs integrado ============ */
.modelcmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-md); align-items: stretch; }
@media (max-width: 860px) { .modelcmp { grid-template-columns: minmax(0,1fr); } .cmp-arrow { transform: rotate(90deg); } }
.cmp-panel { border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; }
.cmp-panel .cmp-tag { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--space-xs); }
.cmp-panel h3 { font-size: var(--text-h3); margin-bottom: var(--space-md); }
.cmp-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-md); }
.cmp-list li { font-size: var(--text-sm); padding-left: 1.7em; position: relative; }
.cmp-foot { margin-top: auto; padding-top: var(--space-md); border-top: 1px solid; font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); }
.cmp-old { background: var(--white); border: 1px solid var(--line); }
.cmp-old .cmp-tag { color: var(--muted); }
.cmp-old .cmp-list li { color: var(--muted); }
.cmp-old .cmp-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 11px; height: 1.5px; background: var(--muted-2); }
.cmp-old .cmp-foot { border-color: var(--line); color: var(--muted); }
.cmp-new { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.cmp-new .cmp-tag { color: var(--teal-bright); }
.cmp-new h3 { color: var(--on-dark); }
.cmp-new .cmp-list li { color: var(--on-dark-mut); }
.cmp-new .cmp-list li b { color: var(--on-dark); }
.cmp-new .cmp-list li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.cmp-new .cmp-foot { border-color: var(--line-dark); color: var(--teal-bright); }
.cmp-arrow { display: grid; place-items: center; color: var(--muted-2); }
.cmp-arrow svg { width: 30px; height: 30px; }

/* ============ FAQ (acordeón nativo) ============ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--space-md) 0;
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-h3); color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-deep); }
.faq summary .ic { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--teal-deep); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.faq summary .ic::before { left: 0; top: 50%; width: 22px; height: 2px; transform: translateY(-50%); }
.faq summary .ic::after { top: 0; left: 50%; width: 2px; height: 22px; transform: translateX(-50%); }
.faq details[open] summary .ic::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq .faq-body { padding: 0 0 var(--space-lg); color: var(--ink-soft); max-width: 64ch; }
.band-dark .faq details, .band-dark .faq details:first-of-type { border-color: var(--line-dark); }
.band-dark .faq summary { color: var(--on-dark); }
.band-dark .faq .faq-body { color: var(--on-dark-mut); }

/* ============ NAV DROPDOWN ============ */
.has-dropdown { position: relative; }
.nav-parent {
  display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-body);
  font-size: 0.95rem; color: var(--ink-soft); padding: 0.4em 0.1em; cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-parent .caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform var(--dur) var(--ease-out); }
.has-dropdown:hover .nav-parent, .nav-parent[aria-expanded="true"], .nav-parent.is-active { color: var(--ink); }
.nav-parent[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: -14px; min-width: 248px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .nav-parent[aria-expanded="true"] ~ .dropdown {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.dropdown a {
  display: flex; flex-direction: column; gap: 1px; padding: 0.6em 0.8em; border-radius: var(--radius-sm);
  font-size: 0.96rem; color: var(--ink); transition: background var(--dur-fast) var(--ease-out);
}
.dropdown a small { color: var(--muted); font-size: var(--text-xs); }
.dropdown a:hover { background: var(--paper); }
.dropdown a.is-active { color: var(--teal-deep); }
@media (max-width: 880px) {
  .has-dropdown { width: 100%; }
  .nav-parent { width: 100%; justify-content: space-between; font-size: 1.25rem; font-family: var(--font-display); padding: 0.7em 0; border-bottom: 1px solid var(--line); }
  .dropdown {
    position: static; opacity: 1; visibility: hidden; transform: none; box-shadow: none; border: none;
    background: transparent; padding: 0 0 0 var(--space-sm); min-width: 0; max-height: 0; overflow: hidden;
    transition: max-height var(--dur) var(--ease-out);
  }
  .nav-parent[aria-expanded="true"] ~ .dropdown { visibility: visible; max-height: 320px; }
  .dropdown a { padding: 0.55em 0.4em; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* ============ TESTIMONIOS ============ */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-md); }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0,1fr); } }
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--space-md); }
.quote-card .q-metric { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.05; }
.quote-card .q-text { color: var(--ink-soft); font-size: 1.05rem; }
.quote-card .q-by { display: flex; align-items: center; gap: var(--space-sm); margin-top: auto; padding-top: var(--space-sm); border-top: 1px solid var(--line); }
.quote-card .q-by .q-brand { font-family: var(--font-display); font-weight: 600; }
.quote-card .q-by .q-name { font-size: var(--text-sm); color: var(--muted); }

/* ============ TIRA DE CAPACIDADES ============ */
.capstrip { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 3vw, 36px); }
.capstrip .cap { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.5em; }
.capstrip .cap::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* ============ DEPTH / PROFIT MODELING ============ */
.depth { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .depth { grid-template-columns: minmax(0,1fr); } }
.depth-list { list-style: none; display: flex; flex-direction: column; }
.depth-list li { padding: var(--space-md) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: var(--space-md); align-items: baseline; }
.depth-list li:first-child { border-top: none; }
.depth-list .dk { font-family: var(--font-display); font-weight: 600; color: var(--teal-deep); font-size: 0.92rem; white-space: nowrap; }
.depth-list .dv { color: var(--ink-soft); font-size: var(--text-sm); }
.band-dark .depth-list li { border-color: var(--line-dark); }
.band-dark .depth-list .dv { color: var(--on-dark-mut); }
.band-dark .depth-list .dk { color: var(--teal-bright); }

/* ============ ÍCONOS (SVG propios) ============ */
.icon-tile {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--teal-deep); margin-bottom: var(--space-sm);
  border: 1px solid oklch(0.783 0.131 183 / 0.22);
}
.icon-tile svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.band-dark .icon-tile { background: oklch(0.783 0.131 183 / 0.12); color: var(--teal-bright); border-color: oklch(0.819 0.136 183 / 0.28); }
.pillar .icon-tile { margin-bottom: var(--space-md); }
.pillar .big { font-size: 1.1rem; color: var(--muted-2); position: absolute; top: var(--space-lg); right: var(--space-lg); }
.res-card .icon-tile { width: 42px; height: 42px; }

/* eyebrow con marca de datos */
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ============ GRÁFICO DE MARCA: divergencia reporte vs margen ============ */
.divchart {
  background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px); position: relative; overflow: hidden;
}
.divchart { margin-bottom: clamp(28px, 4vw, 48px); }
.divchart svg { width: 100%; height: auto; display: block; }
.divchart .dc-grid line { stroke: var(--line-dark); stroke-width: 1; }
.divchart .dc-axis { stroke: var(--line-dark); stroke-width: 1.5; }
.dc-report { fill: none; stroke: var(--teal-bright); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.dc-margin { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.reveal.in .dc-report { animation: draw 1.6s var(--ease-out) 0.2s forwards; }
.reveal.in .dc-margin { animation: draw 1.6s var(--ease-out) 0.45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dc-gap { fill: oklch(0.598 0.228 286 / 0.14); }
.dc-dot-r { fill: var(--teal-bright); }
.dc-dot-m { fill: var(--violet); }
.dc-label { font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.dc-label.r { fill: var(--teal-bright); }
.dc-label.m { fill: var(--violet); }
.dc-sub { fill: var(--on-dark-mut); font-family: var(--font-body); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .dc-report, .dc-margin { stroke-dashoffset: 0; animation: none; } }

.thesis-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .thesis-grid { grid-template-columns: minmax(0,1fr); } }

/* tick decorativo en esquinas de tarjetas destacadas */
.card.pillar { position: relative; }

/* ============ TICKER DE LOGOS (loop infinito) ============ */
.logo-ticker {
  flex: 1 1 340px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track { display: flex; align-items: center; gap: clamp(32px, 5vw, 60px); width: max-content; animation: ticker 26s linear infinite; }
.logo-ticker:hover .logo-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ============ PREVIEW CARD (vista de otra sección) ============ */
.preview-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(24px, 3.4vw, 44px); position: relative;
}
.preview-tag {
  display: inline-flex; align-items: center; gap: 0.55em; font-family: var(--font-display);
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep);
  background: var(--paper); border: 1px solid var(--line); padding: 0.45em 0.9em; border-radius: var(--radius-pill);
}
.preview-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.preview-card .preview-head { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: baseline; justify-content: space-between; margin-bottom: var(--space-lg); }
.preview-card .preview-head h3 { font-size: var(--text-h3); max-width: 30ch; }

/* hero: el gráfico como visual derecho */
.hero .divchart { margin-bottom: 0; }

/* lista de medición en banda oscura */
.measure-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-md); }
@media (max-width: 700px) { .measure-list { grid-template-columns: minmax(0,1fr); } }
.measure-item { padding: var(--space-md) var(--space-md) var(--space-md) 0; display: grid; grid-template-columns: auto 1fr; gap: var(--space-md); align-items: start; }
.measure-item .mi-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: oklch(0.783 0.131 183 / 0.12); color: var(--teal-bright); flex: 0 0 auto; }
.measure-item .mi-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.measure-item p { color: var(--on-dark-mut); font-size: var(--text-sm); }
.measure-item p b { color: var(--on-dark); font-weight: 600; }

/* ============ CARD OSCURA (buy vs need) ============ */
.card.card-dark { background: var(--ink); color: var(--on-dark); border-color: var(--line-dark); }
.card.card-dark h3 { color: var(--on-dark); }
.card.card-dark .knum { color: var(--teal-bright); }
.card.card-dark p { color: var(--on-dark-mut); }
.card.card-dark .checklist li { color: var(--on-dark-mut); }
.card.card-dark .checklist li::before { border-color: var(--teal-bright); }
.card.card-dark .list-plain li { color: var(--on-dark-mut); }
.card.card-dark .list-plain li::before { background: var(--teal-bright); }
.list-plain { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.list-plain li { position: relative; padding-left: 1.4em; color: var(--ink-soft); font-size: var(--text-sm); }
.list-plain li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }

/* ============ GROWTH FORECAST · grilla de indicadores ============ */
.metricgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-sm); }
@media (max-width: 760px) { .metricgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.metric-cell {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-md); display: flex; flex-direction: column; gap: 3px;
}
.metric-cell .mc-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.metric-cell .mc-sub { font-size: var(--text-xs); color: var(--muted); }
.metric-cell .mc-tag { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); }
.band-dark .metric-cell { background: var(--dark-2); border-color: var(--line-dark); }
.band-dark .metric-cell .mc-name { color: var(--on-dark); }
.band-dark .metric-cell .mc-sub { color: var(--on-dark-mut); }
.band-dark .metric-cell .mc-tag { color: var(--teal-bright); }

/* ============ GROWTH MEMO · documento ============ */
.memo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 720px; }
.memo-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--line); background: var(--paper); }
.memo-head .mh-title { font-family: var(--font-display); font-weight: 600; }
.memo-head .mh-tag { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.memo-row { display: grid; grid-template-columns: 150px 1fr; gap: var(--space-md); padding: var(--space-md) var(--space-lg); }
.memo-row + .memo-row { border-top: 1px solid var(--line); }
.memo-row .mr-k { font-family: var(--font-display); font-weight: 600; color: var(--teal-deep); font-size: var(--text-sm); }
.memo-row .mr-v { color: var(--ink-soft); font-size: var(--text-sm); }
.memo-row.actions .mr-v ol { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 600px) { .memo-row { grid-template-columns: minmax(0,1fr); gap: 4px; } }

/* ============ FLOW (POAS -> MER -> profit -> palanca) ============ */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-sm); }
.flow-step { flex: 1 1 160px; background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius-md); padding: var(--space-md); }
.flow-step .fs-k { font-family: var(--font-display); font-weight: 600; color: var(--on-dark); font-size: 1.05rem; }
.flow-step .fs-v { color: var(--on-dark-mut); font-size: var(--text-xs); margin-top: 4px; }
.flow-arrow { display: grid; place-items: center; color: var(--teal-bright); flex: 0 0 auto; }
.flow-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .flow { flex-direction: column; } .flow-arrow { transform: rotate(90deg); } }

/* ============ HERO solo headline ============ */
.hero-solo { max-width: 960px; }
.hero-solo h1 { margin-top: var(--space-sm); }
.hero-solo .lead { max-width: 62ch; margin-top: var(--space-md); }
.hero-solo .hero-actions { margin-top: var(--space-lg); }
.hero .divchart { margin-bottom: 0; }

/* ============ overrides banda oscura + helpers home ============ */
.tagrow { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-sm); }
.band-dark .steps h3 { color: var(--on-dark); }
.band-dark .steps p { color: var(--on-dark-mut); }
.band-dark .step + .step { border-color: var(--line-dark); }
.band-dark .step .sn { background: oklch(0.783 0.131 183 / 0.16); color: var(--teal-bright); }
.band-dark .tag-pill { background: oklch(1 0 0 / 0.05); border-color: var(--line-dark); color: var(--on-dark-mut); }
.band-dark .capstrip .cap { color: var(--on-dark-mut); }
.band-dark .capstrip .cap::before { background: var(--grad); }
.hero-kicker { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--ink); margin-top: var(--space-md); }
.statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.22; letter-spacing: -0.015em; max-width: 20ch; }
.statement .g { display: inline; }
.band-dark .statement { color: var(--on-dark); }
.def-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .def-grid { grid-template-columns: minmax(0,1fr); } }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); padding: 0.5em 1em; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--line); color: var(--ink-soft); }
.cap-card .knum { color: var(--teal-deep); }

/* ============ Q&A (preguntas que responde Meta) ============ */
.qa { display: flex; flex-direction: column; }
.qa-item { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px,4vw,56px); padding-block: var(--space-lg); align-items: baseline; border-top: 1px solid var(--line); }
.qa-item:first-child { border-top: none; }
.qa-item .qa-q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem,1.8vw,1.45rem); color: var(--ink); letter-spacing: -0.01em; }
.qa-item .qa-a { color: var(--ink-soft); font-size: var(--text-sm); }
@media (max-width: 760px) { .qa-item { grid-template-columns: 1fr; gap: 8px; } }

/* ============================================================
   CASO · visuales narrativos (journey, scorecard, diagramas SVG)
   ============================================================ */

/* Arco de viaje: Situación -> Restricción -> Decisión -> Resultado */
.journey { display: flex; gap: 0; align-items: stretch; }
.jstep { flex: 1; min-width: 0; padding: 0 var(--space-lg); position: relative; display: flex; flex-direction: column; gap: 6px; }
.jstep:first-child { padding-left: 0; }
.jstep + .jstep::before { content: ""; position: absolute; left: 0; top: 13px; width: 13px; height: 13px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateX(-50%) rotate(45deg); }
.jbadge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-dark); font-family: var(--font-display); font-weight: 600; }
.jk { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); margin-top: 8px; }
.jstep h3 { font-size: 1.12rem; }
.jstep p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 760px) {
  .journey { flex-direction: column; gap: 0; }
  .jstep { padding: 0 0 var(--space-lg) 56px; }
  .jstep:first-child { padding-left: 56px; }
  .jstep + .jstep::before { left: 19px; top: -12px; transform: rotate(135deg); }
  .jbadge { position: absolute; left: 0; top: 0; }
}

/* Panel Scorecard (objeto cohesivo, no cards sueltas) */
.scorecard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.scorecard-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--line); background: var(--paper); }
.scorecard-head .sh-t { font-family: var(--font-display); font-weight: 600; }
.scorecard-head .sh-tag { font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.scorecard-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.sc-item { padding: var(--space-md) var(--space-lg); display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.sc-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: 0 0 auto; }
.sc-item .nm { font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; }
.sc-item:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
@media (max-width: 760px) {
  .scorecard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sc-item:not(:nth-child(4n)) { border-right: none; }
  .sc-item:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* Diagramas SVG (loop, ciclo) · color por token */
.dgram { width: 100%; }
.dgram svg { width: 100%; height: auto; display: block; max-width: 600px; margin-inline: auto; overflow: visible; }
.dgram .node { fill: var(--white); stroke: var(--line-2); stroke-width: 1.5; }
.dgram .lbl { fill: var(--ink); font-family: var(--font-display); font-weight: 600; }
.dgram .sub { fill: var(--muted); font-family: var(--font-sans); }
.dgram .edge { fill: none; stroke: var(--teal); stroke-width: 2.5; }
.dgram .ahead { fill: var(--teal); }
.dgram .ctr { fill: var(--teal-deep); font-family: var(--font-display); font-weight: 600; }
.dgram .ctr-sub { fill: var(--muted); font-family: var(--font-sans); }
.band-dark .dgram .node { fill: var(--dark-2); stroke: var(--line-dark); }
.band-dark .dgram .lbl { fill: var(--on-dark); }
.band-dark .dgram .sub { fill: var(--on-dark-mut); }
.band-dark .dgram .edge { stroke: var(--teal-bright); }
.band-dark .dgram .ahead { fill: var(--teal-bright); }
.band-dark .dgram .ctr { fill: var(--teal-bright); }
.band-dark .dgram .ctr-sub { fill: var(--on-dark-mut); }

/* Footer: legibilidad del texto sobre fondo oscuro */
.footer .lead, .footer p { color: var(--on-dark-mut); }
