/* Agentium AI · Dirección A "Un mundo, una metáfora"
   Tokens del manual de marca (51). El cian solo para lo encendido. */
:root {
  --ag-black: #05070A;
  --ag-graphite: #10151B;
  --ag-line: #1E2630;
  --ag-white: #F2F5F7;
  --ag-cyan: #3DE3FF;
  --ag-teal: #14B8A6;
  --ag-fog: #7D8893;
  --ag-alert: #FF3B4A;
  --ag-soft: rgba(242, 245, 247, .8);
  --ag-edge: rgba(242, 245, 247, .15);
  --ag-glow: 0 0 24px rgba(61, 227, 255, .55), 0 0 60px rgba(61, 227, 255, .25);
  --f-display: "Space Grotesk", system-ui, Arial, sans-serif;
  --f-body: "Inter", system-ui, Arial, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --gutter: clamp(20px, 8vw, 140px);
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ag-black); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ag-black);
  color: var(--ag-white);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
::selection { background: var(--ag-cyan); color: var(--ag-black); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ag-cyan); outline-offset: 4px; border-radius: 6px; }

.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ag-cyan); color: var(--ag-black); padding: 8px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:focus { outline: none; }
main, .footer { position: relative; z-index: 2; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--ag-black);
}
.pl-mark { font-family: var(--f-display); font-size: clamp(30px, 4.2vw, 60px); letter-spacing: -.02em; display: inline-flex; gap: .25em; align-items: baseline; }
.pl-mark .logo-ai { color: var(--ag-fog); transition: color .35s, text-shadow .5s; }
.preloader.is-lit .pl-mark .logo-ai { color: var(--ag-cyan); text-shadow: var(--ag-glow); }
.pl-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 56px); display: flex; justify-content: space-between; align-items: flex-end; }
.pl-label { font: 600 12px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ag-fog); padding-bottom: 10px; }
.pl-count { font: 700 clamp(72px, 13vw, 200px)/.8 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ag-white); }
.pl-count b { font-weight: 700; }
.pl-bar { position: absolute; inset: auto 0 0 0; height: 2px; background: var(--ag-line); }
.pl-bar span { display: block; height: 100%; background: var(--ag-cyan); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- El mundo (capa fija) ---------- */
.world {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  /* respaldo sin WebGL: relieve hexagonal quieto */
  background:
    radial-gradient(90% 70% at 72% 30%, rgba(30, 38, 48, .55) 0%, rgba(5, 7, 10, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48.5' viewBox='0 0 84 48.5'%3E%3Cpath d='M14 0h28l14 24.25-14 24.25H14L0 24.25zM56 24.25h28' fill='none' stroke='%231E2630' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 84px 48.5px,
    var(--ag-black);
}
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.world.is-on #world { opacity: 1; }
.world-veil {
  position: absolute; inset: 0;
  background: radial-gradient(130% 100% at 68% 38%, rgba(5, 7, 10, 0) 38%, rgba(5, 7, 10, .62) 100%);
}
.world.is-static .world-veil { background: rgba(5, 7, 10, .62); }

/* Etiquetas que siguen a los prismas del método */
.ptags { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .25s var(--ease-in); }
.ptags.is-on { opacity: 1; transition: opacity .7s var(--ease-out); }
.ptag {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px; white-space: nowrap;
  font: 600 12px/1 var(--f-body); letter-spacing: .04em; color: var(--ag-fog);
  background: rgba(16, 21, 27, .78); border: 1px solid var(--ag-edge);
  opacity: 0; will-change: transform, opacity;
  transition: color .4s, border-color .4s;
}
.ptag i {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font: 700 12px/1 var(--f-display); font-style: normal; color: var(--ag-white);
  border: 1px solid rgba(242, 245, 247, .3); transition: background-color .4s, color .4s, border-color .4s;
}
.ptag.is-up { color: var(--ag-soft); }
.ptag.is-active { color: var(--ag-white); border-color: rgba(61, 227, 255, .5); }
.ptag.is-active i { background: var(--ag-cyan); color: var(--ag-black); border-color: var(--ag-cyan); }

/* ---------- Tipografía ---------- */
.label {
  display: flex; align-items: center;
  font: 600 12px/1.2 var(--f-body);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ag-fog);
}
.idx { font: 500 13px/1 var(--f-display); letter-spacing: 0; color: var(--ag-white); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; }
.idx::after { content: ""; width: 48px; height: 1px; background: rgba(242, 245, 247, .3); margin: 0 14px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 12px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ag-soft); margin-bottom: clamp(20px, 3vh, 32px); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ag-cyan); box-shadow: 0 0 12px rgba(61, 227, 255, .8); }
.title-two { display: flex; flex-direction: column; gap: .12em; font-weight: 400; }
.title-two .t1 { font: 400 clamp(20px, 2.1vw, 32px)/1.2 var(--f-body); color: var(--ag-fog); }
.title-two .t2 { font: 700 clamp(38px, 5.4vw, 88px)/1.05 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.title-two.big .t2 { font-size: clamp(44px, 8vw, 132px); }
.key { font-style: normal; color: var(--ag-cyan); }
.section-head .label { margin-bottom: 28px; }

/* split en palabras (lo arma main.js) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; will-change: transform; }
.split.is-in .w { overflow: visible; }

/* ---------- Botones ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 30px; border-radius: 999px;
  font: 600 16px/1 var(--f-body); white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform .5s var(--ease-out), background-color .25s, box-shadow .35s, border-color .25s, color .25s;
}
.btn-primary { background: var(--ag-cyan); color: var(--ag-black); box-shadow: 0 0 0 rgba(61, 227, 255, 0); }
.btn-primary:hover { box-shadow: var(--ag-glow); }
.btn-ghost { border: 1px solid rgba(242, 245, 247, .3); color: var(--ag-white); background: rgba(5, 7, 10, .35); }
.btn-ghost:hover { border-color: var(--ag-white); }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-lg { padding: 22px 40px; font-size: 18px; }
.btn > span[aria-hidden] { transition: transform .4s var(--ease-out); }
.btn:hover > span[aria-hidden] { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { margin-top: 16px; font-size: 14px; color: var(--ag-soft); text-shadow: 0 1px 12px rgba(5, 7, 10, .9); }

/* ---------- Capas globales ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; background: var(--ag-cyan); transform-origin: 0 50%; transform: scaleX(0); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: transform .6s var(--ease-out), background-color .4s, padding .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(5, 7, 10, .9); padding-block: 14px; border-bottom-color: var(--ag-line); }
.nav.is-hidden:not(:focus-within) { transform: translateY(-101%); transition: transform .35s var(--ease-in), background-color .4s, padding .4s; }
.logo { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; display: inline-flex; gap: .25em; align-items: baseline; }
.logo-a { font-weight: 700; }
.logo-ai { font-weight: 500; color: var(--ag-cyan); }
/* Mientras el hero está a la vista, su CTA es el único cian: el del menú espera en versión contorno */
.nav:not(.is-past) .nav-cta { background: rgba(5, 7, 10, .35); color: var(--ag-white); box-shadow: inset 0 0 0 1px rgba(242, 245, 247, .3); }
.nav:not(.is-past) .nav-cta:hover { box-shadow: inset 0 0 0 1px var(--ag-white); }
.nav-links { display: flex; gap: 36px; font-size: 15px; color: rgba(242, 245, 247, .78); }
.nav-links a { position: relative; padding-block: 6px; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ag-cyan); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .3s var(--ease-in); }
.nav-links a:hover { color: var(--ag-white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }

/* Índice de estaciones */
.rail { display: none; }
.js .rail {
  position: fixed; right: clamp(16px, 2.2vw, 36px); top: 50%; z-index: 40; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px; pointer-events: none;
  opacity: 0; transition: opacity .8s var(--ease-out);
}
.js .rail.is-on { opacity: 1; }
.js .rail.is-on.is-muted { opacity: 0; transition: opacity .3s var(--ease-in); }
.rail-n, .rail-t { text-shadow: 0 0 10px rgba(5, 7, 10, .95), 0 0 2px rgba(5, 7, 10, .9); }
.rail-ticks { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.rail-ticks i { display: block; width: 10px; height: 1px; background: rgba(242, 245, 247, .28); transition: width .6s var(--ease-out), background-color .3s; }
.rail-ticks i.is-active { width: 28px; background: var(--ag-cyan); }
.rail-now { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rail-n { font: 500 13px/1 var(--f-display); color: var(--ag-white); font-variant-numeric: tabular-nums; }
.rail-t { writing-mode: vertical-rl; font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ag-fog); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(5, 7, 10, .82) 0%, rgba(5, 7, 10, .5) 38%, rgba(5, 7, 10, 0) 68%),
    linear-gradient(to top, rgba(5, 7, 10, .7) 0%, rgba(5, 7, 10, 0) 42%);
}
.hero-inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(72px, 11vh, 112px); }
.hero .title-two { gap: .04em; }
.hero .title-two .t1 { font-size: clamp(22px, 2.9vw, 46px); color: var(--ag-white); opacity: .86; }
.hero .title-two .t2 { font-size: clamp(46px, min(10.4vw, 19vh), 172px); line-height: 1.02; letter-spacing: -.035em; text-wrap: initial; max-width: 9.2em; }
.hero .key { text-shadow: var(--ag-glow); }
.js .hero .title-two { visibility: hidden; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; margin-top: clamp(28px, 4.5vh, 48px); flex-wrap: wrap; }
.lead { max-width: 520px; font-size: clamp(17px, 1.35vw, 20px); color: var(--ag-soft); }
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 14px;
  font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ag-fog);
}
.sc-line { position: relative; width: 56px; height: 1px; background: rgba(242, 245, 247, .2); overflow: hidden; }
.sc-line::after { content: ""; position: absolute; inset: 0; background: var(--ag-cyan); transform: translateX(-101%); animation: cue 2.6s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateX(-101%); } 55% { transform: translateX(0); } 100% { transform: translateX(101%); } }

