/* =========================================================
   Teku Systems — propuesta de rediseño
   Sistema de diseño: tokens → base → componentes → secciones
   ========================================================= */

:root {
  /* Tinta (oscuros) — grafito con matiz pizarra de la marca */
  --ink-0: #05070a;
  --ink-1: #090d12;
  --ink-2: #0e141b;
  --ink-3: #141c25;
  --ink-4: #1d2833;

  /* Papel (claros) */
  --paper: #f6f5f2;
  --paper-2: #eeece6;
  --white: #ffffff;
  --line: #e4e0d8;

  --text: #12161b;
  --muted: #5b6570;
  --muted-2: #8a929b;
  --on-dark: #eef1f4;
  --on-dark-muted: #9aa5b1;
  --line-dark: rgba(255, 255, 255, .08);
  --line-dark-2: rgba(255, 255, 255, .15);

  /* Acento (Teku: ámbar → naranja) */
  --a1: #ffd36b;
  --a2: #f9b234;
  --a3: #fc6f1a;
  --a4: #d9480f;
  --on-accent: #1b1104;
  --accent: var(--a2);
  --accent-ink: #b45309;
  --grad: linear-gradient(120deg, var(--a1) 0%, var(--a2) 45%, var(--a3) 100%);
  --grad-ink: linear-gradient(120deg, var(--a3) 0%, var(--a4) 100%);

  --ok: #2fd38a;
  --warn: #ff5a4f;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 26, .05), 0 4px 14px rgba(15, 20, 26, .05);
  --shadow: 0 2px 6px rgba(15, 20, 26, .05), 0 18px 50px -12px rgba(15, 20, 26, .18);
  --shadow-dark: 0 30px 80px -20px rgba(0, 0, 0, .65);

  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 48px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 650; margin: 0; line-height: 1.05; letter-spacing: -.035em; }
p { margin: 0; }
::selection { background: var(--a2); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--paper .grad-text, .section--white .grad-text { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; }
.muted-text { color: var(--muted-2); }
.section--dark .muted-text { color: #5d6875; }

/* =========================================================
   Componentes
   ========================================================= */

/* Botones */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--a3); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px var(--a3); }
.btn--ghost { border-color: var(--line-dark-2); color: var(--on-dark); background: rgba(255,255,255,.03); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--dark { background: var(--ink-2); color: var(--on-dark); }
.btn--dark:hover { background: var(--ink-4); }
.btn--line { border-color: var(--line); background: var(--white); }
.btn--line:hover { border-color: var(--text); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }

/* Pill / badge */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-dark-2); background: rgba(255,255,255,.04);
  font-size: 13.5px; color: var(--on-dark); backdrop-filter: blur(8px);
}
.pill__tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--a2) 18%, transparent); color: var(--a1);
}
.pill svg { width: 14px; height: 14px; opacity: .7; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--a2); }

/* Encabezados de sección */
.sec-head { max-width: 760px; display: grid; gap: 20px; }
.sec-head--center { margin: 0 auto; text-align: center; justify-items: center; }
.sec-title { font-size: clamp(34px, 5vw, 56px); }
.sec-lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 620px; }
.section--dark .sec-lead { color: var(--on-dark-muted); }

/* Secciones */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink-1); color: var(--on-dark); overflow: hidden; overflow: clip; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% 0%, color-mix(in srgb, var(--a3) 14%, transparent), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, color-mix(in srgb, var(--a2) 8%, transparent), transparent 60%);
}
.section--dark > * { position: relative; }
.section--dark > .glow-orb, .section--dark > .grid-bg { position: absolute; }

/* Icon chip */
.chip-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--a2) 14%, var(--white)); color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--a2) 30%, transparent);
}
.chip-ic svg { width: 20px; height: 20px; }
.section--dark .chip-ic { background: color-mix(in srgb, var(--a2) 12%, transparent); color: var(--a1); border-color: color-mix(in srgb, var(--a2) 25%, transparent); }

/* Cards */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; display: grid; gap: 14px; align-content: start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 15px; }
.card--dark { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border-color: var(--line-dark); color: var(--on-dark); }
.card--dark p { color: var(--on-dark-muted); }
.card--dark:hover { border-color: var(--line-dark-2); box-shadow: var(--shadow-dark); }

/* Lista con checks */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.checks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: color-mix(in srgb, var(--a2) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9b234' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--paper .checks li::before, .section--white .checks li::before {
  background-color: color-mix(in srgb, var(--a2) 22%, transparent);
}

/* Reveal on scroll */
/* Solo se oculta cuando main.js ha activado la animación (clase .js-reveal en <html>):
   si el script fallara, el contenido se ve igual, sin animar. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Navegación
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(9, 13, 18, .86); backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line-dark);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand .logo { height: 54px; width: auto; display: block; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links > a, .nav__drop > .nav__drop-btn {
  padding: 8px 12px; border-radius: 999px; color: var(--on-dark-muted); font-size: 14.5px; font-weight: 500; white-space: nowrap;
  background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background .2s;
}
.nav__links > a:hover, .nav__drop > .nav__drop-btn:hover, .nav__links > a[aria-current="page"], .nav__drop > .nav__drop-btn[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.nav__drop { position: relative; }
.nav__drop > .nav__drop-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__drop:hover > .nav__drop-btn svg, .nav__drop:focus-within > .nav__drop-btn svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 520px;
  padding: 10px; border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: rgba(14, 20, 27, .96); border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-dark);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px; border-radius: 14px; color: var(--on-dark); transition: background .2s; }
.nav__menu a:hover { background: rgba(255,255,255,.05); }
.nav__menu .chip-ic { width: 36px; height: 36px; border-radius: 10px; }
.nav__menu .chip-ic svg { width: 17px; height: 17px; }
.nav__menu strong { display: block; font-size: 14px; font-weight: 600; }
.nav__menu small { display: block; font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.4; }
.nav__menu .is-feat { grid-column: 1 / -1; }
/* Se marca solo la página en la que estás */
.nav__menu a[aria-current="page"] { background: color-mix(in srgb, var(--a2) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a2) 26%, transparent); }
.mnav a[aria-current="page"], .mnav .mnav__sub a[aria-current="page"] { color: var(--a1); }
.nav__menu .nav__all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; font-size: 13.5px; font-weight: 600; color: var(--a1); }
.nav__menu .nav__all svg { width: 14px; height: 14px; }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark-2);
  background: rgba(255,255,255,.04); place-items: center;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: background .2s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff; transition: transform .25s var(--ease), top .25s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.nav-open .nav__burger span { background: transparent; }
