/* Mega Soluciones (megasi) — rediseño 2026. Concepto: el sitio es un pliego que se imprime en cuatro tintas.
   Colores tomados del logotipo: cian, magenta, amarillo y negro sobre papel. */
:root {
  --papel: #F6F4EE;
  --papel-2: #ECE9E1;
  --blanco: #FFFFFF;
  --tinta: #121115;
  --tinta-2: #1B1A1F;
  --gris: #57545D;
  --gris-claro: rgba(255, 255, 255, .72);
  --linea: rgba(18, 17, 21, .12);
  --c: #0099CF;
  --m: #D2217C;
  --y: #FEBF22;
  --k: #0A050C;
  --m-osc: #B3125F;
  --m-tit: #C2186F;
  --c-osc: #006F99;
  --lg-c: var(--c); --lg-m: var(--m); --lg-y: var(--y); --lg-k: var(--k);
  --f: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --t: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;
  --e: cubic-bezier(.22, 1, .36, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 76px;
  --radio: 22px;
}
.neg { --lg-k: #FFFFFF; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 17px/1.6 var(--t); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
svg.i { width: 20px; height: 20px; flex: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--y); color: var(--tinta); }

.saltar { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--y); 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; }

/* ---------- tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.eyebrow b { font-weight: 500; color: var(--m-osc); }
.eyebrow__raya { display: block; width: 34px; height: 2px; background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, var(--k) 75%); transform-origin: left; }
.eyebrow--claro { color: rgba(255, 255, 255, .7); }
.eyebrow--claro b { color: var(--y); }
.eyebrow--claro .eyebrow__raya { background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, #fff 75%); }
.titulo { font: 800 clamp(36px, 4.4vw, 62px)/.95 var(--f); letter-spacing: .002em; text-transform: uppercase; text-wrap: balance; }
.titulo--xl { font-size: clamp(42px, 6.2vw, 96px); font-weight: 900; line-height: .9; }
.titulo em { font-style: normal; color: var(--m-tit); }
.titulo--claro { color: #fff; }
.titulo--claro em { color: var(--y); }
.palabra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.palabra > span { display: inline-block; }
.palabra.acento > span { color: var(--m-tit); }
.titulo--claro .palabra.acento > span { color: var(--y); }
.cabeza { max-width: 920px; margin-bottom: clamp(40px, 6vw, 72px); }
.cabeza--centro { margin-inline: auto; text-align: center; }
.cabeza__texto { max-width: 36em; margin: 22px 0 0; color: var(--gris); font-size: 18px; }
.enlace { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--m-osc); text-decoration: none; }
.enlace:hover { text-decoration: underline; text-underline-offset: 4px; }
.enlace .i { width: 17px; height: 17px; transition: translate .3s var(--e); }
.enlace:hover .i { translate: 4px 0; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 16px/1 var(--t); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.btn .i { width: 20px; height: 20px; }
.btn--m { background: var(--m-osc); color: #fff; box-shadow: 0 14px 30px -16px rgba(18, 17, 21, .55); }
.btn--m:hover { background: #9C0F52; }
.btn--tinta { background: var(--tinta); color: #fff; }
.btn--tinta:hover { background: #2A2930; }
.btn--linea { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px rgba(18, 17, 21, .35); }
.btn--linea:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.btn--bloque { width: 100%; }

/* ---------- barra de avance (las cuatro tintas) ---------- */
.progreso { position: fixed; top: 0; left: 0; right: 0; z-index: 210; height: 3px; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; clip-path: inset(0 100% 0 0); }
.progreso i:nth-child(1) { background: var(--c); }
.progreso i:nth-child(2) { background: var(--m); }
.progreso i:nth-child(3) { background: var(--y); }
.progreso i:nth-child(4) { background: var(--k); }

