/* =========================================================
   ROARK v3 — DARK · Moodboard palette
   #1d1d1b · #e94e1b · #1f3c90 · #ffffff
   Type: Roboto (display/body) + Space Mono (technical)
   ========================================================= */

:root {
  --bg: #050505;
  --bg-deep: #000000;
  --bg-card: #0e0e0d;
  --ink: #ffffff;
  --ink-soft: #d8d6d1;
  --gray-1: #8a8780;
  --gray-2: #5a5853;
  --gray-3: #36342f;
  --accent: #e94e1b;
  --blue: #1f3c90;
  --blue-soft: #2a4ea8;

  --display: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --body: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --display-opt: "Fraunces", Georgia, serif; /* default option A */

  --gutter: clamp(24px, 4vw, 72px);
  --rail: 56px;
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
}
html, body {
  margin: 0; padding: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
body {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior-y: none;
}

/* ANTI-ARMONÍA · gradientes irruptores animados al scroll */
/* background-attachment:fixed removed — iOS Safari repaint on URL-bar
   collapse forces scroll-to-top; gradients driven by JS CSS vars instead */
body {
  background:
    radial-gradient(ellipse 80% 50% at var(--g1x, 85%) var(--g1y, 8%), rgba(31, 60, 144, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at var(--g2x, 5%) var(--g2y, 35%), rgba(233, 78, 27, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at var(--g3x, 95%) var(--g3y, 65%), rgba(31, 60, 144, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 55% 35% at var(--g4x, 10%) var(--g4y, 88%), rgba(233, 78, 27, 0.22) 0%, transparent 60%),
    var(--bg);
}

.v3-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  mask-image: radial-gradient(ellipse at center, #000 50%, rgba(0,0,0,0.4) 100%);
}

main { position: relative; z-index: 3; }

/* NAV */
.v3-topnav {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 16px var(--gutter);
  background: var(--bg);
}
.v3-topnav__left { display: flex; align-items: baseline; gap: 14px; }
.v3-topnav__center { display: flex; gap: 10px; justify-content: center; color: var(--gray-1); }
.v3-topnav__center .sep { color: var(--gray-2); }
.v3-topnav__right { display: flex; justify-content: flex-end; }
.v3-brand {
  font-family: var(--mono); font-weight: 400; font-size: 18px;
  letter-spacing: 0.08em; color: var(--ink);
}
.v3-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-1); }
.v3-navlink { color: var(--ink); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.v3-navlink:hover { color: var(--accent); }
.v3-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.v3-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* Section scaffold */
.section {
  position: relative;
  padding: clamp(72px, 8vw, 128px) var(--gutter);
}
/* Atmospheric wash + vignette removed — sections flow continuously */
.section > * { position: relative; z-index: 1; }
.section__rail {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: var(--rail);
  border-right: 1px dashed rgba(255,255,255,0.16);
  display: flex; flex-direction: column; align-items: center; padding-top: 24px;
}
.section__refno {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--gray-1); text-transform: uppercase;
}
.section__inner {
  position: relative; margin-left: var(--rail);
  padding-left: clamp(16px, 3vw, 48px);
}
.section-label {
  display: none;
}
.hl { color: var(--accent); }
.section-label__legacy {
  display: inline-flex; gap: 12px; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
  padding-bottom: 8px; border-bottom: 1px solid var(--ink);
  margin-bottom: 36px;
}
.section-label .dot { width: 6px; height: 6px; background: var(--accent); display: inline-block; border-radius: 50%; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(64px, 6vw, 96px); }
.hero__grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 96px); width: 100%; align-items: start;
}
.hero__left { display: flex; flex-direction: column; }
.hero__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray-1); margin-bottom: 28px;
  display: inline-flex; gap: 10px; align-items: center;
}
.hero__tag::before { content: ""; width: 20px; height: 1px; background: var(--ink); }
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0 0 28px 0;
  font-style: italic;
  color: var(--ink);
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--ink); }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero h1 .blue { color: #5b7fde; font-style: italic; }

/* Hero — wash azul que rompe */
.hero { position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(31, 60, 144, 0.55) 0%, transparent 60%),
    linear-gradient(110deg, transparent 40%, rgba(31, 60, 144, 0.18) 70%, rgba(233, 78, 27, 0.12) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
}
.hero__legacy-removed {
    radial-gradient(circle at 75% 50%, rgba(31, 60, 144, 0.55) 0%, transparent 45%),
    linear-gradient(110deg, transparent 40%, rgba(31, 60, 144, 0.18) 70%, rgba(233, 78, 27, 0.12) 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero__sub {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55;
  color: var(--ink-soft); max-width: 560px; margin: 32px 0 18px 0;
}
.hero__proof {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em;
  color: var(--ink-soft); margin: 0 0 32px 0; padding: 8px 14px 8px 12px;
  border: 1px solid var(--gray-3); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.hero__proof-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 12px rgba(34,197,94,0.6);
  flex-shrink: 0;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px; background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; border: none; cursor: pointer;
  transition: background .15s;
}
.btn-primary:hover { background: var(--blue); }
.hero__cta-sub {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-1);
}
.hero__atom { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 480px; justify-self: end; align-self: center; margin-top: 40px; }
.hero__atom svg { width: 100%; height: 100%; display: block; overflow: visible; }

@keyframes atomSpinCW { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes atomSpinCCW { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes atomDash { to { stroke-dashoffset: -200; } }
@keyframes atomCorePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.7; }
}
.atom-ring-cw { transform-origin: 240px 240px; animation: atomSpinCW 180s linear infinite; }
.atom-dash { animation: atomDash 18s linear infinite; }
.atom-ellipse-a { transform-origin: 240px 240px; animation: atomSpinCCW 90s linear infinite; }
.atom-ellipse-b { transform-origin: 240px 240px; animation: atomSpinCW 110s linear infinite; }
.atom-core-pulse { transform-origin: 240px 240px; animation: atomCorePulse 4s ease-in-out infinite; }

/* TRUSTBAR */
.trustbar { padding: 36px var(--gutter); background: transparent; position: relative; }
.trustbar__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1280px; margin: 0 auto; }
.trust-item { display: flex; flex-direction: column; gap: 8px; }
.trust-item .mono-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray-1);
  display: flex; align-items: center; gap: 10px;
}
.trust-item .mono-label::before { content: "◆"; color: var(--accent); font-size: 10px; }
.trust-item .val {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -0.015em;
  color: var(--ink);
}
.trust-item .sub { font-family: var(--body); font-size: 14px; color: var(--ink-soft); }

/* POR QUÉ */
.porque__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.porque__quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08;
  letter-spacing: -0.02em; margin: 0; color: var(--ink);
  text-wrap: balance;
}
.porque__quote::before { content: "“"; color: var(--accent); margin-right: 4px; font-style: normal; }
.porque__quote::after { content: "”"; color: var(--accent); font-style: normal; }
.porque__body p {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6;
  margin: 0; color: var(--ink-soft); max-width: 620px; text-wrap: pretty;
}

/* DISPLAY OPTIONS — set [data-display] on <html> to switch.
   A = Fraunces editorial italic    (default)
   B = Instrument Serif italic       (light, refined)
   C = Bricolage Grotesque           (sans tech)
   D = Archivo Black                 (heavy industrial)
   E = DM Serif Display              (didone contrast)
*/
/* All toscas — Fraunces sigue siendo A pero ahora en weights más pesados (700/900) para sentirse menos refinado */
html[data-display="A"] { --display-opt: "Fraunces", Georgia, serif; }
html[data-display="B"] { --display-opt: "Climate Crisis", "Archivo Black", -apple-system, sans-serif; }
html[data-display="C"] { --display-opt: "Archivo Black", -apple-system, sans-serif; }
html[data-display="D"] { --display-opt: "Caprasimo", Georgia, serif; }
html[data-display="E"] { --display-opt: "Gloock", Georgia, serif; }

.filtro__head h2,
.verticales__intro h2,
.capa2__head h2,
.moat__head h2,
.proceso__head h2,
.antes__head h2,
.nh__head h2,
.cta h2,
.vert-row__head h3,
.moat__card h3,
.fase__title,
.nh__t,
.capa2__card .title,
.footer__big,
.hero h1,
.porque__quote {
  font-family: var(--display-opt) !important;
}

