/* ==========================================================================
   tebusco · sistema de diseño y componentes
   Naranja de los imanes del robot + escala neutra. Modo oscuro (negro) y
   claro (blanco). Sin dependencias ni build.
   ========================================================================== */

/* 1. Fuentes (Geist y Geist Mono, OFL, autoalojadas) ----------------------- */
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* Naranja (imanes del robot) */
  --o-50: #FFF5EA;  --o-100: #FFE8CC; --o-200: #FFCF99; --o-300: #FFB25C;
  --o-400: #FF9C2E; --o-500: #FF8A00; --o-600: #E57200; --o-700: #B35900;
  --o-800: #8A4400; --o-900: #5C2D00; --o-950: #2E1600;
  /* Neutros */
  --n-0: #FFFFFF;   --n-50: #FAFAFA;  --n-100: #F4F4F5; --n-200: #E7E7EA;
  --n-300: #D2D2D8; --n-400: #A1A1AB; --n-500: #71717B; --n-600: #52525B;
  --n-700: #3A3A42; --n-800: #26262C; --n-850: #1A1A1F; --n-900: #111114;
  --n-950: #09090B;
  /* Detalles del robot */
  --led: #A8F432;
  --visor: #0D0F14;

  --f-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --hd-h: 68px;
  --wrap: 1360px;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
}

:root,
[data-theme='light'] {
  color-scheme: light;
  --bg: var(--n-0);
  --bg-2: var(--n-50);
  --surface: var(--n-0);
  --surface-2: var(--n-100);
  --ink: var(--n-950);
  --ink-2: var(--n-600);
  --ink-3: var(--n-500);
  --line: var(--n-200);
  --line-2: var(--n-300);
  --accent: var(--o-500);
  --accent-ink: var(--o-700);       /* naranja para texto sobre blanco (4.8:1) */
  --on-accent: var(--n-950);
  --dot: var(--o-500);
  --dot-hot: #E64A00;
  --dot-off: rgb(9 9 11 / 0.07);
  --glass: rgb(255 255 255 / 0.62);
  --glass-line: rgb(9 9 11 / 0.08);
  --shadow: 0 30px 80px -40px rgb(9 9 11 / 0.35), 0 8px 24px -16px rgb(9 9 11 / 0.18);
  --robot-shadow: rgb(9 9 11 / 0.28);
  --sel: var(--o-200);
}

[data-theme='dark'] {
  color-scheme: dark;
  --bg: var(--n-950);
  --bg-2: var(--n-900);
  --surface: var(--n-900);
  --surface-2: var(--n-850);
  --ink: var(--n-50);
  --ink-2: var(--n-400);
  --ink-3: var(--n-500);
  --line: var(--n-800);
  --line-2: var(--n-700);
  --accent: var(--o-500);
  --accent-ink: var(--o-400);
  --on-accent: var(--n-950);
  --dot: var(--o-500);
  --dot-hot: #FFE9CC;
  --dot-off: rgb(255 255 255 / 0.06);
  --glass: rgb(17 17 20 / 0.55);
  --glass-line: rgb(255 255 255 / 0.09);
  --shadow: 0 30px 80px -40px rgb(0 0 0 / 0.9), 0 8px 24px -16px rgb(0 0 0 / 0.6);
  --robot-shadow: rgb(0 0 0 / 0.75);
  --sel: var(--o-800);
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--hd-h) + 1rem);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.4s ease, color 0.4s ease;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--sel); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.6em;
  height: 1.6em;
  padding: 0 0.35em;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  font: 500 0.7rem/1 var(--f-mono);
  color: var(--ink-2);
}

