/* ==========================================================================
   PISTA PRIVADO — hoja de estilos
   Sistema: negro, blanco roto y grises. Sin verde ni dorado.
   Tipografía: Archivo (variable, ancho 62–125) + IBM Plex Mono.
   ========================================================================== */

:root {
  --black: #0A0A0B;
  --ink: #111214;
  --graphite: #1E2125;
  --graphite-2: #2A2E33;
  --steel: #5D636A;
  --steel-2: #8B9198;
  --cement: #C8CACB;
  --mist: #E4E4E1;
  --paper: #F2F1EE;
  --white: #FFFFFF;
  --night: #0C111A;           /* azul casi negro, solo como matiz de fondo */

  --line-d: rgba(255, 255, 255, .14);
  --line-d2: rgba(255, 255, 255, .08);
  --line-l: rgba(10, 10, 11, .14);
  --line-l2: rgba(10, 10, 11, .08);

  --f-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --pad: clamp(20px, 4.2vw, 64px);
  --maxw: 1440px;
  --sec: clamp(96px, 12vw, 184px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--black); padding: 12px 18px; font-weight: 600;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.label--plain::before { display: none; }

.display {
  font-family: var(--f-sans);
  font-stretch: 112%;
  font-weight: 600;
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: .94;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h2 {
  font-stretch: 110%;
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 80px);
  line-height: .98;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.h3 {
  font-stretch: 104%;
  font-weight: 600;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: inherit; max-width: 56ch; }
.muted { color: var(--steel); }
.on-dark .muted { color: var(--steel-2); }
.mono { font-family: var(--f-mono); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 58px; padding: 0 26px 0 28px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--f-sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border-radius: 2px; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  text-align: left;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn .arr { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-l); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.on-dark .btn--ghost { --fg: var(--paper); --bd: var(--line-d); }
.on-dark .btn--ghost::before { background: var(--paper); }
.on-dark .btn--ghost:hover { color: var(--ink); }
.btn--full { width: 100%; justify-content: space-between; }

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta__micro {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; color: inherit; opacity: .8;
}
.cta__micro::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease-out);
}
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link .arr { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.link:hover .arr { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--paper);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid, .nav--solid {
  background: rgba(242, 241, 238, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink); border-bottom-color: var(--line-l2);
}
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 30px; height: 18px; }
.brand__word {
  font-stretch: 125%; font-weight: 700; font-size: 15px; letter-spacing: .16em; line-height: 1; white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__links a, .nav__drop > button {
  font-size: 14px; font-weight: 500; letter-spacing: .01em; position: relative; padding: 6px 0;
  background: none; border: 0;
}
.nav__links a::after, .nav__drop > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__links a:hover::after, .nav__drop > button:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__drop { position: relative; }
.nav__drop > button { display: inline-flex; align-items: center; gap: 6px; }
.nav__drop > button svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav__drop[data-open="true"] > button svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 18px); left: -24px; min-width: 300px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-l2);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.35);
}
.nav__drop[data-open="true"] .nav__menu, .nav__drop:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__menu a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; }
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: var(--mist); }
.nav__menu a span { font-size: 13px; color: var(--steel); font-weight: 400; }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.nav:not(.is-solid):not(.nav--solid) .nav__cta .btn { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.nav__burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 28px; }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 85; background: var(--black); color: var(--paper);
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px) var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.mmenu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.mmenu ol { display: flex; flex-direction: column; border-top: 1px solid var(--line-d); }
.mmenu li { border-bottom: 1px solid var(--line-d); }
.mmenu ol a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; font-stretch: 112%; font-weight: 600; font-size: 26px; letter-spacing: -.01em; }
.mmenu ol a small { font-family: var(--f-mono); font-size: 11px; color: var(--steel-2); font-weight: 400; letter-spacing: .1em; }
.mmenu .cta { margin-top: auto; }
.menu-lock { overflow: hidden; }
.nav.menu-open { color: var(--paper); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--paper); background: var(--black);
  min-height: max(640px, min(100svh, 1000px)); display: flex; align-items: flex-end; overflow: hidden;
  isolation: isolate;
}
.hero--page { min-height: max(600px, min(88svh, 860px)); }
.hero__media { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 55%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.62) 0%, rgba(10,10,11,.05) 26%, rgba(10,10,11,.0) 44%, rgba(10,10,11,.72) 78%, rgba(10,10,11,.92) 100%),
    linear-gradient(90deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 62%);
}
.hero__in { width: 100%; padding-top: calc(var(--nav-h) + 72px); padding-bottom: clamp(28px, 4vw, 48px); }
.hero__eyebrow { margin-bottom: clamp(20px, 2.4vw, 32px); color: rgba(242,241,238,.82); }
.hero h1 { max-width: 15ch; }
.hero--page h1 { font-size: clamp(40px, 6.2vw, 104px); max-width: 17ch; }
.hero__sub { margin-top: clamp(20px, 2.4vw, 32px); max-width: 54ch; color: rgba(242,241,238,.86); }
.hero__actions { margin-top: clamp(28px, 3.2vw, 44px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 36px; }
.hero__actions .link { margin-top: 18px; color: var(--paper); }
.hero__foot {
  margin-top: clamp(40px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--line-d);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px 32px; align-items: start;
}
.seal { display: flex; flex-direction: column; gap: 4px; }
.seal b { font-weight: 600; font-size: 15px; }
.seal span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: rgba(242,241,238,.62); text-transform: uppercase; }
.hero__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,241,238,.6); white-space: nowrap; align-self: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(242,241,238,.7); margin-bottom: 26px; }
.crumbs a:hover { color: var(--paper); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
@media (max-width: 760px) {
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .hero__tag { grid-column: 1 / -1; }
  .seal:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- Secciones ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .66); }