/* ---------- 2. Confianza ---------- */
.trust { padding-block: clamp(64px, 8vw, 120px) clamp(40px, 4vw, 64px); }
.trust .label { margin-bottom: 36px; }
.trust { position: relative; }
.trust::before {
  content: ""; position: absolute; top: 0; bottom: -180px; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 7, 10, 0) 0%, rgba(5, 7, 10, .84) 20%, rgba(5, 7, 10, .84) 62%, rgba(5, 7, 10, .5) 82%, rgba(5, 7, 10, 0) 100%);
}
.clients { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; border-top: 1px solid var(--ag-edge); padding-top: clamp(32px, 3.6vw, 52px); }
.clients li { display: flex; align-items: center; justify-content: center; height: 52px; }
.clients img, .clients .innato { opacity: .66; transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), filter .45s; }
.clients li:hover img, .clients li:hover .innato { opacity: 1; transform: translateY(-2px); filter: drop-shadow(0 0 14px rgba(242, 245, 247, .18)); }
.clients img { width: auto; max-width: none; }
.c-proquinal img { height: clamp(17px, 1.6vw, 23px); }
.c-spradling img { height: clamp(17px, 1.6vw, 23px); }
.c-calypso img { height: clamp(29px, 2.5vw, 36px); }
.c-stefanini img { height: clamp(36px, 3.1vw, 45px); }
.innato { font: 500 clamp(19px, 1.75vw, 26px)/1 var(--f-display); letter-spacing: .3em; margin-right: -.3em; color: var(--ag-white); }