.nav-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: var(--ink-1); padding: 20px var(--gutter) 40px;
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.nav-open .mnav { opacity: 1; visibility: visible; }
.nav-open .nav { background: var(--ink-1); }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.mnav .mnav__sub a { font-family: var(--f-body); font-size: 16px; font-weight: 500; color: var(--on-dark-muted); padding-left: 16px; }
.mnav .btn { margin-top: 28px; width: 100%; }

@media (max-width: 1360px) { .nav__tel { display: none; } }
@media (max-width: 1180px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: grid; }
}
@media (max-width: 480px) { .nav__cta .btn--primary { display: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(1200px 700px at 70% 40%, #121a23 0%, var(--ink-0) 70%);
  color: var(--on-dark); overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 80px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink-0) 0%, rgba(5,7,10,.85) 30%, rgba(5,7,10,0) 62%),
    linear-gradient(0deg, var(--ink-0) 0%, rgba(5,7,10,0) 25%);
}
.hero__content { position: relative; z-index: 2; display: grid; gap: 28px; max-width: 680px; justify-items: start; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); letter-spacing: -.045em; line-height: .98; }
.hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--on-dark-muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--on-dark-muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--a2); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 2;
  width: 24px; height: 38px; border: 1.5px solid var(--line-dark-2); border-radius: 14px;
}
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; translate: -50% 0; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Panel en directo */
.live {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 64px; width: 340px;
  border-radius: 20px; padding: 16px; background: rgba(12, 17, 23, .72); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-dark); font-size: 13px;
}
@media (min-width: 1360px) { .live { right: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.live__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.live__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47,211,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,211,138,0); } 100% { box-shadow: 0 0 0 0 rgba(47,211,138,0); } }
.live__count { font-family: var(--f-mono); font-size: 11.5px; color: var(--a1); }
.live__docks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.dock { border: 1px solid var(--line-dark); border-radius: 10px; padding: 8px 6px; display: grid; justify-items: center; gap: 6px; background: rgba(255,255,255,.02); }
.dock__lights { display: flex; gap: 3px; }
.dock__lights i { width: 7px; height: 7px; border-radius: 50%; background: #26303a; transition: background .3s, box-shadow .3s; }
.dock[data-state="ok"] .dock__lights i:nth-child(3) { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dock[data-state="wait"] .dock__lights i:nth-child(2) { background: var(--a2); box-shadow: 0 0 8px var(--a2); }
.dock[data-state="err"] .dock__lights i:nth-child(1) { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.dock span { font-family: var(--f-mono); font-size: 10.5px; color: var(--on-dark-muted); }
.live__feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 196px; align-content: start; }
.live__feed li {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid transparent; animation: feedIn .5s var(--ease);
}
.live__feed li.is-err { border-color: rgba(255,90,79,.35); background: rgba(255,90,79,.07); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } }
.live__code { width: 28px; height: 28px; border-radius: 6px; background: #fff; display: grid; place-items: center; }
.live__code svg { width: 20px; height: 20px; }
.live__feed b { font-weight: 600; font-size: 12.5px; display: block; }
.live__feed small { color: var(--on-dark-muted); font-size: 11.5px; }
.live__feed time { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted-2); }
.live__foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }

