/* ============================================================
   ADASK — hoja de estilos (réplica fiel del diseño original)
   Tokens medidos en el sitio de referencia:
   negro #131313 · lima #98FE00 · naranja #FF9500
   grises #F3F3F3 / #EFEFEF / #E5E5E5 / #D3D3D3
   Satoshi (títulos y cuerpo) · Roboto Mono (etiquetas)
   ============================================================ */

:root {
  --ink: #131313;
  --accent: #98FE00;        /* lima original — cambia aquí el acento de toda la web */
  --warn: #FF9500;
  --bg: #FFFFFF;
  --tile: #F3F3F3;
  --tile-2: #EFEFEF;
  --line: #E5E5E5;
  --line-2: #D3D3D3;
  --muted: #6B6B6B;
  --indigo: #4F46E5;        /* solo para el logo adask */
  --indigo-light: #8B83F2;  /* cursor del logo sobre fondo oscuro */
  --sans: 'Satoshi', system-ui, sans-serif;
  --mono: 'Roboto Mono', monospace;
  --brand: 'Space Grotesk', var(--sans);  /* tipografía del logo (brandbook) */
  --logo-lime: #98FF00;     /* lima exacto del logo */
  --logo-ink: #0A0A0B;      /* tinta exacta del logo */
  --cut: 26px;              /* esquina recortada de tarjetas */
  --cut-lg: 90px;           /* esquina recortada de bandas */
  --container: 1280px;
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

::selection { background: var(--accent); color: var(--ink); }

/* Esquina recortada — motivo del diseño original */
.cut, .s-card, .tech-tile, .case, .faq-item, .badge-chip, .member, .mega-card, .modal-card, .roi-myth-item, .roi-list li {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

/* ============================================================
   BOTONES — rectangulares con chip cuadrado (como el original)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font: 500 16px/1 var(--sans);
  padding: 10px 10px 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
  text-align: left;
}
.btn:hover { transform: translateY(-2px); }
.btn-chip {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  font-style: normal;
  font-size: 15px;
}
.btn-lg { padding: 13px 12px 13px 20px; font-size: 17px; }
.btn-lg .btn-chip { width: 40px; height: 40px; flex-basis: 40px; }
.btn-sm { padding: 8px 8px 8px 15px; font: 400 12px/1 var(--mono); letter-spacing: .04em; border-radius: 6px; }
.btn-block { width: 100%; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .btn-chip { background: var(--accent); color: var(--ink); }
.btn-dark:hover { background: #2a2a2a; }

.btn-accent { background: var(--accent); color: var(--ink); font-weight: 700; }
.btn-accent .btn-chip { background: var(--ink); color: var(--accent); }
.btn-accent:hover { background: #a9ff2e; }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline .btn-chip { background: var(--tile-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light .btn-chip { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.header.solid { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* — Marca adask: lockup del brandbook (tile lima con beam + wordmark Space Grotesk).
     Proporciones tomadas del logo animado oficial; el tile escala con su font-size. — */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-icon {
  font-size: 20px;                  /* tamaño de la «a» → el tile mide 2em */
  width: 2em; height: 2em;
  background: var(--logo-lime);
  border-radius: .5em;              /* 25 % del tile, como el brandbook */
  color: var(--logo-ink);
  font-family: var(--brand);
  font-weight: 600;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: -.03em;
  position: relative;
  overflow: hidden;
}
.brand-icon i {
  display: inline-block;
  width: .094em; height: .375em;    /* cursor del tile (6×24 sobre 64) */
  background: var(--logo-ink);
  border-radius: .024em;
  margin-left: .063em;
}
/* Haz que recorre el tile, como en el logo animado */
.brand-icon::after {
  content: "";
  position: absolute;
  left: .157em; right: .157em;
  height: .047em; min-height: 1px;
  top: 10%;
  background: linear-gradient(90deg, transparent, rgba(10, 10, 11, .85), transparent);
  animation: beam 2.6s ease-in-out infinite alternate;
}
@keyframes beam { from { top: 10%; } to { top: 82%; } }
.brand-icon.xl { font-size: 29px; }
.brand-word {
  font: 600 24px/1 var(--brand);
  letter-spacing: -.04em;
  color: var(--ink);
  display: inline-flex; align-items: center;
}
.brand-cursor {
  display: inline-block;
  width: .19em; height: .73em;      /* 21×82 sobre 112, del brandbook */
  background: var(--logo-lime);
  border-radius: .027em;
  margin-left: .1em;
  animation: blink 1.15s step-end infinite;
}
@keyframes blink { 0%, 48% { opacity: 1; } 52%, 100% { opacity: 0; } }

/* — Navegación mono, como el original — */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  font: 400 12px/1 var(--mono);
  letter-spacing: .05em;
  color: var(--ink);
  padding: 12px 13px;
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: opacity .2s;
  text-transform: uppercase;
}
.nav-link:hover { opacity: .55; }
.nav-link .chev { transition: transform .25s; }
.header.mega-open #megaToggle .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 14px; }
/* — Selector de idioma ES/EN — */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 11px;
  font: 700 11px/1 var(--mono); letter-spacing: .08em;
  color: var(--ink); border: 1px solid var(--line-2); border-radius: 7px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lang-switch:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.mobile-menu .lang-switch { width: fit-content; height: 40px; padding: 0 16px; margin-top: 6px; }

/* — Mega-menú — */
.mega {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(19, 19, 19, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.header.mega-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 34px;
  padding-bottom: 40px;
}
.mega-label {
  font: 400 11px/1 var(--mono);
  letter-spacing: .05em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.mega-list { list-style: none; }
.mega-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  transition: padding-left .2s, opacity .2s;
}
.mega-list a span { font: 500 16.5px/1.3 var(--sans); }
.mega-list a em { font: 400 10px/1 var(--mono); letter-spacing: .06em; color: var(--muted); font-style: normal; white-space: nowrap; }
.mega-list a:hover { padding-left: 6px; opacity: .6; }
.mega-card {
  display: block;
  background: var(--ink);
  color: #fff;
  padding: 22px;
  margin-bottom: 14px;
  transition: transform .25s;
}
.mega-card:hover { transform: translateY(-3px); }
.mega-card strong { font: 700 18px/1.2 var(--sans); display: block; margin-bottom: 8px; }
.mega-card p { font: 400 13.5px/1.5 var(--sans); color: rgba(255, 255, 255, .75); margin-bottom: 12px; }
.mega-link { font: 500 14px/1 var(--sans); color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.mega-link i { font-style: normal; }

/* — Burger / menú móvil — */
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.header.mobile-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.header.mobile-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(19, 19, 19, .12);
}
.header.mobile-open .mobile-menu { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; padding-bottom: 26px; }
.mobile-menu nav > a:not(.btn) {
  font: 500 19px/1 var(--sans);
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 12px; }

/* ============================================================
   HERO — vídeo de stock a pantalla completa (estilo webackfounders)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;   /* fundido ágil para cortes cortos */
  z-index: 1;
}
.hero.video-ok .hero-vid.is-front { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  /* oscurecido ligero + «foco» que sigue al cursor (--mx/--my desde JS) */
  background:
    radial-gradient(580px circle at var(--mx, 66%) var(--my, 38%), rgba(19, 19, 19, 0) 0%, rgba(19, 19, 19, .16) 46%, rgba(19, 19, 19, .3) 100%),
    linear-gradient(180deg, rgba(19, 19, 19, .42) 0%, rgba(19, 19, 19, .12) 48%, rgba(19, 19, 19, .72) 100%);
}
/* refuerzo de legibilidad sin tapar el vídeo */
.hero-title, .hero-sub { text-shadow: 0 2px 24px rgba(19, 19, 19, .45); }

/* Ken Burns: cada corte respira lo que dura en pantalla */
.hero-vid { will-change: transform, opacity; }
.hero-vid:nth-of-type(1).is-front { animation: kbA 4s ease-out forwards; }
.hero-vid:nth-of-type(2).is-front { animation: kbB 4s ease-out forwards; }
@keyframes kbA { from { transform: scale(1.03); } to { transform: scale(1.12); } }
@keyframes kbB { from { transform: scale(1.12); } to { transform: scale(1.04); } }

/* Barrido lima en cada corte */
.hero-wipe {
  position: absolute; top: 0; bottom: 0;
  width: 2px; left: -3%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(152, 254, 0, .8);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-wipe.run { animation: wipe .6s ease-out; }
@keyframes wipe { 0% { left: -2%; opacity: .95; } 100% { left: 102%; opacity: 0; } }

/* — Impacto del hero: grano, marcas del visor y progreso de corte — */
.hero-grain {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.16'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-marks { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ai-mark {
  position: absolute;
  border: 1.5px solid rgba(152, 254, 0, .85);
  box-shadow: 0 0 26px rgba(152, 254, 0, .16), inset 0 0 26px rgba(152, 254, 0, .05);
  opacity: 0;
}
.ai-mark::after {
  content: "";
  position: absolute;
  right: -4px; bottom: -4px;
  width: 7px; height: 7px;
  background: var(--accent);
}
.ai-mark span {
  position: absolute;
  top: -22px; left: -1.5px;
  font: 700 9px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--accent);
  padding: 4px 7px;
  white-space: nowrap;
}
.ai-mark.run { animation: markIn var(--life, 2.4s) ease forwards; }
@keyframes markIn {
  0% { opacity: 0; transform: scale(1.12); }
  10% { opacity: 1; transform: none; }
  78% { opacity: 1; }
  100% { opacity: 0; }
}
.hero-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  z-index: 4;
  background: rgba(255, 255, 255, .14);
}
.hero-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(152, 254, 0, .7);
}