/* ---------- 3. Manifiesto ---------- */
.manifesto { position: relative; padding-block: clamp(96px, 14vw, 200px); }
.manifesto .label { margin-bottom: clamp(28px, 5vh, 48px); }
.manifesto-text { font: 500 clamp(26px, 3.5vw, 56px)/1.16 var(--f-display); letter-spacing: -.02em; max-width: 16.5em; text-wrap: pretty; }
.manifesto-text .mw { opacity: .2; }
.manifesto-text .hl { color: var(--ag-cyan); }
.manifesto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 30% 52%, rgba(5, 7, 10, .55) 0%, rgba(5, 7, 10, 0) 100%),
    linear-gradient(90deg, rgba(5, 7, 10, .9) 0%, rgba(5, 7, 10, .78) 45%, rgba(5, 7, 10, .4) 72%, rgba(5, 7, 10, .2) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.manifesto-pin { position: relative; }

/* ---------- Tarjetas (grafito, borde blanco 15 %, radio 28) ---------- */
.card, .cal-inline {
  background: linear-gradient(160deg, rgba(22, 28, 36, .94) 0%, rgba(13, 17, 22, .94) 100%);
  border: 1px solid var(--ag-edge); border-radius: var(--radius);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(242, 245, 247, .05);
}
.tilt { --rx: 0deg; --ry: 0deg; --sx: 50%; --sy: 50%; position: relative; isolation: isolate; }
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(380px circle at var(--sx) var(--sy), rgba(242, 245, 247, .07), transparent 55%);
}
.tilt:hover::before { opacity: 1; }