/* Editor de código (hero de portada) */
.editor {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 32px; width: 372px;
  border-radius: 18px; overflow: hidden; background: rgba(9, 13, 18, .8); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-dark); font-family: var(--f-mono); font-size: 11.5px;
}
@media (min-width: 1360px) { .editor { right: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.editor__bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid var(--line-dark); }
.editor__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #2a333d; flex: none; }
.editor__tabs { display: flex; gap: 2px; margin-left: 10px; overflow: hidden; }
.editor__tabs span { padding: 5px 9px; border-radius: 7px; color: var(--muted-2); font-size: 11px; white-space: nowrap; transition: background .3s, color .3s; }
.editor__tabs span.is-on { background: rgba(255,255,255,.07); color: #fff; box-shadow: inset 0 -2px 0 var(--a2); }
.editor__code { margin: 0; padding: 10px 14px 8px 8px; height: 106px; line-height: 1.7; color: #c9d2db; white-space: pre; overflow: hidden; }
.editor__code .ln { display: inline-block; width: 24px; padding-right: 10px; text-align: right; color: #3b4550; user-select: none; }
.tk-k { color: #8fd3ff; } .tk-f { color: var(--a1); } .tk-s { color: #a6e3a1; } .tk-t { color: #ff9e7a; } .tk-c { color: #5d6875; font-style: italic; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 1px; background: var(--a2); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.editor__term { border-top: 1px solid var(--line-dark); background: rgba(0,0,0,.28); padding: 8px 14px; height: 68px; font-size: 11px; line-height: 1.75; }
.editor__term div { animation: feedIn .35s var(--ease); }
.editor__term .mut { color: var(--muted-2); } .editor__term .ok { color: var(--ok); } .editor__term .acc { color: var(--a1); }
.editor__status { display: flex; justify-content: space-between; gap: 10px; padding: 6px 14px; border-top: 1px solid var(--line-dark); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.editor__status b { font-weight: 500; color: var(--ok); }

@media (max-width: 1080px) {
  .live, .editor { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(5,7,10,.55) 0%, rgba(5,7,10,.85) 55%, var(--ink-0) 100%); }
}

/* Hero compacto (páginas internas) */
.hero--page { min-height: auto; padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(70px, 9vw, 110px); }
.hero--page::after { background: linear-gradient(90deg, var(--ink-0) 0%, rgba(5,7,10,.75) 45%, rgba(5,7,10,.2) 100%), linear-gradient(0deg, var(--ink-0) 0%, transparent 30%); }
.hero--page h1 { font-size: clamp(40px, 6vw, 72px); }
.hero--page .hero__content { max-width: 760px; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); text-transform: uppercase; }
.crumbs a:hover { color: #fff; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%);
}
.glow-orb { position: absolute; width: 640px; height: 640px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a3) 35%, transparent), transparent 65%); filter: blur(30px); pointer-events: none; animation: orb 14s ease-in-out infinite alternate; }
@keyframes orb { to { transform: translate(-80px, 60px) scale(1.1); } }

/* =========================================================
   Marquee de clientes
   ========================================================= */
.logos { background: var(--white); border-bottom: 1px solid var(--line); padding: 44px 0 46px; overflow: hidden; }
.logos__label { text-align: center; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 26px; padding: 0 var(--gutter); }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.logos:hover .marquee { animation-play-state: paused; }
.logos.is-js { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.logos.is-js .marquee { animation: none; will-change: transform; flex-wrap: nowrap; }
.logos.is-drag { cursor: grabbing; }
.logos:focus-visible { outline: 2px solid var(--a2); outline-offset: -4px; border-radius: 0; }
.client { display: inline-flex; align-items: center; justify-content: center; height: 56px; }
.client img { height: 44px; width: auto; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.marquee__group { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-word { font-size: 26px; color: #5b6570; white-space: nowrap; line-height: 1; }
.lw-gxo { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; font-size: 30px; }
.lw-idl { font-family: Georgia, serif; font-style: italic; font-weight: 700; }
.lw-carrefour { font-family: var(--f-body); font-weight: 700; letter-spacing: -.03em; }
.lw-mm { font-family: var(--f-body); font-weight: 800; font-style: italic; letter-spacing: -.04em; }
.lw-bern { font-family: Georgia, serif; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; }
.lw-chik { font-family: var(--f-display); font-weight: 800; font-size: 28px; }
.lw-air { font-family: var(--f-body); font-weight: 300; letter-spacing: .05em; }
.lw-dulze { font-family: Georgia, serif; font-weight: 700; }
.lw-tiba { font-family: var(--f-display); font-weight: 800; letter-spacing: .2em; font-size: 24px; }
.lw-bollo { font-family: var(--f-display); font-weight: 700; font-style: italic; }
.lw-zambu { font-family: var(--f-body); font-weight: 600; letter-spacing: -.02em; }
.lw-auchan { font-family: var(--f-body); font-weight: 800; text-transform: lowercase; letter-spacing: -.03em; }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; } }

/* =========================================================
   Intro / reto (stats + cards)
   ========================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: end; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 64px; }
.stat { padding: 28px 24px 0 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font-family: var(--f-display); font-size: clamp(40px, 5vw, 60px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.stat span { color: var(--muted); font-size: 14.5px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mt-64 { margin-top: 64px; }
.mt-40 { margin-top: 40px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; align-items: start; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
}

/* =========================================================
   Tabs de soluciones (sección oscura)
   ========================================================= */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 56px; }
.tab {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; text-align: left;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.02);
  transition: background .25s, border-color .25s;
}
.tab:hover { background: rgba(255,255,255,.05); }
.tab[aria-selected="true"] { border-color: color-mix(in srgb, var(--a2) 55%, transparent); background: color-mix(in srgb, var(--a2) 9%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a2) 8%, transparent); }
.tab .chip-ic { width: 40px; height: 40px; }
.tab small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.tab strong { display: block; font-family: var(--f-display); font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; }
.tab-panels { margin-top: 18px; border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); padding: clamp(20px, 3vw, 40px); }
.tab-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-anim { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.tab-panel__txt { display: grid; gap: 20px; }
.tab-panel__txt h3 { font-size: clamp(26px, 3vw, 36px); }
.tab-panel__txt p { color: var(--on-dark-muted); }
.tab-panel__txt .checks { color: var(--on-dark); }
.fineprint { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: 20px; }
@media (max-width: 960px) {
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .tab-panel { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .tab { grid-template-columns: 1fr; } .tab .chip-ic { display: none; } }

/* ---- Ventanas / mockups ---- */
.window { border-radius: 18px; background: var(--ink-0); border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-dark); overflow: hidden; }
.window__bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 11.5px; color: var(--muted-2); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a333d; }
.window__bar span { margin-left: 8px; }
.window__bar .badge-ok { margin-left: auto; }
.window__body { padding: 18px; }

.badge { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid currentColor; white-space: nowrap; }
.badge--ok { color: var(--ok); }
.badge--warn { color: var(--warn); }
.badge--acc { color: var(--a2); }
.badge--mute { color: var(--muted-2); }
.badge-ok { font-family: var(--f-mono); font-size: 10.5px; color: var(--ok); padding: 3px 10px; border-radius: 999px; background: rgba(47,211,138,.1); }