/* — Visor ADASK·VISION — */
.hero-hud {
  position: absolute;
  inset: calc(var(--header-h) + 16px) 26px 22px;
  z-index: 4;
  pointer-events: none;
}
.hud-corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent); opacity: .9; }
.hud-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-tag {
  position: absolute;
  font: 700 10px/1 var(--mono);
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .82);
  text-transform: uppercase;
  white-space: nowrap;
}
.hud-tl { top: 5px; left: 34px; }
.hud-tr { top: 5px; right: 34px; display: flex; align-items: center; gap: 8px; }
.hud-bl { bottom: 5px; left: 34px; }
.hud-br { bottom: 5px; right: 34px; color: var(--accent); }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: hudpulse 1.6s ease-in-out infinite; }
@keyframes hudpulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(152, 254, 0, .5); }
  50% { opacity: .5; box-shadow: 0 0 0 7px rgba(152, 254, 0, 0); }
}
.hud-bl b { font-weight: 700; opacity: .38; margin-right: 12px; transition: opacity .3s, color .3s; }
.hud-bl b.on { opacity: 1; color: var(--accent); }

/* — Cue de scroll — */
.hero-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font: 700 9.5px/1 var(--mono);
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .65);
}
.hero-cue i { width: 2px; height: 30px; background: linear-gradient(var(--accent), transparent); animation: cueline 1.8s ease infinite; }
@keyframes cueline {
  0% { transform: scaleY(.2); transform-origin: top; opacity: .4; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(.2); transform-origin: bottom; opacity: .3; }
}