/* ---------- 4. Qué hacemos ---------- */
.services, .why, .faq { padding-block: clamp(110px, 14vw, 220px); }
.services { padding-top: clamp(64px, 7vw, 120px); }
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.services .section-head { position: sticky; top: 22vh; }
.services { position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 7, 10, .82) 0%, rgba(5, 7, 10, .55) 34%, rgba(5, 7, 10, .2) 60%, rgba(5, 7, 10, 0) 80%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.services .title-two .t2 { font-size: clamp(36px, 4.4vw, 72px); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { padding: 30px 30px 34px; min-height: clamp(280px, 24vw, 360px); display: flex; flex-direction: column; }
.card:nth-child(even) { margin-top: 72px; margin-bottom: -72px; }
.card-n { font: 500 13px/1 var(--f-display); color: var(--ag-fog); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 12px; transition: color .3s; }
.card-n::after { content: ""; flex: 1; height: 1px; background: var(--ag-edge); transform-origin: 0 50%; transition: background-color .4s; }
.card:hover .card-n { color: var(--ag-cyan); }
.card:hover .card-n::after { background: rgba(61, 227, 255, .6); }
.card h3 { font: 500 clamp(24px, 2vw, 31px)/1.12 var(--f-display); letter-spacing: -.01em; margin: auto 0 14px; padding-top: 56px; }
.card p { color: var(--ag-soft); font-size: 16px; }

/* ---------- 5. Método ---------- */
.method { position: relative; }
.method::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 10, .8) 0%, rgba(5, 7, 10, .55) 36%, rgba(5, 7, 10, 0) 62%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.method-pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: clamp(88px, 12vh, 128px) clamp(40px, 6vh, 72px); }
.method-col { width: min(100%, 620px); }
.method-col .label { margin-bottom: 24px; }
.method .title-two .t2 { font-size: clamp(34px, 4vw, 64px); }
.method-meter { display: flex; align-items: center; gap: 20px; margin: clamp(24px, 4vh, 40px) 0 clamp(12px, 2vh, 20px); }
.mc { font: 700 15px/1 var(--f-display); font-variant-numeric: tabular-nums; display: inline-flex; gap: 6px; align-items: baseline; }
.mc-now { display: inline-block; color: var(--ag-cyan); }
.mc-sep, .mc-total { color: var(--ag-fog); }
.method-bar { flex: 1; max-width: 300px; height: 2px; background: rgba(242, 245, 247, .14); overflow: hidden; }
.method-bar span { display: block; height: 100%; background: var(--ag-cyan); transform-origin: 0 50%; transform: scaleX(.25); }
.method-steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 0 20px; padding: 18px 0; border-top: 1px solid var(--ag-edge); }
.step:last-child { border-bottom: 1px solid var(--ag-edge); }
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font: 700 14px/1 var(--f-display); color: var(--ag-white); border: 1px solid rgba(242, 245, 247, .3);
  transition: background-color .5s var(--ease-out), color .3s, border-color .5s, box-shadow .6s;
}
.step h3 { font: 500 clamp(22px, 2vw, 30px)/1.15 var(--f-display); letter-spacing: -.01em; padding-top: 1px; transition: color .5s; }
.step-p { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease-out), opacity .5s; }
.step-p p { min-height: 0; overflow: hidden; color: var(--ag-soft); max-width: 480px; }
.step-p p::before { content: ""; display: block; height: 10px; }
.step.is-active .step-n { background: var(--ag-cyan); color: var(--ag-black); border-color: var(--ag-cyan); }
.js .step:not(.is-active) h3 { color: rgba(242, 245, 247, .6); }
@media (min-width: 781px) and (min-height: 700px) {
  .js .step:not(.is-active) .step-p { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease-io), opacity .2s; }
}