/* Mock: tablero de muelles */
.docks-ui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dock-card { border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px; display: grid; gap: 10px; background: rgba(255,255,255,.02); }
.dock-card header { display: flex; justify-content: space-between; align-items: center; }
.dock-card header b { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--on-dark-muted); }
.sema { display: flex; gap: 4px; padding: 4px 6px; border-radius: 999px; background: #000; }
.sema i { width: 9px; height: 9px; border-radius: 50%; background: #1f262e; }
.sema[data-s="ok"] i:nth-child(3) { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.sema[data-s="wait"] i:nth-child(2) { background: var(--a2); box-shadow: 0 0 10px var(--a2); }
.sema[data-s="err"] i:nth-child(1) { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.dock-card strong { font-size: 14px; font-weight: 600; }
.dock-card small { color: var(--on-dark-muted); font-size: 12px; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.dock-card.is-err { border-color: rgba(255,90,79,.4); background: rgba(255,90,79,.06); }
.dock-card.is-err .bar i { background: var(--warn); }
@media (max-width: 560px) { .docks-ui { grid-template-columns: repeat(2, 1fr); } }

/* Mock: tablet */
.tablet { max-width: 520px; margin: 0 auto; padding: 14px; border-radius: 30px; background: #0b0f14; border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-dark), inset 0 0 0 6px #050709; }
.tablet__screen { border-radius: 18px; background: #f4f3ef; color: var(--text); padding: 18px; display: grid; gap: 12px; }
.tablet__top { display: flex; justify-content: space-between; align-items: center; }
.tablet__top b { font-family: var(--f-display); font-size: 18px; letter-spacing: -.02em; }
.tablet__top span { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.order { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.order .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); }
.order .ic svg { width: 18px; height: 18px; }
.order b { font-size: 14px; display: block; }
.order small { font-size: 12px; color: var(--muted); }
.order.is-done .ic { background: rgba(47,211,138,.15); color: #15935a; }
.order.is-warn { border-color: rgba(255,90,79,.5); }
.order.is-warn .ic { background: rgba(255,90,79,.12); color: #d23a30; }
.tablet__cta { height: 48px; border-radius: 12px; background: var(--grad); color: var(--on-accent); font-weight: 650; display: grid; place-items: center; }

/* Mock: cámara */
.cam { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #1a222c, #0c1117 60%, #151b22); border: 1px solid var(--line-dark-2); }
.cam__floor { position: absolute; inset: 55% -20% -10%; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; transform: perspective(300px) rotateX(55deg); transform-origin: top; }
.cam__pallet { position: absolute; bottom: 14%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; }
.cam__pallet::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -10px; height: 10px; background: repeating-linear-gradient(90deg, #8a6a43 0 18px, #3a2a18 18px 24px); border-radius: 2px; }
.cam__pallet i { aspect-ratio: 1.1; background: linear-gradient(160deg, #c79a62, #9c7444); border-radius: 2px; position: relative; }
.cam__pallet i.tag::after { content: ""; position: absolute; inset: 30% 30%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 1h3v3H1zM6 1h3v2H6zM1 6h2v3H1zM5 5h4v4H5z' fill='%23111'/%3E%3C/svg%3E") center/70% no-repeat; border-radius: 1px; }
.cam__box { position: absolute; border: 2px solid var(--a2); border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 24px color-mix(in srgb, var(--a2) 50%, transparent); animation: boxIn 3s var(--ease) infinite; }
.cam__box span { position: absolute; top: -24px; left: -2px; padding: 2px 7px; background: var(--a2); color: var(--on-accent); border-radius: 4px; font-family: var(--f-mono); font-size: 10.5px; white-space: nowrap; }
.cam__box--2 { animation-delay: .6s; border-color: var(--ok); box-shadow: 0 0 24px rgba(47,211,138,.45); }
.cam__box--2 span { background: var(--ok); color: #03140b; }
@keyframes boxIn { 0%, 100% { opacity: 1; } 45% { opacity: .55; } }
.cam__hud { position: absolute; inset: 12px 12px auto; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10.5px; color: #cfd6dd; }
.cam__hud span { padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); display: inline-flex; gap: 6px; align-items: center; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.cam__scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--a2), transparent); box-shadow: 0 0 18px var(--a2); animation: scan 3.5s linear infinite; opacity: .7; }
@keyframes scan { from { top: 8%; } to { top: 92%; } }

/* Mock: código */
.code { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; color: #c9d2db; white-space: pre; overflow-x: auto; }
.code .k { color: #8fd3ff; } .code .s { color: var(--a1); } .code .n { color: #c4a5ff; } .code .c { color: #5d6875; }
.sys-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sys-chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-dark-2); font-size: 12.5px; color: var(--on-dark-muted); }

/* =========================================================
   Bento de servicios
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.bento > .card { grid-column: span 2; }
.bento > .card--wide { grid-column: span 4; }
.bento > .card--half { grid-column: span 3; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text); margin-top: auto; padding-top: 8px; }
.card__link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }
.card__num { position: absolute; top: 24px; right: 26px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted-2); }
.card--feature { background: var(--ink-1); color: var(--on-dark); border-color: var(--ink-1); overflow: hidden; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.card--feature p { color: var(--on-dark-muted); }
.card--feature .card__link { color: var(--a1); }
.card--feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 100%, color-mix(in srgb, var(--a3) 30%, transparent), transparent 70%); pointer-events: none; }
.card--feature > * { position: relative; }
.card--feature .stack { display: grid; gap: 14px; }
.mini-code { border-radius: 14px; background: rgba(0,0,0,.45); border: 1px solid var(--line-dark-2); padding: 14px 16px; font-size: 11.5px; }
.card--accent { background: var(--grad); border: 0; color: var(--on-accent); }
.card--accent p { color: color-mix(in srgb, var(--on-accent) 75%, transparent); }
.card--accent .chip-ic { background: rgba(255,255,255,.35); color: var(--on-accent); border-color: rgba(0,0,0,.08); }
.card--accent .card__link { color: var(--on-accent); }
.card--accent .card__num { color: color-mix(in srgb, var(--on-accent) 55%, transparent); }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > .card, .bento > .card--half { grid-column: span 1; }
  .bento > .card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .card, .bento > .card--wide, .bento > .card--half { grid-column: auto; }
  .card--feature { grid-template-columns: 1fr; }
}

/* =========================================================
   Proceso (pasos)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; counter-reset: s; }
.step { position: relative; padding: 0 28px 0 0; display: grid; gap: 12px; align-content: start; }
.step__n { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.step__n b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: var(--white); position: relative; z-index: 1; }
.step__n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step:last-child .step__n::after { display: none; }
.step h3 { font-size: 20px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; }
.step:first-child .step__n b { background: var(--grad); border: 0; color: var(--on-accent); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step__n::after { display: none; } }

/* =========================================================
   Valores (banda oscura)
   ========================================================= */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-top: 64px; }
.value { padding: 32px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.value span { font-family: var(--f-mono); font-size: 12px; color: var(--a2); }
.value h3 { font-size: 24px; letter-spacing: -.025em; }
.value p { color: var(--on-dark-muted); font-size: 15px; }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* =========================================================
   Banda partner Bleecker
   ========================================================= */
.partner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 36px 40px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.partner__mark { display: flex; align-items: center; gap: 14px; }
.partner__mark .x { font-family: var(--f-mono); color: var(--muted-2); }
.partner__logo { height: 54px; padding: 0 18px; border-radius: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.partner__logo--teku { background: var(--ink-1); color: #fff; }
.partner__logo--teku .logo { height: 40px; width: auto; display: block; }
.partner__logo--bl { background: #06111a; color: #fff; padding: 0 20px; }
.partner__logo--bl img { height: 24px; width: auto; display: block; }

/* Logo Bleecker (assets/img/marca/bleecker-*) */
.hero__trust .bl-ico { height: 15px; width: auto; opacity: .8; }
.bl-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.bl-tag img { height: 19px; width: auto; display: block; }
.bl-tag--hero { margin-top: 28px; padding: 10px 16px; border: 1px solid var(--line-dark-2); border-radius: 12px; background: rgba(9, 13, 18, .55); backdrop-filter: blur(8px); }
.bl-tag--hero img { height: 22px; }
.bl-head { display: block; height: 30px; width: auto; margin: 0 auto 22px; opacity: .92; }
.bl-tl { height: 22px; width: auto; display: block; margin-bottom: 4px; }
.partner h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.partner p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; gap: 20px; padding: 28px; } }

/* =========================================================
   Comparativa (logística)
   ========================================================= */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 56px; font-size: 15px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.compare th, .compare td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 600; }
.compare .is-us { background: color-mix(in srgb, var(--a2) 9%, var(--white)); }
.compare th.is-us { background: var(--ink-1); color: var(--a1); }
.yes, .no, .meh { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; }
.yes { background: rgba(47,211,138,.15); color: #138a53; }
.no { background: rgba(255,90,79,.1); color: #c9372d; }
.meh { background: var(--paper-2); color: var(--muted); }
/* Con texto ("Limitada"): píldora que se ajusta al contenido en lugar del círculo */
.meh:not(:empty) { width: auto; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare { min-width: 640px; }

/* Flow: problema → consecuencia */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 56px; }
.flow__arrow { display: grid; place-items: center; color: var(--muted-2); }
.flow__arrow svg { width: 22px; height: 22px; }
.card--danger .chip-ic { background: rgba(255,90,79,.1); color: #c9372d; border-color: rgba(255,90,79,.25); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow__arrow svg { transform: rotate(90deg); } }

/* Arquitectura: códigos · cámaras · servidor */
.arch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; position: relative; }
.arch .card { padding-top: 32px; background: linear-gradient(180deg, #151b23, #10151b); }
.arch__line { position: absolute; top: 54px; left: 16%; right: 16%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-dark-2) 0 6px, transparent 6px 12px); }
.arch__pulse { position: absolute; top: 51px; width: 7px; height: 7px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 12px var(--a2); animation: travel 3s linear infinite; }
@keyframes travel { from { left: 16%; } to { left: 84%; } }
@media (max-width: 900px) { .arch { grid-template-columns: 1fr; } .arch__line, .arch__pulse { display: none; } }

/* =========================================================
   Servicios (página) — filas alternas
   ========================================================= */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc__visual { order: -1; }
.svc__txt { display: grid; gap: 20px; }
.svc__txt h2 { font-size: clamp(30px, 4vw, 46px); }
.svc__txt > p { color: var(--muted); font-size: 17px; }
.svc__visual { border-radius: var(--r-lg); background: var(--ink-1); padding: clamp(20px, 3vw, 36px); position: relative; overflow: hidden; min-height: 320px; display: grid; align-items: center; }
.svc__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 260px at 90% 10%, color-mix(in srgb, var(--a3) 28%, transparent), transparent 70%); }
.svc__visual > * { position: relative; }
.svc-nav { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin: 0 auto 64px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); scrollbar-width: none; }
.svc-nav::-webkit-scrollbar { display: none; }
.svc-nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.svc-nav a:hover, .svc-nav a.is-active { background: var(--ink-1); color: #fff; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc__visual { order: 0; } }

/* Visuales de servicio */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi { border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); padding: 16px; color: var(--on-dark); }
.kpi small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.kpi b { display: block; font-family: var(--f-display); font-size: 30px; letter-spacing: -.03em; margin-top: 6px; }
.kpi .up { color: var(--ok); font-size: 12px; font-family: var(--f-mono); }
.spark { height: 40px; margin-top: 8px; }
.tickets { display: grid; gap: 8px; color: var(--on-dark); }
.ticket { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); }
.ticket b { font-size: 14px; font-weight: 600; }
.ticket small { color: var(--on-dark-muted); font-size: 12px; grid-column: 1; }
.ticket .badge { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.servers { display: grid; gap: 10px; }
.server { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: 14px; }
.server__leds { display: flex; gap: 4px; }
.server__leds i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 2.4s infinite; }
.server__leds i:nth-child(2) { animation-delay: .4s; } .server__leds i:nth-child(3) { animation-delay: .9s; background: var(--a2); }
.server .meter { width: 90px; }
.browser { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-dark); }
.browser__bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #e8e5de; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbc6bc; }
.browser__bar span { margin-left: 8px; flex: 1; height: 22px; border-radius: 6px; background: #fff; font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.browser__page { padding: 22px; display: grid; gap: 12px; }
.browser__page .ln { height: 10px; border-radius: 6px; background: var(--line); }
.browser__page .ln--h { height: 22px; width: 70%; background: var(--ink-1); }
.browser__page .ln--a { width: 34%; height: 30px; border-radius: 999px; background: var(--grad); }
.browser__page .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.browser__page .row div { aspect-ratio: 1.3; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.docs { display: grid; gap: 8px; }
.doc { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: 14px; }
.doc .ft { width: 34px; height: 40px; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 5px; font-family: var(--f-mono); font-size: 9px; font-weight: 600; background: #fff; color: var(--text); clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); }
.doc small { display: block; font-size: 11.5px; color: var(--on-dark-muted); }

/* =========================================================
   Nosotros
   ========================================================= */
.timeline { position: relative; display: grid; gap: 0; margin-top: 64px; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--line), var(--line) 85%, transparent); }
.tl { display: grid; grid-template-columns: 140px 1fr; gap: 40px; padding-bottom: 44px; position: relative; }
.tl__when { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; color: var(--accent-ink); text-transform: uppercase; padding-top: 4px; }
.tl__body { display: grid; gap: 8px; max-width: 640px; position: relative; }
.tl__body::before { content: ""; position: absolute; left: -46px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--a3); }
.tl:last-child .tl__body::before { background: var(--a3); box-shadow: 0 0 0 6px color-mix(in srgb, var(--a3) 20%, transparent); }
.tl h3 { font-size: 22px; letter-spacing: -.02em; }
.tl p { color: var(--muted); }
@media (max-width: 640px) {
  .timeline::before { left: 5px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .tl__body::before { left: -30px; top: -22px; }
}
.quote { font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.18; letter-spacing: -.03em; font-weight: 550; max-width: 980px; }
.quote em { font-style: normal; }

/* =========================================================
   Contacto
   ========================================================= */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__intro { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 30px); }
.contact__intro h2 { font-size: clamp(36px, 5vw, 58px); }
.contact__steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.contact__steps b { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark-2); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--a1); }
.contact__steps strong { display: block; font-weight: 600; color: var(--on-dark); }
.contact__steps span { color: var(--on-dark-muted); font-size: 14.5px; }
.contact__direct { display: grid; gap: 10px; font-size: 15px; color: var(--on-dark-muted); }
.contact__direct a { color: var(--a1); font-weight: 600; }
.contact__direct div { display: flex; gap: 10px; align-items: center; }
.contact__direct svg { width: 16px; height: 16px; color: var(--a2); flex: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__intro { position: static; } }

.form { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); background: rgba(255,255,255,.035); border: 1px solid var(--line-dark-2); backdrop-filter: blur(12px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--on-dark); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-dark-2);
  background: rgba(0,0,0,.25); color: var(--on-dark); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 130px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa5b1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field select option { background: var(--ink-2); }
.field input::placeholder, .field textarea::placeholder { color: #66717d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--a2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a2) 18%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-dark-2); font-size: 13.5px; font-weight: 500; color: var(--on-dark-muted); cursor: pointer; transition: all .2s; }
.chips input:checked + label { background: color-mix(in srgb, var(--a2) 15%, transparent); border-color: var(--a2); color: var(--a1); }
.chips input:focus-visible + label { outline: 2px solid var(--a2); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--on-dark-muted); }
.check input { width: 18px; height: 18px; accent-color: var(--a2); }
.check a { color: var(--a1); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { width: 100%; }
.form__legal { font-size: 12px; color: var(--muted-2); line-height: 1.5; }
.form__err { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: #ffb4a6; background: rgba(255, 92, 64, .1); border: 1px solid rgba(255, 92, 64, .3); }
.field [aria-invalid="true"], .check input[aria-invalid="true"] { border-color: #ff6a50; box-shadow: 0 0 0 4px rgba(255, 106, 80, .15); }
.form .btn:disabled { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__ok { grid-column: 1 / -1; display: none; text-align: center; padding: 40px 10px; gap: 14px; justify-items: center; }
.form__ok .chip-ic { width: 60px; height: 60px; border-radius: 50%; }
.form__ok h3 { font-size: 28px; }
.form__ok p { color: var(--on-dark-muted); max-width: 380px; }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: grid; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .info-cards { grid-template-columns: 1fr; } }


/* =========================================================
   CTA final
   ========================================================= */
.cta-band { position: relative; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); background: var(--ink-1); color: var(--on-dark); overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 120%, color-mix(in srgb, var(--a3) 45%, transparent), transparent 70%), radial-gradient(400px 200px at 0% 0%, color-mix(in srgb, var(--a2) 15%, transparent), transparent 70%); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: url("../img/marca/teku-patron.webp") right top / auto 120px repeat; opacity: .07; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(32px, 4.5vw, 54px); }
.cta-band p { color: var(--on-dark-muted); margin-top: 14px; max-width: 520px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink-0); color: var(--on-dark-muted); padding: 80px 0 36px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 320px; }
.footer__brand .brand .logo { height: 62px; }
.footer h4 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-dark-2); }
.social svg { width: 16px; height: 16px; }
.footer__partner { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px solid var(--line-dark-2); font-size: 12.5px; width: max-content; }
.footer__partner img { height: 22px; width: auto; margin-left: 6px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; font-size: 13px; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__big { margin: 64px auto 0; max-width: 680px; opacity: .16; user-select: none; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 96%); mask-image: linear-gradient(180deg, #000 35%, transparent 96%); }
.footer__big img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* =========================================================
   Contenido v2: dos bloques, Sistema Bleecker, vídeo, casos
   ========================================================= */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1080px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .grid-5 { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions--center { justify-content: center; }
.section--dark .stats { border-color: var(--line-dark); }
.section--dark .stat + .stat { border-color: var(--line-dark); }
.section--dark .stat span { color: var(--on-dark-muted); }
.section--dark .fineprint { color: #6b7682; }
.lw-garvasa { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; color: #1f4e8c; text-transform: uppercase; font-size: 22px; }

/* Pasos: método de 5 fases */
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--5 .step { padding-right: 20px; }
.section--dark .step__n b { background: var(--ink-3); border-color: var(--line-dark-2); }
.section--dark .step__n::after { background: linear-gradient(90deg, var(--line-dark-2), transparent); }
.section--dark .step p { color: var(--on-dark-muted); }
@media (max-width: 1080px) { .steps--5 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 640px) { .steps--5 { grid-template-columns: 1fr; } .steps--5 .step__n::after { display: none; } }

/* Diagrama de los dos bloques (portada y Software) */
.blocks { display: grid; gap: 18px; margin-top: 64px; }
.block { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; }
.block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.block__head h3 { font-size: clamp(22px, 2.4vw, 28px); }
.block__head span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.block__body { display: grid; grid-template-columns: 1.05fr 2fr; gap: 14px; }
.block__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.block__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 15px; line-height: 1.25; transition: border-color .25s, transform .25s var(--ease); }
a.block__item:hover { border-color: var(--text); transform: translateY(-2px); }
.block__item svg { width: 18px; height: 18px; flex: none; color: var(--accent-ink); }
.block__feat { position: relative; overflow: hidden; border-radius: 18px; padding: 22px; background: var(--ink-1); color: var(--on-dark); display: grid; gap: 10px; align-content: start; }
.block__feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 220px at 100% 0%, color-mix(in srgb, var(--a3) 40%, transparent), transparent 70%); }
.block__feat > * { position: relative; }
.block__feat small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--a1); }
.block__feat h4 { font-family: var(--f-display); font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.block__feat ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--on-dark-muted); font-size: 14.5px; }
.block__feat .card__link { color: var(--a1); margin-top: 6px; }
.block--sys { background: var(--paper-2); }
.block--sys .block__items { grid-template-columns: repeat(5, 1fr); }
.block--sys .block__item { background: var(--white); }
@media (max-width: 1000px) {
  .block__body { grid-template-columns: 1fr; }
  .block--sys .block__items { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) { .block__items, .block--sys .block__items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .block__items, .block--sys .block__items { grid-template-columns: 1fr; } }

/* Tarjetas con enlace (software) */
.card--feat-dark { background: var(--ink-1); color: var(--on-dark); border-color: var(--ink-1); overflow: hidden; }
.card--feat-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 260px at 100% 0%, color-mix(in srgb, var(--a3) 36%, transparent), transparent 70%); pointer-events: none; }
.card--feat-dark > * { position: relative; }
.card--feat-dark p { color: var(--on-dark-muted); }
.card--feat-dark .card__link { color: var(--a1); }
.card--feat-dark .chip-ic { background: color-mix(in srgb, var(--a2) 14%, transparent); color: var(--a1); border-color: color-mix(in srgb, var(--a2) 30%, transparent); }
.card .tag { justify-self: start; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--a2) 18%, transparent); color: var(--a1); }
.section--paper .card .tag, .section--white .card .tag { color: var(--accent-ink); }
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.sw-grid > .card--feat-dark { grid-column: span 2; grid-row: span 2; align-content: end; min-height: 340px; }
.sw-grid > .card--feat-dark h3 { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 1000px) { .sw-grid { grid-template-columns: 1fr 1fr; } .sw-grid > .card--feat-dark { grid-column: 1 / -1; grid-row: auto; min-height: 0; } }
@media (max-width: 600px) { .sw-grid { grid-template-columns: 1fr; } }

/* Solución destacada (portada): texto + vídeo en bucle */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature__txt { display: grid; gap: 22px; }
.feature__txt .sec-title { font-size: clamp(32px, 4.2vw, 50px); }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; } }
.loop { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; border: 1px solid var(--line-dark-2); box-shadow: var(--shadow-dark); aspect-ratio: 16 / 9; }
.loop video, .loop img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loop__hud { position: absolute; left: 14px; right: 14px; top: 12px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); pointer-events: none; }
.loop__hud span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(5,7,10,.55); backdrop-filter: blur(6px); }
.loop__hud .rec { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(255,90,79,.25); }
.loop__cap { position: absolute; left: 14px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(5,7,10,.6); backdrop-filter: blur(6px); color: var(--on-dark); font-size: 12.5px; }