/* B · Climate Crisis — variable extremo condensed, vibe manifiesto periodístico */
html[data-display="B"] .hero h1,
html[data-display="B"] .filtro__head h2,
html[data-display="B"] .verticales__intro h2,
html[data-display="B"] .capa2__head h2,
html[data-display="B"] .moat__head h2,
html[data-display="B"] .proceso__head h2,
html[data-display="B"] .antes__head h2,
html[data-display="B"] .cta h2,
html[data-display="B"] .footer__big {
  font-style: normal; font-weight: 400; letter-spacing: -0.005em; line-height: 0.92;
  text-transform: uppercase;
  font-variation-settings: "YEAR" 1979;
}

/* C · Archivo Black — grotesque industrial sólido */
html[data-display="C"] .hero h1,
html[data-display="C"] .filtro__head h2,
html[data-display="C"] .verticales__intro h2,
html[data-display="C"] .capa2__head h2,
html[data-display="C"] .moat__head h2,
html[data-display="C"] .proceso__head h2,
html[data-display="C"] .antes__head h2,
html[data-display="C"] .cta h2,
html[data-display="C"] .footer__big {
  font-style: normal; font-weight: 400; letter-spacing: -0.025em; line-height: 0.95;
}

/* D · Caprasimo — slab vintage redondo, vibe café artesanal con humanidad */
html[data-display="D"] .hero h1,
html[data-display="D"] .filtro__head h2,
html[data-display="D"] .verticales__intro h2,
html[data-display="D"] .capa2__head h2,
html[data-display="D"] .moat__head h2,
html[data-display="D"] .proceso__head h2,
html[data-display="D"] .antes__head h2,
html[data-display="D"] .cta h2,
html[data-display="D"] .footer__big {
  font-style: normal; font-weight: 400; letter-spacing: -0.02em; line-height: 0.95;
}

/* E · Gloock — didone contemporáneo con personalidad, editorial moderna */
html[data-display="E"] .hero h1,
html[data-display="E"] .filtro__head h2,
html[data-display="E"] .verticales__intro h2,
html[data-display="E"] .capa2__head h2,
html[data-display="E"] .moat__head h2,
html[data-display="E"] .proceso__head h2,
html[data-display="E"] .antes__head h2,
html[data-display="E"] .cta h2,
html[data-display="E"] .footer__big {
  font-style: normal; font-weight: 400; letter-spacing: -0.025em; line-height: 0.95;
}

/* Type-switcher panel */
.type-switch {
  position: fixed; top: 80px; right: 20px; z-index: 90;
  background: var(--bg-card); border: 1px solid var(--ink);
  padding: 12px 14px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.type-switch__title { color: var(--gray-1); padding-bottom: 6px; border-bottom: 1px solid var(--gray-2); margin-bottom: 4px; }
.type-switch button {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--gray-2); background: transparent; cursor: pointer; color: var(--ink);
  text-align: left;
}
.type-switch button.active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.type-switch small { color: var(--gray-1); font-size: 9px; letter-spacing: 0.08em; text-transform: none; }
.filtro__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.filtro__head h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.filtro__head p {
  font-family: var(--body); font-style: italic; font-weight: 300;
  font-size: clamp(14px, 1.05vw, 16px); color: var(--gray-1); max-width: 440px; margin: 0;
}
.filtro__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.filtro__cols--solo { grid-template-columns: 1fr; max-width: none; }
.filtro__col { padding: 52px 48px; position: relative; }
.filtro__col--si { background: linear-gradient(135deg, rgba(233, 78, 27, 0.22) 0%, rgba(233, 78, 27, 0.04) 100%); }
.filtro__col:not(.filtro__col--si) { background: linear-gradient(225deg, rgba(31, 60, 144, 0.18) 0%, transparent 70%); }
.filtro__col-head {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray-1); margin-bottom: 36px;
  display: flex; align-items: center; gap: 12px;
}
.filtro__col-head .badge {
  font-family: var(--mono); font-weight: 400; font-size: 10px; padding: 4px 8px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
}
.filtro__col--si .filtro__col-head .badge { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.filtro__col ul { list-style: none; padding: 0; margin: 0; }
.filtro__col li {
  padding: 26px 0;
  font-family: var(--body); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.45; display: flex; gap: 20px; align-items: flex-start;
  color: var(--ink); text-wrap: pretty;
}
.filtro__col li:first-child { border-top: none; }
.filtro__col li::before {
  content: attr(data-n); font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; color: var(--gray-1); padding-top: 8px;
  min-width: 34px; flex-shrink: 0;
}

/* VERTICALES */
.verticales__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; align-items: end; }
.verticales__intro h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.verticales__intro p {
  font-family: var(--body); font-style: italic; font-weight: 300;
  font-size: clamp(14px, 1.05vw, 16px); color: var(--gray-1); max-width: 460px; margin: 0;
}
.vert-row {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr;
  gap: clamp(16px, 3vw, 48px); padding: 40px 0;
  border-top: 1px dashed var(--gray-2); align-items: start;
}
.vert-row:last-of-type { border-bottom: 1px dashed var(--gray-2); }
.vert-row__num {
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; padding-top: 6px;
}
.vert-row__head .tag {
  display: inline-block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-1); margin-bottom: 14px;
}
.vert-row__head h3 {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05;
  letter-spacing: -0.015em; margin: 0 0 14px 0; color: var(--ink);
}
.vert-row__head p.vert-lead {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; color: var(--ink);
  margin: 0 0 20px 0; max-width: 460px;
  padding-bottom: 16px; border-bottom: 1px solid var(--ink);
}
.vert-row__head p.vert-desc {
  font-family: var(--body); font-size: 15px; line-height: 1.65;
  color: var(--ink-soft); margin: 0; max-width: 460px; text-wrap: pretty; text-align: left; hyphens: manual; -webkit-hyphens: manual;
}
.vert-row__plan {
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(31, 60, 144, 0.12) 100%);
  border: 1px solid var(--ink); overflow: hidden;
}
.vert-row__plan svg { width: 100%; height: 100%; display: block; }
.vert-row__plan .live-mock { width: 100%; height: 100%; display: block; }
.vert-row__plan .corner {
  position: absolute; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-1);
  padding: 8px 10px; background: var(--bg-card);
}
.vert-row__plan .corner.tl { top: 0; left: 0; border-right: 1px solid var(--gray-3); border-bottom: 1px solid var(--gray-3); }
.vert-row__plan .corner.br { bottom: 0; right: 0; border-left: 1px solid var(--gray-3); border-top: 1px solid var(--gray-3); }

.vert-closing {
  margin-top: 72px; padding: 56px 0 16px 0; border-top: 1px solid var(--ink);
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -0.015em;
  text-align: center; max-width: 1000px; margin-left: auto; margin-right: auto;
  text-wrap: balance; color: var(--ink-soft);
}

/* CAPA 2 */
.capa2__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-bottom: 48px; align-items: end; }
.capa2__head h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 3.3vw, 46px); line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.capa2__head p {
  font-family: var(--body); font-style: italic; font-weight: 300;
  font-size: clamp(15px, 1.2vw, 18px); color: var(--gray-1); max-width: 560px; margin: 0;
}
.capa2__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.capa2__card {
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 24px 22px; min-height: 240px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg); transition: background .2s;
}
.capa2__card:hover { background: var(--bg-card); }
.capa2__card .mini-icon { width: 40px; height: 40px; }
.capa2__card .mini-icon svg { width: 100%; height: 100%; }
.capa2__card h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}
.capa2__card .title {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 21px; line-height: 1.1; letter-spacing: -0.01em; margin: 0; color: var(--ink);
}
.capa2__card p {
  font-family: var(--body); font-weight: 300;
  font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; text-wrap: pretty;
}
.capa2__closing {
  margin-top: 48px; font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.01em;
  text-align: center; max-width: 880px; margin-left: auto; margin-right: auto; text-wrap: balance;
  color: var(--ink-soft);
}