/* ---------- 6. Promesa ---------- */
.promise { position: relative; }
.promise-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px; }
.promise-num { display: flex; align-items: baseline; gap: clamp(12px, 2vw, 32px); margin: clamp(16px, 3vh, 32px) 0 clamp(20px, 4vh, 44px) -.04em; }
.promise-num .count {
  display: inline-block; min-width: 1.18em; font: 700 clamp(170px, 33vw, 560px)/.8 var(--f-display); letter-spacing: -.05em;
  color: var(--ag-cyan); text-shadow: 0 0 40px rgba(61, 227, 255, .45), 0 0 120px rgba(61, 227, 255, .22); font-variant-numeric: tabular-nums;
}
.promise-num .unit { font: 500 clamp(28px, 4.6vw, 76px)/1 var(--f-display); letter-spacing: -.02em; color: var(--ag-white); }
.promise-text { font: 400 clamp(20px, 2.2vw, 34px)/1.32 var(--f-body); max-width: 21em; color: var(--ag-soft); }
.promise-text strong { font-weight: 600; color: var(--ag-white); }
@media (min-width: 781px) {
  .js .promise { height: 170vh; }
  .js .promise-pin { position: sticky; top: 0; }
  .js .manifesto { height: 280vh; padding-block: 0; }
  .js .manifesto-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .js .manifesto::before { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%); }
}

/* ---------- 7. Valores ---------- */
.why { position: relative; }
.why .section-head { margin-bottom: clamp(48px, 6vw, 96px); }
.values { border-bottom: 1px solid var(--ag-edge); }
.value {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 32px; align-items: baseline;
  padding: clamp(24px, 2.8vw, 44px) 0; border-top: 1px solid var(--ag-edge);
}
.value::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ag-cyan); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease-in); }
.value:hover::before { transform: scaleX(1); transform-origin: 0 50%; transition: transform .8s var(--ease-out); }
.v-n { font: 500 13px/1 var(--f-display); color: var(--ag-fog); font-variant-numeric: tabular-nums; }
.value h3 { font: 500 clamp(30px, 3.4vw, 56px)/1.05 var(--f-display); letter-spacing: -.02em; transition: transform .6s var(--ease-out); }
.value:hover h3 { transform: translateX(12px); }
.value .motto { font: 600 clamp(17px, 1.3vw, 20px)/1.4 var(--f-body); color: var(--ag-white); }
.value .v-d { color: var(--ag-soft); font-size: 16px; }