/* ---------- menú ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h); transition: background-color .35s, box-shadow .35s; }
.nav .nav__links a, .nav .nav__cta, .nav .nav__hamb span { transition: color .3s, background-color .3s; }
.nav.oscura { background: rgba(18, 17, 21, .82) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) !important; --lg-k: #fff; }
.nav.oscura .nav__links a { color: rgba(255, 255, 255, .78); }
.nav.oscura .nav__links a:hover, .nav.oscura .nav__links a.activo { color: #fff; }
.nav.oscura .nav__links a::after { background: var(--y); }
.nav.oscura .nav__cta { background: #fff; color: var(--tinta); }
.nav.oscura .nav__hamb { background: rgba(255, 255, 255, .1); }
.nav.oscura .nav__hamb span { background: #fff; }
.nav.solida { background: rgba(246, 244, 238, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--linea); }
.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: block; flex: none; transition: opacity .45s, translate .55s var(--e), visibility 0s; }
.nav__logo .logo { display: block; width: 118px; height: auto; }
.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__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 11px; font: 600 14.5px/1 var(--t); color: rgba(18, 17, 21, .78); text-decoration: none; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--m); scale: 0 1; transform-origin: left; transition: scale .35s var(--e); }
.nav__links a:hover, .nav__links a.activo { color: var(--tinta); }
.nav__links a:hover::after, .nav__links a.activo::after { scale: 1 1; }
.nav__links .nav__movil-wa { display: none; }
.nav__cta { min-height: 46px; padding: 0 22px; margin-left: 10px; font-size: 15px; }
.nav__hamb { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(18, 17, 21, .06); 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: var(--tinta); 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: 1159px) {
  .nav__hamb { display: inline-flex; }
  .nav__cta { margin-left: auto; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100dvh - var(--nav-h)); margin: 0; padding: 26px clamp(16px, 5vw, 40px); flex-direction: column; gap: 2px; background: rgba(246, 244, 238, .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], .nav.oscura[data-abierto] { background: rgba(246, 244, 238, .98) !important; --lg-k: var(--k); }
  .nav.oscura[data-abierto] .nav__links a { color: var(--tinta); }
  .nav.oscura[data-abierto] .nav__hamb span { background: var(--tinta); }
  .nav.oscura[data-abierto] .nav__cta { background: var(--tinta); color: #fff; }
  .nav__links a { padding: 15px 0; font: 800 30px/1 var(--f); text-transform: uppercase; color: var(--tinta); border-bottom: 1px solid var(--linea); }
  .nav__links a::after { display: none; }
  .nav__links a.activo { color: var(--m-osc); }
  .nav__links .nav__movil-wa { display: flex; align-items: center; gap: 12px; margin-top: 18px; border: 0; color: var(--m-osc); font: 600 18px var(--t); text-transform: none; }
}
@media (max-width: 420px) { .nav__cta { display: none; } .nav__hamb { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 30px) 0 90px; overflow: clip; }
.hero__fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__semitono { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(18, 17, 21, .16) 1.15px, transparent 1.55px); background-size: 13px 13px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 76% 46%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 76% 46%, #000 0%, transparent 70%); }
.hero__eje { position: absolute; background: repeating-linear-gradient(90deg, rgba(18, 17, 21, .18) 0 6px, transparent 6px 12px); }
.hero__eje--h { left: 0; right: 0; top: 52%; height: 1px; }
.hero__eje--v { top: 0; bottom: 0; left: 74%; width: 1px; background: repeating-linear-gradient(180deg, rgba(18, 17, 21, .18) 0 6px, transparent 6px 12px); }
.hero__in { width: min(1320px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 26px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.barra-cmyk { display: inline-grid; grid-template-columns: repeat(4, 10px); height: 10px; }
.barra-cmyk i:nth-child(1) { background: var(--c); } .barra-cmyk i:nth-child(2) { background: var(--m); }
.barra-cmyk i:nth-child(3) { background: var(--y); } .barra-cmyk i:nth-child(4) { background: var(--k); }
.hero__titulo { margin: 0 0 26px; font: 900 clamp(48px, 5vw, 80px)/.88 var(--f); letter-spacing: -.004em; text-transform: uppercase; }
.hero__titulo .linea { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.hero__titulo .linea > span { display: inline-block; }
.hero__titulo em { font-style: normal; color: var(--m-tit); }
.hero__lead { max-width: 33em; margin-bottom: 30px; color: var(--gris); font-size: clamp(16.5px, 1.25vw, 19px); }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tinta); }
.tinta { display: block; width: 10px; height: 10px; border-radius: 50%; }
.tinta--c { background: var(--c); } .tinta--m { background: var(--m); } .tinta--y { background: var(--y); } .tinta--k { background: var(--k); }
.hero__bajar { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); text-decoration: none; }
.hero__bajar .i { width: 16px; height: 16px; animation: bajar 2.2s var(--e) infinite; }

/* el pliego */
.pliego { position: relative; padding: 52px 56px; }
.pliego__mueve { will-change: translate, rotate; }
.pliego__hoja { position: relative; container-type: inline-size; display: flex; flex-direction: column; justify-content: center; aspect-ratio: 1.22; padding: 9% 9% 12%; background: #fff; border-radius: 3px; color: var(--tinta); rotate: -2.5deg; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 60px 90px -50px rgba(18, 17, 21, .5), 0 18px 30px -24px rgba(18, 17, 21, .35); }
.corte { position: absolute; width: 0; height: 0; color: var(--tinta); }
.corte::before, .corte::after { content: ""; position: absolute; background: currentColor; }
.corte::before { width: 24px; height: 1.5px; }
.corte::after { width: 1.5px; height: 24px; }
.corte--tl { left: 0; top: 0; } .corte--tl::before { right: 9px; top: -.75px; } .corte--tl::after { bottom: 9px; left: -.75px; }
.corte--tr { right: 0; top: 0; } .corte--tr::before { left: 9px; top: -.75px; } .corte--tr::after { bottom: 9px; right: -.75px; }
.corte--bl { left: 0; bottom: 0; } .corte--bl::before { right: 9px; bottom: -.75px; } .corte--bl::after { top: 9px; left: -.75px; }
.corte--br { right: 0; bottom: 0; } .corte--br::before { left: 9px; bottom: -.75px; } .corte--br::after { top: 9px; right: -.75px; }
.reg { position: absolute; top: 50%; width: 24px; height: 24px; margin-top: -12px; }
.reg--izq { left: -44px; } .reg--der { right: -44px; }
.reg i { position: absolute; inset: 0; border: 1.5px solid var(--x); border-radius: 50%; mix-blend-mode: multiply; }
.reg i::before, .reg i::after { content: ""; position: absolute; background: var(--x); }
.reg i::before { left: 50%; top: -8px; bottom: -8px; width: 1.5px; margin-left: -.75px; }
.reg i::after { top: 50%; left: -8px; right: -8px; height: 1.5px; margin-top: -.75px; }
.reg i:nth-child(1) { --x: var(--c); } .reg i:nth-child(2) { --x: var(--m); } .reg i:nth-child(3) { --x: var(--y); } .reg i:nth-child(4) { --x: var(--k); }
.pliego__spec { position: absolute; left: 9%; right: 9%; top: 5.5%; display: flex; justify-content: space-between; margin: 0; font: 500 max(8px, 2.15cqi)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8B8892; }
.pliego__logo { display: block; width: 100%; height: auto; overflow: visible; }
.hx-placa { mix-blend-mode: multiply; }
.pliego__lema { margin: 5% 0 0; text-align: center; font: 700 3.05cqi/1 var(--f); letter-spacing: .32em; text-transform: uppercase; color: #3B3940; padding-left: .32em; white-space: nowrap; }
.pliego__barra { position: absolute; left: 9%; right: 9%; bottom: 6%; display: grid; grid-template-columns: repeat(12, 1fr); height: clamp(9px, .9vw, 13px); }
.pliego__barra i { background: color-mix(in srgb, var(--t) calc(var(--a, 1) * 100%), #fff); transform-origin: left; }

/* entrada del hero (se dispara con .listo, después del primer pintado) */
.m .hero:not(.listo) .hx, .m .hero:not(.listo) .pliego__hoja, .m .hero:not(.listo) .hx-placa,
.m .hero:not(.listo) .pliego__spec, .m .hero:not(.listo) .pliego__lema, .m .hero:not(.listo) .hero__semitono,
.m .hero:not(.listo) .hero__eje { opacity: 0; }
.m .hero:not(.listo) .hero__titulo .linea > span { translate: 0 105%; }
.m .hero:not(.listo) .corte, .m .hero:not(.listo) .reg i, .m .hero:not(.listo) .pliego__barra i { opacity: 0; }
.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__semitono { animation: hx-aparece 2s ease .1s both; }
.m .hero.listo .hero__eje--h { animation: hx-eje-h 1.6s var(--e) .2s both; }
.m .hero.listo .hero__eje--v { animation: hx-eje-v 1.6s var(--e) .3s both; }
.m .hero.listo .pliego__hoja { animation: pl-hoja 1.25s var(--e) .15s both; }
.m .hero.listo .corte { animation: pl-corte .7s var(--e) both; animation-delay: .55s; }
.m .hero.listo .corte--tr { animation-delay: .62s; } .m .hero.listo .corte--br { animation-delay: .69s; } .m .hero.listo .corte--bl { animation-delay: .76s; }
.m .hero.listo .reg i { animation: pl-reg 1.1s var(--e) both; animation-delay: .9s; }
.m .hero.listo .reg i:nth-child(1) { --dx: -9px; --dy: -6px; } .m .hero.listo .reg i:nth-child(2) { --dx: 8px; --dy: -7px; }
.m .hero.listo .reg i:nth-child(3) { --dx: 5px; --dy: 9px; } .m .hero.listo .reg i:nth-child(4) { --dx: -7px; --dy: 7px; }
.m .hero.listo .hx-placa { animation: pl-placa 1.2s var(--e) both; }
.m .hero.listo .hx-placa--c { --dx: -38px; --dy: -24px; animation-delay: .5s; }
.m .hero.listo .hx-placa--m { --dx: 34px; --dy: -18px; animation-delay: .64s; }
.m .hero.listo .hx-placa--y { --dx: 10px; --dy: 34px; animation-delay: .78s; }
.m .hero.listo .hx-placa--k { --dx: -30px; --dy: 22px; animation-delay: .92s; }
.m .hero.listo .hx-letra { animation: pl-letra .8s var(--rebote) both; animation-delay: calc(.55s + var(--k) * .08s); }
.m .hero.listo .pliego__spec { animation: hx-aparece .9s ease 1.35s both; }
.m .hero.listo .pliego__lema { animation: pl-lema 1.3s var(--e) 1.2s both; }
.m .hero.listo .pliego__barra i { animation: pl-barra .5s var(--e) both; animation-delay: calc(1.3s + var(--n) * .045s); }
@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-eje-h { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes hx-eje-v { from { opacity: 1; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes pl-hoja { from { opacity: 0; translate: 0 40px; rotate: -8deg; scale: .93; } to { opacity: 1; translate: 0 0; rotate: -2.5deg; scale: 1; } }
@keyframes pl-corte { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
@keyframes pl-reg { from { opacity: 0; translate: var(--dx) var(--dy); } 30% { opacity: 1; } to { opacity: 1; translate: 0 0; } }
@keyframes pl-placa { from { opacity: 0; translate: var(--dx) var(--dy); } 35% { opacity: 1; } to { opacity: 1; translate: 0 0; } }
@keyframes pl-letra { from { scale: .55; } to { scale: 1; } }
@keyframes pl-lema { from { opacity: 0; letter-spacing: .9em; } to { opacity: 1; letter-spacing: .32em; } }
@keyframes pl-barra { from { opacity: 0; scale: 0 1; } to { opacity: 1; scale: 1 1; } }
@keyframes bajar { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }

/* ---------- cinta ---------- */
.cinta { position: relative; overflow: hidden; padding: 20px 0; background: var(--tinta); color: #fff; }
.cinta__mover { display: flex; align-items: center; gap: 30px; width: max-content; white-space: nowrap; font: 800 clamp(24px, 2.6vw, 38px)/1 var(--f); text-transform: uppercase; letter-spacing: .02em; will-change: translate; }
.cinta__mover i { display: block; width: 18px; height: 18px; flex: none; border: 2px solid var(--c); border-radius: 50%; position: relative; }
.cinta__mover i::before, .cinta__mover i::after { content: ""; position: absolute; background: currentColor; }
.cinta__mover i::before { left: 50%; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: inherit; }
.cinta__mover i:nth-of-type(3n+1) { border-color: var(--c); color: var(--c); }
.cinta__mover i:nth-of-type(3n+2) { border-color: var(--m); color: var(--m); }
.cinta__mover i:nth-of-type(3n) { border-color: var(--y); color: var(--y); }
.cinta__mover i::before { background: currentColor; }
.cinta__mover i::after { top: 50%; left: -5px; right: -5px; height: 2px; margin-top: -1px; }

/* ---------- empresa ---------- */
.empresa__cabeza { max-width: 1100px; margin-bottom: clamp(36px, 5vw, 64px); }
.empresa__texto { max-width: 40em; margin: 0 0 clamp(40px, 5vw, 64px) auto; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--tinta); }
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.pilar { position: relative; padding: 34px 32px 36px; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -44px rgba(18, 17, 21, .5); }
.pilar::before { content: ""; position: absolute; left: 32px; top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--x, var(--c)); }
.pilar:nth-child(2) { --x: var(--m); } .pilar:nth-child(3) { --x: var(--y); }
.pilar__icono { display: block; width: 54px; height: 54px; margin-bottom: 22px; color: var(--tinta); }
.pilar h3 { margin-bottom: 12px; font: 800 32px/1 var(--f); text-transform: uppercase; }
.pilar p { margin: 0; color: var(--gris); }
.valores { display: flex; flex-wrap: wrap; gap: 8px; }
.valores li { padding: 7px 13px; border-radius: 999px; background: var(--papel); font-size: 14.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--linea); }

/* ---------- escenas fijas (comunes) ---------- */
.saltar-escena { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(18, 17, 21, .62); text-decoration: none; transition: color .2s; }
.saltar-escena:hover { color: var(--tinta); }
.imprenta .saltar-escena { color: rgba(255, 255, 255, .62); }
.imprenta .saltar-escena:hover { color: #fff; }
.saltar-escena .i { width: 14px; height: 14px; }
.escena__avance { height: 3px; margin-top: 14px; border-radius: 3px; background: rgba(127, 127, 127, .22); overflow: hidden; }
.escena__avance i { display: block; height: 100%; background: linear-gradient(90deg, var(--c), var(--m), var(--y)); transform-origin: left; scale: var(--p, 0) 1; }

/* ---------- escena 1: impresión ---------- */
.imprenta { position: relative; height: 420vh; background: #141317; color: #fff; }
.imprenta::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; }
.imprenta__fijo { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(290px, 400px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); width: min(1400px, 100%); margin-inline: auto; padding: calc(var(--nav-h) + 16px) clamp(16px, 4vw, 48px) clamp(26px, 5vh, 56px); overflow: hidden; }
.imprenta__lado { position: relative; }
.imprenta__lado .eyebrow { color: rgba(255, 255, 255, .66); }
.imprenta__lado .eyebrow b { color: var(--y); }
.imprenta__lado .titulo { margin-bottom: 18px; font-size: clamp(34px, 3.5vw, 52px); color: #fff; }
.imprenta__lado .titulo em, .imprenta__lado .palabra.acento > span { color: var(--y); }
.imprenta__intro { margin-bottom: 24px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.tintas { display: grid; gap: 10px; }
.tintas li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: background-color .3s, box-shadow .3s; }
.tintas li.activo { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.tintas__gota { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--t); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.tintas li:nth-child(4) .tintas__gota { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.tintas b { font: 700 18px/1 var(--f); letter-spacing: .06em; text-transform: uppercase; }
.tintas__pct { font: 500 13px/1 var(--mono); color: rgba(255, 255, 255, .62); }
.tintas i { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.tintas i::after { content: ""; position: absolute; inset: 0; background: var(--t); transform-origin: left; scale: var(--p, 1) 1; }
.tintas li:nth-child(4) i::after { background: #fff; }
.imprenta__escena { position: relative; min-width: 0; }
.impresora { display: block; width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 80px); margin-inline: auto; overflow: visible; }
.lona-placa { mix-blend-mode: multiply; }
.lona-txt { font: 900 50px/1 var(--f); fill: #0A050C; letter-spacing: .01em; }
.lona-sub { font: 500 12px/1 var(--mono); fill: #0A050C; letter-spacing: .12em; }
.imp-luz { fill: #fff; opacity: .7; }
.imp-pantalla-txt { font: 500 12px/1 var(--mono); fill: #7FD6F5; letter-spacing: .14em; }
.imp-cota-txt { font: 800 19px/1 var(--f); fill: #0A050C; letter-spacing: .04em; }
.imprenta .imp-cota-txt { fill: #0A050C; }
.imprenta .imp-cota path { stroke: #fff; }
.imprenta .imp-cota rect { fill: #fff; }

/* ---------- servicios: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; perspective: 1600px; }
.item { position: relative; }
.serv { --ac: var(--m); display: flex; flex-direction: column; gap: 10px; min-height: 270px; padding: 30px 28px 90px; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -46px rgba(18, 17, 21, .55); overflow: hidden; isolation: isolate; grid-column: span 4; }
.serv::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 153, 207, .1), transparent 60%); opacity: 0; transition: opacity .4s; }
.serv:hover::before { opacity: 1; }
.serv::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 0 var(--m); transition: box-shadow .3s; }
.serv.is-elegida::after { box-shadow: inset 0 0 0 2.5px var(--m); }
.serv h3 { font: 800 clamp(26px, 2.2vw, 32px)/1 var(--f); text-transform: uppercase; }
.serv p { margin: 0; color: var(--gris); }
.serv__icono { display: block; width: 48px; height: 48px; margin-bottom: 6px; color: var(--tinta); }
.serv:nth-child(3n+1) .serv__icono { color: var(--c-osc); }
.serv:nth-child(3n+2) .serv__icono { color: var(--m-osc); }
.serv--gran { grid-column: span 7; grid-row: span 2; padding: 0 0 90px; }
.serv__foto { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.serv__foto img { width: 100%; height: 100%; object-fit: cover; }
.serv__info { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 0; }
.materiales { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.materiales li { padding: 6px 11px; border-radius: 999px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea); font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.serv--rosa { grid-column: span 5; background: var(--m-osc); color: #fff; }
.serv--rosa p { color: rgba(255, 255, 255, .86); }
.serv--rosa .serv__icono, .serv--rosa:nth-child(3n+2) .serv__icono { color: #fff; }
.serv--vinil { grid-column: span 5; }
.trabajos-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-top: 4px; font-size: 15px; }
.trabajos-lista li { position: relative; padding-left: 16px; }
.trabajos-lista li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--c); }
.trabajos-lista li:nth-child(3n+2)::before { background: var(--m); } .trabajos-lista li:nth-child(3n)::before { background: var(--y); }
.serv--foto { color: #fff; background: var(--tinta); }
.serv__fondo { position: absolute; inset: 0; z-index: -1; }
.serv__fondo img { width: 100%; height: 100%; object-fit: cover; }
.serv__fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 17, 21, .35) 0%, rgba(18, 17, 21, .9) 72%); }
.serv--foto p { color: rgba(255, 255, 255, .82); }
.serv--foto .serv__icono, .serv--foto:nth-child(3n+2) .serv__icono, .serv--foto:nth-child(3n+1) .serv__icono { color: #fff; }
.cnc-trazo { width: 100%; height: 46px; margin-top: auto; fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.serv--neon { background: #121115; color: #fff; }
.serv--neon p { color: rgba(255, 255, 255, .72); }
.serv--neon .serv__icono, .serv--neon:nth-child(3n) .serv__icono { color: #FF6FB5; }
.neon { margin: 4px 0 2px !important; font: 600 46px/1 var(--f); letter-spacing: .04em; text-transform: uppercase; color: #FFD6EA !important; text-shadow: 0 0 4px #fff, 0 0 12px #FF4FA7, 0 0 28px #FF2D96, 0 0 48px #D2217C; }
.m .neon span { opacity: .18; text-shadow: none; }
.neon.on span { animation: neon-enciende 1.6s steps(1, end) both; }
@keyframes neon-enciende { 0% { opacity: .18; } 8% { opacity: 1; } 12% { opacity: .25; } 20% { opacity: 1; } 24% { opacity: .4; } 30%, 100% { opacity: 1; } }

/* botón Agregar (cotizador) */
.item__add { position: absolute; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border: 0; border-radius: 999px; background: var(--papel-2); color: var(--tinta); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.item__add svg { width: 18px; height: 18px; }
.item__add:hover { background: #DEDAD0; }
.item__add[aria-pressed="true"] { background: var(--m-osc); color: #fff; }
.serv--rosa .item__add, .serv--foto .item__add, .serv--neon .item__add { background: rgba(255, 255, 255, .16); color: #fff; }
.serv--rosa .item__add:hover, .serv--foto .item__add:hover, .serv--neon .item__add:hover { background: rgba(255, 255, 255, .26); }
.serv--rosa .item__add[aria-pressed="true"] { background: #fff; color: var(--m-osc); }
.serv--foto .item__add[aria-pressed="true"], .serv--neon .item__add[aria-pressed="true"] { background: var(--y); color: var(--tinta); }
.serv--rosa.is-elegida::after { box-shadow: inset 0 0 0 2.5px #fff; }

/* galería de trabajos (Hero Parallax de 21st.dev, en filas que corren en sentidos opuestos) */
.galeria { padding-top: clamp(90px, 10vw, 140px); }
.galeria__cabeza { margin-bottom: 26px; }
.galeria__cabeza .titulo { font-size: clamp(34px, 4vw, 56px); }
.galeria__escena { perspective: 1300px; overflow-x: clip; padding: 30px 0 10px; }
.galeria__plano { transform-style: preserve-3d; }
.galeria__fila { display: flex; gap: 18px; width: max-content; margin: 0 0 18px; will-change: translate; }
.galeria__fila li { position: relative; flex: none; width: clamp(250px, 29vw, 430px); aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--papel-2); box-shadow: 0 30px 60px -40px rgba(18, 17, 21, .6); }
.galeria__fila img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--e); }
.galeria__fila li:hover img { scale: 1.05; }
.galeria__fila span { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(18, 17, 21, .78); backdrop-filter: blur(8px); color: #fff; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- escena 2: la fachada ---------- */
.fachada { position: relative; height: 660vh; background: linear-gradient(180deg, var(--papel) 0%, #E9EEF0 40%, #E9EEF0 70%, var(--papel) 100%); }
.fachada__fijo { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(280px, 350px) minmax(0, 1fr); align-items: center; gap: clamp(22px, 3.4vw, 56px); width: min(1440px, 100%); margin-inline: auto; padding: calc(var(--nav-h) + 16px) clamp(16px, 3vw, 40px) clamp(26px, 5vh, 52px); overflow: hidden; }
.fachada__lado .titulo { margin-bottom: 18px; font-size: clamp(32px, 3.1vw, 48px); }
.hud { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 12px 14px; border-radius: 16px; background: var(--blanco); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 22px 40px -30px rgba(18, 17, 21, .55); }
.hud__num { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--tinta); color: #fff; font: 500 15px/1 var(--mono); transition: background-color .3s; }
.hud.anuncio .hud__num { background: var(--m-osc); }
.hud__txt { display: flex; flex-direction: column; min-width: 0; }
.hud__txt small { font: 500 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.hud__txt b { font: 800 24px/1.05 var(--f); text-transform: uppercase; }
.hud.cambia .hud__txt, .hud.cambia .hud__num { animation: cambia .45s var(--e) both; }
@keyframes cambia { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.leyendas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.leyendas__t { margin: 0 0 8px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.leyenda { counter-reset: n; display: grid; gap: 3px; }
.leyenda li { counter-increment: n; position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.3; color: rgba(18, 17, 21, .45); transition: color .3s; }
.leyenda li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 19px; height: 17px; border-radius: 9px; background: rgba(18, 17, 21, .08); font: 500 10px/17px var(--mono); text-align: center; color: var(--gris); transition: background-color .3s, color .3s; }
.leyenda li.hecho { color: var(--tinta); }
.leyenda li.hecho::before { background: var(--tinta); color: #fff; }
.leyenda li.activo { color: var(--m-osc); font-weight: 600; }
.leyenda li.activo::before { background: var(--m-osc); color: #fff; }
.fachada__escena { position: relative; min-width: 0; }
.fachada__camara { position: relative; overflow: hidden; border-radius: var(--radio); background: linear-gradient(180deg, #D7E8F1 0%, #EEF1EC 70%); box-shadow: inset 0 0 0 1px rgba(18, 17, 21, .06); }
.calle { display: block; width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 90px); }
.f-txt { font-family: var(--f); font-weight: 900; text-transform: uppercase; }
.f-txt--s { font: 500 12px/1 var(--mono); letter-spacing: .14em; fill: #2B2A30; }
.f-txt--v { font-size: 25px; letter-spacing: .08em; fill: #121115; }
.f-txt--l { font-size: 58px; letter-spacing: .03em; fill: var(--m); }
.f-txt--on { fill: #E0137E; }
.f-txt--vinil { font-size: 25px; font-weight: 800; letter-spacing: .14em; fill: #fff; }
.f-txt--gis { font-size: 22px; font-weight: 800; letter-spacing: .1em; fill: #fff; }
.f-txt--b { font-size: 22px; fill: #16151A; }
.f-txt--lona { font-size: 32px; fill: #121115; letter-spacing: .03em; }
.f-txt--s2 { font-size: 24px; fill: #121115; letter-spacing: .06em; }
.f-txt--micro { font-size: 34px; fill: #fff; letter-spacing: .04em; }
.f-txt--3d { font-size: 42px; fill: var(--y); letter-spacing: .05em; }
.f-txt--3d-s { fill: #8A6100; }
.f-txt--3d-on { fill: #FFE7A0; }
.f-txt--flag { font-size: 22px; fill: #fff; letter-spacing: .12em; }
.f-numeros .num circle { fill: var(--tinta); stroke: #fff; stroke-width: 3; }
.f-numeros .num text { font: 500 13px/1 var(--mono); fill: #fff; text-anchor: middle; }
.f-numeros .num.activo circle { fill: var(--m); }
.f-noche { opacity: 0; mix-blend-mode: multiply; pointer-events: none; }
.f-luces { opacity: 0; pointer-events: none; }
.f-rodillo { opacity: 0; }
html:not(.m) .imp-cabezal { display: none; }

/* ---------- fabricación de anuncios ---------- */
.anuncios { background: var(--papel-2); }
.tipos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; perspective: 1400px; }
.tipo { --ac: var(--m); display: flex; flex-direction: column; min-height: 230px; padding: 26px 22px 84px; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 26px 50px -42px rgba(18, 17, 21, .55); overflow: hidden; isolation: isolate; }
.tipo:nth-child(3n+1) { --ac: var(--c); } .tipo:nth-child(3n) { --ac: #E5A50A; }
.tipo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: box-shadow .3s; }
.tipo.is-elegida::after { box-shadow: inset 0 0 0 2.5px var(--m); }
.tipo__icono { display: block; width: 70px; height: 70px; margin-bottom: 20px; color: var(--tinta); }
.tipo h3 { font: 800 25px/1 var(--f); text-transform: uppercase; }
.tipo--otro { justify-content: center; gap: 14px; padding-bottom: 26px; background: transparent; box-shadow: inset 0 0 0 2px rgba(18, 17, 21, .16); }
.tipo__otro-t { margin: 0; font: 800 26px/1.05 var(--f); text-transform: uppercase; }

/* ---------- construcción y edificaciones ---------- */
.obra { position: relative; overflow: clip; }
.obra__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.obra__bloque { scroll-margin-top: var(--nav-h); }
.obra__bloque--const { background: var(--y); color: var(--tinta); }
.obra__bloque--edif { background: var(--tinta); color: #fff; }
.obra__in { max-width: 640px; padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 72px); }
.obra__bloque--const .obra__in { margin-left: auto; }
.obra__bloque--const .eyebrow { color: rgba(18, 17, 21, .72); }
.obra__bloque--const .eyebrow b { color: var(--tinta); }
.obra__bloque--const .titulo em, .obra__bloque--const .palabra.acento > span { color: #8F0D4C; }
.obra .titulo { margin-bottom: 34px; }
.partidas { counter-reset: p; perspective: 1200px; }
.partida { counter-increment: p; display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1.5px solid rgba(18, 17, 21, .16); }
.partida::before { content: counter(p, decimal-leading-zero); flex: none; width: 28px; font: 500 12px/1 var(--mono); color: rgba(18, 17, 21, .6); }
.partida h3 { flex: 1; font: 700 clamp(21px, 2vw, 27px)/1.05 var(--f); text-transform: uppercase; }
.partida .item__add { position: static; flex: none; min-height: 40px; background: rgba(18, 17, 21, .1); }
.partida .item__add:hover { background: rgba(18, 17, 21, .18); }
.partida .item__add[aria-pressed="true"] { background: var(--tinta); color: var(--y); }
.partidas--claro .partida { border-bottom-color: rgba(255, 255, 255, .14); }
.partidas--claro .partida::before { color: rgba(255, 255, 255, .55); }
.partidas--claro .item__add { background: rgba(255, 255, 255, .1); color: #fff; }
.partidas--claro .item__add:hover { background: rgba(255, 255, 255, .18); }
.partidas--claro .item__add[aria-pressed="true"] { background: var(--y); color: var(--tinta); }
.obra__telon { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.obra__hoja { background: repeating-linear-gradient(-45deg, var(--y) 0 28px, var(--k) 28px 56px); }
.obra__hoja--izq { box-shadow: inset -6px 0 0 var(--k); }
.obra__hoja--der { box-shadow: inset 6px 0 0 var(--k); }
html:not(.m) .obra__telon { display: none; }

/* ---------- clientes ---------- */
.clientes { background: var(--blanco); }
.marquesina { display: grid; gap: 16px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquesina__fila { display: flex; gap: 16px; width: max-content; animation: marquesina 60s linear infinite; }
.marquesina__fila--inv { animation-direction: reverse; animation-duration: 66s; }
.marquesina:hover .marquesina__fila { animation-play-state: paused; }
.marquesina li { display: grid; place-items: center; flex: none; width: 210px; height: 122px; padding: 14px 22px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); isolation: isolate; }
.marquesina img { width: auto; max-width: 100%; max-height: 86px; object-fit: contain; mix-blend-mode: multiply; }
@keyframes marquesina { from { translate: 0 0; } to { translate: -50% 0; } }

/* ---------- cotiza ---------- */
.cotiza { background: var(--tinta); color: #fff; }
.cotiza__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(36px, 6vw, 96px); align-items: start; }
.cotiza__lead { max-width: 30em; margin: 22px 0 34px; color: rgba(255, 255, 255, .74); font-size: 18px; }
.datos { display: grid; gap: 18px; }
.datos li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.datos .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--y); }
.datos small { display: block; margin-bottom: 2px; font: 500 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.datos a { font-size: 17px; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.datos a:hover { color: var(--y); }
.tarjeta-cot { --acento: var(--m-osc); padding: 32px; border-radius: 28px; background: #fff; color: var(--tinta); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.tarjeta-cot h3 { margin-bottom: 22px; font: 900 34px/1 var(--f); text-transform: uppercase; }
.campo { display: block; margin-bottom: 16px; }
.campo > span, .campo--opciones legend { display: block; margin-bottom: 8px; padding: 0; font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #5A5761; }
.campo--opciones { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.campo input, .campo textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px; background: #F2F0EA; box-shadow: inset 0 0 0 1px rgba(18, 17, 21, .12); color: var(--tinta); font: inherit; font-size: 16px; line-height: 1.35; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: #6A6770; }
.campo input:focus, .campo textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--acento); }
.campo-doble { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opciones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.opciones label { position: relative; }
.opciones input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opciones span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 6px; border-radius: 12px; background: #F2F0EA; box-shadow: inset 0 0 0 1px rgba(18, 17, 21, .12); font-size: 15px; font-weight: 600; text-align: center; transition: background-color .2s, box-shadow .2s, color .2s; }
.opciones label:hover span { box-shadow: inset 0 0 0 1.5px var(--acento); }
.opciones input:checked + span { background: var(--tinta); color: #fff; box-shadow: none; }
.opciones input:focus-visible + span { outline: 3px solid var(--c); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(210, 33, 124, .1); font-size: 14px; font-weight: 500; }
.chips li button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(18, 17, 21, .08); font-size: 15px; line-height: 1; cursor: pointer; }
.chips li button:hover { background: rgba(18, 17, 21, .16); }
.chips .chips__vacio { padding: 0; background: none; color: #5A5761; font-size: 15px; font-weight: 400; }
.chips [hidden] { display: none; }
.tarjeta-cot__nota { margin: 14px 0 0; font-size: 13.5px; color: #5A5761; text-align: center; }
.mapa { margin-top: clamp(56px, 7vw, 90px); border-radius: var(--radio); overflow: hidden; }
.mapa iframe { display: block; width: 100%; height: clamp(300px, 34vw, 420px); border: 0; filter: grayscale(.25) contrast(1.02); }

/* barra de la lista (cotizador) */
.lista { position: fixed; z-index: 160; left: 50%; bottom: 20px; translate: -50% 0; display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(18, 17, 21, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); transition: opacity .4s, translate .4s var(--e); }
.lista[hidden] { display: flex; opacity: 0; translate: -50% 30px; pointer-events: none; visibility: hidden; }
.lista__texto { margin: 0; font-size: 15px; white-space: nowrap; }
.lista__texto strong { color: var(--y); font-size: 18px; }
.lista .btn { min-height: 46px; padding: 0 20px; }
.con-lista .flotante, .con-cotiza .flotante { opacity: 0; translate: 0 20px; pointer-events: none; }

/* ---------- footer ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding: 90px 0 30px; background: #0B0A0D; color: rgba(255, 255, 255, .7); }
.footer::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 1000px; height: 480px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 33, 124, .16), transparent); }
.footer__linea { position: absolute; left: 0; right: 0; top: 0; height: 3px; display: grid; grid-template-columns: repeat(4, 1fr); transform-origin: center; }
.footer__linea i:nth-child(1) { background: var(--c); box-shadow: 0 0 18px var(--c); }
.footer__linea i:nth-child(2) { background: var(--m); box-shadow: 0 0 18px var(--m); }
.footer__linea i:nth-child(3) { background: var(--y); box-shadow: 0 0 18px var(--y); }
.footer__linea i:nth-child(4) { background: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .6); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 44px; }
.footer__marca .logo { display: block; width: 170px; 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: 800 18px/1 var(--f); letter-spacing: .12em; 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(--y); }
.footer__col .i { width: 18px; height: 18px; margin-top: 3px; color: var(--y); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; 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, .55); }
.footer__base p { margin: 0; }
.footer__cmyk { display: flex; gap: 6px; }
.footer__cmyk span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 500 11px/1 var(--mono); color: var(--tinta); background: var(--c); }
.footer__cmyk span:nth-child(2) { background: var(--m); color: #fff; } .footer__cmyk span:nth-child(3) { background: var(--y); } .footer__cmyk span:nth-child(4) { background: #fff; }
.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(--m-osc); color: #fff; font: 600 15.5px var(--t); text-decoration: none; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); transition: opacity .35s, translate .45s var(--e); }
.flotante .i { width: 21px; height: 21px; }
.flotante:not(.is-on) { opacity: 0; translate: 0 24px; pointer-events: none; }

/* ---------- estados iniciales de la coreografía ---------- */
.m [data-m] { opacity: 0; }
.m [data-m="palabras"].dividido { opacity: 1; }
.m [data-m="dibujar"] { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 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; }
.m .cnc-trazo { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--e) .4s; }
.m .serv--cnc.on .cnc-trazo { stroke-dashoffset: 0; }

/* ---------- pantallas medianas y bajas ---------- */
@media (min-width: 900px) and (max-height: 820px) {
  .imprenta__intro { display: none; }
  .imprenta__lado .titulo, .fachada__lado .titulo { font-size: clamp(30px, 5vh, 44px); margin-bottom: 14px; }
  .tintas li { padding: 8px 12px; }
  .leyenda li { font-size: 12.5px; }
  .hud { margin-bottom: 12px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .imprenta__lado .eyebrow, .fachada__lado .eyebrow { display: none; }
  .leyendas { display: none; }
  .saltar-escena { margin-top: 14px; }
}
@media (max-width: 1240px) {
  .fachada__fijo { grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); }
  .leyendas { grid-template-columns: 1fr; }
  .leyenda--obra { display: none; }
  .leyendas > div:first-child { display: none; }
}
@media (max-width: 1100px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pliego { order: -1; width: min(560px, 100%); margin: 0 auto; padding: 40px 50px; }
  .hero__eje--v { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 6px); }
  .pilares { grid-template-columns: 1fr 1fr; }
  .pilar--valores { grid-column: 1 / -1; }
  .serv, .serv--rosa, .serv--vinil { grid-column: span 6; }
  .serv--gran { grid-column: 1 / -1; grid-row: auto; }
  .cotiza__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__marca { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  :root { --nav-h: 66px; }
  .imprenta { height: 360vh; }
  .imprenta__fijo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 16px; padding: calc(var(--nav-h) + 14px) clamp(16px, 4vw, 32px) 18px; }
  .imprenta__lado .eyebrow { margin-bottom: 10px; }
  .imprenta__lado .titulo { margin-bottom: 12px; font-size: clamp(28px, 7.6vw, 40px); }
  .imprenta__intro, .imprenta .saltar-escena { display: none; }
  .tintas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .tintas li { grid-template-columns: 12px minmax(0, 1fr); padding: 8px 8px 9px; gap: 6px 6px; }
  .tintas__gota { width: 11px; height: 11px; }
  .tintas b { font-size: 13px; letter-spacing: .03em; }
  .tintas__pct { grid-column: 1 / -1; font-size: 11px; }
  .imprenta__escena { align-self: center; }
  .impresora { max-height: calc(100svh - var(--nav-h) - 260px); }
  .fachada { height: 600vh; }
  .fachada__fijo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 14px; padding: calc(var(--nav-h) + 14px) 0 18px; }
  .fachada__lado { padding-inline: clamp(16px, 4vw, 32px); }
  .fachada__lado .eyebrow { margin-bottom: 10px; }
  .fachada__lado .titulo { margin-bottom: 12px; font-size: clamp(27px, 7.2vw, 40px); }
  .leyendas, .fachada .saltar-escena { display: none; }
  .hud { margin-bottom: 0; }
  .fachada__escena { align-self: center; padding-inline: clamp(16px, 4vw, 32px); }
  .fachada__camara { height: min(52svh, 440px); }
  @media (min-width: 600px) { .fachada__camara { height: min(58svh, 620px); } .fachada__fijo { align-content: center; } }
  .calle { width: auto; height: 100%; max-height: none; max-width: none; }
  .obra__grid { grid-template-columns: 1fr; }
  .obra__in, .obra__bloque--const .obra__in { max-width: none; margin: 0; }
  .obra__telon { grid-template-columns: 1fr 1fr; bottom: auto; height: 100vh; }
}
@media (max-width: 760px) {
  .seccion { padding: 76px 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .serv, .serv--rosa, .serv--vinil, .serv--gran { grid-column: auto; }
  .pilares { grid-template-columns: minmax(0, 1fr); }
  .empresa__texto { margin-left: 0; }
  .tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tipo { min-height: 0; padding: 20px 16px 74px; }
  .tipo__icono { width: 52px; height: 52px; margin-bottom: 14px; }
  .tipo h3 { font-size: 21px; }
  .tipo .item__add { left: 14px; bottom: 16px; padding: 6px 12px 6px 10px; font-size: 14px; }
  .tipo--otro { grid-column: 1 / -1; padding-bottom: 22px; }
  .partida { gap: 10px; }
  .partida .item__add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .partida .item__add { padding: 8px; min-height: 42px; width: 42px; justify-content: center; }
  .opciones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campo-doble { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tarjeta-cot { padding: 24px 20px; border-radius: 22px; }
  .marquesina li { width: 160px; height: 96px; padding: 10px 16px; }
  .marquesina img { max-height: 66px; }
  .flotante { display: inline-flex; }
  .footer { padding-bottom: 100px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lista { left: 12px; right: 12px; translate: 0 0; justify-content: space-between; gap: 10px; padding-left: 18px; }
  .lista[hidden] { translate: 0 30px; }
  .lista__texto { white-space: normal; font-size: 14px; }
  .hero__chips { gap: 10px 16px; }
  .trabajos-lista { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .pliego { padding: 30px 36px; }
  .reg { display: none; }
  .corte::before { width: 16px; } .corte::after { height: 16px; }
  .corte--tl::before, .corte--bl::before { right: 6px; } .corte--tr::before, .corte--br::before { left: 6px; }
  .corte--tl::after, .corte--tr::after { bottom: 6px; } .corte--bl::after, .corte--br::after { top: 6px; }
  .hero__titulo { font-size: clamp(42px, 13vw, 60px); }
  .hero__acciones .btn { flex: 1 1 100%; }
  .hero__bajar { display: none; }
  .hero { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquesina__fila { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquesina__fila li[aria-hidden] { display: none; }
}
