/* Inter (SIL OFL 1.1), alojada en el propio sitio: sin pedidos a terceros */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(assets/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(assets/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Hilo · pliego editorial. Blanco, negro y un solo rojo. Tipografía enorme, cortes duros, sombras desplazadas. */
:root {
  --paper: #ffffff;
  --ink: #0e0e0e;
  --red: #e3001b;
  --grey: #f1f1f1;
  --mute: #6b6b6b;
  --f: "Inter", "Inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
b, strong { font-weight: 700; }
.r { color: var(--red); }
.wrap { max-width: 1500px; margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(72px, 11vw, 168px); position: relative; }
.grey { background: var(--grey); }
.dark { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.lbl { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.h1, .h2 { font-weight: 900; letter-spacing: -0.045em; line-height: 0.9; text-transform: uppercase; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 8.6vw, 9.5rem); }
.h2 { font-size: clamp(2.2rem, 6vw, 6rem); line-height: 1.02; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--mute); max-width: 56ch; }
.dark .lead { color: #b5b5b5; }
.small { font-size: 0.92rem; color: var(--mute); }
.shead { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 72px); }

/* Revelado */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.mk { display: block; overflow: hidden; padding-bottom: 0.06em; }
.mk > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.go .mk > span { transform: none; }
.go .mk:nth-child(2) > span { transition-delay: 0.1s; }
.go .mk:nth-child(3) > span { transition-delay: 0.2s; }

/* Entrada */
.pre { position: fixed; inset: 0; z-index: 1000; background: #fff; display: grid; place-items: center; overflow: hidden; animation: preOut 0.01s 4.5s forwards; }
@keyframes preOut { to { visibility: hidden; } }
.pre-cols { position: absolute; inset: 0; display: flex; }
.pre-cols i { flex: 1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; display: block; transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--i) * 70ms); }
.pre.cover .pre-cols i { transform: scaleY(1); }
.pre.leave { background: transparent; }
.pre.leave .pre-mark, .pre.leave .pre-thread { opacity: 0; transition: none; }
.pre.leave .pre-cols i { transform-origin: 50% 0%; transform: scaleY(0); transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--i) * 70ms); }
.pre-thread path { stroke-dasharray: var(--L, 760); stroke-dashoffset: var(--L, 760); transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.pre.in .pre-thread path { stroke-dashoffset: 0; }
.pre-mark { font-size: clamp(5rem, 22vw, 18rem); font-weight: 900; letter-spacing: -0.07em; line-height: 1; position: relative; z-index: 2; opacity: 0; transform: translateY(25%); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.pre.in .pre-mark { opacity: 1; transform: none; }
.pre-mark b { color: var(--red); }
.pre-thread { position: absolute; z-index: 2; width: min(60vw, 700px); margin-top: min(18vw, 190px); }
.pre.out { pointer-events: none; }

.prog { position: fixed; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; z-index: 90; }

/* Cursor */
.cur, .cur-dot, .peek { display: none; }
html.has-cur, html.has-cur * { cursor: none !important; }
html.has-cur .cur { display: grid; position: fixed; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 2px solid #fff; border-radius: 50%; z-index: 999; pointer-events: none; mix-blend-mode: difference; place-items: center; transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s; will-change: transform; }
html.has-cur .cur span { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
html.has-cur .cur.on { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: #fff; }
html.has-cur .cur.lab { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: #fff; }
html.has-cur .cur.lab span { opacity: 1; }
html.has-cur .cur-dot { display: block; position: fixed; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; border-radius: 50%; z-index: 999; pointer-events: none; mix-blend-mode: difference; }
html.has-cur .peek { display: block; position: fixed; left: 0; top: 0; width: min(30vw, 440px); aspect-ratio: 16 / 10; z-index: 50; pointer-events: none; opacity: 0; transform: translate3d(-999px, -999px, 0); border: 3px solid var(--ink); background: #fff; box-shadow: 12px 12px 0 var(--red); transition: opacity 0.25s; overflow: hidden; }
html.has-cur .peek.show { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px var(--pad); color: var(--ink); background: var(--paper); border-bottom: 2px solid var(--ink); transition: color 0.3s, background 0.3s, border-color 0.3s, opacity 0.3s, transform 0.4s var(--ease); }
.nav[data-t="dark"] { color: #fff; background: var(--ink); border-bottom-color: #3a3a3a; }
section[id] { scroll-margin-top: 84px; }
.nav.away { opacity: 0; pointer-events: none; transform: translateY(-100%); }
.logo { font-weight: 900; font-size: 2rem; letter-spacing: -0.06em; text-decoration: none; line-height: 1; }
.nav nav { display: none; gap: 30px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nav nav a { text-decoration: none; position: relative; }
.nav nav a i { font-style: normal; opacity: 0.6; margin-right: 4px; }
.nav nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease); }
.nav nav a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 12px 20px; border: 2px solid currentColor; border-radius: 999px; display: inline-block; }
@media (min-width: 1000px) { .nav nav { display: flex; } }
.burger { display: none; flex: none; width: 46px; height: 46px; border: 2px solid currentColor; border-radius: 50%; background: transparent; color: inherit; padding: 0; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.burger i { width: 18px; height: 2px; background: currentColor; display: block; transition: transform 0.3s var(--ease); }
.nav.open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 999px) {
  .burger { display: flex; }
  .nav-cta { margin-left: auto; }
  .nav.open nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; padding: 4px var(--pad) 22px; background: inherit; color: inherit; border-bottom: 2px solid currentColor; font-size: 1rem; }
  .nav.open nav a { padding: 18px 0; border-bottom: 1px solid rgba(128, 128, 128, 0.35); }
  .nav.open nav a::after { display: none; }
  .nav.open nav a[aria-current="page"] { color: var(--red); }
}

/* Botones */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 20px 32px; background: var(--ink); color: #fff; border: 2px solid var(--ink); font-family: var(--f); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; overflow: hidden; cursor: pointer; isolation: isolate; border-radius: 0; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(101%); transition: transform 0.45s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn { border-color: var(--ink); transition: border-color 0.3s; }
.btn:hover { border-color: var(--red); }
.btn em { font-style: normal; display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover em { transform: translate(4px, -4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: #fff; border-color: var(--ink); }
.btn.sm { padding: 14px 22px; font-size: 0.8rem; }
.btn.big { padding: 28px 46px; font-size: 1.15rem; }
.dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn:hover { color: #fff; border-color: var(--red); }
.mag { will-change: transform; transition: transform 0.4s var(--ease), border-color 0.3s, color 0.3s; }

/* Hero */
.hero { padding: clamp(110px, 14vw, 190px) 0 clamp(40px, 6vw, 80px); }
.hero-lbl { margin-bottom: clamp(20px, 3vw, 36px); display: flex; align-items: center; gap: 12px; }
.hero-lbl::before { content: ""; width: 38px; height: 4px; background: var(--red); }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Video que se expande */
.film { position: relative; height: 240vh; }
.film-pin { contain: layout paint; position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--paper); }
.frame { --k: 0; position: relative; width: calc(72vw + 28vw * var(--k)); height: calc(40.5vw + (100vh - 40.5vw) * var(--k)); border: calc(4px * (1 - var(--k))) solid var(--ink); box-shadow: calc(16px * (1 - var(--k))) calc(16px * (1 - var(--k))) 0 var(--red); background: var(--ink); overflow: hidden; }
.vid { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.frame-ui { position: absolute; left: 50%; top: calc(50% + 20.25vw + 38px); width: 72vw; transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; color: var(--ink); transition: opacity .2s, visibility .2s; }
.frame-ui .lbl { font-size: 0.72rem; }
.film-pin.ui-off .frame-ui { opacity: 0; visibility: hidden; }
.pp { width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; display: flex; gap: 5px; align-items: center; justify-content: center; padding: 0; }
.pp i { width: 4px; height: 14px; background: var(--ink); display: block; }
.pp.paused i:first-child { width: 0; height: 0; background: transparent; border-left: 12px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.pp.paused i:last-child { display: none; }

/* Marquee */
.marq { overflow: hidden; border-block: 3px solid var(--ink); padding-block: 14px; background: var(--paper); }
.marq-track { display: flex; width: max-content; will-change: transform; }
.marq-track span { font-size: clamp(3rem, 8vw, 7.5rem); font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; line-height: 1; padding-right: 0.5em; color: #8c8c8c; white-space: nowrap; }
.marq-track span.f { color: var(--ink); -webkit-text-stroke: 0; }
.marq-track span i { color: var(--red); -webkit-text-stroke: 0; font-style: normal; padding-left: 0.5em; }

/* Antes y después */
.ba { --x: 50%; position: relative; height: clamp(420px, 56vw, 700px); border: 4px solid var(--ink); box-shadow: 18px 18px 0 var(--red); overflow: hidden; background: #fff; user-select: none; touch-action: pan-y; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--x)) 0 0); background: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 4px; margin-left: -2px; background: var(--red); z-index: 3; pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--red); color: #fff; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 1.5rem; font-weight: 900; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; z-index: 4; cursor: ew-resize; }
.tag { position: absolute; top: 14px; z-index: 2; background: var(--ink); color: #fff; padding: 6px 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tag-b { left: 14px; }
.tag-a { right: 14px; background: var(--red); }
.xl { position: absolute; inset: 0; padding: 52px 0 0; font-family: Arial, "Helvetica Neue", sans-serif; font-size: clamp(11px, 1.15vw, 15px); background: #fff; color: #222; overflow: hidden; }
.xl table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.xl td, .xl th { border: 1px solid #c8c8c8; padding: 6px 8px; height: 2.1em; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.xl th { background: #e8e8e8; font-weight: 400; color: #555; text-align: center; }
.xl td:first-child, .xl tr th:first-child { width: 34px; background: #e8e8e8; text-align: center; color: #555; }
.xl .e { color: #c00; font-weight: 700; }
.xl .y { background: #fff2a8; }
.xl .s { text-decoration: line-through; color: #6e6e6e; }
.dash { position: absolute; inset: 0; padding: 52px clamp(14px, 2.4vw, 34px) 20px; background: #fff; display: grid; grid-template-rows: auto auto 1fr; gap: 16px; font-family: var(--f); }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.dash-top b { font-size: 1.4rem; letter-spacing: -0.05em; text-transform: none; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpis > div { border: 3px solid var(--ink); padding: 12px 14px; display: grid; gap: 4px; }
.kpis > div.rd { background: var(--ink); color: #fff; }
.kpis span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.kpis b { font-size: clamp(1.1rem, 2.4vw, 2rem); font-weight: 900; letter-spacing: -0.04em; }
.dash-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; min-height: 0; }
.chart { display: flex; align-items: flex-end; gap: 10px; border: 3px solid var(--ink); padding: 14px; }
.chart i { flex: 1; background: var(--ink); display: block; }
.chart i.hi { background: var(--red); }
.today { list-style: none; margin: 0; padding: 0; border: 3px solid var(--ink); display: grid; align-content: start; font-size: clamp(0.72rem, 1.1vw, 0.95rem); }
.today li { padding: 9px 12px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.today li:last-child { border-bottom: 0; }
.today em { font-style: normal; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.today em.bad { color: var(--red); }
.today em.warn { color: #b36b00; }
.today em.ok { color: #1a7f4b; }

/* Servicios */
.rows { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.row { border-bottom: 3px solid var(--ink); }
.row-h { width: 100%; display: grid; grid-template-columns: 64px 1.2fr 1fr 40px; gap: 18px; align-items: baseline; padding: clamp(22px, 3vw, 40px) 0; background: transparent; border: 0; font-family: var(--f); color: inherit; text-align: left; transition: padding 0.4s var(--ease), background 0.3s, color 0.3s; }
.row-h .n { font-weight: 700; color: var(--red); font-size: 1rem; }
.row-h .t { font-size: clamp(2rem, 6vw, 5.5rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.95; text-transform: uppercase; }
.row-h .d { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #444; }
.row-h .ar { font-size: 2.2rem; font-weight: 300; justify-self: end; transition: transform 0.4s var(--ease); }
.row-h:hover { padding-inline: 20px; background: var(--ink); color: #fff; }
.row-h:hover .d { color: #bbb; }
.row.open .ar { transform: rotate(45deg); }
.row-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.row.open .row-b { grid-template-rows: 1fr; }
.row-in { overflow: hidden; display: grid; gap: 18px; padding-left: 82px; max-width: 900px; }
.row.open .row-in { padding-bottom: 36px; }
.row-in ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.row-in li { padding-left: 22px; position: relative; }
.row-in li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 12px; height: 3px; background: var(--red); }
.row-in .btn { justify-self: start; }
.diag { margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding: clamp(24px, 3vw, 40px); border: 4px solid var(--ink); box-shadow: 14px 14px 0 var(--red); }
.diag-t { max-width: 62ch; margin-top: 10px; font-size: 1.1rem; }

/* Sistemas */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tab { font-family: var(--f); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 24px; border: 2px solid #fff; background: transparent; color: #fff; transition: background 0.25s, color 0.25s; }
.tab:hover { background: #2a2a2a; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); }
.tab.soon { border-style: dashed; border-color: #666; color: #999; display: inline-flex; align-items: center; }
.panel[hidden] { display: none; }
.pgrid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.pcopy { display: grid; gap: 18px; }
.pcopy h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; margin: 0; }
.pcopy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #cfcfcf; }
.pcopy li { padding-left: 24px; position: relative; }
.pcopy li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 3px; background: var(--red); }
.card { background: #fff; color: var(--ink); border: 4px solid #fff; box-shadow: 16px 16px 0 var(--red); min-width: 0; }
.card-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 3px solid var(--ink); }
.card-cap { padding: 10px 18px; font-size: 0.78rem; color: var(--mute); border-top: 3px solid var(--ink); }
.demo-g { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; }
.fields { display: grid; gap: 14px; }
.field label { display: flex; justify-content: space-between; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.field label output { color: var(--ink); }
.field select { width: 100%; background: #fff; border: 3px solid var(--ink); color: var(--ink); padding: 11px 12px; font-family: var(--f); font-size: 0.95rem; font-weight: 700; border-radius: 0; }
input[type="range"] { width: 100%; accent-color: var(--red); }
.result { background: var(--ink); color: #fff; padding: 20px; display: grid; gap: 10px; align-content: start; }
.row2 { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; color: #bbb; }
.row2 b { color: #fff; font-weight: 700; }
.total { border-top: 2px dashed #555; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.total b { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -0.04em; color: #fff; }
.result .btn { background: var(--red); border-color: var(--red); justify-self: start; margin-top: 6px; }
.result .btn::before { background: #fff; }
.result .btn:hover { color: var(--ink); border-color: #fff; }
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px; min-height: 360px; background: var(--grey); }
.kcol { border: 3px solid var(--ink); background: #fff; padding: 10px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; transition: background 0.2s; }
.kcol.over { background: #ffe3e6; }
.kcol h4 { margin: 0 0 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.kc { background: #fff; border: 3px solid var(--ink); border-left: 12px solid var(--ink); padding: 10px 12px; display: grid; gap: 2px; touch-action: none; user-select: none; font-size: 0.9rem; }
.kc b { font-weight: 700; }
.kc span { font-weight: 900; font-size: 1.1rem; letter-spacing: -0.03em; }
.kcol[data-col="aprobado"] .kc { border-left-color: var(--red); }
.kc.drag { position: fixed; z-index: 70; pointer-events: none; box-shadow: 10px 10px 0 var(--red); rotate: 2deg; width: 200px; }
.kc.ph { visibility: hidden; }
.bars { display: grid; gap: 14px; padding: 24px; }
.bar { display: grid; grid-template-columns: 62px 1fr 120px; gap: 14px; align-items: center; font-size: 0.82rem; font-weight: 700; }
.bar .track { height: 22px; background: #e6e6e6; }
.bar .fill { height: 100%; width: 0; background: var(--ink); transition: width 1.2s var(--ease); }
.bar .fill.red { background: var(--red); }
.bar b { text-align: right; font-weight: 900; }

/* Galería horizontal */
.gal { position: relative; background: var(--paper); }
.gal-pin { overflow: hidden; padding-block: clamp(72px, 10vw, 140px); }
.gal-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 56px); width: 100%; }
.gal-ctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gal-hint { color: var(--mute); }
.gal-btns { display: flex; gap: 10px; }
.gbtn { width: 58px; height: 58px; border: 3px solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; font-size: 1.5rem; padding: 0; transition: background 0.25s, color 0.25s, opacity 0.25s, transform 0.25s var(--ease); }
.gbtn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.gbtn:disabled { opacity: 0.3; cursor: default; }
.ico.prev { transform: rotate(180deg); }
.gal-scroll { overflow-x: auto; overflow-y: hidden; padding: 18px 0 34px; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity; cursor: grab; overscroll-behavior-x: contain; }
.gal-scroll::-webkit-scrollbar { display: none; }
.gal-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.gal-track { display: flex; gap: clamp(20px, 3vw, 44px); padding-inline: var(--pad); width: max-content; }
.gal-scroll .gcard { scroll-snap-align: start; scroll-margin-left: var(--pad); user-select: none; }
.gal-scroll .gcard img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.gcard { margin: 0; width: min(62vw, 880px); flex: none; }
.gcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 4px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); background: var(--grey); }
.gcard:hover img { box-shadow: 14px 14px 0 var(--red); transform: translate(-4px, -4px); }
.gcard figcaption { margin-top: 24px; display: flex; gap: 14px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }
.gcard figcaption span { color: var(--red); }

/* Webs */
.web-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.web-copy { display: grid; gap: 24px; align-content: start; }
.wtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.wtabs button { font-family: var(--f); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 18px; border: 2px solid var(--ink); background: transparent; color: var(--ink); transition: 0.25s; }
.wtabs button:hover { background: var(--grey); }
.wtabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.wdesc { border-left: 6px solid var(--red); padding-left: 18px; min-height: 120px; display: grid; gap: 8px; align-content: start; }
.wdesc b { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.web-copy .btn { justify-self: start; }
@keyframes fx { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.wdesc.fx { animation: fx 0.4s var(--ease); }
.web-shot { perspective: 1200px; }
.web-shot video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--ink); box-shadow: 18px 18px 0 var(--red); background: #fff; transition: transform 0.2s ease-out; will-change: transform; }
.gcard img.pos { object-position: 50% 45%; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: clamp(80px, 14vw, 200px) 1fr; gap: 24px; align-items: center; padding-block: clamp(20px, 3vw, 40px); border-top: 3px solid var(--ink); }
.steps li:last-child { border-bottom: 3px solid var(--ink); }
.sn { font-size: clamp(4rem, 12vw, 10rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.85; color: var(--red); }
.steps h3 { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; margin: 0 0 6px; }
.steps p { color: var(--mute); max-width: 52ch; }

/* Nosotros */
.about { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.photo { position: relative; max-width: 420px; }
.photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--red); z-index: 0; }
.photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 4px solid var(--ink); filter: grayscale(1) contrast(1.05); }
.about-copy { display: grid; gap: 22px; }
.princ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.princ div { border-top: 4px solid var(--ink); padding-top: 12px; display: grid; gap: 4px; }
.princ b { font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.princ span { color: var(--mute); font-size: 0.92rem; }
.client-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 10px; }
.client-row img { width: 190px; height: auto; }
.client-row span { color: var(--mute); max-width: 34ch; font-size: 0.95rem; }

/* FAQ */
.faq-wrap { max-width: 1100px; }
.faq { display: grid; border-top: 3px solid var(--ink); }
details { border-bottom: 3px solid var(--ink); }
summary { cursor: pointer; list-style: none; padding: 24px 0; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 2rem; line-height: 1; font-weight: 300; transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--mute); padding-bottom: 24px; max-width: 70ch; }

/* Cierre */
.cta { background: var(--red); color: #fff; padding-block: clamp(90px, 14vw, 200px); }
.cta .lbl { color: #fff; margin-bottom: 18px; }
.cta-h { font-size: clamp(3.4rem, 14vw, 15rem); }
.cta-h .r { color: var(--ink); }
.cta-row { margin-top: clamp(36px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cta .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta .btn::before { background: #fff; }
.cta .btn:hover { color: var(--ink); border-color: #fff; }
.num { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: 0; word-spacing: 0.18em; line-height: 1.1; }
.num span { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px var(--pad) 36px; background: var(--ink); color: #fff; font-size: 0.85rem; }
.foot b { color: var(--red); }
.foot a { text-decoration: none; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Responsive */
@media (max-width: 900px) {
  .film { height: auto; }
  .film-pin { position: relative; height: auto; padding: 0 var(--pad) 24px; }
  .frame { --k: 0 !important; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .frame-ui { position: static; transform: none; width: 100%; margin-top: 22px; }
  .hero-row { grid-template-columns: 1fr; }
  .pgrid, .web-grid, .about { grid-template-columns: 1fr; }
  .demo-g { grid-template-columns: 1fr; }
  .row-h { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 10px; }
  .row-h .t { font-size: clamp(1.3rem, 6.1vw, 3rem); }
  .row-h .d { display: none; }
  .row-in { padding-left: 44px; }
  .princ { grid-template-columns: 1fr; }
  .dash-main { grid-template-columns: 1fr; }
  .chart { display: none; }
  .gcard { width: 82vw; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .photo { max-width: 300px; }
  .lbl { font-size: 0.84rem; }
  .kb { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis > div:last-child { display: none; }
  .bar { grid-template-columns: 46px 1fr 94px; }
  .steps li { grid-template-columns: 70px 1fr; }
  .ba { box-shadow: 10px 10px 0 var(--red); }
}
@media (hover: none) { .peek { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .reveal { opacity: 1; transform: none; transition: none; }
  html:not(.motion-on) .mk > span { transform: none; transition: none; }
  html:not(.motion-on) .film { height: auto; }
  html:not(.motion-on) .film-pin { position: relative; height: auto; padding: 0 var(--pad) 24px; }
  html:not(.motion-on) .frame { --k: 0 !important; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  html:not(.motion-on) .frame-ui { position: static; transform: none; width: 100%; margin-top: 22px; }
  html:not(.motion-on) .pre { display: none; }
  /* Cinta quieta pero completa y centrada */
  html:not(.motion-on) .marq-track.static { width: auto; flex-wrap: wrap; justify-content: center; padding: 4px var(--pad); }
  html:not(.motion-on) .marq-track.static span { font-size: clamp(2rem, 5.4vw, 4.6rem); padding-right: 0.25em; }
  html:not(.motion-on) .marq-track.static { row-gap: 22px; }
  html:not(.motion-on) .marq-track.static .lg::after { margin-inline: 28px; }
  html:not(.motion-on) .marq-track.static .lg:last-child::after { display: none; }
}

/* Íconos propios (las flechas no existen en la tipografía y forzaban búsquedas de fuentes) */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
.ba-handle i .ico { width: 1.5rem; height: 1.5rem; vertical-align: 0; }
.marq-track span i { display: inline-block; width: 0.34em; height: 0.34em; border-radius: 50%; background: var(--red); margin-left: 0.5em; vertical-align: 0.2em; padding: 0; font-size: inherit; }

/* Aviso de animaciones y botón de pausa del mini video */
.motion-bar { position: fixed; left: 16px; bottom: 16px; right: 16px; max-width: 600px; z-index: 95; background: var(--ink); color: #fff; border: 2px solid #fff; box-shadow: 8px 8px 0 var(--red); padding: 14px 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.motion-bar p { flex: 1 1 240px; font-size: 0.92rem; line-height: 1.35; }
.motion-bar .btn { background: var(--red); border-color: var(--red); color: #fff; }
.motion-bar .btn::before { background: #fff; }
.motion-bar .btn:hover { color: var(--ink); border-color: #fff; }
.motion-x { background: transparent; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; padding: 0 6px; }
.web-shot { position: relative; }
.vpp { position: absolute; right: 16px; bottom: 16px; border-color: var(--ink); background: #fff; z-index: 2; }
.vpp i { background: var(--ink); }
.vpp.paused i:first-child { border-left-color: var(--ink); background: transparent; }

@media (max-width: 640px) {
  .motion-bar { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; gap: 8px; box-shadow: 5px 5px 0 var(--red); }
  .motion-bar p { font-size: 0.8rem; flex-basis: 100%; }
}

/* Las medidas width/height del HTML solo reservan espacio; la altura real la define la proporción */
img { height: auto; }

.gal-scroll:focus-visible { outline-offset: -6px; }

.fx { margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--mute); }
.total.loss b, .total.loss span { color: var(--red); }

@media (max-width: 600px) { .tab { padding: 11px 14px; font-size: 0.74rem; letter-spacing: 0.06em; } .tabs { gap: 8px; } }

/* Asesoría comercial */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid #fff; border-bottom: 3px solid #fff; margin: 40px 0; }
.stats > div { padding: 26px 18px; border-left: 3px solid #fff; display: grid; gap: 6px; align-content: start; }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats b { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; }
.stats span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #cfcfcf; }
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.line { border: 3px solid #fff; padding: 24px; display: grid; gap: 10px; align-content: start; }
.line .ln { color: var(--red); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.05em; }
.line h3 { margin: 0; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1; }
.line p { margin: 0; color: #cfcfcf; font-size: 0.95rem; line-height: 1.5; }
.brands { margin: 28px 0 0; color: #cfcfcf; font-size: 0.95rem; line-height: 1.6; max-width: 70ch; }
.brands b { color: #fff; }
#comercios .btn { margin-top: 30px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(3) { border-left: 0; padding-left: 0; } .stats > div:nth-child(n+3) { border-top: 3px solid #fff; } .lines { grid-template-columns: 1fr; } }

/* Gustavo */
.gus { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.gus-photo { margin: 0; }
.gus-photo img { width: 100%; height: auto; display: block; border: 3px solid #fff; box-shadow: 14px 14px 0 var(--red); }
.gus-photo figcaption { margin-top: 26px; display: grid; gap: 4px; }
.gus-photo figcaption b { font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; font-size: 1.15rem; }
.gus-photo figcaption span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #cfcfcf; }
.gus-copy .lead { margin-top: 18px; }
@media (max-width: 800px) { .gus { grid-template-columns: 1fr; } .gus-photo { max-width: 340px; } }

/* Páginas internas y bloques nuevos */
.pgtop { padding-top: clamp(120px, 14vw, 200px); }
.nav nav a[aria-current="page"]::after { transform: scaleX(1); }
.try { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.try a { display: grid; gap: 8px; align-content: start; padding: 22px; border: 2px solid #fff; color: #fff; text-decoration: none; transition: background 0.25s, border-color 0.25s; }
.try a:hover { background: var(--red); border-color: var(--red); }
.try b { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.try span { font-size: 0.95rem; color: #d0d0d0; }
.marq-l { margin-top: clamp(32px, 4vw, 56px); padding-block: 26px; }
.lg { display: flex; align-items: center; flex: none; }
.lg::after { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--red); margin-inline: clamp(44px, 6vw, 96px); }
.lg img { height: clamp(40px, 5.5vw, 68px); width: auto; filter: brightness(0); }
.lg.g img { filter: brightness(0) opacity(0.5); }
.try span { text-wrap: balance; }
.try span.q { color: #fff; font-weight: 700; font-size: 1.02rem; line-height: 1.35; margin-top: 4px; }
.try a:hover span { color: #fff; }
.try-cta { margin-top: 36px; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.logo-t { display: flex; align-items: center; justify-content: center; height: 130px; padding: 20px 24px; border: 2px solid var(--ink); background: #fff; }
.logo-t.dk { background: var(--ink); }
.logo-t img { max-width: 100%; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.tur { padding: 18px; background: var(--grey); display: grid; gap: 14px; }
.tur-sel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; font-family: var(--f); border: 3px solid var(--ink); background: #fff; color: var(--ink); padding: 10px 12px; font-size: 0.9rem; min-height: 56px; transition: background 0.2s, color 0.2s; }
.slot b { font-weight: 900; letter-spacing: -0.02em; }
.slot span { font-size: 0.82rem; font-weight: 700; color: var(--mute); text-align: right; }
.slot.free:hover { background: var(--ink); color: #fff; }
.slot.free:hover span { color: #fff; }
.slot.busy { background: #ececec; border-color: #9a9a9a; color: #666; cursor: default; }
.slot.mine { background: var(--red); border-color: var(--red); color: #fff; }
.slot.mine span { color: #fff; }
@media (max-width: 900px) { .try, .logos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .try { grid-template-columns: 1fr; } .tur-sel { grid-template-columns: 1fr; } .slots { grid-template-columns: 1fr; } }

/* Trabajos: una tarjeta por cliente */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
.case { display: grid; grid-template-rows: auto 1fr; border: 2px solid var(--ink); background: #fff; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.case:hover { box-shadow: 10px 10px 0 var(--red); transform: translate(-4px, -4px); }
.case-logo { display: flex; align-items: center; justify-content: center; height: 150px; padding: 24px; border-bottom: 2px solid var(--ink); background: #fff; }
.case-logo.dk { background: var(--ink); }
.case-logo img { max-width: 70%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.case-b { display: grid; gap: 12px; align-content: start; padding: 22px 24px 26px; }
.case-b h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.1; }
.case-b p { margin: 0; color: var(--mute); }
.case-b .lbl { color: var(--ink); }
.case-b .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* Alianza con DFG */
.al { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.al-h { font-size: clamp(2rem, 4.6vw, 4.4rem); }
.al-copy { display: grid; gap: 22px; }
.al-copy .lead b { color: #fff; }
.al-card { border: 2px solid #fff; padding: 28px; display: grid; gap: 22px; align-content: start; position: sticky; top: 110px; }
.al-logo img { width: min(260px, 72%); height: auto; filter: brightness(0) invert(1); }
.al-links { display: grid; gap: 12px; }
.al-links .btn { justify-content: space-between; }
@media (max-width: 900px) { .al { grid-template-columns: 1fr; } .al-card { position: static; } }
.al-copy .lead a { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color 0.2s; }
.al-copy .lead a:hover { color: var(--red); }