/* Gama Bleecker */
.range { margin-top: 40px; }
.range .card { padding: 20px; gap: 8px; }
.range .card h3 { font-size: 17px; }
.range .card p { font-size: 14px; }
.badge-st { justify-self: start; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.badge-st--ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: #158a57; }
.badge-st--soon { background: rgba(138,146,155,.16); color: var(--muted); }
.section--dark .badge-st--ok { color: var(--ok); }
.section--dark .badge-st--soon { color: var(--on-dark-muted); }

/* Reproductor de vídeo con imagen fija y botón */
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow-dark); border: 1px solid var(--line-dark-2); }
.video video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.video__cover { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(5,7,10,.05) 30%, rgba(5,7,10,.75)); border: 0; padding: 0; width: 100%; cursor: pointer; }
.video__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.video__play { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); box-shadow: 0 18px 50px -10px var(--a3); transition: transform .3s var(--ease); }
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video__cover:hover .video__play { transform: scale(1.06); }
.video__meta { position: absolute; left: 22px; bottom: 18px; right: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #fff; text-align: left; font-size: 14px; }
.video__meta b { font-family: var(--f-display); font-size: clamp(17px, 2vw, 22px); font-weight: 650; letter-spacing: -.02em; }
.video__meta span { font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.75); align-self: end; }
.video.is-playing .video__cover { display: none; }

