/* Printesia · página de servicio técnico · v3 (25/11/2026) · Green Desing
   Look de la v1 (oscuro, tintas CMY, la impresora grande) + estructura de la v2
   (perfil del 19/11) + interacción por capítulos (todo reacciona al bajar). */
@property --k { syntax: '<number>'; inherits: false; initial-value: 1; }

:root {
  --tinta-0: #04060C;
  --tinta: #070A14;
  --tinta-1: #0A0E1C;
  --tinta-2: #10162A;
  --tinta-3: #182036;
  --texto: #F3F5FA;
  --texto-2: rgba(232, 236, 246, .74);
  --texto-3: rgba(232, 236, 246, .56);
  --linea: rgba(255, 255, 255, .1);
  --linea-2: rgba(255, 255, 255, .16);
  --vidrio: rgba(18, 24, 44, .62);
  --cian: #00AEEF;
  --cian-hover: #33C4F7;
  --magenta: #EC008C;
  --magenta-claro: #FF4FB3;
  --amarillo: #FFE000;
  --laser: #FF5A1F;
  --hilo: #9AA4B8;
  --ok: #2BD9A0;
  --wa: #25D366;
  --error: #FF6B5A;
  --nav: 68px;
  --ancho: 'Archivo', 'IBM Plex Sans', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --curva: cubic-bezier(.22, .8, .24, 1);
  --cmy: linear-gradient(90deg, var(--cian), var(--magenta) 50%, var(--amarillo));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 12px); background: var(--tinta); }