/* ---------- 8. Fundador: una persona, una escena. A la derecha, el prisma que se eleva es su retrato ---------- */
.founder { position: relative; }
.founder::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 10, .86) 0%, rgba(5, 7, 10, .6) 40%, rgba(5, 7, 10, 0) 64%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.founder-in { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(120px, 14vh, 180px); }
.founder-in > * { max-width: 640px; }
.founder .label { margin-bottom: 28px; }
.founder .title-two .t2 { font-size: clamp(36px, 4.2vw, 68px); }
.founder-id { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(40px, 6vh, 72px); padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--ag-edge); max-width: none; }
.seal { position: relative; flex: none; width: clamp(96px, 8.4vw, 132px); aspect-ratio: 120 / 104; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal path { fill: none; vector-effect: non-scaling-stroke; }
.seal-o { stroke: rgba(242, 245, 247, .34); stroke-width: 1; }
.seal-i { stroke: rgba(61, 227, 255, .55); stroke-width: 1; stroke-dasharray: 3 5; transition: stroke .5s; }
.seal span { position: relative; font: 700 clamp(30px, 2.7vw, 42px)/1 var(--f-display); letter-spacing: -.03em; color: var(--ag-white); }
.founder-id:hover .seal-i { stroke: var(--ag-cyan); }
.founder-name { font: 700 clamp(48px, 6.4vw, 108px)/.94 var(--f-display); letter-spacing: -.035em; white-space: nowrap; }
.role { display: flex; align-items: center; gap: 12px; color: var(--ag-soft); margin-top: 14px; font: 600 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.role::before { content: ""; width: 32px; height: 1px; background: var(--ag-cyan); }
.founder-line { margin-top: clamp(28px, 4vh, 40px); font-size: clamp(17px, 1.3vw, 20px); color: var(--ag-soft); max-width: 520px; }
.founder-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(28px, 4vh, 40px); max-width: none; }

/* ---------- 9. Preguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq .section-head { position: sticky; top: 22vh; }
.faq { position: relative; }
.faq::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 10, .62) 0%, rgba(5, 7, 10, .45) 38%, rgba(5, 7, 10, .78) 62%, rgba(5, 7, 10, .84) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.faq .title-two .t2 { font-size: clamp(36px, 4.2vw, 68px); }
.faq-list { border-bottom: 1px solid var(--ag-edge); }
.faq details { border-top: 1px solid var(--ag-edge); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 20px; gap: 0 12px; align-items: center;
  padding: 26px 0; font: 500 clamp(19px, 1.7vw, 25px)/1.25 var(--f-display); letter-spacing: -.01em; color: var(--ag-soft); transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--ag-white); }
.q-n { font: 500 13px/1 var(--f-display); color: var(--ag-fog); font-variant-numeric: tabular-nums; }
.q-i { position: relative; width: 18px; height: 18px; }
.q-i::before, .q-i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ag-fog); transition: transform .5s var(--ease-out), background-color .3s; }
.q-i::after { transform: rotate(90deg); }
.faq details[open] .q-i::before { background: var(--ag-cyan); }
.faq details[open] .q-i::after { transform: rotate(0deg); background: var(--ag-cyan); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 44px 28px 56px; color: var(--ag-soft); max-width: 720px; }

/* ---------- 10. Agenda ---------- */
.final { padding-block: clamp(140px, 18vw, 260px) clamp(96px, 10vw, 150px); }
.final .label { margin-bottom: 28px; }
.final { position: relative; }
.final::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 10, .78) 0%, rgba(5, 7, 10, .55) 50%, rgba(5, 7, 10, .35) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 100%);
}
.agenda-gets { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--ag-edge); }
.agenda-gets li { padding: 22px 12px 0 0; color: var(--ag-soft); font-size: clamp(16px, 1.25vw, 19px); }
.g-n { display: block; font: 500 13px/1 var(--f-display); color: var(--ag-cyan); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.cal-wrap { margin-top: clamp(40px, 5vw, 72px); }
.cal-inline { position: relative; overflow: hidden; }
.js .cal-inline, .cal-inline.is-loading, .cal-inline.is-ready { min-height: 640px; margin-bottom: 24px; }
html:not(.js) .cal-inline:not(.is-loading):not(.is-ready) { display: none; }
.cal-inline.is-slow::before { animation: none; opacity: 1; }
.cal-inline > * { position: relative; z-index: 1; }
.cal-inline::before {
  content: attr(data-wait); position: absolute; inset: 0; display: grid; place-items: center; padding-top: 84px;
  font: 600 12px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ag-fog);
  background: radial-gradient(40% 30% at 50% 50%, rgba(61, 227, 255, .06), transparent 70%);
  animation: calwait 2.4s var(--ease-io) infinite;
}
.cal-inline.is-ready::before { content: none; }
@keyframes calwait { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.cal-inline.is-ready + .cal-fallback { display: none; }
.contact { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 48px; color: var(--ag-soft); }
.contact a { border-bottom: 1px solid rgba(242, 245, 247, .25); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.contact a:hover { color: var(--ag-white); border-color: var(--ag-cyan); }

/* ---------- Footer ---------- */
.footer { padding: 28px 0 32px; color: var(--ag-fog); font-size: 14px; overflow: hidden; }
.footer-top, .footer-bot { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; align-items: center; }
.footer-top { border-top: 1px solid var(--ag-edge); padding-top: 28px; }
.to-top { color: var(--ag-soft); transition: color .25s; }
.to-top:hover { color: var(--ag-white); }
.footer-mark {
  font-family: var(--f-display); font-size: 13.4vw; line-height: 1; letter-spacing: -.045em; white-space: nowrap; text-align: center;
  padding: clamp(24px, 5vw, 72px) 0 clamp(20px, 3vw, 44px); display: flex; justify-content: center; gap: .22em; align-items: baseline;
}

/* ---------- Animaciones de entrada (las activa main.js) ---------- */
.js .reveal-up { opacity: 0; transform: translateY(24px) scale(.98); }
.js .reveal-up.is-in { opacity: 1; filter: none; transform: none; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out); }
.js .reveal-up.is-in.tilt { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--ease-out), opacity 1s var(--ease-out), filter .9s var(--ease-out); }
.js .scroll-cue { opacity: 0; transition: opacity 1s var(--ease-out) .4s; }
.js.is-started .scroll-cue { opacity: 1; }

