@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: light;
  --page: oklch(93.5% .012 258);
  --surface: oklch(98% .007 258);
  --surface-raised: oklch(96% .012 258);
  --surface-soft: oklch(89.5% .022 258);
  --surface-accent: oklch(86.5% .043 258);
  --ink: oklch(17% .022 258);
  --muted: oklch(41% .025 258);
  --line: oklch(77% .022 258);
  --line-strong: oklch(61% .032 258);
  --blue: #1457ff;
  --blue-soft: oklch(91% .052 258);
  --success: #15a85b;
  --max: 1390px;
  --pad: clamp(24px, 3.2vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #090b0f;
  --surface: #0d1015;
  --surface-raised: #171c24;
  --surface-soft: #121720;
  --surface-accent: #172344;
  --ink: #f7f8fa;
  --muted: #aeb5c0;
  --line: #2b313b;
  --line-strong: #4a5360;
  --blue: #4a7aff;
  --blue-soft: #142249;
  --success: #5ad489;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; background: var(--page); }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; line-height: 1.45; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; transition: background-color 360ms var(--ease), color 260ms ease; }
body.intro-open, body.demo-open { overflow: hidden; }
::selection { background: var(--blue); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 11000; padding: 10px 14px; background: #fff; color: #000; border: 1px solid #000; font-size: .8rem; font-weight: 700; transform: translateY(-180%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

/* Intro preservada */
.boot { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; min-height: 100dvh; overflow: hidden; background: #000; color: #eaf0fb; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; clip-path: inset(0 0 0 0); }
.boot::before, .boot::after { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: 0; transition: opacity 650ms ease; }
.boot::before { inset: 14%; border: 1px solid rgba(78, 139, 255, .12); }
.boot::after { top: 50%; right: auto; bottom: auto; width: 100%; height: 1px; background: rgba(78, 139, 255, .12); }
.boot--terminal::before, .boot--terminal::after { opacity: 1; }
.boot-gate { position: relative; z-index: 2; display: grid; place-items: center; min-width: 140px; min-height: 70px; padding: 0; border: 0; background: transparent; color: rgba(242, 246, 255, .9); font-family: inherit; font-size: 1rem; letter-spacing: .18em; cursor: pointer; opacity: .86; transition: color 180ms ease, opacity 180ms ease; }
.boot-gate:hover { color: #fff; opacity: 1; }
.boot-terminal { position: relative; z-index: 2; width: min(640px, calc(100vw - 48px)); min-height: 285px; transition: opacity 300ms ease, transform 450ms var(--ease), filter 350ms ease; }
.boot-lines { min-height: 226px; padding-top: 6px; font-size: .8rem; line-height: 1.75; }
.boot-line { display: grid; grid-template-columns: 72px 1fr; margin: 0; color: #9ca9be; }
.boot-line__tag { color: #6fa8ff; }
.boot-line--ready .boot-line__tag, .boot-line--ready .boot-line__text { color: #d8e7ff; }
.boot-cursor { display: inline-block; width: 8px; height: 1em; margin-left: 73px; background: #6aa8ff; vertical-align: middle; animation: blink 820ms steps(1) infinite; }
.boot-cursor.is-hidden { display: none; }
.boot-progress { width: 100%; height: 2px; margin-top: 18px; overflow: hidden; background: rgba(106, 168, 255, .12); }
.boot-progress span { display: block; width: 100%; height: 100%; background: #1457ff; box-shadow: 0 0 18px rgba(23, 104, 229, .65); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease); }
.boot-enter { display: flex; align-items: center; gap: 15px; margin: 24px auto 0; padding: 10px 14px; border: 1px solid rgba(106, 168, 255, .52); background: rgba(5, 13, 27, .72); color: #dce9ff; font-family: inherit; cursor: pointer; }
.boot-enter span { color: #6aa8ff; }
.boot-enter small { color: #7d899b; font-size: .67rem; }
.boot-gravity { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; opacity: 1; transition: opacity 340ms ease, transform 480ms var(--ease); }
.boot-gravity__glyph { position: absolute; display: block; margin: 0; line-height: 1; text-align: center; transform-origin: center bottom; will-change: transform; }
.boot.is-gravity-active .boot-terminal > * { opacity: 0; transition: opacity 90ms linear; }
.boot.is-gravity-settled .boot-gravity__glyph { text-shadow: 0 0 12px rgba(75, 126, 255, .2); }
.boot-transition { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.boot-transition span { position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; background: #1457ff; box-shadow: 0 0 24px rgba(23, 104, 229, .9); transform: translate(-50%, -50%) scaleX(0); }
.boot-transition img { position: relative; z-index: 2; width: 56px; height: 56px; opacity: 0; transform: scale(.6); }
.boot.is-transitioning .boot-terminal { opacity: 0; filter: blur(8px); transform: scale(.96) translateY(-18px); }
.boot.is-transitioning .boot-gravity { opacity: 0; transform: translateY(16px); }
.boot.is-transitioning .boot-transition { opacity: 1; }
.boot.is-transitioning .boot-transition span { transform: translate(-50%, -50%) scaleX(1); transition: transform 600ms var(--ease); }
.boot.is-transitioning .boot-transition img { opacity: 1; transform: scale(1); transition: opacity 280ms ease 280ms, transform 500ms var(--ease) 250ms; }
.boot.is-lifting { clip-path: inset(0 0 100% 0); transition: clip-path 900ms cubic-bezier(.76, 0, .24, 1); }
.boot.is-lifting .boot-transition img { opacity: 0; transform: translateY(-80px) scale(.8); transition: opacity 240ms ease, transform 500ms ease; }
@keyframes blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }

/* Sistema visual */
.site { visibility: hidden; opacity: 0; background: var(--page); }
.site.is-ready { visibility: visible; opacity: 1; }
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.shell { width: min(calc(100% - (var(--pad) * 2)), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklab, var(--page) 90%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform: translateY(-100%); transition: background-color 300ms ease, border-color 300ms ease, transform 700ms var(--ease); }
.site.is-entering .site-header { transform: none; transition-delay: 80ms, 80ms, 80ms; }
.site-header.is-scrolled { background: color-mix(in oklab, var(--surface) 94%, transparent); border-color: var(--line-strong); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.scroll-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; will-change: transform; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; font-size: 1.07rem; font-weight: 700; letter-spacing: .08em; }
.brand-lockup img { width: 42px; height: 42px; filter: brightness(0); transition: filter 220ms ease; }
:root[data-theme="dark"] .brand-lockup img { filter: none; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); font-size: .78rem; }
.primary-nav > a:not(.header-cta) { position: relative; padding-block: 10px; }
.primary-nav > a:not(.header-cta)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; content: ""; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease); }
.primary-nav > a:not(.header-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: inline-flex; align-items: center; gap: 20px; min-height: 42px; padding: 0 17px; background: var(--blue); color: #fff; font-weight: 700; transition: transform 180ms var(--ease), background-color 180ms ease; }
.header-cta:hover { transform: translateY(-2px); }
.header-cta i { font-size: 1rem; transition: transform 180ms var(--ease); }
.header-cta:hover i { transform: translate(3px, -3px); }
.theme-toggle { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle i { position: absolute; font-size: 1.4rem; transition: opacity 180ms ease, transform 220ms var(--ease); }
.theme-toggle__sun { opacity: 0; transform: rotate(-30deg) scale(.7); }
:root[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(30deg) scale(.7); }
:root[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; }

.hero { display: grid; grid-template-columns: .43fr .57fr; align-items: start; gap: clamp(48px, 5vw, 86px); min-height: 700px; padding-block: 48px 64px; }
.hero__copy { max-width: 530px; padding-top: 46px; }
.hero > *, .process-visual > * { min-width: 0; }
.eyebrow, .section-kicker { margin: 0; color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.eyebrow span { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.hero h1 { margin: 0; font-size: clamp(4rem, 5.6vw, 6rem); font-weight: 700; letter-spacing: -.04em; line-height: .86; text-wrap: balance; }
.hero h1 span, h2 span { color: var(--blue); }
.hero__lead { max-width: 440px; margin: 30px 0 28px; color: var(--ink); font-size: clamp(1rem, 1.12vw, 1.18rem); line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 55px; padding: 0 22px; border: 1px solid var(--blue); font-weight: 700; transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease); }
.button i { font-size: 1.25rem; transition: transform 180ms var(--ease); }
.button:hover i { transform: translate(4px, -2px); }
.button--primary { min-width: 300px; background: var(--blue); color: #fff; }
.button--primary:hover { background: transparent; color: var(--blue); transform: translateY(-2px); }
.hero__proof { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; color: var(--muted); font-size: .88rem; }
.hero__proof i { color: var(--blue); font-size: 1.35rem; }

.process-visual { position: relative; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(330px, 1.2fr); gap: clamp(22px, 2vw, 34px); align-items: center; min-height: 590px; }
.process-visual::before, .process-visual::after { position: absolute; z-index: 0; left: 34%; width: 16%; content: ""; border-top: 1px dashed var(--blue); pointer-events: none; }
.process-visual::before { top: 31%; }
.process-visual::after { top: 69%; }
.flow-column, .flow-stack, .system-panels { position: relative; z-index: 1; }
.process-hint { display: flex; align-items: center; gap: 7px; margin: 0 0 11px; color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .06em; }
.process-hint i { color: var(--blue); font-size: .9rem; }
.flow-stack { gap: 30px; }
.flow-stack { display: grid; }
.flow-node { position: relative; display: grid; grid-template-columns: 20px 28px 1fr auto; align-items: center; gap: 9px; min-height: 78px; padding: 14px 13px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, transform 220ms var(--ease); }
.flow-node:hover { border-color: var(--blue); background: var(--surface-raised); transform: translateX(4px); }
.flow-node:not(:last-child)::after { position: absolute; top: calc(100% + 1px); left: 52px; width: 1px; height: 30px; content: ""; background: var(--blue); pointer-events: none; }
.flow-node > i { font-size: 1.5rem; }
.flow-node__number { color: var(--muted); font-size: .55rem; font-weight: 700; letter-spacing: .08em; }
.flow-node__copy { display: grid; gap: 3px; }
.flow-node strong { color: var(--ink); font-size: .78rem; }
.flow-node__copy > span { color: var(--muted); font-size: .66rem; line-height: 1.35; }
.flow-node small { padding: 3px 6px; background: var(--blue-soft); color: var(--blue); font-size: .61rem; }
.flow-node--active { border: 2px solid var(--blue); animation: active-node 3.2s ease-in-out infinite; }
.flow-node--active > i, .flow-node--active strong, .flow-node--active .flow-node__number { color: var(--blue); }
.flow-node .flow-node__check { color: var(--blue); font-size: 1.5rem; }
@keyframes active-node { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--blue) 0%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--blue) 8%, transparent); } }
.system-panels { display: grid; gap: 24px; transition: opacity 180ms ease, filter 220ms ease, transform 220ms var(--ease); }
.system-panels.is-updating { opacity: .35; filter: blur(3px); transform: translateY(6px); }
.system-panel { border: 1px solid var(--line-strong); background: var(--surface); }
.system-panel > header { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.system-panel > header i { color: var(--success); font-size: 1.1rem; }
.system-panel ul { margin: 0; padding: 10px 14px 14px; list-style: none; }
.system-panel li { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 9px; border-bottom: 1px solid var(--line); font-size: .68rem; }
.system-panel li small { padding: 2px 6px; background: var(--surface-soft); color: var(--muted); font-size: .57rem; }
.system-table { margin: 12px 14px 16px; border: 1px solid var(--line); background: var(--surface-raised); font-size: .65rem; }
.system-table__head, .system-table__row { display: grid; grid-template-columns: 1.35fr .72fr .8fr; align-items: center; min-height: 42px; padding: 0 10px; border: 0; border-bottom: 1px solid var(--line); }
.system-table__head { font-weight: 700; }
.system-table__row { width: 100%; background: transparent; color: var(--ink); font-size: inherit; text-align: left; }
[data-solution-rows] > :last-child { border-bottom: 0; }
.system-table__row > span:first-child { display: flex; align-items: center; gap: 6px; }
.system-table__row > span:first-child i { color: var(--blue); font-size: .92rem; }
.system-table__row--demo { cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.system-table__row--demo:hover, .system-table__row--demo:focus-visible { background: var(--blue-soft); color: var(--blue); }
.system-table small { width: max-content; padding: 3px 6px; background: var(--blue-soft); color: var(--blue); font-size: .56rem; }

.proof, .solutions, .method, .contact, .site-footer { border-top: 1px solid var(--line); }
.proof { padding-top: clamp(72px, 7vw, 108px); background: var(--surface-soft); }
.proof__intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(60px, 10vw, 160px); }
.proof__intro h2, .solutions h2, .method h2, .contact h2 { margin: 17px 0 0; font-size: clamp(2.7rem, 4.2vw, 5rem); font-weight: 700; letter-spacing: -.04em; line-height: .96; text-wrap: balance; }
.proof__intro > p { max-width: 410px; margin: 0 0 4px; font-size: 1rem; line-height: 1.65; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr) .72fr; margin-top: clamp(60px, 7vw, 90px); border-top: 1px solid var(--line); }
.case-item, .case-more { min-height: 365px; padding: 24px 22px 22px 0; border: 0; border-right: 1px solid var(--line); }
.case-item + .case-item, .case-more { padding-left: 24px; }
.case-item { display: flex; flex-direction: column; width: 100%; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background-color 220ms ease; }
.case-item:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.case-item:focus-visible { position: relative; z-index: 2; }
.case-item__top { display: flex; align-items: center; justify-content: space-between; }
.case-item__top > i { color: var(--blue); font-size: 1.8rem; }
.case-item__top > span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .58rem; font-weight: 700; opacity: .65; transition: color 180ms ease, opacity 180ms ease; }
.case-item:hover .case-item__top > span { color: var(--blue); opacity: 1; }
.case-item__top > span i { font-size: .9rem; }
.case-item__title { display: block; margin: 18px 0 9px; font-size: 1rem; font-weight: 700; }
.case-item__description { display: block; min-height: 48px; margin: 0 0 17px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.case-more { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; border-right: 0; }
.case-more strong { font-size: .92rem; line-height: 1.3; }
.case-more i { color: var(--blue); font-size: 1.4rem; transition: transform 180ms var(--ease); }
.case-more:hover i { transform: translateX(8px); }
.case-preview { position: relative; display: block; width: 100%; min-height: 145px; margin-top: auto; overflow: hidden; border: 1px solid var(--line); background: var(--surface-raised); }
.preview-bar { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 9px; border-bottom: 1px solid var(--line); }
.preview-bar > span { display: flex; gap: 4px; }
.preview-bar > span i { display: block; width: 4px; height: 4px; background: var(--line-strong); border-radius: 50%; }
.preview-bar small { color: var(--muted); font-size: .49rem; font-weight: 700; }
.preview-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 10px 7px; }
.preview-kpis > span { display: grid; gap: 2px; padding: 7px; border: 1px solid var(--line); background: var(--surface); }
.preview-kpis small, .sales-row small { color: var(--muted); font-size: .45rem; }
.preview-kpis strong { font-size: .72rem; }
.preview-list { display: grid; gap: 5px; padding: 0 10px; }
.preview-list i { display: block; height: 4px; background: var(--line); transform: scaleX(.3); transform-origin: left; animation: preview-load 3.4s var(--ease) infinite; }
.preview-list i:nth-child(2) { width: 82%; animation-delay: 180ms; }
.preview-list i:nth-child(3) { width: 64%; animation-delay: 360ms; }
.preview-status { position: absolute; right: 9px; bottom: 7px; left: 9px; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .47rem; }
.preview-status > i, .demo-toolbar em i { display: block; width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: status-pulse 2s ease infinite; }
.route-line { position: absolute; top: 68px; right: 25px; left: 25px; height: 1px; background: var(--line-strong); }
.route-signal { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; animation: route-travel 3.2s var(--ease) infinite; }
.route-stops { position: absolute; top: 50px; right: 11px; left: 11px; display: flex; justify-content: space-between; }
.route-stops > span { display: grid; place-items: center; gap: 4px; width: 42px; color: var(--blue); }
.route-stops > span i { display: grid; place-items: center; width: 30px; height: 30px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; }
.route-stops small { color: var(--muted); font-size: .43rem; }
.invoice-mini { position: absolute; top: 40px; bottom: 27px; left: 10px; display: grid; align-content: center; gap: 6px; width: 34%; padding: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.invoice-mini > span { display: block; width: 100%; height: 3px; background: var(--line); }
.invoice-mini > span:nth-of-type(2) { width: 76%; }
.invoice-mini > span:nth-of-type(3) { width: 58%; }
.invoice-mini__scan { position: absolute; right: 0; left: 0; height: 1px; background: var(--blue); box-shadow: 0 0 8px color-mix(in srgb, var(--blue) 65%, transparent); animation: invoice-scan 2.8s var(--ease) infinite; }
.invoice-data { position: absolute; top: 40px; right: 10px; display: grid; gap: 5px; width: 52%; }
.invoice-data > span { display: flex; align-items: center; justify-content: space-between; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.invoice-data small { color: var(--muted); font-size: .43rem; }
.invoice-data i { display: block; width: 42%; height: 4px; background: var(--blue-soft); transform: scaleX(0); transform-origin: left; animation: data-appear 2.8s var(--ease) infinite; }
.invoice-data > span:nth-child(2) i { animation-delay: 160ms; }
.invoice-data > span:nth-child(3) i { animation-delay: 320ms; }
.sales-chart { position: absolute; top: 43px; right: 10px; left: 10px; display: flex; align-items: end; gap: 6px; height: 43px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.sales-chart i { flex: 1; height: 35%; background: var(--surface-accent); transform: scaleY(.35); transform-origin: bottom; animation: chart-grow 3s var(--ease) infinite; }
.sales-chart i:nth-child(2) { height: 55%; animation-delay: 80ms; }
.sales-chart i:nth-child(3) { height: 45%; animation-delay: 160ms; }
.sales-chart i:nth-child(4) { height: 78%; animation-delay: 240ms; }
.sales-chart i:nth-child(5) { height: 100%; background: var(--blue); animation-delay: 320ms; }
.sales-chart b { position: absolute; right: 0; bottom: 17px; left: 0; border-top: 1px dashed var(--blue); transform: scaleX(0); transform-origin: left; animation: chart-line 3s var(--ease) infinite; }
.sales-row { position: absolute; top: 95px; right: 10px; left: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.sales-row > span { display: grid; gap: 2px; }
.sales-row strong { color: var(--blue); font-size: .43rem; }
@keyframes preview-load { 0%, 12% { transform: scaleX(.18); } 42%, 76% { transform: scaleX(1); } 100% { transform: scaleX(.18); } }
@keyframes status-pulse { 0%, 100% { opacity: .45; } 45% { opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 12%, transparent); } }
@keyframes route-travel { 0% { transform: translateX(0); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: translateX(clamp(115px, 14vw, 188px)); opacity: 0; } }
@keyframes invoice-scan { 0%, 12% { top: 8px; opacity: 0; } 20% { opacity: 1; } 72% { top: calc(100% - 8px); opacity: 1; } 84%, 100% { top: calc(100% - 8px); opacity: 0; } }
@keyframes data-appear { 0%, 22% { transform: scaleX(0); } 48%, 84% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes chart-grow { 0%, 12% { transform: scaleY(.2); } 45%, 82% { transform: scaleY(1); } 100% { transform: scaleY(.2); } }
@keyframes chart-line { 0%, 20% { transform: scaleX(0); } 55%, 82% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.sector-strip { overflow: hidden; border-top: 1px solid var(--line); }
.sector-strip__track { display: flex; width: max-content; animation: sector-scroll 32s linear infinite; }
.sector-strip span { position: relative; padding: 20px 34px; font-size: 1rem; white-space: nowrap; }
.sector-strip span::after { position: absolute; top: 50%; right: 0; width: 3px; height: 3px; content: ""; background: var(--blue); transform: translateY(-50%); }
@keyframes sector-scroll { to { transform: translateX(-50%); } }

.solutions { overflow: clip; padding-block: clamp(90px, 9vw, 140px); background: var(--page); }
.solutions__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(70px, 10vw, 160px); }
.solutions__statement > p:last-child { max-width: 490px; margin: 30px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.solution-list { border-top: 1px solid var(--line-strong); }
.solution-list article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.solution-list > article > i { color: var(--blue); font-size: 1.6rem; }
.solution-list h3 { margin: 0 0 8px; font-size: 1.15rem; }
.solution-list p { max-width: 540px; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }

.method { padding-block: clamp(90px, 9vw, 140px); background: var(--surface); }
.method__intro { display: grid; grid-template-columns: .4fr 1fr .7fr; align-items: end; gap: clamp(36px, 6vw, 90px); }
.method__intro h2 { margin: 0; }
.method__intro > p:last-child { margin: 0 0 5px; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.method__steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 8vw, 105px); border-top: 1px solid var(--line-strong); }
.method__steps article { min-height: 250px; padding: 24px 30px 20px 0; border-right: 1px solid var(--line); }
.method__steps article + article { padding-left: 30px; }
.method__steps article:last-child { border-right: 0; }
.method__steps span { color: var(--blue); font-size: .72rem; font-weight: 700; }
.method__steps h3 { max-width: 330px; margin: 66px 0 14px; font-size: 1.55rem; letter-spacing: -.03em; }
.method__steps p { max-width: 330px; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }

.contact { padding-block: clamp(90px, 10vw, 160px); background: #1457ff; color: #fff; border-color: #1457ff; }
.contact__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(60px, 12vw, 180px); }
.contact__inner > div:last-child { padding-bottom: 8px; }
.contact .section-kicker { color: #dbe6ff; }
.contact h2 span { color: #b9ceff; }
.contact__inner > div:last-child p { max-width: 510px; margin: 0 0 28px; color: #f2f5ff; font-size: 1rem; line-height: 1.65; }
.contact .button--primary { border-color: #fff; background: #fff; color: #0b46da; }
.contact .button--primary:hover { border-color: #fff; background: transparent; color: #fff; }
.site-footer { padding-block: 26px; background: var(--ink); border-color: var(--ink); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #c3cad5; font-size: .72rem; }
.site-footer__inner a { color: #c9d0dd; }
.site-footer__inner > span:first-child { color: #fff; font-weight: 700; letter-spacing: .12em; }
.site-footer__inner > span:last-child { justify-self: end; }

/* Demos interactivas: interfaces HTML en movimiento, sin video pesado. */
.demo-dialog { width: min(960px, calc(100vw - 36px)); max-width: none; max-height: calc(100dvh - 36px); margin: auto; padding: 0; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); opacity: 0; transform: translateY(16px) scale(.985); transition: opacity 300ms ease, transform 300ms var(--ease), display 300ms allow-discrete, overlay 300ms allow-discrete; }
.demo-dialog[open] { opacity: 1; transform: none; }
@starting-style { .demo-dialog[open] { opacity: 0; transform: translateY(16px) scale(.985); } }
.demo-dialog::backdrop { background: rgba(5, 9, 18, .68); opacity: 0; backdrop-filter: blur(5px); transition: opacity 300ms ease, display 300ms allow-discrete, overlay 300ms allow-discrete; }
.demo-dialog[open]::backdrop { opacity: 1; }
@starting-style { .demo-dialog[open]::backdrop { opacity: 0; } }
.demo-dialog__frame { display: grid; grid-template-rows: auto 1fr auto; max-height: calc(100dvh - 38px); }
.demo-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 25px 28px 23px; border-bottom: 1px solid var(--line); }
.demo-dialog__header p { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; color: var(--blue); font-size: .62rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.demo-dialog__header p i { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: status-pulse 2s ease infinite; }
.demo-dialog__header h2 { margin: 0 0 7px; font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -.035em; line-height: 1; }
.demo-dialog__header > div > span { display: block; max-width: 650px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.demo-dialog__header > button { display: grid; flex: 0 0 auto; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: border-color 180ms ease, color 180ms ease, transform 180ms var(--ease); }
.demo-dialog__header > button:hover { border-color: var(--blue); color: var(--blue); transform: rotate(4deg); }
.demo-dialog__header > button i { font-size: 1.25rem; }
.demo-stage { display: grid; place-items: center; min-height: 430px; padding: clamp(22px, 4vw, 48px); overflow: auto; background: var(--surface-soft); }
.system-demo { width: min(840px, 100%); min-height: 435px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); }
.system-demo__toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.system-demo__toolbar > strong { font-size: .72rem; letter-spacing: .02em; }
.system-demo__window-dots { display: flex; gap: 5px; }
.system-demo__window-dots i { width: 6px; height: 6px; background: var(--line-strong); border-radius: 50%; }
.system-demo__status { display: flex; align-items: center; justify-self: end; gap: 6px; color: var(--success); font-size: .58rem; font-weight: 700; }
.system-demo__status i, .system-demo__scene-header > span i { width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: status-pulse 2s ease infinite; }
.system-demo__body { display: grid; grid-template-columns: 148px 1fr; min-height: 388px; }
.system-demo__sidebar { display: flex; flex-direction: column; gap: 3px; padding: 17px 11px; border-right: 1px solid var(--line); background: var(--surface-raised); }
.system-demo__sidebar > small { margin: 0 8px 10px; color: var(--muted); font-size: .48rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.system-demo__sidebar > span { display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 8px; color: var(--muted); font-size: .57rem; font-weight: 700; }
.system-demo__sidebar > span i { width: 5px; height: 5px; background: var(--line-strong); border-radius: 50%; }
.system-demo__sidebar > span.is-highlighted { background: var(--blue-soft); color: var(--blue); }
.system-demo__sidebar > span.is-highlighted i { background: var(--blue); }
.system-demo__workspace { display: grid; grid-template-rows: 1fr 34px; min-width: 0; }
.system-demo__screens { position: relative; min-height: 352px; overflow: hidden; }
.system-demo__scene { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: 19px 20px 16px; opacity: 0; transform: translateX(16px); }
.system-demo__scene--1 { animation: system-scene-one 15s var(--ease) infinite; }
.system-demo__scene--2 { animation: system-scene-two 15s var(--ease) infinite; }
.system-demo__scene--3 { animation: system-scene-three 15s var(--ease) infinite; }
.system-demo__scene-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.system-demo__scene-header > div { display: grid; gap: 3px; }
.system-demo__scene-header small { color: var(--blue); font-size: .5rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.system-demo__scene-header h3 { margin: 0; font-size: clamp(1rem, 2.1vw, 1.35rem); letter-spacing: -.03em; line-height: 1.1; }
.system-demo__scene-header > span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .53rem; font-weight: 700; white-space: nowrap; }
.system-demo__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 15px; }
.system-demo__metrics > div { display: grid; gap: 4px; min-height: 58px; padding: 10px; border: 1px solid var(--line); background: var(--surface-raised); }
.system-demo__metrics small { color: var(--muted); font-size: .48rem; }
.system-demo__metrics strong { overflow: hidden; font-size: .82rem; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.system-demo__scene-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; min-height: 0; margin-top: 14px; }
.system-demo__activity { border-top: 1px solid var(--line-strong); }
.system-demo__activity > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; border-bottom: 1px solid var(--line); }
.system-demo__activity > div > span { display: grid; gap: 2px; min-width: 0; }
.system-demo__activity strong { overflow: hidden; font-size: .61rem; text-overflow: ellipsis; white-space: nowrap; }
.system-demo__activity small { overflow: hidden; color: var(--muted); font-size: .49rem; text-overflow: ellipsis; white-space: nowrap; }
.system-demo__activity em { flex: 0 0 auto; padding: 3px 6px; background: var(--blue-soft); color: var(--blue); font-size: .45rem; font-style: normal; font-weight: 700; }
.system-demo__flow { padding: 11px 12px; background: var(--surface-raised); }
.system-demo__flow > small { color: var(--muted); font-size: .47rem; font-weight: 700; }
.system-demo__flow > div { display: grid; gap: 2px; margin-top: 7px; }
.system-demo__flow span { position: relative; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 4px; min-height: 28px; }
.system-demo__flow span:not(:last-child)::after { position: absolute; top: 21px; bottom: -8px; left: 9px; width: 1px; content: ""; background: var(--blue); }
.system-demo__flow span i { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--blue); background: var(--surface); color: var(--blue); font-size: .42rem; font-style: normal; font-weight: 700; border-radius: 50%; }
.system-demo__flow span strong { font-size: .53rem; }
.system-demo__timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.system-demo__timeline-item { position: relative; display: grid; place-items: center; color: var(--muted); font-size: .48rem; font-weight: 700; }
.system-demo__timeline-item::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.system-demo__timeline-item--1 { animation: system-tab-one 15s linear infinite; }
.system-demo__timeline-item--2 { animation: system-tab-two 15s linear infinite; }
.system-demo__timeline-item--3 { animation: system-tab-three 15s linear infinite; }
.system-demo__timeline-item--1::after { animation: system-progress-one 15s linear infinite; }
.system-demo__timeline-item--2::after { animation: system-progress-two 15s linear infinite; }
.system-demo__timeline-item--3::after { animation: system-progress-three 15s linear infinite; }
.demo-stage .case-preview { width: min(760px, 100%); min-height: min(400px, 54vw); margin: 0; background: var(--surface); }
.demo-stage .preview-bar { height: 48px; padding-inline: 18px; }
.demo-stage .preview-bar > span i { width: 7px; height: 7px; }
.demo-stage .preview-bar small { font-size: .72rem; }
.demo-stage .preview-kpis { gap: 14px; padding: 26px 26px 14px; }
.demo-stage .preview-kpis > span { gap: 7px; padding: 17px; }
.demo-stage .preview-kpis small, .demo-stage .sales-row small { font-size: .72rem; }
.demo-stage .preview-kpis strong { font-size: 1.5rem; }
.demo-stage .preview-list { gap: 11px; padding-inline: 26px; }
.demo-stage .preview-list i { height: 7px; }
.demo-stage .preview-status { right: 24px; bottom: 20px; left: 24px; gap: 9px; font-size: .72rem; }
.demo-stage .preview-status > i { width: 9px; height: 9px; }
.demo-stage .route-line { top: 190px; right: 100px; left: 100px; }
.demo-stage .route-stops { top: 148px; right: 50px; left: 50px; }
.demo-stage .route-stops > span { gap: 11px; width: 100px; }
.demo-stage .route-stops > span i { width: 82px; height: 82px; font-size: 1.8rem; }
.demo-stage .route-stops small { font-size: .7rem; }
.demo-stage .route-signal { top: -5px; width: 11px; height: 11px; animation-name: route-travel-wide; }
.demo-stage .invoice-mini { top: 82px; bottom: 56px; left: 38px; gap: 14px; padding: 24px; }
.demo-stage .invoice-mini > span { height: 7px; }
.demo-stage .invoice-data { top: 88px; right: 38px; gap: 16px; }
.demo-stage .invoice-data > span { padding-bottom: 12px; }
.demo-stage .invoice-data small { font-size: .72rem; }
.demo-stage .invoice-data i { height: 8px; }
.demo-stage .sales-chart { top: 88px; right: 38px; left: 38px; gap: 14px; height: 150px; padding-bottom: 12px; }
.demo-stage .sales-row { top: 270px; right: 38px; left: 38px; gap: 20px; }
.demo-stage .sales-row > span { gap: 6px; }
.demo-stage .sales-row strong { font-size: .74rem; }
.demo-dialog__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; padding: 10px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; }
.demo-dialog__footer button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; border: 0; background: transparent; color: var(--blue); font-size: .68rem; font-weight: 700; cursor: pointer; }
.demo-dialog__footer button:hover i { transform: rotate(-40deg); }
.demo-dialog__footer button i { font-size: .95rem; transition: transform 300ms var(--ease); }
.demo-workspace { width: min(820px, 100%); border: 1px solid var(--line-strong); background: var(--surface); }
.demo-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.demo-toolbar > span { display: flex; gap: 6px; }
.demo-toolbar > span i { width: 7px; height: 7px; background: var(--line-strong); border-radius: 50%; }
.demo-toolbar small { color: var(--muted); font-size: .7rem; font-weight: 700; }
.demo-toolbar em { display: flex; align-items: center; justify-self: end; gap: 6px; color: var(--success); font-size: .62rem; font-style: normal; font-weight: 700; }
.invoice-flow { display: grid; grid-template-columns: 1fr 74px 1.2fr; align-items: center; gap: 16px; padding: 30px; }
.invoice-flow section > p { margin: 0 0 13px; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .05em; }
.invoice-sheet { position: relative; display: grid; align-content: start; gap: 12px; min-height: 230px; padding: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-raised); }
.invoice-sheet strong { margin-bottom: 8px; font-size: .82rem; }
.invoice-sheet span { display: block; height: 5px; background: var(--line); }
.invoice-sheet span:nth-of-type(2) { width: 82%; }
.invoice-sheet span:nth-of-type(3) { width: 63%; }
.invoice-sheet span:nth-of-type(4) { width: 74%; }
.invoice-sheet small { align-self: end; justify-self: end; margin-top: 20px; font-size: .92rem; font-weight: 700; }
.invoice-sheet > i { position: absolute; right: 0; left: 0; height: 2px; background: var(--blue); box-shadow: 0 0 18px color-mix(in srgb, var(--blue) 65%, transparent); animation: invoice-scan 2.8s var(--ease) infinite; }
.data-bridge { position: relative; height: 1px; background: var(--line-strong); }
.data-bridge::after { position: absolute; top: -3px; right: -1px; width: 7px; height: 7px; content: ""; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); transform: rotate(45deg); }
.data-bridge i { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; background: var(--blue); border-radius: 50%; animation: data-travel 2.8s var(--ease) infinite; }
.invoice-extraction { display: grid; gap: 8px; }
.invoice-extraction > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); opacity: .3; transform: translateX(-8px); animation: extracted-field 2.8s var(--ease) infinite; }
.invoice-extraction > div:nth-of-type(2) { animation-delay: 100ms; }
.invoice-extraction > div:nth-of-type(3) { animation-delay: 200ms; }
.invoice-extraction > div:nth-of-type(4) { animation-delay: 300ms; }
.invoice-extraction span { color: var(--muted); font-size: .6rem; }
.invoice-extraction strong { font-size: .68rem; text-align: right; }
.demo-result { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; min-height: 62px; margin: 0 30px 30px; padding: 0 15px; border: 1px solid color-mix(in srgb, var(--success) 45%, var(--line)); background: color-mix(in srgb, var(--success) 7%, var(--surface)); }
.demo-result > i { color: var(--success); font-size: 1.35rem; }
.demo-result > span { display: grid; }
.demo-result strong { font-size: .72rem; }
.demo-result small { color: var(--muted); font-size: .56rem; }
.demo-result em { color: var(--success); font-size: .66rem; font-style: normal; font-weight: 700; }
@keyframes route-travel-wide { 0% { transform: translateX(0); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: translateX(min(510px, 62vw)); opacity: 0; } }
@keyframes data-travel { 0%, 18% { transform: translateX(0); opacity: 0; } 28%, 72% { opacity: 1; } 82%, 100% { transform: translateX(66px); opacity: 0; } }
@keyframes extracted-field { 0%, 28% { opacity: .25; transform: translateX(-8px); } 50%, 82% { opacity: 1; transform: none; } 100% { opacity: .25; transform: translateX(-8px); } }
@keyframes system-scene-one { 0%, 29% { opacity: 1; transform: none; } 33%, 96% { opacity: 0; transform: translateX(-14px); } 100% { opacity: 1; transform: translateX(16px); } }
@keyframes system-scene-two { 0%, 30% { opacity: 0; transform: translateX(16px); } 34%, 62% { opacity: 1; transform: none; } 66%, 100% { opacity: 0; transform: translateX(-14px); } }
@keyframes system-scene-three { 0%, 63% { opacity: 0; transform: translateX(16px); } 67%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: translateX(-14px); } }
@keyframes system-tab-one { 0%, 30%, 100% { color: var(--blue); } 34%, 96% { color: var(--muted); } }
@keyframes system-tab-two { 0%, 30%, 66%, 100% { color: var(--muted); } 34%, 62% { color: var(--blue); } }
@keyframes system-tab-three { 0%, 63%, 99%, 100% { color: var(--muted); } 67%, 95% { color: var(--blue); } }
@keyframes system-progress-one { 0% { transform: scaleX(0); } 29% { transform: scaleX(1); } 30%, 100% { transform: scaleX(0); } }
@keyframes system-progress-two { 0%, 33% { transform: scaleX(0); } 62% { transform: scaleX(1); } 63%, 100% { transform: scaleX(0); } }
@keyframes system-progress-three { 0%, 66% { transform: scaleX(0); } 95% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }

/* Movimiento: una entrada orquestada, feedback y revelados con ritmos distintos. */
.hero__copy.hero-enter, .process-visual.hero-enter { opacity: 1; transform: none; }
.hero__copy > * { opacity: 0; filter: blur(7px); transform: translateY(28px); }
.site.is-entering .hero__copy > * { opacity: 1; filter: none; transform: none; transition: opacity 680ms var(--ease), filter 720ms var(--ease), transform 760ms var(--ease); }
.site.is-entering .hero__copy > :nth-child(1) { transition-delay: 180ms; }
.site.is-entering .hero__copy > :nth-child(2) { transition-delay: 260ms; }
.site.is-entering .hero__copy > :nth-child(3) { transition-delay: 360ms; }
.site.is-entering .hero__copy > :nth-child(4) { transition-delay: 450ms; }
.site.is-entering .hero__copy > :nth-child(5) { transition-delay: 530ms; }

.process-visual::before, .process-visual::after { transform: scaleX(0); transform-origin: left; transition: transform 720ms var(--ease); }
.site.is-entering .process-visual::before { transform: scaleX(1); transition-delay: 740ms; }
.site.is-entering .process-visual::after { transform: scaleX(1); transition-delay: 980ms; }
.process-visual .flow-node, .process-visual .system-panel { opacity: 0; filter: blur(5px); transform: translateY(22px) scale(.975); }
.site.is-entering .process-visual .flow-node, .site.is-entering .process-visual .system-panel { opacity: 1; filter: none; transform: none; transition: opacity 560ms var(--ease), filter 620ms var(--ease), transform 680ms var(--ease); }
.site.is-entering .flow-node:nth-child(1) { transition-delay: 420ms; }
.site.is-entering .flow-node:nth-child(2) { transition-delay: 540ms; }
.site.is-entering .flow-node:nth-child(3) { transition-delay: 660ms; }
.site.is-entering .flow-node:nth-child(4) { transition-delay: 780ms; }
.site.is-entering .system-panel:nth-child(1) { transition-delay: 700ms; }
.site.is-entering .system-panel:nth-child(2) { transition-delay: 900ms; }
.site.is-entering .system-panel--solution > header i { animation: solution-confirm 2.4s var(--ease) 1.3s infinite; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms var(--ease), transform 760ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--split, .reveal--cases, .reveal--list, .reveal--steps, .reveal--contact { opacity: 1; transform: none; }
.reveal--split > *, .reveal--contact > * { opacity: 0; clip-path: inset(0 0 18% 0); transform: translateY(28px); transition: opacity 620ms var(--ease), clip-path 780ms var(--ease), transform 780ms var(--ease); }
.reveal--split.is-visible > *, .reveal--contact.is-visible > * { opacity: 1; clip-path: inset(0); transform: none; }
.reveal--split.is-visible > :nth-child(2), .reveal--contact.is-visible > :nth-child(2) { transition-delay: 130ms; }

.reveal--cases > *, .reveal--steps > * { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(22px); transition: opacity 480ms var(--ease), clip-path 720ms var(--ease), transform 720ms var(--ease); }
.reveal--cases.is-visible > *, .reveal--steps.is-visible > * { opacity: 1; clip-path: inset(0); transform: none; }
.reveal--cases.is-visible > :nth-child(2), .reveal--steps.is-visible > :nth-child(2) { transition-delay: 70ms; }
.reveal--cases.is-visible > :nth-child(3), .reveal--steps.is-visible > :nth-child(3) { transition-delay: 140ms; }
.reveal--cases.is-visible > :nth-child(4) { transition-delay: 210ms; }
.reveal--cases.is-visible > :nth-child(5) { transition-delay: 280ms; }

.reveal--list > article { opacity: 0; transform: translateX(30px); transition: opacity 480ms var(--ease), transform 660ms var(--ease); }
.reveal--list.is-visible > article { opacity: 1; transform: none; }
.reveal--list.is-visible > article:nth-child(2) { transition-delay: 70ms; }
.reveal--list.is-visible > article:nth-child(3) { transition-delay: 140ms; }
.reveal--list.is-visible > article:nth-child(4) { transition-delay: 210ms; }
.reveal--copy.is-visible h2 { animation: copy-focus 760ms var(--ease) both; }

@keyframes solution-confirm { 0%, 70%, 100% { transform: scale(1); } 82% { transform: scale(1.18); } }
@keyframes copy-focus { from { clip-path: inset(0 0 22% 0); filter: blur(5px); transform: translateY(20px); } to { clip-path: inset(0); filter: none; transform: none; } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease); }

/* Relato visual: se entiende primero con movimiento y después con texto. */
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: page-progress linear both; animation-timeline: scroll(root); }
}
@keyframes page-progress { to { transform: scaleX(1); } }

.hero { grid-template-columns: minmax(350px, .78fr) minmax(520px, 1.22fr); align-items: center; gap: clamp(44px, 5vw, 82px); min-height: calc(100dvh - 72px); padding-block: 38px 54px; }
.hero__copy { max-width: 540px; padding-top: 0; }
.hero h1 { font-size: clamp(3.1rem, 4vw, 4.6rem); line-height: .91; }
.hero__lead { max-width: 410px; margin-block: 27px 25px; }
.eyebrow { display: block; margin-bottom: 22px; }

.work-story { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 28px 80px color-mix(in srgb, var(--ink) 9%, transparent); }
.story-tabs { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 52px; border-bottom: 1px solid var(--line); }
.story-tab { position: relative; padding: 0 14px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .7rem; font-weight: 700; cursor: pointer; transition: color 220ms ease, background-color 220ms ease; }
.story-tab:last-child { border-right: 0; }
.story-tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease); }
.story-tab:hover, .story-tab.is-active { color: var(--ink); background: var(--surface-raised); }
.story-tab.is-active::after { transform: scaleX(1); }
.story-tab:active { transform: translateY(1px); }
.story-stage { position: relative; min-height: 440px; overflow: hidden; background: var(--surface-soft); }
.story-stage::before { position: absolute; top: 18px; bottom: 18px; left: 18px; width: 3px; content: ""; pointer-events: none; background: var(--line-strong); opacity: .42; }
.story-scene { position: absolute; inset: 0; pointer-events: none; opacity: 0; filter: blur(6px); transform: translateX(24px) scale(.985); transition: opacity 460ms var(--ease), filter 480ms var(--ease), transform 520ms var(--ease); }
.story-scene.is-active { z-index: 2; pointer-events: auto; opacity: 1; filter: none; transform: none; }
.story-caption { position: absolute; right: 24px; bottom: 24px; display: grid; gap: 2px; padding-left: 15px; border-left: 2px solid var(--blue); }
.story-caption strong { font-size: .86rem; }
.story-caption span { color: var(--muted); font-size: .64rem; }
.source-card { position: absolute; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; width: min(310px, 48%); min-height: 78px; padding: 13px 14px; border: 1px solid var(--line-strong); background: var(--surface); opacity: 0; transform: translateY(18px) rotate(-1deg); box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 7%, transparent); }
.story-scene.is-active .source-card { opacity: 1; transform: none; transition: opacity 460ms var(--ease), transform 600ms var(--ease); }
.story-scene.is-active .source-card--invoice { transition-delay: 110ms; }
.story-scene.is-active .source-card--sheet { transition-delay: 220ms; }
.source-card > i { display: grid; place-items: center; width: 38px; height: 38px; background: var(--blue-soft); color: var(--blue); font-size: 1.3rem; }
.source-card > span { display: grid; }
.source-card strong { font-size: .78rem; }
.source-card small { color: var(--muted); font-size: .6rem; }
.source-card em { padding: 4px 6px; background: var(--surface-soft); color: var(--muted); font-size: .55rem; font-style: normal; }
.source-card--chat { top: 44px; left: 7%; }
.source-card--invoice { top: 166px; right: 7%; }
.source-card--sheet { top: 286px; left: 12%; }

.story-scene--connect::before { position: absolute; top: 50%; left: 50%; width: 290px; height: 290px; content: ""; border: 1px dashed color-mix(in srgb, var(--blue) 48%, var(--line)); border-radius: 50%; transform: translate(-50%, -50%); animation: orbit-turn 20s linear infinite; }
.story-engine { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 170px; height: 170px; padding: 18px; border: 1px solid var(--blue); background: var(--surface); transform: translate(-50%, -50%); box-shadow: inset 0 0 0 8px var(--blue-soft); }
.story-engine img { width: 62px; height: 62px; filter: brightness(0); }
:root[data-theme="dark"] .story-engine img, :root[data-theme="dark"] .benefit-network img { filter: none; }
.story-engine strong { margin-top: 5px; font-size: .8rem; letter-spacing: .12em; }
.story-engine small { color: var(--muted); font-size: .56rem; }
.orbit-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--blue); font-size: 1.55rem; box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 7%, transparent); }
.orbit-node--chat { top: 56px; left: 16%; }
.orbit-node--pdf { top: 72px; right: 15%; }
.orbit-node--sheet { right: 19%; bottom: 42px; }
.data-pulse { position: absolute; z-index: 3; top: 50%; left: 50%; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; opacity: 0; }
.story-scene.is-active .data-pulse--one { animation: pulse-chat 2.6s var(--ease) infinite; }
.story-scene.is-active .data-pulse--two { animation: pulse-pdf 2.6s var(--ease) .65s infinite; }
.story-scene.is-active .data-pulse--three { animation: pulse-sheet 2.6s var(--ease) 1.3s infinite; }
@keyframes orbit-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse-chat { 0%, 15% { opacity: 0; transform: translate(-4px, -4px); } 25% { opacity: 1; } 70% { opacity: 1; transform: translate(-210px, -134px); } 82%, 100% { opacity: 0; transform: translate(-210px, -134px); } }
@keyframes pulse-pdf { 0%, 15% { opacity: 0; transform: translate(-4px, -4px); } 25% { opacity: 1; } 70% { opacity: 1; transform: translate(205px, -118px); } 82%, 100% { opacity: 0; transform: translate(205px, -118px); } }
@keyframes pulse-sheet { 0%, 15% { opacity: 0; transform: translate(-4px, -4px); } 25% { opacity: 1; } 70% { opacity: 1; transform: translate(170px, 145px); } 82%, 100% { opacity: 0; transform: translate(170px, 145px); } }

.ready-dashboard { position: absolute; top: 42px; right: 25%; left: 5%; min-height: 265px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 15px 40px color-mix(in srgb, var(--ink) 8%, transparent); }
.ready-dashboard header { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 48px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.ready-dashboard header > span { display: none; }
.ready-dashboard header strong { font-size: .72rem; }
.ready-dashboard header em { color: var(--success); font-size: .55rem; font-style: normal; font-weight: 700; }
.ready-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.ready-kpis span { display: grid; gap: 4px; padding: 12px; background: var(--surface-raised); }
.ready-kpis small { color: var(--muted); font-size: .53rem; }
.ready-kpis strong { font-size: .78rem; }
.ready-chart { display: flex; align-items: end; gap: 8px; height: 104px; margin: 0 14px 14px; padding: 15px 12px 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ready-chart i { flex: 1; height: 32%; background: var(--surface-accent); transform: scaleY(.2); transform-origin: bottom; }
.story-scene.is-active .ready-chart i { animation: ready-bars 3.2s var(--ease) infinite; }
.ready-chart i:nth-child(2) { height: 52%; animation-delay: 80ms; }
.ready-chart i:nth-child(3) { height: 44%; animation-delay: 160ms; }
.ready-chart i:nth-child(4) { height: 70%; animation-delay: 240ms; }
.ready-chart i:nth-child(5) { height: 60%; animation-delay: 320ms; }
.ready-chart i:nth-child(6) { height: 92%; background: var(--blue); animation-delay: 400ms; }
@keyframes ready-bars { 0%, 12% { transform: scaleY(.2); } 45%, 82% { transform: scaleY(1); } 100% { transform: scaleY(.2); } }
.ready-phone { position: absolute; top: 88px; right: 4%; display: grid; place-items: center; width: 116px; height: 184px; padding: 15px 10px; border: 1px solid var(--blue); background: var(--surface); box-shadow: 0 14px 34px color-mix(in srgb, var(--blue) 15%, transparent); }
.ready-phone > i { color: var(--blue); font-size: 2.7rem; }
.ready-phone strong { font-size: .66rem; text-align: center; }
.ready-phone small { color: var(--muted); font-size: .52rem; text-align: center; }
.ready-play { position: absolute; right: 4%; bottom: 28px; display: flex; align-items: center; gap: 9px; min-width: 190px; min-height: 58px; padding: 9px 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; transition: border-color 180ms ease, transform 220ms var(--ease); }
.ready-play:hover { border-color: var(--blue); transform: translateY(-2px); }
.ready-play > i { color: var(--blue); font-size: 1.8rem; }
.ready-play span { display: grid; }
.ready-play strong { font-size: .67rem; }
.ready-play small { color: var(--muted); font-size: .52rem; }
.story-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.story-footer i { color: var(--blue); font-size: 1rem; transition: transform 360ms var(--ease); }
.work-story:hover .story-footer i { transform: translateX(5px); }

.proof-count { display: flex; align-items: center; justify-self: end; gap: 17px; }
.proof-count strong { color: var(--blue); font-size: clamp(3.2rem, 5vw, 5rem); letter-spacing: -.055em; line-height: .8; }
.proof-count span { max-width: 150px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.case-item__description { min-height: 22px; }
.case-item, .case-more { min-height: 335px; }

.solutions__visual { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: clamp(60px, 8vw, 120px); }
.visual-benefits { display: grid; grid-template-columns: 1.15fr .85fr; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.visual-benefit { min-height: 250px; padding: 22px; border: 0; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; text-align: left; }
.visual-benefit:is(button) { cursor: pointer; transition: background-color 200ms ease, transform 220ms var(--ease); }
.visual-benefit:is(button):hover { background: var(--blue-soft); transform: translateY(-2px); }
.visual-benefit:is(button):active { transform: translateY(1px); }
.visual-benefit:nth-child(2), .visual-benefit:nth-child(3) { background: var(--surface-soft); }
.visual-benefit h3 { margin: 18px 0 4px; font-size: 1.08rem; }
.visual-benefit p { margin: 0; color: var(--muted); font-size: .72rem; }
.benefit-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 145px; overflow: hidden; background: var(--surface-raised); color: var(--blue); }
.benefit-document { font-size: 4.2rem; }
.benefit-scan { position: absolute; right: 20%; left: 20%; height: 2px; background: var(--blue); box-shadow: 0 0 12px color-mix(in srgb, var(--blue) 45%, transparent); animation: benefit-scan 2.8s var(--ease) infinite; }
.benefit-result { position: absolute; right: 18%; bottom: 19px; padding: 4px; background: var(--surface); color: var(--success); font-size: 1.55rem; }
@keyframes benefit-scan { 0%, 12% { transform: translateY(-45px); opacity: 0; } 24%, 75% { opacity: 1; } 88%, 100% { transform: translateY(45px); opacity: 0; } }
.benefit-desktop, .benefit-mobile { font-size: 3rem; }
.benefit-transfer { position: relative; width: 72px; height: 1px; margin-inline: 12px; background: var(--line-strong); }
.benefit-transfer i { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; background: var(--blue); border-radius: 50%; animation: benefit-transfer 2.6s var(--ease) infinite; }
@keyframes benefit-transfer { 0% { transform: translateX(0); opacity: 0; } 18%, 80% { opacity: 1; } 100% { transform: translateX(64px); opacity: 0; } }
.benefit-network { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 18px; }
.benefit-network > i { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 1.3rem; }
.benefit-network > span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--blue); background: var(--surface); transform: translate(-50%, -50%); }
.benefit-network img { width: 36px; height: 36px; filter: brightness(0); }
.benefit-report { align-items: end; justify-content: flex-start; padding: 25px 25px 20px; }
.benefit-report > span { display: flex; align-items: end; gap: 7px; width: 72%; height: 90px; }
.benefit-report > span i { flex: 1; height: 35%; background: var(--surface-accent); animation: chart-grow 3s var(--ease) infinite; }
.benefit-report > span i:nth-child(2) { height: 60%; animation-delay: 100ms; }
.benefit-report > span i:nth-child(3) { height: 48%; animation-delay: 200ms; }
.benefit-report > span i:nth-child(4) { height: 75%; animation-delay: 300ms; }
.benefit-report > span i:nth-child(5) { height: 95%; background: var(--blue); animation-delay: 400ms; }
.benefit-report > strong { position: absolute; top: 18px; left: 25px; color: var(--muted); font-size: .55rem; }
.benefit-report > i { position: absolute; top: 17px; right: 20px; font-size: 1.5rem; }

.method__intro { display: block; }
.solutions__statement h2, .method__intro h2, .contact h2 { margin-top: 0; }
.method__steps article { display: flex; flex-direction: column; min-height: 300px; }
.method__steps h3 { margin: 20px 0 7px; }
.method__steps p { margin-top: 0; }
.method-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 130px; overflow: hidden; background: var(--surface-raised); color: var(--blue); }
.method-visual > i { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 1.35rem; }
.method-visual--share > i:nth-child(2) { transform: translateY(-12px); }
.method-visual--show > span { display: grid; place-items: center; width: 135px; height: 78px; border: 1px solid var(--line-strong); background: var(--surface); }
.method-visual--show > span i { display: grid; place-items: center; width: 42px; height: 42px; background: var(--blue); color: #fff; border-radius: 50%; }
.method-visual--show > i { position: absolute; right: 22%; bottom: 14px; border: 0; background: transparent; animation: cursor-nudge 2.4s var(--ease) infinite; }
@keyframes cursor-nudge { 0%, 100% { transform: translate(6px, 6px); } 45% { transform: none; } }
.method-visual--adapt > i { width: 76px; height: 76px; font-size: 2rem; }
.method-visual--adapt > span { position: absolute; right: 24%; bottom: 22px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--blue); color: #fff; border-radius: 50%; }

.reveal--benefits > * { opacity: 0; transform: translateY(24px); transition: opacity 480ms var(--ease), transform 620ms var(--ease); }
.reveal--benefits.is-visible > * { opacity: 1; transform: none; }
.reveal--benefits.is-visible > :nth-child(2) { transition-delay: 80ms; }
.reveal--benefits.is-visible > :nth-child(3) { transition-delay: 160ms; }
.reveal--benefits.is-visible > :nth-child(4) { transition-delay: 240ms; }

.process-visual.hero-enter { display: none; }
.work-story.hero-enter { opacity: 0; filter: blur(8px); transform: translateY(24px) scale(.985); }
.site.is-entering .work-story.hero-enter { opacity: 1; filter: none; transform: none; transition: opacity 720ms var(--ease) 360ms, filter 760ms var(--ease) 360ms, transform 820ms var(--ease) 360ms; }

@media (max-width: 1120px) {
  .primary-nav { gap: 14px; }
  .primary-nav > a:not(.header-cta) { display: none; }
  .hero { grid-template-columns: .72fr 1.28fr; gap: 32px; }
  .hero h1 { font-size: clamp(2.75rem, 4.4vw, 3.25rem); }
  .process-visual { grid-template-columns: minmax(190px, .8fr) minmax(300px, 1.2fr); }
  .proof__intro, .solutions__grid { gap: 70px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-item { min-height: 330px; }
  .case-item:nth-child(2) { border-right: 0; }
  .case-item:nth-child(n+3), .case-more { border-top: 1px solid var(--line); }
  .case-item:nth-child(3) { padding-left: 0; }
  .case-more { min-height: 160px; border-right: 1px solid var(--line); }
  .solutions__visual { grid-template-columns: .65fr 1.35fr; gap: 56px; }
  .story-stage { min-height: 420px; }
  .source-card { width: min(280px, 52%); }
}

@media (max-width: 860px) {
  .site-header__inner { min-height: 72px; }
  .brand-lockup { font-size: .95rem; }
  .brand-lockup img { width: 36px; height: 36px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 80px 90px; }
  .hero__copy { max-width: 650px; padding-top: 0; }
  .hero h1 { font-size: clamp(3.3rem, 9vw, 4.15rem); }
  .process-visual { min-height: auto; }
  .proof__intro, .solutions__grid, .solutions__visual, .contact__inner { grid-template-columns: 1fr; gap: 42px; }
  .proof__intro > p { max-width: 540px; }
  .proof-count { justify-self: start; }
  .method__intro { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .method__intro > p:last-child { max-width: 560px; }
  .work-story { width: 100%; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .site-header__inner { min-height: 66px; }
  .brand-lockup { gap: 7px; font-size: .82rem; }
  .brand-lockup img { width: 32px; height: 32px; }
  .primary-nav { gap: 5px; }
  .primary-nav > a:not(.header-cta) { display: none; }
  .header-cta { min-width: 42px; min-height: 42px; padding: 0 13px; }
  .header-cta span { display: none; }
  .theme-toggle { width: 38px; height: 42px; }
  .hero { padding-block: 68px 76px; }
  .eyebrow { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4rem); line-height: .9; }
  .hero__lead { margin-block: 26px; font-size: 1rem; }
  .button--primary { width: 100%; min-width: 0; }
  .work-story { margin-top: 22px; }
  .story-tabs { min-height: 49px; }
  .story-tab { padding-inline: 7px; font-size: .61rem; }
  .story-stage { min-height: 420px; }
  .source-card { grid-template-columns: 34px 1fr auto; width: calc(100% - 42px); min-height: 70px; }
  .source-card > i { width: 34px; height: 34px; }
  .source-card--chat { top: 38px; left: 20px; }
  .source-card--invoice { top: 140px; right: 20px; }
  .source-card--sheet { top: 242px; left: 20px; }
  .story-caption { right: 20px; bottom: 20px; }
  .story-scene--connect::before { width: 245px; height: 245px; }
  .story-engine { width: 145px; height: 145px; }
  .orbit-node { width: 52px; height: 52px; }
  .orbit-node--chat { top: 48px; left: 8%; }
  .orbit-node--pdf { top: 58px; right: 7%; }
  .orbit-node--sheet { right: 12%; bottom: 46px; }
  .data-pulse { display: none; }
  .ready-dashboard { top: 32px; right: 17px; left: 17px; min-height: 245px; }
  .ready-kpis { gap: 5px; padding: 10px; }
  .ready-kpis span { padding: 9px 7px; }
  .ready-chart { height: 92px; margin: 0 10px 10px; }
  .ready-phone { top: 262px; right: auto; left: 19px; width: 104px; height: 132px; }
  .ready-phone > i { font-size: 2rem; }
  .ready-play { right: 17px; bottom: 27px; min-width: 184px; }
  .story-footer { padding-inline: 14px; font-size: .6rem; }
  .process-visual { grid-template-columns: 1fr; gap: 34px; margin-top: 24px; }
  .process-visual::before, .process-visual::after { display: none; }
  .flow-stack { gap: 24px; }
  .flow-node:not(:last-child)::after { height: 24px; }
  .system-panels { gap: 18px; }
  .system-table { overflow-x: auto; }
  .system-table__head, .system-table__row { min-width: 0; grid-template-columns: 1.15fr .82fr .88fr; gap: 5px; }
  .proof { padding-top: 76px; }
  .proof__intro h2, .solutions h2, .method h2, .contact h2 { font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .case-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .case-item, .case-item + .case-item, .case-item:nth-child(3), .case-more { min-height: 0; padding: 24px 0 28px; border-right: 0; border-top: 1px solid var(--line); }
  .case-item:first-child { border-top: 0; }
  .case-item__title { margin-top: 16px; }
  .case-item__description { min-height: 0; }
  .case-preview { min-height: 180px; margin-top: 18px; }
  .case-more { flex-direction: row; align-items: center; justify-content: space-between; }
  .sector-strip span { padding: 17px 24px; font-size: .88rem; }
  .solutions, .method, .contact { padding-block: 76px; }
  .solutions__grid, .solutions__visual { gap: 52px; }
  .visual-benefits { grid-template-columns: 1fr; }
  .visual-benefit { min-height: 230px; padding: 18px; }
  .benefit-visual { height: 132px; }
  .solution-list article { grid-template-columns: 36px 1fr; }
  .method__steps { grid-template-columns: 1fr; margin-top: 56px; }
  .method__steps article, .method__steps article + article { min-height: 0; padding: 25px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .method__steps h3 { margin-top: 18px; }
  .method-visual { height: 140px; }
  .contact__inner { gap: 48px; }
  .site-footer__inner { grid-template-columns: 1fr auto; }
  .site-footer__inner a { display: none; }
  .boot-terminal { width: calc(100vw - 36px); }
  .boot-lines { font-size: .68rem; }
  .boot-line { grid-template-columns: 64px 1fr; }
  .boot-cursor { margin-left: 65px; }
  .demo-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .demo-dialog__frame { max-height: calc(100dvh - 22px); }
  .demo-dialog__header { gap: 15px; padding: 18px 17px 16px; }
  .demo-dialog__header > div > span { font-size: .72rem; }
  .demo-dialog__header > button { width: 36px; height: 36px; }
  .demo-stage { min-height: 390px; padding: 14px; }
  .demo-stage .case-preview { min-height: 350px; }
  .system-demo { min-height: 610px; }
  .system-demo__toolbar { grid-template-columns: 1fr auto; }
  .system-demo__toolbar > strong { display: none; }
  .system-demo__body { grid-template-columns: 1fr; min-height: 562px; }
  .system-demo__sidebar { flex-direction: row; gap: 4px; padding: 8px; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line); }
  .system-demo__sidebar > small { display: none; }
  .system-demo__sidebar > span { flex: 0 0 auto; min-height: 30px; padding-inline: 8px; }
  .system-demo__sidebar > span:nth-of-type(n+5) { display: none; }
  .system-demo__workspace { min-height: 520px; }
  .system-demo__screens { min-height: 486px; }
  .system-demo__scene { padding: 16px 13px 12px; }
  .system-demo__scene-header { gap: 10px; }
  .system-demo__scene-header > span { font-size: .48rem; }
  .system-demo__metrics { gap: 5px; margin-top: 12px; }
  .system-demo__metrics > div { min-height: 55px; padding: 8px 6px; }
  .system-demo__metrics small { font-size: .43rem; }
  .system-demo__metrics strong { font-size: .69rem; }
  .system-demo__scene-body { grid-template-columns: 1fr; gap: 9px; margin-top: 10px; }
  .system-demo__activity > div { min-height: 42px; }
  .system-demo__flow { padding-block: 8px; }
  .system-demo__flow > div { grid-template-columns: repeat(4, 1fr); gap: 3px; }
  .system-demo__flow span { grid-template-columns: 1fr; place-items: center; gap: 3px; text-align: center; }
  .system-demo__flow span:not(:last-child)::after { top: 9px; right: -4px; bottom: auto; left: 50%; width: calc(100% + 8px); height: 1px; }
  .system-demo__flow span i { position: relative; z-index: 1; }
  .system-demo__flow span strong { font-size: .45rem; }
  .demo-dialog__footer { padding-inline: 17px; }
  .demo-dialog__footer > span { display: none; }
  .invoice-flow { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .invoice-sheet { min-height: 150px; }
  .data-bridge { width: 1px; height: 28px; margin: -4px auto; }
  .data-bridge::after { top: auto; right: -3px; bottom: 0; transform: rotate(135deg); }
  .data-bridge i { top: 0; left: -4px; animation-name: data-travel-vertical; }
  .demo-result { margin: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-enter, .hero__copy > *, .process-visual .flow-node, .process-visual .system-panel, .reveal--split > *, .reveal--cases > *, .reveal--list > *, .reveal--steps > *, .reveal--contact > * { opacity: 1; filter: none; clip-path: none; transform: none; }
  .sector-strip__track { animation: none; }
  .system-demo__scene { display: none; }
  .system-demo__scene--1 { display: grid; opacity: 1; transform: none; }
  .system-demo__timeline-item, .system-demo__timeline-item::after { animation: none; }
  .system-demo__timeline-item--1 { color: var(--blue); }
  .system-demo__timeline-item--1::after { transform: scaleX(1); }
}

@keyframes data-travel-vertical { 0%, 18% { transform: translateY(0); opacity: 0; } 28%, 72% { opacity: 1; } 82%, 100% { transform: translateY(24px); opacity: 0; } }

/* Nueva composición comercial: más demostración, menos espacio vacío. */
:root[data-theme="dark"] {
  --page: #0c1017;
  --surface: #121925;
  --surface-raised: #1a2433;
  --surface-soft: #151d2a;
  --surface-accent: #263753;
  --ink: #f4f7fb;
  --muted: #b4bfce;
  --line: #364257;
  --line-strong: #5b6980;
  --blue: #6b8dff;
  --blue-soft: #1d315e;
}

.hero {
  min-height: clamp(650px, calc(100dvh - 72px), 780px);
  padding-block: 28px 42px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button--secondary {
  min-width: 164px;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.story-stage { min-height: 400px; }
.source-card--chat { top: 34px; }
.source-card--invoice { top: 145px; }
.source-card--sheet { top: 255px; }
.ready-dashboard { top: 30px; min-height: 245px; }
.ready-phone { top: 68px; }
.ready-play { bottom: 18px; }

.proof { padding-top: clamp(68px, 6vw, 92px); }
.case-grid { margin-top: clamp(42px, 5vw, 68px); }
.case-item, .case-more { min-height: 390px; }
.case-item__title { margin-bottom: 7px; }
.case-item__outcome {
  display: block;
  min-height: 58px;
  max-width: 245px;
  margin-bottom: 8px;
  font-size: .86rem;
  line-height: 1.35;
}
.case-item__description {
  min-height: 38px;
  margin-bottom: 14px;
  font-size: .66rem;
}
.case-item:hover .case-preview {
  border-color: var(--blue);
  transform: translateY(-3px);
}
.case-preview { transition: border-color 220ms ease, transform 260ms var(--ease); }
.case-more span { color: var(--blue); font-size: .72rem; font-weight: 700; }
.sector-strip span::after { width: 1px; height: 14px; background: var(--line-strong); }

.problem-lab { padding-block: clamp(78px, 7vw, 108px); }
.problem-lab__intro { max-width: 760px; }
.problem-lab__intro h2 {
  margin: 0;
  font-size: clamp(2.9rem, 4.5vw, 5.3rem);
  letter-spacing: -.045em;
  line-height: .93;
}
.problem-lab__intro p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.problem-console {
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(580px, 1.38fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  margin-top: clamp(44px, 5vw, 68px);
}
.problem-console .flow-column { min-width: 0; }
.problem-console .flow-stack { gap: 8px; }
.problem-console .flow-node {
  grid-template-columns: 34px 1fr 22px;
  gap: 12px;
  min-height: 76px;
  padding: 13px 14px;
}
.problem-console .flow-node:not(:last-child)::after { display: none; }
.problem-console .flow-node > i:first-child { color: var(--blue); font-size: 1.35rem; }
.problem-console .flow-node__arrow { color: var(--line-strong); font-size: 1rem; transition: color 180ms ease, transform 220ms var(--ease); }
.problem-console .flow-node:hover .flow-node__arrow,
.problem-console .flow-node--active .flow-node__arrow { color: var(--blue); transform: translateX(3px); }
.problem-console .flow-node--active { animation: none; background: var(--blue-soft); }
.problem-console .flow-node strong { font-size: .82rem; }
.problem-console .flow-node__copy > span { font-size: .63rem; }
.problem-console .system-panels {
  grid-template-columns: .92fr 1.08fr;
  gap: 12px;
}
.problem-console .system-panel { min-width: 0; min-height: 348px; }
.problem-console .system-panel > header { min-height: 58px; }
.problem-console .system-panel > header > span {
  color: var(--muted);
  font-size: .56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.problem-console .system-panel ul { padding: 12px 14px 15px; }
.problem-console .system-panel li { min-height: 56px; gap: 12px; }
.problem-console .system-panel li > span { max-width: 72%; }
.problem-console .system-table { margin: 12px 14px 15px; }
.problem-console .system-table__head,
.problem-console .system-table__row {
  grid-template-columns: 1.08fr .85fr .82fr;
  min-height: 58px;
  gap: 8px;
}
.problem-console .system-table__row > span:last-child { color: var(--blue); font-size: .58rem; font-weight: 700; }

.method { padding-block: clamp(78px, 7vw, 110px); }
.method__layout {
  display: grid;
  grid-template-columns: minmax(310px, .72fr) minmax(540px, 1.28fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}
.method__intro {
  position: sticky;
  top: 112px;
  display: block;
}
.method__intro h2 { font-size: clamp(2.9rem, 4.2vw, 4.8rem); }
.method__intro p {
  max-width: 460px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}
.method__steps {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 0;
  border-top: 1px solid var(--line-strong);
}
.method__steps article,
.method__steps article + article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 188px;
  padding: 18px 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.method__steps h3 { margin: 0 0 8px; font-size: 1.3rem; }
.method__steps p { margin: 0; }
.method-visual { width: 180px; height: 138px; }

.contact { padding-block: clamp(82px, 8vw, 118px); }
.site-footer { background: var(--surface); border-color: var(--line); }
.site-footer__inner { color: var(--muted); }
.site-footer__inner a { color: var(--muted); }
.site-footer__inner > span:first-child { color: var(--ink); }

:root[data-theme="dark"] .work-story,
:root[data-theme="dark"] .system-panel,
:root[data-theme="dark"] .case-preview,
:root[data-theme="dark"] .system-demo,
:root[data-theme="dark"] .demo-workspace {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

@media (max-width: 1120px) {
  .hero__actions { align-items: stretch; flex-direction: column; max-width: 300px; }
  .button--secondary { width: 100%; }
  .problem-console { grid-template-columns: .7fr 1.3fr; }
  .problem-console .system-panels { grid-template-columns: 1fr; }
  .problem-console .system-panel { min-height: 0; }
  .method__layout { grid-template-columns: .68fr 1.32fr; gap: 52px; }
  .method__steps article, .method__steps article + article { grid-template-columns: 150px 1fr; }
  .method-visual { width: 150px; }
}

@media (max-width: 860px) {
  .hero { min-height: auto; padding-block: 58px 72px; }
  .hero__actions { flex-direction: row; max-width: 520px; }
  .problem-console, .method__layout { grid-template-columns: 1fr; }
  .problem-console .system-panels { grid-template-columns: 1fr 1fr; }
  .method__intro { position: static; }
}

@media (max-width: 620px) {
  .hero { padding-block: 48px 64px; }
  .hero__actions { flex-direction: column; max-width: none; }
  .button--secondary { min-width: 0; }
  .story-stage { min-height: 420px; }
  .source-card--chat { top: 34px; }
  .source-card--invoice { top: 136px; }
  .source-card--sheet { top: 238px; }
  .case-item, .case-more { min-height: 0; }
  .case-item__outcome { min-height: 0; max-width: 330px; font-size: .95rem; }
  .case-item__description { min-height: 0; }
  .problem-lab { padding-block: 70px; }
  .problem-lab__intro h2 { font-size: clamp(2.75rem, 13vw, 3.65rem); }
  .problem-console { margin-top: 40px; }
  .problem-console .flow-node { min-height: 72px; }
  .problem-console .system-panels { grid-template-columns: 1fr; }
  .problem-console .system-panel { min-height: 0; }
  .problem-console .system-panel li { min-height: 52px; }
  .problem-console .system-table__head,
  .problem-console .system-table__row { min-height: 56px; font-size: .6rem; }
  .method__steps article,
  .method__steps article + article {
    grid-template-columns: 112px 1fr;
    gap: 18px;
    padding: 18px 0;
  }
  .method-visual { width: 112px; height: 112px; }
  .method-visual > i { width: 38px; height: 38px; }
  .method-visual--show > span { width: 78px; height: 54px; }
  .method-visual--show > i { right: 5%; }
  .method-visual--adapt > i { width: 58px; height: 58px; }
}

/* Rebranding 2026: producto protagonista, color sólido y profundidad editorial. */
:root {
  --page: #eef1f4;
  --surface: #f7f9fa;
  --surface-raised: #ffffff;
  --surface-soft: #e4e9ed;
  --surface-accent: #dce5f5;
  --ink: #15191f;
  --muted: #5c6772;
  --line: #d2d8de;
  --line-strong: #adb7c1;
  --blue: #2f56c7;
  --blue-soft: #dfe6f7;
  --success: #337b62;
  --violet: #6e617b;
  --violet-soft: #ebe7ed;
  --orange: #bd633e;
  --orange-soft: #f5e8e1;
  --cyan: #397984;
  --cyan-soft: #e1edef;
  --green-soft: #e0eee7;
  --panel-radius: 18px;
  --control-radius: 10px;
}

:root[data-theme="dark"] {
  --page: #10151b;
  --surface: #161d24;
  --surface-raised: #1d2630;
  --surface-soft: #12191f;
  --surface-accent: #27364c;
  --ink: #f1f4f6;
  --muted: #a9b3bc;
  --line: #2e3842;
  --line-strong: #4d5b68;
  --blue: #7f9be3;
  --blue-soft: #243352;
  --success: #6eb696;
  --violet: #afa2b7;
  --violet-soft: #342e38;
  --orange: #df8a66;
  --orange-soft: #3d2b24;
  --cyan: #72aab1;
  --cyan-soft: #21383c;
  --green-soft: #203a31;
}

body {
  background: var(--page);
}

.site { background: transparent; }
.site-header { background: color-mix(in srgb, var(--page) 82%, transparent); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--surface) 90%, transparent); }
.brand-lockup img { width: 38px; height: 38px; }
.primary-nav { font-size: .74rem; }
.header-cta, .button, .theme-toggle { border-radius: var(--control-radius); }
.header-cta { box-shadow: 0 10px 26px color-mix(in srgb, var(--blue) 18%, transparent); }

.hero {
  position: relative;
  grid-template-columns: minmax(420px, .4fr) minmax(630px, .6fr);
  gap: clamp(40px, 4.2vw, 72px);
  align-items: center;
  min-height: clamp(700px, calc(100dvh - 72px), 850px);
  padding-block: clamp(46px, 5vw, 72px);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -5%;
  width: min(48vw, 720px);
  height: 78%;
  content: "";
  border: 1px solid color-mix(in srgb, var(--blue) 18%, var(--line));
  border-radius: 32px;
  background: var(--blue-soft);
  opacity: .46;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero__copy { max-width: 540px; padding-top: 0; }
.eyebrow { margin-bottom: 22px; color: var(--blue); }
.eyebrow::before {
  width: 30px;
  height: 3px;
  content: "";
  background: var(--blue);
}

.hero h1 {
  max-width: 540px;
  font-size: clamp(3.65rem, 4.35vw, 5rem);
  line-height: .9;
  letter-spacing: -.065em;
}

.hero__lead { max-width: 410px; margin: 30px 0; color: var(--muted); font-size: clamp(1rem, 1.12vw, 1.16rem); }
.hero__actions { gap: 10px; }
.button { min-height: 54px; padding-inline: 20px; }
.button--primary { min-width: 255px; box-shadow: 0 14px 32px color-mix(in srgb, var(--blue) 22%, transparent); }
.button--primary:hover { background: color-mix(in srgb, var(--blue) 88%, var(--violet)); color: #fff; }
.button--secondary { min-width: 142px; background: color-mix(in srgb, var(--surface-raised) 68%, transparent); }

.product-window {
  --scene-color: var(--blue);
  min-height: 580px;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-raised) 88%, transparent);
  box-shadow:
    0 38px 90px color-mix(in srgb, #1c2941 20%, transparent),
    0 8px 28px color-mix(in srgb, var(--blue) 10%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: border-color 350ms ease, box-shadow 350ms ease;
}

.product-window[data-story-active="connect"] { --scene-color: var(--violet); }
.product-window[data-story-active="ready"] { --scene-color: var(--success); }
.product-window::before {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 54%;
  height: 54%;
  content: "";
  border-radius: 22px;
  background: var(--scene-color);
  opacity: .1;
  transition: background-color 450ms ease;
  pointer-events: none;
}

.product-window__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .61rem;
  letter-spacing: .02em;
}

.product-window__bar > strong { color: var(--ink); font-size: .64rem; font-weight: 700; }
.window-controls { display: flex; gap: 6px; }
.window-controls i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.window-controls i:nth-child(1) { background: var(--orange); }
.window-controls i:nth-child(2) { background: #e8b238; }
.window-controls i:nth-child(3) { background: var(--success); }
.product-live { display: inline-flex; align-items: center; justify-self: end; gap: 7px; }
.product-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 12%, transparent); animation: live-pulse 2.4s ease-in-out infinite; }

.product-window__body { display: grid; grid-template-columns: 58px 1fr; min-height: 530px; }
.product-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 13px 9px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 52%, transparent);
  border-radius: 0 0 0 21px;
}
.product-sidebar > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--muted); font-size: 1rem; }
.product-sidebar__brand { margin-bottom: 12px; background: var(--ink); }
.product-sidebar__brand img { width: 25px; filter: invert(1); }
:root[data-theme="dark"] .product-sidebar__brand img { filter: none; }
.product-sidebar .is-current { background: var(--blue); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--blue) 25%, transparent); }

.product-window__main { min-width: 0; overflow: hidden; border-radius: 0 0 21px 0; }
.story-tabs { min-height: 57px; padding: 9px; gap: 7px; border-bottom: 1px solid var(--line); background: var(--surface); }
.story-tab { border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: .61rem; }
.story-tab::after { display: none; }
.story-tab:hover { background: var(--surface-soft); color: var(--ink); }
.story-tab.is-active { background: color-mix(in srgb, var(--scene-color) 12%, var(--surface-raised)); color: var(--scene-color); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--scene-color) 25%, transparent); }
.story-stage { min-height: 420px; background: color-mix(in srgb, var(--surface-soft) 68%, transparent); }
.story-stage::before { opacity: .38; }

.source-card {
  width: min(335px, 54%);
  min-height: 82px;
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: 0 15px 35px color-mix(in srgb, #1d2940 12%, transparent);
}
.source-card > i { border-radius: 10px; }
.source-card--chat { top: 35px; left: 6%; transform: translateY(18px) rotate(-1.8deg); }
.source-card--invoice { top: 147px; right: 5%; transform: translateY(18px) rotate(1.4deg); }
.source-card--sheet { top: 260px; left: 10%; transform: translateY(18px) rotate(-.8deg); }
.source-card--chat > i { background: var(--green-soft); color: var(--success); }
.source-card--invoice > i { background: var(--orange-soft); color: var(--orange); }
.source-card--sheet > i { background: var(--violet-soft); color: var(--violet); }
.source-card--chat em { background: var(--green-soft); color: var(--success); }
.source-card--invoice em { background: var(--orange-soft); color: var(--orange); }
.source-card--sheet em { background: var(--violet-soft); color: var(--violet); }
.story-caption { right: 20px; bottom: 20px; padding: 10px 13px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--surface-raised) 90%, transparent); box-shadow: 0 9px 22px color-mix(in srgb, #1c2941 8%, transparent); }

.story-scene--connect::before { border-color: color-mix(in srgb, var(--violet) 38%, transparent); }
.story-scene--connect::after { border-color: color-mix(in srgb, var(--blue) 24%, transparent); }
.story-engine { border: 0; border-radius: 24px; box-shadow: inset 0 0 0 8px var(--violet-soft), 0 24px 55px color-mix(in srgb, var(--violet) 22%, transparent); }
.story-engine::before { position: absolute; inset: -18px; content: ""; border: 1px dashed color-mix(in srgb, var(--violet) 45%, transparent); border-radius: 32px; animation: orbit-spin 18s linear infinite; }
.orbit-node { border-radius: 14px; box-shadow: 0 12px 28px color-mix(in srgb, #1c2941 12%, transparent); }
.orbit-node--chat { color: var(--success); background: var(--green-soft); }
.orbit-node--pdf { color: var(--orange); background: var(--orange-soft); }
.orbit-node--sheet { color: var(--violet); background: var(--violet-soft); }

.ready-dashboard { top: 25px; right: 22%; left: 4%; min-height: 277px; overflow: hidden; border-color: var(--line); border-radius: 15px; box-shadow: 0 20px 46px color-mix(in srgb, #1c2941 13%, transparent); }
.ready-dashboard header em { padding: 4px 7px; border-radius: 999px; background: var(--green-soft); }
.ready-kpis span { border-radius: 9px; }
.ready-kpis span:nth-child(1) { background: var(--blue-soft); }
.ready-kpis span:nth-child(2) { background: var(--green-soft); }
.ready-kpis span:nth-child(3) { background: var(--violet-soft); }
.ready-chart { height: 87px; }
.ready-chart i { border-radius: 5px 5px 0 0; background: color-mix(in srgb, var(--blue) 26%, var(--surface-accent)); }
.ready-chart i:nth-child(4) { background: color-mix(in srgb, var(--violet) 50%, var(--surface-accent)); }
.ready-chart i:nth-child(6) { background: var(--success); }
.ready-feed { display: grid; margin: 0 14px 13px; border-top: 1px solid var(--line); }
.ready-feed span { display: grid; grid-template-columns: 16px 1fr auto; gap: 6px; align-items: center; min-height: 31px; color: var(--muted); font-size: .53rem; }
.ready-feed i { color: var(--success); }
.ready-feed em { color: var(--success); font-size: .48rem; font-style: normal; font-weight: 700; }
.ready-phone { top: 56px; right: 3%; border: 0; border-radius: 18px; background: var(--violet-soft); box-shadow: 0 18px 36px color-mix(in srgb, var(--violet) 20%, transparent); }
.ready-play { right: 3%; bottom: 18px; border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); border-radius: 12px; background: var(--surface-raised); box-shadow: 0 14px 30px color-mix(in srgb, var(--blue) 12%, transparent); }
.story-footer { min-height: 53px; padding-inline: 17px; border-top: 1px solid var(--line); background: var(--surface); }
.story-footer i { color: var(--scene-color); }

.impact-ribbon { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 78%, transparent); }
.impact-ribbon__inner { display: grid; grid-template-columns: .78fr 1.45fr .77fr; align-items: stretch; min-height: 116px; }
.impact-ribbon__inner > div { display: flex; align-items: center; gap: 14px; padding: 22px clamp(18px, 2.5vw, 36px); border-right: 1px solid var(--line); }
.impact-ribbon__inner > div:first-child { padding-left: 0; }
.impact-ribbon__inner > div:last-child { border-right: 0; padding-right: 0; }
.impact-ribbon__metric strong { color: var(--blue); font-size: 2.55rem; letter-spacing: -.06em; line-height: 1; }
.impact-ribbon__inner span { color: var(--muted); font-size: .69rem; line-height: 1.45; }
.impact-ribbon__flow { justify-content: center; }
.impact-ribbon__flow > span { display: inline-flex; align-items: center; gap: 7px; }
.impact-ribbon__flow > span:first-child i { color: var(--success); }
.impact-ribbon__flow > span:nth-child(2) i { color: var(--orange); }
.impact-ribbon__flow > i { color: var(--line-strong); }
.impact-ribbon__flow strong { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); font-size: .67rem; }
.impact-ribbon__reach { justify-content: flex-end; }
.impact-ribbon__reach > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--violet-soft); color: var(--violet); }

.proof { padding-block: clamp(96px, 9vw, 138px); background: transparent; }
.proof__intro { grid-template-columns: 1.12fr .88fr; align-items: end; }
.proof__intro h2 { max-width: 780px; font-size: clamp(3.35rem, 5vw, 6rem); letter-spacing: -.06em; }
.proof__intro > p { max-width: 460px; color: var(--muted); }
.case-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: clamp(52px, 6vw, 82px); border: 0; }
.case-item, .case-item + .case-item, .case-more {
  min-height: 470px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--surface);
  box-shadow: 0 14px 38px color-mix(in srgb, #1c2941 6%, transparent);
}
.case-item:nth-child(1) { grid-column: span 7; background: var(--cyan-soft); }
.case-item:nth-child(2) { grid-column: span 5; background: var(--green-soft); }
.case-item:nth-child(3) { grid-column: span 5; background: var(--orange-soft); }
.case-item:nth-child(4) { grid-column: span 7; background: var(--violet-soft); }
.case-item:hover { border-color: color-mix(in srgb, var(--card-accent, var(--blue)) 58%, var(--line)); background-color: var(--surface); transform: translateY(-6px); box-shadow: 0 24px 55px color-mix(in srgb, #1c2941 11%, transparent); }
.case-item:nth-child(1) { --card-accent: var(--cyan); }
.case-item:nth-child(2) { --card-accent: var(--success); }
.case-item:nth-child(3) { --card-accent: var(--orange); }
.case-item:nth-child(4) { --card-accent: var(--violet); }
.case-item { transition: transform 300ms var(--ease), border-color 240ms ease, box-shadow 300ms ease; }
.case-item__top > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--card-accent) 12%, var(--surface-raised)); color: var(--card-accent); }
.case-item__top > span { color: var(--card-accent); opacity: 1; }
.case-item__title { margin-top: 22px; font-size: 1.35rem; letter-spacing: -.025em; }
.case-item__outcome { min-height: 0; max-width: 540px; margin-bottom: 8px; font-size: clamp(1.1rem, 1.45vw, 1.45rem); line-height: 1.28; letter-spacing: -.025em; }
.case-item__description { min-height: 0; margin-bottom: 20px; font-size: .76rem; }
.case-preview { min-height: 220px; border-color: color-mix(in srgb, var(--card-accent) 20%, var(--line)); border-radius: 13px; background: color-mix(in srgb, var(--surface-raised) 92%, transparent); box-shadow: 0 15px 34px color-mix(in srgb, #1c2941 8%, transparent); }
.case-item:hover .case-preview { border-color: color-mix(in srgb, var(--card-accent) 55%, var(--line)); transform: translateY(-4px) scale(1.008); }
.case-preview .preview-bar { min-height: 37px; }
.case-preview .preview-status { right: 13px; bottom: 11px; left: 13px; min-height: 28px; border-radius: 7px; }
.case-more {
  position: relative;
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 176px;
  padding: 34px 40px;
  border: 0;
  background: #294eac;
  color: #fff;
}
.case-more::before { position: absolute; top: -74px; right: 7%; width: 210px; height: 210px; content: ""; border-radius: 50%; background: #bd633e; opacity: .46; }
.case-more::after { position: absolute; right: 24%; bottom: -78px; width: 146px; height: 146px; content: ""; background: #397984; opacity: .52; transform: rotate(18deg); }
.case-more strong { position: relative; z-index: 1; max-width: 650px; font-size: clamp(2rem, 3.1vw, 3.5rem); line-height: .96; letter-spacing: -.05em; }
.case-more span { position: relative; z-index: 1; padding: 10px 14px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; color: #fff; font-size: .7rem; }
.sector-strip { max-width: 100vw; overflow: hidden; contain: paint; background: color-mix(in srgb, var(--surface) 75%, transparent); }

.problem-lab { position: relative; overflow: hidden; background: var(--surface); }
.problem-lab::before { position: absolute; top: -110px; right: -150px; width: 390px; height: 390px; content: ""; border: 1px solid color-mix(in srgb, var(--violet) 24%, var(--line)); border-radius: 50%; background: var(--violet-soft); opacity: .52; pointer-events: none; }
.problem-lab__intro { max-width: 900px; }
.problem-lab__intro h2 { font-size: clamp(3.5rem, 5.4vw, 6.4rem); letter-spacing: -.06em; }
.problem-console { grid-template-columns: minmax(280px, .56fr) minmax(620px, 1.44fr); gap: clamp(32px, 4vw, 64px); }
.problem-console .flow-node { border-color: transparent; border-radius: 12px; background: var(--surface-soft); }
.problem-console .flow-node:nth-child(1) > i:first-child { color: var(--orange); }
.problem-console .flow-node:nth-child(2) > i:first-child { color: var(--success); }
.problem-console .flow-node:nth-child(3) > i:first-child { color: var(--violet); }
.problem-console .flow-node:nth-child(4) > i:first-child { color: var(--cyan); }
.problem-console .flow-node--active { border-color: color-mix(in srgb, var(--flow-accent, var(--blue)) 38%, transparent); background: color-mix(in srgb, var(--flow-accent, var(--blue)) 12%, var(--surface)); box-shadow: 0 10px 25px color-mix(in srgb, var(--flow-accent, var(--blue)) 10%, transparent); transform: translateX(5px); }
.problem-console .flow-node:nth-child(1) { --flow-accent: var(--orange); }
.problem-console .flow-node:nth-child(2) { --flow-accent: var(--success); }
.problem-console .flow-node:nth-child(3) { --flow-accent: var(--violet); }
.problem-console .flow-node:nth-child(4) { --flow-accent: var(--cyan); }
.problem-console .flow-node--active .flow-node__arrow { color: var(--flow-accent); }
.problem-console .system-panels { --flow-accent: var(--orange); }
.problem-console .system-panels[data-active-flow="pedidos"] { --flow-accent: var(--success); }
.problem-console .system-panels[data-active-flow="stock"] { --flow-accent: var(--violet); }
.problem-console .system-panels[data-active-flow="reportes"] { --flow-accent: var(--cyan); }
.problem-console .system-panel { overflow: hidden; border-color: var(--line); border-radius: var(--panel-radius); box-shadow: 0 18px 42px color-mix(in srgb, #1c2941 7%, transparent); }
.problem-console .system-panel--diagnostic { background: color-mix(in srgb, var(--surface-raised) 92%, var(--orange-soft)); }
.problem-console .system-panel--solution { border-color: color-mix(in srgb, var(--flow-accent) 32%, var(--line)); background: color-mix(in srgb, var(--surface-raised) 92%, var(--flow-accent)); }
.problem-console .system-panel > header { background: color-mix(in srgb, var(--surface) 76%, transparent); }
.problem-console .system-panel--solution > header i { color: var(--flow-accent); }
.problem-console .system-panel li { border-radius: 7px; }
.problem-console .system-panel li small { border-radius: 6px; background: var(--orange-soft); color: var(--orange); }
.problem-console .system-table { overflow: hidden; border-radius: 11px; }
.problem-console .system-table__row > span:first-child i, .problem-console .system-table__row > span:last-child { color: var(--flow-accent); }

.method { background: transparent; }
.method__layout { grid-template-columns: minmax(330px, .72fr) minmax(570px, 1.28fr); }
.method__intro h2 { font-size: clamp(3.4rem, 4.8vw, 5.6rem); letter-spacing: -.06em; }
.method__steps { gap: 14px; border: 0; }
.method__steps article, .method__steps article + article { min-height: 205px; padding: 16px; border: 1px solid var(--line); border-radius: var(--panel-radius); background: var(--surface); box-shadow: 0 12px 32px color-mix(in srgb, #1c2941 5%, transparent); }
.method-visual { width: 180px; height: 170px; border-radius: 13px; }
.method__steps article:nth-child(1) .method-visual { background: var(--green-soft); color: var(--success); }
.method__steps article:nth-child(2) .method-visual { background: var(--blue-soft); color: var(--blue); }
.method__steps article:nth-child(3) .method-visual { background: var(--violet-soft); color: var(--violet); }
.method__steps article:nth-child(1) .method-visual > i { border-color: color-mix(in srgb, var(--success) 24%, var(--line)); }
.method__steps article:nth-child(3) .method-visual > i { border-color: color-mix(in srgb, var(--violet) 24%, var(--line)); }
.method__steps h3 { font-size: 1.34rem; }

.contact {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #294eac;
}
.contact::before { position: absolute; top: -180px; right: -80px; width: 420px; height: 420px; content: ""; border-radius: 50%; background: #bd633e; opacity: .48; pointer-events: none; }
.contact::after { position: absolute; right: 24%; bottom: -120px; width: 230px; height: 230px; content: ""; background: #397984; opacity: .56; transform: rotate(18deg); pointer-events: none; }
.contact__inner { position: relative; z-index: 1; }
.contact h2 { max-width: 750px; font-size: clamp(3.4rem, 5.2vw, 6.2rem); letter-spacing: -.06em; }
.contact h2 span { color: #ffd3b8; }
.contact .button--primary { border: 0; border-radius: var(--control-radius); box-shadow: 0 15px 36px rgba(24, 35, 88, .24); }
.site-footer { background: var(--surface); border-color: var(--line); }

@keyframes live-pulse { 0%, 100% { opacity: .58; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(340px, .4fr) minmax(540px, .6fr); gap: 34px; }
  .hero h1 { font-size: clamp(3.45rem, 5vw, 4.5rem); }
  .product-window { min-height: 560px; }
  .problem-console { grid-template-columns: .65fr 1.35fr; }
  .problem-console .system-panels { grid-template-columns: 1fr; }
  .method__layout { grid-template-columns: .72fr 1.28fr; gap: 48px; }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 66px 82px; }
  .hero::before { top: 38%; right: -22%; width: 100%; height: 58%; }
  .hero__copy { max-width: 650px; }
  .hero h1 { max-width: 700px; font-size: clamp(3.8rem, 9vw, 5.4rem); }
  .hero__lead { max-width: 520px; }
  .hero__actions { flex-direction: row; max-width: 510px; }
  .product-window { min-height: 580px; }
  .impact-ribbon__inner { grid-template-columns: 1fr 1.45fr; }
  .impact-ribbon__reach { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid var(--line); }
  .impact-ribbon__inner > div:nth-child(2) { border-right: 0; }
  .proof__intro { grid-template-columns: 1fr; gap: 28px; }
  .proof__intro > p { max-width: 620px; }
  .case-item:nth-child(n) { grid-column: span 6; }
  .case-more { grid-column: span 12; }
  .problem-console, .method__layout { grid-template-columns: 1fr; }
  .problem-console .system-panels { grid-template-columns: 1fr 1fr; }
  .method__intro { position: static; max-width: 720px; }
}

@media (max-width: 660px) {
  :root { --pad: 18px; }
  .site-header__inner { min-height: 66px; }
  .brand-lockup span { font-size: .95rem; }
  .header-cta { min-width: 0; padding-inline: 13px; }
  .header-cta span { display: none; }
  .hero { padding-block: 48px 62px; }
  .hero h1 { max-width: 10.8ch; font-size: clamp(3.2rem, 14vw, 4.2rem); }
  .hero__lead { margin-block: 25px; }
  .hero__actions { flex-direction: column; max-width: none; }
  .hero__actions .button { width: 100%; }
  .product-window { min-height: 553px; margin-top: 12px; border-radius: 17px; }
  .product-window__bar { grid-template-columns: 1fr auto; min-height: 44px; padding-inline: 12px; }
  .product-window__bar > strong { display: none; }
  .product-window__body { grid-template-columns: 1fr; min-height: 507px; }
  .product-sidebar { display: none; }
  .product-window__main { border-radius: 0 0 16px 16px; }
  .story-tabs { min-height: 53px; padding: 7px; }
  .story-tab { font-size: .55rem; }
  .story-stage { min-height: 397px; }
  .source-card { width: calc(100% - 30px); min-height: 72px; }
  .source-card--chat { top: 26px; left: 15px; }
  .source-card--invoice { top: 125px; right: 15px; }
  .source-card--sheet { top: 224px; left: 15px; }
  .story-caption { bottom: 14px; }
  .story-scene--connect::before { width: 225px; height: 225px; }
  .story-engine { width: 132px; height: 132px; }
  .story-engine img { width: 48px; height: 48px; }
  .orbit-node { width: 46px; height: 46px; }
  .ready-dashboard { top: 20px; right: 14px; left: 14px; min-height: 235px; }
  .ready-kpis { gap: 5px; padding: 9px; }
  .ready-kpis span { padding: 8px 6px; }
  .ready-chart { height: 67px; margin-inline: 9px; }
  .ready-feed { margin-inline: 9px; }
  .ready-phone { top: 253px; left: 14px; right: auto; width: 96px; height: 123px; }
  .ready-play { right: 14px; bottom: 17px; min-width: 175px; }
  .impact-ribbon__inner { grid-template-columns: 1fr; }
  .impact-ribbon__inner > div { min-height: 92px; padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .impact-ribbon__inner > div:last-child { grid-column: auto; border-bottom: 0; }
  .impact-ribbon__flow { justify-content: flex-start; flex-wrap: wrap; }
  .proof { padding-block: 76px; }
  .proof__intro h2 { font-size: 2.5rem; }
  .case-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 42px; }
  .case-item:nth-child(n), .case-more { grid-column: auto; }
  .case-item, .case-item + .case-item { min-height: 430px; padding: 22px; }
  .case-preview { min-height: 190px; }
  .case-more { grid-template-columns: 1fr; gap: 22px; min-height: 210px; padding: 28px; }
  .case-more strong { font-size: 2.25rem; }
  .problem-lab { padding-block: 76px; }
  .problem-lab__intro h2 { font-size: 3rem; }
  .method__intro h2 { font-size: 2.85rem; }
  .problem-console { margin-top: 38px; }
  .problem-console .system-panels { grid-template-columns: 1fr; }
  .problem-console .flow-node { min-height: 74px; }
  .method { padding-block: 76px; }
  .method__steps article, .method__steps article + article { grid-template-columns: 112px 1fr; min-height: 160px; padding: 13px; }
  .method-visual { width: 112px; height: 132px; }
  .contact { padding-block: 80px; }
  .contact h2 { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .product-live i, .story-engine::before { animation: none; }
}

/* Rebranding Tricode 2026: contraste editorial, producto real y un solo acento. */
:root {
  --page: #efeee8;
  --surface: #f7f6f1;
  --surface-raised: #fcfbf6;
  --surface-soft: #e6e4dc;
  --surface-accent: #ded9c8;
  --ink: #191a17;
  --muted: #5f6058;
  --line: #d0cec4;
  --line-strong: #9c9b91;
  --blue: #8b6607;
  --blue-soft: #e9dfbc;
  --success: #8b6607;
  --violet: #8b6607;
  --violet-soft: #e9dfbc;
  --orange: #8b6607;
  --orange-soft: #e9dfbc;
  --cyan: #8b6607;
  --cyan-soft: #e9dfbc;
  --green-soft: #e9dfbc;
  --panel-radius: 14px;
  --control-radius: 9px;
  --accent-ink: #fffaf0;
}

:root[data-theme="dark"] {
  --page: #0d0e0c;
  --surface: #151612;
  --surface-raised: #1c1d18;
  --surface-soft: #11120f;
  --surface-accent: #2d2a1d;
  --ink: #f1eee3;
  --muted: #aaa69a;
  --line: #303129;
  --line-strong: #5a5b50;
  --blue: #f0c64a;
  --blue-soft: #332b15;
  --success: #f0c64a;
  --violet: #f0c64a;
  --violet-soft: #332b15;
  --orange: #f0c64a;
  --orange-soft: #332b15;
  --cyan: #f0c64a;
  --cyan-soft: #332b15;
  --green-soft: #332b15;
  --accent-ink: #15150f;
}

:root[data-palette="cobalt"] {
  --page: #eef1f6;
  --surface: #f7f9fc;
  --surface-raised: #fcfdff;
  --surface-soft: #dfe5ef;
  --surface-accent: #d4ddf2;
  --ink: #111827;
  --muted: #536176;
  --line: #c8d0dd;
  --line-strong: #8491a6;
  --blue: #315bd6;
  --blue-soft: #dce5ff;
  --success: #315bd6;
  --violet: #315bd6;
  --violet-soft: #dce5ff;
  --orange: #315bd6;
  --orange-soft: #dce5ff;
  --cyan: #315bd6;
  --cyan-soft: #dce5ff;
  --green-soft: #dce5ff;
  --accent-ink: #f8faff;
}

:root[data-theme="dark"][data-palette="cobalt"] {
  --page: #0a0d14;
  --surface: #111722;
  --surface-raised: #182131;
  --surface-soft: #0d121b;
  --surface-accent: #1b2b58;
  --ink: #eff4ff;
  --muted: #a6b1c5;
  --line: #283449;
  --line-strong: #52617a;
  --blue: #6f91f2;
  --blue-soft: #172852;
  --success: #6f91f2;
  --violet: #6f91f2;
  --violet-soft: #172852;
  --orange: #6f91f2;
  --orange-soft: #172852;
  --cyan: #6f91f2;
  --cyan-soft: #172852;
  --green-soft: #172852;
  --accent-ink: #081126;
}

:root[data-palette="coral"] {
  --page: #f1efed;
  --surface: #faf8f6;
  --surface-raised: #fffdfa;
  --surface-soft: #e6e1dd;
  --surface-accent: #ead4d0;
  --ink: #201b19;
  --muted: #675b57;
  --line: #d5cbc6;
  --line-strong: #9c8c85;
  --blue: #b94b3f;
  --blue-soft: #f2dad5;
  --success: #b94b3f;
  --violet: #b94b3f;
  --violet-soft: #f2dad5;
  --orange: #b94b3f;
  --orange-soft: #f2dad5;
  --cyan: #b94b3f;
  --cyan-soft: #f2dad5;
  --green-soft: #f2dad5;
  --accent-ink: #fff8f5;
}

:root[data-theme="dark"][data-palette="coral"] {
  --page: #100e0d;
  --surface: #181413;
  --surface-raised: #211b18;
  --surface-soft: #13100f;
  --surface-accent: #3d211c;
  --ink: #f5ede9;
  --muted: #b9aaa4;
  --line: #332925;
  --line-strong: #66514a;
  --blue: #ee7768;
  --blue-soft: #442019;
  --success: #ee7768;
  --violet: #ee7768;
  --violet-soft: #442019;
  --orange: #ee7768;
  --orange-soft: #442019;
  --cyan: #ee7768;
  --cyan-soft: #442019;
  --green-soft: #442019;
  --accent-ink: #24100d;
}

:root[data-palette="jade"] {
  --page: #ebf1ef;
  --surface: #f6f9f8;
  --surface-raised: #fbfdfc;
  --surface-soft: #dce6e2;
  --surface-accent: #cee1da;
  --ink: #14211d;
  --muted: #52645e;
  --line: #c4d1cc;
  --line-strong: #80958d;
  --blue: #176a59;
  --blue-soft: #d2e7df;
  --success: #176a59;
  --violet: #176a59;
  --violet-soft: #d2e7df;
  --orange: #176a59;
  --orange-soft: #d2e7df;
  --cyan: #176a59;
  --cyan-soft: #d2e7df;
  --green-soft: #d2e7df;
  --accent-ink: #f2fbf7;
}

:root[data-theme="dark"][data-palette="jade"] {
  --page: #08110e;
  --surface: #0e1915;
  --surface-raised: #15231e;
  --surface-soft: #0a1511;
  --surface-accent: #143b30;
  --ink: #edf7f3;
  --muted: #a3b7af;
  --line: #263b33;
  --line-strong: #4d6c60;
  --blue: #59c5a8;
  --blue-soft: #12362c;
  --success: #59c5a8;
  --violet: #59c5a8;
  --violet-soft: #12362c;
  --orange: #59c5a8;
  --orange-soft: #12362c;
  --cyan: #59c5a8;
  --cyan-soft: #12362c;
  --green-soft: #12362c;
  --accent-ink: #071912;
}

body { background: var(--page); }
.site { background: var(--page); }
.site-header { position: fixed; top: 0; right: 0; left: 0; width: 100%; background: color-mix(in srgb, var(--page) 94%, transparent); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--surface) 96%, transparent); }
.site-header__inner { min-height: 70px; }
.site > main { padding-top: 70px; }

section[id] { scroll-margin-top: 70px; }
.hero,
.proof,
.problem-lab,
.method,
.contact { scroll-margin-top: 70px; }
.primary-nav { gap: clamp(14px, 1.7vw, 27px); }
.brand-lockup img { filter: none; }
:root:not([data-theme="dark"]) .brand-lockup img { filter: brightness(0); }

.palette-picker { position: relative; }
.palette-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--ink);
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms var(--ease);
}
.palette-toggle:hover,
.palette-toggle[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.palette-toggle:active { transform: translateY(1px); }
.palette-toggle > i { font-size: 1.25rem; }
.palette-menu {
  position: fixed;
  top: 82px;
  right: var(--pad);
  z-index: 160;
  width: min(410px, calc(100vw - (var(--pad) * 2)));
  max-height: calc(100dvh - 100px);
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--panel-radius);
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: 0 24px 65px color-mix(in srgb, var(--ink) 18%, transparent);
  animation: palette-menu-in 220ms var(--ease) both;
}
.palette-menu__intro { display: grid; gap: 5px; padding: 2px 2px 15px; }
.palette-menu__intro strong { font-size: 1rem; }
.palette-menu__intro span { color: var(--muted); font-size: .72rem; line-height: 1.45; }
.palette-menu__label { margin: 0 2px 8px; color: var(--muted); font-size: .68rem; font-weight: 700; }
.palette-menu__label--photos { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.palette-options { display: grid; gap: 8px; }
.palette-option,
.photo-option {
  display: grid;
  grid-template-columns: auto 1fr 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms var(--ease);
}
.palette-option:hover,
.photo-option:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.palette-option[aria-checked="true"],
.photo-option[aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.palette-option > span:nth-child(2),
.photo-option > span:nth-child(2) { display: grid; gap: 2px; }
.palette-option strong,
.photo-option strong { font-size: .78rem; }
.palette-option small,
.photo-option small { color: var(--muted); font-size: .64rem; }
.palette-option > .ph-check,
.photo-option > .ph-check { color: var(--blue); font-size: 1rem; opacity: 0; }
.palette-option[aria-checked="true"] > .ph-check,
.photo-option[aria-checked="true"] > .ph-check { opacity: 1; }
.palette-swatches { display: grid; grid-template-columns: repeat(3, 10px); gap: 3px; }
.palette-swatches i { width: 10px; height: 34px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.palette-option[data-palette-option="solar"] { --swatch-page: #0d0e0c; --swatch-surface: #efeee8; --swatch-accent: #f0c64a; }
.palette-option[data-palette-option="cobalt"] { --swatch-page: #0a0d14; --swatch-surface: #eef1f6; --swatch-accent: #6f91f2; }
.palette-option[data-palette-option="coral"] { --swatch-page: #100e0d; --swatch-surface: #f1efed; --swatch-accent: #ee7768; }
.palette-option[data-palette-option="jade"] { --swatch-page: #08110e; --swatch-surface: #ebf1ef; --swatch-accent: #59c5a8; }
.palette-swatches i:nth-child(1) { background: var(--swatch-page); }
.palette-swatches i:nth-child(2) { background: var(--swatch-surface); }
.palette-swatches i:nth-child(3) { background: var(--swatch-accent); }
.photo-options { display: grid; gap: 8px; }
.photo-option { min-height: 78px; padding: 8px; }
.photo-option__thumb { width: 84px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 7px; background: var(--surface-soft); }
.photo-option__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes palette-menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

.header-cta,
.button--primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--accent-ink);
  box-shadow: none;
}
.header-cta:hover,
.button--primary:hover {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue);
}
:root:not([data-theme="dark"]) .header-cta,
:root:not([data-theme="dark"]) .button--primary { color: #fff; }
.button--secondary { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.button--secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(820px, calc(100svh - 92px));
  margin-top: 20px;
  padding: clamp(54px, 7vw, 94px) clamp(28px, 4vw, 62px);
  overflow: hidden;
  border: 1px solid #283247;
  border-radius: var(--panel-radius);
  background: #080b11;
  color: #f4f6fb;
}
.hero::before { display: none; }
.hero__copy { position: relative; z-index: 2; max-width: 680px; padding-top: 0; }
.hero h1 {
  max-width: 700px;
  color: #f4f6fb;
  font-size: clamp(3.8rem, 5.2vw, 5.15rem);
  line-height: .91;
  letter-spacing: -.058em;
}
.hero__lead { max-width: 510px; margin-block: 32px 30px; color: #c0c6d1; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .button { min-width: 0; white-space: nowrap; }
.hero__actions .button--primary { min-width: 315px; }
.hero__actions .button--secondary { min-width: 225px; border-color: #8993a6; color: #f4f6fb; }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #080b11;
  box-shadow: none;
}
.hero-media__image { width: 100%; height: 100%; min-height: 100%; aspect-ratio: auto; }
.hero-media img,
:root[data-photo-direction="terreno"] .hero-media img,
:root[data-photo-direction="sistema"] .hero-media img,
:root[data-photo-direction="equipo"] .hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media.hero-enter { opacity: 0; filter: blur(7px); transform: translateY(24px) scale(.985); }
.site.is-entering .hero-media.hero-enter {
  opacity: 1;
  filter: none;
  transform: none;
  transition: opacity 720ms var(--ease) 330ms, filter 760ms var(--ease) 330ms, transform 820ms var(--ease) 330ms;
}

.impact-ribbon { border: 0; background: var(--blue); color: var(--accent-ink); }
.impact-ribbon__inner { min-height: 104px; }
.impact-ribbon__inner > div { border-color: color-mix(in srgb, var(--accent-ink) 24%, transparent); }
.impact-ribbon__metric strong,
.impact-ribbon__inner span,
.impact-ribbon__flow > span:first-child i,
.impact-ribbon__flow > span:nth-child(2) i,
.impact-ribbon__flow > i { color: var(--accent-ink); }
.impact-ribbon__flow strong,
.impact-ribbon__reach > i { background: var(--accent-ink); color: var(--blue); }

.transformation { padding-block: clamp(92px, 9vw, 138px); border-bottom: 1px solid var(--line); }
.transformation__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: clamp(54px, 8vw, 128px);
}
.transformation__intro > div { display: grid; gap: 24px; }
.transformation__intro h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 4.9vw, 5.8rem);
  letter-spacing: -.06em;
  line-height: .94;
}
.transformation__intro p { max-width: 580px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.transformation__intro figure { height: clamp(360px, 32vw, 460px); margin: 0; overflow: hidden; border-radius: var(--panel-radius); }
.transformation__intro figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
:root[data-photo-direction="terreno"] .transformation__intro figure img { object-position: 58% center; }
:root[data-photo-direction="sistema"] .transformation__intro figure img { object-position: 58% center; }
:root[data-photo-direction="equipo"] .transformation__intro figure img { object-position: 55% center; }
.transformation__stage { margin-top: clamp(56px, 7vw, 94px); }
.transformation__stage .work-story { width: min(100%, 1120px); min-height: 0; margin-inline: auto; }

.product-window,
.case-item,
.case-item + .case-item,
.problem-console .system-panel,
.method__steps article,
.demo-dialog,
.system-demo,
.demo-workspace {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .16);
}
.product-window { overflow: hidden; border-radius: var(--panel-radius); backdrop-filter: none; -webkit-backdrop-filter: none; }
.product-window::before { display: none; }
.product-window[data-story-active="connect"],
.product-window[data-story-active="ready"] { --scene-color: var(--blue); }
.window-controls i,
.window-controls i:nth-child(1),
.window-controls i:nth-child(2),
.window-controls i:nth-child(3) { background: var(--line-strong); }
.product-live i { background: var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 12%, transparent); }
.product-sidebar .is-current { background: var(--blue); color: var(--accent-ink); box-shadow: none; }
.source-card--chat > i,
.source-card--invoice > i,
.source-card--sheet > i,
.source-card--chat em,
.source-card--invoice em,
.source-card--sheet em,
.orbit-node--chat,
.orbit-node--pdf,
.orbit-node--sheet { background: var(--blue-soft); color: var(--blue); }
.story-engine { box-shadow: inset 0 0 0 8px var(--blue-soft), 0 24px 55px rgba(0, 0, 0, .18); }
.story-scene--connect::before,
.story-scene--connect::after { border-color: color-mix(in srgb, var(--blue) 34%, transparent); }
.ready-kpis span:nth-child(1),
.ready-kpis span:nth-child(2),
.ready-kpis span:nth-child(3),
.ready-phone { background: var(--blue-soft); }

.proof { background: var(--surface-soft); }
.proof__intro { grid-template-columns: 1fr; align-items: start; gap: 24px; }
.proof__intro h2 { max-width: 860px; font-size: clamp(3.15rem, 4.75vw, 5.65rem); }
.proof__intro > p { max-width: 620px; }
.case-grid { gap: 14px; }
.case-item:nth-child(1),
.case-item:nth-child(2),
.case-item:nth-child(3),
.case-item:nth-child(4) {
  --card-accent: var(--blue);
  background: var(--surface);
}
.case-item:hover { border-color: var(--blue); background: var(--surface-raised); }
.case-item__logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .13);
}
.case-item__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.case-item__logo--turilo { width: 128px; }
.case-item__logo--yuri { width: 64px; height: 64px; padding: 3px; }
.case-preview { min-height: 220px; border-color: var(--line); background: var(--surface-raised); box-shadow: none; }
.case-more { background: var(--blue); color: var(--accent-ink); }
.case-more::before,
.case-more::after { display: none; }
.case-more span { border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); color: var(--accent-ink); }
.sector-strip { background: var(--surface); }
.sector-strip span::after { background: var(--blue); }

.problem-lab { background: var(--page); }
.problem-lab::before { display: none; }
.problem-lab__intro { max-width: 820px; }
.problem-lab__intro h2 { font-size: clamp(3.25rem, 5vw, 5.8rem); }
.problem-console .flow-node:nth-child(n) { --flow-accent: var(--blue); border-color: var(--line); background: var(--surface); }
.problem-console .flow-node:nth-child(n) > i:first-child { color: var(--blue); }
.problem-console .flow-node--active { border-color: var(--blue); background: var(--blue-soft); box-shadow: none; }
.problem-console .system-panels,
.problem-console .system-panels[data-active-flow] { --flow-accent: var(--blue); }
.problem-console .system-panel--diagnostic,
.problem-console .system-panel--solution { background: var(--surface); }
.problem-console .system-panel li small { background: var(--blue-soft); color: var(--blue); }

.method { background: var(--surface-soft); }
.method__layout {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(520px, 1.2fr);
  align-items: stretch;
  gap: clamp(40px, 6vw, 92px);
}
.method__intro { align-self: center; }
.method__intro h2 { max-width: 620px; font-size: clamp(3.2rem, 4.7vw, 5.45rem); }
.method__intro p { max-width: 510px; margin-top: 25px; }
.method__photo { min-width: 0; height: 600px; margin: 0; overflow: hidden; border-radius: var(--panel-radius); }
.method__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
:root[data-photo-direction="terreno"] .method__photo img { object-position: center 42%; }
:root[data-photo-direction="sistema"] .method__photo img { object-position: center 43%; }
:root[data-photo-direction="equipo"] .method__photo img { object-position: center 45%; }
.method__steps {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0;
}
.method__steps article,
.method__steps article + article { grid-template-columns: 132px 1fr; min-height: 190px; padding: 15px; }
.method-visual { width: 132px; height: 158px; background: var(--blue-soft) !important; color: var(--blue) !important; }

.contact { border-top: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.contact::before,
.contact::after { display: none; }
.contact h2 { max-width: 800px; }
.contact h2 span { color: var(--blue); }
.contact__inner > div:last-child p { color: var(--muted); }
.contact .button--primary { border: 1px solid var(--blue); background: var(--blue); color: var(--accent-ink); box-shadow: none; }
.contact .button--primary:hover { background: transparent; color: var(--blue); }
.site-footer { background: var(--page); }

@media (max-width: 1120px) {
  .palette-toggle { width: 42px; padding-inline: 0; }
  .palette-toggle span { display: none; }
  .hero h1 { font-size: clamp(3.6rem, 6.2vw, 4.8rem); }
  .transformation__intro { grid-template-columns: 1fr .8fr; gap: 46px; }
  .method__layout { grid-template-columns: .85fr 1.15fr; gap: 48px; }
  .method__steps article,
  .method__steps article + article { grid-template-columns: 110px 1fr; }
  .method-visual { width: 110px; height: 146px; }
}

@media (max-width: 920px) {
  .hero { min-height: 760px; padding: 64px 42px; }
  .hero::after { position: absolute; inset: 0; z-index: 0; content: ""; background: rgba(3, 6, 10, .38); pointer-events: none; }
  .hero__copy { max-width: 620px; }
  .hero h1 { max-width: 650px; font-size: clamp(3.7rem, 8.8vw, 5rem); }
  .hero-media__image { width: 100%; height: 100%; min-height: 100%; aspect-ratio: auto; }
  .hero-media img,
  :root[data-photo-direction="terreno"] .hero-media img { object-position: 62% center; }
  .transformation__intro,
  .method__layout { grid-template-columns: 1fr; }
  .transformation__intro figure { width: min(100%, 720px); }
  .method__photo { height: 620px; }
  .method__steps { grid-template-columns: 1fr; }
  .method__steps article,
  .method__steps article + article { grid-template-columns: 150px 1fr; }
  .method-visual { width: 150px; height: 150px; }
}

@media (max-width: 660px) {
  .site-header__inner { min-height: 66px; }
  .site > main { padding-top: 66px; }
  section[id] { scroll-margin-top: 66px; }
  .primary-nav > a:not(.header-cta) { display: none; }
  .palette-menu { top: 76px; right: 18px; width: calc(100vw - 36px); }
  .hero { min-height: 700px; margin-top: 12px; padding: 48px 22px; }
  .hero h1 { max-width: 10ch; font-size: clamp(3.05rem, 13vw, 4rem); }
  .hero__lead { color: #e0e4eb; }
  .hero h1 br { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__actions .button--primary,
  .hero__actions .button--secondary { min-width: 0; }
  .hero-media__image { width: 100%; height: 100%; min-height: 100%; aspect-ratio: auto; }
  .hero-media img,
  :root[data-photo-direction="terreno"] .hero-media img { object-position: 67% center; }
  .impact-ribbon__inner > div { border-color: color-mix(in srgb, var(--accent-ink) 24%, transparent); }
  .transformation { padding-block: 76px; }
  .transformation__intro { gap: 34px; }
  .transformation__intro h2 { font-size: 2.85rem; }
  .transformation__intro figure { height: 330px; }
  .transformation__stage { margin-top: 42px; }
  .product-window { margin-top: 0; }
  .case-item,
  .case-item + .case-item { min-height: 420px; }
  .method__photo { height: 480px; }
  .method__steps article,
  .method__steps article + article { grid-template-columns: 105px 1fr; }
  .method-visual { width: 105px; height: 128px; }
  .contact h2 { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .palette-menu { animation: none; }
  .hero-media.hero-enter,
  .site.is-entering .hero-media.hero-enter { opacity: 1; filter: none; transform: none; transition: none; }
}

/* Interacciones cobalto: navegación con resorte y matriz estática de rubros. */
.brand-lockup {
  position: relative;
  isolation: isolate;
  margin-left: -5px;
  padding: 5px;
  overflow: clip;
  border-radius: var(--control-radius);
}
.brand-lockup > * { position: relative; z-index: 1; }
.brand-lockup::before {
  position: absolute;
  inset: -12px -34px;
  z-index: 0;
  content: "";
  background: linear-gradient(105deg, transparent 32%, color-mix(in srgb, var(--blue) 46%, transparent) 50%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-105%) skewX(-14deg);
}
.brand-lockup span { transition: color 220ms ease, text-shadow 260ms ease; }
.brand-lockup:hover::before { animation: brand-shine 720ms var(--ease) both; }
.brand-lockup:hover span { color: var(--blue); text-shadow: 0 0 18px color-mix(in srgb, var(--blue) 52%, transparent); }
.brand-lockup:hover img { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--blue) 58%, transparent)); }
:root:not([data-theme="dark"]) .brand-lockup:hover img { filter: brightness(0) drop-shadow(0 0 10px color-mix(in srgb, var(--blue) 48%, transparent)); }
@keyframes brand-shine {
  0% { opacity: 0; transform: translateX(-105%) skewX(-14deg); }
  28% { opacity: .78; }
  100% { opacity: 0; transform: translateX(105%) skewX(-14deg); }
}

.primary-nav { position: relative; }
.primary-nav > a:not(.header-cta) { z-index: 1; transition: color 220ms ease; }
.primary-nav > a:not(.header-cta)::after { display: none; }
.primary-nav > a[aria-current="location"] { color: var(--blue); }
.primary-nav__bounce {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 14%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transform-origin: center bottom;
  will-change: transform;
}

.proof { padding-bottom: clamp(38px, 4vw, 62px); }
.sector-orbit {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(610px, 1.22fr);
  min-height: 690px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(130, 158, 210, .23);
  border-radius: var(--panel-radius);
  background: #070b13;
  color: #eef3ff;
  box-shadow: 0 26px 70px rgba(1, 4, 12, .24);
  isolation: isolate;
}
.sector-orbit::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 11, 19, .98) 0%, rgba(7, 11, 19, .94) 36%, rgba(7, 11, 19, .22) 65%, rgba(7, 11, 19, .02) 100%),
    radial-gradient(circle at 67% 32%, rgba(84, 128, 255, .1), transparent 31%);
  pointer-events: none;
}
.sector-orbit__copy {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 5vw, 76px) 0 clamp(46px, 5vw, 76px) clamp(38px, 4.8vw, 76px);
}
.sector-orbit__copy .section-kicker { color: #789cff; }
.sector-orbit__copy h3 {
  max-width: 12ch;
  margin: 18px 0 0;
  color: #f3f6ff;
  font-size: clamp(2.35rem, 3.65vw, 4.55rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}
.sector-orbit__copy h3 span { color: #789cff; }
.sector-orbit__prompt {
  max-width: 38ch;
  margin: 22px 0 0;
  color: #9da9bd;
  font-size: .92rem;
  line-height: 1.6;
}
.sector-orbit__detail {
  width: min(100%, 450px);
  margin-top: clamp(44px, 6vw, 76px);
  padding-top: 20px;
  border-top: 1px solid rgba(130, 158, 210, .28);
}
.sector-orbit__detail > span {
  display: block;
  color: #789cff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.sector-orbit__detail > strong {
  display: block;
  margin-top: 10px;
  color: #f4f6fb;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -.035em;
}
.sector-orbit__detail > p {
  min-height: 48px;
  margin: 7px 0 0;
  color: #aab4c6;
  font-size: .82rem;
  line-height: 1.52;
}
.sector-orbit__flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 21px;
  color: #e6ebf6;
  font-size: .66rem;
  font-weight: 650;
  white-space: nowrap;
}
.sector-orbit__flow i {
  flex: 1 1 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(120, 156, 255, .2), #789cff, rgba(120, 156, 255, .2));
  transform: scaleX(1);
  transform-origin: left;
}
.sector-orbit__detail.is-switching > strong,
.sector-orbit__detail.is-switching > p,
.sector-orbit__detail.is-switching .sector-orbit__flow { animation: sector-copy-in 420ms var(--ease) both; }
.sector-orbit__detail.is-switching > p { animation-delay: 45ms; }
.sector-orbit__detail.is-switching .sector-orbit__flow { animation-delay: 90ms; }

.sector-orbit__visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 690px;
  perspective: 900px;
}
.sector-orbit__ambient {
  position: absolute;
  top: 27%;
  left: 54%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 137, 255, .2), rgba(48, 89, 200, .06) 38%, transparent 70%);
  filter: blur(16px);
  opacity: .82;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.sector-orbit__hand {
  position: absolute;
  inset: 0 -13% -1% -17%;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 17%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 17%, #000 100%);
}
.sector-orbit__hand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
  opacity: .92;
}
.sector-orbit__ring {
  position: absolute;
  top: 27%;
  left: 54%;
  z-index: 2;
  border: 1px solid rgba(117, 151, 241, .19);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-12deg);
}
.sector-orbit__ring--outer {
  width: 430px;
  height: 260px;
  border-style: dashed;
  animation: orbit-ring-turn 28s linear infinite;
}
.sector-orbit__ring--inner { width: 292px; height: 292px; border-color: rgba(121, 158, 255, .12); }
.sector-orbit__orb-wrap {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: absolute;
  top: 27%;
  left: 54%;
  z-index: 4;
  width: clamp(156px, 14vw, 205px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transform-style: preserve-3d;
  transition: transform 260ms ease-out;
}
.sector-orbit__orb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(222, 233, 255, .76);
  border-radius: 46% 54% 52% 48% / 51% 46% 54% 49%;
  background:
    radial-gradient(circle at 35% 27%, rgba(255, 255, 255, .92) 0 3%, rgba(196, 216, 255, .48) 8%, transparent 22%),
    radial-gradient(circle at 68% 70%, rgba(58, 105, 246, .9), transparent 42%),
    linear-gradient(145deg, rgba(233, 241, 255, .65), rgba(38, 84, 220, .82) 48%, rgba(7, 13, 29, .96));
  box-shadow:
    0 0 18px rgba(105, 151, 255, .78),
    0 0 68px rgba(69, 112, 240, .48),
    inset 16px 12px 38px rgba(255, 255, 255, .2),
    inset -20px -24px 44px rgba(3, 8, 20, .7);
  animation: orb-float 6.4s ease-in-out infinite, orb-morph 9s ease-in-out infinite;
  transform: translateZ(32px);
}
.sector-orbit__orb::after {
  position: absolute;
  inset: 8%;
  content: "";
  border: 1px solid rgba(218, 231, 255, .28);
  border-radius: inherit;
  box-shadow: inset 0 0 28px rgba(166, 194, 255, .2);
}
.sector-orbit__orb-flow,
.sector-orbit__orb-core,
.sector-orbit__orb-shine { position: absolute; display: block; border-radius: 48% 52% 55% 45% / 45% 48% 52% 55%; }
.sector-orbit__orb-flow--one {
  inset: -20% 4% 16% -22%;
  border: 13px solid rgba(229, 238, 255, .42);
  filter: blur(3px);
  animation: orb-flow-one 11s linear infinite;
}
.sector-orbit__orb-flow--two {
  inset: 32% -28% -24% 7%;
  border: 18px solid rgba(22, 53, 141, .72);
  filter: blur(5px);
  animation: orb-flow-two 8s linear infinite reverse;
}
.sector-orbit__orb-core {
  inset: 29%;
  background: rgba(218, 231, 255, .42);
  box-shadow: 0 0 28px rgba(207, 224, 255, .74);
  filter: blur(9px);
  animation: orb-core-pulse 3.8s ease-in-out infinite;
}
.sector-orbit__orb-shine {
  top: 12%;
  left: 17%;
  width: 30%;
  height: 13%;
  background: rgba(255, 255, 255, .74);
  filter: blur(5px);
  transform: rotate(-34deg);
}
.sector-orbit__visual.is-switching .sector-orbit__orb-wrap { animation: orb-select 620ms var(--ease) both; }

.sector-orbit__controls {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.sector-orbit__node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(139, 161, 205, .28);
  border-radius: 10px;
  background: rgba(8, 13, 23, .76);
  color: #9ca9bd;
  font: inherit;
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: -.01em;
  backdrop-filter: blur(12px);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 260ms ease, transform 260ms var(--ease);
}
.sector-orbit__node i { color: #789cff; font-size: 1.08rem; }
.sector-orbit__node:hover { border-color: rgba(120, 156, 255, .68); color: #f2f5fb; transform: translateY(-3px); }
.sector-orbit__node:focus-visible { outline: 2px solid #8dadff; outline-offset: 4px; }
.sector-orbit__node.is-active {
  border-color: rgba(135, 168, 255, .92);
  background: rgba(52, 88, 187, .32);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(99, 139, 246, .08), 0 10px 30px rgba(30, 65, 165, .22);
}
.sector-orbit__node:nth-child(1) { top: 7%; left: 7%; }
.sector-orbit__node:nth-child(2) { top: 7%; right: 3%; }
.sector-orbit__node:nth-child(3) { top: 36%; right: 0; }
.sector-orbit__node:nth-child(4) { right: 7%; bottom: 17%; }
.sector-orbit__node:nth-child(5) { bottom: 7%; left: 31%; }
.sector-orbit__node:nth-child(6) { top: 42%; left: 0; }

@keyframes orbit-ring-turn {
  to { transform: translate(-50%, -50%) rotate(348deg); }
}
@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 32px); }
  50% { transform: translate3d(0, -9px, 42px); }
}
@keyframes orb-morph {
  0%, 100% { border-radius: 46% 54% 52% 48% / 51% 46% 54% 49%; }
  35% { border-radius: 54% 46% 45% 55% / 48% 56% 44% 52%; }
  68% { border-radius: 49% 51% 57% 43% / 56% 43% 57% 44%; }
}
@keyframes orb-flow-one { to { transform: rotate(360deg) scale(1.08); } }
@keyframes orb-flow-two { to { transform: rotate(360deg) scale(.92); } }
@keyframes orb-core-pulse { 50% { opacity: .6; transform: scale(1.22); } }
@keyframes orb-select {
  0%, 100% { filter: brightness(1); }
  42% { filter: brightness(1.45); transform: translate3d(-50%, -50%, 0) scale(1.09) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); }
}
@keyframes sector-copy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .primary-nav__bounce { display: none; }
  .sector-orbit { grid-template-columns: minmax(300px, .72fr) minmax(540px, 1.28fr); }
  .sector-orbit__copy { padding-left: 40px; }
  .sector-orbit__node:nth-child(1) { left: 1%; }
  .sector-orbit__node:nth-child(2) { right: 1%; }
  .sector-orbit__node:nth-child(6) { left: -2%; }
}

@media (max-width: 920px) {
  .sector-orbit { grid-template-columns: 1fr; }
  .sector-orbit::before { background: linear-gradient(180deg, rgba(7, 11, 19, .98) 0%, rgba(7, 11, 19, .88) 43%, rgba(7, 11, 19, .08) 73%, rgba(7, 11, 19, .03) 100%); }
  .sector-orbit__copy { padding: 48px 40px 12px; }
  .sector-orbit__copy h3 { max-width: 15ch; }
  .sector-orbit__prompt { max-width: 54ch; }
  .sector-orbit__detail { width: min(100%, 560px); margin-top: 34px; }
  .sector-orbit__visual { min-height: 710px; }
  .sector-orbit__ambient,
  .sector-orbit__ring,
  .sector-orbit__orb-wrap { top: 28%; left: 50%; }
  .sector-orbit__hand { inset: -2% -8% 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 17%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 17%, #000 100%); }
  .sector-orbit__hand img { object-position: 50% center; }
  .sector-orbit__controls {
    inset: auto 22px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .sector-orbit__node,
  .sector-orbit__node:nth-child(n) { position: static; justify-content: center; min-width: 0; transform: none; }
  .sector-orbit__node:hover { transform: translateY(-2px); }
}

@media (max-width: 660px) {
  .sector-orbit { margin-top: 18px; border-radius: 16px; }
  .sector-orbit__copy { padding: 38px 22px 10px; }
  .sector-orbit__copy h3 { font-size: clamp(2.25rem, 10.8vw, 3.1rem); }
  .sector-orbit__detail { margin-top: 30px; }
  .sector-orbit__detail > p { min-height: 58px; }
  .sector-orbit__flow { gap: 7px; overflow: hidden; font-size: .58rem; }
  .sector-orbit__visual { min-height: 620px; }
  .sector-orbit__ambient { width: 330px; height: 330px; }
  .sector-orbit__ring--outer { width: 340px; height: 210px; }
  .sector-orbit__ring--inner { width: 230px; height: 230px; }
  .sector-orbit__orb-wrap { width: 146px; }
  .sector-orbit__hand { inset: 1% -34% 0 -25%; }
  .sector-orbit__controls { inset: auto 12px 14px; grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .sector-orbit__node,
  .sector-orbit__node:nth-child(n) { min-height: 40px; padding: 0 9px; font-size: .64rem; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-lockup:hover::before { animation: none; opacity: .38; transform: none; }
  .sector-orbit__ring--outer,
  .sector-orbit__orb,
  .sector-orbit__orb-flow,
  .sector-orbit__orb-core,
  .sector-orbit__visual.is-switching .sector-orbit__orb-wrap,
  .sector-orbit__detail.is-switching > strong,
  .sector-orbit__detail.is-switching > p,
  .sector-orbit__detail.is-switching .sector-orbit__flow { animation: none; }
  .sector-orbit__orb-wrap { transition: none; }
}

/* Componente de rubros v2: estructura de tabs y orbe cinemático en canvas. */
.sector-orbit {
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  min-height: 720px;
  background: #06090f;
  box-shadow: 0 26px 70px rgba(1, 4, 12, .28);
}
.sector-orbit::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 9, 15, .02), rgba(6, 9, 15, .16) 58%, rgba(6, 9, 15, .82));
}
.sector-orbit__visual {
  grid-column: 1;
  grid-row: 1;
  min-height: 720px;
  overflow: hidden;
  background: #05080d;
}
.sector-orbit__copy {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  padding: clamp(46px, 4.4vw, 68px);
  border-left: 1px solid rgba(139, 161, 205, .18);
  background: rgba(7, 11, 18, .84);
  backdrop-filter: blur(18px);
}
.sector-orbit__copy h3 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.45rem, 3.35vw, 4.15rem);
  line-height: .98;
}
.sector-orbit__prompt { max-width: 37ch; margin-top: 20px; }
.sector-orbit__detail {
  width: 100%;
  margin-top: 32px;
  padding-top: 24px;
}
.sector-orbit__detail > strong { margin-top: 0; }
.sector-orbit__detail > p { min-height: 44px; }
.sector-orbit__flow { margin-top: 18px; }

.sector-orbit__ambient {
  top: 36%;
  left: 50%;
  width: min(72%, 560px);
  height: min(72%, 560px);
  background: radial-gradient(circle, rgba(76, 120, 244, .12), rgba(31, 70, 176, .045) 42%, transparent 72%);
  filter: blur(22px);
  opacity: .9;
}
.sector-orbit__hand {
  inset: 0;
  z-index: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.sector-orbit__hand img {
  object-fit: cover;
  object-position: 50% center;
  opacity: .96;
}
.sector-orbit__light-trail {
  position: absolute;
  top: 31%;
  left: 50%;
  z-index: 2;
  width: 120%;
  height: 4px;
  background: linear-gradient(90deg, transparent 3%, rgba(64, 117, 255, .04) 18%, rgba(133, 177, 255, .36) 46%, rgba(255, 255, 255, .62) 52%, rgba(246, 141, 71, .28) 64%, transparent 92%);
  box-shadow: 0 0 18px rgba(100, 148, 255, .24), 0 0 36px rgba(244, 131, 62, .08);
  opacity: .72;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-21deg);
}
.sector-orbit__orb-wrap {
  top: 31%;
  left: 50%;
  z-index: 4;
  width: clamp(350px, 34vw, 500px);
  transform: translate3d(-50%, -50%, 0) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.sector-orbit__canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(1.03) contrast(1.04);
}
.sector-orbit__visual.is-switching .sector-orbit__orb-wrap { animation: orb-canvas-select 680ms var(--ease) both; }

.sector-orbit__controls {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 34px;
  pointer-events: auto;
}
.sector-orbit__node,
.sector-orbit__node:nth-child(n) {
  position: static;
  justify-content: flex-start;
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 9px;
  background: rgba(15, 21, 32, .82);
  transform: none;
}
.sector-orbit__node:hover { background: rgba(24, 34, 54, .92); transform: translateY(-2px); }
.sector-orbit__node.is-active {
  border-color: rgba(142, 173, 255, .78);
  background: rgba(70, 105, 203, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 0 3px rgba(99, 139, 246, .07);
}

@keyframes orb-canvas-select {
  0%, 100% { filter: brightness(1); }
  44% { filter: brightness(1.28); transform: translate3d(-50%, -50%, 0) scale(1.055) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); }
}

@media (max-width: 1120px) {
  .sector-orbit { grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); }
  .sector-orbit__copy { padding: 44px 36px; }
  .sector-orbit__copy h3 { font-size: clamp(2.35rem, 4vw, 3.5rem); }
  .sector-orbit__orb-wrap { width: clamp(330px, 40vw, 440px); }
}

@media (max-width: 920px) {
  .sector-orbit { grid-template-columns: 1fr; }
  .sector-orbit::before { background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 15, .08) 45%, rgba(6, 9, 15, .9) 72%); }
  .sector-orbit__visual { grid-column: 1; grid-row: 1; min-height: 570px; }
  .sector-orbit__copy {
    grid-column: 1;
    grid-row: 2;
    padding: 48px 40px;
    border-top: 1px solid rgba(139, 161, 205, .18);
    border-left: 0;
  }
  .sector-orbit__copy h3 { max-width: 13ch; }
  .sector-orbit__orb-wrap { top: 31%; left: 50%; width: min(68vw, 450px); }
  .sector-orbit__hand { inset: 0; }
  .sector-orbit__controls { inset: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .sector-orbit__visual { min-height: 440px; }
  .sector-orbit__copy { padding: 38px 20px 34px; }
  .sector-orbit__copy h3 { font-size: clamp(2.25rem, 10.6vw, 3rem); }
  .sector-orbit__prompt { font-size: .84rem; }
  .sector-orbit__orb-wrap { top: 30%; width: min(92vw, 370px); }
  .sector-orbit__light-trail { top: 31%; }
  .sector-orbit__hand img { object-position: 50% center; }
  .sector-orbit__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .sector-orbit__node,
  .sector-orbit__node:nth-child(n) { min-height: 42px; padding-inline: 10px; font-size: .63rem; }
  .sector-orbit__detail { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .sector-orbit__visual.is-switching .sector-orbit__orb-wrap { animation: none; }
}

/* Red de mejoras: cada selección hace visible cómo el sistema moderniza el rubro. */
.sector-network {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sector-network__lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sector-network__paths--mobile { display: none; }
.sector-network__route {
  --route-delay: 0ms;
  fill: none;
}
.sector-network__line,
.sector-network__signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.sector-network__line {
  stroke: rgba(128, 166, 255, .42);
  stroke-width: 1.25;
}
.sector-network__signal {
  stroke: rgba(233, 241, 255, .96);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: .026 .974;
  filter: drop-shadow(0 0 5px rgba(105, 154, 255, .92));
  animation: sector-network-signal 2.35s linear infinite;
  animation-delay: var(--route-delay);
}
.sector-network__route circle {
  fill: #8aaaff;
  stroke: rgba(235, 242, 255, .92);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(95, 145, 255, .85));
}
.sector-network.is-switching .sector-network__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sector-network-line-in 760ms var(--ease) forwards;
  animation-delay: var(--route-delay);
}
.sector-network.is-switching .sector-network__route circle {
  animation: sector-network-endpoint 520ms var(--ease) both;
  animation-delay: calc(var(--route-delay) + 560ms);
}

.sector-network__nodes {
  position: absolute;
  inset: 0;
  z-index: 6;
}
.sector-network__node {
  --node-delay: 260ms;
  --node-from-x: 0px;
  --node-from-y: 0px;
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(30%, 208px);
  min-height: 70px;
  padding: 11px 12px;
  border: 1px solid rgba(134, 165, 232, .38);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(34, 51, 84, .9), rgba(9, 15, 27, .94) 68%),
    rgba(8, 13, 23, .94);
  color: #f0f4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 34px rgba(0, 3, 10, .42);
  backdrop-filter: blur(14px);
}
.sector-network__node > i {
  flex: 0 0 auto;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(130, 165, 255, .35);
  border-radius: 8px;
  background: rgba(76, 113, 219, .2);
  color: #8babff;
  font-size: 1rem;
}
.sector-network__node > span { min-width: 0; }
.sector-network__node strong,
.sector-network__node small { display: block; }
.sector-network__node strong {
  color: #f4f7ff;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.24;
}
.sector-network__node small {
  margin-top: 4px;
  color: #aeb9cc;
  font-size: .57rem;
  line-height: 1.34;
}
.sector-network__node:nth-child(1) { --node-from-x: 250px; --node-from-y: 95px; top: 58px; left: 18px; }
.sector-network__node:nth-child(2) { --node-from-x: -250px; --node-from-y: 98px; top: 55px; right: 18px; }
.sector-network__node:nth-child(3) { --node-from-x: -235px; --node-from-y: -105px; top: 322px; right: 12px; }
.sector-network__node:nth-child(4) { --node-from-x: -190px; --node-from-y: -292px; right: 34px; bottom: 30px; }
.sector-network__node:nth-child(5) { --node-from-x: 220px; --node-from-y: -286px; bottom: 38px; left: 22px; }
.sector-network.is-switching .sector-network__node {
  animation: sector-network-node-in 720ms var(--ease) both;
  animation-delay: var(--node-delay);
}