/* — Intro cinematográfica (estados controlados por JS: .intro → .ready) — */
.hero.intro .hero-title .tw { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero.intro .hero-title .tw i {
  display: inline-block;
  font-style: normal;
  transform: translateY(118%);
  transition: transform .75s cubic-bezier(.2, .65, .2, 1);
  transition-delay: var(--d, 0s);
}
.hero.intro.ready .hero-title .tw i { transform: none; }
.hero.intro .u-accent { background-size: 0% 100%; color: #fff; }
.hero.intro.ready .u-accent { background-size: 100% 100%; color: var(--ink); transition: background-size .8s ease 1.05s, color .5s ease 1.25s; }
.hero.intro .hero-sub { opacity: 0; transform: translateY(16px); transition: opacity .7s ease 1.15s, transform .7s ease 1.15s; }
.hero.intro .hero-ctas { opacity: 0; transform: translateY(16px); transition: opacity .7s ease 1.32s, transform .7s ease 1.32s; }
.hero.intro .hero-hud { opacity: 0; transition: opacity .9s ease 1.6s; }
.hero.intro .hero-cue { opacity: 0; transition: opacity .9s ease 1.9s; }
.hero.intro.ready .hero-sub, .hero.intro.ready .hero-ctas { opacity: 1; transform: none; }
.hero.intro.ready .hero-hud, .hero.intro.ready .hero-cue { opacity: 1; }

/* Cursor de máquina de escribir (el cursor de la marca) */
.type-cursor {
  display: inline-block;
  width: .48em; height: .95em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: -.1em;
  animation: blink 1.1s steps(1) infinite;
}
/* Fondo neutro bajo los vídeos (solo asoma al cargar o si todo falla) */
.hero-anim { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 18% 12%, #232329 0%, var(--ink) 60%); }
@keyframes drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(22px, -26px) rotate(7deg); } }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 150px;   /* empuja el bloque de texto hacia arriba */
}
.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.9rem);
  font-weight: 700;
  line-height: 1.14;   /* holgura para descendentes bajo el bloque lima */
  letter-spacing: -.04em;
  max-width: 21ch;
  color: #fff;
}
/* «nativa en IA» resaltado en bloque lima, estilo subrayador (se pinta en la intro) */
.u-accent {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 100% 100%;
  color: var(--ink);
  text-shadow: none;   /* sin la sombra del titular dentro del bloque lima */
  padding: 0 .14em .05em;
  margin: 0 -.02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-top: 46px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  max-width: 50ch;
  color: rgba(255, 255, 255, .86);
}
.hero-sub strong { font-weight: 700; color: #fff; }
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(440px, 100%);
  flex-shrink: 0;
}
.hero-ctas .btn { width: 100%; }
.hero-ctas .btn-dark { background: rgba(19, 19, 19, .78); border: 1px solid rgba(255, 255, 255, .18); }
.hero-ctas .btn-dark:hover { background: rgba(19, 19, 19, .94); }

/* — Clientes: banda blanca con marquee bajo el hero — */
.clients-strip { background: var(--bg); border-bottom: 1px solid var(--line); padding-top: 8px; }
.clients-label {
  font: 400 12px/1 var(--mono);
  color: var(--ink);
  padding: 16px 0 6px;
}
.marquee { overflow: hidden; position: relative; padding: 12px 0 8px; }
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 26px; width: auto; opacity: .9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECCIONES — base
   ============================================================ */
.section { padding: 120px 0; }
.section-label {
  font: 400 12px/1 var(--mono);
  letter-spacing: .04em;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 44px;
  text-transform: uppercase;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.04em;
}
.section-intro {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}

/* Palabras que se encienden al hacer scroll (efecto original) */
.reveal-words .w { color: #C9C9C9; transition: color .35s ease; }
.reveal-words .w.on { color: var(--ink); }
.statement.reveal-words .w { color: #D6D6D6; }
.statement.reveal-words .w.on { color: var(--ink); }

/* ============================================================
   RETOS — sección fijada (pinned) con chips escalonados
   ============================================================ */
.pains { position: relative; height: 260vh; }
.pains-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.pains-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.statement {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-align: center;
  max-width: 19ch;
  position: relative;
  z-index: 1;
}
.pain-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #FAFAFA;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  font: 400 14.5px/1.35 var(--sans);
  box-shadow: 0 16px 34px rgba(19, 19, 19, .07);
  max-width: 320px;
  z-index: 2;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .5s ease, transform .5s ease;
}
.pain-chip.show { opacity: 1; transform: none; }
.pain-chip svg { flex-shrink: 0; }
.p1 { top: 16%; left: 6%; }
.p2 { top: 22%; right: 5%; }
.p3 { bottom: 24%; left: 10%; }
.p4 { bottom: 18%; right: 9%; }
.pain-chip.show { animation: float 7s ease-in-out .5s infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-14px); } }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.s-card {
  background: var(--tile);
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, background .3s ease;
}
.s-card:hover { transform: translateY(-5px); background: var(--tile-2); }
.s-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.s-num { font: 400 11px/1 var(--mono); color: var(--muted); }
.s-tag {
  font: 400 10px/1 var(--mono);
  letter-spacing: .08em;
  color: #fff;
  background: var(--ink);
  padding: 6px 9px;
  border-radius: 4px;
  white-space: nowrap;
  margin-right: 18px;
}
.s-3d { width: 120px; height: 120px; object-fit: contain; margin: 18px 0 10px; }
.s-icon {
  width: 120px; height: 120px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 18px 0 10px;
}
.s-title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.s-sub { font: 400 12px/1.4 var(--mono); color: var(--muted); margin: 6px 0 13px; }
.s-text { font-size: 15px; line-height: 1.6; color: #3d3d3d; flex: 1; }
.s-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 15px/1 var(--sans);
  margin-top: 22px;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: opacity .2s;
}
.s-link i { font-style: normal; transition: transform .25s; }
.s-link:hover { opacity: .6; }
.s-link:hover i { transform: translateX(4px); }