/* Fases del almacén */
.phases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 56px; counter-reset: ph; }
.phase { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.phase::before { counter-increment: ph; content: "0" counter(ph); font-family: var(--f-mono); font-size: 12px; color: var(--muted-2); }
.phase small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.phase h3 { font-size: 18px; }
.phase p { font-size: 13.5px; color: var(--muted); }
.phase.is-soon { background: transparent; border-style: dashed; }
@media (max-width: 1080px) { .phases { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr 1fr; } }

/* Testimonios */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.qcard { margin: 0; position: relative; display: grid; gap: 20px; align-content: space-between; padding: 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.qcard::before { content: "“"; font-family: Georgia, serif; font-size: 72px; line-height: .6; color: var(--a2); }
.qcard blockquote { margin: 0; font-family: var(--f-display); font-size: 19px; line-height: 1.4; letter-spacing: -.015em; font-weight: 500; }
.qcard footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.qcard footer b { color: var(--text); font-weight: 650; }
.section--dark .qcard { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border-color: var(--line-dark); }
.section--dark .qcard footer { border-color: var(--line-dark); color: var(--on-dark-muted); }
.section--dark .qcard footer b { color: var(--on-dark); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* Banda de sistemas (portada) */
.sysband { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); background: var(--ink-1); color: var(--on-dark); display: grid; gap: 32px; }
.sysband::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 320px at 100% 0%, color-mix(in srgb, var(--a3) 26%, transparent), transparent 70%); pointer-events: none; }
.sysband > * { position: relative; }
.sysband__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.sysband__head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.sysband__head p { color: var(--on-dark-muted); margin-top: 12px; max-width: 560px; }
.sysband .grid-5 .card { padding: 20px; gap: 10px; }
.sysband .grid-5 .card h3 { font-size: 16.5px; }
.sysband .grid-5 .card p { font-size: 13.5px; }
@media (max-width: 760px) { .sysband__head { grid-template-columns: 1fr; } }

