/* ==========================================================================
   INEED MARKETING — Sitio institucional
   Poppins (self-hosted) · Negro / Blanco · Acento #FF4500 (uso mínimo)
   ========================================================================== */

/* ---------- Fuentes ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/poppins-300.woff2?v=20260920") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400.woff2?v=20260920") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500.woff2?v=20260920") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600.woff2?v=20260920") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700.woff2?v=20260920") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --ink: #09090a;
  --graphite: #101012;
  --off: #f4f3f0;
  --white: #fff;
  --accent: #ff4500;

  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.64);
  --muted-2: rgba(255, 255, 255, 0.54);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);

  --ink-text: #0a0a0b;
  --ink-muted: rgba(10, 10, 11, 0.66);
  --ink-muted-2: rgba(10, 10, 11, 0.42);
  --ink-line: rgba(10, 10, 11, 0.12);

  --gutter: clamp(20px, 5vw, 120px);
  --header-h: 4.75rem;
  --radius: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, calc(0.5vw + 9px), 19.5px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) - 8px); }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), 1840px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: #fff; color: #000; border-radius: 10px; font-weight: 500; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

/* ---------- Tipografía y utilidades ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eyebrow--dark { color: var(--ink-muted); }
.eyebrow--center { justify-content: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 600; line-height: 1.07; letter-spacing: -0.03em; text-wrap: balance; }
.soft { font-weight: 300; color: var(--muted); }
.lead { font-size: clamp(1rem, 1.25vw, 1.15rem); font-weight: 300; line-height: 1.75; color: var(--muted); max-width: 62ch; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem; min-height: 3.25rem; border-radius: 999px; font-size: 0.95rem; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.btn--primary { background: var(--accent); color: #09090a; font-weight: 600; padding: 0.375rem 0.375rem 0.375rem 1.6rem; }
.btn__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #09090a; color: #fff; transition: background-color 0.35s var(--ease), transform 0.35s var(--ease); }
.btn--primary:hover .btn__icon { transform: translateX(3px); }
.btn--primary:hover { background: #ff5a1f; box-shadow: 0 12px 36px -12px rgba(255, 69, 0, 0.6); }
.btn--ghost { padding: 0 1.6rem; color: #fff; border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }
.btn--glass { padding: 0 1.4rem; min-height: 2.75rem; font-size: 0.875rem; color: #fff; background: rgba(255, 255, 255, 0.08); border-color: var(--line-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { background: #fff; color: #09090a; border-color: #fff; }
.btn--lg { min-height: 4rem; font-size: 1.05rem; padding: 0.5rem 0.5rem 0.5rem 2.1rem; }
.btn--lg .btn__icon { width: 3rem; height: 3rem; }
.btn.nav__cta { background: var(--accent); border-color: var(--accent); color: #09090a; font-weight: 600; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn.nav__cta:hover { background: #ff5a1f; border-color: #ff5a1f; color: #09090a; }
.btn--primary:focus-visible, .btn.nav__cta:focus-visible, .sticky-cta:focus-visible { outline-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 500; font-size: 0.95rem; padding-block: 6px; border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s, gap 0.3s var(--ease); }
.link-arrow:hover { border-color: var(--accent); gap: 1.1rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* El hero no espera al JS: entra por CSS para no retrasar el primer contenido visible */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) backwards; animation-delay: var(--d, 0.05s); }
.js .hero .hero__stats.reveal { animation-delay: 0.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); transition: background-color 0.4s, border-color 0.4s, height 0.4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(8, 8, 9, 0.62); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); border-bottom-color: var(--line); --header-h: 4.25rem; height: calc(4.25rem + env(safe-area-inset-top, 0px)); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: none; }
.brand img { height: 1.65rem; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.nav__list { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__list a { position: relative; display: inline-block; padding: 8px 2px; font-size: 0.875rem; color: var(--muted); transition: color 0.3s; }
.nav__list a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform 0.35s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: #fff; }
.nav__list a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }

.menu-toggle { display: none; position: relative; z-index: 130; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255, 255, 255, 0.06); cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.menu-toggle__bars { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; }
.menu-toggle__bars i { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 0.4s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + 8px); overflow: hidden; background: var(--black); }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 58% at 76% 44%, rgba(255, 255, 255, 0.12), transparent 72%),
    radial-gradient(40% 36% at 6% 104%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(180deg, #0d0d0e 0%, #000 72%); }
.hero__inner { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 1rem; padding-block: clamp(20px, 3.5vh, 56px); }
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin-top: 1.4rem; font-size: clamp(2.3rem, 4.2vw, 4rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
.hero__title-soft { font-weight: 300; color: rgba(255, 255, 255, 0.58); }
.hero__lead { margin-top: 1.8rem; max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.18rem); font-weight: 300; line-height: 1.75; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }
.hero__note { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.5rem; max-width: 46ch; font-size: 0.85rem; line-height: 1.6; color: var(--muted-2); }
.hero__note .dot { margin-top: 0.55em; }

.hero__stats { position: relative; padding-bottom: clamp(24px, 4vh, 44px); }

/* Composición 3D */
.hero__visual { position: relative; height: clamp(420px, 62vh, 760px); margin-right: calc(var(--gutter) * -0.6); margin-left: -8%; perspective: 1500px; perspective-origin: 50% 38%; transform: translate3d(0, var(--py, 0px), 0); }
.stage { --scale: 1; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: scale(var(--scale)); transform-style: preserve-3d; }
.stack { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d;
  transform: translateY(72px) rotateX(calc(58deg - var(--my, 0) * 5deg)) rotateZ(calc(-38deg + var(--mx, 0) * 7deg));
  transition: transform 0.9s var(--ease); }

.stack__floor { position: absolute; left: -380px; top: -380px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0)); transform: translateZ(-130px); }
.stack__grid { position: absolute; left: -460px; top: -460px; width: 920px; height: 920px; transform: translateZ(-130px);
  background-image: linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(closest-side, #000 8%, transparent 100%); mask-image: radial-gradient(closest-side, #000 8%, transparent 100%); }
.stack__beam { position: absolute; left: -1px; top: -1px; width: 2px; height: 460px; transform-origin: top; transform: translateZ(-100px) rotateX(90deg);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 26px 2px rgba(255, 255, 255, 0.28); }

.slab { position: absolute; left: -205px; top: -128px; width: 410px; height: 256px; border-radius: 24px; transform-style: preserve-3d;
  transform: translateZ(calc(var(--i) * 96px));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 46px rgba(255, 255, 255, 0.05);
  animation: lift 10s ease-in-out infinite; animation-delay: calc(var(--i) * -2.2s); }
.slab--1 { background: linear-gradient(140deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.07) 42%, rgba(255, 255, 255, 0.14)); }
.slab--2 { background: linear-gradient(140deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.045) 45%, rgba(255, 255, 255, 0.09)); }
.slab--3 { background: linear-gradient(140deg, rgba(38, 38, 40, 0.95), rgba(14, 14, 15, 0.95)); }
.slab::after { content: ""; position: absolute; inset: 6px; border-radius: 22px; background: rgba(0, 0, 0, 0.6); filter: blur(22px); transform: translateZ(-92px) translate(30px, 30px); pointer-events: none; }
.slab__edge { position: absolute; background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05)); }
.slab__edge--b { left: 10px; right: 10px; top: 100%; height: 22px; transform-origin: top; transform: rotateX(-90deg); }
.slab__edge--r { top: 10px; bottom: 10px; left: 100%; width: 22px; transform-origin: left; transform: rotateY(90deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2)); }
.slab__label { position: absolute; left: 28px; bottom: 22px; display: flex; gap: 0.7em; align-items: baseline; font-size: 15px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); transform: translateZ(1px); }
.slab__label b { font-weight: 300; color: rgba(255, 255, 255, 0.5); }
.slab__node { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px rgba(255, 69, 0, 0.16); transform: translateZ(1px); }

