/* Prende · laboratorio de reparación · demo de MAIO
   Sistema: el LED de estado (rojo falla → ámbar diagnóstico → azul reparación → verde listo) tiñe acentos, etiquetas y equipos. */
@property --e { syntax: '<color>'; inherits: true; initial-value: #1ed68a; }
@property --e-osc { syntax: '<color>'; inherits: true; initial-value: #087a4b; }
@property --e-claro { syntax: '<color>'; inherits: true; initial-value: #d4f7e6; }

:root {
  --papel: #eef1f0;
  --papel-2: #e2e7e5;
  --blanco: #fafbfb;
  --tapete: #15232c;
  --tapete-2: #1d2f3a;
  --tapete-3: #29404c;
  --negro: #0b1318;
  --tinta: #122029;
  --gris: #4f5e67;
  --gris-2: #5d6c75;
  --linea: rgba(18, 32, 41, .12);
  --linea-clara: rgba(255, 255, 255, .14);
  --rojo: #ff5436; --rojo-osc: #b92d16; --rojo-claro: #ffe4dd;
  --ambar: #ffb020; --ambar-osc: #8a5700; --ambar-claro: #fff0d0;
  --azul: #2aa8ff; --azul-osc: #0a66a8; --azul-claro: #dcefff;
  --verde: #1ed68a; --verde-osc: #087a4b; --verde-claro: #d4f7e6;
  --wa: #1faa59;
  --e: var(--verde); --e-osc: var(--verde-osc); --e-claro: var(--verde-claro);
  --fd: 'Funnel Display', 'Arial Narrow', system-ui, sans-serif;
  --ft: 'Funnel Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'Azeret Mono', ui-monospace, 'Cascadia Mono', monospace;
  --r-s: 12px; --r: 20px; --r-l: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --cab-h: 68px;
  --aviso-h: 40px;
  --pad: clamp(16px, 4vw, 40px);
  /* (sin transición global de --e: recalcular todo el documento en cada cuadro bajaba los fps en celular) */
}
html[data-led="rojo"] { --e: var(--rojo); --e-osc: var(--rojo-osc); --e-claro: var(--rojo-claro); }
html[data-led="ambar"] { --e: var(--ambar); --e-osc: var(--ambar-osc); --e-claro: var(--ambar-claro); }
html[data-led="azul"] { --e: var(--azul); --e-osc: var(--azul-osc); --e-claro: var(--azul-claro); }
.sin-aviso { --aviso-h: 0px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--cab-h) + 20px); }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 1.0625rem/1.6 var(--ft); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--fd); font-weight: 650; line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--e); color: var(--negro); }
.wrap { width: min(1240px, 100% - var(--pad) * 2); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico--wa { fill: currentColor; stroke: none; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.saltar:focus { top: 12px; }

/* ---------- LED ---------- */
.led { --le-c: var(--verde); display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--le-c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--le-c) 24%, transparent), 0 0 10px color-mix(in srgb, var(--le-c) 70%, transparent); }
.led--rojo { --le-c: var(--rojo); } .led--ambar { --le-c: var(--ambar); } .led--azul { --le-c: var(--azul); } .led--verde { --le-c: var(--verde); }

