/* =============================================================
   Rivet Studio · styles.css
   1. Tokens  2. Reset  3. Utilidades  4. Tipografía
   5. Componentes  6. Secciones  7. Efectos  8. Responsive
   9. Movimiento reducido
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg-deep: #03060d;
  --bg-soft: #060b17;
  --ink: #eaf2ff;
  --ink-2: rgba(234, 242, 255, 0.72);
  --ink-3: rgba(234, 242, 255, 0.42);
  --blue: #4da3ff;
  --blue-2: #2a7ad6;
  --blue-3: #0d3a7a;
  --ice: #cfe6ff;
  --sky: #8ec5ff;
  --line: rgba(160, 200, 255, 0.14);
  --line-2: rgba(160, 200, 255, 0.28);
  --glass-solid: rgba(9, 17, 34, 0.92);

  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --maxw: 1280px;
  --nav-h: 76px;
  --radius: 22px;
  --radius-sm: 14px;

  /* la palabra gigante del hero y la frase que la continúa */
  --word: clamp(4.4rem, 21vw, 7rem);
  --word-top: 12vh;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@supports (height: 1svh) { :root { --word-top: 12svh; } }

/* =============================================================
   2. Reset y base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}
/* con JS el desplazamiento a las anclas lo lleva main.js */
html.is-js { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  position: relative;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.03em; font-family: var(--display); font-weight: 400; }
em { font-style: normal; }
::selection { background: var(--blue); color: #021022; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--bg-deep);
  border-radius: 10px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* =============================================================
   4. Tipografía
   ============================================================= */
.h2 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.h2 > span:not(.split-mask) { color: var(--ink-3); }
.eyebrow { font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; color: var(--sky); }

/* =============================================================
   5. Componentes
   ============================================================= */
/* --- botones ----------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.55rem 0.6rem 0.55rem 1.25rem;
  min-height: 48px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  will-change: transform;
}
.btn-light {
  color: #06101f;
  background: linear-gradient(180deg, #ffffff, #dcebff);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 30px -10px rgba(77, 163, 255, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.btn-ghost {
  padding-inline: 1.25rem;
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(13, 24, 48, 0.5);
}
.btn-ico {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #7cc0ff, #2a7ad6 60%, #0d3a7a);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 6px 14px -4px rgba(42, 122, 214, 0.9);
  transition: transform 0.5s var(--ease-out);
}
.btn-ico svg { width: 15px; height: 15px; }
.btn-sm { min-height: 42px; padding: 0.4rem 0.45rem 0.4rem 1.05rem; font-size: 0.88rem; }
.btn-sm .btn-ico { width: 30px; height: 30px; }
.btn-lg { min-height: 58px; padding: 0.7rem 0.75rem 0.7rem 1.6rem; font-size: 1.02rem; }
.btn-lg.btn-ghost { padding-inline: 1.6rem; }
.btn-lg .btn-ico { width: 42px; height: 42px; }
@media (hover: hover) {
  .btn-light:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 44px -10px rgba(77, 163, 255, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.7); }
  .btn:hover .btn-ico { transform: translateX(3px) scale(1.06); }
  .btn-ghost:hover { border-color: rgba(190, 220, 255, 0.6); background: rgba(24, 44, 86, 0.6); }
}

/* --- cristal ----------------------------------------------- */
/* Sin desenfoque de fondo: detrás solo hay un degradado suave, así que no se
   nota y el scroll va mucho más fluido. */
.glass {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 38, 76, 0.7), rgba(8, 15, 33, 0.72));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -30px rgba(0, 8, 24, 0.9);
  overflow: hidden;
  isolation: isolate;
}
/* brillo que sigue al cursor */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(110, 180, 255, 0.2), transparent 62%);
  opacity: 0; transition: opacity 0.5s var(--ease-out);
}
.glass.is-lit::before { opacity: 1; }

/* --- marca ------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 26px; height: 26px; filter: drop-shadow(0 0 10px rgba(77, 163, 255, 0.55)); }
.brand-name { font-family: var(--display); font-size: 1.08rem; font-weight: 500; letter-spacing: -0.02em; }
.brand-name em { color: var(--ink-3); font-weight: 400; }

/* --- navegación -------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--pad);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(3, 6, 13, 0.82); border-bottom-color: var(--line); }
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .nav.is-solid { background: rgba(3, 6, 13, 0.55); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
}
.nav-links { display: none; gap: 2.1rem; font-size: 0.9rem; color: var(--ink-2); }
.nav-links a { position: relative; padding: 0.4rem 0; transition: color 0.3s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ice); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* =============================================================
   6. Secciones
   ============================================================= */