/* Tarjeta destacada — negra, puerta de entrada (toda la tarjeta es clicable) */
.s-featured {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  position: relative;
  cursor: pointer;
}
.s-featured:hover { background: #1f1f1f; }
/* El enlace se extiende a toda la tarjeta */
.s-featured .s-link::after { content: ""; position: absolute; inset: 0; }
.s-featured:hover .s-link { opacity: 1; }
.s-featured:hover .s-link i { transform: translateX(4px); }
.s-featured .s-num { color: rgba(255, 255, 255, .55); }
.s-featured .s-tag { background: var(--accent); color: var(--ink); font-weight: 700; }
.s-featured-body { display: grid; grid-template-columns: 190px 1fr; gap: 36px; align-items: center; }
.s-featured .s-3d { width: 170px; height: 170px; margin: 10px 0; }
.s-featured .s-title { font-size: 30px; }
.s-featured .s-sub { color: rgba(255, 255, 255, .6); }
.s-featured .s-text { color: rgba(255, 255, 255, .82); max-width: 78ch; }
.s-featured .s-link { color: var(--accent); }

/* ============================================================
   TECNOLOGÍAS
   ============================================================ */
.tech-group-label {
  font: 400 11px/1 var(--mono);
  letter-spacing: .08em;
  color: var(--ink);
  margin: 48px 0 12px;
}
.tech-group-label:first-of-type { margin-top: 0; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 8px;
}
.tech-tile {
  --cut: 16px;
  background: var(--tile);
  padding: 14px 14px 13px;
  transition: background .25s, transform .25s;
}
.tech-tile:hover { background: var(--tile-2); transform: translateY(-3px); }
.tech-tile .t-num { font: 400 10px/1 var(--mono); color: #9b9b9b; display: block; }
.tech-tile img { width: 26px; height: 26px; object-fit: contain; margin: 20px 0 10px; }
.tech-tile strong { font: 700 10.5px/1.35 var(--mono); letter-spacing: .03em; display: block; }
.tech-tile .t-sub {
  font: 400 10px/1.55 var(--mono);
  color: var(--muted);
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .35s ease, margin .35s ease;
}
.tech-tile:hover .t-sub { max-height: 60px; opacity: 1; margin-top: 7px; }

/* ============================================================
   METODOLOGÍA — pinned con fundido entre pasos
   ============================================================ */
.method { padding: 120px 0 0; }
.method-pin { height: 380vh; position: relative; }
.method-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.method-frame { position: relative; height: 100%; }
.m-step {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 150px 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(46px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.m-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.m-step.is-past { opacity: 0; transform: translateY(-46px); }
.m-num { font: 700 92px/1 var(--sans); color: #E0E0E0; letter-spacing: -.05em; }
.m-3d { width: min(370px, 100%); height: auto; justify-self: center; }
.m-body h3 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
.m-body p { font-size: 16.5px; line-height: 1.65; color: #3d3d3d; max-width: 56ch; }
.method-progress {
  position: absolute;
  left: 32px; bottom: 44px;
  width: 180px; height: 2px;
  background: var(--line);
}
.method-progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s ease; }

/* ============================================================
   ROI — infografía adaptada al diseño
   ============================================================ */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 90px 1.15fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.roi-h {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 26px;
  max-width: 20ch;
}
.roi-h em {
  font-style: normal;
  background: var(--accent);
  padding: 0 6px 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.roi-myth { display: flex; flex-direction: column; gap: 12px; }
.roi-myth-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 36px 28px;
  background: var(--ink);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.roi-myth-item.alt { background: var(--tile); color: var(--ink); }
.roi-vs {
  align-self: center;
  justify-self: center;
  width: 64px; height: 64px;
  border: 1.5px dashed var(--line-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 700 14px/1 var(--mono);
}
.roi-list { list-style: none; }
.roi-list li {
  --cut: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--tile);
  padding: 13px 16px;
  margin-bottom: 7px;
  font-size: 15.5px;
  font-weight: 500;
  transition: transform .25s, background .25s;
}
.roi-list li:hover { transform: translateX(6px); background: var(--tile-2); }
.roi-list svg { color: var(--ink); flex-shrink: 0; }
.roi-note {
  margin: 30px auto 0;
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 11px 30px 11px 14px;
  font-size: 16.5px;
  box-shadow: 0 16px 34px rgba(19, 19, 19, .09);
}
.roi-note .brand-icon { font-size: 12px; border-radius: .55em; }
.roi-note em { font-style: normal; background: var(--accent); color: var(--ink); font-weight: 700; padding: 0 .18em; }
.roi-sep { width: 1px; height: 22px; background: var(--line-2); }

/* ============================================================
   CASOS DE ÉXITO
   ============================================================ */
.cases .section-head-row { margin-bottom: 44px; }
.case {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  background: var(--tile);
  overflow: hidden;
  margin-bottom: 20px;
  --cut: 34px;
}
.case-body { padding: 44px 42px; display: flex; flex-direction: column; }
.case-year { font: 400 11px/1 var(--mono); color: var(--muted); }
.case-title {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 16px 0 auto;
  max-width: 22ch;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line-2);
  margin-top: 44px;
  padding-top: 24px;
}
.metric strong { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.metric span {
  display: block;
  font: 400 10px/1.5 var(--mono);
  letter-spacing: .03em;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
}
.case-media { position: relative; min-height: 340px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   TESTIMONIOS — banda gris con esquina recortada grande
   ============================================================ */
.testimonials {
  background: var(--tile);
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, 0 100%);
  padding: 110px 0 90px;
}
.testimonials .section-label { border-top-color: var(--line-2); }
.t-slider { position: relative; padding-bottom: 64px; }
.t-slide { display: none; }
.t-slide.is-active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.t-quote-mark { font: 700 120px/0.35 Georgia, serif; color: var(--line-2); display: block; margin: 34px 0 4px; }
.t-slide blockquote {
  font-size: clamp(1.4rem, 2.5vw, 2.05rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -.02em;
  max-width: 30em;
}
.t-meta { margin-top: 34px; border-top: 1px solid var(--line-2); padding-top: 16px; width: fit-content; min-width: 300px; }
.t-meta strong { display: block; font-size: 17px; font-weight: 700; }
.t-meta span { font: 400 11px/1.7 var(--mono); letter-spacing: .04em; color: var(--muted); }
.t-nav { position: absolute; right: 0; bottom: 64px; display: flex; gap: 8px; }
.t-btn {
  width: 46px; height: 46px;
  background: var(--tile-2);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 18px;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.t-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* — Avales — */
.badges-section { padding: 64px 0 0; }
.badges { border-top: 1px solid var(--line); padding-top: 24px; }
.badges-label { font: 400 11px/1 var(--mono); letter-spacing: .05em; }
.badges-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 12px; }
.badge-chip {
  --cut: 12px;
  font: 400 12.5px/1 var(--mono);
  padding: 13px 18px;
  background: var(--tile);
  color: var(--ink);
}
.badges-note { font: 400 11px/1.5 var(--mono); color: #9b9b9b; }

/* ============================================================
   EQUIPO
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.member {
  position: relative;
  display: block;
  background: var(--tile);
  overflow: hidden;
  transition: transform .3s;
  --cut: 22px;
}
.member:hover { transform: translateY(-5px); }
.member-photo { display: block; aspect-ratio: 5 / 6; filter: grayscale(1) contrast(1.04); }
.member-photo svg, .member-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.member-hover {
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, .88);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 500 15px/1 var(--sans);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.member:hover .member-hover, .member:focus-visible .member-hover { opacity: 1; }
.member-name { display: block; font: 700 16.5px/1.2 var(--sans); padding: 15px 16px 4px; }
.member-role { display: block; font: 400 10px/1.5 var(--mono); letter-spacing: .04em; color: var(--muted); padding: 0 16px 16px; }

/* Semblanza del Managing Partner: aparece al pasar el cursor sobre su foto */
.member-bio {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 22px 22px;
  text-align: left;
  overflow-y: auto;
}
.member-bio-role { font: 400 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); flex-shrink: 0; }
.member-bio-text { font: 500 clamp(11.5px, .92vw, 13.5px)/1.55 var(--sans); color: #fff; }
.member-bio-text em { font-style: normal; font-weight: 700; color: var(--accent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.faq-item {
  --cut: 18px;
  background: var(--tile);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-size: 17.5px;
  font-weight: 500;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 26px; height: 26px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  transition: transform .25s;
}
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after { width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); }
.faq-item p { padding: 0 24px 24px; font-size: 15.5px; line-height: 1.65; color: #3d3d3d; max-width: 60ch; }

/* ============================================================
   CTA FINAL — banda negra con esquina recortada
   ============================================================ */
.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, 0 100%);
  padding: 140px 0 120px;
  margin-top: 110px;
  overflow: hidden;
}
.cta-cross { position: absolute; font: 400 26px/1 var(--mono); color: rgba(255, 255, 255, .22); }
.x1 { left: 8%; bottom: 18%; }
.x2 { left: 48%; top: 16%; }
.x3 { right: 10%; bottom: 30%; }
.cta-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.cta-title {
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
  max-width: 18ch;
}
.cta-title .hl { color: var(--accent); }
.cta-sub { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .68); max-width: 52ch; margin: 24px 0 36px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; width: min(440px, 100%); }
.cta-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.cta-visual video { width: min(400px, 100%); height: auto; }
/* Isotipo adask en la banda final: flota suave y conserva el haz de escaneo del logo */
.cta-visual .brand-icon.cta-iso::after {
  height: .038em;
  background: linear-gradient(90deg, transparent 4%, rgba(10, 10, 11, .55), transparent 96%);
}
.cta-visual .brand-icon.cta-iso {
  font-size: clamp(80px, 9.5vw, 124px);
  box-shadow: 0 42px 110px rgba(152, 254, 0, .22), 0 10px 34px rgba(0, 0, 0, .5);
  animation: isoFloat 6s ease-in-out infinite alternate;
}
@keyframes isoFloat { from { transform: translateY(-12px); } to { transform: translateY(14px); } }

/* ============================================================
   FOOTER — negro, como el original
   ============================================================ */
.footer { background: var(--ink); color: #fff; padding: 84px 0 54px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.f-label {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 15px;
  text-transform: uppercase;
}
.f-label-gap { margin-top: 34px; }
.f-col > a { display: block; font-size: 17px; color: rgba(255, 255, 255, .88); margin-bottom: 13px; transition: opacity .2s; width: fit-content; }
.f-col > a:hover { opacity: .55; }
.f-mail { font-size: 23px !important; font-weight: 700; color: var(--accent) !important; margin-bottom: 30px !important; }
.f-tel { font-weight: 700; }
.f-bottom {
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.f-copy { font: 400 11.5px/1 var(--mono); color: rgba(255, 255, 255, .5); }
/* Lockup del footer: mismas proporciones del brandbook (tile = 1,14× el wordmark) */
.f-brand { display: flex; align-items: center; gap: .27em; font-size: clamp(1.8rem, 4.2vw, 3rem); }
.f-brand .brand-icon.xl { font-size: .57em; flex-shrink: 0; }
.f-wordmark {
  font-size: 1em;
  font-weight: 600;
  font-family: var(--brand);
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
  display: inline-flex;
  align-items: center;
}
.f-brand .brand-cursor { width: .19em; height: .73em; background: var(--logo-lime); margin-left: .1em; border-radius: .027em; }

/* ============================================================
   MODAL — llamada de Adask.ai
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(19, 19, 19, .7); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal-card {
  position: relative;
  width: min(470px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  padding: 36px;
  transform: translateY(14px);
  transition: transform .3s;
  --cut: 30px;
}
.modal.open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 12px; right: 40px;
  width: 36px; height: 36px;
  border: 0; background: none;
  font-size: 26px;
  color: var(--muted);
  border-radius: 6px;
}
.modal-close:hover { background: var(--tile); color: var(--ink); }
.modal-icon {
  width: 52px; height: 52px;
  background: var(--accent);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.modal-card h3 { font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.modal-sub { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 10px 0 20px; }
.modal-card label:not(.check) {
  display: block;
  font: 400 11px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 15px 0 7px;
}
.modal-card input[type="text"], .modal-card input[type="tel"] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: #fff;
  font: 400 15.5px/1 var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.modal-card input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(152, 254, 0, .35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); margin: 18px 0 18px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--ink); }
.check a { text-decoration: underline; }
.form-msg { font: 400 12.5px/1.5 var(--mono); margin-top: 12px; min-height: 18px; }
.form-msg.ok { color: #2c7a1e; }
.form-msg.err { color: #bb3a3a; }

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2, .65, .25, 1), transform .75s cubic-bezier(.2, .65, .25, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .pain-chip { opacity: 1; transform: none; }
  .hero.intro .hero-title .tw i { transform: none; }
  .hero.intro .u-accent { background-size: 100% 100%; color: var(--ink); }
  .hero.intro .hero-sub, .hero.intro .hero-ctas, .hero.intro .hero-hud, .hero.intro .hero-cue { opacity: 1; transform: none; }
  .pains { height: auto; padding: 120px 0; }
  .method-pin { height: auto; }
  .m-step { position: static; opacity: 1; transform: none; margin-bottom: 60px; }
  .brand-icon::after { top: 46%; }   /* beam estático, como indica el brandbook */
  .hero-grain { opacity: .28; }
  .hero-progress, .ai-mark { display: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .s-featured-body { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .founder-note { grid-template-columns: 1fr; gap: 18px; padding: 26px 28px; }
  .roi-grid { grid-template-columns: 1fr; }
  .roi-vs { margin: 6px auto; }
  .case { grid-template-columns: 1fr; }
  .case-media { min-height: 250px; order: -1; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-row { gap: 40px; }
  .m-step { grid-template-columns: 90px 1fr; }
  .m-3d { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header .btn-outline { display: none; }
  .mega { display: none; }
  .section { padding: 84px 0; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-content { padding-bottom: 64px; }
  .hero-hud { inset: calc(var(--header-h) + 12px) 16px 16px; }
  .hud-corner { width: 15px; height: 15px; }
  .hud-tl { display: none; }
  .hud-br { display: none; }
  .hud-tr { top: 3px; right: 26px; }
  .hud-bl { bottom: 3px; left: 26px; }
  .hero-cue { display: none; }
  .pains { height: auto; }
  .pains-pin { position: static; height: auto; }
  .pains-stage { flex-direction: column; gap: 34px; align-items: stretch; padding-top: 40px; padding-bottom: 40px; }
  .statement { max-width: none; text-align: left; order: -1; }
  .pain-chip { position: static; opacity: 1; transform: none; max-width: none; animation: none; }
  .method-pin { height: auto; }
  .method-stage { position: static; height: auto; overflow: visible; }
  .m-step { position: static; opacity: 1; transform: none; padding: 40px 0; grid-template-columns: 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
  .method-progress { display: none; }
  .testimonials, .cta { --cut-lg: 48px; }
}

@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .case-body { padding: 30px 24px; }
  .case-metrics { grid-template-columns: 1fr; gap: 16px; }
  .metric { display: flex; align-items: baseline; gap: 14px; }
  .metric span { margin-top: 0; }
  .t-nav { position: static; margin-top: 26px; }
  .t-slider { padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .f-bottom { margin-top: 50px; }
  .btn { font-size: 15px; }
  .modal-card { padding: 28px 22px; }
  .modal-close { right: 30px; }
}

/* ============================================================
   PÁGINAS INTERIORES — Únete · Hablemos · Blog
   (mismo sistema: Satoshi + mono, lima/negro, esquinas recortadas)
   ============================================================ */

/* Resaltado en bloque lima (subrayador) reutilizable en claro */
.mark {
  background: var(--accent);
  color: var(--ink);
  padding: 0 .12em .05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* — Cabecera de página interior, en claro — */
.page-hero { padding: calc(var(--header-h) + 92px) 0 76px; border-bottom: 1px solid var(--line); }
.page-hero .section-label { margin-bottom: 26px; }
.page-title {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.2;   /* holgura para que los trazos descendentes (y, p, g) no queden bajo el bloque lima de la línea siguiente */
  letter-spacing: -.04em;
  max-width: 20ch;
}
.page-sub { font-size: 17.5px; line-height: 1.65; color: #3d3d3d; max-width: 58ch; margin-top: 24px; }

/* — Páginas legales — */
.legal { padding: 60px 0 96px; }
.legal-wrap { max-width: 760px; }
.legal-meta { font: 400 12.5px/1.6 var(--mono); color: var(--muted); margin-bottom: 30px; }
.legal-card { background: var(--tile); border-left: 3px solid var(--accent); padding: 20px 26px; margin: 6px 0 34px; }
.legal-card p { margin: 0; font-size: 15.5px; line-height: 1.7; }
.legal h2 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); font-weight: 700; letter-spacing: -.02em; margin: 42px 0 14px; }
.legal h3 { font-size: 1.08rem; font-weight: 700; margin: 26px 0 10px; }
.legal p { font-size: 16.5px; line-height: 1.72; color: #33352f; margin-bottom: 14px; }
.legal ul { margin: 0 0 18px 1.15em; display: flex; flex-direction: column; gap: 8px; }
.legal li { font-size: 16.5px; line-height: 1.65; color: #33352f; list-style: disc; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal strong { font-weight: 700; color: var(--ink); }
.page-hero .btn { margin-top: 36px; }

/* — Únete: principios numerados — */
.uv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uv-item { background: var(--tile); padding: 30px 28px 34px; }
.uv-item .n { font: 400 12px/1 var(--mono); color: var(--muted); display: block; margin-bottom: 48px; }
.uv-item h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.uv-item p { font-size: 15px; line-height: 1.6; color: #3d3d3d; }

/* — Únete: beneficios — */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { background: var(--tile); padding: 26px 24px 30px; }
.benefit .b-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.benefit h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.benefit p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* — Únete: ofertas — */
.jobs-list { display: flex; flex-direction: column; gap: 14px; }
.job {
  display: grid;
  grid-template-columns: 1.35fr 1fr auto;
  gap: 26px;
  align-items: center;
  background: var(--tile);
  padding: 28px 30px;
  transition: transform .3s ease, background .3s ease;
}
.job:hover { transform: translateY(-4px); background: var(--tile-2); }
.job h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.job .j-sub { font-size: 14.5px; line-height: 1.55; color: #3d3d3d; margin-top: 8px; max-width: 46ch; }
.j-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.j-chip {
  font: 400 10.5px/1 var(--mono);
  letter-spacing: .07em;
  padding: 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  white-space: nowrap;
}
.j-chip.hl { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.job .btn { justify-self: end; }
.jobs-note { margin-top: 26px; font-size: 15px; line-height: 1.6; color: #3d3d3d; max-width: 70ch; }
.jobs-note a { text-decoration: underline; }

/* — Hablemos — */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; align-items: stretch; }
.contact-card { background: var(--tile); padding: 34px 32px 38px; }
.contact-card h2, .call-card h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.contact-card .c-sub { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font: 400 11px/1 var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 15px;
  font: 400 15px/1.4 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' stroke='%23131313' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(152, 254, 0, .35); }

.call-card { background: var(--ink); color: #fff; padding: 34px 32px 38px; display: flex; flex-direction: column; gap: 0; }
.call-card > p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); margin: 10px 0 22px; }
.call-divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 28px 0; }
.info-label { font: 400 11px/1 var(--mono); letter-spacing: .08em; color: rgba(255, 255, 255, .45); margin: 0 0 9px; }
.info-label + a, .info-line { font-size: 17px; font-weight: 500; color: #fff; display: block; }
.call-card a:hover { color: var(--accent); }
.info-gap { margin-top: 22px; }
.info-line small { display: block; font: 400 12px/1.6 var(--mono); color: rgba(255, 255, 255, .5); margin-top: 4px; }
.map-embed {
  width: 100%; height: 240px; border: 0; display: block;
  margin-top: 26px;
  filter: grayscale(1) contrast(1.04);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* — Blog: listado — */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  background: var(--tile);
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: transform .3s ease, background .3s ease;
}
.post-card:hover { transform: translateY(-5px); background: var(--tile-2); }
/* Imagen del post en la tarjeta: a sangre hasta los bordes */
.post-img {
  display: block;
  width: calc(100% + 52px);
  margin: -26px -26px 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}
.post-top { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.post-tag {
  font: 700 10px/1 var(--mono);
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--accent);
  padding: 6px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.post-date { font: 400 11px/1 var(--mono); color: var(--muted); }
.post-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
.post-card > p { font-size: 14.5px; line-height: 1.6; color: #3d3d3d; margin-top: 12px; flex: 1; }
.post-card .s-link { margin-top: 26px; }
.post-card:hover .s-link i { transform: translateX(4px); }

/* — Blog: artículo — */
.post-hero { padding: calc(var(--header-h) + 84px) 0 60px; border-bottom: 1px solid var(--line); }
.post-hero .post-top { margin-bottom: 26px; }
.post-title {
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.2;   /* descendentes libres bajo el bloque lima */
  letter-spacing: -.035em;
  max-width: 26ch;
}
.post-meta { font: 400 12px/1 var(--mono); color: var(--muted); margin-top: 24px; display: flex; flex-wrap: wrap; gap: 20px; }
/* Imagen de cabecera del artículo, en grande (sin recortar la ilustración) */
.post-cover { margin: 52px 0 0; padding: 0; }
.post-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  height: auto;
  background: var(--ink);
}
.post-body { max-width: 72ch; margin: 0 auto; padding: 72px 0 24px; }
.post-body > * + * { margin-top: 20px; }
.post-body h2 { font-size: 27px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-top: 48px; }
.post-body p { font-size: 16.5px; line-height: 1.75; color: #2c2c2c; }
.post-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.post-body li { font-size: 16px; line-height: 1.65; color: #2c2c2c; }
.post-quote {
  background: var(--tile);
  padding: 26px 28px;
  font-size: 18.5px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.01em;
  border-left: 3px solid var(--accent);
  margin: 36px 0;
}
.post-cta { background: var(--ink); color: #fff; padding: 32px; margin-top: 52px; }
.post-cta h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.post-cta p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72) !important; margin: 10px 0 20px; }
.post-cta .btn { margin-right: 10px; }
.back-blog {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 400 12px/1 var(--mono);
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 26px;
}
.back-blog:hover { color: var(--ink); }

/* — Responsive de las páginas interiores — */
@media (max-width: 1100px) {
  .uv-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 18px; }
  .job .btn { justify-self: start; }
}
@media (max-width: 680px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--header-h) + 64px) 0 56px; }
  .contact-card, .call-card { padding: 28px 22px 32px; }
  .job { padding: 24px 22px; }
}

/* ============================================================
   TECNOLOGÍAS v2 — panel oscuro con píldoras en scroll (estilo partners)
   ============================================================ */
.tech2 { display: grid; grid-template-columns: minmax(320px, 40%) 1fr; gap: 64px; align-items: center; }
.tech2-stage {
  position: relative; height: 540px; overflow: hidden;
  background: var(--ink);
  border-radius: 30px;
  padding: 24px 0;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.tech2-track { display: flex; flex-direction: column; gap: 15px; padding: 0 26px; animation: techroll 30s linear infinite; will-change: transform; }
@keyframes techroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.tech2-stage:hover .tech2-track { animation-play-state: paused; }
.t2-pill {
  font: 700 clamp(1.05rem, 1.5vw, 1.4rem)/1 var(--sans);
  letter-spacing: -.01em;
  text-align: center;
  padding: 21px 22px;
  border-radius: 44px;
  background: #fff; color: var(--ink);
  white-space: nowrap;
}
.t2-pill.lime { background: var(--accent); color: var(--ink); }
.t2-pill.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.tech2-copy .section-label { margin-bottom: 22px; }
.tech2-copy .section-title { font-size: clamp(2.1rem, 4.2vw, 3.5rem); margin-bottom: 20px; }
.tech2-copy .section-intro { max-width: 46ch; }
.tech2-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.tech2-cats span { font: 700 10px/1 var(--mono); letter-spacing: .1em; border: 1px solid var(--line-2); padding: 10px 13px; border-radius: 4px; color: var(--ink); }

/* ============================================================
   ROI v2 — pilas apiladas (mito vs. realidad)
   ============================================================ */
.roi2 { display: grid; grid-template-columns: 1fr auto 1.05fr; gap: 30px; align-items: stretch; }
.roi2-col { display: flex; flex-direction: column; }
/* titular centrado sobre su propio cilindro */
.roi2-h { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.32; margin: 0 auto 26px; max-width: 24ch; text-align: center; }
.roi2-h em { font-style: normal; color: var(--accent); background: var(--ink); padding: 0 .18em; }
.roi2-h.real em { color: var(--ink); background: var(--accent); }

/* — Cilindros 3D: las dos pilas ocupan EXACTAMENTE el mismo alto (flex-fill) —
     izquierda: 2 discos gruesos · derecha: 10 discos finos.
     Geometría: cada disco lleva un arco elíptico inferior (border-radius) y se
     solapa --ell con el siguiente; el arco del de arriba deja ver al de abajo
     en las esquinas → el frente de cada disco queda curvado como un cilindro. — */
.coins {
  --ell: 24px;                       /* radio vertical de la elipse (perspectiva) */
  position: relative;
  display: flex; flex-direction: column;
  height: clamp(520px, 62vh, 680px);   /* pila derecha: un poco más alta */
  margin-top: auto;                    /* ancla los dos cilindros al mismo borde inferior */
}
.roi2-myth .coins { height: clamp(452px, 54vh, 592px); }   /* pila izquierda: algo más baja */
/* tapa superior del cilindro: elipse completa, iluminada desde arriba */
.coins::before {
  content: "";
  position: absolute; left: 0; right: 0; top: calc(var(--ell) * -1);
  height: calc(var(--ell) * 2);
  border-radius: 50%;
  z-index: 40;
  background: radial-gradient(130% 200% at 50% 0%, #E4FF94, #ACFE22 46%, #7FD600 96%);
  box-shadow: inset 0 -7px 16px rgba(40, 90, 0, .28);
}
/* sombra de apoyo en el suelo */
.coins::after {
  content: "";
  position: absolute; left: 4%; right: 4%; bottom: -16px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 19, 19, .30), transparent 72%);
  filter: blur(4px);
  z-index: 0;
}
.coin {
  position: relative;
  flex: 1 1 0; min-height: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--ell) 30px 0;
  border-radius: 0 0 50% 50% / 0 0 var(--ell) var(--ell);
  font-size: clamp(.85rem, 1.05vw, .98rem); font-weight: 700; letter-spacing: -.01em;
  text-align: center;
}
/* el disco superior lleva la cúpula encima → compensa el padding para centrar su texto */
.coin:first-child { padding-top: calc(var(--ell) / 2); padding-bottom: calc(var(--ell) / 2); }
.coin + .coin { margin-top: calc(var(--ell) * -1); }
/* orden de apilado: el de arriba tapa al de abajo */
.coin:nth-child(1) { z-index: 12; } .coin:nth-child(2) { z-index: 11; }
.coin:nth-child(3) { z-index: 10; } .coin:nth-child(4) { z-index: 9; }
.coin:nth-child(5) { z-index: 8; }  .coin:nth-child(6) { z-index: 7; }
.coin:nth-child(7) { z-index: 6; }  .coin:nth-child(8) { z-index: 5; }
.coin:nth-child(9) { z-index: 4; }  .coin:nth-child(10) { z-index: 3; }
.coin svg { flex-shrink: 0; width: 17px; height: 17px; }
/* sombreado cilíndrico: oscurece los flancos, brillo suave en el centro
   (capas de background → nunca tapan el texto) */
.coin.ink {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 15%, rgba(255, 255, 255, .12) 50%, transparent 85%, rgba(0, 0, 0, .5)),
    linear-gradient(180deg, #2E2E2E, #1A1A1A 55%, #0D0D0D);
}
.coin.lime {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(30, 70, 0, .38), transparent 15%, rgba(255, 255, 255, .22) 50%, transparent 85%, rgba(30, 70, 0, .38)),
    linear-gradient(180deg, #A6FE1F, #8FEB00 55%, #74C400);
}
.coin.gray {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .42), transparent 15%, rgba(255, 255, 255, .14) 50%, transparent 85%, rgba(0, 0, 0, .42)),
    linear-gradient(180deg, #8A8A8A, #6E6E6E 55%, #565656);
}

/* Pila del mito: solo 2 discos → quedan gruesos; icono + texto centrados */
.roi2-myth .coin {
  flex-direction: column; justify-content: center; text-align: center; gap: 12px;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -.02em;
}
.roi2-myth .coin:first-child { padding-top: var(--ell); padding-bottom: 0; }  /* discos gruesos: mantiene centrado propio */
.roi2-myth .coin svg { width: 34px; height: 34px; }

/* — Separador VS — */
.roi2-vs { align-self: center; }
.roi2-vs span {
  display: grid; place-items: center;
  width: 66px; height: 66px; border-radius: 50%;
  border: 1px dashed var(--line-2);
  font: 700 1rem/1 var(--sans); letter-spacing: -.02em; color: var(--ink); background: #fff;
}

.roi-note { margin-top: 44px; }

@media (max-width: 1020px) {
  .tech2 { grid-template-columns: 1fr; gap: 34px; }
  .tech2-stage { height: 420px; order: 2; }
  .roi2 { grid-template-columns: 1fr; gap: 20px; justify-items: stretch; }
  .roi2-vs { justify-self: center; margin: 2px 0; }
  .coins { --ell: 18px; }
  .roi2-myth .coins { height: 300px; transform: none; }   /* 2 discos gruesos, sin desplazamiento */
  .roi2-real .coins { height: clamp(520px, 90vw, 680px); }
}
@media (max-width: 560px) {
  .roi2-myth .coin { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tech2-track { animation: none; }
}