/* Lenis (scroll con peso) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* 4. Utilidades ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  padding: 0.75rem 1rem; border-radius: var(--r-sm);
  background: var(--accent); color: var(--on-accent); font-weight: 600;
}
.skip:focus { top: 1rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 500 0.75rem/1.4 var(--f-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}
.giant {
  font-weight: 700;
  font-size: clamp(3.6rem, 16vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.065em;
  margin-left: -0.05em;
  white-space: nowrap;
}
.giant[data-fit] { width: max-content; max-width: none; }
.led-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 0 3px rgb(168 244 50 / 0.18), 0 0 12px rgb(168 244 50 / 0.6);
  animation: ledPulse 2.4s ease-in-out infinite;
}
@keyframes ledPulse { 50% { box-shadow: 0 0 0 6px rgb(168 244 50 / 0.05), 0 0 18px rgb(168 244 50 / 0.8); } }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font: 500 0.9rem/1 var(--f-sans);
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn--accent:hover { background: var(--o-400); border-color: var(--o-400); }
.btn svg { width: 16px; height: 16px; flex: none; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font: 500 0.95rem/1.2 var(--f-sans);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s, gap 0.3s var(--ease-out);
}
.link-arrow:hover { color: var(--accent-ink); gap: 0.9rem; }

/* 5. Header (vidrio líquido que se esconde al bajar) ------------------------ */
.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--hd-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: transform 0.6s var(--ease-out), color 0.35s ease;
}
.hd.is-hidden { transform: translateY(calc(-100% - 12px)); }
.hd.on-dark { color: var(--n-50); --ink-2: var(--n-400); --line-2: rgb(255 255 255 / 0.18); --glass: rgb(13 15 20 / 0.5); --glass-line: rgb(255 255 255 / 0.1); }
.hd__brand { display: inline-flex; align-items: center; gap: 0.7rem; justify-self: start; min-height: 44px; }
.hd__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 1px var(--glass-line), 0 6px 16px -8px rgb(0 0 0 / 0.5);
  transition: transform 0.5s var(--ease-out);
}
.hd__icon img { width: 100%; height: 100%; object-fit: cover; }
.hd__brand:hover .hd__icon { transform: rotate(-8deg) scale(1.06); }
.hd__word { font: 650 1.2rem/1 var(--f-sans); letter-spacing: -0.045em; }

/* píldora de navegación con vidrio */
.hd__nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 rgb(255 255 255 / 0.18), 0 10px 30px -18px rgb(0 0 0 / 0.45);
}
.hd__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font: 500 0.875rem/1 var(--f-sans);
  color: inherit;
  transition: background-color 0.25s, color 0.25s;
}
.hd__nav a:hover { background: rgb(127 127 127 / 0.14); }
.hd__nav a[aria-current='page'] { background: var(--ink); color: var(--bg); }
.hd.on-dark .hd__nav a[aria-current='page'] { background: var(--n-50); color: var(--n-950); }

.hd__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.45rem; justify-self: end; }
.hd__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  color: inherit;
  font: 500 0.85rem/1 var(--f-sans);
  transition: transform 0.3s var(--ease-out), background-color 0.2s;
}
.hd__btn:hover { transform: translateY(-1px); }
.hd__btn svg { width: 18px; height: 18px; flex: none; }
.hd__btn kbd { color: inherit; border-color: currentColor; opacity: 0.55; }
.hd__theme .i-sun { display: none; }
[data-theme='dark'] .hd__theme .i-sun { display: block; }
[data-theme='dark'] .hd__theme .i-moon { display: none; }
.hd__burger { display: none; }
.hd__burger span { position: relative; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.hd__burger span::before, .hd__burger span::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.hd__burger span::before { top: -6px; }
.hd__burger span::after { top: 6px; }
.menu-open .hd__burger span { background: transparent; }
.menu-open .hd__burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .hd__burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* 6. Intro: arranque del sistema ---------------------------------------------- */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
  background: var(--visor);
  color: var(--n-50);
  transform-origin: 0 0;
  cursor: pointer;
}
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__log {
  position: absolute;
  top: clamp(1rem, 4vh, 2.5rem);
  left: var(--gutter);
  margin: 0;
  font: 400 clamp(0.65rem, 0.9vw, 0.8rem)/1.75 var(--f-mono);
  color: rgb(244 244 245 / 0.62);
  white-space: pre;
  pointer-events: none;
}
.intro__log b { color: var(--led); font-weight: 500; }
.intro__log em { color: var(--o-400); font-style: normal; }
.intro__count {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1rem, 4vh, 2.5rem);
  font: 300 clamp(3rem, 9vw, 8rem)/0.8 var(--f-mono);
  letter-spacing: -0.06em;
  color: rgb(244 244 245 / 0.9);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.intro__count small { font-size: 0.25em; letter-spacing: 0; color: var(--o-500); vertical-align: top; margin-left: 0.3em; }