/* MOAT */
.moat__head { margin-bottom: 48px; }
.moat__head h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0;
  max-width: 900px; color: var(--ink);
}
.moat__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-left: 1px solid var(--ink);
}
.moat__card {
  border-right: 1px solid var(--ink); padding: 32px 28px 36px 28px; position: relative;
  min-height: 260px; display: flex; flex-direction: column;
}
.moat__card:nth-child(1) { background: linear-gradient(180deg, rgba(31, 60, 144, 0.22) 0%, transparent 80%); }
.moat__card:nth-child(2) { background: linear-gradient(180deg, rgba(233, 78, 27, 0.16) 0%, transparent 80%); }
.moat__card:nth-child(3) { background: linear-gradient(180deg, rgba(31, 60, 144, 0.28) 0%, transparent 80%); }
.moat__num {
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
  display: flex; justify-content: space-between;
}
.moat__num .bar { flex: 1; height: 1px; background: var(--gray-2); margin: 0 14px; align-self: center; }
.moat__num span:last-child { color: var(--gray-1); }
.moat__card h3 {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 18px 0; text-wrap: balance; color: var(--ink);
}
.moat__card p {
  font-family: var(--body); font-weight: 300;
  font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; text-wrap: pretty;
}
.moat__card .diagram { margin-top: auto; padding-top: 24px; height: 72px; }
.moat__card .diagram svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* PROCESO */
.proceso__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; align-items: end; }
.proceso__head h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--ink);
}
.proceso__head p {
  font-family: var(--body); font-style: italic; font-weight: 300;
  font-size: clamp(14px, 1.05vw, 16px); color: var(--gray-1); max-width: 440px; margin: 0;
}
.proceso__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fase {
  padding: 36px 32px 40px 32px; position: relative;
  display: flex; flex-direction: column;
}
.fase:nth-child(1) { background: linear-gradient(200deg, rgba(31, 60, 144, 0.32) 0%, transparent 60%); }
.fase:nth-child(2) { background: linear-gradient(200deg, rgba(233, 78, 27, 0.18) 0%, transparent 60%); }
.fase:nth-child(3) { background: linear-gradient(200deg, rgba(31, 60, 144, 0.4) 0%, rgba(233, 78, 27, 0.08) 100%); }
.fase__no {
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.fase__no .bar { flex: 1; height: 1px; background: var(--gray-2); margin: 0 14px; }
.fase__no span:last-child { color: var(--gray-1); }
.fase__diagram { height: 96px; margin-bottom: 32px; display: flex; align-items: center; justify-content: flex-start; }
.fase__diagram svg { width: 96px; height: 96px; display: block; overflow: visible; }
.fase__moat {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--accent); margin: 0 0 14px 0; text-transform: none;
}
.fase__title {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 18px 0; text-wrap: balance; color: var(--ink);
}
.fase__body {
  font-family: var(--body); font-weight: 300;
  font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); text-align: left; hyphens: manual; -webkit-hyphens: manual;
  margin: 0 0 24px 0; text-wrap: pretty;
}
.fase__spec {
  margin-top: auto; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-1);
  padding-top: 14px; display: grid; gap: 6px;
}
.fase__spec span { display: flex; justify-content: space-between; }
.fase__spec span .v { color: var(--ink); }

/* CAPACIDAD ACTUAL */
.capacidad {
  margin-top: clamp(48px, 6vw, 88px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px dashed var(--gray-2);
  border-bottom: 1px dashed var(--gray-2);
}
.capacidad__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 48px);
}
.capacidad__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.capacidad__sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--gray-1); text-transform: uppercase;
}
.capacidad__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.capacidad__slot {
  display: flex; flex-direction: column; gap: 10px;
}
.capacidad__when {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray-1);
}
.capacidad__num {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
}
.capacidad__tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: lowercase; color: var(--gray-1);
}
@media (max-width: 720px) {
  .capacidad__grid { grid-template-columns: 1fr; }
}

/* ANTES Y DESPUÉS */
.antes__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; align-items: end; }
.antes__head h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--ink);
}
.antes__head p {
  font-family: var(--body); font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.3vw, 19px); color: var(--gray-1); max-width: 460px; margin: 0;
}
.antes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.antes__col {
  padding: 32px 28px 36px 28px;
  border-right: 1px solid var(--ink);
  display: flex; flex-direction: column;
}
.antes__col:nth-child(1) { background: linear-gradient(180deg, transparent 30%, rgba(31, 60, 144, 0.2) 100%); }
.antes__col:nth-child(2) { background: linear-gradient(180deg, transparent 30%, rgba(233, 78, 27, 0.16) 100%); }
.antes__col:nth-child(3) { background: linear-gradient(180deg, transparent 30%, rgba(31, 60, 144, 0.26) 100%); }
.antes__col:last-child { border-right: none; }
.antes__ind {
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 28px;
  padding-bottom: 10px; border-bottom: 1px solid var(--ink);
}
.antes__block .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray-1);
  display: flex; gap: 10px; align-items: center; margin-bottom: 12px;
}
.antes__block .k::before { content: ""; width: 14px; height: 1px; background: var(--gray-1); }
.antes__block.despues .k::before { background: var(--accent); }
.antes__block.despues .k { color: var(--accent); }
.antes__block p {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; margin: 0 0 28px 0; text-wrap: pretty; text-align: left; hyphens: manual; -webkit-hyphens: manual;
}
.antes__block.antes p { color: var(--gray-1); font-style: italic; }
.antes__block.despues p { color: var(--ink); font-weight: 400; font-style: normal; }
.antes__sep {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gray-1); margin: 4px 0 24px 0;
}
.antes__sep::before, .antes__sep::after { content: ""; flex: 1; border-top: 1px dashed var(--gray-2); }
.antes__sep span { color: var(--accent); letter-spacing: 0.18em; }

/* CTA */
.cta__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(34px, 4.0vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 24px 0;
  text-wrap: balance; color: var(--ink);
}
.cta h2 em { font-style: italic; color: var(--accent); }
.cta__sub {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(14px, 1.05vw, 16px); color: var(--ink-soft); max-width: 520px; margin: 0; text-wrap: pretty; text-align: left; hyphens: manual; -webkit-hyphens: manual;
}
.cta__card {
  border: 1px solid var(--ink);
  background: linear-gradient(145deg, rgba(31, 60, 144, 0.55) 0%, var(--bg-card) 50%, rgba(233, 78, 27, 0.22) 100%);
  padding: 28px 28px 24px 28px; position: relative;
}
.cta__card::before {
  content: ""; position: absolute; inset: -1px;
  border: 1px dashed var(--gray-2); margin: 6px; pointer-events: none;
}
.cta__trust {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray-1); line-height: 1.8;
  padding-bottom: 18px; border-bottom: 1px solid var(--ink); margin-bottom: 18px;
}
.cta__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--gray-3);
}
.cta__row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-1); }
.cta__row .v { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--ink); }
.cta__row .v a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); }
.cta__row .v a:hover { color: var(--accent); border-color: var(--accent); }
.cta__hint {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  color: var(--gray-1); letter-spacing: 0.02em; margin-left: 6px;
  border-bottom: none;
}
.cta__btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 100%; margin-top: 18px; padding: 18px 22px;
  background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; border: none; cursor: pointer;
  transition: background .15s;
}
.cta__btn:hover { background: var(--blue); }

/* FOOTER */
.footer {
  padding: 56px var(--gutter) 28px var(--gutter);
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(31, 60, 144, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(233, 78, 27, 0.22) 0%, transparent 55%),
    var(--bg-deep);
  position: relative; z-index: 3;
}
.footer__big {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(22px, 2.5vw, 34px); line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 0 48px 0; max-width: 1000px; text-wrap: balance; color: var(--ink);
}
.footer__big em { font-style: italic; color: var(--accent); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px;
  padding-top: 28px; border-top: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-1);
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h5 { font-size: 10px; letter-spacing: 0.18em; color: var(--ink); margin: 0 0 8px 0; font-weight: 400; }
.footer__col a { color: var(--gray-1); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__col span { color: var(--gray-1); }
.footer__legal {
  margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--gray-2);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--gray-1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  text-transform: none;
}

/* Tweaks */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  background: var(--bg-card); border: 1px solid var(--ink);
  padding: 18px 20px 16px 20px; width: 260px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  color: var(--ink);
}
.tweaks-panel__title {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-1);
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 14px;
}
.tweaks-panel__row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.tweaks-panel__row label { text-transform: uppercase; color: var(--gray-1); font-size: 10px; letter-spacing: 0.12em; }
.tweaks-panel__row .chips { display: flex; gap: 4px; }
.tweaks-panel__row .chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--gray-2); background: transparent; cursor: pointer; color: var(--ink);
}
.tweaks-panel__row .chip.active { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* Responsive */
@media (max-width: 980px) {
  .v3-topnav { grid-template-columns: 1fr auto; }
  .v3-topnav__center { display: none; }
  .hero__grid, .porque__grid, .filtro__head, .verticales__intro, .capa2__head, .proceso__head, .antes__head, .cta__grid { grid-template-columns: 1fr; }
  .hero__atom { justify-self: start; max-width: 340px; }
  .vert-row { grid-template-columns: 40px 1fr; }
  .vert-row__plan { grid-column: 1 / -1; margin-top: 16px; }
  .trustbar__inner { grid-template-columns: 1fr; gap: 24px; }
  .filtro__cols { grid-template-columns: 1fr; }
  .filtro__col--si { border-right: none; border-bottom: 1px solid var(--ink); }
  .capa2__grid { grid-template-columns: repeat(2, 1fr); }
  .moat__grid, .proceso__grid, .antes__grid { grid-template-columns: 1fr; border-left: none; border-top: 1px solid var(--ink); }
  .moat__card, .fase, .antes__col { border-right: none; border-bottom: 1px solid var(--ink); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* === 009 NO HACEMOS === */
.nh__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; align-items: end; }
.nh__head h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--ink);
}
.nh__head p {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--gray-1); margin: 0; max-width: 380px; text-transform: uppercase;
}
.nh__list { display: grid; grid-template-columns: 1fr; gap: 0; }
.nh__item {
  display: grid; grid-template-columns: 110px 1fr 2fr; gap: 32px; padding: 36px 0;
  border-bottom: 1px dashed var(--gray-2); align-items: start;
}
.nh__item:last-child { border-bottom: none; }
.nh__num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; padding-top: 6px;
  display: flex; align-items: center; gap: 10px;
}
.nh__num .bar { width: 32px; height: 1px; background: var(--accent); display: inline-block; }
.nh__t {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink); margin: 0;
}
.nh__b {
  font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.65;
  color: var(--ink-soft); margin: 0; text-align: left !important; hyphens: manual; -webkit-hyphens: manual;
}
@media (max-width: 760px) {
  .nh__head { grid-template-columns: 1fr; }
  .nh__item { grid-template-columns: 1fr; gap: 12px; }
}