main { position: relative; z-index: 3; }

/* --- escenario fijo ---------------------------------------- */
.stage {
  position: absolute; inset: 0 0 auto 0; height: 100vh; height: 100svh;
  z-index: 0; pointer-events: none; overflow: hidden;
}
html.is-js .stage { position: fixed; height: 100%; }
.stage-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(38% 46% at 52% 44%, rgba(42, 122, 214, 0.5), transparent 70%),
    radial-gradient(60% 50% at 50% 108%, rgba(26, 92, 190, 0.5), transparent 70%),
    radial-gradient(40% 40% at 8% 4%, rgba(13, 58, 122, 0.4), transparent 70%),
    var(--bg-deep);
}
.stage-word {
  position: absolute; left: 0; right: 0; top: var(--word-top); z-index: 1;
  text-align: center; white-space: nowrap;
  font-family: var(--display); font-weight: 500;
  font-size: var(--word);
  line-height: 0.92; letter-spacing: -0.05em;
  will-change: transform, opacity;
}
.stage-word span {
  display: inline-block;
  background: linear-gradient(180deg, #9fd0ff 0%, #4da3ff 38%, rgba(42, 122, 214, 0.38) 78%, rgba(42, 122, 214, 0.06) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding: 0 0.06em 0.12em;
}
.stage-canvas {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
html.has-3d .stage-canvas { opacity: 1; }
.stage-flash {
  position: absolute; inset: 0; z-index: 3; opacity: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(214, 234, 255, 0.95), rgba(77, 163, 255, 0.55) 45%, rgba(13, 58, 122, 0) 80%);
}

/* --- hero --------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.1rem;
  padding: calc(var(--nav-h) + 1rem) var(--pad) clamp(1.4rem, 3.5vh, 2.6rem);
}
/* la frase que completa a la palabra gigante: pegada a ella */
.hero-rest {
  position: absolute; left: 0; right: 0; z-index: 2;
  top: calc(var(--word-top) + var(--word) * 0.99);
  text-align: center; white-space: nowrap;
  font-family: var(--display); font-weight: 500;
  font-size: calc(var(--word) * 0.35);
  line-height: 1.05; letter-spacing: -0.04em;
  color: #fff;
}
.hero-rest-in { display: block; }
.hero-rest em {
  background: linear-gradient(180deg, #e3f1ff 8%, #6fb6ff 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.1em;
}
.hero-left { position: relative; z-index: 2; max-width: 32rem; }
.hero-sub { max-width: 36ch; font-size: 0.98rem; line-height: 1.45; color: var(--ink-2); }
.hero-sub strong { font-weight: 500; color: #fff; }
.hero-actions { margin-top: 1.05rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-actions .btn { min-height: 46px; font-size: 0.88rem; padding-left: 1rem; gap: 0.6rem; }
.hero-actions .btn-ghost { padding-inline: 1rem; }
.hero-actions .btn-ico { width: 30px; height: 30px; }

.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hero-stat { position: relative; padding-left: 1rem; }
.hero-stat-line {
  position: absolute; left: 0; top: 0.3rem; bottom: 0.3rem; width: 1px;
  background: linear-gradient(180deg, transparent, var(--ice), transparent);
}
.hero-stat-num { font-family: var(--display); font-size: clamp(1.9rem, 7vw, 2.9rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.hero-stat-lbl { margin-top: 0.35rem; font-size: 0.78rem; line-height: 1.35; color: var(--ink-2); }

.founders {
  position: relative; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(13, 24, 48, 0.55);
  transition: border-color 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.founders-tab { display: none; }
.founders-pics { display: flex; }
.founders-pics img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  background: radial-gradient(circle at 50% 35%, #6db6ff, #0d3a7a 70%);
  border: 1px solid rgba(190, 220, 255, 0.5);
}
.founders-pics img + img { margin-left: -12px; }
.founders-txt { display: grid; line-height: 1.2; }
.founders-txt b { font-size: 0.84rem; font-weight: 500; }
.founders-txt small { font-size: 0.72rem; color: var(--ink-3); }
.founders-txt b, .founders-txt small { white-space: nowrap; }

/* segundo tiempo: los tres reels de frente y la promesa */
.hero-row { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; visibility: hidden; }
.hero-row-title {
  position: absolute; left: 0; right: 0; top: 14vh; top: 14svh; text-align: center;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.55rem, 7.4vw, 2.7rem); letter-spacing: -0.04em; line-height: 1.06;
  padding: 0 var(--pad); color: #fff;
}
.hero-row-title span {
  display: block;
  background: linear-gradient(180deg, #e3f1ff 8%, #6fb6ff 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.1em;
}
.hero-lbl {
  position: absolute; left: 0; top: 0; width: 7.2rem;
  display: grid; justify-items: center; gap: 0.2rem;
  text-align: center; will-change: transform;
}
.hero-lbl b { font-size: 0.74rem; font-weight: 500; line-height: 1.25; }
.hero-lbl small { display: none; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

.hero-scroll { display: none; }

/* respaldo sin WebGL */
.hero-fallback {
  position: absolute; left: 50%; top: 35%; z-index: 1;
  width: min(42vw, 230px); aspect-ratio: 9 / 16;
  transform: translate(-50%, -24%);
  perspective: 1200px; pointer-events: none;
}
.hero-fallback .fb {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 9% / 5%; border: 1px solid rgba(190, 220, 255, 0.35);
  box-shadow: 0 40px 80px -30px rgba(0, 10, 30, 0.9), 0 0 60px -10px rgba(77, 163, 255, 0.5);
}
.hero-fallback .fb-a { transform: translate(-24%, -8%) rotateX(14deg) rotateY(28deg) rotateZ(-14deg); }
.hero-fallback .fb-b { transform: translate(4%, 6%) rotateX(12deg) rotateY(24deg) rotateZ(-12deg) scale(0.94); filter: brightness(0.75); }
.hero-fallback .fb-c { transform: translate(32%, 20%) rotateX(10deg) rotateY(20deg) rotateZ(-10deg) scale(0.88); filter: brightness(0.6); }
html.has-3d .hero-fallback { display: none; }

/* --- el dolor y la salida ----------------------------------- */
.pain {
  position: relative; z-index: 2;
  display: grid; justify-items: center; text-align: center;
  gap: clamp(1.1rem, 2.6vh, 1.8rem);
  padding: clamp(4.5rem, 12vh, 7.5rem) var(--pad) clamp(3.5rem, 9vh, 6rem);
}
.pain-list { display: grid; gap: clamp(0.45rem, 1.2vh, 0.8rem); }
.pain-list li {
  font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 3rem);
  line-height: 1.16; letter-spacing: -0.035em; color: var(--ink);
}
/* la línea que tacha cada problema */
.pain-list li span {
  background-image: linear-gradient(90deg, var(--blue), var(--ice));
  background-repeat: no-repeat; background-position: 0 58%; background-size: 0% 0.07em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 0.8s var(--ease-out), color 0.8s var(--ease-out);
  transition-delay: calc(var(--n, 0) * 0.17s + 0.25s);
}
.pain-list li:nth-child(2) span { --n: 1; }
.pain-list li:nth-child(3) span { --n: 2; }
.pain-list.is-struck li span { background-size: 100% 0.07em; color: rgba(234, 242, 255, 0.5); }
.pain-fix {
  margin-top: clamp(0.5rem, 1.6vh, 1.2rem);
  font-size: clamp(2.3rem, 6.2vw, 5.4rem); font-weight: 500;
  letter-spacing: -0.045em; line-height: 1; color: #fff;
}
.pain-fix span {
  display: block;
  background: linear-gradient(180deg, #e3f1ff 8%, #6fb6ff 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.1em;
}
.pain-cta { margin-top: clamp(0.4rem, 1.4vh, 1rem); }

/* --- clientes ----------------------------------------------- */
.clients { position: relative; padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(2rem, 6vh, 4rem); }
.clients-head { padding: 0 var(--pad); text-align: center; font-size: 0.86rem; color: var(--ink-2); }
.clients-head span { color: var(--ink-3); }
.marquee {
  margin-top: 1.6rem; overflow-x: auto; overflow-y: visible; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; gap: 0.9rem; width: max-content; padding: 0.4rem var(--pad); }
.marquee.is-running { overflow: hidden; }
.marquee.is-running .marquee-track { animation: marquee 46s linear infinite; padding-inline: 0; gap: 0; }
.marquee.is-running .marquee-track li { margin-right: 0.9rem; }
.marquee-track li {
  display: flex; align-items: center; gap: 0.75rem; flex: none;
  padding: 0.55rem 1.3rem 0.55rem 0.55rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(13, 24, 48, 0.5);
}
.marquee-track img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(190, 220, 255, 0.25); }
.marquee-track span { display: grid; line-height: 1.2; }
.marquee-track b { font-size: 0.92rem; font-weight: 500; white-space: nowrap; }
.marquee-track small { font-size: 0.72rem; color: var(--ink-3); white-space: nowrap; }
@media (hover: hover) { .marquee.is-running:hover .marquee-track { animation-play-state: paused; } }

/* --- sección genérica --------------------------------------- */
.sec { position: relative; padding: clamp(4rem, 11vh, 8rem) var(--pad); max-width: calc(var(--maxw) + var(--pad) * 2); margin-inline: auto; }
.sec-head { display: grid; gap: 0.9rem; justify-items: start; margin-bottom: clamp(2rem, 5vh, 3.4rem); }
.fineprint { margin-top: 1.4rem; font-size: 0.74rem; color: var(--ink-3); }

/* --- resultados --------------------------------------------- */
.stats { display: grid; gap: 0.9rem; }
.stat { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 0.8rem; align-content: space-between; min-height: 200px; }
.stat-num {
  font-family: var(--display); font-weight: 300; letter-spacing: -0.05em; line-height: 0.9;
  font-size: clamp(3.6rem, 13vw, 6.4rem);
  background: linear-gradient(180deg, #ffffff 10%, #9fd0ff 60%, #4da3ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-num b { font-weight: 300; }
.stat-lbl { max-width: 24ch; font-size: 0.92rem; line-height: 1.4; color: var(--ink-2); }

.cases { margin-top: 0.9rem; display: grid; gap: 0.9rem; }
.case { display: grid; transform-style: preserve-3d; transition: transform 0.6s var(--ease-out), border-color 0.4s var(--ease-out); }
.case-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #050a14; }
.case-media img, .case-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-media img { transition: transform 1.2s var(--ease-out), opacity 0.5s var(--ease-out); }
.case-media video { opacity: 0; transition: opacity 0.5s var(--ease-out); }
.case-media.is-playing video { opacity: 1; }
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 12, 26, 0.85)); pointer-events: none; }
.case-body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: 0.7rem; }
.case-who { display: flex; align-items: center; gap: 0.65rem; }
.case-who img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(190, 220, 255, 0.3); }
.case-who span { display: grid; line-height: 1.2; }
.case-who b { font-size: 0.9rem; font-weight: 500; }
.case-who small { font-size: 0.72rem; color: var(--ink-3); }
.case-num { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.case-num small { font-size: 0.34em; letter-spacing: 0; color: var(--ink-2); margin-left: 0.15em; }
.case-note { font-size: 0.88rem; line-height: 1.45; color: var(--ink-2); max-width: 30ch; }
@media (hover: hover) { .case:hover { border-color: var(--line-2); } .case:hover .case-media img { transform: scale(1.05); } }

/* --- cómo funciona ------------------------------------------ */
.steps { display: grid; gap: 0.9rem; counter-reset: paso; }
.step { padding: clamp(1.2rem, 2.4vw, 1.8rem); display: grid; align-content: start; gap: 1.4rem; }
.step-n { color: var(--ice); display: inline-flex; align-items: center; gap: 0.8rem; }
.step-n::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, var(--ice), transparent); }
.step h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.04em; }
.step p { margin-top: 0.6rem; max-width: 28ch; font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }

/* mini escenas animadas de cada paso */
.step-viz {
  position: relative; height: 104px; overflow: hidden;
  display: flex; align-items: center; gap: 1rem; padding: 0 1.1rem;
  border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3, 8, 20, 0.7), rgba(8, 20, 46, 0.5));
}
.step-viz * { animation-play-state: paused; }
.step.is-visible .step-viz * { animation-play-state: running; }