@keyframes lift {
  0%, 100% { transform: translateZ(calc(var(--i) * 96px)); }
  50% { transform: translateZ(calc(var(--i) * 96px + 16px)); }
}

/* Estadísticas */
.stats { display: grid; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.35rem; }
.stat__value { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.stat__value span { font-size: 0.42em; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 0.2em; }
.stat__label { font-size: 0.8rem; line-height: 1.45; color: var(--muted-2); max-width: 26ch; }
.stats--inline { grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(1.5rem, 5vw, 4.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.stats--grid { grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(56px, 8vw, 104px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.stats--grid .stat { padding: clamp(22px, 3vw, 40px); background: var(--black); }

/* ==========================================================================
   SECCIONES GENÉRICAS
   ========================================================================== */
.section { position: relative; padding-block: clamp(88px, 12vw, 180px); }
.section--black, .section--pure { background: var(--black); }
.section--ink { background: var(--ink); }
.section--light { background: var(--off); color: var(--ink-text); }
.section--light .lead { color: var(--ink-muted); }
.section--light .soft { color: var(--ink-muted-2); }
.section__head { display: grid; gap: 1.4rem; justify-items: start; margin-bottom: clamp(44px, 6vw, 88px); max-width: 860px; }
.section__head--wide { max-width: 980px; }
/* Secciones consecutivas de fondo oscuro: menos aire entre una y otra */
#soluciones { padding-bottom: clamp(32px, 4vw, 56px); }
.brands { padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(32px, 4vw, 56px); }
.results { padding-top: clamp(32px, 4vw, 56px); }
.section__head--center { justify-items: center; text-align: center; margin-inline: auto; }


/* ---------- Metodología ---------- */
.method { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.method__head { position: sticky; top: calc(var(--header-h) + 48px); display: grid; gap: 1.4rem; justify-items: start; }
.steps { --p: 0; position: relative; padding-left: clamp(22px, 3vw, 44px); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; }
.steps::before { background: var(--ink-line); }
.steps::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--p)); }
.step { display: grid; grid-template-columns: clamp(64px, 8vw, 104px) 1fr; gap: 1rem; padding-block: clamp(26px, 3.4vw, 44px); border-bottom: 1px solid var(--ink-line); }
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__num { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--ink-muted-2); transition: color 0.5s; }
.step:hover .step__num { color: var(--ink-text); }
.step__title { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.step__text { margin-top: 0.7rem; font-size: 1rem; font-weight: 300; line-height: 1.7; color: var(--ink-muted); max-width: 46ch; }

/* ---------- Soluciones ---------- */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.solution { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(460px, 44vw, 600px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 22%, rgba(255, 255, 255, 0.09), transparent 70%), linear-gradient(170deg, #141416, #08080a); transition: border-color 0.5s, transform 0.6s var(--ease); }
.solution:hover { border-color: rgba(255, 255, 255, 0.26); }
.solution__art { position: absolute; inset: 0 0 34% 0; z-index: -1; perspective: 1000px; }
.solution__body { padding: clamp(26px, 3.4vw, 46px); display: grid; gap: 0.9rem; justify-items: start; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55) 40%); }
/* Arte de las soluciones: carrito y auto en vidrio */
.art { position: absolute; left: 50%; top: 50%; width: min(46%, 16rem); transform: translate(-50%, -50%); }
.art--car { width: min(56%, 20rem); }
.art svg { display: block; width: 100%; height: auto; overflow: visible; transform: perspective(1100px) rotateY(-10deg) rotateX(2deg); transition: transform 0.9s var(--ease); }
.solution:hover .art svg { transform: perspective(1100px) rotateY(-3deg) rotateX(1deg); }
.art-float { animation: artfloat 9s ease-in-out infinite; }
.art-sheen { transform-box: fill-box; animation: sheen 7s ease-in-out infinite; }
@keyframes artfloat { 50% { transform: translateY(-5px); } }
@keyframes sheen { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(260%); } }
.solution__tag { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.solution__title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.solution__text { max-width: 40ch; font-weight: 300; line-height: 1.7; color: var(--muted); margin-bottom: 0.6rem; }



/* ---------- Marcas ---------- */
.marquee { position: relative; display: grid; gap: clamp(8px, 1.6vw, 20px); margin-top: clamp(8px, 2vw, 24px); overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(48px, 12vw, 200px); z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #000, rgba(0, 0, 0, 0)); }
.marquee__row { display: flex; flex-wrap: wrap; justify-content: center; }
.logo { flex: none; display: grid; place-items: center; width: clamp(9.4rem, 15vw, 14rem); height: clamp(4.6rem, 8vw, 6.4rem); padding-inline: clamp(14px, 2vw, 30px); }
.logo img { width: auto; height: auto; max-width: 100%; max-height: clamp(2.1rem, 3.6vw, 3.4rem); object-fit: contain; filter: grayscale(1) brightness(1.15); opacity: 0.58; transition: opacity 0.4s; }
.logo img.is-tall { max-height: clamp(3.4rem, 5.6vw, 5rem); }
.logo img[data-bg="light"] { filter: invert(1) grayscale(1) brightness(1.1); }
.logo img[data-bg="crush"] { filter: grayscale(1) contrast(2.6); }
.logo img[data-bg="crush-photo"] { filter: grayscale(1) brightness(0.62) contrast(3.4); }
.logo img[data-bg="light-soft"] { filter: invert(1) grayscale(1) brightness(1.6) contrast(1.3); }
.logo--wide { width: clamp(14.4rem, 22vw, 20rem); }
.logo:hover img { opacity: 1; }

.js .marquee.is-ready .marquee__row { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: marquee 150s linear infinite; will-change: transform; }
.js .marquee.is-ready .marquee__row--reverse { animation-direction: reverse; animation-duration: 170s; }
.marquee.is-ready:hover .marquee__row, .marquee.is-paused .marquee__row { animation-play-state: paused; }
/* Botón de pausa: solo visible al navegar con teclado */
.marquee__toggle { position: absolute; left: 50%; top: 8px; z-index: 3; transform: translateX(-50%); padding: 8px 16px; font-size: 0.8rem; color: #fff; background: rgba(0, 0, 0, 0.85); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
.marquee__toggle:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(var(--shift, -33.3333%)); } }

/* ---------- Resultados / videos ---------- */
.videos { --gap: clamp(14px, 1.8vw, 24px); display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: var(--gap); }
.vcard { position: relative; min-width: 0; grid-column: span 10; }
.vcard--v { grid-column: span 4; display: flex; }
.vcard--v .vcard__btn { flex: 1; aspect-ratio: auto; }
.vcard:nth-child(1) { grid-column: 3 / span 10; }
.vcard:nth-child(3) { grid-column: 4 / span 4; }
.vcard__btn { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #0c0c0d; cursor: pointer; aspect-ratio: 16 / 9; text-align: left; transition: border-color 0.4s; }
.vcard__btn:hover { border-color: rgba(255, 255, 255, 0.3); }
.vcard__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease); }
.vcard__btn:hover .vcard__poster { transform: scale(1.035); }
.vcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.78)); }
.vcard__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform 0.5s var(--ease), background-color 0.4s, color 0.4s; }
.vcard__play svg { margin-left: 3px; }
.vcard__btn:hover .vcard__play { transform: scale(1.1); background: #fff; color: #09090a; }
.vcard__meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: clamp(16px, 2vw, 26px); }
.vcard__name { display: grid; font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 500; letter-spacing: -0.01em; }
.vcard__name small { font-size: 0.78rem; font-weight: 300; color: var(--muted); }
.vcard__time { padding: 4px 11px; font-size: 0.75rem; letter-spacing: 0.05em; border-radius: 999px; background: rgba(0, 0, 0, 0.55); border: 1px solid var(--line-strong); }