@keyframes sector-network-line-in {
  to { stroke-dashoffset: 0; }
}
@keyframes sector-network-signal {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes sector-network-endpoint {
  0% { opacity: 0; transform: scale(.1); }
  70% { opacity: 1; transform: scale(1.7); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes sector-network-node-in {
  0% { opacity: 0; transform: translate3d(var(--node-from-x), var(--node-from-y), 0) scale(.72); filter: blur(5px); }
  68% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.035); filter: blur(0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@media (max-width: 1120px) and (min-width: 921px) {
  .sector-network__node { width: min(29%, 178px); padding: 10px; }
  .sector-network__node small { font-size: .54rem; }
}

@media (max-width: 660px) {
  .sector-orbit__visual { min-height: 650px; }
  .sector-orbit__orb-wrap { top: 29%; }
  .sector-orbit__light-trail { top: 29%; }
  .sector-network__paths--desktop { display: none; }
  .sector-network__paths--mobile { display: block; }
  .sector-network__nodes {
    inset: auto 12px 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .sector-network__node,
  .sector-network__node:nth-child(n) {
    position: static;
    width: auto;
    min-height: 58px;
    padding: 8px;
  }
  .sector-network__node:nth-child(1) { --node-from-x: 82px; --node-from-y: -255px; }
  .sector-network__node:nth-child(2) { --node-from-x: -82px; --node-from-y: -255px; }
  .sector-network__node:nth-child(3) { --node-from-x: 82px; --node-from-y: -315px; }
  .sector-network__node:nth-child(4) { --node-from-x: -82px; --node-from-y: -315px; }
  .sector-network__node:nth-child(5) {
    --node-from-x: 0px;
    --node-from-y: -380px;
    grid-column: 1 / -1;
    width: calc(50% - 4px);
    justify-self: center;
  }
  .sector-network__node > i { width: 27px; height: 27px; font-size: .9rem; }
  .sector-network__node strong { font-size: .61rem; }
  .sector-network__node small { margin-top: 2px; font-size: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sector-network__signal,
  .sector-network.is-switching .sector-network__line,
  .sector-network.is-switching .sector-network__route circle,
  .sector-network.is-switching .sector-network__node { animation: none; }
}

/* Orden narrativo: el orbe presenta los rubros y la consola respalda los casos reales. */
.transformation > .sector-orbit { margin-top: clamp(56px, 7vw, 94px); }
.proof > .transformation__stage { margin-top: clamp(28px, 3vw, 40px); }

@media (max-width: 660px) {
  .transformation > .sector-orbit { margin-top: 42px; }
  .proof > .transformation__stage { margin-top: 24px; }
}