/* ---------- Etiqueta con LED que pasa por los cuatro estados ---------- */
.etq { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 500 .78rem/1.3 var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.etq__led { width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 8px currentColor; animation: led-ciclo 6s steps(1) infinite; }
@keyframes led-ciclo { 0% { background: var(--rojo); color: var(--rojo); } 25% { background: var(--ambar); color: var(--ambar); } 50% { background: var(--azul); color: var(--azul); } 75% { background: var(--verde); color: var(--verde); } }
.cabsec--claro .etq, .sec--tapete .etq, .hero .etq { color: #a9bac3; }

/* ---------- Botones: píldora con barrido del color del LED ---------- */
.btn { --b-bg: var(--tinta); --b-tx: #fff; --b-hov: var(--e); --b-htx: var(--negro); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; background: var(--b-bg); color: var(--b-tx); font: 600 1rem/1 var(--ft); text-decoration: none; white-space: nowrap; transition: color .35s var(--ease), border-color .3s, transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--b-hov); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { color: var(--b-htx); } .btn:hover::before { transform: none; } .btn:hover .ico { transform: translateX(3px); } }
.btn--borde { --b-bg: transparent; --b-tx: var(--tinta); border-color: color-mix(in srgb, var(--tinta) 26%, transparent); --b-hov: var(--tinta); --b-htx: #fff; }
.btn--claro { --b-bg: var(--e); --b-tx: var(--negro); --b-hov: #fff; --b-htx: var(--negro); }
.btn--claro-borde { --b-bg: transparent; --b-tx: #fff; border-color: rgba(255, 255, 255, .32); --b-hov: #fff; --b-htx: var(--negro); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .94rem; }
.btn--blq { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns--centro { justify-content: center; }
.redondo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea); background: #fff; color: var(--tinta); transition: background .2s, transform .15s; }
.redondo:active { transform: scale(.94); }

/* ---------- Secciones ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--tapete { background: var(--tapete); color: #e8eef1; border-radius: var(--r-l) var(--r-l) 0 0; }
.sec--suave { background: var(--papel-2); }
.sec--tapete + .sec { border-radius: 0; }
.cabsec { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.cabsec > p:not(.etq) { margin-top: 18px; color: var(--gris); font-size: 1.1rem; }
.cabsec--claro > p:not(.etq) { color: #b4c3cb; }
.cabsec--claro h1, .cabsec--claro h2 { color: #fff; }
.cabsec--centro { margin-inline: auto; text-align: center; }
.cabsec--fila { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; }
.cabsec--fila > .etq, .cabsec--fila > h2, .cabsec--fila > p { grid-column: 1; }
.cabsec--fila > .btn { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.cabsec--fila > p:not(.etq) { max-width: 600px; }
.migas { margin-bottom: 26px; font: 500 .8rem var(--fm); letter-spacing: .04em; }
.migas ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--gris-2); }
.migas li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.migas a { text-decoration: none; color: inherit; transition: color .2s; }
.migas a:hover { color: var(--e); }

/* ---------- Aviso de demo ---------- */
.aviso { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; min-height: var(--aviso-h); padding: 6px 52px 6px 16px; background: var(--negro); color: #c9d5db; font-size: .87rem; }
.sin-aviso .aviso { display: none; }
.aviso p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.aviso p > .ico { color: var(--verde); }
.aviso__b { color: #fff; }
.aviso__corto, .aviso__cta-c { display: none; }
.aviso a { color: #fff; }
.aviso__cta { padding: 4px 12px; border-radius: 999px; background: var(--verde); color: var(--negro) !important; font-weight: 600; text-decoration: none; transition: background .2s; }
.aviso__cta:hover { background: #fff; }
.aviso__x { position: absolute; right: 6px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: #c9d5db; border-radius: 50%; }
.aviso__x .ico { width: 18px; height: 18px; }
.aviso__x:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 50; height: var(--cab-h); background: var(--blanco); border-bottom: 1px solid var(--linea); transition: transform .4s var(--ease); }
.cab.is-oculta { transform: translateY(-100%); }
.cab__in { display: flex; align-items: center; gap: 24px; height: 100%; width: min(1320px, 100% - var(--pad) * 2); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); flex: none; }
.iso { width: 36px; height: 36px; overflow: visible; }
.iso__aro { fill: none; stroke: currentColor; stroke-width: 5.5; stroke-linecap: round; }
.iso__led { fill: var(--e); filter: drop-shadow(0 0 4px var(--e)); transition: fill .6s, transform .5s var(--ease); transform-origin: 24px 11px; }
.logo:hover .iso__led { animation: led-latido 1.2s var(--ease) infinite; }
@keyframes led-latido { 50% { transform: scaleY(.7); filter: drop-shadow(0 0 9px var(--e)); } }
.iso--mini { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__nombre { font: 700 1.55rem/1 var(--fd); letter-spacing: -.04em; }
.logo__lema { margin-top: 3px; font: 500 .58rem var(--fm); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.logo--claro { color: #fff; }
.logo--claro .logo__lema { color: #9fb1ba; }
.nav { margin-left: auto; }
.nav__lista { position: relative; display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; z-index: 1; padding: 10px 12px; font-weight: 550; font-size: .97rem; text-decoration: none; color: var(--tinta); border-radius: 999px; transition: color .2s; }
.nav__link[aria-current="page"] { color: var(--tinta); }
.nav__abrir { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -8px; border: 0; background: none; border-radius: 8px; color: var(--gris); }
.nav__abrir .ico { width: 15px; transition: transform .3s var(--ease); }
.nav__item--sub.is-abierto .nav__abrir .ico { transform: rotate(180deg); }
/* Marca del menú: un LED que se desliza debajo del enlace */
.nav__marca { position: absolute; left: 0; bottom: -2px; pointer-events: none; }
.nav__marca i { position: absolute; left: 0; bottom: 0; width: var(--mw, 0px); height: 3px; border-radius: 3px; background: var(--e); box-shadow: 0 0 10px var(--e); transform: translateX(var(--mx, 0px)); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav__lista.is-marca .nav__marca i { opacity: 1; }
.sub { position: fixed; left: 50%; top: calc(var(--cab-h) + var(--aviso-h) - 6px); width: min(1080px, 100vw - 40px); translate: -50% 0; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .3s; }
.cab.is-pegada .sub { top: calc(var(--cab-h) - 6px); }
.nav__item--sub.is-abierto .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
.sub__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; background: #fff; border: 1px solid var(--linea); border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(15, 30, 40, .35); }
.sub__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; text-decoration: none; transition: background .2s; }
.sub__item:hover { background: var(--papel); }
.sub__vis { display: grid; place-items: center; width: 84px; height: 64px; flex: none; border-radius: 12px; background: var(--tapete); }
.sub__eq { width: 76px; height: 56px; }
.sub__item:hover .eq { --x: 1; }
.sub__t { display: flex; flex-direction: column; gap: 2px; }
.sub__t b { font-family: var(--fd); font-size: 1.05rem; font-weight: 650; }
.sub__t small { color: var(--gris); font-size: .86rem; line-height: 1.35; }
.sub__cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--tapete); color: #fff; text-decoration: none; }
.sub__cta > .ico:first-child { color: var(--ambar); width: 22px; height: 22px; }
.sub__cta span { display: flex; flex-direction: column; flex: 1; }
.sub__cta small { color: #a9bac3; }
.sub__cta > .ico:last-child { transition: transform .3s var(--ease); }
.sub__cta:hover > .ico:last-child { transform: translateX(4px); }
/* Botón "Tu ticket": un papel térmico que se alarga con cada cosa agregada */
.cab__ticket { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--linea); background: #fff; font-weight: 600; transition: border-color .2s, transform .15s; }
.cab__ticket:hover { border-color: var(--tinta); }
.cab__ticket:active { transform: scale(.96); }
.cab__papel { --n: 0; position: relative; display: flex; flex-direction: column; gap: 2px; width: 18px; height: calc(14px + min(var(--n), 4) * 3px); padding: 3px; background: var(--papel); border: 1.5px solid var(--tinta); border-bottom-style: dashed; border-radius: 3px 3px 0 0; transition: height .5s var(--ease); }
.cab__papel i { height: 1.5px; background: var(--tinta); opacity: .55; border-radius: 1px; }
.cab__papel i:nth-child(2) { width: 70%; }
.cab__cuenta { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--papel-2); font: 600 .78rem var(--fm); transition: background .3s, color .3s; }
.cab__ticket.tiene .cab__cuenta { background: var(--e); color: var(--negro); box-shadow: 0 0 10px var(--e); }
.cab__ticket.salta { animation: salto .5s var(--ease); }
@keyframes salto { 40% { transform: translateY(-4px) scale(1.04); } }
.cab__menu { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff; }
/* Barra de reparación: avanza con la página y cambia de LED */
.cab__avance { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.cab__avance i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--av, 0)); background: linear-gradient(90deg, var(--rojo), var(--ambar) 33%, var(--azul) 66%, var(--verde)); }
/* Menú móvil */
.mm { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--tapete); color: #fff; padding: 14px var(--pad) calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; opacity: 0; transition: opacity .3s; }
.mm.is-abierto { opacity: 1; }
.mm__top { display: flex; align-items: center; justify-content: space-between; }
.mm .logo { color: #fff; }
.mm .logo__lema { color: #9fb1ba; }
.mm__x { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linea-clara); background: none; color: #fff; }
.mm__lista { list-style: none; margin: 28px 0 0; padding: 0; }
.mm__lista > li { border-bottom: 1px solid var(--linea-clara); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease) calc(var(--i) * 45ms + 80ms), transform .4s var(--ease) calc(var(--i) * 45ms + 80ms); }
.mm.is-abierto .mm__lista > li { opacity: 1; transform: none; }
.mm__lista > li > a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font: 600 1.5rem var(--fd); text-decoration: none; }
.mm__lista a[aria-current="page"] { color: var(--verde); }
.mm__serv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-bottom: 16px; }
.mm__serv a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: var(--tapete-2); text-decoration: none; font-size: .95rem; }
.mm__pie { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
.mm .btn--borde { --b-tx: #fff; border-color: var(--linea-clara); --b-hov: #fff; --b-htx: var(--negro); }

/* ---------- Motor de equipos (SVG) ---------- */
.eq { --x: 0; overflow: visible; }
.eq__capa { translate: 0 calc(var(--o) * var(--x) * -1px); transition: translate .9s var(--ease) calc(var(--i) * 45ms); }
.eq.is-abierto, .eq.is-abierto-js { --x: 1; }
.eq-sombra { fill: rgba(4, 10, 14, .38); stroke: none; }
.eq-tapa { fill: #2c4452; stroke: #4a6878; stroke-width: 1.2; }
.eq-tapa2 { fill: #8fa3ad; stroke: #c2d0d6; stroke-width: 1.2; }
.eq-osc { fill: #0f1b22; }
.eq-lente { fill: #0c151b; stroke: #6f8996; stroke-width: 1.6; }
.eq-flash { fill: #ffe9a8; }
.eq-bat { fill: #d3dde2; stroke: #8fa3ad; stroke-width: 1; transition: fill .4s; }
.eq-raya { fill: #9fb1ba; }
.eq-hinchada { fill: rgba(255, 84, 54, .28); stroke: var(--rojo); stroke-width: 1.4; stroke-dasharray: 4 3; transition: opacity .4s; }
.eq-flex { fill: #d48a2c; }
.eq-pcb { fill: #1c5a52; stroke: #2f7d72; stroke-width: 1; transition: fill .4s; }
.eq-chip { fill: #0d1f1c; stroke: #3b6e66; stroke-width: .8; transition: fill .4s, stroke .4s; }
.eq-gota { fill: rgba(42, 168, 255, .55); stroke: #9ad6ff; stroke-width: .8; transition: opacity .4s; }
.eq-polvo { fill: rgba(190, 170, 140, .8); transition: opacity .4s; }
.eq-oxido { fill: #a4672e; opacity: .85; transition: opacity .4s; }
.eq-marco { fill: #93a8b2; stroke: #c9d6dc; stroke-width: .8; }
.eq-puerto { fill: #1a262d; stroke: #93a8b2; stroke-width: 1; }
.eq-panel { fill: #0a1116; stroke: #24343e; stroke-width: 1; }
.eq-on { opacity: 0; transition: opacity .6s .15s; }
.eq.is-on .eq-on { opacity: 1; }
.eq-luz { fill: #0f3a4f; }
.eq-on-aro { fill: none; stroke: var(--verde); stroke-width: 4; stroke-dasharray: 64 18; stroke-dashoffset: -9; stroke-linecap: round; }
.eq-on-led { fill: var(--verde); }
.eq-vidrio { fill: rgba(190, 225, 240, .08); stroke: rgba(210, 235, 245, .5); stroke-width: 1.2; }
.eq-brillo { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 3; stroke-linecap: round; }
.eq-grieta { fill: none; stroke: #f4f8fa; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.eq-grietas { transition: opacity .3s; }
.eq-fan { fill: #0f1b22; stroke: #4a6878; stroke-width: 1; }
.eq-aspa { fill: #4a6878; }
.eq-aspas { transform-box: fill-box; transform-origin: center; }
.eq.is-on .eq-aspas, .ecard:hover .eq-aspas { animation: girar 1.2s linear infinite; }
.eq-cobre { fill: none; stroke: #d48a2c; stroke-width: 7; stroke-linecap: round; }
.eq-ram { fill: #1d3a2c; stroke: #5fb38a; stroke-width: 1; transition: fill .4s; }
.eq-ssd { fill: #18262e; stroke: #6f8996; stroke-width: 1; transition: fill .4s; }
.eq-palma { fill: #3a5664; stroke: #567685; stroke-width: 1; }
.eq-tecla { fill: #1a2a33; }
.eq-touch { fill: #4a6878; }
.eq-carcasa { fill: #e7edf0; stroke: #b6c5cc; stroke-width: 1.2; }
.eq-hueco { fill: #22343e; }
.eq-mod { fill: #0f1b22; stroke: #6f8996; stroke-width: 1; transition: fill .4s; }
.eq-stick { fill: #2a3b45; stroke: #0c151b; stroke-width: 2; transition: fill .4s; }
.eq-boton { fill: #93a8b2; }
.eq-boton--0 { fill: var(--verde); } .eq-boton--1 { fill: var(--rojo); } .eq-boton--2 { fill: var(--azul); } .eq-boton--3 { fill: var(--ambar); }
.eq-cruz { fill: #2a3b45; }
.eq-disco { fill: #c9d6dc; stroke: #edf2f4; stroke-width: 1.2; transition: fill .4s; }
.eq-pista { fill: none; stroke: rgba(15, 27, 34, .14); stroke-width: 1; }
.eq-eje { fill: #8fa3ad; stroke: #4a6878; stroke-width: 1.5; }
.eq-rayon { fill: none; stroke: var(--rojo); stroke-width: 3; stroke-linecap: round; transition: opacity .4s; }
.eq-plato { transform-box: fill-box; transform-origin: center; }
.eq.is-on .eq-plato, .ecard:hover .eq-plato { animation: girar 2.4s linear infinite; }
.eq-brazo { fill: #b6c5cc; stroke: #6f8996; stroke-width: 1; transition: fill .4s; }
.eq-tornillo { fill: #93a8b2; stroke: #4a6878; stroke-width: 1; }
.eq-pista-pcb { fill: none; stroke: #d4b25a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.eq-bga { fill: #0d1f1c; stroke: #3b6e66; stroke-width: 1; transition: fill .4s; }
.eq-bolita { fill: #c9d6dc; }
.eq-blindaje { fill: rgba(201, 214, 220, .6); stroke: #edf2f4; stroke-width: 1; }
@keyframes girar { to { transform: rotate(360deg); } }
/* Falla en rojo, pieza nueva en verde */
.eq .is-falla { fill: color-mix(in srgb, var(--rojo) 70%, #2a0a04); stroke: var(--rojo); stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(255, 84, 54, .7)); }
.eq-pcb.is-falla { fill: #4a2219; }
.eq-panel.is-falla { fill: #2a0d08; }
.eq.is-reparado .eq-panel.is-falla { fill: #0a1116; }
.eq.is-reparado .is-falla { fill: color-mix(in srgb, var(--verde) 40%, #062b1b); stroke: var(--verde); filter: drop-shadow(0 0 6px rgba(30, 214, 138, .6)); }
.eq.is-reparado .eq-grietas, .eq.is-reparado .eq-hinchada, .eq.is-reparado .eq-gota, .eq.is-reparado .eq-oxido, .eq.is-reparado .eq-polvo, .eq.is-reparado .eq-rayon { opacity: 0; }
.eq.is-reparado .eq-pcb.is-falla { fill: #1c5a52; stroke: var(--verde); }
.eq.is-reparado .eq-bat.is-falla { fill: #d3dde2; }
.eq__capa.is-sale { animation: sale-entra 1.4s var(--ease-io) both; }
@keyframes sale-entra { 0% { transform: none; opacity: 1; } 42% { transform: translate(150px, -40px); opacity: 0; } 58% { transform: translate(-150px, -40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.eq__et { opacity: calc(var(--x) * 1.4 - .4); transition: opacity .5s; font: 500 11px var(--fm); fill: currentColor; letter-spacing: .02em; }
.eq__guia { stroke: currentColor; stroke-width: .8; opacity: .45; stroke-dasharray: 3 3; }
.eq__punto { fill: var(--e); }
.eq__et.is-on text { fill: var(--e); font-weight: 600; }

/* ---------- Hero: el banco de reparación sobre el tapete ---------- */
.hero { position: relative; overflow: hidden; background: var(--tapete); color: #fff; padding: clamp(40px, 6vh, 72px) 0 0; min-height: calc(100svh - var(--cab-h) - var(--aviso-h)); display: flex; flex-direction: column; }
.hero__mat { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: center top; -webkit-mask: radial-gradient(ellipse 90% 80% at 50% 45%, #000 40%, transparent 100%); mask: radial-gradient(ellipse 90% 80% at 50% 45%, #000 40%, transparent 100%); }
.hero__regla { position: absolute; background-repeat: repeat; opacity: .5; }
.hero__regla--sup { left: 0; right: 0; top: 0; height: 12px; background-image: linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px); background-size: 12px 6px, 120px 12px; background-repeat: repeat-x; }
.hero__regla--izq { top: 0; bottom: 0; left: 0; width: 12px; background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px); background-size: 6px 12px, 12px 120px; background-repeat: repeat-y; }
.hero__in { position: relative; flex: 1; display: flex; flex-direction: column; }
.hero__txt { text-align: center; max-width: 820px; margin-inline: auto; }
.hero__h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.hero__a { display: block; color: #c7d4da; }
.rota { display: grid; justify-items: center; }
.rota__p { grid-area: 1 / 1; color: var(--e); opacity: 0; transform: translateY(.35em); filter: blur(4px); transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s; }
.rota__p.is-on { opacity: 1; transform: none; filter: none; }
.rota__p.is-fuera { transform: translateY(-.35em); }
.rota__punto { font-style: normal; color: #fff; }
.hero__p { margin: 20px auto 0; max-width: 620px; color: #b4c3cb; font-size: 1.12rem; }
.hero .btns { margin-top: 26px; }
.banco { position: relative; flex: 1; display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; align-items: center; gap: 24px; margin-top: clamp(18px, 3vh, 36px); min-height: 300px; }
.banco__estado { list-style: none; margin: 0; padding: 16px; display: grid; gap: 4px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid var(--linea-clara); }
.banco__e { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font: 500 .86rem var(--fm); color: #8ea1ab; transition: color .4s, background .4s; }
.banco__e .led { opacity: .25; box-shadow: none; transition: opacity .4s, box-shadow .4s; }
.banco__e.is-on { color: #fff; background: rgba(255, 255, 255, .06); }
.banco__e.is-on .led { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--le-c) 25%, transparent), 0 0 16px var(--le-c); animation: parpadeo 1.1s ease-in-out infinite; }
.banco__e.is-hecho .led { opacity: .7; }
@keyframes parpadeo { 50% { opacity: .55; } }
.banco__mesa { position: relative; height: clamp(260px, 44vh, 470px); color: #b4c3cb; }
.banco__eq { position: absolute; inset: 0; display: block; opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.banco__eq.is-on { opacity: 1; transform: none; }
.banco__svg { width: 100%; height: 100%; }
.banco__scan { position: absolute; left: 6%; right: 6%; top: 0; height: 3px; border-radius: 3px; background: var(--ambar); box-shadow: 0 0 24px 6px rgba(255, 176, 32, .45); opacity: 0; pointer-events: none; }
.banco.is-escanea .banco__scan { animation: escaneo 1.5s var(--ease-io) 2; }
@keyframes escaneo { 0% { opacity: 0; transform: translateY(10%); } 10%, 90% { opacity: 1; } 50% { transform: translateY(clamp(240px, 42vh, 440px)); } 100% { opacity: 0; transform: translateY(10%); } }
.banco__ticket { align-self: start; margin-top: 20px; }
.papel { position: relative; padding: 16px 16px 22px; background: #f6f5ef; color: #222; font: 500 .76rem/1.55 var(--fm); border-radius: 4px 4px 0 0; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .7); transform: rotate(1.5deg); }
.papel::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, #f6f5ef 0) 0 0 / 12px 8px, linear-gradient(45deg, transparent 6px, #f6f5ef 0) 0 0 / 12px 8px; }
.papel__m { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed #bbb; font-weight: 600; letter-spacing: .1em; }
.papel__m .iso__aro { stroke: #222; }
.papel__l { list-style: none; margin: 0; padding: 0; min-height: 150px; }
.papel__l li { display: flex; justify-content: space-between; gap: 8px; animation: imprime .45s steps(4) both; }
.papel__l li b { font-weight: 600; text-align: right; }
.papel__l li.papel__ok { margin-top: 8px; padding: 4px 6px; justify-content: center; background: #111; color: var(--verde); letter-spacing: .14em; }
@keyframes imprime { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* Cinta de tickets (marquesina) */
.cinta { overflow: hidden; border-block: 1px solid var(--linea-clara); padding: 14px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinta--hero { position: relative; margin-top: 28px; background: rgba(0, 0, 0, .16); }
.cinta__pista { display: flex; gap: 14px; width: max-content; animation: cinta 46s linear infinite; }
.cinta:hover .cinta__pista { animation-play-state: paused; }
.cinta__it { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 6px; background: #f6f5ef; color: #222; font: 500 .8rem var(--fm); white-space: nowrap; }
.cinta__it small { color: #666; font-size: .76rem; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- ¿Qué se te malogró? ---------- */
.elige__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ecard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; border: 1px solid var(--linea); overflow: hidden; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.ecard__vis { position: relative; display: grid; place-items: center; height: 220px; background: var(--tapete); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px; color: #b4c3cb; }
.ecard__eq { width: 82%; height: 88%; }
.ecard__txt { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 24px; }
.ecard__led { display: flex; align-items: center; gap: 8px; color: var(--gris); font-size: .9rem; }
.ecard__txt b { font: 650 1.45rem/1.15 var(--fd); letter-spacing: -.02em; }
.ecard__d { font: 500 .82rem var(--fm); color: var(--gris); }
.ecard__ir { position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--papel); transition: background .3s, color .3s, transform .4s var(--ease); }
@media (hover: hover) {
  .ecard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(15, 30, 40, .5); border-color: transparent; }
  .ecard:hover .eq { --x: 1; }
  .ecard:hover .ecard__ir { background: var(--le); color: var(--negro); transform: rotate(-45deg); }
  .ecard:hover .eq-on { opacity: 1; }
}

/* ---------- Despiece con el scroll ---------- */
.desp { position: relative; height: 260vh; background: var(--tapete); color: #e8eef1; }
.desp__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.desp__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.desp__txt h2 { color: #fff; }
.desp__txt > p:not(.etq) { margin-top: 16px; color: #b4c3cb; max-width: 460px; }
.desp__lista { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.desp__it { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; color: #8ea1ab; transition: background .4s, color .4s; }
.desp__it b { display: block; color: inherit; font-weight: 600; }
.desp__it small { font-size: .82rem; }
.desp__it em { font: 500 .8rem var(--fm); font-style: normal; text-align: right; }
.desp__n { font: 500 .78rem var(--fm); opacity: .7; }
.desp__it.is-on { background: rgba(255, 255, 255, .07); color: #fff; }
.desp__it.is-on em { color: var(--verde); }
.desp__vis { position: relative; height: min(82vh, 640px); color: #b4c3cb; }
.desp__eq { width: 100%; height: 100%; }
.desp__sombra { position: absolute; left: 20%; right: 20%; bottom: 2%; height: 30px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, .45), transparent 70%); }
.desp__eq .eq__capa { transition: none; }

/* ---------- Circuito de cuatro pasos ---------- */
.circ__pista { height: 40px; margin-bottom: -6px; }
.circ__pista svg { width: 100%; height: 100%; overflow: visible; }
.circ__base, .circ__luz { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.circ__base { stroke: var(--papel-2); }
.circ__luz { stroke: url(#none); stroke: var(--verde); filter: drop-shadow(0 0 4px var(--verde)); clip-path: inset(0 calc(100% - var(--luz, 0) * 100%) 0 0); }
.circ__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.paso { position: relative; padding: 14px 14px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--linea); transition: transform .4s var(--ease), box-shadow .4s; }
.paso__foto { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--papel-2); }
.paso__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .6s; filter: grayscale(.85) brightness(.9); }
.paso.is-luz .paso__foto img { filter: none; }
.paso__chip { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(11, 19, 24, .82); color: #fff; font: 500 .74rem var(--fm); }
.paso__chip .led { --le-c: var(--le); }
.paso__n { display: block; margin: 18px 6px 6px; font: 600 .8rem var(--fm); color: var(--gris-2); }
.paso.is-luz .paso__n { color: var(--le); filter: brightness(.75); }
.paso h3, .paso p { margin-inline: 6px; }
.paso p { margin-top: 8px; color: var(--gris); font-size: .98rem; }
@media (hover: hover) { .paso:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(15, 30, 40, .4); } .paso:hover .paso__foto img { transform: scale(1.04); } }

/* ---------- Producto MAIO: WhatsApp + tablero + reseña ---------- */
.maio__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.maio__tel { position: relative; }
.maio__pausa { position: absolute; right: -10px; top: -10px; background: var(--tapete-2); color: #fff; border-color: var(--linea-clara); }
.tel { height: 560px; display: flex; flex-direction: column; border-radius: 38px; border: 8px solid #05090c; background: #0e1a14; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.tel__cab { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #16261d; color: #fff; }
.tel__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--tapete); }
.tel__av .iso { width: 24px; height: 24px; }
.tel__cab b { display: block; font-size: .95rem; }
.tel__cab small { color: #93b5a2; font-size: .75rem; }
.tel__msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; overflow: hidden; justify-content: flex-end; background: #0b1510; background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 16px 16px; }
.tel__m { max-width: 86%; padding: 8px 11px 6px; border-radius: 12px; font-size: .86rem; line-height: 1.42; color: #eaf3ee; background: #1d2c24; animation: burbuja .45s var(--ease) both; }
.tel__m--c { align-self: flex-end; background: #0f5a3b; }
.tel__m small { display: block; text-align: right; font-size: .66rem; color: #93b5a2; margin-top: 2px; }
.tel__m .led { margin-right: 6px; vertical-align: 0; }
.tel__pie { display: flex; align-items: center; justify-content: space-between; margin: 8px; padding: 10px 14px; border-radius: 999px; background: #1d2c24; color: #6f8f7d; font-size: .82rem; }
.tel__pie i { font-style: normal; }
@keyframes burbuja { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.crm { border-radius: var(--r); background: var(--tapete-2); border: 1px solid var(--linea-clara); padding: 16px; }
.crm__cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #fff; }
.crm__cab p { display: flex; align-items: center; gap: 8px; }
.crm__cab small { color: #8ea1ab; }
.crm__vivo { display: inline-flex; align-items: center; gap: 6px; font: 500 .74rem var(--fm); color: var(--verde); }
.crm__vivo i { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); animation: parpadeo 1.2s infinite; }
.crm__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.crm__col { min-height: 210px; padding: 8px; border-radius: 12px; background: rgba(0, 0, 0, .18); }
.crm__t { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font: 500 .7rem var(--fm); color: #a9bac3; letter-spacing: .02em; }
.crm__t span { margin-left: auto; opacity: .7; }
.crm__led { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--le); box-shadow: 0 0 6px var(--le); }
.crm__lista { display: grid; gap: 6px; }
.tkt { padding: 8px 9px; border-radius: 9px; background: #f6f5ef; color: #1a1a1a; font-size: .78rem; line-height: 1.3; border-left: 3px solid var(--le, var(--verde)); animation: burbuja .5s var(--ease) both; }
.tkt b { display: block; font-size: .8rem; }
.tkt small { display: block; color: #666; font: 500 .66rem var(--fm); }
.tkt.is-tuyo { outline: 2px solid var(--verde); }
.resena { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--tinta); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.resena.is-on { opacity: 1; transform: none; }
.resena__g { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--papel); }
.resena__g .ico { width: 22px; height: 22px; }
.resena b { display: block; }
.resena small { color: var(--gris); }
.resena__est { display: inline-flex; gap: 2px; margin-left: 8px; vertical-align: -2px; }
.resena__est .ico { width: 15px; height: 15px; fill: var(--ambar); stroke: var(--ambar); }
.maio__puntos { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.maio__puntos li { display: flex; gap: 12px; color: #b4c3cb; }
.maio__puntos .ico { color: var(--verde); margin-top: 3px; }
.maio__puntos b { color: #fff; font-weight: 600; }

/* ---------- Seguimiento rápido ---------- */
.seguir__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.seguir__txt .cabsec { margin-bottom: 24px; }
.buscar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--linea); max-width: 440px; transition: border-color .2s, box-shadow .2s; }
.buscar:focus-within { border-color: var(--tinta); box-shadow: 0 0 0 4px var(--e-claro); }
.buscar__pre { font: 600 1.1rem var(--fm); color: var(--gris); }
.buscar input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font: 600 1.1rem var(--fm); letter-spacing: .08em; outline: none; }
.buscar__error { margin-top: 10px; color: var(--rojo); font-size: .95rem; }
.seguir__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chipcod { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px dashed color-mix(in srgb, var(--tinta) 30%, transparent); background: #f6f5ef; font: 600 .84rem var(--fm); transition: transform .2s var(--ease), border-color .2s; }
.chipcod small { font: 400 .78rem var(--ft); color: var(--gris); }
.chipcod:hover { transform: translateY(-2px); border-color: var(--tinta); }
.chipcod[aria-pressed="true"] { border-style: solid; border-color: var(--tinta); }
.mini { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--linea); box-shadow: 0 30px 60px -40px rgba(15, 30, 40, .4); }
.mini__cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; font-weight: 600; }
.mini__cab b { font-family: var(--fm); }
.mini__pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mini__pasos li { display: flex; flex-direction: column; gap: 8px; font-size: .78rem; color: var(--gris-2); }
.mini__pasos i { height: 8px; border-radius: 4px; background: var(--papel-2); transition: background .4s var(--ease), box-shadow .4s; }
.mini__pasos li.is-hecho i { background: color-mix(in srgb, var(--le) 55%, #fff); }
.mini__pasos li.is-hecho { color: var(--tinta); }
.mini__pasos li.is-ahora i { background: var(--le); box-shadow: 0 0 12px var(--le); animation: parpadeo 1.2s infinite; }
.mini__pasos li.is-ahora { color: var(--tinta); font-weight: 600; }
.mini__nota { margin: 18px 0; color: var(--gris); }

/* ---------- Garantía (sello) ---------- */
.garantia { background: var(--papel-2); }
.garantia__in { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.garantia__sello svg { width: 100%; max-width: 320px; margin-inline: auto; transform: rotate(-12deg); }
.sello__b { fill: none; stroke: var(--verde-osc); stroke-width: 5; }
.sello__b2 { fill: rgba(30, 214, 138, .08); stroke: var(--verde-osc); stroke-width: 2; stroke-dasharray: 4 4; }
.sello__aro { font: 600 15.5px var(--fm); letter-spacing: 2.6px; fill: var(--verde-osc); }
.sello__n { font: 800 72px var(--fd); fill: var(--verde-osc); }
.sello__m { font: 600 15px var(--fm); letter-spacing: 6px; fill: var(--verde-osc); }
.garantia.is-estampa .garantia__sello svg { animation: estampa .7s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes estampa { 0% { transform: rotate(-30deg) scale(2.2); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(-12deg) scale(1); } }
.promesas { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promesas li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: #fff; }
.promesas .ico { width: 24px; height: 24px; color: var(--verde-osc); flex: none; margin-top: 2px; }
.promesas span { color: var(--gris); }
.promesas b { color: var(--tinta); }

/* ---------- Laboratorio (adelanto) ---------- */
.lab-teaser__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.lab-teaser__fotos { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: end; }
.lt { display: block; overflow: hidden; border-radius: var(--r); }
.lt img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.lt:hover img { transform: scale(1.03); }
.lt--a { aspect-ratio: 4 / 5; }
.lt--b { aspect-ratio: 1; margin-bottom: 18%; }

/* ---------- Cierre ---------- */
.cierre__caja { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-l); min-height: 460px; display: flex; align-items: flex-end; padding: clamp(28px, 5vw, 64px); color: #fff; }
.cierre__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cierre__caja::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 19, 24, .92) 20%, rgba(11, 19, 24, .45) 70%, rgba(11, 19, 24, .2)); }
.cierre__txt { max-width: 560px; }
.cierre__txt h2 { color: #fff; }
.cierre__txt > p:not(.etq) { margin-top: 14px; color: #c7d4da; }
.cierre .etq { color: #c7d4da; }

/* ---------- FAQ ---------- */
.faqsec__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faqsec__in .cabsec .btn { margin-top: 24px; }
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 18px; background: #fff; border: 1px solid var(--linea); transition: border-color .3s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--tinta) 30%, transparent); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--papel); transition: transform .35s var(--ease), background .3s; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--e); }
.faq__r { padding: 0 22px 20px; color: var(--gris); }

/* ---------- Pie ---------- */
.pie { position: relative; background: var(--negro); color: #b4c3cb; padding-top: 64px; border-radius: var(--r-l) var(--r-l) 0 0; margin-top: 0; }
.pie__regla { position: absolute; left: 32px; right: 32px; top: 18px; height: 12px; background-image: linear-gradient(90deg, rgba(255, 255, 255, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px); background-size: 10px 6px, 100px 12px; background-repeat: repeat-x; }
.pie__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.pie__marca p { margin-top: 18px; max-width: 360px; }
.pie__leds { display: flex; flex-wrap: wrap; gap: 14px; font: 500 .76rem var(--fm); color: #8ea1ab; }
.pie__leds span { display: inline-flex; align-items: center; gap: 7px; }
.pie h2 { font: 500 .76rem var(--fm); letter-spacing: .12em; text-transform: uppercase; color: #8ea1ab; margin-bottom: 16px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pie a, .pie__chat { color: #dfe7eb; text-decoration: none; transition: color .2s; }
.pie a:hover, .pie__chat:hover { color: var(--verde); }
.pie__datos li { display: flex; align-items: center; gap: 10px; }
.pie__datos .ico { color: #8ea1ab; }
.pie__chat { border: 0; background: none; padding: 0; text-align: left; }
.pie__demo { padding: 22px 0; border-top: 1px solid var(--linea-clara); }
.pie__demo p { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.pie__demo .iso { flex: none; color: #fff; margin-top: 3px; }
.pie__demo b { color: #fff; }
.pie__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea-clara); font-size: .86rem; color: #8ea1ab; }

/* ---------- Botón flotante (uno solo) y técnico IA ---------- */
.flot { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; background: var(--tinta); color: #fff; font-weight: 600; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55); transition: transform .45s var(--ease), opacity .3s, background .3s, color .3s; }
.flot__led { width: 9px; height: 9px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); animation: parpadeo 1.6s infinite; }
.flot:active { transform: scale(.95); }
.flot.is-claro { background: #fff; color: var(--tinta); }
.flot.is-aparta { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 761px) {
  .flot { width: 54px; padding: 0; justify-content: center; gap: 0; transition: width .4s var(--ease), padding .4s var(--ease), transform .45s var(--ease), opacity .3s, background .3s, color .3s; }
  .flot .flot__led { position: absolute; top: 9px; right: 12px; width: 7px; height: 7px; }
  .flot__txt { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), margin .4s; }
  .flot:hover, .flot:focus-visible { width: 164px; }
  .flot:hover .flot__txt, .flot:focus-visible .flot__txt { max-width: 110px; margin-left: 10px; }
}
.asis { position: fixed; right: 18px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 70; width: min(390px, 100vw - 24px); height: min(600px, 100svh - 120px); border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .3s, transform .4s var(--ease); }
.asis.is-abierto { opacity: 1; transform: none; }
.chat { display: flex; flex-direction: column; height: 100%; background: #fff; }
.chat__cab { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--tapete); color: #fff; }
.chat__av { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; color: var(--tapete); }
.chat__av .iso { width: 26px; height: 26px; }
.chat__quien { flex: 1; display: flex; flex-direction: column; }
.chat__quien small { display: flex; align-items: center; gap: 6px; color: #a9bac3; font-size: .78rem; }
.chat__punto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); }
.chat__wa, .chat__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; }
.chat__wa { color: #7fe3a8; }
.chat__msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px; overflow-y: auto; background: var(--papel); }
.chat__m { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .94rem; line-height: 1.45; white-space: pre-line; animation: burbuja .35s var(--ease) both; }
.chat__m--bot { background: #fff; border: 1px solid var(--linea); border-bottom-left-radius: 4px; }
.chat__m--yo { align-self: flex-end; background: var(--tinta); color: #fff; border-bottom-right-radius: 4px; }
.chat__m--escribe { display: flex; gap: 4px; }
.chat__m--escribe i { width: 7px; height: 7px; border-radius: 50%; background: var(--gris-2); animation: puntos 1s infinite; }
.chat__m--escribe i:nth-child(2) { animation-delay: .15s; } .chat__m--escribe i:nth-child(3) { animation-delay: .3s; }
@keyframes puntos { 50% { transform: translateY(-4px); opacity: .5; } }
.chat__ticket { margin-top: 10px; padding: 10px 12px; border-radius: 6px; background: #f6f5ef; font: 500 .8rem/1.5 var(--fm); white-space: pre-line; border-left: 3px solid var(--e); }
.chat__acc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat__acc a, .chat__acc button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--linea); background: var(--papel); font-size: .84rem; font-weight: 600; text-decoration: none; }
.chat__acc button { background: var(--e); border-color: transparent; }
.chat__chips { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; }
.chat__chip { flex: none; min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--linea); background: #fff; font-size: .85rem; white-space: nowrap; transition: background .2s, border-color .2s; }
.chat__chip:hover { border-color: var(--tinta); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px; }
.chat__in { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--papel); font-size: 16px; outline: none; }
.chat__in:focus { border-color: var(--tinta); }
.chat__env { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--tinta); color: #fff; }
.chat__nota { display: flex; align-items: center; gap: 6px; padding: 0 14px 12px; font-size: .76rem; color: var(--gris-2); }
.chat__nota a { color: inherit; }

/* ---------- Formularios ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; }
.campo input, .campo select { height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--linea); background: #fff; font-size: 16px; font-weight: 400; outline: none; transition: border-color .2s, box-shadow .2s; }
.campo select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.campo input:focus, .campo select:focus { border-color: var(--tinta); box-shadow: 0 0 0 4px var(--e-claro); }
.campo--sm input { height: 46px; }
.campo__error { color: var(--rojo-osc); font-size: .92rem; margin-top: 10px; }
/* Control segmentado con marca que se desliza */
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--papel-2); }
.seg__op { position: relative; z-index: 1; }
.seg__op input { position: absolute; opacity: 0; pointer-events: none; }
.seg__op span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; cursor: pointer; color: var(--gris); transition: color .3s; }
.seg__op input:checked + span { color: var(--tinta); }
.seg__op input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
.seg__marca { position: absolute; top: 5px; left: 5px; bottom: 5px; width: var(--mw, 0px); border-radius: 999px; background: #fff; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .2); transform: translateX(var(--mx, 0px)); transition: transform .45s var(--ease), width .45s var(--ease); }
.seg--oscuro { background: rgba(255, 255, 255, .07); }
.seg--oscuro .seg__op span { color: #a9bac3; }
.seg--oscuro .seg__op input:checked + span { color: var(--negro); }

/* ---------- Tu ticket (hoja) ---------- */
.tk { position: fixed; inset: 0; z-index: 95; }
.tk__fondo { position: absolute; inset: 0; background: rgba(6, 12, 16, .55); opacity: 0; transition: opacity .35s; }
.tk.is-abierto .tk__fondo { opacity: 1; }
.tk__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--papel); transform: translateX(100%) translateY(var(--arrastre, 0px)); transition: transform .5s var(--ease); }
.tk.is-abierto .tk__panel { transform: translateY(var(--arrastre, 0px)); }
.tk__asa { display: none; }
.tk__cab { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.tk__cab h2 { font-size: 1.6rem; }
.tk__cuerpo { flex: 1; overflow-y: auto; padding: 4px 20px 20px; }
.tk__papel { position: relative; padding: 20px 18px 26px; background: #f6f5ef; font: 500 .84rem/1.55 var(--fm); border-radius: 4px 4px 0 0; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .4); }
.tk__papel::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, #f6f5ef 0) 0 0 / 12px 8px, linear-gradient(45deg, transparent 6px, #f6f5ef 0) 0 0 / 12px 8px; }
.tk__marca { display: flex; align-items: center; gap: 8px; justify-content: center; font-weight: 600; letter-spacing: .12em; }
.tk__marca .iso__aro { stroke: var(--tinta); }
.tk__cod { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 14px; padding-bottom: 10px; border-bottom: 1px dashed #bbb; color: #555; }
.tk__cod b { color: var(--tinta); }
.tk__vacio p { font-family: var(--ft); font-size: .95rem; color: var(--gris); }
.tk__vacio .btns { margin-top: 18px; }
.tk__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tk__it { display: grid; grid-template-columns: 1fr auto 32px; gap: 10px; align-items: start; animation: imprime .5s steps(5) both; }
.tk__it b { display: block; font-weight: 600; }
.tk__it small { color: #666; }
.tk__it em { font-style: normal; font-weight: 600; }
.tk__quitar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); }
.tk__quitar .ico { width: 14px; height: 14px; }
.tk__total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 1px dashed #bbb; font-weight: 600; }
.tk__datos { display: grid; gap: 14px; margin-top: 26px; }
.tk__pie { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: var(--papel); }
.tk__nota { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 10px; font-size: .8rem; color: var(--gris-2); }
.vuela { position: fixed; z-index: 120; width: 26px; height: 32px; pointer-events: none; background: #f6f5ef; border-radius: 3px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); border-top: 4px solid var(--e); }

/* ---------- Modal "así llegaría por WhatsApp" ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; }
.modal__fondo { position: absolute; inset: 0; background: rgba(6, 12, 16, .6); opacity: 0; transition: opacity .3s; }
.modal__caja { position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; padding: 30px; border-radius: 28px; background: #fff; opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .3s, transform .45s var(--ease); }
.modal.is-abierto .modal__fondo, .modal.is-abierto .modal__caja { opacity: 1; }
.modal.is-abierto .modal__caja { transform: none; }
.modal__x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--papel); }
.modal h2 { font-size: 1.7rem; margin-bottom: 18px; }
.modal__wa { padding: 16px; border-radius: 18px; background: #0b1510; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 16px 16px; }
.modal__burbuja { max-width: 92%; margin-left: auto; padding: 10px 13px; border-radius: 12px 12px 4px 12px; background: #0f5a3b; color: #eaf3ee; font-size: .92rem; white-space: pre-line; }
.modal__hora { display: block; text-align: right; margin-top: 6px; font-size: .72rem; color: #93b5a2; }
.modal__crm { margin-top: 18px; }
.modal__crm-t { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.modal__crm-t b { font-family: var(--fm); margin-left: auto; }
.segui { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.segui__paso { display: flex; flex-direction: column; gap: 6px; font-size: .74rem; color: var(--gris-2); }
.segui__led { height: 6px; border-radius: 3px; background: var(--papel-2); transition: background .4s, box-shadow .4s; }
.segui__paso.is-ok { color: var(--tinta); }
.segui__paso.is-ok .segui__led { background: var(--le); box-shadow: 0 0 8px var(--le); }
.modal__nota2 { margin-top: 12px; color: var(--gris); font-size: .92rem; }
.modal__nota { display: flex; gap: 8px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--papel); color: var(--gris); font-size: .88rem; }
.modal__nota .ico { flex: none; margin-top: 3px; color: var(--azul-osc); }
.modal .btns { margin-top: 20px; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 130; translate: -50% 0; padding: 12px 18px; border-radius: 999px; background: var(--tinta); color: #fff; font-size: .92rem; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- Capa de movimiento ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--rv-d, 0ms), transform .9s var(--ease) var(--rv-d, 0ms); }
.js .rv-pop { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .7s var(--ease) var(--rv-d, 0ms), transform .9s var(--ease) var(--rv-d, 0ms); }
.js .rv.is-in, .js .rv-pop.is-in { opacity: 1; transform: none; }
.rv-t .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rv-t .wi { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease) calc(var(--i) * 50ms); }
.rv-t.is-in .wi { transform: none; }
.js [data-enter] > * { animation: entra .9s var(--ease) both; }
.js [data-enter] > :nth-child(2) { animation-delay: .08s; } .js [data-enter] > :nth-child(3) { animation-delay: .16s; } .js [data-enter] > :nth-child(4) { animation-delay: .24s; }
@keyframes entra { from { transform: translateY(22px); } }
.is-pausa-fuera, .is-pausa-fuera * { animation-play-state: paused !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .cab__menu { display: grid; }
  .cab__ticket { margin-left: auto; }
  .banco { grid-template-columns: 170px minmax(0, 1fr) 190px; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .elige__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circ__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circ__pista { display: none; }
  .maio__grid, .seguir__in, .garantia__in, .lab-teaser__in, .faqsec__in, .desp__in { grid-template-columns: minmax(0, 1fr); }
  .maio__tel { max-width: 360px; margin-inline: auto; width: 100%; }
  .banco { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .banco__estado { order: 2; grid-template-columns: repeat(4, 1fr); padding: 6px; }
  .banco__e { justify-content: center; padding: 8px 4px; font-size: .74rem; gap: 6px; }
  .banco__ticket { display: none; }
  .garantia__sello svg { max-width: 220px; }
  .desp { height: 300vh; }
  .desp__in { gap: 10px; align-content: center; }
  .desp__txt > p:not(.etq), .desp__txt .etq { display: none; }
  .desp__txt h2 { font-size: 1.6rem; }
  .desp__lista { margin-top: 14px; grid-template-columns: repeat(2, 1fr); }
  .desp__it { grid-template-columns: 1fr; padding: 8px 10px; gap: 0; }
  .desp__n, .desp__it em { display: none; }
  .desp__it.is-on em { display: block; text-align: left; margin-top: 2px; }
  .desp__it small { display: none; }
  .desp__vis { height: 52vh; order: -1; }
}
@media (max-width: 760px) {
  :root { --cab-h: 62px; }
  body { font-size: 1rem; }
  .aviso { font-size: .8rem; padding-right: 44px; }
  .aviso__largo, .aviso__cta-l { display: none; }
  .aviso__corto, .aviso__cta-c { display: inline; }
  .logo__nombre { font-size: 1.35rem; }
  .cab__ticket-t { display: none; }
  .cab__ticket { padding: 0 12px; }
  .cabsec--fila { grid-template-columns: minmax(0, 1fr); }
  .cabsec--fila > .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 20px; }
  .btns .btn { flex: 1 1 100%; }
  .hero__h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero__p { font-size: 1rem; }
  .banco__mesa { height: 36vh; min-height: 240px; }
  .banco__e span { display: none; }
  .banco__e.is-on span { display: inline; }
  .banco__estado { grid-template-columns: auto auto auto auto; justify-content: center; }
  .elige__grid { grid-template-columns: minmax(0, 1fr); }
  .ecard { flex-direction: row; }
  .ecard__vis { width: 42%; height: auto; min-height: 150px; }
  .ecard__txt { padding: 16px 52px 16px 16px; justify-content: center; }
  .ecard__led small { display: none; }
  .ecard__txt b { font-size: 1.25rem; }
  .ecard__ir { right: 12px; bottom: auto; top: 50%; translate: 0 -50%; width: 36px; height: 36px; }
  .circ__grid { grid-template-columns: minmax(0, 1fr); }
  .crm__cols { grid-template-columns: repeat(5, 150px); overflow-x: auto; scrollbar-width: none; }
  .tel { height: 480px; }
  .mini__pasos span { font-size: .66rem; }
  .pie__grid { grid-template-columns: 1fr; gap: 30px; }
  .flot { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: 50px; }
  .flot.is-baja { transform: translateY(140%); }
  .tk__panel { top: auto; height: min(88svh, 720px); width: 100%; border-radius: 26px 26px 0 0; transform: translateY(100%); }
  .tk__asa { display: flex; justify-content: center; padding-top: 10px; touch-action: none; }
  .tk__asa i { width: 44px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .2); }
  .asis { right: 8px; left: 8px; width: auto; bottom: 8px; height: min(640px, 100svh - 80px); }
  .cierre__caja { min-height: 520px; }
  .lt--b { margin-bottom: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rota__p { filter: none; }
  .cinta__pista { animation: none; }
}

/* ---------- Hero en escritorio: LEDs a la izquierda, equipo al centro, ticket a la derecha ---------- */
.hero .btn:not(.btn--claro-borde) { --b-bg: var(--e); --b-tx: var(--negro); --b-hov: #fff; --b-htx: var(--negro); }
@media (min-width: 961px) {
  .hero__in { display: grid; grid-template-columns: 210px minmax(0, 1fr) 210px; grid-template-rows: auto minmax(300px, 1fr); column-gap: 28px; }
  .hero__txt { grid-column: 2; grid-row: 1; }
  .banco { display: contents; }
  .banco__estado { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .banco__mesa { grid-column: 2; grid-row: 2; height: 100%; min-height: 300px; margin-top: 4px; }
  .banco__ticket { grid-column: 3; grid-row: 1 / 3; align-self: center; margin-top: 0; }
  .hero__h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
  .hero__p { margin-top: 14px; }
  .hero .btns { margin-top: 20px; }
  .hero .etq { margin-bottom: 12px; }
}
.paso__msg { position: absolute; left: 33%; right: 31%; top: 30%; padding: 7px 8px; border-radius: 8px 8px 8px 2px; background: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); font-size: .62rem; line-height: 1.35; color: var(--tinta); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .3s, transform .6s var(--ease) .3s; }
.paso__msg b { display: block; color: var(--wa); font-size: .62rem; }
.paso.is-luz .paso__msg { opacity: 1; transform: none; }
@media (min-width: 961px) and (max-height: 860px) { .desp__it { padding: 7px 14px; } .desp__lista { margin-top: 18px; } .desp__txt h2 { font-size: 2.4rem; } }

/* ---------- Hero en celular: el equipo entre el título y el texto ---------- */
@media (max-width: 760px) {
  .aviso p { flex-wrap: nowrap; gap: 8px; white-space: nowrap; }
  .aviso p > .ico { display: none; }
  .aviso__cta { padding: 4px 10px; }
  .hero { padding-top: 22px; }
  .hero .etq { font-size: .68rem; }
  .hero__in { display: flex; flex-direction: column; }
  .hero__txt { display: contents; }
  .hero__txt > .etq { order: 1; align-self: center; text-align: left; max-width: 290px; margin-bottom: 10px; }
  .hero__h1 { order: 2; text-align: center; font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
  .banco { order: 3; margin-top: 16px; min-height: 0; }
  .hero__p { order: 4; margin-top: 4px; font-size: .98rem; text-align: center; }
  .hero .btns { order: 5; margin-top: 18px; }
  .hero .btn { min-height: 48px; }
  .banco__mesa { height: 30svh; min-height: 210px; overflow: hidden; }
  .banco__eq { left: -40%; right: -40%; }
  .banco__svg .eq__et { display: none; }
  .banco__estado { order: -1; }
  .cinta--hero { margin-top: 22px; }
}

/* ---------- Arreglos de /jury ---------- */
.desp .etq { color: #a9bac3; }
.desp__n { opacity: 1; color: #8ea1ab; }
.aviso a:not(.aviso__cta), .pie__demo a, .pie__base a, .chat__nota a, .modal__nota a { text-decoration: underline; text-underline-offset: 3px; }
.pie ul a, .pie__chat { display: inline-block; padding: 6px 0; transition: color .2s, transform .3s var(--ease); }
.pie ul { gap: 2px; }
.pie ul a:hover, .pie__chat:hover { transform: translateX(3px); }
.aviso__x { transition: background .2s, transform .35s var(--ease); }
.aviso__x:hover { transform: rotate(90deg); }
.cab__ticket:hover { transform: translateY(-2px); }
.maio__pausa:hover { background: var(--tapete-3); transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .sub { display: none; }
  .nav__item--sub.is-abierto .sub { display: block; }
}
@media (max-width: 760px) {
  .eq .is-falla, .eq.is-reparado .is-falla, .iso__led, .circ__luz { filter: none; }
  .banco__e.is-on .led { animation: none; }
}
.ecard__vis, .otro__vis, .sub__vis, .deq__vis { overflow: hidden; }

/* ---------- Arreglos de /jury (ronda 1) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.cab__ticket:hover { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.cab__ticket:hover .cab__papel { transform: translateY(-3px) rotate(-4deg); }
.cab__papel { transition: height .5s var(--ease), transform .35s var(--ease); }
.cab__ticket:hover .cab__cuenta { background: var(--verde); color: var(--negro); }
.chat__env { transition: background .25s, transform .25s var(--ease); }
.chat__env:hover { background: var(--verde); color: var(--negro); transform: scale(1.08); }
.migas a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .rota__p:not(.is-on), .banco__eq:not(.is-on) { display: none; }
  .rota__p.is-on { grid-area: auto; }
}
@media (max-width: 760px) {
  .flot { width: 50px; padding: 0; justify-content: center; gap: 0; }
  .flot__txt { display: none; }
  .flot .flot__led { position: absolute; top: 8px; right: 10px; width: 7px; height: 7px; }
}
.paso.is-luz .paso__n { color: var(--tinta); filter: none; }
.paso__msg b { color: var(--verde-osc); }
/* ---------- Arreglos de /jury (ronda 2) ---------- */
.chat__chip { transition: background .25s, border-color .25s, transform .25s var(--ease); }
.chat__chip:hover { background: var(--ambar); border-color: transparent; color: var(--negro); transform: translateY(-2px); }
.migas a { display: inline-block; padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1.5px no-repeat; text-decoration: none; transition: background-size .35s var(--ease), color .2s; }
.migas a:hover { background-size: 100% 1.5px; }
.aviso a:not(.aviso__cta) { display: inline-block; padding-block: 4px; }
@media (prefers-reduced-motion: reduce) and (hover: hover) and (min-width: 761px) {
  .flot { width: auto; padding: 0 20px 0 16px; }
  .flot__txt { max-width: none; margin-left: 10px; }
}
@media (max-width: 760px) {
  .desp__vis { height: 44vh; }
  .crm__cab { flex-wrap: wrap; }
  .crm__cab small { display: none; }
}
/* ---------- Arreglos de /jury (ronda 3, sin medir) ---------- */
.sec { padding: clamp(64px, 8.5vw, 108px) 0; }
.tel__pie { color: #9ab5a5; }
.migas ol { align-items: baseline; }
.migas li { display: inline-flex; align-items: baseline; }
.migas span[aria-current] { display: inline-block; padding-block: 8px; }
.pie__demo a, .pie__base a { display: inline-block; padding-block: 4px; }
@media (min-width: 961px) { .banco__eq { left: -14%; right: -14%; } }
@media (prefers-reduced-motion: reduce) { .flot.is-aparta { display: none; } }
@media (max-width: 760px) {
  .migas ol { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
  .migas li { min-width: 0; }
  .migas li:not(:first-child):not(:last-child) a { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 760px) { .migas { overflow: hidden; max-width: 100%; } .migas ol { max-width: 100%; } }
/* ---------- Arreglos de /jury (ronda 4, sin medir) ---------- */
.tkt { animation: none; }
.pie__chat { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s, transform .3s var(--ease); }
.pie__chat:hover { background-size: 100% 1px; }
@media (max-width: 760px) {
  .pie__grid { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .pie__marca, .pie__grid > .pie__col:last-child { grid-column: 1 / -1; }
}
.cab__menu { margin-left: auto; }