.on-dark { background: var(--black); color: var(--paper); }
.on-graphite { background: var(--graphite); color: var(--paper); }
.on-white { background: var(--white); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: clamp(48px, 6vw, 96px); }
@media (min-width: 980px) {
  .sec__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 64px; }
  .sec__head--stack { grid-template-columns: minmax(0, 1fr); }
}
.sec__head .label { margin-bottom: 26px; }
.sec__head p { max-width: 52ch; }
.rule { height: 1px; background: var(--line-l); border: 0; margin: 0; }
.on-dark .rule, .on-graphite .rule { background: var(--line-d); }

/* Propuesta de valor */
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-l); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { padding: 36px 0 44px; border-bottom: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) {
  .pillar { padding: 40px 40px 48px 0; border-bottom: 0; }
  .pillar + .pillar { padding-left: 40px; border-left: 1px solid var(--line-l); }
}
.pillar__n { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--steel); }
.pillar h3 { font-stretch: 118%; font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: .01em; text-transform: uppercase; line-height: 1.05; }
.pillar p { color: var(--graphite-2); max-width: 36ch; }
.proofs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.proof {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid var(--line-l);
  font-weight: 600; font-size: 15px; background: var(--white);
}
.proof svg { width: 18px; height: 18px; flex: none; }