.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .js .rail { display: none; }
  .services, .faq { grid-template-columns: 1fr; }
  .services .section-head, .faq .section-head { position: static; }
  .value { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr); }
  .value .v-d { grid-column: 3; }
  .value .motto { grid-column: 3; }
  .value h3 { grid-row: span 2; }
  .v-n { grid-row: span 2; }
  .clients { flex-wrap: wrap; justify-content: flex-start; gap: 22px 64px; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .nav { padding-block: 16px; }
  .nav-links { display: none; }
  .nav .btn-sm { padding: 11px 16px; font-size: 13px; }
  .ptags { display: none; }
  .hero::before { background: linear-gradient(to top, rgba(5, 7, 10, .88) 0%, rgba(5, 7, 10, .62) 48%, rgba(5, 7, 10, .1) 82%); }
  .hero-inner { padding-bottom: 76px; }
  .hero .title-two .t2 { letter-spacing: -.03em; font-size: clamp(46px, 13.6vw, 76px); }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .btn { padding: 16px 24px; }
  .scroll-cue { bottom: 22px; }
  .clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .clients li { justify-content: flex-start; height: 64px; border-bottom: 1px solid var(--ag-line); }
  .clients li:last-child { grid-column: 1 / -1; }
  .manifesto::before { background: rgba(5, 7, 10, .74); }
  .services::before { background: rgba(5, 7, 10, .72); }
  .manifesto { padding-block: 80px; }
  .services, .why, .faq { padding-block: 80px; }
  .final { padding-block: 96px 72px; }
  .trust { padding-block: 56px 40px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card:nth-child(even) { margin: 0; }
  .card h3 { padding-top: 44px; }
  .method::before { background: rgba(5, 7, 10, .62); }
  .method-pin { min-height: 0; padding-block: 80px; }
  .promise-pin { min-height: 80vh; padding-block: 80px; }
  .promise-num { flex-direction: column; align-items: flex-start; gap: 8px; }
  .promise-num .count { font-size: clamp(170px, 56vw, 300px); }
  .value { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .value .v-d, .value .motto { grid-column: auto; }
  .value h3, .v-n { grid-row: auto; }
  .v-n { margin-bottom: 8px; }
  .value:hover h3 { transform: none; }
  .founder::before { background: rgba(5, 7, 10, .55); }
  .founder-in { min-height: 0; padding-block: 88px; }
  .founder-name { font-size: clamp(40px, 12.5vw, 64px); white-space: normal; }
  .founder-id { flex-direction: column; align-items: flex-start; gap: 22px; }
  .seal { width: 76px; }
  .faq summary { grid-template-columns: 34px 1fr 18px; padding: 22px 0; }
  .faq-a p { padding: 0 0 24px 46px; }
  .agenda-gets { grid-template-columns: 1fr; border-top: 0; }
  .agenda-gets li { border-top: 1px solid var(--ag-edge); padding: 18px 0 20px; }
  .js .cal-inline { min-height: 560px; border-radius: 22px; }
  .footer-top, .footer-bot { flex-direction: column; align-items: flex-start; }
}
@media (max-height: 699px) and (min-width: 781px) {
  .method-pin { min-height: 0; padding-block: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal-up { opacity: 1; transform: none; filter: none; }
  .manifesto-text .mw { opacity: 1; }
  .sc-line::after { transform: none; }
}