body { margin: 0; background: var(--tinta); color: var(--texto); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--ancho); font-stretch: 106%; margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; text-wrap: balance; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cian); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--magenta); color: #fff; }
[hidden] { display: none !important; }
.envoltura { width: min(1240px, 100% - 48px); margin-inline: auto; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Palabras con tinta CMY ---------- */
.grad { background: var(--cmy); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.grad.partida { background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; }
.grad .pal, .pal.grad { background: linear-gradient(90deg, var(--g1, var(--cian)), var(--gm, var(--magenta)), var(--g2, var(--amarillo))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Textos que se aclaran al bajar ----------
   Sin JS (o con «reducir movimiento», o en una pestaña de fondo) todo queda nítido:
   el desenfoque solo existe con la clase .js-mov que pone pagina.js. */
.js-mov .aclara .pal { display: inline-block; --q: clamp(0, calc(var(--p, 1) * 1.7 - var(--i, 0) * .085), 1); opacity: calc(.08 + var(--q) * .92); filter: blur(calc((1 - var(--q)) * 12px)); transform: translateY(calc((1 - var(--q)) * .32em)); will-change: filter, transform; }
.js-mov .aclara.nitido .pal { filter: none; transform: none; opacity: 1; will-change: auto; }
.js-mov p.aclara { opacity: calc(.1 + var(--p, 1) * .9); filter: blur(calc((1 - var(--p, 1)) * 8px)); transform: translateY(calc((1 - var(--p, 1)) * 14px)); }
.js-mov p.aclara.nitido { filter: none; transform: none; opacity: 1; }
:where(.js-mov) .sube { opacity: calc(var(--p, 1)); translate: 0 calc((1 - var(--p, 1)) * 36px); }

/* ---------- Piezas comunes ---------- */
.ante { position: relative; font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-3); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px; }
.ante .n { color: var(--cian); font-weight: 600; letter-spacing: .08em; }
.raya { width: 30px; height: 1.5px; background: var(--cmy); flex: none; }
.titulo { font-size: clamp(40px, 5.4vw, 80px); }
.bajada { font-size: clamp(17px, 1.4vw, 19.5px); color: var(--texto-2); max-width: 56ch; margin-top: 20px; }
.credito { font-size: 13px; color: var(--texto-3); margin-top: 16px; }
.seccion { position: relative; padding: clamp(80px, 9vw, 132px) 0; }

/* capítulos con número gigante: el número se llena de tinta mientras sube */
.capitulo { position: relative; isolation: isolate; margin-bottom: clamp(36px, 5vw, 64px); }
.num-fondo { position: absolute; z-index: -1; right: -.04em; top: 50%; font-family: var(--ancho); font-stretch: 112%; font-weight: 900; font-size: clamp(150px, 22vw, 320px); line-height: .8; letter-spacing: -0.04em; color: transparent; padding: 0 .08em; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12); background: linear-gradient(to top, rgba(0, 174, 239, .17), rgba(236, 0, 140, .13) 55%, rgba(255, 224, 0, .1)) no-repeat bottom / 100% calc(var(--p, 1) * 100%); -webkit-background-clip: text; background-clip: text; transform: translateY(calc(-50% + (1 - var(--p, 1)) * 70px)); pointer-events: none; user-select: none; }

.btn { --c: var(--cian); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 600 16.5px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .3s var(--curva), background-color .25s, box-shadow .3s, border-color .25s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-cian { background: var(--cian); color: #021018; box-shadow: 0 12px 34px -14px rgba(0, 174, 239, .9); }
.btn-cian:hover { background: var(--cian-hover); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0, 174, 239, 1); }
.btn-vidrio { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.btn-vidrio:hover { background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #04210F; box-shadow: 0 12px 34px -14px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #3BE07A; transform: translateY(-2px); }
.enlace { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; transition: color .2s, gap .3s var(--curva); }
.enlace:hover { color: var(--cian); gap: 10px; }

/* «por confirmar» (solo con ?vista=revision) */
.pc { display: inline-flex; align-items: center; gap: 5px; font: 500 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #FFD996; background: rgba(255, 196, 77, .1); border: 1px dashed rgba(255, 196, 77, .55); border-radius: 999px; padding: 4px 8px 3px; margin-left: 8px; vertical-align: .2em; white-space: nowrap; font-stretch: 100%; -webkit-text-fill-color: #FFD996; }
.pc::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #E39A1B; }
.pc.destello { animation: destello 1.6s ease-out 1; }
@keyframes destello { 0%, 30% { box-shadow: 0 0 0 0 rgba(227, 154, 27, .8); } 100% { box-shadow: 0 0 0 14px rgba(227, 154, 27, 0); } }
.revision-tab { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid rgba(255, 196, 77, .55); background: rgba(16, 22, 42, .94); color: #FFE2AA; font: 500 13px/1 var(--mono); cursor: pointer; }
.revision-tab i { width: 8px; height: 8px; border-radius: 50%; background: #E39A1B; }

/* ---------- Barra superior ---------- */
.barra { position: sticky; top: 0; z-index: 50; height: var(--nav); background: rgba(7, 10, 20, .72); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--linea); }
.barra .envoltura { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marca { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; color: #fff; }
.logo { height: 42px; width: auto; overflow: visible; }
.logo .palabra { fill: currentColor; }
.logo .o-m { fill: #EC008C; } .logo .o-y { fill: #FFE100; } .logo .o-c { fill: #1FB4EE; }
.logo .o { transform-box: fill-box; transform-origin: 50% 50%; animation: onda 7s ease-in-out infinite alternate; }
.logo .o-y { animation-delay: -2.3s; } .logo .o-c { animation-delay: -4.6s; animation-duration: 8s; }
.marca:hover .logo .o { animation-duration: 1.8s; }
@keyframes onda { from { transform: translateX(-14px) scaleY(.9); } to { transform: translateX(14px) scaleY(1.1); } }
.barra nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.barra nav .sec { position: relative; text-decoration: none; color: var(--texto-2); padding: 10px 0; transition: color .2s; }
.barra nav .sec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--cmy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--curva); }
.barra nav .sec:hover, .barra nav .sec.actual { color: #fff; }
.barra nav .sec.actual::after, .barra nav .sec:hover::after { transform: scaleX(1); }
.barra .tel { font-weight: 700; text-decoration: none; color: #fff; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.barra .tel svg { width: 18px; height: 18px; opacity: .8; }
.pildora { background: var(--cian); color: #021018; text-decoration: none; padding: 0 20px; min-height: 42px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 650; font-size: 15px; transition: background-color .2s, transform .3s var(--curva); white-space: nowrap; }
.pildora:hover { background: var(--cian-hover); transform: translateY(-1px); }
.avance { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cmy); transform-origin: left; transform: scaleX(var(--avance, 0)); }

/* ---------- Portada ---------- */
.portada { position: relative; overflow: hidden; overflow: clip; isolation: isolate; background: radial-gradient(1200px 700px at 78% 30%, rgba(0, 174, 239, .1), transparent 60%), radial-gradient(900px 600px at 95% 85%, rgba(236, 0, 140, .1), transparent 60%), var(--tinta); }
.portada::before { content: ""; position: absolute; inset: 0; z-index: -1; 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: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%); }
.portada-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(40px, 5.5vw, 76px) 0 clamp(28px, 3.5vw, 48px); min-height: calc(100svh - var(--nav) - 110px); }
.antemarca { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.portada h1 { font-size: clamp(42px, 4.9vw, 72px); }
.portada .txt { font-size: clamp(17px, 1.3vw, 19px); color: var(--texto-2); max-width: 46ch; margin-top: 24px; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.portada .nota { margin-top: 18px; font-size: 14.5px; color: var(--texto-3); }

.selector { margin-top: 34px; }
.selector-tit { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-3); margin-bottom: 12px; }
.chips-equipos { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-eq { --c: var(--cian); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px 0 11px; border-radius: 999px; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .03); color: var(--texto-2); font: 500 13.5px/1 var(--sans); cursor: pointer; transition: border-color .25s, background-color .25s, color .25s, box-shadow .3s; }
.chip-eq i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.chip-eq:hover { color: #fff; border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.chip-eq[aria-pressed="true"] { color: #fff; border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: 0 0 22px -6px var(--c); }


/* El escenario: 100 × 84 «unidades» (1 unidad = 1 % del ancho, con cqw) */
.escena-col { min-width: 0; }
.escenario { position: relative; aspect-ratio: 100 / 68; container-type: inline-size; }
.halo { position: absolute; left: 6cqw; width: 88cqw; top: 0; height: 60cqw; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 174, 239, .16), rgba(236, 0, 140, .06) 60%, transparent 80%); filter: blur(10px); pointer-events: none; transition: background .8s; }
.anillo { position: absolute; left: 0; top: 0; width: 100%; height: 68cqw; overflow: visible; pointer-events: none; }
.anillo ellipse, .anillo path { fill: none; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.anillo-atras { z-index: 0; }
.anillo-atras ellipse { stroke: rgba(255, 255, 255, .16); stroke-dasharray: 2 7; }
.anillo-delante { z-index: 3; }
.anillo-delante path { stroke: url(#gBarra); stroke-opacity: .55; }
.maquinas { position: absolute; z-index: 2; left: 7cqw; top: 8cqw; width: 86cqw; height: 52.77cqw; }
#escena { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity .6s var(--curva), filter .6s var(--curva), transform .8s var(--curva); }
.escena-otra { position: absolute; inset: -4% 4% 0; opacity: 0; filter: blur(14px); transform: scale(.94); transition: opacity .6s var(--curva), filter .6s var(--curva), transform .8s var(--curva); pointer-events: none; }
.escena-otra svg { width: 100%; height: 100%; overflow: visible; }
.escenario:not([data-activo="rotulacion"]) #escena { opacity: 0; filter: blur(14px); transform: scale(.94); }
.escenario:not([data-activo="rotulacion"]) .escena-otra { opacity: 1; filter: none; transform: none; }

/* astros: los 5 equipos en órbita */
.astro { --c: var(--cian); --x: 50; --y: 50; --s: 1; position: absolute; left: 0; top: 0; z-index: 4; width: clamp(46px, 10.5cqw, 70px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; opacity: var(--o, 1); transform: translate(calc(var(--x) * 1cqw - 50%), calc(var(--y) * 1cqw - 50%)) scale(calc(var(--s) * var(--k))); transition: --k .45s var(--curva), opacity .3s; -webkit-tap-highlight-color: transparent; }
.astro .disco { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .14), rgba(16, 22, 42, .86) 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 30px -10px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .4s, color .3s; }
.astro .disco svg { width: 46%; height: 46%; }
.astro .et { position: absolute; left: 50%; top: calc(100% + 8px); transform: translate(-50%, -4px); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; white-space: nowrap; padding: 6px 9px 5px; border-radius: 999px; background: rgba(7, 10, 20, .82); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent); opacity: 0; transition: opacity .3s, transform .4s var(--curva); pointer-events: none; }
.astro:hover, .astro:focus-visible, .astro[aria-pressed="true"] { --k: 1.16; opacity: 1; }
.astro:hover .disco, .astro:focus-visible .disco, .astro[aria-pressed="true"] .disco { box-shadow: inset 0 0 0 1.5px var(--c), 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent), 0 0 40px -4px var(--c); }
.astro:hover .et, .astro:focus-visible .et, .astro[aria-pressed="true"] .et { opacity: 1; transform: translate(-50%, 0); }
.astro:focus-visible { outline: none; }

/* tarjeta de la escena (orden de servicio o la máquina elegida), debajo de la órbita */
.tarjeta-escena { --c: var(--cian); position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 22px; margin: 4px auto 0; max-width: 620px; padding: 16px 18px 16px 20px; border-radius: 20px; background: var(--vidrio); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.tarjeta-escena::before { content: ""; position: absolute; left: 20px; width: 64px; top: 0; height: 2px; border-radius: 2px; background: var(--c); transition: background-color .4s; }
.te-cab { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
.te-num { font: 600 11.5px/1 var(--mono); letter-spacing: .1em; color: var(--c); white-space: nowrap; }
.te-nombre { font-family: var(--ancho); font-stretch: 106%; font-weight: 800; font-size: 24px; letter-spacing: -0.025em; line-height: 1.1; }
.te-sub { font-size: 14px; line-height: 1.35; color: var(--texto-3); }
.te-cuerpo { grid-column: 1; min-width: 0; }
.te-fallas { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.te-fallas li { font-size: 13px; color: var(--texto-2); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.te-enlace { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent); transition: background-color .3s, box-shadow .3s, transform .3s var(--curva); }
.te-enlace:hover { background: color-mix(in srgb, var(--c) 26%, transparent); box-shadow: inset 0 0 0 1px var(--c), 0 0 30px -8px var(--c); transform: translateY(-1px); }
.tarjeta-escena .cambia { animation: cambia .55s var(--curva); }
@keyframes cambia { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
.estado { margin-top: 2px; }
.estado b { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--texto-3); }
.estado b span { color: #fff; }
.estado ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.estado li { font-size: 12px; color: var(--texto-3); display: grid; gap: 6px; white-space: nowrap; }
.estado li::before { content: ""; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); transition: background-color .4s; }
.estado li.actual, .estado li.hecho { color: #fff; }
.estado li.actual::before { background: var(--amarillo); }
.estado li.hecho::before { background: var(--ok); }

/* animaciones propias de cada máquina en la portada */
.escena-otra .an-carro { animation: carro 3.2s ease-in-out infinite alternate; }
@keyframes carro { from { transform: translateX(-110px); } to { transform: translateX(110px); } }
.escena-otra .an-calor { transform-box: fill-box; transform-origin: center; animation: calor 1.8s ease-in-out infinite alternate; }
@keyframes calor { from { opacity: .55; transform: scale(.9); } to { opacity: 1; transform: scale(1.06); } }
.escena-otra .an-giro { transform-box: fill-box; transform-origin: center; animation: giro 6s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }
.escena-otra .an-tela { animation: tela 2.4s linear infinite; }
@keyframes tela { from { transform: translateX(-40px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { transform: translateX(60px); opacity: 0; } }
.escena-otra .an-agujas { animation: agujas .22s ease-in-out infinite alternate; }
@keyframes agujas { to { transform: translateY(7px); } }
.escena-otra .an-bastidor { animation: bastidor 2.6s ease-in-out infinite alternate; }
@keyframes bastidor { from { transform: translate(-12px, -2px); } to { transform: translate(12px, 3px); } }
.escena-otra .an-puntada { stroke-dasharray: 1; stroke-dashoffset: 1; animation: puntada 2.6s linear infinite; }
@keyframes puntada { 70%, 100% { stroke-dashoffset: 0; } }
.escena-otra .an-laser { animation: laser 3.4s ease-in-out infinite alternate; }
@keyframes laser { from { transform: translateX(-150px); } to { transform: translateX(150px); } }
.escena-otra .an-corte { stroke-dasharray: 1; stroke-dashoffset: 1; animation: corte 6.8s ease-in-out infinite; }
@keyframes corte { 50%, 100% { stroke-dashoffset: 0; } }
.escena-otra .an-chispa { transform-box: fill-box; transform-origin: center; animation: chispa .3s ease-in-out infinite alternate; }
@keyframes chispa { to { transform: scale(1.5); opacity: .5; } }

/* ---------- Franja de confianza ---------- */
.confianza { border-top: 1px solid var(--linea); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.confianza ul { list-style: none; margin: 0 auto; padding: 26px 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.confianza li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; }
.confianza .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--c, var(--cian)); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--linea-2); }
.confianza .ic svg { width: 22px; height: 22px; }
.confianza b { font-family: var(--ancho); font-stretch: 104%; font-size: 17.5px; font-weight: 750; letter-spacing: -0.015em; line-height: 1.3; align-self: end; }
.confianza span.t { font-size: 14px; color: var(--texto-3); align-self: start; line-height: 1.35; }

/* ---------- 01 · Equipos (bento de la v1, en oscuro) ---------- */
.equipos { background: linear-gradient(180deg, var(--tinta), var(--tinta-1)); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.eq { --c: var(--cian); position: relative; isolation: isolate; border-radius: 26px; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--tinta-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .5s var(--curva), box-shadow .5s; }
.eq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transition: transform 1.4s var(--curva), filter .6s; filter: saturate(.85) brightness(.9); }
.eq::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(4, 6, 12, .05) 20%, rgba(4, 6, 12, .55) 55%, rgba(4, 6, 12, .94)); }
.eq::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); }
.eq .luz { position: absolute; inset: 0; z-index: -1; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--c) 34%, transparent), transparent 62%); opacity: 0; transition: opacity .5s; mix-blend-mode: screen; pointer-events: none; }
.eq:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.eq:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.eq:hover .luz { opacity: 1; }
.eq .txt { padding: 26px 26px 18px; }
.eq .tinta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; color: var(--texto-2); }
.eq .tinta::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.eq h3 { font-size: clamp(27px, 2.5vw, 38px); }
.eq .sub { margin-top: 6px; font-size: 16.5px; color: var(--texto-2); }
.eq ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.eq ul li { font-size: 13px; color: rgba(255, 255, 255, .86); padding: 5px 10px; border-radius: 999px; background: rgba(7, 10, 20, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.eq .enlace { margin-top: 8px; font-size: 15.5px; }
.eq-rotulacion { grid-column: span 7; grid-row: span 2; min-height: 700px; }
.eq-textil { grid-column: span 5; }
.eq-calandra { grid-column: span 5; }
.eq-bordadora { grid-column: span 6; }
.eq-laser { grid-column: span 6; }

/* cinta de servicios (de la v1) */
.cinta-servicios { background: var(--magenta); color: #fff; padding: 30px 0; overflow: hidden; }
.cinta { display: flex; width: max-content; animation: cinta 36s linear infinite; }
.cinta ul { display: flex; list-style: none; margin: 0; padding: 0; }
.cinta li { font-family: var(--ancho); font-stretch: 116%; font-weight: 800; font-size: clamp(28px, 3.8vw, 54px); letter-spacing: -0.03em; white-space: nowrap; display: flex; align-items: center; gap: 34px; padding-right: 34px; line-height: 1.1; }
.cinta li::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--amarillo); flex: none; }
.cinta li:nth-child(3n+2)::after { background: var(--cian); }
.cinta li:nth-child(3n)::after { background: var(--tinta); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- 02 · Formulario «Agende su visita» ---------- */
.agendar { background: var(--tinta-1); }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
.form > .paso, .form > .envio { grid-column: 1; }
.form > .orden { grid-column: 2; grid-row: 1 / span 7; position: sticky; top: calc(var(--nav) + 24px); }
.paso { border: 0; margin: 0; padding: 0 0 32px; min-width: 0; }
.paso legend { padding: 0; margin-bottom: 16px; font-family: var(--ancho); font-stretch: 104%; font-size: 21px; font-weight: 750; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.paso legend .num { font: 600 12.5px/1 var(--mono); width: 28px; height: 28px; border-radius: 9px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--linea-2); color: var(--cian); letter-spacing: 0; }
.req { color: var(--error); font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip { --c: var(--cian); }
.chip span { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .03); color: var(--texto-2); font-weight: 600; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s, box-shadow .3s; }
.chip:hover span { border-color: rgba(255, 255, 255, .34); color: #fff; }
.chip input:checked + span { background: color-mix(in srgb, var(--c) 16%, transparent); border-color: var(--c); color: #fff; box-shadow: 0 0 24px -10px var(--c); }
.chip input:focus-visible + span { outline: 3px solid var(--cian); outline-offset: 2px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
#chFallas .chip { --c: var(--magenta-claro); }
.nota-suave { font-size: 15px; color: var(--texto-3); }
.campos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
.campos .ancho { grid-column: 1 / -1; }
.campo { display: grid; gap: 7px; align-content: start; }
.campo > label { font-size: 15px; font-weight: 600; color: var(--texto); }
.campo input, .campo textarea { font-size: 16.5px; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .04); color: var(--texto); width: 100%; min-height: 50px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.campo input[type="date"] { color-scheme: dark; }
.campo textarea { resize: vertical; min-height: 84px; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(232, 236, 246, .58); }
.campo input:focus, .campo textarea:focus { outline: 0; border-color: var(--cian); background: rgba(0, 174, 239, .05); box-shadow: 0 0 0 3px rgba(0, 174, 239, .22); }
.detalle { margin-top: 16px; }
.check { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: var(--texto-2); cursor: pointer; min-height: 44px; }
.check input { width: 21px; height: 21px; accent-color: var(--cian); flex: none; margin: 0; }
.error-msg { display: none; font-size: 14px; color: var(--error); font-weight: 500; margin-top: 2px; }
.invalido .error-msg, .campo.invalido .error-msg { display: block; }
.campo.invalido input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255, 107, 90, .16); }
.paso.invalido .chips span, .paso.invalido .op { border-color: rgba(255, 107, 90, .6); }
.paso.resalta legend::after { content: "Ya elegido"; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cian); background: rgba(0, 174, 239, .12); padding: 6px 10px 5px; border-radius: 999px; animation: entra .5s var(--curva); }
@keyframes entra { from { opacity: 0; transform: translateY(4px); } }

.paso-cuando { background: rgba(0, 174, 239, .05); border: 1px solid rgba(0, 174, 239, .3); border-radius: 20px; padding: 18px 18px 20px; margin-bottom: 32px; }
.paso-cuando legend { float: left; width: 100%; }
.paso-cuando legend + * { clear: both; }
.cuando { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.op { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--linea-2); background: rgba(7, 10, 20, .5); cursor: pointer; font-size: 15px; font-weight: 550; line-height: 1.3; color: var(--texto-2); transition: border-color .2s, box-shadow .2s, color .2s; }
.op:hover { border-color: rgba(0, 174, 239, .6); color: #fff; }
.op input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); margin: 0; flex: none; display: grid; place-items: center; background: transparent; }
.op input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cian); transform: scale(0); transition: transform .25s var(--curva); }
.op input:checked { border-color: var(--cian); }
.op input:checked::after { transform: scale(1); }
.op:has(input:checked) { border-color: var(--cian); color: #fff; box-shadow: 0 0 0 1px var(--cian), 0 0 30px -12px var(--cian); }
.op input:focus-visible { outline: 3px solid var(--cian); outline-offset: 2px; }
.fecha { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; margin-top: 16px; }
.fecha .campo { flex: 0 1 260px; }

.envio { padding-top: 6px; }
.btn-enviar { width: 100%; min-height: 62px; font-size: 18px; }
.envio-nota { text-align: center; font-size: 15px; color: var(--texto-3); margin-top: 14px; }
.envio-nota a { font-weight: 700; color: #fff; }
.listo { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(43, 217, 160, .1); border: 1px solid rgba(43, 217, 160, .45); color: #C9F7E6; font-size: 15.5px; }
.listo a { font-weight: 700; color: #fff; }

/* tarjeta «Su orden» */
.orden { position: relative; overflow: hidden; border-radius: 24px; padding: 20px 18px 18px; background: linear-gradient(180deg, rgba(24, 32, 54, .9), rgba(12, 17, 32, .92)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.orden::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--cian) 0 25%, var(--magenta) 25% 50%, var(--amarillo) 50% 75%, #3A3F4E 75%); }
.orden-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 2px 14px; }
.orden-cab b { font-family: var(--ancho); font-stretch: 104%; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.codigo { font-family: var(--mono); font-size: 12.5px; color: var(--texto-2); background: rgba(255, 255, 255, .07); padding: 6px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.ficha { border-radius: 16px; overflow: hidden; background: #0B1122; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
#fichaSvg { width: 100%; height: auto; aspect-ratio: 600 / 380; }
.orden dl { margin: 12px 0 0; display: grid; }
.orden dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 2px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 14.5px; }
.orden dl div:first-child { border-top: 0; }
.orden dt { color: var(--texto-3); flex: none; }
.orden dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; border-radius: 6px; }
.orden dd.y { color: var(--amarillo); }
.orden dd.vacio { color: rgba(255, 255, 255, .36); font-weight: 500; }
.orden dd.cambio { animation: cambio .9s var(--curva); }
@keyframes cambio { 0% { background: rgba(0, 174, 239, .35); box-shadow: 0 0 0 4px rgba(0, 174, 239, .35); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }
.listo-barra { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 12px; overflow: hidden; }
.listo-barra i { display: block; height: 100%; background: var(--cmy); transform-origin: left; transform: scaleX(var(--lleno, 0)); transition: transform .6s var(--curva); }
.orden-falta { font: 500 12.5px/1.4 var(--mono); color: var(--texto-3); margin-top: 10px; }
.orden-falta.ok { color: var(--ok); }
.zona-aro { animation: aro 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes aro { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- 03 · Servicios ---------- */
.servicios { background: var(--tinta); }
.lista-servicios { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); counter-reset: srv; }
.lista-servicios li { --c: var(--cian); position: relative; display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.1fr) auto; gap: 8px 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--linea); counter-increment: srv; }
.lista-servicios li > * { transition: translate .45s var(--curva); }
.lista-servicios li::before { content: "0" counter(srv); font: 500 13px/1 var(--mono); color: var(--texto-3); letter-spacing: .1em; }
.lista-servicios li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--curva); }
.lista-servicios li:hover > * { translate: 10px 0; }
.lista-servicios li:hover::after { transform: scaleX(1); }
.lista-servicios li:nth-child(5n+2) { --c: var(--magenta); }
.lista-servicios li:nth-child(5n+3) { --c: var(--amarillo); }
.lista-servicios li:nth-child(5n+4) { --c: var(--laser); }
.lista-servicios li:nth-child(5n+5) { --c: var(--ok); }
.lista-servicios h3 { font-size: clamp(23px, 2.3vw, 32px); letter-spacing: -0.025em; transition: color .3s; }
.lista-servicios li:hover h3 { color: var(--c); }
.lista-servicios p { color: var(--texto-2); font-size: 16.5px; max-width: 52ch; }
.precio { text-align: right; display: grid; justify-items: end; gap: 4px; }
.precio small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.precio b { font-family: var(--ancho); font-stretch: 104%; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.servicios .pie-lista { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: 30px; }
.servicios .pie-lista p { color: var(--texto-2); font-size: 16px; max-width: 62ch; padding-left: 16px; border-left: 2px solid var(--amarillo); }

/* ---------- 04 · Cómo funciona ---------- */
.como { background: linear-gradient(180deg, var(--tinta), var(--tinta-1)); }
.pasos-visita { --p: 0; position: relative; list-style: none; margin: 0 0 clamp(64px, 8vw, 110px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pasos-visita::before, .pasos-visita::after { content: ""; position: absolute; left: 30px; right: calc(25% - 18px); top: 29px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.pasos-visita::after { background: linear-gradient(90deg, var(--cian), var(--magenta), var(--amarillo), var(--ok)); transform-origin: left; transform: scaleX(var(--lp, 1)); }
.pasos-visita li { position: relative; display: grid; gap: 16px; align-content: start; padding: 0 8px 0 0; }
.pasos-visita .n { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font: 700 20px/1 var(--ancho); background: var(--tinta-2); color: var(--texto-3); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); transition: background-color .5s, color .5s, box-shadow .5s, transform .5s var(--curva); }
.pasos-visita li.on .n { background: var(--c); color: #04060C; box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 16%, transparent), 0 0 40px -6px var(--c); transform: scale(1.04); }
.pasos-visita svg { width: 26px; height: 26px; color: var(--texto-3); transition: color .5s; }
.pasos-visita li.on svg { color: var(--c); }
.pasos-visita b { font-family: var(--ancho); font-stretch: 104%; font-size: clamp(19px, 1.6vw, 22px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.3; max-width: 18ch; }

.trabajos { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.trabajos h3 { font-size: clamp(32px, 3.6vw, 52px); }
.trabajos-txt > p { color: var(--texto-2); margin-top: 16px; max-width: 44ch; }
.trabajos-txt > .btn { margin-top: 28px; }
.trabajos-txt .pronto { max-width: none; display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 26px; font: 500 13px/1.4 var(--mono); letter-spacing: .04em; color: var(--amarillo); }
.trabajos-txt .pronto::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amarillo); box-shadow: 0 0 0 4px rgba(255, 224, 0, .18); }
.ad-caja { margin: 0; }
.ad-caja figcaption { font-size: 13px; color: var(--texto-3); margin-top: 12px; }
.ad { position: relative; --x: 50%; aspect-ratio: 816 / 300; border-radius: 20px; overflow: hidden; background: #F7F7F4; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ad .capa { position: absolute; inset: 0; background: #F7F7F4; }
.ad .capa svg { width: 100%; height: 100%; }
.ad .antes { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ad .linea { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 14, 28, .2); z-index: 2; pointer-events: none; }
.ad .perilla { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--tinta); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(10, 14, 28, .45), inset 0 0 0 2px #fff; font: 700 15px/1 var(--sans); }
.ad input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ad input:focus-visible ~ .linea .perilla { outline: 3px solid var(--cian); outline-offset: 3px; }
.ad .marca-ad { position: absolute; top: 14px; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px 5px; border-radius: 999px; pointer-events: none; }
.ad .marca-ad.a { left: 14px; background: #C4006F; color: #fff; }
.ad .marca-ad.d { right: 14px; background: var(--ok); color: #062418; }

.galeria { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.galeria li { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(180deg, transparent, rgba(4, 6, 12, .86)); font-size: 14.5px; font-weight: 600; }
.sub-bloque { margin-top: 48px; }
.sub-bloque h3 { font-size: 24px; margin-bottom: 16px; }
.videos-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.video { position: relative; border-radius: 16px; overflow: hidden; background: #0B1022; aspect-ratio: 16 / 9; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video .play { position: relative; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; }
.video .play svg { width: 22px; height: 22px; margin-left: 4px; color: var(--tinta); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-pie { font-size: 14.5px; font-weight: 600; margin-top: 8px; }
.testimonios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.testimonio { margin: 0; padding: 22px; border-radius: 18px; background: var(--tinta-2); box-shadow: inset 0 0 0 1px var(--linea); display: grid; gap: 14px; }
.testimonio blockquote { margin: 0; font-size: 17px; }
.testimonio figcaption { font-size: 14px; color: var(--texto-3); }

/* ---------- 05 · Cobertura ---------- */
.zona { background: var(--tinta-1); }
.cifras { list-style: none; margin: 0 0 clamp(30px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-left: 1px solid var(--linea); }
.cifras li { padding: 18px 14px 20px; border-right: 1px solid var(--linea); text-align: center; display: grid; gap: 6px; justify-items: center; }
.cifras b { font-family: var(--ancho); font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; line-height: 1; color: var(--cian); }
.cifras span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2); }
.cifras small { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--texto-3); }
.zona-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.mapa-caja { border-radius: 24px; background: #0C1330; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
#mapa { width: 100%; height: auto; aspect-ratio: 918 / 590; }
#mapa .ruta { fill: none; stroke-linecap: round; }
#mapa .trazo { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--curva); transition-delay: calc(var(--i) * .22s + .2s); }
#mapa.ver .trazo { stroke-dashoffset: 0; }
#mapa .punta, #mapa .tenue { opacity: 0; transition: opacity .45s; transition-delay: calc(var(--i) * .22s + 1.2s); }
#mapa.ver .punta, #mapa.ver .tenue { opacity: 1; }
#mapa .aro-base { transform-box: fill-box; transform-origin: center; animation: aroBase 2.4s ease-out infinite; }
@keyframes aroBase { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
#mapa text { font-family: var(--sans); }
#mapa .et { font-weight: 700; fill: #fff; paint-order: stroke; stroke: #0C1330; stroke-width: 5px; stroke-linejoin: round; }
#mapa .et-base { fill: var(--amarillo); }
#mapa .pais { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; fill: rgba(255, 255, 255, .38); }
#mapa .mar { font-size: 13px; font-style: italic; fill: rgba(160, 180, 220, .5); }
#mapa .valle { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; fill: rgba(255, 255, 255, .62); }
.leyenda { font-size: 15px; }
.leyenda .claves { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--texto-2); }
.leyenda .claves li { display: flex; align-items: center; gap: 10px; }
.leyenda .claves i { flex: none; }
.k-base { width: 12px; height: 12px; border-radius: 50%; background: var(--amarillo); }
.k-linea { width: 16px; height: 3px; background: var(--amarillo); border-radius: 2px; }
.k-guion { width: 16px; height: 3px; background: repeating-linear-gradient(90deg, var(--magenta) 0 5px, transparent 5px 8px); }
.leyenda h3 { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cian); margin: 0 0 10px; font-stretch: 100%; }
.leyenda h3.fuera { color: var(--magenta-claro); margin-top: 20px; }
.leyenda .ciudades { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.leyenda .ciudades li { display: flex; align-items: center; gap: 10px; }
.leyenda .ciudades li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none; }
.leyenda .ciudades li.base { color: var(--amarillo); font-weight: 700; }
.leyenda .ciudades li.base::before { background: var(--amarillo); }
.leyenda .ciudades.fuera li::before { background: var(--magenta); }
.leyenda .datos { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linea); display: grid; gap: 8px; font-size: 14.5px; color: var(--texto-2); }
.leyenda .btn { margin-top: 22px; }
.zona .credito { margin-top: 14px; }

/* ---------- 06 · Preguntas ---------- */
.preguntas { background: var(--tinta); }
.faq { max-width: 860px; border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; font-family: var(--ancho); font-stretch: 102%; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; letter-spacing: -0.015em; min-height: 44px; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cian); }
.faq summary .signo { width: 32px; height: 32px; flex: none; position: relative; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--linea-2); transition: background-color .3s, box-shadow .3s; }
.faq summary .signo::before, .faq summary .signo::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--curva); }
.faq summary .signo::after { transform: rotate(90deg); }
.faq details[open] summary .signo { background: var(--cian); color: #021018; box-shadow: none; }
.faq details[open] summary .signo::after { transform: rotate(0deg); }
.faq summary .q { flex: 1; }
.faq .r { padding: 0 2px 24px; color: var(--texto-2); font-size: 16.5px; max-width: 64ch; }
.faq details[open] .r { animation: entra .45s var(--curva); }

/* ---------- Contacto final ---------- */
.contacto { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 170px) 0; background: radial-gradient(800px 420px at 15% 110%, rgba(0, 174, 239, .16), transparent 70%), radial-gradient(700px 420px at 90% -10%, rgba(236, 0, 140, .16), transparent 70%), var(--tinta-1); border-top: 1px solid var(--linea); }
.contacto h2 { font-size: clamp(46px, 7vw, 108px); max-width: 12ch; }
.contacto .bajada { margin-top: 22px; }
.contacto .botones { margin-top: 34px; }
.contacto .datos { margin-top: 30px; display: grid; gap: 6px; font-size: 15.5px; color: var(--texto-2); }
.contacto .datos a { color: #fff; }

.contacto .envoltura { position: relative; z-index: 1; }
.ondas-grandes { position: absolute; z-index: 0; right: -5vw; top: 50%; width: min(680px, 42vw); height: auto; transform: translateY(-50%) rotate(-6deg); opacity: .92; pointer-events: none; }
.ondas-grandes .o { animation-duration: 9s; }
.ondas-grandes .o-c { animation-duration: 11s; }

/* ---------- Pie ---------- */
.pie { background: var(--tinta-0); color: var(--texto-3); padding: 48px 0 calc(44px + env(safe-area-inset-bottom)); font-size: 14.5px; border-top: 1px solid var(--linea); }
.pie .envoltura { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px 40px; align-items: center; }
.pie .logo { height: 54px; }
.pie-marca { display: grid; gap: 12px; }
.lema { font-family: var(--ancho); font-stretch: 104%; font-weight: 700; color: var(--texto-2); font-size: 16px; letter-spacing: -0.01em; }
.pie .fila { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.pie .pie-credito { grid-column: 1 / -1; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--linea); font-size: 13.5px; }
.pie a { color: #fff; }

/* ---------- Botón flotante ---------- */
.flotante { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #04210F; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s, transform .4s var(--curva); }
.flotante.visible { opacity: 1; transform: none; pointer-events: auto; }
.flotante:hover { transform: scale(1.06); }
.flotante svg { width: 30px; height: 30px; }

/* ---------- Color de tinta por elemento (va al final para ganarle a los valores por defecto) ---------- */
[data-c="cian"] { --c: var(--cian); }
[data-c="magenta"] { --c: var(--magenta); }
[data-c="amarillo"] { --c: var(--amarillo); }
[data-c="gris"] { --c: var(--hilo); }
[data-c="laser"] { --c: var(--laser); }
[data-c="ok"] { --c: var(--ok); }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .barra nav .sec { display: none; }
}
@media (max-width: 1020px) {
  .lista-servicios li { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .lista-servicios li p { grid-column: 2 / -1; }
  .portada-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 18px; }
  .escenario { max-width: 680px; width: 100%; margin-inline: auto; }
  .confianza ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq-rotulacion { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .eq-textil, .eq-calandra, .eq-bordadora, .eq-laser { grid-column: span 6; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form > .orden { grid-column: 1; grid-row: auto; position: static; margin: 4px 0 28px; }
  .pasos-visita { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .pasos-visita::before, .pasos-visita::after { display: none; }
  .trabajos { grid-template-columns: minmax(0, 1fr); }
  .zona-grid { grid-template-columns: minmax(0, 1fr); }
  .leyenda { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .leyenda .claves, .leyenda .datos, .leyenda .btn-caja { grid-column: 1 / -1; }
  .videos-lista, .testimonios { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --nav: 60px; }
  body { font-size: 16.5px; }
  .envoltura { width: calc(100% - 32px); }
  .logo { height: 36px; }
  .barra .tel b { display: none; }
  .barra .tel { width: 44px; justify-content: center; }
  .barra nav { gap: 6px; }
  .pildora { font-size: 14px; padding: 0 16px; min-height: 40px; }
  .portada-grid { padding: 26px 0 12px; gap: 0; }
  /* en el celular la impresora sube: va justo debajo del titular */
  .portada-txt { display: contents; }
  .antemarca { order: 1; } .portada h1 { order: 2; } .escena-col { order: 3; margin-top: 8px; } .selector { order: 4; } .portada .txt { order: 5; } .botones { order: 6; } .portada .nota { order: 7; }
  .selector { margin-top: 18px; }
  .chips-equipos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; }
  .chips-equipos::-webkit-scrollbar { display: none; }
  .chip-eq { flex: none; scroll-snap-align: start; }
  .antemarca { font-size: 11px; letter-spacing: .1em; margin-bottom: 16px; }
  .antemarca .raya { width: 18px; }
  .portada h1 { font-size: clamp(34px, 10vw, 48px); }
  .portada .txt { margin-top: 16px; }
  .escenario { aspect-ratio: 100 / 75; }
  .botones { margin-top: 24px; }
  .portada .btn { flex: 1 1 auto; }
  .chip-eq { min-height: 38px; font-size: 13.5px; padding: 0 12px 0 10px; }
  .tarjeta-escena { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .te-enlace { grid-column: 1; grid-row: auto; justify-self: start; }
  .te-nombre { font-size: 21px; }
  .astro .et { font-size: 10px; }
  .confianza ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 14px; padding: 22px 0 26px; }
  .confianza li { grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
  .confianza .ic { grid-row: auto; width: 38px; height: 38px; border-radius: 11px; }
  .confianza b { font-size: 15.5px; }
  .confianza span.t { font-size: 13px; }
  .num-fondo { font-size: 128px; top: 8px; transform: translateY(calc((1 - var(--p, 1)) * 40px)); right: -6px; }
  .bento { gap: 12px; }
  .eq-rotulacion, .eq-textil, .eq-calandra, .eq-bordadora, .eq-laser { grid-column: 1 / -1; min-height: 420px; }
  .eq .txt { padding: 20px 20px 12px; }
  .cinta-servicios { padding: 22px 0; }
  .campos { grid-template-columns: minmax(0, 1fr); }
  .cuando { grid-template-columns: minmax(0, 1fr); }
  .paso-cuando { padding: 16px 14px 18px; }
  .fecha .campo { flex: 1 1 100%; }
  .paso legend { font-size: 19px; }
  .lista-servicios li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0; }
  .lista-servicios li p { grid-column: auto; }
  .lista-servicios li::before { margin-bottom: 2px; }
  .lista-servicios li:hover > * { translate: none; }
  .precio { text-align: left; justify-items: start; }
  .pasos-visita { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pasos-visita li { grid-template-columns: 52px minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 12px 0; }
  .pasos-visita .n { width: 52px; height: 52px; font-size: 18px; grid-row: span 2; }
  .pasos-visita svg { display: none; }
  .ad { aspect-ratio: 816 / 380; }
  .galeria { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .leyenda { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding: 18px 2px; }
  .contacto .btn { flex: 1 1 auto; }
  .ondas-grandes { width: 120vw; right: -40vw; top: auto; bottom: -6vw; transform: rotate(-6deg); opacity: .35; }
  .pie .envoltura { grid-template-columns: minmax(0, 1fr); }
  .pie .fila { justify-content: flex-start; }
  .pie .pie-credito { flex-direction: column; align-items: flex-start; }
  .flotante { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .flotante svg { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo .o, .cinta, .zona-aro, #mapa .aro-base, [class*="an-"] { animation: none !important; }
  #mapa .trazo, #mapa .punta, #mapa .tenue { transition: none; }
  #escena, .escena-otra, .eq, .eq img, .btn, .astro, .listo-barra i { transition: none; }
  .escena-otra .an-puntada, .escena-otra .an-corte { stroke-dashoffset: 0; }
}

/* ==========================================================================
   02 · COTIZADOR (3/12/2026) · equipo → marca → servicio → precio «desde»
   ========================================================================== */
.coti { --c: var(--cian); display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: clamp(32px, 4vw, 64px); align-items: start; }
.coti-vista { position: sticky; top: calc(var(--nav) + 24px); overflow: hidden; border-radius: 24px; padding: 20px 18px 18px; background: linear-gradient(180deg, rgba(24, 32, 54, .9), rgba(12, 17, 32, .92)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.coti-vista::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--cian) 0 25%, var(--magenta) 25% 50%, var(--amarillo) 50% 75%, #3A3F4E 75%); }
.coti-dibujo { border-radius: 16px; overflow: hidden; background: #0B1122; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); margin-top: 6px; }
#cotiSvg { width: 100%; height: auto; aspect-ratio: 600 / 380; }
.coti-precio { display: grid; gap: 2px; padding: 20px 2px 12px; min-height: 104px; align-content: end; }
.coti-precio small { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); }
.coti-precio b { font-family: var(--ancho); font-stretch: 112%; font-weight: 850; font-size: clamp(40px, 4.2vw, 56px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.coti-resumen { margin: 0; display: grid; }
.coti-resumen div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 2px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 14.5px; }
.coti-resumen dt { color: var(--texto-3); flex: none; }
.coti-resumen dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.coti-botones { display: grid; gap: 10px; margin-top: 14px; }
.coti-botones .btn { width: 100%; }
.coti-nota { font-size: 13.5px; line-height: 1.5; color: var(--texto-3); margin-top: 14px; }
.coti-pend { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amarillo); background: rgba(255, 224, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 224, 0, .28); white-space: nowrap; }
.coti-pend.grande { font-size: 15px; min-height: 40px; padding: 0 16px; }

.coti-equipos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.coti-eq { position: relative; cursor: pointer; }
.coti-eq input { position: absolute; opacity: 0; pointer-events: none; }
.coti-eq > span { display: grid; gap: 6px; align-content: start; height: 100%; padding: 16px 14px 15px; border-radius: 18px; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .03); transition: border-color .25s, background-color .25s, box-shadow .3s, transform .3s var(--curva); }
.coti-eq svg { width: 30px; height: 30px; color: var(--c); margin-bottom: 6px; transition: transform .4s var(--curva); }
.coti-eq b { font-family: var(--ancho); font-stretch: 104%; font-size: 17px; font-weight: 750; letter-spacing: -0.015em; line-height: 1.1; }
.coti-eq small { font-size: 13px; line-height: 1.35; color: var(--texto-3); }
.coti-eq:hover > span { border-color: rgba(255, 255, 255, .34); transform: translateY(-2px); }
.coti-eq input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); box-shadow: 0 0 30px -12px var(--c), inset 0 0 0 1px var(--c); }
.coti-eq input:checked + span svg { transform: scale(1.12); }
.coti-eq input:focus-visible + span { outline: 3px solid var(--cian); outline-offset: 2px; }
.coti-otra { margin-top: 14px; max-width: 420px; }

.coti-servicios { display: grid; gap: 10px; }
.coti-serv { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .3s; }
.coti-serv input { position: absolute; opacity: 0; pointer-events: none; }
.coti-serv .t { display: grid; gap: 4px; }
.coti-serv b { font-size: 16.5px; font-weight: 650; }
.coti-serv small { font-size: 14px; line-height: 1.45; color: var(--texto-3); }
.coti-serv:hover { border-color: rgba(255, 255, 255, .34); }
.coti-serv:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: 0 0 30px -14px var(--c), inset 0 0 0 1px var(--c); }
.coti-serv:has(input:focus-visible) { outline: 3px solid var(--cian); outline-offset: 2px; }
.coti-desde { display: grid; justify-items: end; gap: 3px; font-family: var(--ancho); font-stretch: 106%; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.coti-desde small { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }

@media (max-width: 1180px) {
  .coti-equipos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .coti { grid-template-columns: minmax(0, 1fr); }
  .coti-vista { position: static; }
}
@media (max-width: 760px) {
  .coti-equipos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .coti-eq > span { padding: 13px 12px; }
  .coti-eq svg { width: 26px; height: 26px; margin-bottom: 2px; }
  .coti-eq b { font-size: 16px; }
  .coti-serv { padding: 14px 15px; gap: 12px; }
  .coti-serv small { font-size: 13.5px; }
  .coti-precio b { font-size: 44px; }
}

/* 3/12 · mapa: pastillas de los destinos fuera del cuadro (EE. UU.) */
#mapa .pastilla { opacity: 0; transition: opacity .5s; transition-delay: calc(var(--i) * .22s + .6s); }
#mapa.ver .pastilla { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #mapa .pastilla { transition: none; } }

/* ==========================================================================
   05 · TRABAJOS RECIENTES (3/12/2026) · mosaico de fotos y videos reales
   ========================================================================== */
.mosaico { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 118px; grid-auto-flow: dense; gap: 12px; }
.m { position: relative; grid-column: span 3; grid-row: span 2; border-radius: 20px; overflow: hidden; background: var(--tinta-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); isolation: isolate; }
.m-grande { grid-column: span 6; grid-row: span 4; }
.m-alta { grid-column: span 3; grid-row: span 4; }
.m-ancha { grid-column: span 6; grid-row: span 2; }
.m-btn { all: unset; position: absolute; inset: 0; cursor: zoom-in; display: block; }
.m-btn:focus-visible { outline: 3px solid var(--cian); outline-offset: -3px; border-radius: 20px; }
.m img, .m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--curva), filter .6s; }
.m:hover img, .m:hover video { transform: scale(1.045); }
.m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(4, 6, 12, .86)); pointer-events: none; z-index: 1; }
.m-pie { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: grid; gap: 4px; pointer-events: none; }
.m-pie b { font-size: 15px; font-weight: 650; line-height: 1.3; text-wrap: balance; }
.m-pie span { font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
.m-grande .m-pie b { font-family: var(--ancho); font-stretch: 104%; font-size: 22px; font-weight: 750; letter-spacing: -0.015em; }
.m-play { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 10, 20, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: opacity .4s; }
.m-play svg { width: 14px; height: 14px; margin-left: 2px; }
.m.vivo .m-play { opacity: 0; }

.trayectoria-caja { margin-top: clamp(56px, 7vw, 96px); }
.tray-cab { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.tray-cab h3 { font-size: clamp(28px, 3vw, 40px); }
.tray-cab p { color: var(--texto-2); max-width: 420px; }
.trayectoria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: tr; }
.trayectoria figure { margin: 0; height: 100%; display: grid; grid-template-rows: auto 1fr; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(24, 32, 54, .7), rgba(12, 17, 32, .8)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tr-foto { aspect-ratio: 4 / 3.4; overflow: hidden; }
.tr-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--curva); }
.trayectoria li:hover .tr-foto img { transform: scale(1.05); }
.trayectoria figcaption { display: grid; gap: 5px; align-content: start; padding: 14px 15px 16px; }
.tr-anio { font: 600 11.5px/1 var(--mono); letter-spacing: .12em; color: var(--cian); }
.trayectoria li:nth-child(5n+2) .tr-anio { color: var(--magenta-claro); }
.trayectoria li:nth-child(5n+3) .tr-anio { color: var(--amarillo); }
.trayectoria li:nth-child(5n+4) .tr-anio { color: var(--ok); }
.trayectoria li:nth-child(5n+5) .tr-anio { color: var(--laser); }
.trayectoria b { font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.tr-lugar { font-size: 13.5px; color: var(--texto-3); }
.trabajos-pie { margin-top: 36px; }

.visor { width: min(1180px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; background: #05070D; color: var(--texto); box-shadow: 0 40px 120px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; }
.visor::backdrop { background: rgba(2, 3, 8, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.visor-fig { margin: 0; display: grid; }
.visor-medio { display: grid; place-items: center; background: #000; }
.visor-medio img, .visor-medio video { width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; }
.visor-fig figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 14px 20px 16px; }
.visor-fig figcaption b { font-size: 16px; font-weight: 650; }
.visor-fig figcaption span { font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.visor button { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; font-size: 28px; line-height: 1; color: #fff; background: rgba(7, 10, 20, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); display: grid; place-items: center; }
.visor button:hover { background: rgba(30, 38, 62, .8); }
.visor-cerrar { top: 12px; right: 12px; }
.visor-ant { left: 12px; top: 42%; }
.visor-sig { right: 12px; top: 42%; }

@media (max-width: 1020px) {
  .mosaico { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 104px; }
  .m { grid-column: span 3; }
  .m-grande, .m-ancha { grid-column: span 6; }
  .m-alta { grid-column: span 3; }
  .trayectoria { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .trayectoria::-webkit-scrollbar { display: none; }
  .trayectoria li { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 92px; gap: 8px; }
  .m { grid-column: span 1; border-radius: 16px; }
  .m-grande { grid-column: span 2; grid-row: span 4; }
  .m-ancha { grid-column: span 2; grid-row: span 2; }
  .m-alta { grid-column: span 1; grid-row: span 4; }
  .m-pie { left: 11px; right: 11px; bottom: 10px; }
  .m-pie b { font-size: 13.5px; }
  .m-pie span { font-size: 10px; }
  .m-grande .m-pie b { font-size: 18px; }
  .trayectoria { grid-auto-columns: 74%; }
  .visor-ant, .visor-sig { top: auto; bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .m img, .m video, .tr-foto img { transition: none; }
  .m:hover img, .m:hover video, .trayectoria li:hover .tr-foto img { transform: none; }
}

/* 3/12 · segundo enlace de cada equipo: lleva al cotizador con ese equipo */
.eq .enlace-2 { margin-top: 0; min-height: 34px; font-size: 14px; font-weight: 500; color: var(--texto-2); }
.eq .enlace-2:hover { color: #fff; }
.eq .txt .enlace { display: flex; width: fit-content; }
.ver-mas-caja { display: none; }
@media (max-width: 760px) {
  .mosaico.corto > li:nth-child(n+11) { display: none; }
  .ver-mas-caja { display: flex; justify-content: center; margin-top: 16px; }
}

/* ============ Planes mensuales (debajo del cotizador) · 3/12 ============ */
.planes { margin-top: clamp(56px, 7vw, 96px); }
.planes-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border-radius: 24px; background: linear-gradient(180deg, rgba(24, 32, 54, .9), rgba(12, 17, 32, .92)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; }
.plan::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--cian), var(--magenta), var(--amarillo)); opacity: .85; }
.plan-nombre { margin: 0; font-family: var(--ancho); font-stretch: 108%; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.plan-para { margin: -8px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--texto-3); }
.plan-precio { margin: 4px 0 0; display: grid; gap: 4px; }
.plan-precio small { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.plan-precio b { font-family: var(--ancho); font-stretch: 112%; font-weight: 850; font-size: clamp(34px, 3.2vw, 44px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-datos { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--linea); display: grid; gap: 9px; }
.plan-datos li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.4; color: var(--texto-2); }
.plan-datos li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--cian); border-bottom: 2px solid var(--cian); transform: rotate(-45deg); }
.plan-incluye { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--texto-3); flex: 1 1 auto; }
.plan .btn { width: 100%; min-height: 48px; font-size: 15px; padding: 0 16px; }
.planes-nota { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--texto-3); max-width: 860px; }
@media (max-width: 1020px) {
  .planes-lista { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .planes-lista::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: start; }
}

/* ==========================================================================
   02b · COTIZADOR EN 3D (3/12/2026) · capa de coti3d.js sobre el dibujo plano
   ========================================================================== */
.coti-dibujo { position: relative; }
#cotiSvg { transition: opacity .5s var(--curva); }
.coti3d { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--curva), visibility 0s .7s; background: radial-gradient(110% 85% at 62% 28%, rgba(0, 174, 239, .13), transparent 62%), radial-gradient(70% 60% at 12% 96%, rgba(236, 0, 140, .1), transparent 60%), #0A1020; }
.coti-dibujo.en-3d .coti3d { opacity: 1; visibility: visible; transition: opacity .7s var(--curva); }
.coti-dibujo.en-3d #cotiSvg { opacity: 0; }
.coti3d canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.coti3d canvas:active { cursor: grabbing; }
.coti3d-etqs { position: absolute; inset: 0; pointer-events: none; }
.coti3d-etq { position: absolute; left: 0; top: 0; transition: opacity .3s; will-change: transform; }
.coti3d-etq i { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 0 4px rgba(0, 174, 239, .25), 0 0 16px var(--cian); }
.coti3d-etq b { position: absolute; left: 0; bottom: calc(14px + var(--sube, 0px)); transform: translateX(calc(-50% + var(--corre, 0px))); padding: 6px 10px; border-radius: 999px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #E9F8FF; background: rgba(6, 14, 26, .84); box-shadow: inset 0 0 0 1px rgba(0, 174, 239, .75), 0 6px 18px -6px rgba(0, 0, 0, .8); white-space: nowrap; }
.coti3d-etq b::after { content: ""; position: absolute; left: calc(50% - var(--corre, 0px)); top: 100%; width: 1px; height: calc(9px + var(--sube, 0px)); background: rgba(0, 174, 239, .75); }
.coti3d-etq.abajo b { bottom: auto; top: calc(14px + var(--sube, 0px)); }
.coti3d-etq.abajo b::after { top: auto; bottom: 100%; }
.coti3d-pista { position: absolute; left: 12px; bottom: 11px; margin: 0; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--texto-3); pointer-events: none; transition: opacity .4s; }
.coti3d-pista.fuera { opacity: 0; }
.coti3d-ampliar { position: absolute; right: 10px; top: 10px; z-index: 2; display: none; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px 0 5px; border: 0; border-radius: 999px; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #E9F8FF; background: rgba(6, 14, 26, .8); box-shadow: inset 0 0 0 1px rgba(0, 174, 239, .55); cursor: pointer; transition: background-color .2s, transform .25s var(--curva); }
.coti3d-ampliar span { padding: 5px 7px; border-radius: 999px; font-weight: 700; letter-spacing: .12em; color: var(--cian); background: rgba(0, 174, 239, .16); }
.coti-dibujo.en-3d .coti3d-ampliar { display: inline-flex; }
.coti3d-ampliar:hover { background: rgba(0, 174, 239, .24); transform: translateY(-1px); }
.coti3d-ampliar:focus-visible { outline: 3px solid var(--cian); outline-offset: 2px; }

/* Ventana «Ver en grande» */
.coti3d-dlg { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; color: var(--texto); background: linear-gradient(180deg, #141B2E, #0A0F1D); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 60px 120px -40px rgba(0, 0, 0, .9); overflow: auto; }
.coti3d-dlg::backdrop { background: rgba(3, 5, 12, .8); backdrop-filter: blur(6px); }
.coti3d-dlg-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 12px 20px; }
.coti3d-dlg-cab p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 600 12.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2); }
.coti3d-dlg-n { padding: 4px 7px; border-radius: 6px; color: var(--cian); background: rgba(0, 174, 239, .14); }
.coti3d-dlg-t { color: var(--texto); }
.coti3d-dlg-precio { color: var(--texto-3); }
.coti3d-cerrar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--texto); background: rgba(255, 255, 255, .08); cursor: pointer; transition: background-color .2s; }
.coti3d-cerrar svg { width: 20px; height: 20px; }
.coti3d-cerrar:hover { background: rgba(255, 255, 255, .16); }
.coti3d-cerrar:focus-visible { outline: 3px solid var(--cian); outline-offset: 2px; }
.coti3d-dlg-vista { position: relative; margin: 0 16px; aspect-ratio: 16 / 9; max-height: calc(100dvh - 290px); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.coti3d-dlg-vista .coti3d { opacity: 1; visibility: visible; }
.coti3d-dlg .coti3d-pista { display: block; }
.coti3d-dlg-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 16px 18px; }
.coti3d-dlg-serv { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-3d { min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--linea-2); font: 500 14.5px/1 var(--sans); color: var(--texto); background: rgba(255, 255, 255, .04); cursor: pointer; transition: border-color .2s, background-color .2s; }
.chip-3d:hover { border-color: rgba(255, 255, 255, .34); }
.chip-3d[aria-pressed="true"] { border-color: var(--cian); background: rgba(0, 174, 239, .14); box-shadow: inset 0 0 0 1px var(--cian); }
.chip-3d:focus-visible { outline: 3px solid var(--cian); outline-offset: 2px; }
.coti3d-dlg-wa { flex: none; }
html:has(.coti3d-dlg[open]) { overflow: hidden; }
@media (max-width: 760px) {
  .coti3d-dlg { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .coti3d-dlg-cab { padding: 10px 10px 10px 14px; }
  .coti3d-dlg-vista { margin: 0 8px; aspect-ratio: 1 / 1; max-height: calc(100dvh - 360px); }
  .coti3d-dlg-pie { padding: 12px 8px 12px; }
  .coti3d-dlg-wa { width: 100%; }
  .chip-3d { min-height: 38px; padding: 0 12px; font-size: 14px; }
}
@media (hover: none), (pointer: coarse) {
  .coti3d-pista { display: none; }
  .coti3d canvas { cursor: default; }
}

/* 3/12 · mapa que se aleja con el scroll hasta EE. UU. (mapa.js v3).
   El cuadro se queda fijo mientras se baja por .mapa-escena; el alto lo pone el JS. */
.mapa-caja { position: relative; }
.zona.zoom .mapa-escena { height: calc(var(--alto-pegado, 520px) + 130vh); }
.zona.zoom .mapa-pegado { position: sticky; top: calc(var(--nav) + max(16px, (100vh - var(--nav) - var(--alto-pegado, 520px)) / 2)); }
.mapa-pista { position: absolute; left: 14px; bottom: 14px; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font: 600 11.5px/1 var(--mono); letter-spacing: .06em; color: #F5E9F2; background: rgba(12, 19, 48, .86); box-shadow: inset 0 0 0 1px rgba(255, 61, 166, .6); pointer-events: none; opacity: 0; }
.mapa-pista span { color: #FF3DA6; animation: pistaBaja 1.6s ease-in-out infinite; }
@keyframes pistaBaja { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
/* en celular la pista va debajo del mapa (y del crédito), donde no tapa ciudades */
@media (max-width: 760px) {
  .zona .mapa-caja { overflow: visible; }
  #mapa { border-radius: 24px; }
  .mapa-pista { font-size: 10.5px; left: 0; top: calc(100% + 42px); bottom: auto; padding: 7px 11px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .mapa-pista { display: none; } }

/* La leyenda acompaña al mapa mientras se aleja (solo con dos columnas). Se queda alineada con el
   mapa si cabe; si no, se pega lo justo para que el botón «Agendar visita» no se salga por abajo. */
@media (min-width: 1021px) {
  .zona.zoom .leyenda {
    position: sticky;
    top: min(calc(var(--nav) + max(16px, (100vh - var(--nav) - var(--alto-pegado, 520px)) / 2)),
             max(calc(var(--nav) + 14px), calc(100vh - var(--alto-leyenda, 750px) - 18px)));
  }
}
@media (min-width: 1021px) and (max-height: 860px) {
  .zona.zoom .leyenda .claves { margin-bottom: 16px; gap: 7px; }
  .zona.zoom .leyenda .ciudades { gap: 5px; }
  .zona.zoom .leyenda h3.fuera { margin-top: 14px; }
  .zona.zoom .leyenda .datos { margin-top: 16px; padding-top: 14px; }
  .zona.zoom .leyenda .btn { margin-top: 16px; }
}

/* ==========================================================================
   3/12 noche · LOS DOS COTIZADORES CON LA MÁQUINA FIJA ARRIBA (celular y tableta)
   Pedido de Lucas: la máquina va primero y se queda quieta mientras el cliente
   elige; lo que elige se va sumando en una franja debajo de ella hasta llegar
   al cierre (precio y botones / su orden). En computadora no cambia nada.
   ========================================================================== */
.lleva { display: none; }
/* formulario: en computadora la cabecera «Su orden» sigue arriba del dibujo */
.orden { display: flex; flex-direction: column; }
.orden-cierre { display: contents; }
.orden-cab { order: -1; }

@media (max-width: 1020px) {
  :root { --orilla: 24px; }
  .coti { gap: 26px; }
  .coti-vista, .form > .orden { display: contents; }
  .coti-vista::before, .orden::before { content: none; }
  .coti-fijo, .orden-fijo { order: -1; }
  .orden-cab { order: 0; }

  /* lo fijo: la máquina + lo elegido, de orilla a orilla, sobre el color de la sección */
  .coti-fijo, .orden-fijo {
    position: sticky; top: var(--nav); z-index: 6;
    margin-inline: calc(var(--orilla) * -1); padding: 10px var(--orilla) 10px;
    background: var(--tinta);
    box-shadow: 0 18px 22px -16px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .06);
  }
  .orden-fijo { background: var(--tinta-1); margin-bottom: 24px; }
  .fijo-vista {
    width: min(100%, calc(38svh * 600 / 380)); margin-inline: auto;
    max-height: calc(min((100vw - 2 * var(--orilla)) * .634, 38svh) + 10px);
    overflow: hidden; transition: max-height .4s var(--curva), opacity .3s;
  }
  .coti-dibujo { margin-top: 0; }
  /* mientras escribe (sale el teclado) la máquina se esconde y queda solo la franja */
  .escribiendo .fijo-vista { max-height: 0; opacity: 0; }

  /* el cierre: la misma tarjeta de antes, al final de los pasos */
  .coti-cierre, .orden-cierre {
    display: block; position: relative; overflow: hidden; border-radius: 24px; padding: 18px 18px 18px;
    background: linear-gradient(180deg, rgba(24, 32, 54, .9), rgba(12, 17, 32, .92));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .9);
  }
  .coti-cierre::before, .orden-cierre::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--cian) 0 25%, var(--magenta) 25% 50%, var(--amarillo) 50% 75%, #3A3F4E 75%); }
  .coti-cierre .coti-precio { padding-top: 12px; min-height: 0; }
  .orden-cierre { margin: 4px 0 28px; }
  .orden-cierre dl { margin-top: 0; }

  /* la franja de lo elegido */
  .lleva { display: flex; align-items: center; gap: 12px; margin-top: 9px; min-height: 36px; }
  .lleva-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px; scroll-behavior: smooth; }
  .lleva-chips::-webkit-scrollbar { display: none; }
  .lleva-chips.desborda { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
  .lleva-chips span { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 650; color: #fff; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--c, var(--cian)) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--cian)) 62%, transparent); }
  .lleva-chips span.nuevo { animation: llevaEntra .55s var(--curva); }
  .lleva-chips em { font: 500 12px/1.3 var(--mono); font-style: normal; letter-spacing: .04em; color: var(--texto-3); align-self: center; }
  .lleva-precio { flex: none; display: grid; justify-items: end; gap: 3px; font-family: var(--ancho); font-stretch: 108%; font-weight: 850; font-size: 17px; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .lleva-precio small { font: 600 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
  .lleva-precio.ok { color: var(--ok); }
}
@media (max-width: 760px) {
  :root { --orilla: 16px; }
}
@keyframes llevaEntra { 0% { opacity: 0; transform: translateY(7px) scale(.88); } 60% { opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .lleva-chips span.nuevo { animation: none; }
  .fijo-vista { transition: none; }
}
/* celular acostado (poca altura): la máquina va primero pero no se queda fija, si no tapa casi todo */
@media (max-width: 1020px) and (max-height: 520px) {
  .coti-fijo, .orden-fijo { position: relative; top: auto; box-shadow: none; }
}
