/* ABM Talleres — rediseño 2026 (HTML + CSS + Motion). Colores tomados del logo: pizarra #354755 y ámbar #F7B23B. */
:root {
  --tinta: #0F151B;
  --tinta-2: #0A0F13;
  --pizarra: #354755;
  --pizarra-2: #24313C;
  --ambar: #F7B23B;
  --ambar-claro: #FFC453;
  --ambar-texto: #9A6406;
  --hueso: #EDF0F2;
  --papel: #FFFFFF;
  --texto: #18212A;
  --gris: #55616C;
  --linea: rgba(24, 33, 42, .12);
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --b: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'Cascadia Mono', monospace;
  --e: cubic-bezier(.22, 1, .36, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 76px;
  /* logo: colores por variable para usarlo en positivo y en negativo */
  --lg-pz: #354755; --lg-luz: #4E6273; --lg-am: #F7B23B; --lg-am2: #FBC458; --lg-disco: #fff; --lg-llave: #354755; --lg-txt: #354755;
}
.neg { --lg-pz: #DCE3E9; --lg-luz: #fff; --lg-txt: #fff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hueso); color: var(--texto); font: 400 17px/1.65 var(--b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.i { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px; border-radius: 6px; }

.saltar { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ambar); color: var(--tinta); font-weight: 700; text-decoration: none; transition: top .2s; }
.saltar:focus { top: 16px; }

.contenedor { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.seccion { position: relative; padding: clamp(84px, 11vw, 150px) 0; overflow-x: clip; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 400 12.5px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.eyebrow__raya { display: block; width: 30px; height: 2px; background: var(--ambar); transform-origin: left; }
.eyebrow--claro { color: rgba(255, 255, 255, .7); }
.titulo { margin: 0 0 22px; font: 800 clamp(34px, 4.8vw, 62px)/1.04 var(--f); font-stretch: 112%; letter-spacing: -.022em; text-wrap: balance; }
.titulo em, .poliza__titulo em { font-style: normal; background: linear-gradient(transparent 64%, rgba(247, 178, 59, .6) 64%, rgba(247, 178, 59, .6) 90%, transparent 90%); }
.titulo--claro { color: #fff; }
.titulo--claro em, .poliza__titulo em { background: none; color: var(--ambar); }
.palabra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.palabra > span { display: inline-block; }
.titulo .palabra.acento > span { background: linear-gradient(transparent 64%, rgba(247, 178, 59, .6) 64%, rgba(247, 178, 59, .6) 90%, transparent 90%); }
.titulo--claro .palabra.acento > span, .poliza__titulo .palabra.acento > span { background: none; color: var(--ambar); }
.lead { max-width: 46ch; margin: 0; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--gris); }

/* ---------- botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 12px; font: 700 15.5px/1 var(--f); font-stretch: 108%; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn .i { width: 18px; height: 18px; transition: translate .3s var(--e); }
.btn:hover .i:last-child { translate: 3px 0; }
.btn--ambar { background: var(--ambar); color: var(--tinta); box-shadow: 0 12px 26px -14px rgba(10, 15, 19, .55); }
.btn--ambar:hover { background: var(--ambar-claro); }
.btn--linea { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .26); }
.btn--linea:hover { box-shadow: inset 0 0 0 1.5px var(--ambar); }
.btn--linea .i { color: var(--ambar); }
.btn--chico { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--ancho { width: 100%; }

/* ---------- barra de avance ---------- */
.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 210; pointer-events: none; transform-origin: left; scale: 0 1; background: var(--ambar); }

/* ---------- menú ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h); color: #fff; transition: background .35s, box-shadow .35s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(rgba(10, 15, 19, .6), transparent); pointer-events: none; transition: opacity .35s; }
.nav.solida { background: rgba(15, 21, 27, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.nav.solida::before { opacity: 0; }
.nav__in { height: 100%; width: min(1320px, 100% - 2 * clamp(16px, 3vw, 32px)); margin-inline: auto; display: flex; align-items: center; gap: 14px; }
.nav__logo { display: flex; align-items: center; gap: 10px; flex: none; color: #fff; text-decoration: none; transition: opacity .45s, translate .55s var(--e), visibility 0s; }
.nav.en-hero:not([data-abierto]) .nav__logo { opacity: 0; translate: 0 -10px; visibility: hidden; pointer-events: none; transition: opacity .3s, translate .3s, visibility 0s .3s; }
.nav__emblema { display: block; width: 52px; height: auto; }
.nav__marca { display: flex; flex-direction: column; line-height: 1; }
.nav__marca b { font: 800 21px/1 var(--f); font-stretch: 112%; letter-spacing: .04em; }
.nav__marca span { margin-top: 4px; font: 700 9.5px/1 var(--mono); letter-spacing: .34em; text-transform: uppercase; color: var(--ambar); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 11px; font: 600 13px/1 var(--f); font-stretch: 106%; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--ambar); scale: 0 1; transition: scale .35s var(--e); }
.nav__links a:hover, .nav__links a.activo { color: #fff; }
.nav__links a:hover::after, .nav__links a.activo::after { scale: 1 1; }
.nav__links .nav__movil-tel { display: none; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; color: #fff; text-decoration: none; font: 400 13.5px var(--mono); white-space: nowrap; }
.nav__tel .i { width: 17px; height: 17px; color: var(--ambar); }
.nav__hamb { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__hamb span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: translate .3s, rotate .3s, opacity .3s; }
.nav[data-abierto] .nav__hamb span:nth-child(1) { translate: 0 7px; rotate: 45deg; }
.nav[data-abierto] .nav__hamb span:nth-child(2) { opacity: 0; }
.nav[data-abierto] .nav__hamb span:nth-child(3) { translate: 0 -7px; rotate: -45deg; }
@media (max-width: 1279px) { .nav__tel span { display: none; } }
@media (max-width: 1099px) {
  .nav__hamb { display: inline-flex; }
  .nav__tel { margin-left: auto; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100dvh - var(--nav-h)); margin: 0; padding: 28px clamp(16px, 5vw, 40px); flex-direction: column; gap: 4px; background: rgba(15, 21, 27, .98); opacity: 0; visibility: hidden; translate: 0 -12px; transition: opacity .3s, translate .4s var(--e), visibility 0s .3s; overflow-y: auto; }
  .nav[data-abierto] .nav__links { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .4s var(--e); }
  .nav[data-abierto] { background: rgba(15, 21, 27, .98); }
  .nav__links a { padding: 16px 0; font-size: 22px; font-stretch: 112%; letter-spacing: .02em; text-transform: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links a::after { display: none; }
  .nav__links .nav__movil-tel { display: flex; align-items: center; gap: 12px; margin-top: 18px; border: 0; color: var(--ambar); font: 400 18px var(--mono); }
}
@media (max-width: 420px) { .nav__cta { display: none; } .nav__tel { margin-left: auto; } }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--tinta); color: #fff; overflow: hidden; }
.hero__fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__rejilla { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; background-position: center; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 68% 46%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 70% 70% at 68% 46%, #000 25%, transparent 78%); }
.hero__halo { position: absolute; right: -12vw; top: 0; width: 76vw; height: 76vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 178, 59, .17), rgba(247, 178, 59, .05) 55%, transparent); }
.hero__in { flex: 1; width: min(1280px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: calc(var(--nav-h) + 36px) 0 110px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font: 400 12.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.hero__led { width: 8px; height: 8px; border-radius: 50%; background: var(--ambar); }
@keyframes led { 0% { box-shadow: 0 0 0 0 rgba(247, 178, 59, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(247, 178, 59, 0); } }
.hero__titulo { margin: 0 0 26px; font: 800 clamp(40px, 5.5vw, 84px)/.98 var(--f); font-stretch: 112%; letter-spacing: -.028em; }
.hero__titulo .linea { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero__titulo .linea > span { display: inline-block; white-space: nowrap; }
.hero__titulo em { font-style: normal; color: var(--ambar); }
.hero__lead { max-width: 33em; margin: 0; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; color: rgba(255, 255, 255, .74); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font: 400 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hero__chips .i { width: 14px; height: 14px; color: var(--ambar); }
.hero__marca { position: relative; width: min(600px, 100%); aspect-ratio: 1; justify-self: end; }
.hero__plano { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pl-c { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.pl-c2 { stroke-dasharray: 4 10; stroke: rgba(247, 178, 59, .28); }
.pl-c3 { stroke: rgba(255, 255, 255, .06); }
.pl-marcas line { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.pl-marcas line.larga { stroke: rgba(247, 178, 59, .55); stroke-width: 1.5; }
.pl-eje { stroke: rgba(255, 255, 255, .05); stroke-width: 1; stroke-dasharray: 2 8; }
.emblema { position: absolute; left: 16%; top: 15%; width: 68%; height: 70%; overflow: visible; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.hx-rueda { transform-box: view-box; transform-origin: 186px 210px; }
.hx-in, .hx-barra, .hx-engrane, .hx-seg, .hx-punto, .hx-disco, .hx-llave, .hx-tuerca, .hx-letra, .hx-letra2 { transform-box: fill-box; transform-origin: center; }
.hero__pie { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.hero__pie-in { width: min(1280px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; display: flex; align-items: center; gap: 28px; padding: 18px 0; font: 400 12.5px/1.3 var(--mono); letter-spacing: .02em; color: rgba(255, 255, 255, .64); }
.hero__pie-in > * { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hero__pie-in .i { width: 16px; height: 16px; color: var(--ambar); }
.hero__pie-in a:hover { color: #fff; }
.hero__desliza { margin-left: auto; text-transform: uppercase; letter-spacing: .2em; }
.hero__desliza .i { animation: desliza 1.8s ease-in-out infinite; }
@keyframes desliza { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 4px; } }

/* entrada del hero (al cargar) */
.m .hero:not(.listo) .hx, .m .hero:not(.listo) .hero__rejilla, .m .hero:not(.listo) .hero__halo,
.m .hero:not(.listo) .hx-in, .m .hero:not(.listo) .hx-barra, .m .hero:not(.listo) .hx-engrane, .m .hero:not(.listo) .hx-seg,
.m .hero:not(.listo) .hx-punto, .m .hero:not(.listo) .hx-disco, .m .hero:not(.listo) .hx-llave, .m .hero:not(.listo) .hx-tuerca,
.m .hero:not(.listo) .hx-letra, .m .hero:not(.listo) .hx-letra2, .m .hero:not(.listo) .pl-marcas { opacity: 0; }
.m .hero:not(.listo) .hero__titulo .linea > span { translate: 0 105%; }
.m .hero:not(.listo) .pl-c, .m .hero:not(.listo) .pl-eje { stroke-dashoffset: 1800; }
.m .hero.listo .hx { animation: hx-subir .85s var(--e) both; animation-delay: var(--d); }
.m .hero.listo .hero__titulo .linea > span { animation: hx-linea 1s var(--e) both; animation-delay: var(--d); }
.m .hero.listo .hero__rejilla { animation: hx-aparece 1.8s var(--e) .1s both; }
.m .hero.listo .hero__halo { animation: hx-halo 2.2s var(--e) .2s both; }
.m .hero.listo .pl-c1, .m .hero.listo .pl-c3, .m .hero.listo .pl-eje { stroke-dasharray: 1800; animation: hx-trazo 1.8s var(--e) .15s both; }
.m .hero.listo .pl-c2 { animation: hx-aparece 1.2s ease .5s both; }
.m .hero.listo .pl-marcas { animation: hx-aparece 1s ease .7s both; }
.m .hero.listo .hx-barra { animation: hx-barra .7s var(--e) both; animation-delay: calc(.32s + var(--k) * .09s); }
.m .hero.listo .hx-engrane { animation: hx-engrane 1.2s var(--e) .25s both; }
.m .hero.listo .hx-seg { animation: hx-pop .5s var(--rebote) both; animation-delay: calc(.62s + var(--k) * .045s); }
.m .hero.listo .hx-punto { animation: hx-pop .4s var(--rebote) both; animation-delay: calc(1.05s + var(--k) * .035s); }
.m .hero.listo .hx-disco { animation: hx-pop .6s var(--rebote) .55s both; }
.m .hero.listo .hx-llave { animation: hx-llave .8s var(--rebote) .9s both; }
.m .hero.listo .hx-tuerca { animation: hx-tuerca .8s var(--e) 1.1s both; }
.m .hero.listo .hx-piston--izq .hx-in { animation: hx-pist-i .95s var(--e) .7s both; }
.m .hero.listo .hx-piston--der .hx-in { animation: hx-pist-d .95s var(--e) .78s both; }
.m .hero.listo .hx-letra { animation: hx-letra .7s var(--rebote) both; animation-delay: calc(1.25s + var(--k) * .09s); }
.m .hero.listo .hx-letra2 { animation: hx-subir .55s var(--e) both; animation-delay: calc(1.42s + var(--k) * .05s); }
@keyframes hx-subir { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-linea { from { translate: 0 105%; } to { translate: 0 0; } }
@keyframes hx-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes hx-halo { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes hx-trazo { from { stroke-dashoffset: 1800; } to { stroke-dashoffset: 0; } }
@keyframes hx-barra { from { opacity: 0; translate: -90px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-engrane { from { opacity: 0; scale: .35; rotate: -150deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes hx-pop { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
@keyframes hx-llave { from { opacity: 0; translate: 0 -80px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-tuerca { from { opacity: 0; scale: 0; rotate: -240deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes hx-pist-i { from { opacity: 0; translate: -70px -70px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-pist-d { from { opacity: 0; translate: 70px -70px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-letra { from { opacity: 0; translate: 0 -26px; scale: .5; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* ---------- cinta ---------- */
.cinta { position: relative; z-index: 2; overflow: hidden; background: var(--ambar); color: var(--tinta); }
.cinta__mover { display: flex; align-items: center; gap: 26px; width: max-content; padding: 17px 0; font: 700 13.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.cinta__mover i { width: 9px; height: 9px; background: var(--tinta); rotate: 45deg; flex: none; }

/* ---------- EMPRESA ---------- */
.empresa__cabeza { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: clamp(24px, 5vw, 72px); margin-bottom: clamp(48px, 6vw, 80px); }
.empresa__cabeza .titulo { margin: 0; max-width: 13em; }
.empresa__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 88px); }
.foto { position: relative; overflow: hidden; border-radius: 20px; background: var(--pizarra-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.empresa__foto { position: relative; margin: 0; }
.empresa__foto .foto { aspect-ratio: 5 / 4; }
.sello { position: absolute; right: clamp(-24px, -2vw, -12px); bottom: -30px; display: flex; align-items: center; gap: 14px; max-width: 320px; padding: 16px 20px 16px 16px; border-radius: 16px; background: var(--papel); box-shadow: 0 30px 60px -30px rgba(15, 21, 27, .45), 0 0 0 1px var(--linea); font-size: 14.5px; line-height: 1.45; color: var(--gris); }
.sello .i { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--ambar); color: var(--tinta); }
.sello b { display: block; font: 700 16px/1.3 var(--f); font-stretch: 106%; color: var(--texto); }
.pilares { counter-reset: p; }
.pilar { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; padding: 30px 0; }
.pilar:first-child { padding-top: 0; }
.pilar__num { font: 800 42px/1 var(--f); font-stretch: 120%; color: transparent; -webkit-text-stroke: 1.5px var(--pizarra); }
.pilar h3 { margin: 4px 0 10px; font: 700 clamp(19px, 1.7vw, 23px)/1.25 var(--f); font-stretch: 106%; }
.pilar p { margin: 0; font-size: 16.5px; color: var(--gris); }
.pilar__linea { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--linea); transform-origin: left; }
.pilar:last-child .pilar__linea { display: none; }

/* ---------- PROCESO (escena fija ligada al scroll) ---------- */
.proceso { position: relative; height: 420vh; background: var(--tinta); color: #fff; }
.proceso__fijo { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(280px, 370px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); width: min(1400px, 100%); margin-inline: auto; padding: calc(var(--nav-h) + 20px) clamp(16px, 4vw, 48px) clamp(36px, 6vh, 64px); overflow: hidden; }
.proceso::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; }
.proceso__lado { position: relative; }
.proceso__lado .titulo { font-size: clamp(32px, 3.6vw, 50px); }
.proceso__intro { margin: 0 0 26px; color: rgba(255, 255, 255, .66); }
.pasos { position: relative; padding-left: 0; }
.pasos::before, .pasos::after { content: ""; position: absolute; left: 17px; top: 22px; bottom: 22px; width: 2px; background: rgba(255, 255, 255, .1); }
.pasos::after { background: var(--ambar); transform-origin: top; scale: 1 var(--p, 0); }
.pasos__item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 10px 0; opacity: .4; transition: opacity .4s; }
.pasos__item.activo, .pasos__item.hecho { opacity: 1; }
.pasos__num { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tinta); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); font: 700 12px/1 var(--mono); color: rgba(255, 255, 255, .8); transition: background .35s, color .35s, box-shadow .35s; }
.pasos__item.activo .pasos__num, .pasos__item.hecho .pasos__num { background: var(--ambar); color: var(--tinta); box-shadow: none; }
.pasos h3 { margin: 6px 0 4px; font: 700 18px/1.25 var(--f); font-stretch: 106%; }
.pasos p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .64); }
.proceso__saltar { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 400 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); text-decoration: none; }
.proceso__saltar:hover { color: var(--ambar); }
.proceso__saltar .i { width: 14px; height: 14px; }
.proceso__escena { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hud { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 400 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hud__etiqueta { display: inline-flex; align-items: center; gap: 10px; }
.hud__led { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background .3s; }
.escaneando .hud__led { background: var(--ambar); animation: led 1.4s ease-out infinite; }
.hud__paso b { font-size: 15px; color: var(--ambar); }
.plano { position: relative; width: 100%; aspect-ratio: 1000 / 460; border-radius: 20px; background: radial-gradient(ellipse 60% 70% at 55% 60%, rgba(247, 178, 59, .07), transparent 70%), #121B23; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .6); overflow: hidden; }
.plano::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120, 170, 210, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 170, 210, .07) 1px, transparent 1px); background-size: 4% 8.7%; pointer-events: none; }
.plano__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trazo { fill: none; stroke: #DCE4EB; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.cuerpo { fill: #273643; fill-opacity: 0; transition: fill-opacity .6s; }
.unidad-solida .cuerpo { fill-opacity: 1; }
.vidrio { fill: #8FB6D3; fill-opacity: 0; transition: fill-opacity .6s; }
.unidad-solida .vidrio { fill-opacity: .28; }
.detalle { stroke-width: 1.6; stroke: rgba(220, 228, 235, .7); }
.llanta { fill: #0B1116; stroke: #DCE4EB; stroke-width: 2.2; }
.rin { stroke-width: 1.8; }
.maza { fill: #DCE4EB; }
.rayos { stroke-width: 1.6; }
.rueda { transform-box: fill-box; transform-origin: center; }
.faro { fill: rgba(255, 255, 255, .25); transition: fill .4s, filter .4s; }
.luces .faro { fill: #FFF6DA; filter: drop-shadow(0 0 10px #FFD98A) drop-shadow(0 0 22px rgba(247, 178, 59, .8)); }
.calavera { fill: rgba(229, 72, 77, .35); transition: fill .4s, filter .4s; }
.luces .calavera { fill: #FF5A5F; filter: drop-shadow(0 0 8px rgba(255, 90, 95, .9)); }
.cotas { transition: opacity .5s; }
.cotas .trazo-c { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; }
.cotas text { font: 400 12px var(--mono); letter-spacing: .26em; fill: rgba(255, 255, 255, .42); }
.elevador__base { fill: #2B3A47; }
.elevador__brazo { fill: none; stroke: #6A7F90; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.elevador__plat { fill: #3B4E5E; }
.piso { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; stroke-dasharray: 6 8; }
.rx { fill: none; stroke: var(--ambar); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.rx__pieza { fill: rgba(247, 178, 59, 0); transition: fill .6s; }
.rx__pieza.lleno { fill: rgba(247, 178, 59, .26); }
.rx__pieza circle, .rx__pieza path { fill: inherit; }
.rx__flujo { fill: none !important; stroke-dasharray: 5 9; }
.rx__flujo.fluye { animation: flujo .9s linear infinite; }
@keyframes flujo { to { stroke-dashoffset: -28; } }
.haz__linea { fill: var(--ambar); filter: drop-shadow(0 0 6px var(--ambar)); }
.punto { opacity: 0; transition: opacity .4s; }
.punto.on { opacity: 1; }
.punto__c { fill: var(--ambar); stroke: #121B23; stroke-width: 2; transition: fill .3s; }
.punto.ok .punto__c { fill: #fff; }
.punto__halo { fill: var(--ambar); opacity: .22; transform-box: fill-box; transform-origin: center; animation: halo 1.8s ease-out infinite; }
@keyframes halo { from { scale: .5; opacity: .45; } to { scale: 1.5; opacity: 0; } }
.punto__guia { fill: none; stroke: rgba(247, 178, 59, .7); stroke-width: 1.3; stroke-dasharray: 3 4; }
.plano__capa { position: absolute; inset: 0; pointer-events: none; }
.rotulo { position: absolute; display: flex; align-items: center; gap: 9px; translate: 0 -50%; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(15, 21, 27, .9); box-shadow: inset 0 0 0 1px rgba(247, 178, 59, .45); font: 400 11.5px/1.25 var(--mono); letter-spacing: .04em; color: rgba(255, 255, 255, .7); white-space: nowrap; opacity: 0; scale: .9; transition: opacity .35s, scale .45s var(--rebote); }
.rotulo.on { opacity: 1; scale: 1; }
.rotulo--izq { translate: -100% -50%; flex-direction: row-reverse; padding: 6px 6px 6px 14px; text-align: right; }
.rotulo > i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ambar); font: 700 11px/1 var(--mono); font-style: normal; color: var(--tinta); transition: background .3s; }
.rotulo > i svg { display: none; width: 13px; height: 13px; }
.rotulo.ok > i { background: #fff; }
.rotulo.ok > i b { display: none; }
.rotulo.ok > i svg { display: block; }
.rotulo > span b { display: block; font: 700 13px/1.2 var(--f); font-stretch: 106%; letter-spacing: 0; color: #fff; }
.sello-listo { position: absolute; right: 3%; top: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: var(--ambar); color: var(--tinta); font-size: 13px; line-height: 1.3; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); opacity: 0; scale: .6; rotate: -6deg; transition: opacity .3s, scale .55s var(--rebote), rotate .55s var(--rebote); }
.sello-listo.on { opacity: 1; scale: 1; rotate: 0deg; }
.sello-listo .i { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--tinta); color: var(--ambar); }
.sello-listo b { display: block; font: 800 16px/1.2 var(--f); font-stretch: 110%; }
.proceso__barra { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.proceso__barra i { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.proceso__barra i::after { content: ""; position: absolute; inset: 0; background: var(--ambar); transform-origin: left; scale: var(--p, 0) 1; }
.proceso__movil { display: none; }
.leyenda { display: none; }
@media (max-width: 1359px) {
  .rotulo { padding: 0; background: none; box-shadow: none; }
  .rotulo > span { display: none; }
  .rotulo > i { box-shadow: 0 0 0 3px rgba(18, 27, 35, .9); }
  .rotulo, .rotulo--izq { translate: -50% -50%; }
  .leyenda { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 400 12px/1.3 var(--mono); letter-spacing: .02em; color: rgba(255, 255, 255, .5); }
  .leyenda li { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
  .leyenda i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); font: 700 10px/1 var(--mono); font-style: normal; transition: background .3s, color .3s, box-shadow .3s; }
  .leyenda li.on { color: #fff; }
  .leyenda li.on i { background: var(--ambar); color: var(--tinta); box-shadow: none; }
  .leyenda li.ok i { background: #fff; }
}

/* ---------- SERVICIOS ---------- */
.seccion__cabeza { max-width: 780px; margin-bottom: clamp(44px, 5vw, 68px); }
.tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); perspective: 1400px; }
.tarjeta { min-width: 0; }
.tarjeta__in { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 20px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea), 0 30px 60px -44px rgba(15, 21, 27, .45); overflow: hidden; transition: box-shadow .4s; transform-style: preserve-3d; }
.tarjeta__in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(247, 178, 59, .14), transparent 45%); opacity: 0; transition: opacity .35s; }
.tarjeta__in:hover { box-shadow: 0 0 0 1px rgba(247, 178, 59, .5), 0 40px 70px -40px rgba(15, 21, 27, .5); }
.tarjeta__in:hover::after { opacity: 1; }
.tarjeta__foto { aspect-ratio: 3 / 2; border-radius: 0; }
.tarjeta__icono { position: absolute; left: 18px; bottom: 18px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--ambar); color: var(--tinta); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); }
.tarjeta__icono .i { width: 24px; height: 24px; }
.tarjeta__cuerpo { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.4vw, 30px); }
.tarjeta__num { font: 400 12px/1 var(--mono); letter-spacing: .2em; color: var(--gris); }
.tarjeta h3 { margin: 12px 0 10px; font: 700 clamp(20px, 1.8vw, 24px)/1.2 var(--f); font-stretch: 108%; }
.tarjeta p { flex: 1; margin: 0 0 22px; font-size: 16px; color: var(--gris); }
.enlace-cotizar { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; font: 700 14px/1 var(--f); font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; color: var(--texto); text-decoration: none; box-shadow: inset 0 -2px 0 var(--ambar); transition: gap .3s var(--e), color .2s; }
.enlace-cotizar .i { width: 17px; height: 17px; color: var(--ambar-texto); }
.enlace-cotizar:hover { gap: 16px; }
.poliza { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: clamp(16px, 2vw, 26px); border-radius: 22px; background: var(--tinta); color: #fff; overflow: hidden; }
.poliza__foto { position: relative; min-height: 380px; }
.poliza__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poliza__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--tinta)); }
.poliza__texto { align-self: center; padding: clamp(30px, 5vw, 64px); }
.poliza__titulo { margin: 0 0 16px; font: 800 clamp(30px, 3.5vw, 46px)/1.05 var(--f); font-stretch: 112%; letter-spacing: -.02em; }
.poliza__texto > p:not(.eyebrow) { max-width: 30em; color: rgba(255, 255, 255, .72); margin-bottom: 28px; }

/* ---------- POR QUÉ (tacómetro) ---------- */
.porque { position: relative; height: 280vh; background: var(--tinta); color: #fff; }
.porque__fijo { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.porque__fondo { position: absolute; inset: 0; z-index: -1; }
.porque__fondo img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(1) contrast(1.1); }
.porque__fondo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 72% 50%, rgba(247, 178, 59, .1), transparent 70%), linear-gradient(90deg, var(--tinta) 30%, rgba(15, 21, 27, .7)); }
.porque__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "cabeza tac" "razones tac"; align-items: center; column-gap: clamp(32px, 6vw, 96px); padding-top: var(--nav-h); padding-bottom: clamp(28px, 5vh, 56px); }
.porque__cabeza { grid-area: cabeza; align-self: end; }
.porque__cabeza .titulo { margin-bottom: 28px; }
.razones { grid-area: razones; align-self: start; }
.razon { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .38; transition: opacity .45s; }
.razon.on { opacity: 1; }
.razon__icono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); transition: background .4s, color .4s, box-shadow .4s, scale .5s var(--rebote); }
.razon.on .razon__icono { background: var(--ambar); color: var(--tinta); box-shadow: none; }
.razon__icono .i { width: 24px; height: 24px; }
.razon h3 { margin: 4px 0 6px; font: 700 clamp(19px, 1.8vw, 23px)/1.25 var(--f); font-stretch: 108%; }
.razon p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .7); }
.tacometro { grid-area: tac; position: relative; width: min(520px, 100%, 66vh); aspect-ratio: 1; justify-self: center; }
.tacometro svg { width: 100%; height: 100%; overflow: visible; }
.tac__aro { fill: rgba(10, 15, 19, .72); stroke: rgba(255, 255, 255, .09); stroke-width: 2; }
.tac__pista { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 14; stroke-linecap: round; }
.tac__avance { fill: none; stroke: var(--ambar); stroke-width: 14; stroke-linecap: round; }
.tac__roja { fill: none; stroke: #E5484D; stroke-width: 4; stroke-linecap: round; }
.tac__marcas line { stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; }
.tac__marcas line.mayor { stroke: rgba(255, 255, 255, .85); stroke-width: 3; }
.tac__marcas text { font: 700 19px var(--f); font-stretch: 112%; fill: rgba(255, 255, 255, .75); }
.tac__aguja { transform-box: view-box; transform-origin: 200px 200px; rotate: -135deg; }
.tac__aguja path { fill: var(--ambar); }
.tac__aguja circle { fill: #1B2630; stroke: var(--ambar); stroke-width: 3; }
.tac__aguja .tac__eje { fill: var(--ambar); stroke: none; }
.tac__unidad { font: 400 11px var(--mono); letter-spacing: .2em; fill: rgba(255, 255, 255, .45); }
.tac__lectura { position: absolute; left: 50%; top: 61.5%; translate: -50% -50%; font: 800 clamp(30px, 3.2vw, 44px)/1 var(--f); font-stretch: 120%; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- CONTACTO ---------- */
.contacto__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contacto__info .titulo { max-width: 13em; font-size: clamp(30px, 3.5vw, 48px); }
.datos { margin-top: 36px; }
.datos li > a, .datos li > div { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linea); text-decoration: none; font: 600 17.5px/1.35 var(--b); color: var(--texto); }
.datos li > a:hover .datos__icono { background: var(--ambar); color: var(--tinta); }
.datos small { display: block; margin-bottom: 3px; font: 400 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.datos__icono { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea); color: var(--pizarra); transition: background .25s, color .25s; }
.datos__icono .i { width: 21px; height: 21px; }
.solicitud { margin: 0; }
.solicitud__in { padding: clamp(24px, 3.4vw, 40px); border-radius: 24px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea), 0 50px 90px -60px rgba(15, 21, 27, .55); }
.solicitud__cabeza { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.solicitud__icono { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 15px; background: var(--tinta); color: var(--ambar); }
.solicitud__icono .i { width: 26px; height: 26px; }
.solicitud__cabeza h3 { font: 800 clamp(21px, 2vw, 26px)/1.15 var(--f); font-stretch: 110%; }
.solicitud__cabeza p { margin: 4px 0 0; font-size: 15px; color: var(--gris); }
.campo { display: grid; gap: 7px; margin-bottom: 16px; }
.campo > span, .opciones legend { font: 600 13.5px/1.2 var(--b); color: var(--texto); }
.campo i { font-style: normal; font-weight: 400; color: var(--gris); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #D3D9DE; border-radius: 12px; background: #FAFAF8; font: 400 16px/1.4 var(--b); color: var(--texto); transition: border-color .2s, box-shadow .2s, background .2s; }
.campo textarea { resize: vertical; min-height: 92px; }
.campo select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: #FAFAF8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23354755' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; cursor: pointer; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--ambar); background: #fff; box-shadow: 0 0 0 4px rgba(247, 178, 59, .2); }
.campo input.invalido { border-color: #C2410C; }
.opciones { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.opciones legend { margin-bottom: 9px; padding: 0; }
.opciones label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opciones span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #D3D9DE; font: 500 14.5px/1 var(--b); color: var(--texto); transition: background .2s, color .2s, box-shadow .2s; }
.opciones label:hover span { box-shadow: inset 0 0 0 1.5px var(--pizarra); }
.opciones input:checked + span { background: var(--tinta); color: #fff; box-shadow: inset 0 0 0 1.5px var(--tinta); }
.opciones input:focus-visible + span { outline: 3px solid var(--ambar); outline-offset: 2px; }
.campos-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.solicitud__error { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #FFF1E8; color: #9A3412; font-size: 14.5px; }
.solicitud__nota { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--gris); }
.solicitud__nota a { font-weight: 700; color: var(--texto); }

/* ---------- FOOTER ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding: 86px 0 30px; background: var(--tinta-2); color: rgba(255, 255, 255, .7); }
.footer::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -240px; width: 960px; height: 460px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 178, 59, .15), transparent); }
.footer__linea { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ambar), transparent); box-shadow: 0 0 18px var(--ambar); transform-origin: center; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 44px; }
.footer__marca svg { display: block; width: 150px; height: auto; margin-bottom: 22px; }
.footer__marca p { max-width: 380px; margin: 0; font-size: 16px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer__col h3 { margin: 0 0 12px; font: 700 13.5px var(--f); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer__col a, .footer__dato { display: inline-flex; align-items: flex-start; gap: 10px; padding: 6px 0; margin: 0; font-size: 16px; color: rgba(255, 255, 255, .76); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--ambar); }
.footer__col .i { width: 18px; height: 18px; margin-top: 3px; color: var(--ambar); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer__base p { margin: 0; }
.m .footer__linea { scale: 0 1; }
.m .footer::before { opacity: 0; }
.m .footer [data-f] { opacity: 0; translate: 0 22px; filter: blur(6px); }
.m .footer.on .footer__linea { scale: 1 1; transition: scale 1.1s var(--e); }
.m .footer.on::before { opacity: 1; transition: opacity 1.2s ease .45s; }
.m .footer.on [data-f] { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity .8s ease, translate .8s var(--e), filter .8s ease; transition-delay: calc(.4s + var(--i, 0) * .11s); }

/* ---------- botón flotante (celular) ---------- */
.flotante { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 150; display: none; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--ambar); color: var(--tinta); font: 700 15px var(--f); font-stretch: 108%; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); transition: opacity .35s, translate .45s var(--e); }
.flotante .i { width: 20px; height: 20px; }
.flotante:not(.is-on) { opacity: 0; translate: 0 24px; pointer-events: none; }

/* ---------- coreografía: estado inicial de lo que entra con el scroll ---------- */
.m [data-m] { opacity: 0; }
.m [data-m="palabras"].dividido { opacity: 1; }
.m [data-m="escena"] { opacity: 1; }
.m .eyebrow[data-m] .eyebrow__raya { scale: 0 1; transition: scale .8s var(--e) .2s; }
.m .eyebrow[data-m].on .eyebrow__raya { scale: 1 1; }

/* ---------- pantallas bajas (laptops): las escenas fijas se compactan para no pegarse abajo ---------- */
@media (min-width: 900px) and (max-height: 860px) {
  .proceso__lado .titulo { margin-bottom: 14px; font-size: clamp(28px, 5.4vh, 46px); }
  .proceso__lado .eyebrow { margin-bottom: 12px; }
  .proceso__intro { margin-bottom: 14px; font-size: 15.5px; line-height: 1.5; }
  .pasos__item { padding: 7px 0; }
  .pasos h3 { margin-top: 7px; }
  .m .pasos__item p { max-height: 6em; overflow: hidden; transition: max-height .45s var(--e), opacity .35s; }
  .m .pasos__item:not(.activo) p { max-height: 0; opacity: 0; }
  .proceso__saltar { margin-top: 14px; }
  .porque__cabeza .titulo { margin-bottom: 18px; font-size: clamp(28px, 5.6vh, 48px); }
  .porque__cabeza .eyebrow { margin-bottom: 12px; }
  .razon { padding: 13px 0; }
  .razon p { font-size: 15px; line-height: 1.5; }
  .tacometro { width: min(520px, 100%, 60vh); }
}
@media (min-width: 900px) and (max-height: 700px) {
  .proceso__intro { display: none; }
  .proceso__lado .eyebrow, .porque__cabeza .eyebrow { display: none; }
  .razon { padding: 10px 0; }
  .razon__icono { width: 46px; height: 46px; }
  .razon { grid-template-columns: 46px minmax(0, 1fr); }
}

/* ---------- responsivo ---------- */
@media (max-width: 1099px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
}
@media (max-width: 899px) {
  :root { --nav-h: 68px; }
  .hero__in { grid-template-columns: 1fr; gap: 8px; padding: calc(var(--nav-h) + 20px) 0 96px; }
  .hero__marca { order: -1; width: min(330px, 74vw); justify-self: center; margin-bottom: 4px; }
  .hero__titulo { font-size: clamp(38px, 11vw, 64px); }
  .hero__pie-in > :nth-child(2) { display: none; }
  .empresa__cabeza, .empresa__cuerpo, .contacto__grid { grid-template-columns: 1fr; }
  .empresa__foto { margin-bottom: 40px; }
  .sello { right: 12px; left: 12px; max-width: none; }
  .tarjetas { grid-template-columns: 1fr; max-width: 560px; }
  .poliza { grid-template-columns: 1fr; }
  .poliza__foto { min-height: 0; aspect-ratio: 16 / 10; }
  .poliza__foto::after { background: linear-gradient(transparent 55%, var(--tinta)); }

  .proceso { height: 400vh; }
  .proceso__fijo { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 18px; padding: calc(var(--nav-h) + 12px) clamp(16px, 4vw, 32px) 20px; }
  .proceso__lado .titulo { margin-bottom: 0; font-size: clamp(28px, 7.4vw, 40px); }
  .proceso__lado .eyebrow { margin-bottom: 12px; }
  .proceso__intro, .pasos, .proceso__saltar { display: none; }
  .proceso__movil { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; min-height: 104px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .proceso__movil-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ambar); color: var(--tinta); font: 700 13px/1 var(--mono); }
  .proceso__movil h3 { margin: 2px 0 4px; font: 700 18px/1.25 var(--f); font-stretch: 106%; }
  .proceso__movil p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
  .proceso__movil.cambia > * { animation: cambia .45s var(--e) both; }

  .porque { height: 260vh; }
  .porque__in { grid-template-columns: 1fr; grid-template-areas: "cabeza" "tac" "razones"; row-gap: 10px; padding-top: calc(var(--nav-h) + 4px); }
  .porque__cabeza .titulo { margin-bottom: 4px; font-size: clamp(30px, 8vw, 44px); }
  .porque__cabeza .eyebrow { margin-bottom: 10px; }
  .tacometro { width: min(300px, 70vw, 36svh); }
  .razon { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
  .razon__icono { width: 40px; height: 40px; }
  .razon__icono .i { width: 19px; height: 19px; }
  .razon h3 { margin: 0; font-size: 17px; line-height: 40px; }
  .razon p { display: none; font-size: 14.5px; line-height: 1.45; }
  .razon.actual p { display: block; animation: cambia .45s var(--e) both; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__marca { grid-column: 1 / -1; }
}
@keyframes cambia { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero__pie-in { gap: 14px; font-size: 12px; }
  .flotante { display: inline-flex; }
  .footer { padding-bottom: 96px; }
  .rotulo > i { width: 22px; height: 22px; }
  .plano { width: 116vw; margin-left: calc(50% - 58vw); border-radius: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(255, 255, 255, .08); }
  .leyenda { gap: 6px 14px; font-size: 11.5px; }
  .sello-listo { right: 2%; top: 4%; padding: 7px 12px 7px 7px; font-size: 11px; border-radius: 11px; }
  .sello-listo .i { width: 26px; height: 26px; padding: 5px; }
  .sello-listo b { font-size: 13px; }
  .hud { font-size: 11px; letter-spacing: .06em; }
  .campos-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; }
  .hero__chips li { font-size: 11px; padding: 7px 11px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .proceso__lado .eyebrow, .porque__cabeza .eyebrow { display: none; }
  .tacometro { width: min(250px, 62vw, 32svh); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