/* Tarjetas de soluciones */
.grid3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px 32px; }
@media (min-width: 720px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.media { position: relative; overflow: hidden; background: var(--graphite); }
.media picture, .media img { width: 100%; height: 100%; }
.media img { object-fit: cover; transition: transform 1.4s var(--ease-out); }
.card:hover .media img, .aud:hover .media img, .tile:hover img { transform: scale(1.035); }
.media--43 { aspect-ratio: 4 / 3; }
.media--1610 { aspect-ratio: 16 / 10; }
.media--wide { aspect-ratio: 21 / 9; }
.tag-ill {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.86); background: rgba(10,10,11,.42); padding: 5px 8px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card__n { font-family: var(--f-mono); font-size: 12px; color: var(--steel); letter-spacing: .1em; }
.card h3 { margin-top: -6px; }
.card p { color: var(--graphite-2); }
.card .link { margin-top: 2px; align-self: flex-start; }

/* Para quién */
.aud-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aud { position: relative; display: block; overflow: hidden; color: var(--paper); min-height: clamp(420px, 44vw, 600px); isolation: isolate; }
.aud .media { position: absolute; inset: 0; z-index: -2; }
.aud::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.2) 40%, rgba(10,10,11,.86) 100%); transition: opacity .6s var(--ease); }
.aud__in { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.aud__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,241,238,.75); }
.aud h3 { font-stretch: 112%; font-weight: 600; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.04; letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; }
.aud .link { color: var(--paper); align-self: flex-start; }
.aud .tag-ill { left: auto; right: 14px; bottom: auto; top: 12px; }
.pros {
  margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 48px; align-items: center;
  padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line-d);
}
@media (min-width: 980px) { .pros { grid-template-columns: minmax(0, 1fr) auto; } }
.pros__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
.pros p { font-stretch: 108%; font-size: clamp(20px, 1.9vw, 28px); font-weight: 500; line-height: 1.25; margin-top: 10px; max-width: 34ch; }

/* Proyectos */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); }
  .tile:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .tile:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .tile:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .tile:nth-child(4) { grid-column: span 2; grid-row: span 2; }
  .tile:nth-child(5) { grid-column: span 2; grid-row: span 2; }
  .tile:nth-child(6) { grid-column: span 2; grid-row: span 2; }
}
.tile { position: relative; overflow: hidden; background: var(--graphite); margin: 0; min-height: 240px; }
.tile picture, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform 1.4s var(--ease-out); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: var(--paper);
  background: linear-gradient(180deg, rgba(10,10,11,0), rgba(10,10,11,.78));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 14px; font-weight: 500;
}
.tile figcaption span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,241,238,.75); white-space: nowrap; }
.gallery-foot { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end; }
@media (min-width: 900px) { .gallery-foot { grid-template-columns: minmax(0, 1fr) auto; } }
.gallery-foot p { max-width: 60ch; }

/* Servicio 360 */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
@media (min-width: 760px) { .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .svc { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.svc li { border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); padding: 22px 18px 26px; min-height: 172px; display: flex; flex-direction: column; gap: 10px; transition: background-color .4s var(--ease), color .4s var(--ease); }
.svc li:hover { background: var(--white); }
.svc .n { font-family: var(--f-mono); font-size: 11px; color: var(--steel); letter-spacing: .1em; }
.svc b { font-stretch: 108%; font-weight: 600; font-size: 17px; line-height: 1.2; margin-top: auto; }
.svc span { font-size: 13.5px; line-height: 1.45; color: var(--steel); }
.svc li.is-key { background: var(--ink); color: var(--paper); }
.svc li.is-key .n, .svc li.is-key span { color: var(--steel-2); }
.svc-note { margin-top: 36px; display: flex; gap: 18px; align-items: flex-start; max-width: 70ch; font-size: 18px; }
.svc-note svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }

/* Proceso */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding: 0 0 36px; }
.step::before { content: ""; position: absolute; left: 21px; top: 40px; bottom: 0; width: 1px; background: var(--line-d); }
.step:last-child::before { display: none; }
.step__n { width: 44px; height: 44px; border: 1px solid var(--line-d); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12.5px; border-radius: 50%; background: var(--black); position: relative; z-index: 1; transition: background-color .4s var(--ease), color .4s var(--ease); }
.step.is-key .step__n, .step:hover .step__n { background: var(--paper); color: var(--ink); }
.step h3 { font-stretch: 112%; font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; padding-top: 10px; }
.step p { grid-column: 2; color: var(--steel-2); font-size: 15.5px; max-width: 40ch; }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 20px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0; }
  .step::before { left: 44px; right: -20px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step h3 { padding-top: 6px; font-size: 16px; }
  .step p { grid-column: 1; font-size: 14.5px; }
}