/* Reproductor en ventana */
body.lightbox-open { overflow: hidden; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox__video { display: block; background: #000; border-radius: 16px; outline: none; width: min(92vw, 1280px, calc(86vh * 16 / 9)); aspect-ratio: 16 / 9; height: auto; }
.lightbox[data-orient="v"] .lightbox__video { width: auto; max-width: 92vw; height: min(86vh, 1100px); aspect-ratio: 9 / 16; }
.lightbox__close { position: fixed; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--line-strong); cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.lightbox__close:hover { background: #fff; color: #09090a; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 36px); }
.member:nth-child(3n + 2) { margin-top: clamp(28px, 5vw, 72px); }
.member__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: #d8d6d0; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member:nth-child(1) img { object-position: 50% 30%; }
.member:nth-child(2) img { object-position: 50% 32%; }
.member__name { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.member__name::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-line); transition: background 0.4s; }
.member:hover .member__name::before { background: var(--accent); }

/* ---------- Fundador ---------- */
.founder__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.founder__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 1.4rem; }
.founder__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #111; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder__photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7)); }
.founder__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: grid; padding: 16px 20px; border-radius: 18px; background: rgba(12, 12, 13, 0.5); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.founder__cap strong { font-weight: 500; font-size: 1.05rem; }
.founder__cap span { font-size: 0.82rem; font-weight: 300; color: var(--muted); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { position: relative; padding: 13px 0 13px 22px; font-size: 0.9rem; font-weight: 300; color: var(--muted); border-bottom: 1px solid var(--line); }
.facts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--muted-2); }
.founder__story { display: grid; gap: 1.6rem; justify-items: start; }
.prose { display: grid; gap: 1.35rem; margin-top: 0.8rem; max-width: 60ch; }
.prose p { font-size: clamp(1rem, 1.2vw, 1.12rem); font-weight: 300; line-height: 1.85; color: rgba(255, 255, 255, 0.78); }
.pull { position: relative; margin-top: 1.4rem; padding-left: clamp(20px, 2.6vw, 34px); max-width: 30ch; }
.pull::before { content: ""; position: absolute; left: 0; top: 0.35em; bottom: 0.35em; width: 2px; background: var(--accent); }
.pull p { font-size: clamp(1.4rem, 2.5vw, 2.15rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.pull footer { display: grid; margin-top: 1.4rem; font-size: 0.9rem; font-weight: 500; }
.pull footer span { font-weight: 300; color: var(--muted); }

/* Valores */
.values { margin-top: clamp(80px, 11vw, 160px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.values__title { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.values__list { margin-top: clamp(20px, 3vw, 40px); }
.value { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(24px, 6vw, 96px); align-items: baseline; padding-block: clamp(20px, 2.6vw, 34px); border-bottom: 1px solid var(--line); }
.value__name { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; color: rgba(255, 255, 255, 0.86); }
.value__text { font-size: 0.98rem; font-weight: 300; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.value--main { align-items: start; padding-block: clamp(30px, 4.4vw, 60px); }
.value--main .value__text { padding-top: 0.4em; }
.value--main .value__name { position: relative; white-space: nowrap; font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; color: #fff; }
.value--main .value__name::after { content: ""; display: inline-block; width: 0.11em; height: 0.11em; margin-left: 0.08em; border-radius: 50%; background: var(--accent); }
.value--main .value__text { font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, 0.72); }

/* ---------- CTA final ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: min(92vh, 860px); padding-block: clamp(96px, 14vw, 200px); background: radial-gradient(60% 60% at 50% 100%, rgba(255, 255, 255, 0.1), transparent 70%), linear-gradient(180deg, #050506, #000); border-top: 1px solid var(--line); }
.cta__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta__bg span { position: absolute; left: 50%; bottom: -30%; width: min(90vw, 1100px); height: 340px; margin-left: calc(min(90vw, 1100px) / -2); border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.13); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)); transform: perspective(1200px) rotateX(64deg); }
.cta__bg span:nth-child(1) { bottom: -26%; opacity: 0.9; }
.cta__bg span:nth-child(2) { bottom: -12%; opacity: 0.55; transform: perspective(1200px) rotateX(64deg) translateZ(-70px); }
.cta__bg span:nth-child(3) { bottom: 2%; opacity: 0.28; transform: perspective(1200px) rotateX(64deg) translateZ(-140px); }
.cta__inner { display: grid; justify-items: center; gap: clamp(22px, 3vw, 36px); text-align: center; }
.cta__title { max-width: 18ch; font-size: clamp(2.3rem, 6vw, 5.2rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.cta__note { max-width: 44ch; font-size: 0.9rem; line-height: 1.6; color: var(--muted-2); }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(56px, 7vw, 96px) 28px; background: #000; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.footer__brand img { width: clamp(150px, 16vw, 200px); height: auto; }
.footer__brand p { margin-top: 1.4rem; max-width: 30ch; font-size: 0.9rem; font-weight: 300; color: var(--muted); }
.footer__h { margin-bottom: 1.1rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a, .footer__col address { font-size: 0.92rem; font-weight: 300; line-height: 1.7; color: var(--muted); transition: color 0.3s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(44px, 6vw, 88px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted-2); }
.footer__legal { display: flex; gap: 1.6rem; }
.footer__legal a:hover { color: #fff; }

/* ---------- CTA fijo móvil ---------- */
.sticky-cta { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 1500px) {
  .stage { --scale: 1.1; }
  .team { grid-template-columns: repeat(6, 1fr); }
  .member:nth-child(3n + 2) { margin-top: 0; }
  .member:nth-child(even) { margin-top: clamp(28px, 3.5vw, 64px); }
}
@media (min-width: 1800px) {
  .stage { --scale: 1.25; }
}

@media (max-width: 1100px) {
  .videos { grid-template-columns: 1fr; }
  .vcard:nth-child(n) { grid-column: 1 / -1; }
  .vcard--v { width: 100%; max-width: 26rem; justify-self: center; }
  .vcard--v .vcard__btn { flex: none; aspect-ratio: 4 / 5; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { height: 420px; margin: -20px calc(var(--gutter) * -1) 0; }
  .stage { --scale: 0.74; }
  .method { grid-template-columns: 1fr; }
  .method__head { position: static; }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__aside { position: static; grid-template-columns: minmax(0, 420px); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 4rem; }
  .site-header.is-scrolled { --header-h: 4rem; height: calc(4rem + env(safe-area-inset-top, 0px)); }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 120; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.4rem; padding: 96px var(--gutter) 48px; background: rgba(0, 0, 0, 0.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0.4rem; width: 100%; }
  .nav__list a { padding: 8px 0; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; color: rgba(255, 255, 255, 0.9); }
  .nav__list a::after { display: none; }
  .nav__cta { align-self: stretch; min-height: 56px; font-size: 1rem; }
  .solutions { grid-template-columns: 1fr; }
  .solution { min-height: 520px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .member:nth-child(3n + 2) { margin-top: 0; }
  .member:nth-child(even) { margin-top: clamp(28px, 8vw, 56px); }
  .stats--grid { grid-template-columns: repeat(2, 1fr); }
  .value { grid-template-columns: 1fr; gap: 0.6rem; }
}

@media (max-width: 640px) {
  body { font-size: 0.97rem; }
  .brand img { height: 22px; }
  .hero { padding-top: calc(var(--header-h) + 4px); }
  .hero__inner { padding-block: 20px 0; }
  .hero__title { margin-top: 1.2rem; }
  .hero__lead { margin-top: 1.3rem; }
  .hero__actions { flex-direction: column; align-items: stretch; margin-top: 1.9rem; }
  .hero__actions .btn--primary { justify-content: space-between; }
  .hero__visual { height: 360px; }
  .stage { --scale: 0.52; }
  .stats--inline { grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.3rem; }
  .stats--inline .stat__value span { display: block; margin: 0.25rem 0 0; font-size: 0.4em; }
  .stats--inline .stat__label { display: none; }
  .step { grid-template-columns: 56px 1fr; gap: 0.6rem; }
  .solution { min-height: 480px; }
  .vcard__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .team { gap: 14px; }
  .member__name { font-size: 1.05rem; margin-top: 0.9rem; }
  .stats--grid .stat { padding: 20px 18px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
  .cta { min-height: 0; }

  .sticky-cta { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; color: #09090a; background: var(--accent); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55); transform: translateY(140%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s; }
  .sticky-cta.is-visible { transform: none; opacity: 1; }
}

/* ---------- Movimiento reducido: el contenido siempre queda visible y estático ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .slab, .art-float, .art-sheen { animation: none !important; }
  .stack { transition: none; }
  .vcard__poster, .member__photo img, .art svg, .lightbox__close { transition: none; }
  .sticky-cta { transition: none; }
}