/* === LIVE MOCKUPS (Verticales) === */
.lm {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  background: #1a1a18; border: 1px solid #36342f; border-radius: 6px; overflow: hidden;
  font-family: "Space Mono", monospace;
  position: relative;
}
.lm__chrome {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  background: #0e0e0c; border-bottom: 1px solid #36342f;
  font-size: 10px; letter-spacing: 0.06em;
}
.lm__dot { width: 8px; height: 8px; border-radius: 50%; background: #36342f; }
.lm__dot:nth-child(1){ background:#444; } .lm__dot:nth-child(2){ background:#444; } .lm__dot:nth-child(3){ background:#444; }
.lm__title { color: #8a8780; flex: 1; text-align: center; font-size: 10px; }
.lm__live { display: flex; align-items: center; gap: 6px; color: #e94e1b; font-size: 9px; letter-spacing: 0.18em; }
.lm__pulse { width: 7px; height: 7px; border-radius: 50%; background: #e94e1b; animation: lm-pulse 1.4s ease-in-out infinite; }
.lm-pulse-rec { background: #e94e1b; }
@keyframes lm-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.7); } }
.lm__body { flex: 1; padding: 14px; display: grid; gap: 14px; min-height: 0; }
.lm-mono { font-family: "Space Mono", monospace; font-size: 10px; }
.lm-g1 { color: #8a8780; }
.lm-acc { color: #e94e1b; }
.lm-num { display: block; font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 22px; color: #fff; line-height: 1; margin-top: 2px; }
.lm-caret { display: inline-block; animation: lm-blink 0.9s steps(2) infinite; color: #e94e1b; margin-left: 1px; }
@keyframes lm-blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* JURÍDICO */
.lm-jur__body { grid-template-columns: 1.4fr 1fr; }
.lm-jur__list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lm-jur__head, .lm-jur__row { display: grid; grid-template-columns: 56px 60px 60px 1fr; gap: 8px; padding: 6px 8px; align-items: center; }
.lm-jur__head { color: #8a8780; font-size: 9px; letter-spacing: 0.12em; border-bottom: 1px solid #36342f; padding-bottom: 8px; }
.lm-jur__row { background: rgba(255,255,255,0.02); border-radius: 3px; transition: background 0.4s, transform 0.4s; }
.lm-jur__row.is-hi { background: rgba(233,78,27,0.18); transform: translateX(2px); }
.lm-jur__row.is-hi .lm-jur__bar-fill { background: #e94e1b; }
.lm-jur__bar { position: relative; height: 14px; background: #232321; border-radius: 2px; overflow: hidden; display: flex; align-items: center; }
.lm-jur__bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: #1f3c90; transition: width 0.6s ease; }
.lm-jur__bar-pct { position: relative; z-index: 2; padding-left: 8px; color: #fff; font-size: 9px; }
.lm-jur__side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lm-jur__agent { background: #232321; border: 1px solid #36342f; border-radius: 4px; padding: 10px; }
.lm-jur__agent-head { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.1em; margin-bottom: 6px; }
.lm-jur__agent-msg { font-size: 11px; color: #fff; line-height: 1.4; min-height: 32px; }
.lm-jur__toast { padding: 8px 10px; border-left: 2px solid #e94e1b; background: rgba(233,78,27,0.06); animation: lm-toast 0.5s ease; }
@keyframes lm-toast { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.lm-jur__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: auto; }
.lm-jur__stats > div { background: #232321; padding: 8px; border-radius: 3px; }
.lm-jur__stats .lm-mono { font-size: 8.5px; letter-spacing: 0.1em; }

/* FISIO */
.lm-fis__body { grid-template-columns: 1fr 1.4fr; }
.lm-fis__rec { display: flex; flex-direction: column; background: #232321; border: 1px solid #36342f; border-radius: 4px; padding: 12px; min-width: 0; }
.lm-fis__rec-head, .lm-fis__rec-foot { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.1em; }
.lm-fis__rec-head { margin-bottom: 10px; }
.lm-fis__rec-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid #36342f; }
.lm-fis__wave { flex: 1; display: flex; align-items: center; gap: 1.5px; min-height: 60px; }
.lm-fis__bar { flex: 1; min-width: 1.5px; background: #e94e1b; border-radius: 1px; transition: height 0.15s ease, opacity 0.15s; max-height: 100%; }
.lm-fis__soap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lm-fis__soap-head { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.1em; padding-bottom: 6px; border-bottom: 1px solid #36342f; }
.lm-fis__soap-row { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 5px 0; align-items: start; opacity: 0.55; transition: opacity 0.3s; }
.lm-fis__soap-row.is-active { opacity: 1; }
.lm-fis__soap-k { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 18px; color: #e94e1b; line-height: 1; padding-top: 1px; }
.lm-fis__soap-c { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lm-fis__soap-c .lm-mono { font-size: 8.5px; letter-spacing: 0.1em; }
.lm-fis__soap-txt { font-size: 10.5px; color: #fff; line-height: 1.45; }

/* CONTABLE */
.lm-con__body { grid-template-columns: 1.1fr 1fr; }
.lm-con__inbox { display: flex; flex-direction: column; background: #232321; border: 1px solid #36342f; border-radius: 4px; padding: 10px; min-width: 0; }
.lm-con__inbox-head, .lm-con__inbox-foot { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.1em; }
.lm-con__inbox-head { padding-bottom: 8px; border-bottom: 1px solid #36342f; margin-bottom: 6px; }
.lm-con__inbox-foot { padding-top: 8px; border-top: 1px solid #36342f; margin-top: auto; }
.lm-con__inbox-list { display: flex; flex-direction: column; gap: 3px; flex: 1; overflow: hidden; }
.lm-con__row { display: grid; grid-template-columns: 60px 1fr 70px 18px; gap: 6px; padding: 5px 4px; align-items: center; background: rgba(255,255,255,0.02); border-radius: 2px; }
.lm-con__row.is-new { animation: lm-slide 0.5s ease; }
.lm-con__row.is-err { background: rgba(233,78,27,0.12); }
.lm-con__row.is-val { background: rgba(31,60,144,0.18); }
@keyframes lm-slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.lm-con__st { width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; }
.lm-st-ok  { background: #1f3c90; color: #fff; }
.lm-st-err { background: #e94e1b; color: #fff; }
.lm-st-val { background: #36342f; color: #e94e1b; }
.lm-con__cobr { display: flex; flex-direction: column; background: #232321; border: 1px solid #36342f; border-radius: 4px; padding: 10px; min-width: 0; }
.lm-con__cobr-head, .lm-con__cobr-foot { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.1em; }
.lm-con__cobr-head { padding-bottom: 8px; border-bottom: 1px solid #36342f; margin-bottom: 8px; }
.lm-con__cobr-foot { padding-top: 8px; border-top: 1px solid #36342f; margin-top: auto; }
.lm-con__cobr-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 6px; flex: 1; min-height: 90px; }
.lm-con__col { background: rgba(255,255,255,0.02); border-radius: 2px; padding: 6px 4px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.lm-con__col-h { font-size: 7.5px; letter-spacing: 0.08em; line-height: 1.2; text-align: center; }
.lm-con__col-tokens { flex: 1; position: relative; }
.lm-con__tok { position: absolute; left: 50%; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #e94e1b; transform: translateX(-50%); transition: transform 0.4s, opacity 0.4s; }

@media (max-width: 760px) {
  .lm-jur__body, .lm-fis__body, .lm-con__body { grid-template-columns: 1fr; }
}

/* === ASCII FIGURES === */
.ascii-fig {
  font-family: "Space Mono", monospace;
  font-size: 9px; line-height: 9px; letter-spacing: 0;
  margin: 0; white-space: pre; pointer-events: none;
  transform-origin: center center;
}
.ascii-fig__row { display: block; height: 8.5px; }
.ascii-fig span { display: inline-block; width: 6px; }
.ascii-fig .is-bright { color: #ffffff; }
.ascii-fig .is-mid { color: #b8b5ad; }
.ascii-fig .is-dim { color: #5a5853; }
.ascii-band {
  font-family: "Space Mono", monospace;
  font-size: 11px; line-height: 14px; color: #36342f;
  margin: 0; white-space: pre; overflow: hidden; opacity: 0.5;
  pointer-events: none;
}
.ascii-band .is-bright { color: #e94e1b; }
.ascii-band .is-dim { color: #5a5853; }

/* Pinned in mockup corners */
.lm__ascii {
  position: absolute; pointer-events: none;
  z-index: 1;
}
.lm-jur .lm__ascii { right: 18px; top: 50px; opacity: 0.55; }
.lm-fis .lm__ascii { right: 18px; top: 50px; opacity: 0.55; }
.lm-con .lm__ascii { left: 50%; transform: translateX(-50%); top: 50%; margin-top: -90px; opacity: 0.45; z-index: 3; }
.lm__body { position: relative; z-index: 2; }

/* === Verticales ASCII figures (full mockup replacement) === */
.lm-ascii {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(35,35,33,0.4) 0%, rgba(15,15,14,0.6) 100%);
  border: 1px dashed rgba(255,255,255,0.08);
  padding: 32px;
  overflow: hidden;
}
.lm-ascii__inner {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.lm-ascii .ascii-fig {
  font-size: 9.5px; line-height: 9.5px;
}
.lm-ascii .ascii-fig span { width: 5.5px; }
.lm-ascii .ascii-fig .is-dim { color: #4a4845; }
.lm-ascii .ascii-fig .is-bright { color: #e94e1b; }
.lm-ascii__caption {
  display: flex; justify-content: space-between;
  font-family: "Space Mono", monospace; font-size: 9.5px;
  letter-spacing: 0.14em; color: #6a6862; text-transform: uppercase;
  border-top: 1px dashed rgba(255,255,255,0.08); padding-top: 14px; margin-top: 14px;
}

/* === ASCII portraits — blueprint stroke style (matches atom) === */
.lm.lm-ascii {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: stretch; justify-content: center;
  padding: 18px 22px; background: var(--bg-card);
}
.lm-ascii__art {
  flex: 1; margin: 0; color: var(--ink); font-family: var(--mono);
  font-size: clamp(5px, 0.58vw, 7.5px); line-height: 1.0; letter-spacing: 0;
  white-space: pre; text-align: center; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-weight: 400; opacity: 0.92;
}
.lm-ascii__caption {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  color: var(--gray-1); text-transform: uppercase; padding-top: 10px;
  border-top: 1px dashed var(--gray-3);
}

/* === 002 MANIFESTO · WHY === */
.manifesto { padding-top: clamp(96px, 12vw, 180px) !important; padding-bottom: clamp(96px, 12vw, 180px) !important; }
.manifesto__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 80px);
  display: flex; flex-direction: column; gap: 0;
}
.manifesto__line {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.6vw, 72px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink-soft); margin: 0; text-wrap: balance; max-width: 22ch;
}
.manifesto__line--accent {
  color: var(--ink); align-self: flex-end; text-align: right;
  margin-top: clamp(8px, 1.2vw, 18px);
}
.nh__cierre { max-width: none; padding: 0; margin-top: clamp(36px, 4vw, 60px); border-top: 1px solid var(--g3, #36342f); padding-top: clamp(36px, 4vw, 56px); }
.nh__cierre .manifesto__line { font-size: clamp(28px, 3.6vw, 54px); }
@media (max-width: 760px) {
  .manifesto__line { font-size: clamp(28px, 7vw, 44px); }
  .manifesto__line--accent { align-self: flex-start; text-align: left; }
}

/* === 005 VERTICALES · CARRUSEL (scroll horizontal nativo + auto-advance) === */
.vert-carousel {
  position: relative; width: 100%; max-width: 1180px; margin: 0 auto;
  overflow-x: auto; overflow-y: visible; padding: 40px 0;
  background: transparent;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.vert-carousel::-webkit-scrollbar { display: none; }
.vert-carousel:active { cursor: grabbing; }
.vert-carousel.is-dragging { scroll-behavior: auto; }
.vert-carousel__track {
  display: flex; flex-wrap: nowrap; gap: 28px; padding: 0 28px;
  width: max-content;
  will-change: scroll-position;
}
.vert-card { scroll-snap-align: start; user-select: none; }
.vert-card {
  flex: 0 0 340px; width: 340px;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  background: #0a0a0a; border: 1px solid var(--gray-2);
  color: var(--ink);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}
.vert-card:hover { border-color: var(--accent); transform: translateY(-3px); background: #0e0e0e; }
.vert-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--gray-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vert-card__id { color: var(--accent); }
.vert-card__tag { color: var(--ink-soft); }
.vert-card__lead {
  font-family: var(--display-opt); font-style: italic; font-weight: 400;
  font-size: 22px; line-height: 1.12; letter-spacing: -0.015em;
  margin: 0; color: var(--ink); text-wrap: balance;
}
.vert-card__body {
  font-family: var(--body); font-weight: 300; font-size: 13px; line-height: 1.6;
  color: var(--ink-soft); margin: 0; text-align: left; hyphens: manual; -webkit-hyphens: manual;
  flex: 1;
}
.vert-card__plan {
  position: relative; padding: 12px;
  border: 1px dashed var(--gray-2); background: rgba(255,255,255,0.02);
  height: 130px;
}
.vert-card__plan .corner {
  position: absolute; font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em;
  color: var(--gray-1); text-transform: uppercase; z-index: 2;
}
.vert-card__plan .corner.tl { top: 6px; left: 8px; }
.vert-card__plan .corner.br { bottom: 6px; right: 8px; }
.vert-card__plan svg { width: 100%; height: 100%; display: block; overflow: visible; }
.vert-carousel__hint {
  display: block; margin: 18px auto 0; text-align: center;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  color: var(--gray-1); text-transform: uppercase;
}
@media (max-width: 760px) {
  .vert-card { flex-basis: 280px; width: 280px; padding: 22px; }
  .vert-carousel__track { gap: 20px; padding: 0 20px; }
}

/* === 005·BIS BENEFICIOS — reemplaza Verticales (2026-05-28) === */
.bene__head { max-width: 1280px; margin: 0 auto; }
.bene__head h2 {
  font-family: var(--display-opt); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 5vw, 88px); line-height: 1.04; letter-spacing: -0.025em;
  color: var(--ink); margin: 0 0 28px 0; text-wrap: balance;
  max-width: 22ch;
}
.bene__head h2 .hl { color: var(--accent); }
.bene__head p {
  font-family: var(--body); font-weight: 300;
  font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6;
  color: var(--ink-soft); max-width: 56ch; margin: 0;
}
.bene__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: clamp(48px, 6vw, 96px);
  border-top: 1px solid var(--gray-3);
  border-left: 1px solid var(--gray-3);
}
.bene__card {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--gray-3);
  border-bottom: 1px solid var(--gray-3);
  background: rgba(255,255,255,0.012);
  transition: background 220ms ease, transform 220ms ease;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  position: relative;
}
.bene__card:hover { background: rgba(233, 78, 27, 0.04); }
.bene__card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); transition: width 320ms ease;
}
.bene__card:hover::before { width: 100%; }
.bene__card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bene__card-id { color: var(--accent); }
.bene__card-k { color: var(--gray-1); text-align: right; }
.bene__card-t {
  font-family: var(--display-opt); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 1.7vw, 28px); line-height: 1.18; letter-spacing: -0.02em;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.bene__card-b {
  font-family: var(--body); font-weight: 300;
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-soft); margin: 0; text-align: left;
  max-width: 38ch;
}
@media (max-width: 980px) {
  .bene__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bene__grid { grid-template-columns: 1fr; }
  .bene__card { min-height: 200px; }
}

/* === 004·BIS ROARK LÍNEA — voz IA (2026-06-14) === */
/* Reusa el sistema .bene__* y solo agrega el wrapper del CTA. */
.linea__cta {
  display: flex; justify-content: flex-start;
  margin-top: clamp(36px, 4vw, 56px);
}
@media (max-width: 600px) {
  .linea__cta { justify-content: stretch; }
  .linea__cta .btn-primary { width: 100%; justify-content: center; }
}

/* Breathing-room content widths */
.section .filtro__head, .section .verticales__intro, .section .proceso__head,
.section .nh__head, .section .cta__grid, .section .bene__head {
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.vert-row__head p.vert-desc, .fase__body, .nh__b, .cta__sub {
  max-width: 56ch;
}
/* More gap between H2 and content */
.filtro__head, .verticales__intro, .proceso__head, .nh__head, .antes__head, .bene__head {
  margin-bottom: clamp(64px, 8vw, 120px) !important;
}
/* Subtle grain overlay over body for atmosphere
   Lighter version: smaller tile (96px), single octave, no mix-blend-mode.
   mix-blend-mode forces an offscreen layer for the whole viewport which
   tanks scroll perf on weaker GPUs. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.18;
}
@media (prefers-reduced-motion: reduce) {
  body::after { display: none; }
}

/* ─────────────────────────────────────────────────────────────────────
   INTRO ATOM — orbital calibration overlay (matches HeroAtom vocabulary)
   Crosshair extends from center, rings draw, ticks tick in, core pulses,
   particles fade in, then everything scales and fades out.
   ───────────────────────────────────────────────────────────────────── */
.intro-atom {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  display: grid; place-items: center;
  animation: intro-atom-final 360ms ease-in 1080ms forwards;
}
.intro-atom__bg {
  position: absolute; inset: 0;
  background: var(--bg, #050505);
  animation: intro-atom-bg 360ms ease-in 1080ms forwards;
}
.intro-atom__corners {
  position: absolute; inset: 28px;
  pointer-events: none;
  font-family: "Space Mono", monospace; font-size: 9px; letter-spacing: 0.18em;
  color: #8a8780; text-transform: uppercase;
  opacity: 0;
  animation: intro-atom-corners 600ms ease 200ms forwards;
}
.intro-atom__corner {
  position: absolute; display: flex; align-items: center; gap: 6px;
}
.intro-atom__corner::before {
  content: ""; width: 14px; height: 1px; background: #8a8780;
}
.intro-atom__corner--tl { top: 0; left: 0; }
.intro-atom__corner--tr { top: 0; right: 0; flex-direction: row-reverse; }
.intro-atom__corner--tr::before { background: #8a8780; }
.intro-atom__corner--bl { bottom: 0; left: 0; }
.intro-atom__corner--br { bottom: 0; right: 0; flex-direction: row-reverse; }

.intro-atom__svg {
  position: relative;
  width: min(72vmin, 580px); height: min(72vmin, 580px);
  overflow: visible;
}

/* crosshair lines — extend from center to edges */
.intro-atom__hair {
  animation: intro-atom-hair 460ms cubic-bezier(0.2, 0.6, 0.2, 1) 60ms forwards;
}
.intro-atom__hair--h { animation-name: intro-atom-hair-h; }
.intro-atom__hair--v { animation-name: intro-atom-hair-v; }
@keyframes intro-atom-hair-h {
  from { x1: 240; x2: 240; }
  to   { x1: 0;   x2: 480; }
}
@keyframes intro-atom-hair-v {
  from { y1: 240; y2: 240; }
  to   { y1: 0;   y2: 480; }
}

/* outer ring draws around */
.intro-atom__ring-outer {
  stroke-dasharray: 1131; stroke-dashoffset: 1131;
  animation: intro-atom-ring-draw 620ms cubic-bezier(0.4, 0, 0.2, 1) 120ms forwards;
}
@keyframes intro-atom-ring-draw {
  to { stroke-dashoffset: 0; }
}

/* dashed inner ring fades in */
.intro-atom__ring-dash {
  opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: intro-atom-fadein 420ms ease 280ms forwards,
             intro-atom-spin 32s linear 280ms infinite;
}

/* ellipses fade in then keep slow drift */
.intro-atom__ellipse {
  opacity: 0;
  transform-box: fill-box; transform-origin: center;
}
.intro-atom__ellipse--a {
  animation: intro-atom-fadein 460ms ease 360ms forwards;
}
.intro-atom__ellipse--b {
  animation: intro-atom-fadein 460ms ease 420ms forwards;
}

/* ticks pop in one by one */
.intro-atom__ticks line {
  opacity: 0;
  animation: intro-atom-fadein 200ms ease forwards;
}

/* core grows from 0 to 28, then pulses — appears immediately */
.intro-atom__core {
  animation: intro-atom-core 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 0ms forwards;
}
@keyframes intro-atom-core {
  0%   { r: 0; }
  60%  { r: 36; }
  100% { r: 28; }
}
.intro-atom__core-pulse {
  opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: intro-atom-pulse 900ms ease-out 600ms forwards;
}
@keyframes intro-atom-pulse {
  0%   { opacity: 0.85; transform: scale(0.4); }
  100% { opacity: 0;    transform: scale(2.2); }
}

/* particles fade in */
.intro-atom__particle {
  opacity: 0;
  animation: intro-atom-fadein 360ms ease forwards;
}
.intro-atom__particle--1 { animation-delay: 720ms; }
.intro-atom__particle--2 { animation-delay: 800ms; }
.intro-atom__particle--3 { animation-delay: 880ms; }

/* shared keyframes */
@keyframes intro-atom-fadein {
  to { opacity: 1; }
}
@keyframes intro-atom-spin {
  to { transform: rotate(360deg); }
}
@keyframes intro-atom-corners {
  to { opacity: 1; }
}

/* final exit — scale and fade the whole overlay */
@keyframes intro-atom-final {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}
@keyframes intro-atom-bg {
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-atom { display: none !important; }
}

/* ─────────────────────────────────────────────────────────────────────
   SCROLL HINT — bouncing chevron at bottom of hero
   ───────────────────────────────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: clamp(64px, 8vh, 112px);
  transform: translateX(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink, #f0ede4);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 250ms ease, transform 250ms ease;
  animation: scroll-hint-bounce 1.6s ease-in-out infinite;
  z-index: 5;
}
.scroll-hint:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.08);
}
.scroll-hint svg {
  display: block;
}
.scroll-hint--hidden {
  opacity: 0;
  pointer-events: none;
  animation-play-state: paused;
}
@keyframes scroll-hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}
.section.hero { position: relative; }

/* ─────────────────────────────────────────────────────────────────────
   MOBILE FIX — max-width: 768px
   Root causes fixed:
   1. .section__rail (56px) + .section__inner margin-left pushed content
      off-screen on narrow viewports with no mobile override.
   2. Various 2-col / 3-col grids had no small-screen collapse.
   3. background-attachment:fixed (removed above) caused iOS Safari scroll
      resets on URL-bar collapse; overscroll-behavior-y:none added to body.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --rail: 0px;
    --gutter: clamp(16px, 5vw, 28px);
  }

  /* Kill the left rail — the main culprit pushing content right */
  .section__rail { display: none; }
  .section__inner { margin-left: 0; padding-left: 0; }

  /* Section base padding */
  .section {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-top: clamp(48px, 8vw, 80px);
    padding-bottom: clamp(48px, 8vw, 80px);
  }

  /* NAV — already handled at 980px but ensure right side hidden on small */
  .v3-topnav__right { display: none; }
  .v3-topnav { padding: 14px var(--gutter); }

  /* HERO */
  .hero { min-height: 100svh; padding-top: 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__atom { justify-self: center; max-width: 260px; margin-top: 16px; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero__sub { font-size: 16px; max-width: 100%; }

  /* MANIFESTO */
  .manifesto__line { font-size: clamp(26px, 7.5vw, 40px); }
  .manifesto__line--accent { align-self: flex-start; text-align: left; }

  /* POR QUÉ */
  .porque__grid { grid-template-columns: 1fr; gap: 24px; }
  .porque__quote { font-size: clamp(24px, 7vw, 36px); }

  /* FILTRO */
  .filtro__head { grid-template-columns: 1fr; gap: 16px; }
  .filtro__cols { grid-template-columns: 1fr; }
  .filtro__col--si { border-right: none; border-bottom: 1px solid var(--ink); }
  .filtro__col { padding: 24px 20px; }
  .filtro__col li { font-size: 15px; }

  /* VERTICALES intro */
  .verticales__intro { grid-template-columns: 1fr; gap: 16px; }

  /* VERTICALES rows (already 40px+1fr+1.4fr — collapse) */
  .vert-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .vert-row__num { display: none; }
  .vert-row__plan { grid-column: 1 / -1; aspect-ratio: 16/9; }

  /* CAPA 2 */
  .capa2__head { grid-template-columns: 1fr; gap: 16px; }
  .capa2__grid { grid-template-columns: 1fr 1fr; }

  /* MOAT */
  .moat__head h2 { font-size: clamp(26px, 7vw, 36px); }
  .moat__grid { grid-template-columns: 1fr; border-left: none; border-top: 1px solid var(--ink); }
  .moat__card { border-right: none; border-bottom: 1px solid var(--ink); }

  /* PROCESO */
  .proceso__head { grid-template-columns: 1fr; gap: 16px; }
  .proceso__grid { grid-template-columns: 1fr; }
  .fase { border-right: none; border-bottom: 1px solid var(--ink); }
  .fase:last-child { border-bottom: none; }

  /* CAPACIDAD */
  .capacidad__grid { grid-template-columns: 1fr; }
  .capacidad__num { font-size: clamp(40px, 10vw, 64px); }

  /* ANTES Y DESPUÉS */
  .antes__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .antes__grid { grid-template-columns: 1fr; border-left: none; border-top: 1px solid var(--ink); }
  .antes__col { border-right: none; border-bottom: 1px solid var(--ink); padding: 24px 18px; }
  .antes__col:last-child { border-bottom: none; }

  /* NO HACEMOS */
  .nh__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .nh__item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .nh__num { display: none; }

  /* CTA */
  .cta__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta h2 { font-size: clamp(28px, 8vw, 44px); }

  /* FOOTER */
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__big { font-size: clamp(18px, 5.5vw, 26px); }
  .footer__legal { flex-direction: column; gap: 8px; }

  /* TRUSTBAR */
  .trustbar__inner { grid-template-columns: 1fr; gap: 20px; }

  /* Tweaks panel — hide on mobile (dev tool) */
  .tweaks-panel { display: none; }
  .type-switch { display: none; }

  /* Breathing-room content widths reset */
  .section .filtro__head, .section .verticales__intro, .section .proceso__head,
  .section .nh__head, .section .cta__grid {
    max-width: 100%;
  }
}

/* Extra small — hide watermarks and grain to reduce visual noise */
@media (max-width: 480px) {
  .v3-grid { display: none; }
  body::after { display: none; }
  .hero h1 { font-size: clamp(30px, 10vw, 44px); }
  .capa2__grid { grid-template-columns: 1fr; }
  .vert-card { flex-basis: 240px; width: 240px; }
}


/* =========================================================
   v4 — MOTION & LIFE
   Cursor crosshair · scroll HUD · marquee · tilt/glare ·
   conic border CTA · nav blur · grain
   Todo decorativo se apaga con prefers-reduced-motion.
   ========================================================= */

/* NAV — vidrio translúcido en vez de bloque sólido */
.v3-topnav {
  background: rgba(5, 5, 5, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.v3-navlink { position: relative; transition: color .2s; }
.v3-navlink::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1);
}
.v3-navlink:hover::after, .v3-navlink.is-active::after { transform: scaleX(1); }
.v3-navlink.is-active { color: var(--accent); }

/* HUD — barra de progreso de scroll */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--accent) 0%, #ff7a45 55%, var(--blue-soft) 100%);
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(233, 78, 27, 0.55);
}

/* CURSOR — crosshair técnico (solo cuando JS lo activa en pointer:fine) */
html.has-cursor body { cursor: none; }
html.has-cursor a, html.has-cursor button { cursor: none; }
.cursor-dot {
  position: fixed; top: -3px; left: -3px; width: 6px; height: 6px; z-index: 99;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; mix-blend-mode: normal;
}
.cursor-ring {
  position: fixed; top: -16px; left: -16px; width: 32px; height: 32px; z-index: 98;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%;
  pointer-events: none;
  transition: width .25s, height .25s, top .25s, left .25s, border-color .25s, background .25s;
}
.cursor-ring::before, .cursor-ring::after {
  content: ""; position: absolute; background: rgba(255, 255, 255, 0.4);
  transition: opacity .25s;
}
.cursor-ring::before { left: 50%; top: -7px; width: 1px; height: 5px; }
.cursor-ring::after { top: 50%; left: -7px; height: 1px; width: 5px; }
.cursor-ring.is-hover {
  width: 52px; height: 52px; top: -26px; left: -26px;
  border-color: var(--accent); background: rgba(233, 78, 27, 0.08);
}
.cursor-ring.is-down { transform: scale(0.8); }

/* MARQUEE — ticker técnico */
.marquee {
  position: relative; z-index: 3; overflow: hidden;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  padding: 16px 0;
  background: rgba(5, 5, 5, 0.4);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee-scroll 36s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; flex-shrink: 0; }
.marquee__item {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gray-1); white-space: nowrap;
}
.marquee__item:nth-child(3n+1) { color: var(--ink); }
.marquee__sep { color: var(--accent); margin: 0 28px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* CARDS — glare que sigue al cursor (vars --mx/--my las setea motion.js) */
.tiltable { position: relative; will-change: transform; }
.tiltable::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.07) 0%, rgba(233, 78, 27, 0.05) 35%, transparent 65%);
}
.tiltable:hover::after { opacity: 1; }

/* BENE cards — borde vivo + scanline al hover */
.bene__card { transition: background .3s, border-color .3s, box-shadow .35s; overflow: hidden; }
.bene__card:hover {
  box-shadow: 0 0 0 1px rgba(233, 78, 27, 0.35), 0 18px 50px -22px rgba(233, 78, 27, 0.25);
}
.bene__card-id { transition: color .3s; }
.bene__card:hover .bene__card-id { color: var(--accent); }

/* FASE cards — lift sutil */
.fase { transition: box-shadow .35s; }
.fase:hover { box-shadow: 0 24px 60px -30px rgba(31, 60, 144, 0.55); }

/* CTA — borde orbital conic animado */
@property --cta-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.cta__card::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  padding: 1px;
  background: conic-gradient(from var(--cta-angle),
    transparent 0%, var(--accent) 10%, transparent 24%,
    transparent 50%, rgba(91, 127, 222, 0.85) 62%, transparent 78%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: cta-orbit 7s linear infinite;
}
@keyframes cta-orbit { to { --cta-angle: 360deg; } }

/* GRAIN — textura de película muy sutil encima de todo.
   PERF (2026-06-28): antes era inset:-100% (9x el viewport) animado con
   transform 6x/seg en loop infinito → recompositaba la pantalla completa
   cada frame, para siempre (ventilador en M-series). La "ebullición" a
   0.035 de opacidad es imperceptible, así que la dejamos ESTÁTICA y a
   tamaño viewport (1x). Misma textura, cero costo idle. */
.v3-grain {
  position: fixed; inset: 0; z-index: 55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1.4%); }
  40% { transform: translate(1.6%, -1%); }
  60% { transform: translate(-1%, -1.8%); }
  80% { transform: translate(1.2%, 1%); }
  100% { transform: translate(0, 0); }
}

/* PERF: átomo del hero pausado fuera de viewport (toggle desde motion.js).
   Invisible — solo deja de repintar cuando el usuario ya no lo está viendo. */
.hero__atom.is-still, .hero__atom.is-still * { animation-play-state: paused !important; }

/* Manifesto: las palabras separadas no deben romper el balance tipográfico */
.manifesto__line .w { display: inline-block; }

/* Botones: transform viene de GSAP, garantizamos compositing limpio */
.btn-primary, .cta__btn { will-change: transform; }

/* Reduced motion: apagar todo lo decorativo de v4 */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .cta__card::after { animation: none; }
  .v3-grain { animation: none; }
  .scroll-progress, .cursor-dot, .cursor-ring { display: none; }
}

/* Mobile: sin grain animado ya cubierto; marquee más compacto */
@media (max-width: 760px) {
  .marquee__item { font-size: 10.5px; }
  .marquee__sep { margin: 0 18px; }
}

/* ROARK — Ecosistema interactivo (switcher, menos texto + interacción) */
.eco__head { margin-bottom: clamp(32px, 4vw, 56px) !important; }
.eco {
  max-width: 1280px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 64px); align-items: start;
}
.eco__tabs { display: flex; flex-direction: column; }
.eco__tab {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  width: 100%; text-align: left; background: none; border: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: clamp(15px,1.6vw,22px) 8px; cursor: pointer;
  color: var(--gray-1); font-family: var(--mono);
  transition: color .25s, padding-left .25s, background .3s;
}
.eco__tabs .eco__tab:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.eco__tab-id { font-size: 11px; letter-spacing: 0.12em; color: var(--gray-2); transition: color .25s; }
.eco__tab-k { font-size: clamp(13px,1.3vw,16px); letter-spacing: 0.14em; text-transform: uppercase; }
.eco__tab-arrow { opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; color: var(--accent); }
.eco__tab:hover { color: var(--ink-soft); padding-left: 14px; }
.eco__tab.is-active { color: var(--ink); padding-left: 16px; background: linear-gradient(90deg, rgba(233,78,27,0.12), transparent 72%); }
.eco__tab.is-active .eco__tab-id { color: var(--accent); }
.eco__tab.is-active .eco__tab-arrow { opacity: 1; transform: translateX(0); }
.eco__panel {
  position: relative; min-height: 230px;
  border-left: 1px solid rgba(233,78,27,0.45);
  padding: 6px 0 6px clamp(22px,3vw,48px);
  animation: ecoIn .45s cubic-bezier(.2,.7,.2,1);
}
.eco__panel-id { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.eco__panel-t {
  font-family: var(--display-opt); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 3.6vw, 54px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink); margin: 14px 0 18px; text-wrap: balance;
}
.eco__panel-b {
  font-family: var(--body); font-weight: 300; font-size: clamp(15px,1.5vw,19px);
  line-height: 1.6; color: var(--ink-soft); max-width: 44ch; margin: 0;
}
@keyframes ecoIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) {
  .eco { grid-template-columns: 1fr; gap: 26px; }
  .eco__panel { min-height: 0; border-left: 0; border-top: 1px solid rgba(233,78,27,0.45); padding: 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .eco__panel { animation: none; } }

/* ---- Mini-demos del ecosistema: demuestran producto, no decoran ---- */
.eco-demo-mount { min-height: 244px; } /* reserva alto: el demo monta solo en viewport */
.eco-demo {
  margin-top: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  padding: clamp(14px, 1.6vw, 18px);
  max-width: 460px;
  animation: ecoDemoIn .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes ecoDemoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* DASHBOARD */
.ed-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ed-kpi { display: flex; flex-direction: column; gap: 3px; }
.ed-kpi__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-2); }
.ed-kpi__v { font-family: var(--mono); font-weight: 700; font-size: clamp(17px, 2vw, 22px); color: var(--ink); font-variant-numeric: tabular-nums; }
.ed-kpi__d { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; }
.ed-up { color: #4ad07a; }
.ed-down { color: var(--accent); }
.ed-chart__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--gray-2); text-transform: uppercase; }
.ed-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.ed-live i { width: 6px; height: 6px; border-radius: 50%; background: #4ad07a; box-shadow: 0 0 0 0 rgba(74,208,122,0.6); animation: edPulse 1.8s ease-out infinite; }
@keyframes edPulse { 0% { box-shadow: 0 0 0 0 rgba(74,208,122,0.55); } 70% { box-shadow: 0 0 0 7px rgba(74,208,122,0); } 100% { box-shadow: 0 0 0 0 rgba(74,208,122,0); } }
.ed-chart svg { width: 100%; height: 64px; display: block; }
.ed-spark { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(233,78,27,0.45)); }

/* WHATSAPP */
.ed-wa__head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 12px; }
.ed-wa__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ad07a; }
.ed-wa__body { display: flex; flex-direction: column; gap: 9px; min-height: 132px; }
.ed-bubble { max-width: 82%; padding: 9px 13px; border-radius: 13px; font-family: var(--body); font-size: 13.5px; line-height: 1.45; animation: edBubbleIn .32s cubic-bezier(.2,.7,.2,1) both; }
.ed-bubble--in { align-self: flex-start; background: rgba(255,255,255,0.07); color: var(--ink-soft); border-bottom-left-radius: 4px; }
.ed-bubble--out { align-self: flex-end; background: rgba(233,78,27,0.16); border: 1px solid rgba(233,78,27,0.4); color: var(--ink); border-bottom-right-radius: 4px; }
.ed-bubble--typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 12px 14px; background: rgba(233,78,27,0.12); border-bottom-right-radius: 4px; }
.ed-bubble--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.5; animation: edType 1s infinite; }
.ed-bubble--typing i:nth-child(2) { animation-delay: .15s; }
.ed-bubble--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes edType { 0%,60%,100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes edBubbleIn { from { opacity: 0; transform: translateY(7px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* LLAMADAS */
.ed-call__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.ed-call__live { display: inline-flex; align-items: center; gap: 7px; color: var(--gray-2); text-transform: uppercase; }
.ed-call__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: edPulseO 1.6s ease-out infinite; }
@keyframes edPulseO { 0% { box-shadow: 0 0 0 0 rgba(233,78,27,0.55); } 70% { box-shadow: 0 0 0 7px rgba(233,78,27,0); } 100% { box-shadow: 0 0 0 0 rgba(233,78,27,0); } }
.ed-call__timer { color: var(--ink); font-variant-numeric: tabular-nums; }
.ed-wave { display: flex; align-items: center; gap: 4px; height: 56px; margin-bottom: 12px; }
.ed-wave span { flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--accent), rgba(233,78,27,0.4)); height: calc(14px + var(--h) * 38px); transform-origin: center; animation: edWave 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
.ed-wave.is-static span { animation: none; }
@keyframes edWave { 0%,100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.ed-call__cap { font-family: var(--body); font-size: 13px; color: var(--ink-soft); }

/* shared: punto de sync girando */
.ed-sync { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); border-top-color: transparent; display: inline-block; animation: edSpin .8s linear infinite; }
@keyframes edSpin { to { transform: rotate(360deg); } }

/* INTEGRACIONES */
.ed-int__head, .ed-brain__head, .ed-bp__head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 14px; }
.ed-int__rows { display: flex; flex-direction: column; }
.ed-int__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 2px; border-bottom: 1px solid rgba(255,255,255,0.07); font-family: var(--mono); font-size: 12.5px; opacity: 0; animation: edRowIn .4s cubic-bezier(.2,.7,.2,1) forwards; }
.ed-int__name { color: var(--ink-soft); }
.ed-int__ok { color: #4ad07a; font-size: 11.5px; letter-spacing: 0.02em; }
.ed-int__wait { display: inline-flex; gap: 3px; }
.ed-int__wait i { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-2); animation: edType 1s infinite; }
.ed-int__wait i:nth-child(2) { animation-delay: .15s; }
.ed-int__wait i:nth-child(3) { animation-delay: .3s; }
.ed-int__foot, .ed-brain__foot, .ed-bp__foot { margin-top: 12px; font-family: var(--body); font-size: 12.5px; color: var(--gray-1); }
@keyframes edRowIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* UN SOLO CEREBRO */
.ed-brain__feed { display: flex; flex-direction: column; gap: 8px; min-height: 118px; }
.ed-brain__row { display: flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 13px; color: var(--ink-soft); animation: edRowIn .38s cubic-bezier(.2,.7,.2,1) both; }
.ed-tag { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 6px; border-radius: 4px; min-width: 38px; text-align: center; }
.ed-tag--wa { background: rgba(74,208,122,0.16); color: #6fe09a; }
.ed-tag--tel { background: rgba(233,78,27,0.16); color: var(--accent); }
.ed-tag--mail { background: rgba(60,120,220,0.18); color: #74a8ff; }
.ed-brain__foot { display: flex; align-items: baseline; gap: 6px; border-top: 1px solid rgba(233,78,27,0.3); padding-top: 10px; }
.ed-brain__merge { color: var(--accent); font-size: 15px; }

/* A TU MEDIDA · blueprint */
.ed-bp__svg { width: 100%; height: 116px; display: block; }
.ed-bp__line { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: bpDraw .6s ease forwards; filter: drop-shadow(0 0 3px rgba(233,78,27,0.4)); }
@keyframes bpDraw { to { stroke-dashoffset: 0; } }
.ed-bp__node { opacity: 0; animation: bpNodeIn .45s cubic-bezier(.2,.7,.2,1) forwards; }
.ed-bp__node rect { fill: rgba(255,255,255,0.04); stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.ed-bp__node text { fill: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; }
@keyframes bpNodeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 820px) { .eco-demo { max-width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .eco-demo, .ed-bubble, .ed-int__row, .ed-brain__row, .ed-bp__node { animation: none; opacity: 1; }
  .ed-live i, .ed-call__live i, .ed-bubble--typing i, .ed-wave span, .ed-sync, .ed-int__wait i { animation: none; }
  .ed-bp__line { stroke-dashoffset: 0; animation: none; }
}
