/* Yield · web v2 · estilos base (maqueta del paso 2) */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --purple: #515EFD;
  --purple-70: #828BFE;
  --purple-30: #C9CDFE;
  --purple-10: #EEF0FF;
  --ink: #111216;
  --graphite: #292B31;
  --steel: #777B86;
  --border: #E7E8EC;
  --surface: #F4F5F7;
  --canvas: #FAFAFA;
  --white: #FFFFFF;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  background: var(--canvas);
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250, 250, 250, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--border);
}
.nav .logo { height: 17px; width: auto; }
.nav ul { display: flex; gap: 34px; list-style: none; font-size: 14.5px; color: var(--steel); }
.nav ul a { transition: color .2s; }
.nav ul a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--purple); box-shadow: 0 10px 30px -10px rgba(81, 94, 253, .6); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); background: rgba(255,255,255,.6); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 56px;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { /* velo para que el texto respire sobre el campo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(250,250,250,.6) 0%, rgba(250,250,250,0) 45%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; }
.eyebrow {
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px var(--purple-10); }
.hero h1 {
  margin-top: 26px; max-width: 11.5ch;
  font-size: clamp(46px, 7.4vw, 108px); line-height: .98; letter-spacing: -.045em;
  font-weight: 500; color: var(--ink);
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .hero h1 .w > span { transform: none; }
.hero h1 .accent { color: var(--purple); }
.hero .lead {
  margin-top: 30px; max-width: 560px; font-size: clamp(17px, 1.35vw, 20px); color: var(--graphite);
  opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .55s, transform 1s var(--ease) .55s;
}
.hero .actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }
.is-ready .hero .lead, .is-ready .hero .actions, .is-ready .hero .facts { opacity: 1; transform: none; }
.facts {
  position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 72px auto 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 760px; margin-left: max(0px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--border); padding-top: 22px;
  opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s;
}
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.facts dd { margin-top: 6px; font-size: 15.5px; color: var(--ink); }

/* ---------- Pieza: el sistema en 20 segundos ---------- */
.reel { position: relative; background: var(--ink); color: var(--canvas); overflow: hidden; }
.reel-head {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto;
  padding: 110px var(--gutter) 0; display: flex; justify-content: space-between; align-items: end; gap: 40px;
}
.reel-head h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; max-width: 14ch; }
.reel-head p { max-width: 380px; color: #A7AAB3; font-size: 16px; }
.reel .eyebrow { color: #8C8F99; }
.reel .eyebrow::before { box-shadow: 0 0 0 4px rgba(81, 94, 253, .22); }
.reel-stage { position: relative; height: min(78vh, 760px); min-height: 520px; }
.reel-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-caption {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 108px; pointer-events: none;
}
.reel-caption .label { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-70); height: 18px; overflow: hidden; }
.reel-caption .word {
  margin-top: 10px; font-size: clamp(40px, 6.4vw, 96px); line-height: 1; letter-spacing: -.045em; font-weight: 500;
  overflow: hidden; padding-bottom: .08em;
}
.reel-caption .label span, .reel-caption .word span { display: inline-block; animation: rise .9s var(--ease) both; }
.reel-caption .word .dot { color: var(--purple); }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.reel-caption .label span.leave, .reel-caption .word span.leave { animation: leave .34s cubic-bezier(.5, 0, .75, 0) both; }
@keyframes leave { to { transform: translateY(-110%); opacity: 0; } }
.reel-bar {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 44px;
  display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 10px; align-items: center;
}
.reel-bar button.seg {
  appearance: none; border: 0; background: none; cursor: pointer; text-align: left; color: #6E717B;
  font: inherit; font-size: 12px; letter-spacing: .08em; padding: 10px 0 0; position: relative;
  transition: color .3s;
}
.reel-bar button.seg::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #2A2C33; }
.reel-bar button.seg i { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--purple); }
.reel-bar button.seg.is-on { color: var(--canvas); }
.reel-bar .toggle {
  appearance: none; border: 1px solid #34363E; background: none; color: var(--canvas); cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-left: 10px;
}

/* ---------- Nota de maqueta ---------- */
.note { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 96px; color: var(--steel); font-size: 15px; }