/* Cómo trabajamos */
.model { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .model { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.model__text p + p { margin-top: 22px; }
.model__text .big { font-stretch: 106%; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; font-weight: 500; color: var(--paper); }
.model__text p { color: rgba(242,241,238,.78); max-width: 54ch; }
.flow { border: 1px solid var(--line-d); padding: clamp(20px, 3vw, 36px); }
.flow svg { width: 100%; height: auto; }
.flow figcaption { margin-top: 18px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-2); }
.points { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-d); }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.point { padding: 30px 0; border-bottom: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .point { padding: 34px 36px 0 0; border-bottom: 0; } .point + .point { padding-left: 36px; border-left: 1px solid var(--line-d); } }
.point b { font-stretch: 110%; font-size: 19px; font-weight: 600; }
.point p { color: var(--steel-2); font-size: 15.5px; }

/* Formulario */
.req { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .req { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .req__intro { position: sticky; top: calc(var(--nav-h) + 40px); } }
.req__intro .h2 { margin-top: 26px; }
.req__intro .lead { margin-top: 24px; }
.next { margin-top: 40px; border-top: 1px solid var(--line-l); }
.next li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.next .n { font-family: var(--f-mono); font-size: 12px; color: var(--steel); padding-top: 3px; }
.next b { display: block; font-weight: 600; }
.next span { color: var(--steel); font-size: 15px; }

.form { background: var(--white); border: 1px solid var(--line-l2); padding: clamp(24px, 3.4vw, 48px); position: relative; }
.form__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.form__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.form__bar { height: 2px; background: var(--mist); margin-bottom: 36px; position: relative; overflow: hidden; }
.form__bar i { position: absolute; inset: 0 auto 0 0; width: 33.34%; background: var(--ink); transition: width .6s var(--ease-out); }
.form__note { display: none; align-items: center; gap: 10px; margin-bottom: 24px; padding: 12px 14px; background: var(--paper); font-size: 14px; }
.form__note.is-on { display: flex; }
.step-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-panel[hidden] { display: none !important; }
.step-panel > legend { padding: 0; font-stretch: 110%; font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.01em; margin-bottom: 30px; }
.fgroup { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.fgroup > legend, .flabel { display: block; padding: 0; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.flabel small, .fgroup > legend small { font-weight: 400; color: var(--steel); margin-left: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border: 1px solid var(--line-l);
  font-size: 15px; line-height: 1.25; background: var(--white); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  border-radius: 2px;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 20px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { margin-bottom: 24px; min-width: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"] {
  width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line-l); background: var(--white); border-radius: 2px;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -moz-appearance: textfield;
}
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input:hover { border-color: var(--steel-2); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input::placeholder { color: var(--steel-2); }
.is-invalid input[type="text"], .is-invalid input[type="tel"], .is-invalid input[type="email"] { border-color: #8E2A2A; }
.ferr { display: none; margin-top: 8px; font-size: 13.5px; color: #8E2A2A; }
.is-invalid .ferr { display: block; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--graphite-2); margin: 8px 0 28px; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; justify-content: space-between; margin-top: 8px; }
.form__back { background: none; border: 0; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--steel); display: inline-flex; align-items: center; gap: 8px; }
.form__back:hover { color: var(--ink); }
.form__back svg { width: 14px; height: 14px; transform: rotate(180deg); }
.form__submit { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.form__layer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-l2); font-size: 12.5px; line-height: 1.55; color: var(--steel); }
.form__layer a { text-decoration: underline; text-underline-offset: 2px; }
.form__error { display: none; margin-top: 18px; padding: 14px 16px; border: 1px solid #8E2A2A; color: #8E2A2A; font-size: 14.5px; }
.form__error.is-on { display: block; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .faq__intro { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }
.faq__intro .h2 { margin-top: 26px; }
.faq__intro p { margin-top: 22px; color: var(--steel); max-width: 40ch; }
.faq__intro .cta { margin-top: 32px; }
.qa { border-top: 1px solid var(--line-l); }
.qa details { border-bottom: 1px solid var(--line-l); }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 20px; align-items: center;
  padding: 26px 0; font-stretch: 104%; font-weight: 600; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-l); border-radius: 50%; transition: background-color .3s var(--ease), border-color .3s; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.qa summary .pm::after { transform: rotate(90deg); }
.qa details[open] summary .pm { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qa details[open] summary .pm::after { transform: rotate(0); }
.qa summary:hover .pm { border-color: var(--ink); }
.qa .a { padding: 0 48px 28px 0; color: var(--graphite-2); max-width: 70ch; }
.qa .a a { text-decoration: underline; text-underline-offset: 3px; }

/* CTA final */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final__media { position: absolute; inset: 0; z-index: -2; opacity: .42; }
.final__media picture, .final__media img { width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--black) 0%, rgba(10,10,11,.55) 50%, var(--black) 100%); }
.final__in { padding-block: clamp(120px, 16vw, 240px); display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.final .display { max-width: 13ch; font-size: clamp(48px, 9vw, 152px); }
.final p { max-width: 50ch; color: rgba(242,241,238,.8); }

/* Footer */
.foot { background: var(--black); color: var(--paper); padding: clamp(64px, 8vw, 112px) 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-d2); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1000px) { .foot__top { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; } }
.foot .brand__word { font-size: 18px; }
.foot__about { margin-top: 22px; color: var(--steel-2); max-width: 42ch; font-size: 15.5px; }
.foot h2 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 18px; }
.foot li + li { margin-top: 10px; }
.foot li a, .foot li button { font-size: 15px; color: rgba(242,241,238,.86); background: none; border: 0; padding: 0; text-align: left; }
.foot li a:hover, .foot li button:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot__big { margin-top: clamp(64px, 9vw, 128px); font-stretch: 125%; font-weight: 700; font-size: clamp(40px, 11.2vw, 176px); line-height: .85; letter-spacing: -.02em; color: rgba(242,241,238,.08); white-space: nowrap; user-select: none; }
.foot__bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--steel-2); }