/* Casos de éxito */
.case { display: grid; grid-template-columns: .8fr 2fr; gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.case:first-child { border-top: 0; padding-top: 0; }
.case__who { display: grid; gap: 14px; align-content: start; }
.case__who img { height: 44px; width: auto; justify-self: start; }
.case__who h2 { font-size: clamp(28px, 3.4vw, 40px); }
.case__who p { color: var(--muted); font-size: 15px; }
.case__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case__steps > div { padding: 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.case__steps small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.case__steps p { font-size: 15px; color: var(--muted); }
.case__steps > div:last-child { background: var(--ink-1); border-color: var(--ink-1); color: var(--on-dark); }
.case__steps > div:last-child p { color: var(--on-dark-muted); }
.case__steps > div:last-child small { color: var(--a1); }
.case__steps b { font-family: var(--f-display); font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.case .qcard { grid-column: 2; margin-top: 2px; }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; } .case .qcard { grid-column: auto; } }
@media (max-width: 700px) { .case__steps { grid-template-columns: 1fr; } }

/* Lista de tarjetas compactas con icono a la izquierda */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.feat h3 { font-size: 17px; margin-bottom: 4px; }
.feat p { font-size: 14.5px; color: var(--muted); }
.section--dark .feat { background: rgba(255,255,255,.03); border-color: var(--line-dark); }
.section--dark .feat p { color: var(--on-dark-muted); }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; } }