.intro__say {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 0);
  font: 500 clamp(0.8rem, 1.2vw, 1rem)/1.4 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--o-400);
  white-space: nowrap;
  pointer-events: none;
}
.intro__skip {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1rem, 4vh, 2.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--n-50);
  font: 500 0.8rem/1 var(--f-mono);
}
.intro__skip:hover { border-color: var(--o-500); color: var(--o-400); }
.intro__wipe { position: absolute; inset: 0; z-index: 5; background: var(--o-500); transform: translateY(101%); pointer-events: none; }
.intro__log, .intro__count, .intro__say, .intro__skip { z-index: 2; }

/* revelado al terminar la intro */
html.intro-hold .hd { transform: translateY(calc(-100% - 12px)); }
html.intro-hold .hero__robot { opacity: 0; transform: translateX(-50%) translateY(9%) scale(0.9); }
html.intro-hold .hero__hud, html.intro-hold .hero__foot { opacity: 0 !important; }
html.intro-reveal .hero__robot { transition: opacity 0.9s var(--ease-out) 0.15s, transform 1.3s var(--ease-out) 0.15s; }
html.intro-reveal .hero__hud, html.intro-reveal .hero__foot { transition: opacity 0.9s ease 0.7s; }
html.intro-reveal .hd { transition: transform 1s var(--ease-out) 0.5s; }

