/* ══════════════════════════════════════════════════════
   IA GROUP — Hero de portada (propuesta 2026-10-19)
   Línea gráfica de la portada del Catálogo de repuestos 2026:
   azul noche, azul eléctrico, dorado, hexágonos y circuitos.
   Tres opciones sobre el mismo marcado: data-opt="a|b|c".
   Usa los tokens de css/index.css.
══════════════════════════════════════════════════════ */

@property --cut { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

.px {
  --royal: #1f6fe0;            /* azul de las franjas de la portada */
  --cyan: #4ccbff;
  --ratio: 1.9505;             /* 1498 × 768: proporción de la imagen */
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(calc(100svh - var(--nav-h) - 44px), 820px);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* ── Escena: la imagen y sus capas comparten el mismo sistema de coordenadas ── */
.px-media { position: absolute; inset: 0; z-index: -1; container-type: size; overflow: hidden; }
.px-stage {
  --fx: .62; --fy: .5;
  position: absolute;
  width: max(100cqw, 100cqh * var(--ratio));
  height: max(100cqh, 100cqw / var(--ratio));
  left: calc((100cqw - max(100cqw, 100cqh * var(--ratio))) * var(--fx));
  top: calc((100cqh - max(100cqh, 100cqw / var(--ratio))) * var(--fy));
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -9px), 0) scale(1.05);
  transition: transform .9s var(--ease-out);
}
.px-cam { position: absolute; inset: 0; transform-origin: 64% 46%; }
.px-img, .px-lines { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.px-lines { opacity: 0; }
.px-hud { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

.px-shade { position: absolute; inset: 0; pointer-events: none; }
.px-dust, .px-circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.px-circuit { z-index: -2; opacity: 0; }

/* ── HUD (SVG, coordenadas de la imagen 1498 × 768) ── */
.hud-hex { fill: none; stroke: var(--cyan); stroke-width: 2.4; opacity: 0; }
.hud-core { opacity: 0; mix-blend-mode: screen; }
.hud-trace { fill: none; stroke: #9fe6ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 18 700; stroke-dashoffset: 18; opacity: .95; }
.hud-node { fill: #dff7ff; opacity: .2; }
.hud-ring { fill: none; stroke: var(--cyan); transform-box: view-box; transform-origin: 1214px 270px; }
.hud-ring-a { stroke-width: 1.6; stroke-dasharray: 3 12; opacity: .55; }
.hud-ring-b { stroke-width: 3; stroke-dasharray: 70 150 30 180; opacity: .5; }
.hud-sweep { transform-box: view-box; transform-origin: 1214px 270px; mix-blend-mode: screen; opacity: .55; }
.hud-ping { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: view-box; transform-origin: 1214px 270px; opacity: 0; }
.hud-light { mix-blend-mode: screen; opacity: 0; }
.hud-flare { mix-blend-mode: screen; opacity: 0; }
.hud-boom { fill: none; stroke: #fff6d6; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 26 900; stroke-dashoffset: 26; }
.hud-spark { mix-blend-mode: screen; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hud-tw { fill: #c9f1ff; opacity: 0; }

/* ── Contenido ── */
.px-content { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 76px; width: 100%; }
.px-copy { max-width: 600px; }
.px-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--primary);
}
.px-eyebrow::before {
  content: ''; width: 34px; height: 3px; flex: none; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(255,201,77,0));
  box-shadow: 0 0 12px rgba(255,201,77,.6);
}
.px h1 {
  font-size: clamp(34px, 3.9vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -.015em;
  margin-bottom: 20px; text-wrap: balance;
}
.px h1 .px-auto { color: var(--primary); }
.px h1 .px-mina { color: var(--gold); }
.px-sub { font-size: var(--fs-lg); color: var(--text-2); max-width: 540px; line-height: 1.6; margin-bottom: 26px; }
.px .hero-search { max-width: 560px; }
.px-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-gold-outline { border: 1px solid rgba(255,201,77,.55); color: var(--gold); background: rgba(255,201,77,.06); }
.btn-gold-outline:hover { background: rgba(255,201,77,.14); border-color: var(--gold); color: var(--gold-hover); }

/* Entrada del texto */
.px.is-in .px-copy > * { animation: pxUp .8s var(--ease-out) both; }
.px.is-in .px-copy > :nth-child(2) { animation-delay: .08s; }
.px.is-in .px-copy > :nth-child(3) { animation-delay: .16s; }
.px.is-in .px-copy > :nth-child(4) { animation-delay: .24s; }
.px.is-in .px-copy > :nth-child(5) { animation-delay: .3s; }
.px.is-in .px-copy > :nth-child(6) { animation-delay: .36s; }
@keyframes pxUp { from { opacity: 0; transform: translateY(14px); } }

/* ── Franjas diagonales (esquina de la portada) ── */
.px-stripes { position: absolute; top: 0; right: 0; width: 260px; height: 74px; z-index: 1; pointer-events: none; }
.px-stripes i { position: absolute; top: 0; height: 100%; clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); }
.px-stripes i:nth-child(1) { right: 118px; width: 120px; background: var(--royal); }
.px-stripes i:nth-child(2) { right: 46px; width: 112px; background: var(--gold); }
.px-stripes i:nth-child(3) { right: -6px; width: 44px; background: var(--gold); opacity: .85; }
.px.is-in .px-stripes i { animation: pxStripe 1s var(--ease-out) both; }
.px.is-in .px-stripes i:nth-child(2) { animation-delay: .12s; }
.px.is-in .px-stripes i:nth-child(3) { animation-delay: .22s; }
@keyframes pxStripe { from { transform: translateX(120%); } }

/* Línea de marco inferior con quiebre, como la portada */
.px-frame { position: absolute; left: 0; right: 0; bottom: 14px; height: 26px; width: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.px-frame path { fill: none; stroke: var(--royal); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(31,111,224,.9)); stroke-dasharray: 1; stroke-dashoffset: 0; }
.px.is-in .px-frame path { animation: pxDraw 1.6s .3s var(--ease-out) both; }
@keyframes pxDraw { from { stroke-dashoffset: 1; } }

.px-pause { position: absolute; right: 20px; bottom: 46px; z-index: 3; background: rgba(6,11,25,.7); }

/* ── Paneles de opción (solo se muestra el de la opción activa) ── */
.px-doors, .px-spots, .px-panel-ui { display: none; }

/* ═════════ A · PORTADA VIVA ═════════ */
.px[data-opt="a"] .px-stage { --fx: .1; }
.px[data-opt="a"] .px-copy { max-width: 560px; }
.px[data-opt="a"] .px-shade {
  background:
    linear-gradient(90deg, rgba(6,11,25,.95) 0%, rgba(6,11,25,.82) 34%, rgba(6,11,25,.3) 50%, rgba(6,11,25,0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6,11,25,0) 22%);
}
.px[data-opt="a"].is-in .px-cam { animation: pxCam 2.8s cubic-bezier(.16,.84,.24,1) both; }
@keyframes pxCam { from { transform: scale(1.16); filter: brightness(.25) saturate(.6); } 55% { filter: brightness(.9) saturate(1); } }

/* HUD vivo (A, y también B: la misma imagen) */
.px.is-in .hud-hex { animation: pxHexIn .9s var(--d, 1s) both, pxHex 6s calc(var(--d, 1s) + 1s) ease-in-out infinite; }
.px.is-in .hud-core { animation: pxCore 6s calc(var(--d, 1s) + 1s) ease-in-out infinite; }
.px.is-in .hud-trace { animation: pxTrace var(--t, 3.4s) var(--td, 1.4s) linear infinite; }
.px.is-in .hud-node { animation: pxNode 2.4s var(--td, 1.4s) ease-in-out infinite; }
.px.is-in .hud-ring-a { animation: pxSpin 48s linear infinite; }
.px.is-in .hud-ring-b { animation: pxSpin 30s linear infinite reverse; }
.px.is-in .hud-sweep { animation: pxSpin 7s linear infinite; }
.px.is-in .hud-ping { animation: pxPing 4.5s 1.6s ease-out infinite; }
.px.is-in .hud-light { animation: pxLightOn .9s var(--d, 1.2s) steps(1) both, pxBreath 3.6s calc(var(--d, 1.2s) + 1s) ease-in-out infinite; }
.px.is-in .hud-flare { animation: pxFlare 5s 2s ease-in-out infinite; }
.px.is-in .hud-boom { animation: pxBoom 3.8s 2.2s cubic-bezier(.5,0,.9,.6) infinite; }
.px.is-in .hud-spark { animation: pxSpark 3.8s 2.2s ease-out infinite; }
.px.is-in .hud-tw { animation: pxTw var(--t, 3s) var(--d, 0s) ease-in-out infinite; }

@keyframes pxHexIn { from { opacity: 0; stroke-dasharray: 0 400; } to { opacity: .2; stroke-dasharray: 400 0; } }
@keyframes pxHex { 0%, 100% { opacity: .2; } 12% { opacity: 1; } 30% { opacity: .25; } }
@keyframes pxCore { 0%, 100% { opacity: 0; } 12% { opacity: .85; } 34% { opacity: 0; } }
@keyframes pxTrace { from { stroke-dashoffset: 18; } to { stroke-dashoffset: -700; } }
@keyframes pxNode { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes pxSpin { to { transform: rotate(360deg); } }
@keyframes pxPing { from { opacity: .7; transform: scale(.15); } to { opacity: 0; transform: scale(1.15); } }
@keyframes pxLightOn { 0% { opacity: 0; } 20% { opacity: .9; } 30% { opacity: .1; } 45% { opacity: 1; } }
@keyframes pxBreath { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }
@keyframes pxFlare { 0%, 100% { opacity: .15; } 50% { opacity: .75; } }
@keyframes pxBoom { from { stroke-dashoffset: 26; } 70%, to { stroke-dashoffset: -600; } }
@keyframes pxSpark { 0%, 64% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes pxTw { 0%, 100% { opacity: 0; } 50% { opacity: .95; } }

/* ═════════ B · DOS MUNDOS ═════════ */
.px[data-opt="b"] { --cut: 52%; }
.px[data-opt="b"] .px-media { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, calc(var(--cut) - 10%) 100%); transition: --cut .7s var(--ease-out); }
.px[data-opt="b"] .px-stage { --fx: .9; }
.px[data-opt="b"] .px-shade { background: linear-gradient(0deg, rgba(6,11,25,.85) 0%, rgba(6,11,25,0) 30%); }
.px[data-opt="b"] .px-circuit { opacity: 1; }
.px[data-opt="b"] .px-seam { display: block; }
.px-seam {
  display: none; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255,201,77,.75));
}
.px-seam::before {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  clip-path: polygon(var(--cut) 0, calc(var(--cut) + 5px) 0, calc(var(--cut) - 10% + 5px) 100%, calc(var(--cut) - 10%) 100%);
}
.px[data-opt="b"].is-in .px-media, .px[data-opt="b"].is-in .px-seam { animation: pxWipe 1.5s cubic-bezier(.7,0,.2,1) both; }
@keyframes pxWipe { from { --cut: 112%; } }
.px[data-opt="b"] .px-copy { max-width: 520px; }
.px[data-opt="b"] .px-actions { display: none; }
.px[data-opt="b"] .px-doors { display: grid; }
.px[data-opt="b"]:has(.px-door-mina:hover, .px-door-mina:focus-visible) { --cut: 44%; }
.px[data-opt="b"]:has(.px-door-auto:hover, .px-door-auto:focus-visible) { --cut: 60%; }

.px-doors { grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
.px-door {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 16px 44px 16px 18px; border-radius: var(--r-md);
  background: rgba(12,20,40,.85); border: 1px solid var(--border-strong);
  transition: border-color .2s, transform .2s, background .2s;
}
.px-door strong { font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.px-door span { font-size: 13px; color: var(--text-3); }
.px-door > i { position: absolute; right: 16px; top: 18px; font-size: 20px; transition: transform .2s; }
.px-door-auto > i { color: var(--primary); }
.px-door-mina > i { color: var(--gold); }
.px-door-auto:hover, .px-door-auto:focus-visible { border-color: var(--primary); transform: translateY(-2px); }
.px-door-mina:hover, .px-door-mina:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.px-door:hover > i { transform: translateX(3px); }
.px-door-mina { background: rgba(26,18,3,.7); border-color: rgba(255,201,77,.4); }

/* ═════════ C · ESCÁNER DIGITAL ═════════ */
.px[data-opt="c"] { background: radial-gradient(90% 80% at 80% 30%, #0d2347 0%, #081127 50%, var(--bg) 100%); }
.px[data-opt="c"] .px-circuit { opacity: 1; }
.px[data-opt="c"] .px-media {
  inset: 56px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 70px 50%;
  z-index: 1; border-radius: 18px; border: 1px solid rgba(76,203,255,.35);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 6px rgba(25,183,245,.05);
}
.px[data-opt="c"] .px-stage { --fx: .86; transform: none; }
.px[data-opt="c"] .px-shade { background: linear-gradient(0deg, rgba(6,11,25,.7) 0%, rgba(6,11,25,0) 26%); }
.px[data-opt="c"] .px-hud, .px[data-opt="c"] .px-stripes { display: none; }
.px[data-opt="c"] .px-copy { max-width: 520px; }
.px[data-opt="c"] .px-spots, .px[data-opt="c"] .px-panel-ui { display: block; }

/* Revelado: primero el plano en líneas, luego la foto.
   Después, cada pocos segundos una banda recorta la foto y deja ver el plano. */
.px[data-opt="c"] .px-lines { opacity: 1; }
.px[data-opt="c"] .px-img {
  -webkit-mask-image: linear-gradient(90deg, #000 0 42%, transparent 47% 53%, #000 58%);
  mask-image: linear-gradient(90deg, #000 0 42%, transparent 47% 53%, #000 58%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.px[data-opt="c"].is-in .px-img { animation: pxReveal 2.4s .5s cubic-bezier(.6,0,.3,1) both, pxBand 7s 3.2s linear infinite; }
@keyframes pxReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pxBand { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } 55%, to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.px-scanbar {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 2; pointer-events: none;
  background: #bdf0ff; box-shadow: 0 0 18px 4px rgba(76,203,255,.75); opacity: 0;
}
.px[data-opt="c"].is-in .px-scanbar { animation: pxBar1 2.4s .5s cubic-bezier(.6,0,.3,1) both, pxBar2 7s 3.2s linear infinite; }
@keyframes pxBar1 { from { left: 0; opacity: 1; } 96% { opacity: 1; } to { left: 100%; opacity: 0; } }
@keyframes pxBar2 { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 52% { opacity: 1; } 55%, to { left: 100%; opacity: 0; } }

/* Marco tipo monitor */
.px-panel-ui { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.px-panel-ui::before, .px-panel-ui::after {
  content: ''; position: absolute; width: 26px; height: 26px; border: 2px solid var(--cyan);
}
.px-panel-ui::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.px-panel-ui::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.px-panel-bar {
  position: absolute; top: 14px; left: 48px; right: 16px; display: flex; justify-content: space-between; gap: 12px;
  font: 500 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #bfe9ff;
}
.px-panel-bar b { color: var(--gold); font-weight: 500; }
.px-panel-bar .px-live::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); vertical-align: 1px; }

/* Puntos interactivos sobre el equipo */
.px-spots { position: absolute; inset: 0; z-index: 2; }
.px-spot {
  position: absolute; left: var(--x); top: var(--y); width: 0; height: 0;
  color: var(--text);
}
.px-dot {
  position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(6,11,25,.55); border: 2px solid var(--c, var(--cyan));
  box-shadow: 0 0 0 0 var(--c, var(--cyan));
}
.px-dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--c, var(--cyan)); }
.px.is-in .px-dot { animation: pxDot 2.4s ease-out infinite; }
@keyframes pxDot { 0% { box-shadow: 0 0 0 0 rgba(76,203,255,.6); } 100% { box-shadow: 0 0 0 16px rgba(76,203,255,0); } }
.px-spot::before { /* área táctil de 44 px */
  content: ''; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
}
.px-tip {
  position: absolute; left: 20px; top: -18px; white-space: nowrap;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(6,11,25,.9); border: 1px solid var(--c, var(--cyan));
  font-size: 13px; font-weight: 600; line-height: 1.3;
  opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.px-tip small { display: block; font-weight: 400; color: var(--text-3); font-size: 12px; }
.px-spot.is-left .px-tip { left: auto; right: 20px; transform: translateX(6px); }
.px-spot:hover .px-tip, .px-spot:focus-visible .px-tip, .px-spot.is-on .px-tip { opacity: 1; transform: none; }
.px-spot:hover, .px-spot:focus-visible, .px-spot.is-on { z-index: 2; }
.px-spot:focus-visible { outline: none; }
.px-spot:focus-visible .px-dot { outline: 3px solid var(--focus); outline-offset: 3px; }
.px-spot-gold { --c: var(--gold); }

/* ═════════ Pausa / fuera de pantalla ═════════ */
.px.is-paused *, .px.is-paused *::before, .px.is-paused *::after,
.px.is-off *, .px.is-off *::before, .px.is-off *::after { animation-play-state: paused !important; }

/* ═════════ Selector de opciones (solo en la demo) ═════════ */
.opt-bar {
  position: sticky; top: var(--nav-h); z-index: 90;
  background: rgba(12,20,40,.96); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.opt-bar .container { display: flex; align-items: center; gap: 10px; min-height: 44px; overflow-x: auto; }
.opt-bar p { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.opt-bar button {
  flex: none; min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: none; color: var(--text-2); font: 600 13px Inter, sans-serif; cursor: pointer;
}
.opt-bar button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.opt-bar small { color: var(--text-3); font-size: 12px; white-space: nowrap; margin-left: auto; }

/* ═════════ Celular / tablet ═════════ */
@media (max-width: 960px) {
  .px { display: block; min-height: 0; }
  .px-media { position: relative; inset: auto; height: clamp(250px, 64vw, 470px); z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .px-media { height: min(calc(100vw * 1.35 / 1.9505), 480px); }
  .px-stage { --fx: .8 !important; --z: 1.35;
    width: calc(100cqw * var(--z)); height: calc(100cqw * var(--z) / var(--ratio));
    left: calc((100cqw - 100cqw * var(--z)) * var(--fx)); top: calc((100cqh - 100cqw * var(--z) / var(--ratio)) * var(--fy)); }
  .px-content { padding-top: 0; margin-top: -28px; padding-bottom: 64px; }
  .px[data-opt="a"] .px-shade { background: linear-gradient(90deg, rgba(6,11,25,.55), rgba(6,11,25,0) 40%); }
  .px-stripes { width: 170px; height: 46px; }
  .px-stripes i:nth-child(1) { right: 78px; width: 80px; }
  .px-stripes i:nth-child(2) { right: 30px; width: 74px; }
  .px-stripes i:nth-child(3) { width: 30px; }
  .px-frame { display: none; }
  .px-pause { top: 12px; left: 12px; right: auto; bottom: auto; }
  .px[data-opt="c"] .px-pause { left: auto; right: calc(var(--gutter) + 8px); top: 24px; }

  /* B: el corte diagonal pasa a ser el borde inferior de la imagen */
  .px[data-opt="b"] .px-media { clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); -webkit-mask-image: none; mask-image: none; }
  .px[data-opt="b"].is-in .px-media, .px[data-opt="b"].is-in .px-seam { animation: pxDrop 1.2s cubic-bezier(.7,0,.2,1) both; }
  @keyframes pxDrop { from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } }
  .px[data-opt="b"] .px-seam { inset: 0 0 auto 0; height: min(calc(100vw * 1.35 / 1.9505), 480px); animation: none !important; }
  .px[data-opt="b"] .px-seam::before { clip-path: polygon(0 calc(100% - 5px), 100% calc(80% - 5px), 100% 80%, 0 100%); }
  .px[data-opt="b"] .px-content { margin-top: 8px; }
  .px[data-opt="b"] .px-circuit { opacity: .6; }

  /* C: el monitor arriba, con márgenes */
  .px[data-opt="c"] .px-media { position: relative; inset: auto; margin: 16px var(--gutter) 0; height: min(calc((100vw - 2 * var(--gutter)) * 1.35 / 1.9505), 460px); -webkit-mask-image: none; mask-image: none; }
  .px[data-opt="c"] .px-content { margin-top: 0; padding-top: 28px; }
  .px-tip { font-size: 12px; padding: 6px 10px; }
  .px-panel-bar { left: 44px; font-size: 10px; }
  .px-panel-bar span:last-child { display: none; }
}
@media (max-width: 560px) {
  .px-doors { grid-template-columns: 1fr; }
  .px-actions .btn { flex: 1 1 100%; justify-content: center; }
  .px-eyebrow { letter-spacing: .18em; font-size: 12px; }
}

/* ═════════ Movimiento reducido: estado final sin animación ═════════ */
@media (prefers-reduced-motion: reduce) {
  .px *, .px *::before, .px *::after { animation: none !important; transition: none !important; }
  .px-stage { transform: none !important; }
  .hud-hex { opacity: .45; } .hud-light { opacity: .9; } .hud-node { opacity: .6; }
  .hud-trace, .hud-boom, .hud-ping, .hud-spark, .hud-tw, .hud-sweep { display: none; }
  .px[data-opt="c"] .px-img { -webkit-mask-image: none; mask-image: none; }
  .px-scanbar { display: none; }
}

/* ══════════════ Inicio: todas las marcas ══════════════ */
.brand-groups { display: grid; gap: 40px; }
.brand-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.brand-group-head h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.brand-group-head h3 i { font-size: 22px; color: var(--primary); }
.brand-group-mina .brand-group-head h3 i { color: var(--gold); }
.brand-group-head a { font-size: var(--fs-sm); }
.brand-count { font-size: 13px; color: var(--text-3); }
.brand-group-mina .brand-card { background: linear-gradient(180deg, rgba(255,201,77,.05), rgba(255,201,77,0)), var(--bg); }

/* Banda de dos tiendas */
.store-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.store-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 210px;
  padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg);
  transition: border-color .2s, transform .2s;
}
.store-tile h3 { font-size: 24px; }
.store-tile p { color: var(--text-2); max-width: 420px; }
.store-tile .link-arrow { margin-top: auto; }
.store-tile::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(25,183,245,.22), transparent 70%);
}
.store-tile-mina::after { background: radial-gradient(circle, rgba(255,201,77,.2), transparent 70%); }
.store-tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.store-tile-mina:hover { border-color: var(--gold); }
.store-tile-mina .link-arrow { color: var(--gold); }
@media (max-width: 760px) { .store-duo { grid-template-columns: 1fr; } }