/* Páginas legales */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: #3b444d; font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 6px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0; padding: 20px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: #3b444d; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* Valores sobre fondo claro */
.section--white .values, .section--paper .values { border-color: var(--line); }
.section--white .value + .value, .section--paper .value + .value { border-color: var(--line); }
.section--white .value p, .section--paper .value p { color: var(--muted); }
.section--white .value span, .section--paper .value span { color: var(--accent-ink); }
@media (max-width: 900px) { .section--white .value:nth-child(n+3), .section--paper .value:nth-child(n+3) { border-color: var(--line); } }
@media (max-width: 560px) { .section--white .value + .value, .section--paper .value + .value { border-color: var(--line); } }
@media (max-width: 560px) { .loop__hud span:last-child, .loop__cap { display: none; } }

/* Navegación de una línea al final de las subpáginas de Software */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 4px 0; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--text); transition: color .2s; }
.pager a:hover { color: var(--accent-ink); }
.pager svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pager__back svg { transform: rotate(180deg); }
.pager__back:hover svg { transform: rotate(180deg) translateX(3px); }
.pager__next { flex-direction: column; align-items: flex-end !important; gap: 2px !important; text-align: right; }
.pager__next small { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.pager__next span { display: inline-flex; align-items: center; gap: 10px; }
.pager__next:hover svg { transform: translateX(3px); }

/* Fases del almacén: línea de proceso. Lo disponible manda; lo próximo queda en segundo plano. */
.flowline { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.flowline::before { content: ""; position: absolute; left: 8px; right: 0; top: 8px; height: 2px; background: linear-gradient(90deg, var(--a2), var(--a3) 70%, color-mix(in srgb, var(--a3) 20%, transparent)); opacity: .45; }
.fl { position: relative; padding: 40px 20px 0 0; display: grid; gap: 6px; align-content: start; }
.fl__dot { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px color-mix(in srgb, var(--a2) 20%, var(--paper)); }
.fl small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.fl h3 { font-size: 19px; letter-spacing: -.02em; }
.fl p { font-size: 14px; color: var(--muted); }
.fl.is-soon small, .fl.is-soon h3, .fl.is-soon p { color: var(--muted-2); }
.fl.is-soon h3 { font-weight: 600; }
.fl.is-soon .fl__dot { width: 14px; height: 14px; top: 2px; left: 2px; background: var(--paper); border: 2px dashed var(--muted-2); box-shadow: 0 0 0 6px var(--paper); }
.fl__soon { justify-self: start; margin-top: 2px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 1000px) {
  .flowline { grid-template-columns: 1fr; }
  .flowline::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--a2), var(--a3)); }
  .fl { padding: 0 0 28px 44px; }
  .fl:last-child { padding-bottom: 0; }
}

/* Imágenes de ejemplo con su nota debajo */
.svc__fig { margin: 0; display: grid; gap: 12px; }
.svc:nth-child(even) .svc__fig { order: -1; }
@media (max-width: 900px) { .svc:nth-child(even) .svc__fig { order: 0; } }
.svc__cap { font-size: 12.5px; color: var(--muted-2); text-align: center; }
.section--dark .svc__cap { color: #6b7682; margin-top: 10px; }