@media (max-width: 860px) {
  .nav ul { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(250,250,250,.2) 0%, rgba(250,250,250,.86) 46%, var(--canvas) 70%); }
  .hero { justify-content: flex-end; }
  .facts { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .reel-head { flex-direction: column; align-items: start; padding-top: 80px; }
  .reel-bar button.seg span { display: none; }
  .reel-caption { bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero h1 .w > span, .hero .lead, .hero .actions, .facts { transform: none; opacity: 1; }
}

/* =====================================================================
   Paso 3 · secciones, páginas de servicio y legales
   ===================================================================== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--border); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-num { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); display: flex; gap: 14px; align-items: center; }
.sec-num b { color: var(--purple); font-weight: 500; }
.sec-head h2, .h2 {
  margin-top: 18px; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.04em;
  font-weight: 500; color: var(--ink); max-width: 15ch;
}
.sec-head .intro { font-size: clamp(17px, 1.3vw, 19px); color: var(--graphite); max-width: 520px; }
.muted { color: var(--steel); }

/* Entrada al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: .08s; } .stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .24s; } .stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .40s; } .stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .56s; }

/* Enfoque */
.approach-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.approach-grid .big-p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.stats { display: grid; gap: 40px; }
.stat .n { font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -.05em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .n i { font-style: normal; color: var(--purple); }
.stat p { margin-top: 12px; color: var(--graphite); max-width: 420px; }
.stat a { display: inline-block; margin-top: 8px; font-size: 13.5px; color: var(--steel); border-bottom: 1px solid var(--border); }
.stat a:hover { color: var(--ink); border-color: var(--ink); }

/* Cinco capas */
.layers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.layer { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px 30px; min-height: 230px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.layer .k { font-size: 12.5px; color: var(--steel); letter-spacing: .1em; }
.layer h3 { margin-top: auto; font-size: 25px; letter-spacing: -.03em; font-weight: 500; color: var(--ink); }
.layer .q { margin-top: 4px; font-size: 14.5px; color: var(--purple); }
.layer p { margin-top: 10px; font-size: 14.5px; color: var(--steel); line-height: 1.45; }
.layer.is-key { background: var(--ink); border-color: var(--ink); }
.layer.is-key h3 { color: var(--white); } .layer.is-key p { color: #A7AAB3; } .layer.is-key .k { color: #8C8F99; } .layer.is-key .q { color: var(--purple-70); }
.layer-bars { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--steel); }
.layer-bars div { padding-top: 12px; position: relative; }
.layer-bars div::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 3px; background: var(--border); transition: width 1.4s var(--ease) .3s; }
.layer-bars div + div::before { background: var(--purple); transition-delay: .9s; }
.is-in .layer-bars div::before { width: 100%; }
.layers-note { margin-top: 40px; max-width: 760px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); line-height: 1.45; letter-spacing: -.01em; }

/* El motor */
.engine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.engine article { border-top: 1px solid var(--ink); padding: 26px 8px 0 0; }
.engine .num { font-size: 13px; color: var(--purple); letter-spacing: .1em; }
.engine h3 { margin-top: 20px; font-size: 26px; letter-spacing: -.03em; font-weight: 500; color: var(--ink); }
.engine p { margin-top: 12px; color: var(--graphite); }

/* Entregables */
.deliverables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.deliv { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.deliv:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(17, 18, 22, .35); border-color: #D6D8DE; }
.deliv .n { font-size: 13px; color: var(--steel); font-variant-numeric: tabular-nums; }
.deliv h3 { margin-top: 34px; font-size: 19px; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.deliv p { margin-top: 8px; font-size: 14.5px; color: var(--steel); line-height: 1.5; }
.criterion { margin-top: 12px; border-radius: 22px; background: var(--ink); color: var(--white); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.criterion .tag { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-70); }
.criterion p { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.35; letter-spacing: -.015em; max-width: 880px; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc { position: relative; display: flex; flex-direction: column; min-height: 360px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 28px 26px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--purple); transition: width .7s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(17, 18, 22, .4); }
.svc:hover::before { width: 100%; }
.svc .when { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.svc h3 { margin-top: 18px; font-size: 30px; letter-spacing: -.035em; font-weight: 500; color: var(--ink); }
.svc .promise { margin-top: 10px; color: var(--graphite); font-size: 15.5px; }
.svc .price { margin-top: auto; padding-top: 28px; font-size: 30px; letter-spacing: -.03em; color: var(--ink); font-weight: 500; }
.svc .price small { font-size: 14px; color: var(--steel); font-weight: 400; letter-spacing: 0; }
.svc .more { margin-top: 14px; font-size: 14.5px; color: var(--purple); display: inline-flex; gap: 8px; align-items: center; }
.svc .more span { transition: transform .35s var(--ease); } .svc:hover .more span { transform: translateX(4px); }
.svc.is-core { background: var(--ink); border-color: var(--ink); }
.svc.is-core h3, .svc.is-core .price { color: var(--white); } .svc.is-core .promise { color: #C3C5CC; } .svc.is-core .when { color: #8C8F99; }
.svc.is-core .more { color: var(--purple-70); }
.services-note { margin-top: 22px; color: var(--steel); font-size: 15px; }

/* Precios */
.countries { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; }
.countries button { appearance: none; border: 0; background: none; font: inherit; font-size: 14.5px; padding: 9px 18px; border-radius: 999px; color: var(--graphite); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.countries button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px -4px rgba(17, 18, 22, .25); }
.price-table { margin-top: 28px; border-top: 1px solid var(--ink); }
.price-row { display: grid; grid-template-columns: 1.1fr 1.6fr .9fr 1.2fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--border); }
.price-row .name { font-size: 22px; letter-spacing: -.025em; font-weight: 500; color: var(--ink); }
.price-row .desc { color: var(--graphite); font-size: 15.5px; }
.price-row .dur { color: var(--steel); font-size: 14.5px; }
.price-row .amt { text-align: right; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; transition: opacity .25s; }
.price-row .amt small { display: block; font-size: 13px; letter-spacing: 0; font-weight: 400; color: var(--steel); margin-top: 2px; }
.price-row.licence .name, .price-row.licence .amt { color: var(--steel); font-weight: 400; }
.price-row.licence .amt { font-size: 15px; letter-spacing: 0; }
.amt.is-swap { opacity: 0; }
.price-meta { margin-top: 16px; font-size: 13.5px; color: var(--steel); }
.price-notes { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; }
.price-notes p { font-size: 15px; color: var(--graphite); }
.price-notes strong { color: var(--ink); font-weight: 500; }
.price-fine { margin-top: 36px; font-size: 13.5px; color: var(--steel); max-width: 980px; }

/* Diferencia y límites */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.three h3 { font-size: 24px; letter-spacing: -.03em; font-weight: 500; color: var(--ink); margin-top: 18px; }
.three p { margin-top: 12px; color: var(--graphite); }
.three .num { font-size: 13px; color: var(--purple); letter-spacing: .1em; }
.limits { border-top: 1px solid var(--ink); }
.limit { display: grid; grid-template-columns: 80px minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.limit .num { color: var(--steel); font-size: 14px; }
.limit h3 { font-size: 21px; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.limit p { color: var(--graphite); }

/* Casos */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; }
.case .sector { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.case h3 { margin-top: 16px; font-size: 23px; letter-spacing: -.03em; font-weight: 500; color: var(--ink); line-height: 1.15; }
.case dl { margin-top: 22px; display: grid; gap: 16px; }
.case dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.case dd { margin-top: 4px; font-size: 15px; color: var(--graphite); line-height: 1.5; }

/* Preguntas */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; color: var(--ink); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 28px; color: var(--steel); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--purple); }
.faq details p { padding: 0 0 28px; max-width: 820px; color: var(--graphite); }

/* Hablemos */
.cta { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.cta .wrap { position: relative; z-index: 1; padding-top: clamp(110px, 14vw, 180px); padding-bottom: clamp(110px, 14vw, 180px); }
.cta h2 { font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 500; max-width: 12ch; }
.cta h2 b { color: var(--purple); font-weight: 500; }
.cta p { margin-top: 26px; max-width: 560px; color: #C3C5CC; font-size: 18px; }
.cta .actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--ghost { color: var(--white); background: transparent; box-shadow: inset 0 0 0 1px #3A3C44; }
.cta .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--white); }
.cta .btn--ink { background: var(--white); color: var(--ink); }
.cta .btn--ink:hover { background: var(--purple); color: var(--white); }
.cta small { display: block; margin-top: 22px; color: #8C8F99; font-size: 14px; }
.cta .branch { position: absolute; right: -16vw; top: -38%; width: min(58vw, 820px); z-index: 0; transform: translateY(var(--py, 0px)); will-change: transform; }
@media (max-width: 860px) { .cta .branch { right: -40vw; top: -12%; width: 90vw; opacity: .35; } }

/* Pie */
.footer { background: var(--ink); color: #8C8F99; border-top: 1px solid #23252B; font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 34px; padding-bottom: 34px; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a:hover { color: var(--white); }

/* Menú móvil */
.menu-btn { display: none; appearance: none; border: 0; background: none; width: 40px; height: 40px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .35s var(--ease); }

/* Páginas de servicio */
.hero--sub { min-height: 78svh; }
.crumbs { font-size: 13.5px; color: var(--steel); }
.crumbs a:hover { color: var(--ink); }
.hero--sub h1 { max-width: 12ch; }
.chips { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--border); font-size: 14.5px; color: var(--ink); backdrop-filter: blur(6px); }
.chip b { font-weight: 500; }
.detail { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: 44px 0; border-bottom: 1px solid var(--border); }
.detail:first-child { border-top: 1px solid var(--ink); }
.detail h2 { font-size: 22px; letter-spacing: -.025em; font-weight: 500; color: var(--ink); }
.detail p, .detail li { color: var(--graphite); font-size: 17px; }
.detail ul { list-style: none; display: grid; gap: 12px; }
.detail li { padding-left: 26px; position: relative; }
.detail li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.step:last-child { border-bottom: 0; }
.step .when { color: var(--purple); font-size: 14.5px; }
.step b { font-weight: 500; color: var(--ink); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 64px; }
.pager a { border: 1px solid var(--border); border-radius: 18px; padding: 24px 26px; background: var(--white); transition: border-color .3s, transform .5s var(--ease); }
.pager a:hover { border-color: var(--ink); transform: translateY(-3px); }
.pager small { color: var(--steel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pager span { display: block; margin-top: 6px; font-size: 22px; letter-spacing: -.025em; color: var(--ink); font-weight: 500; }
.pager a.next { text-align: right; }

/* Legales */
.legal { padding: 160px 0 120px; }
.legal h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.04em; font-weight: 500; color: var(--ink); line-height: 1.02; }
.legal .updated { margin-top: 12px; color: var(--steel); font-size: 14px; }
.legal h2 { margin-top: 48px; font-size: 22px; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.legal p, .legal li { margin-top: 12px; max-width: 760px; color: var(--graphite); }
.legal ul { padding-left: 20px; }

@media (max-width: 1100px) {
  .layers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deliverables, .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-row { grid-template-columns: 1fr 1fr; }
  .price-row .desc { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav .btn--sm { display: none; }
  .nav.is-open ul { display: flex; position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--canvas); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--border); font-size: 20px; }
  .nav.is-open ul a { display: block; padding: 14px 0; color: var(--ink); }
  .nav.is-open { background: var(--canvas); }
  .sec-head, .approach-grid, .engine, .three, .cases, .price-notes, .criterion { grid-template-columns: 1fr; }
  .layers, .deliverables, .services { grid-template-columns: 1fr; }
  .layer { min-height: 0; } .layer h3 { margin-top: 28px; }
  .layer-bars { grid-template-columns: 1fr; }
  .limit { grid-template-columns: 1fr; gap: 8px; }
  .detail { grid-template-columns: 1fr; gap: 16px; }
  .step { grid-template-columns: 1fr; gap: 4px; }
  .pager { grid-template-columns: 1fr; }
  .price-row .amt { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .layer-bars div::before { width: 100%; }
}

/* Sección con fotografía (La diferencia) */
.section--photo { color: var(--white); overflow: hidden; isolation: isolate; border-top: 0 !important; min-height: 92vh; display: flex; align-items: center; }
.section--photo .wrap { width: 100%; }
.photo-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.photo-bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; transform: scale(1.04); will-change: transform; filter: grayscale(1) contrast(1.05); }
.photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,22,.78) 0%, rgba(17,18,22,.42) 48%, rgba(17,18,22,.82) 100%); }
.section--photo h2, .section--photo h3 { color: var(--white); }
.section--photo p { color: #D5D7DD; }
.section--photo .sec-num { color: #A7AAB3; } .section--photo .sec-num b, .section--photo .num { color: var(--purple-70); }
.section--photo .three article { border-top: 1px solid rgba(255,255,255,.28); padding-top: 22px; }
.section--photo + .section { border-top: 0; }