.viz-rec .rec { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: #ffd9d9; }
.viz-rec .rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff5050; box-shadow: 0 0 14px #ff5050; animation: recBlink 1.5s var(--ease-soft) infinite; }
.viz-rec .bars { flex: 1; display: flex; align-items: center; gap: 4px; height: 52px; }
.viz-rec .bars i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--ice), var(--blue-2)); transform: scaleY(0.25); animation: bar 1.15s var(--ease-soft) infinite alternate; }
.viz-rec .bars i:nth-child(2n) { animation-duration: 0.85s; animation-delay: -0.3s; }
.viz-rec .bars i:nth-child(3n) { animation-duration: 1.4s; animation-delay: -0.7s; }
.viz-rec .bars i:nth-child(5n) { animation-duration: 0.95s; animation-delay: -0.5s; }

.viz-edit { display: grid; align-content: center; gap: 7px; }
.viz-edit .trk { position: relative; display: block; height: 17px; border-radius: 5px; background: rgba(160, 200, 255, 0.07); }
.viz-edit .trk i { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); border-radius: 5px; background: linear-gradient(180deg, #7cc0ff, #2a7ad6); box-shadow: 0 0 0 1px rgba(214, 234, 255, 0.25) inset; animation: clipIn 5.5s var(--ease-out) infinite; animation-delay: var(--t, 0s); }
.viz-edit .trk-a i { background: linear-gradient(180deg, #8fe6cb, #2aa58a); opacity: 0.8; }
.viz-edit .playhead { position: absolute; top: 10px; bottom: 10px; left: 4%; width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 12px #fff; animation: playhead 5.5s linear infinite; }

.viz-pub { align-items: flex-end; padding-bottom: 0.9rem; }
.viz-pub .cols { flex: 1; height: 70px; display: flex; align-items: flex-end; gap: 6px; }
.viz-pub .cols i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--ice), var(--blue-2)); transform-origin: bottom; animation: grow 5s var(--ease-out) infinite; animation-delay: var(--t, 0s); }
.viz-pub .ok { align-self: flex-start; margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a8f3d0; white-space: nowrap; }
.viz-pub .ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fe0a0; box-shadow: 0 0 12px #3fe0a0; }

/* qué incluye (la oferta) */
.incl {
  margin-top: 0.9rem; padding: clamp(1.5rem, 3.2vw, 2.6rem);
  display: grid; gap: clamp(1.6rem, 3vw, 3rem);
  border-color: var(--line-2);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(42, 122, 214, 0.34), transparent 62%),
    linear-gradient(180deg, rgba(21, 38, 76, 0.7), rgba(8, 15, 33, 0.72));
}
.incl-head { display: grid; gap: 0.8rem; justify-items: start; align-content: start; }
.incl-head h3 { font-size: clamp(1.7rem, 3.1vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.04; max-width: 13ch; }
.incl-head p { max-width: 30ch; font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.incl-head .btn { margin-top: 0.7rem; }
.incl-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1rem, 2.6vw, 2.4rem); align-content: center; }
.incl-list li {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.95rem; line-height: 1.25;
}
.incl-list li:nth-last-child(-n + 2) { border-bottom: 0; }
.incl-list li::before {
  content: ""; flex: none; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.7 10.4l2.9 2.9 5.8-6.3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    radial-gradient(circle at 30% 25%, #7cc0ff, #2a7ad6 60%, #0d3a7a);
  box-shadow: 0 0 14px -2px rgba(77, 163, 255, 0.8);
}

/* --- trabajos ----------------------------------------------- */
.row-head { display: flex; align-items: center; gap: 1rem; margin: 2.6rem 0 1.1rem; }
.row-head:first-of-type { margin-top: 0; }
.row-head i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.row-head .mono:first-child { color: var(--ink-2); }

.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 0.8rem; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--pad) * -1); padding: 0.4rem var(--pad) 1rem; scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.reels::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: center; }
.reel-media {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line); background: #050a14;
  box-shadow: 0 30px 60px -34px rgba(0, 8, 24, 1);
  transition: transform 0.7s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.reel-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(140deg, rgba(190, 225, 255, 0.22) 0%, transparent 28%, transparent 70%, rgba(77, 163, 255, 0.16) 100%);
  mix-blend-mode: screen;
}
.reel h3 { margin-top: 0.85rem; font-family: var(--sans); font-size: 0.92rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.reel p { font-size: 0.76rem; color: var(--ink-3); }
@media (hover: hover) {
  .reel:hover .reel-media { transform: translateY(-8px); border-color: var(--line-2); box-shadow: 0 40px 70px -30px rgba(42, 122, 214, 0.75); }
}

.longs { display: grid; gap: 0.9rem; }
.long {
  display: grid; align-content: start; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(9, 17, 34, 0.7); overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.7s var(--ease-out);
}
.long-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050a14; }
.long-media img, .long-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.long-media img { transition: transform 1.2s var(--ease-out); }
.long-media video { opacity: 0; transition: opacity 0.5s var(--ease-out); }
.long-media.is-playing video { opacity: 1; }
.tc {
  position: absolute; left: 0.8rem; bottom: 0.7rem; z-index: 2;
  padding: 0.22rem 0.5rem; border-radius: 6px; color: var(--ink);
  background: rgba(3, 6, 13, 0.7); border: 1px solid var(--line);
}
.long-body { position: relative; padding: 1rem 1.15rem 1.2rem; display: grid; gap: 0.3rem; }
.long-body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; padding-right: 5.2rem; }
.long-body p { font-size: 0.78rem; color: var(--ink-3); }
.views {
  position: absolute; right: 1.1rem; top: 1rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ice);
}
.long-xl .long-body h3 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-family: var(--display); font-weight: 400; letter-spacing: -0.025em; }
@media (hover: hover) {
  .long:hover { border-color: var(--line-2); transform: translateY(-4px); }
  .long:hover .long-media img { transform: scale(1.05); }
}