/* cambio de tema con revelado circular */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* 7. Hero: el robot te busca ---------------------------------------------------- */
.hero { position: relative; }
.hero__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.has-zoom .hero { height: 215vh; height: 215svh; }
.has-zoom .hero__pin { position: sticky; top: 0; }
.hero__bgfx {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 58%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--bg);
}
.hero__zoom { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.hero__led { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__word {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font: 800 26vw/0.8 var(--f-sans);
  letter-spacing: -0.07em;
  color: var(--accent);
  opacity: 0.9;
}
.js .hero__word { display: none; }
.hero__robot {
  position: absolute;
  left: 50%;
  bottom: 3svh;
  width: min(94vw, 112svh);
  aspect-ratio: 1448 / 1086;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__bot { position: absolute; inset: 0; will-change: transform; }
.hero__bot img { width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.hero__shadow {
  position: absolute;
  left: 30%; right: 30%;
  top: 80.5%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--robot-shadow), transparent);
  filter: blur(6px);
  transform-origin: 50% 50%;
}
.hero__eyes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__eyes rect { fill: #F4F6FF; }
.hero__eyes rect.off { opacity: 0; }
.hero__eyes .eyes { transition: fill 0.3s; }
.hero__eyes.is-hot rect { fill: var(--o-300); }
.hero__magnet {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(var(--m, 0.6));
  background: radial-gradient(closest-side, rgb(255 138 0 / 0.55), rgb(255 138 0 / 0.12) 55%, transparent);
  opacity: var(--mo, 0);
  mix-blend-mode: screen;
  pointer-events: none;
}
[data-theme='light'] .hero__magnet { mix-blend-mode: multiply; background: radial-gradient(closest-side, rgb(255 138 0 / 0.4), rgb(255 138 0 / 0.08) 55%, transparent); }
.hero__poke {
  position: absolute;
  left: 33%; top: 5%;
  width: 34%; height: 78%;
  border: 0;
  border-radius: 40%;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}
.hero__poke:focus-visible { outline-offset: -6px; }
.hero__visor { position: absolute; inset: 0; background: var(--visor); opacity: 0; pointer-events: none; }

.hero__hud {
  position: absolute;
  top: calc(var(--hd-h) + 0.75rem);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font: 400 0.75rem/1.4 var(--f-mono);
  color: var(--ink-2);
  pointer-events: none;
}
.hero__status { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__status span { color: var(--ink); }
.hero__coords b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1.25rem, 4svh, 2.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  pointer-events: none;
}
.hero__foot > * { pointer-events: auto; }
.hero__title {
  max-width: 13ch;
  font-size: clamp(1.7rem, 2.9vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero__title .hero__l1 { color: var(--ink); }
.hero__side { display: grid; justify-items: end; gap: 0.85rem; text-align: right; }
.hero__sub { max-width: 32ch; font: 400 0.8rem/1.5 var(--f-mono); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.6rem 1.25rem; }
.hero__cta { min-height: 44px; padding-inline: 1.15rem; font-size: 0.9rem; }

/* 8. Manifiesto (dentro del visor) ----------------------------------------------- */
.mani {
  position: relative;
  background: var(--visor);
}
.has-zoom .mani { background: transparent; }
.mani__pin { background: var(--visor); transform-origin: 50% 50%; }
.mani {
  color: var(--n-50);
  --ink-2: var(--n-400);
}
.has-zoom .mani { height: 260vh; height: 260svh; }
.mani__pin {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: calc(var(--hd-h) + 2rem) var(--gutter) 3rem;
  overflow: hidden;
}
.has-zoom .mani__pin { position: sticky; top: 0; height: 100svh; }
.mani__file { position: absolute; top: calc(var(--hd-h) + 1rem); left: var(--gutter); font: 400 0.75rem/1.4 var(--f-mono); color: var(--n-500); }
.mani__count { position: absolute; bottom: 2rem; right: var(--gutter); font: 400 0.75rem/1.4 var(--f-mono); color: var(--n-500); }
.mani__count b { color: var(--o-400); font-weight: 500; }
.mani__lines { display: grid; gap: clamp(0.4rem, 1.5vh, 1rem); }
.mani__lines li {
  font-size: clamp(2.2rem, 7.4vw, 8.2rem);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.mani__lines em { font-style: normal; color: var(--o-500); }
.mani__lines .g { color: rgb(244 244 245 / 0.22); }
.mani__lines .h { color: rgb(244 244 245 / 0.09); }
.mani__lines em .g { color: rgb(255 138 0 / 0.35); }
.mani__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: radial-gradient(rgb(255 255 255 / 0.07) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
}

/* 9. Repositorio en la portada (la esfera vive en repo.css) ---------------------------- */
.work { position: relative; background: var(--bg); padding-top: clamp(5rem, 12vh, 9rem); }
.work__head { display: grid; gap: 1.5rem; padding-bottom: clamp(1rem, 4vh, 2.5rem); }
.work__head .giant { margin-block: 0.2em 0.05em; }
.work__headrow { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.work__lead { max-width: 34ch; color: var(--ink-2); }
.rlist--home { padding-block: clamp(2.5rem, 6vh, 4rem) 0; }
.rlist--home .eyebrow { margin-bottom: 1rem; }

/* 9b. Servicios (transformación digital) ------------------------------------------------ */
.svc { padding-block: clamp(5rem, 14vh, 9rem) clamp(2rem, 6vh, 4rem); }
.svc__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.svc__title { max-width: 18ch; font-size: clamp(2.2rem, 5.4vw, 5.2rem); font-weight: 650; line-height: 0.98; letter-spacing: -0.055em; }
.svc__title em { font-style: normal; color: var(--accent-ink); }
.svc__list { border-top: 1px solid var(--line); }
.svc__item {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.2fr) minmax(0, 1fr) 15rem;
  align-items: center;
  gap: 1rem 2rem;
  padding: clamp(1.25rem, 3vh, 2rem) 1rem;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.svc__item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease-out);
}
.svc__num { font: 400 0.8rem/1 var(--f-mono); color: var(--accent-ink); transition: color 0.3s; }
.svc__item h3 { font-size: clamp(1.25rem, 2.2vw, 2rem); letter-spacing: -0.04em; transition: transform 0.55s var(--ease-out); }
.svc__item p { color: var(--ink-2); font-size: 0.95rem; transition: color 0.3s; }
.svc__item p a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.svc__item p a::after { content: " →"; }
.svc__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem; }
.svc__tags li { padding: 0.35rem 0.65rem; border: 1px solid var(--line-2); border-radius: 999px; font: 400 0.7rem/1 var(--f-mono); color: var(--ink-2); white-space: nowrap; transition: color 0.3s, border-color 0.3s; }
@media (hover: hover) {
  .svc__item:hover::before { transform: scaleY(1); }
  .svc__item:hover, .svc__item:hover p, .svc__item:hover .svc__num { color: var(--on-accent); }
  .svc__item:hover h3 { transform: translateX(0.5rem); }
  .svc__item:hover .svc__tags li { color: var(--on-accent); border-color: rgb(9 9 11 / 0.35); }
}

/* 9c. Nosotros ----------------------------------------------------------------------------- */
.about { padding-block: clamp(5rem, 14vh, 9rem); }
.about__purpose {
  margin: 1.5rem 0 clamp(2.5rem, 7vh, 4.5rem);
  max-width: 20ch;
  font-size: clamp(2.4rem, 6.6vw, 6.6rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.058em;
}
.about__purpose em { font-style: normal; color: var(--accent-ink); }
.js .about__purpose .w { opacity: var(--o, 0.14); transition: opacity 0.25s linear; }
.about__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.about__grid h3 { margin-bottom: 0.7rem; font: 400 0.75rem/1.4 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.about__grid p { max-width: 34ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; }
.clients { margin-top: clamp(3rem, 9vh, 5.5rem); }
.clients__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(6.5rem, 12vw, 10.5rem), 1fr));
  gap: clamp(0.5rem, 1.1vw, 1rem); margin-top: 1.5rem;
}
/* Logos en tarjeta blanca: se leen igual en claro y oscuro. --k = raíz de la proporción del logo */
.clients__list li {
  --s: clamp(2.3rem, 3.7vw, 3.5rem);
  display: grid; place-items: center;
  height: clamp(4.5rem, 8vw, 6.5rem); padding-inline: 0.75rem;
  border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgb(20 20 25 / 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.clients__list li img { width: calc(var(--s) * var(--k, 1)); max-width: 100%; height: auto; max-height: 70%; object-fit: contain; }
.clients__list li.is-txt { font-size: clamp(0.85rem, 1.25vw, 1.1rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; color: #141418; text-align: center; }
.clients__list li:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(20 20 25 / 0.08), 0 16px 30px -18px var(--accent); }

/* 11. Stack (marquesina) ------------------------------------------------------------- */
.stack { padding-block: clamp(3rem, 8vh, 6rem); overflow: hidden; border-block: 1px solid var(--line); }
.stack__title { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.stack__row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.stack__track { display: flex; flex: none; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); padding-right: clamp(1.2rem, 2.5vw, 2.4rem); will-change: transform; }
.stack__track span { font-size: clamp(2.2rem, 6.4vw, 6rem); font-weight: 650; letter-spacing: -0.055em; line-height: 1.1; white-space: nowrap; }
.stack__track span.o { color: color-mix(in srgb, var(--ink) 24%, transparent); }
.stack__track span.a { color: var(--accent); }
.stack__track i { width: clamp(10px, 1.2vw, 16px); height: clamp(10px, 1.2vw, 16px); border-radius: 3px; background: var(--accent); flex: none; }
.no-js .stack__track, .reduce .stack__track { flex-wrap: wrap; }

/* 12. Preguntas ------------------------------------------------------------------- */
.faq { padding-block: clamp(5rem, 12vh, 8rem); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem 4rem; }
.faq h2 { font-size: clamp(1.8rem, 3.6vw, 3.4rem); letter-spacing: -0.05em; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding-block: 1rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 12px; height: 12px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent-ink); }
.faq details p { max-width: 62ch; padding-bottom: 1.25rem; color: var(--ink-2); }

/* 13. Footer -------------------------------------------------------------------- */
.ft { position: relative; padding-block: clamp(4rem, 10vh, 7rem) 2rem; background: var(--visor); color: var(--n-50); overflow: hidden; --ink-2: var(--n-400); --line: rgb(255 255 255 / 0.1); }
.ft .eyebrow { color: var(--n-400); }
.ft__mailrow { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); margin: 1.2rem 0 clamp(3rem, 8vh, 5rem); }
.ft__mail {
  font-size: clamp(1.9rem, 6.8vw, 7rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, var(--o-500), var(--o-500)) 0 100% / 0 3px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
  word-break: break-all;
}
.ft__mail:hover { background-size: 100% 3px; color: var(--o-300); }
.ft__eyes { width: clamp(64px, 8vw, 120px); flex: none; padding: 10px 12px; border-radius: 16px; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.ft__eyes rect { fill: #F4F6FF; }
.ft__eyes rect.off { opacity: 0; }
.ft__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.ft__grid h3 { margin-bottom: 0.6rem; font: 400 0.75rem/1.4 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--n-500); }
.ft__grid address, .ft__grid p { font-style: normal; color: var(--n-200); font-size: 0.95rem; line-height: 1.6; }
.ft__grid a { color: var(--n-50); border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.ft__grid a:hover { color: var(--o-300); border-color: currentColor; }
.ft__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font: 400 0.75rem/1.5 var(--f-mono); color: var(--n-500); }
.ft__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.ft__bottom a, .ft__bottom button { min-height: 32px; padding: 0; border: 0; background: none; color: var(--n-300); font: inherit; }
.ft__bottom a:hover, .ft__bottom button:hover { color: var(--o-300); }
.ft__word {
  margin-top: clamp(2rem, 6vh, 4rem);
  font-size: clamp(4rem, 27vw, 26rem);
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: -0.075em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.12);
  user-select: none;
  white-space: nowrap;
}

/* 14. Buscador de comandos (⌘K) ------------------------------------------------- */
.cmdk {
  width: min(640px, calc(100vw - 2rem));
  max-height: min(560px, calc(100svh - 6rem));
  margin: 12svh auto auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  color: var(--ink);
  box-shadow: var(--shadow), 0 40px 120px -40px rgb(0 0 0 / 0.6);
  overflow: hidden;
}
.cmdk[open] { display: flex; flex-direction: column; animation: cmdkIn 0.28s var(--ease-out); }
.cmdk::backdrop { background: rgb(9 9 11 / 0.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes cmdkIn { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.cmdk__search { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.1rem; border-bottom: 1px solid var(--line); }
.cmdk__search svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.cmdk__search input { flex: 1; min-width: 0; min-height: 58px; border: 0; background: transparent; font-size: 1rem; outline: none; }
.cmdk__list { flex: 1; overflow-y: auto; padding: 0.5rem; }
.cmdk__group { padding: 0.75rem 0.75rem 0.35rem; font: 400 0.7rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.cmdk__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 46px;
  padding: 0 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}
.cmdk__item i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 7px; background: var(--surface-2); color: var(--ink-2); font: 500 0.7rem/1 var(--f-mono); font-style: normal; }
.cmdk__item small { margin-left: auto; font: 400 0.72rem/1 var(--f-mono); color: var(--ink-3); }
.cmdk__item[aria-selected='true'] { background: var(--ink); color: var(--bg); }
.cmdk__item[aria-selected='true'] i { background: var(--accent); color: var(--on-accent); }
.cmdk__item[aria-selected='true'] small { color: inherit; opacity: 0.6; }
.cmdk__empty { padding: 2rem 1rem; text-align: center; color: var(--ink-3); font: 400 0.85rem/1.5 var(--f-mono); }
.cmdk__foot { display: flex; gap: 1.25rem; padding: 0.7rem 1.1rem; border-top: 1px solid var(--line); font: 400 0.72rem/1 var(--f-mono); color: var(--ink-3); }
.cmdk__foot span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* 15. Ficha de proyecto (bento) ------------------------------------------------------ */
.case {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.case::backdrop { background: rgb(0 0 0 / 0.5); }
.case[open] { animation: caseIn 0.6s var(--ease-out); }
@keyframes caseIn { from { opacity: 0; transform: translateY(24px) scale(0.985); } }
html.case-open { overflow: hidden; }
.case__inner { max-width: 1440px; margin-inline: auto; padding: clamp(4.5rem, 8vw, 6rem) var(--gutter) 2rem; }
.case__close {
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 2;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-out);
}
.case__close:hover { transform: rotate(90deg); }
.case__close svg { width: 20px; height: 20px; }
.case__bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(70px, 9vw, 120px); gap: clamp(0.6rem, 1.2vw, 1rem); }
.case__bento > * { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.case__bento img { width: 100%; height: 100%; object-fit: cover; }
.case__hero { grid-column: span 8; grid-row: span 4; background: var(--k, var(--surface-2)); }
.case__info { grid-column: span 4; grid-row: span 4; display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--line); background: var(--bg-2); overflow: auto; }
.case__num { font: 400 0.75rem/1 var(--f-mono); color: var(--accent-ink); }
.case__title { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; }
.case__client { font: 400 0.8rem/1.4 var(--f-mono); color: var(--ink-2); }
.case__text { color: var(--ink-2); }
.case__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.case__tags li { padding: 0.35rem 0.7rem; border-radius: 999px; background: var(--surface-2); font: 400 0.72rem/1 var(--f-mono); }
.case__visit { margin-top: auto; align-self: flex-start; }
.case__crop--a { grid-column: span 5; grid-row: span 2; }
.case__crop--b { grid-column: span 4; grid-row: span 2; }
.case__crop--a img { object-position: 15% 80%; transform: scale(1.5); }
.case__crop--b img { object-position: 85% 20%; transform: scale(1.7); }
.case__url { grid-column: span 3; grid-row: span 2; display: grid; place-items: center; padding: 1rem; background: var(--k, var(--accent)); color: #fff; text-align: center; font: 400 0.8rem/1.4 var(--f-mono); word-break: break-all; }
.case__nav { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.case__nav button { min-height: 44px; padding: 0 0.25rem; border: 0; background: none; font: 500 1rem/1 var(--f-sans); }
.case__nav button:hover { color: var(--accent-ink); }

/* 16. Avisos ----------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 120;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 500 0.85rem/1 var(--f-mono);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* 17. Aparición al hacer scroll ------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='zoom'] { transform: scale(0.92); }
.js [data-reveal='zoom'].is-in { transform: none; }

/* 18. Adaptable ------------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc__item { grid-template-columns: 3rem minmax(0, 1fr); }
  .svc__item p, .svc__tags { grid-column: 2; }
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 860px) {
  :root { --hd-h: 60px; }
  .hd { grid-template-columns: 1fr auto; }
  .hd__nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.25rem;
    padding: var(--hd-h) var(--gutter) 2rem;
    border-radius: 0;
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s, transform 0.5s var(--ease-out), visibility 0s 0.35s;
  }
  .menu-open .hd__nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s, transform 0.5s var(--ease-out); }
  .menu-open .hd { color: var(--ink); }
  .hd__nav a { min-height: 64px; padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: clamp(2rem, 9vw, 3rem); font-weight: 650; letter-spacing: -0.05em; }
  .hd__nav a:hover, .hd__nav a[aria-current='page'] { background: none; color: var(--accent-ink); }
  .hd__burger { display: inline-flex; }
  .hd__cmd span, .hd__cmd kbd { display: none; }
  .hero__robot { width: 120vw; bottom: max(230px, 28svh); }
  .hero__poke { left: 36%; width: 28%; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .hero__side { justify-items: start; text-align: left; gap: 0.65rem; }
  .hero__ctas { justify-content: flex-start; }
  .hero__coords { display: none; }
  .mani__lines li { white-space: normal; }
  .case__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .case__hero, .case__info { grid-column: 1 / -1; grid-row: auto; }
  .case__hero { aspect-ratio: 16 / 10; }
  .case__crop--a, .case__crop--b { grid-column: span 1; grid-row: auto; aspect-ratio: 1; }
  .case__url { grid-column: 1 / -1; grid-row: auto; min-height: 80px; }
}
@media (max-width: 560px) {
  .ft__grid { grid-template-columns: minmax(0, 1fr); }
  .ft__mailrow { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: clamp(1.85rem, 8.2vw, 2.35rem); }
  .hero__sub { font-size: 0.78rem; max-width: 36ch; line-height: 1.45; }
  .cmdk__foot { display: none; }
}
@media (max-height: 640px) and (min-width: 861px) {
  .hero__robot { width: min(80vw, 100svh); }
  .hero__title { font-size: clamp(1.4rem, 2.2vw, 2rem); }
}

/* 19. Movimiento reducido ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   Nosotros · propósito (escena con zoom) y clientes (cintas con imanes) · about.js
   ===================================================================== */
.about { padding-block: clamp(5rem, 14vh, 9rem); }
.about__purpose { transform-origin: 0 50%; will-change: transform; }
.about__purpose .w { opacity: var(--o, 1); transition: opacity 0.2s linear; }
.about__pillars { list-style: none; margin: clamp(2.5rem, 7vh, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.about__pillar { position: relative; overflow: hidden; min-height: clamp(220px, 30vh, 310px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.4rem, 2.6vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--surface-2), var(--bg) 70%); transition: border-color 0.4s; }
.about__pillar:hover { border-color: color-mix(in srgb, var(--o-500) 55%, var(--line)); }
.about__n { position: absolute; top: -0.14em; right: 0.06em; font-size: clamp(5rem, 11vw, 10rem); font-weight: 700; letter-spacing: -0.08em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; transition: -webkit-text-stroke-color 0.4s; }
.about__pillar:hover .about__n, .about__pillar.is-on .about__n { -webkit-text-stroke-color: color-mix(in srgb, var(--o-500) 70%, transparent); }
.about__pillar h3 { position: relative; font: 500 0.78rem/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.about__pillar p { position: relative; margin-top: 0.7rem; max-width: 30ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.45; letter-spacing: -0.01em; }
.about__mag { position: absolute; left: clamp(1.4rem, 2.6vw, 2.2rem); top: clamp(1.4rem, 2.6vw, 2.2rem); width: 12px; height: 12px; border-radius: 3px; background: var(--o-500); }
.about__pillar.is-on .about__mag, .about__pillar:hover .about__mag { animation: magPulse 1.6s ease-out infinite; }
@keyframes magPulse { 0% { box-shadow: 0 0 0 0 rgb(255 138 0 / 0.55); } 100% { box-shadow: 0 0 0 20px rgb(255 138 0 / 0); } }
/* la escena queda fija mientras dura (solo pantallas amplias y con movimiento) */
.about.is-pinned { height: 270vh; padding: 0; }
.about.is-pinned .about__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.about.is-pinned .about__inner { width: 100%; }
.about.is-pinned .about__pillar { opacity: 0; will-change: transform, opacity; }

.clients { margin-top: 0; padding-block: clamp(3rem, 9vh, 6rem); overflow: hidden; border-top: 1px solid var(--line); }
.clients > .wrap { margin-bottom: clamp(1.2rem, 3vh, 2rem); }
.clients > .clients__list { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.clients__row { padding-block: 0.5rem; }
.clients__row + .clients__row { margin-top: clamp(0.3rem, 0.8vw, 0.6rem); }
.clients__track { display: flex; gap: clamp(0.7rem, 1.4vw, 1.1rem); width: max-content; list-style: none; margin: 0; padding: 0 clamp(0.7rem, 1.4vw, 1.1rem) 0 0; will-change: transform; }
.clients__track li { --s: clamp(2.4rem, 4vw, 3.6rem); flex: none; display: grid; place-items: center; height: clamp(5.2rem, 9vw, 7.4rem); min-width: calc(var(--s) * 2.6);
  padding-inline: clamp(1.2rem, 2vw, 1.8rem); border-radius: 20px; background: #fff; translate: var(--mx, 0) var(--my, 0);
  transition: translate 0.5s var(--ease-out), box-shadow 0.4s, scale 0.4s var(--ease-out); }
.clients__track li img { width: calc(var(--s) * var(--k, 1)); max-width: 100%; height: auto; max-height: 72%; object-fit: contain; }
.clients__track li.is-txt { font-weight: 650; color: #141418; font-size: clamp(1rem, 1.5vw, 1.3rem); letter-spacing: -0.03em; }
.clients__track li.is-pulled { scale: 1.07; box-shadow: 0 0 0 2px var(--o-500), 0 24px 40px -18px rgb(255 138 0 / 0.6); }
@media (max-width: 760px) {
  .about__pillars { grid-template-columns: 1fr; }
  .about__pillar { min-height: 0; padding-top: 3.6rem; }
}

/* El menú queda fijo: ya no se esconde al bajar */
.hd.is-hidden { transform: none; }