/* WhatsApp flotante */
.wa {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  height: 56px; min-width: 56px; padding: 0 18px 0 16px; border-radius: 28px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.55);
  transform: translateY(0); transition: transform .5s var(--ease-out), opacity .4s var(--ease), background-color .3s;
}
.wa svg { width: 22px; height: 22px; flex: none; }
.wa__t { font-size: 14px; font-weight: 600; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease-out); }
.wa:hover .wa__t, .wa:focus-visible .wa__t { max-width: 140px; }
.wa:hover { background: var(--black); }
.wa.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* Barra fija móvil */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: none;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10,10,11,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-d); gap: 10px; transform: translateY(110%); transition: transform .5s var(--ease-out);
}
.mbar.is-on { transform: none; }
.mbar .btn { flex: 1; min-height: 52px; font-size: 15px; }
.mbar__wa { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--paper); border-radius: 2px; }
.mbar__wa svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .mbar { display: flex; }
  .wa { display: none; }
  body { padding-bottom: 0; }
}

/* Banner de cookies */
.cookie {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 95; max-width: 460px; width: calc(100% - 32px);
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-l); padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: 14px; line-height: 1.5; }
.cookie p a { text-decoration: underline; }
.cookie__b { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cookie .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Páginas: bloques reutilizables */
.intro2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1000px) { .intro2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.intro2 .h2 { margin-top: 26px; }
.intro2__t p { font-size: clamp(18px, 1.4vw, 20px); color: var(--graphite-2); max-width: 60ch; }
.intro2__t p + p { margin-top: 20px; }
.list2 { border-top: 1px solid var(--line-l); display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .list2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; } }
.list2 li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 26px 0; border-bottom: 1px solid var(--line-l); }
.list2 .n { font-family: var(--f-mono); font-size: 12px; color: var(--steel); padding-top: 4px; }
.list2 b { font-stretch: 106%; font-weight: 600; font-size: 18px; }
.list2 p { grid-column: 2; color: var(--graphite-2); font-size: 16px; }
.cards3 { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-l); }
@media (min-width: 900px) { .cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards3 li { padding: 34px 0; border-bottom: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .cards3 li { padding: 36px 36px 40px 0; border-bottom: 0; } .cards3 li + li { padding-left: 36px; border-left: 1px solid var(--line-l); } }
.cards3 b { font-stretch: 116%; font-weight: 700; font-size: clamp(22px, 1.9vw, 28px); text-transform: uppercase; letter-spacing: .01em; }
.cards3 p { color: var(--graphite-2); }
.figure { margin: 0; }
.figure .media { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .figure .media { aspect-ratio: 4 / 3; } }
.ttable { width: 100%; border-collapse: collapse; }
.ttable th, .ttable td { text-align: left; vertical-align: top; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line-l); }
.ttable thead th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); padding-top: 0; }
.ttable tbody th { font-stretch: 110%; font-weight: 600; font-size: 19px; width: 22%; }
.ttable td { color: var(--graphite-2); }
.tscroll { overflow-x: auto; border-top: 1px solid var(--line-l); }
.tscroll .ttable { min-width: 680px; }
.tscroll thead th { padding-top: 18px; }
.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; border-top: 1px solid var(--line-l); }
@media (min-width: 900px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line-l); font-size: 17px; }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.note-strong { margin-top: 32px; font-stretch: 106%; font-weight: 600; font-size: clamp(18px, 1.5vw, 22px); }
.related { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-l); }
@media (min-width: 900px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related a { display: flex; flex-direction: column; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--line-l); position: relative; transition: padding .5s var(--ease-out); }
@media (min-width: 900px) { .related a { padding: 36px 36px 40px 0; border-bottom: 0; } .related a + a { padding-left: 36px; border-left: 1px solid var(--line-l); } }
.related b { font-stretch: 110%; font-size: 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.related b svg { width: 20px; height: 20px; transition: transform .45s var(--ease-out); }
.related a:hover b svg { transform: translateX(6px); }
.related span { color: var(--steel); }

/* Páginas legales y de gracias */
.doc { padding-top: calc(var(--nav-h) + clamp(64px, 8vw, 120px)); padding-bottom: var(--sec); }
.doc h1 { font-stretch: 110%; font-weight: 600; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; max-width: 18ch; }
.doc__body { margin-top: clamp(40px, 5vw, 72px); max-width: 74ch; }
.doc__body h2 { font-stretch: 108%; font-weight: 600; font-size: clamp(22px, 2vw, 28px); margin: 48px 0 16px; }
.doc__body p, .doc__body li { color: var(--graphite-2); }
.doc__body p + p { margin-top: 14px; }
.doc__body ul { margin: 14px 0; padding-left: 20px; list-style: disc; }
.doc__body li + li { margin-top: 8px; }
.doc__body a { text-decoration: underline; text-underline-offset: 3px; }
.doc__body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.doc__body th, .doc__body td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.doc__body th { font-weight: 600; }
.pending { display: inline-block; padding: 1px 8px; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .82em; letter-spacing: .02em; }
.doc__meta { margin-top: 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }

/* ---------- Animaciones ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-hero] { opacity: 0; transform: translateY(22px); animation: heroIn 1.2s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.js .hero__media img { animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-hero] { opacity: 1; transform: none; }
}

@media print {
  .nav, .wa, .mbar, .cookie, .mmenu { display: none !important; }
}

/* Variantes */
@media (min-width: 1100px) {
  .grid3--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.flow-list { display: none; }
@media (max-width: 640px) {
  .flow svg { display: none; }
  .flow-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-d); }
  .flow-list li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
  .flow-list b { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
  .flow-list i { font-style: normal; color: var(--steel-2); margin: 0 4px; }
  .flow-list span { color: var(--steel-2); font-size: 15.5px; }
  .flow { padding: 4px 20px 20px; }
}
@media (min-width: 1100px) { .step h3 { min-height: 3.9em; } }
@media (min-width: 1100px) { .step h3 { min-height: 3.9em; } }
@media (min-width: 1100px) { .step h3 { min-height: 3.9em; } }
@media (max-width: 640px) { .doc__body table { display: block; overflow-x: auto; } .doc__body th, .doc__body td { min-width: 110px; } }