/* --- nosotros ----------------------------------------------- */
.team-grid { display: grid; gap: clamp(2rem, 5vh, 3.2rem); }
.team-head { display: grid; gap: 0.9rem; justify-items: start; }
.team-head .h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); max-width: none; }
.team-head .h2 > span:not(.split-mask) { display: block; }
.team-lead { max-width: 32ch; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 1.4vw, 1.1rem); align-items: start; }
/* retrato: la foto llena la tarjeta (así no queda ningún borde de recorte a la vista)
   y el nombre va sobre la camiseta, sin franjas ni desenfoques encima */
.person-pic {
  position: relative; aspect-ratio: 1; overflow: hidden; isolation: isolate;
  border-radius: clamp(18px, 2.2vw, 28px);
  border: 1px solid rgba(190, 225, 255, 0.3);
  background:
    radial-gradient(80% 70% at 50% 28%, rgba(160, 210, 255, 0.6), transparent 72%),
    linear-gradient(172deg, #2b80e4 0%, #1458b8 50%, #082461 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 40px 70px -40px rgba(26, 92, 190, 0.9);
}
.person-pic img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0;
  transform: translate3d(calc(var(--px, 0) * 5px), calc(var(--py, 0) * 3px), 0) scale(1.05);
  transform-origin: 50% 30%;
  transition: transform 1s var(--ease-out);
}
.person-pic::after {
  content: ""; position: absolute; inset: 62% 0 0 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 9, 24, 0), rgba(3, 9, 24, 0.82));
}
.person-tag {
  position: absolute; left: 6%; top: 6%; z-index: 2;
  padding: 0.24rem 0.5rem; border-radius: 6px;
  font-size: 0.58rem; color: #fff;
  background: rgba(3, 9, 24, 0.4); border: 1px solid rgba(214, 234, 255, 0.3);
}
.person-id { position: absolute; left: 7%; right: 7%; bottom: 6.5%; z-index: 2; display: grid; gap: 0.2rem; }
.person-id b { font-family: var(--display); font-size: clamp(1.3rem, 2.3vw, 2.1rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: #fff; }
.person-id small { font-size: clamp(0.68rem, 0.95vw, 0.84rem); color: var(--sky); }
@media (hover: hover) { .person:hover .person-pic img { transform: translate3d(calc(var(--px, 0) * 5px), calc(var(--py, 0) * 3px), 0) scale(1.09); } }

.person-work { margin-top: 0.85rem; display: grid; gap: 0.5rem; }
.person-work-lbl { font-size: 0.74rem; color: var(--ink-3); }
.person-work ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.person-work li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.28rem 0.72rem 0.28rem 0.28rem;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(13, 24, 48, 0.5);
  font-size: 0.8rem; line-height: 1.2; white-space: nowrap;
}
.person-work li img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(190, 220, 255, 0.25); }

.quote { margin-top: clamp(1.4rem, 3.4vh, 2.4rem); padding: clamp(1.5rem, 3.4vw, 2.8rem); display: grid; gap: 1.3rem; }
.quote p { font-family: var(--display); font-size: clamp(1.3rem, 2.5vw, 2.1rem); line-height: 1.22; letter-spacing: -0.028em; max-width: 36ch; }
.quote footer { display: grid; gap: 0.15rem; line-height: 1.3; }
.quote footer b { font-weight: 500; font-size: 0.95rem; }
.quote footer small { font-size: 0.78rem; color: var(--ink-3); }

/* --- contacto ----------------------------------------------- */
.cta { text-align: center; display: grid; justify-items: center; gap: 1.3rem; padding-block: clamp(6rem, 18vh, 12rem); }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(110vw, 1100px); aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(42, 122, 214, 0.55), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.cta-title {
  font-size: clamp(3rem, 11.5vw, 9.5rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.94; max-width: 11ch;
}
.cta-title span {
  background: linear-gradient(180deg, #d6eaff, #4da3ff 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em; display: inline-block;
}
.cta-sub { max-width: 34ch; color: var(--ink-2); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.6rem; }
.cta-fine { font-size: 0.8rem; color: var(--ink-3); }

/* --- pie ---------------------------------------------------- */
.footer {
  position: relative; z-index: 3;
  display: grid; gap: 1rem; justify-items: center; text-align: center;
  padding: 2.2rem var(--pad) 2.6rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-3);
  background: rgba(3, 6, 13, 0.6);
}
.footer-top { color: var(--ink-2); }

/* =============================================================
   7. Efectos
   ============================================================= */
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.7s var(--ease-out), transform 0.85s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
html:not(.is-js) .reveal { opacity: 1; transform: none; }

.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.split-word { display: inline-block; transform: translate3d(0, 112%, 0); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 40ms); }
.is-visible .split-word { transform: none; }
html:not(.is-js) .split-word { transform: none; }

/* entrada del hero (solo CSS: no depende de ninguna librería). Va siempre en un hijo
   del elemento que mueve el scroll, para que las dos animaciones no se pisen. */
html.is-js .stage-word span { animation: wordIn 1.8s var(--ease-out) both; }
html.is-js .hero-rest-in { animation: riseIn 1.2s var(--ease-out) 0.3s both; }
html.is-js .hero-left > *, html.is-js .hero-right > * { animation: riseIn 1.2s var(--ease-out) both; }
html.is-js .hero-left > :nth-child(1) { animation-delay: 0.42s; }
html.is-js .hero-left > :nth-child(2) { animation-delay: 0.54s; }
html.is-js .hero-right > :nth-child(1) { animation-delay: 0.6s; }
html.is-js .hero-right > :nth-child(2) { animation-delay: 0.72s; }
@keyframes wordIn { from { opacity: 0; transform: translate3d(0, 18%, 0) scale(0.96); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes riseIn { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }

@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes scrollHint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes recBlink { 0%, 55% { opacity: 1; } 70%, 100% { opacity: 0.25; } }
@keyframes bar { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
@keyframes clipIn { 0% { transform: translateX(-160%); opacity: 0; } 12%, 88% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes playhead { from { left: 4%; } to { left: 96%; } }
@keyframes grow { 0% { transform: scaleY(0); } 28%, 90% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .reels { grid-auto-columns: 40%; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { min-height: 220px; }
  .longs { grid-template-columns: repeat(2, 1fr); }
  .long-xl { grid-column: span 2; }
}

@media (min-width: 720px) {
  .hero-row-title { font-size: clamp(2rem, 4.2vw, 3.5rem); }
  .hero-row-title span { display: inline; }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .reels { grid-auto-columns: 30%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .incl { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: center; }
  .footer { grid-template-columns: auto 1fr auto; justify-items: stretch; text-align: left; align-items: center; }
  .footer p { text-align: center; }
}

@media (min-width: 960px) {
  :root {
    --word: min(clamp(7rem, 15.6vw, 17rem), 31vh);
    --word-top: 13vh;
    --rest: min(clamp(2rem, 3.5vw, 4.1rem), 8.6vh);
    --col: max(var(--pad), calc(50vw - 900px));
    --rest-top: calc(var(--word-top) + var(--word) * 0.9);
  }
  @supports (height: 1svh) { :root { --word-top: 13svh; } }

  .nav-links { display: flex; }

  .hero { display: block; padding: 0; height: 100vh; height: 100svh; }
  .hero-rest {
    left: var(--col); right: auto; top: var(--rest-top);
    text-align: left; white-space: normal;
    font-size: var(--rest); line-height: 1.02;
  }
  .hero-rest em { display: block; }
  .hero-left {
    position: absolute; left: var(--col);
    top: calc(var(--rest-top) + var(--rest) * 2.04 + 1.1rem);
    max-width: min(26rem, 28.5vw);
  }
  .hero-sub { max-width: 30ch; font-size: 1.02rem; line-height: 1.5; }
  .hero-actions { margin-top: 1.4rem; gap: 0.7rem; }
  .hero-actions .btn { min-height: 48px; font-size: 0.95rem; padding-left: 1.25rem; gap: 0.85rem; }
  .hero-actions .btn-ghost { padding-inline: 1.25rem; }
  .hero-actions .btn-ico { width: 34px; height: 34px; }
  .hero-lbl { width: auto; white-space: nowrap; }
  .hero-lbl b { font-size: 0.88rem; }
  .hero-lbl small { display: block; }
  .hero-right {
    position: absolute; right: var(--col); top: calc(var(--rest-top) + 0.5rem); bottom: clamp(2.4rem, 9vh, 6rem);
    width: clamp(12.5rem, 16vw, 15rem);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1rem;
  }
  .hero-stat { padding-left: 1.2rem; }
  .hero-stat-num { font-size: clamp(2.2rem, 3.3vw, 3.2rem); }

  .founders {
    margin-top: auto; align-self: stretch;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0; border-radius: 18px; overflow: visible;
    background: linear-gradient(180deg, rgba(42, 122, 214, 0.2), rgba(6, 12, 26, 0.6));
  }
  .founders-tab {
    display: block; position: absolute; left: 50%; top: -9px; width: 42%; height: 9px; transform: translateX(-50%);
    border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0;
    background: rgba(26, 60, 120, 0.5);
  }
  .founders-pics {
    position: relative; height: clamp(6.5rem, 15vh, 9rem); overflow: hidden; border-radius: 17px 17px 0 0;
    background: radial-gradient(70% 90% at 50% 80%, rgba(109, 182, 255, 0.75), rgba(13, 58, 122, 0.2) 70%);
  }
  .founders-pics img {
    position: absolute; bottom: -12%; width: 62%; height: auto; border-radius: 0; border: 0; background: none; object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(6, 20, 60, 0.6));
    transition: transform 0.9s var(--ease-out);
  }
  .founders-pics img:first-child { left: -4%; }
  .founders-pics img + img { margin-left: 0; right: -4%; left: auto; }
  .founders-txt { padding: 0.65rem 0.9rem 0.75rem; border-top: 1px solid var(--line); }
  .founders:hover { border-color: var(--line-2); }
  .founders:hover .founders-pics img:first-child { transform: translate(-3%, -3%) scale(1.04); }
  .founders:hover .founders-pics img + img { transform: translate(3%, -3%) scale(1.04); }

  .hero-scroll {
    position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
    display: grid; justify-items: center; gap: 0.5rem;
    font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  }
  .hero-scroll i { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(160, 200, 255, 0.18); }
  .hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ice); animation: scrollHint 2.2s var(--ease-soft) infinite; }

  .hero-fallback { top: 36%; width: min(20vw, 300px); }

  .reels { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; }
  .reel:nth-child(even) { transform: translateY(1.6rem); }
  .longs { grid-template-columns: repeat(3, 1fr); }
  .long-xl { grid-column: span 2; grid-row: span 2; }
  .long-xl .long-media { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .long-xl { grid-template-rows: 1fr auto; }

  .team-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .quote { grid-template-columns: 1fr auto; align-items: end; column-gap: 3rem; }
  .quote footer { text-align: right; }
}

/* =============================================================
   9. Movimiento reducido (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll i::after { animation: none; }
  .viz-rec .bars i, .viz-rec .rec i { animation: none; transform: scaleY(0.7); }
}
