/* ==================================================================
   EQUIS MARKET — motion.css
   Estilos de las nuevas experiencias (menú fullscreen, minicart,
   galería horizontal, cortina de página, fly-to-cart, ambiental,
   split de titulares). Depende de tokens de app.css.
   ================================================================== */

/* ---- Botón de menú ---- */
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, .02); display: grid; place-content: center; gap: 5px; color: var(--text); }
.menu-btn span { display: block; width: 18px; height: 1.6px; background: currentColor; transition: transform .35s var(--e-out), opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* ---- Scrim ---- */
.eqx-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(5, 6, 8, .6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s var(--e-out), visibility .4s; }
.eqx-scrim.show { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ---- Menú fullscreen ---- */
.eqx-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--e-inout), visibility .75s; }
.eqx-menu.open { visibility: visible; pointer-events: auto; clip-path: inset(0 0 0% 0); }
.eqx-menu-bg { position: absolute; inset: 0; background: radial-gradient(1200px 700px at 80% -10%, rgba(70, 80, 100, .16), transparent 60%), linear-gradient(180deg, #0c0d10, #0a0a0b); border-bottom: 1px solid var(--line); }
.eqx-menu-inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.5fr .85fr; gap: 2.4rem; align-items: center; padding-top: 84px; padding-bottom: 40px; }
.eqx-menu-nav { display: flex; flex-direction: column; gap: .1rem; }
.eqx-menu-nav a { display: flex; align-items: baseline; gap: 1.1rem; font-size: clamp(2.2rem, 7vw, 5rem); font-weight: 680; letter-spacing: -.035em; line-height: 1.12; color: var(--text); }
.eqx-menu-nav a i { font-style: normal; font-size: .8rem; color: var(--faint); font-family: var(--mono, monospace); flex-shrink: 0; }
.eqx-menu-nav a span { display: inline-block; transition: transform .5s var(--e-out), color .3s; }
.eqx-menu-nav a:hover span, .eqx-menu-nav a:focus-visible span { transform: translateX(16px); color: var(--brand); }
.eqx-menu-side { border-left: 1px solid var(--line); padding-left: 2.2rem; }
.eqx-menu-side h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.eqx-menu-cats { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 1.6rem; }
.eqx-menu-cats a { display: flex; align-items: center; justify-content: space-between; padding: .7rem .2rem; color: var(--muted); border-bottom: 1px solid var(--line); transition: color .2s, padding .3s var(--e-out); }
.eqx-menu-cats a:hover { color: var(--text); padding-left: .6rem; }
.eqx-menu-cats em { font-style: normal; color: var(--faint); font-family: var(--mono, monospace); font-size: .85rem; }
@media (max-width: 820px) { .eqx-menu-inner { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; overflow: auto; } .eqx-menu-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.4rem; } }

/* ---- Minicart ---- */
.eqx-minicart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(420px, 92vw); background: #0e0f12; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--e-inout); box-shadow: -30px 0 60px rgba(0, 0, 0, .5); }
.eqx-minicart.open { transform: none; }
.mc-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.mc-head b { font-size: 1.05rem; }
.mc-close { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 8px; background: none; color: var(--muted); }
.mc-close:hover { color: var(--text); }
.mc-body { flex: 1; overflow: auto; padding: 1rem 1.3rem; display: flex; flex-direction: column; gap: .8rem; }
.mc-empty { color: var(--muted); text-align: center; padding: 2rem 0; }
.mc-item { display: flex; align-items: center; gap: .8rem; }
.mc-ic { width: 44px; height: 44px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; flex-shrink: 0; }
.mc-ic .brand-logo { width: 22px; height: 22px; filter: none; }
.mc-ic .mono { font-size: .9rem; }
.mc-tx { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mc-tx b { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-tx small { color: var(--muted); font-size: .8rem; }
.mc-rm { background: none; border: 0; color: var(--faint); font-size: 1rem; cursor: pointer; }
.mc-rm:hover { color: var(--danger); }
.mc-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.mc-total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.mc-total b { font-weight: 700; }
.mc-demo { font-size: .72rem; color: var(--faint); line-height: 1.4; }

/* ---- Galería horizontal ---- */
.hgal { padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; }
.hgal .section-head { margin-bottom: 2rem; }
.hgal-viewport { overflow-x: auto; scrollbar-width: none; }
.hgal-viewport::-webkit-scrollbar { display: none; }
.hgal-track { display: flex; gap: 1.2rem; padding: 0 var(--gutter); width: max-content; }
.hgal-panel { position: relative; overflow: hidden; flex-shrink: 0; width: min(420px, 80vw); min-height: 340px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem; transition: border-color .3s, transform .3s var(--e-out); }
.hgal-panel:hover { border-color: var(--line-2); transform: translateY(-4px); }
.hgal-ghost { position: absolute; top: -6px; right: -6px; color: #fff; opacity: .05; transform: scale(6); transform-origin: top right; pointer-events: none; }
.hgal-ghost svg { width: 42px; height: 42px; }
.hgal-in { position: relative; z-index: 1; }
.hgal-in .cat-ico { width: 52px; height: 52px; margin-bottom: 1rem; }
.hgal-in h3 { font-size: 1.9rem; font-weight: 640; letter-spacing: -.02em; }
.hgal-in p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.hgal-logos { display: flex; gap: .8rem; margin: 1.2rem 0; }
.hgal-logos img { width: 26px; height: 26px; object-fit: contain; opacity: .55; }

/* ---- Split de titulares (líneas/palabras) ---- */
.split .m-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.split .m-word > span { display: inline-block; will-change: transform; }

/* ---- Cortina de transición ---- */
/* Cortina de transición: pseudo-elemento, cubre de inmediato sin depender de JS/GSAP */
html.eqx-cur::before {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background: #0a0a0b url("../assets/equis-logo.png") center / 44px no-repeat;
  transform: translateY(var(--cy, 100%));
  transition: transform .6s cubic-bezier(.76, 0, .24, 1);
}

/* ---- Fly-to-cart ---- */
.fly-clone { position: fixed; z-index: 1250; border-radius: 10px; pointer-events: none; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; }
.fly-clone img { width: 58%; filter: none; }
.fly-clone .mono { font-family: inherit; font-weight: 700; color: var(--accent-2); }
.icon-btn.bump { animation: cbump .5s var(--e-out); }
@keyframes cbump { 0%, 100% { transform: none; } 30% { transform: scale(1.18); } }

/* ---- Fondo ambiental ---- */
.eqx-amb { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .6; }

/* ==================================================================
   HOME — Escenas cinemáticas (Checkpoint 1)
   Namespaces propios: .ehero / .hwx / .hcx / .hfx
   ================================================================== */

/* ---------- 1 · HERO — tipografía monumental centrada ---------- */
.hz { position: relative; min-height: calc(100svh - 110px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; padding: clamp(2rem, 5vh, 3.4rem) 0 clamp(1.4rem, 3vh, 2.2rem); text-align: center; }
.hz-amb { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(1000px 700px at 50% 34%, rgba(142,163,204,.14), transparent 62%), radial-gradient(1200px 600px at 50% 120%, rgba(120,110,150,.10), transparent 60%); }
/* Símbolo Equis central (objeto protagonista, detrás del titular) */
.hz-symbol { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.hz-symbol img { position: absolute; width: min(42vw, 560px); opacity: .14; filter: grayscale(1) brightness(1.6) drop-shadow(0 30px 80px rgba(0,0,0,.6)); }
.hz-ring { position: absolute; width: min(78vh, 760px); height: min(78vh, 760px); border: 1px solid var(--line-2); border-radius: 50%; opacity: .32; }
.hz-ring2 { width: min(104vh, 1000px); height: min(104vh, 1000px); opacity: .16; border-style: dashed; }
.hz-inner { grid-row: 1; align-self: center; justify-self: center; position: relative; z-index: 3; width: min(1180px, 92vw);
  padding: .5rem 0; }
.hz-inner::before { content: ""; position: absolute; inset: -8% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 58% at 50% 46%, rgba(9,9,10,.78), rgba(9,9,10,.35) 60%, transparent 78%); }
.hz-kicker { overflow: hidden; margin: 0 0 1.1rem; }
.hz-kicker span { display: inline-block; font-size: .76rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hz-title { margin: 0; font-weight: 800; line-height: .9; letter-spacing: -.04em; font-size: clamp(2.6rem, 7vw, 7rem); }
.eh-line { display: block; overflow: hidden; padding-bottom: .05em; }
.eh-line > span { display: block; }
.eh-key > span { background: linear-gradient(96deg, var(--text) 0%, var(--brand) 60%, #cfd6e6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hz-sub { max-width: 52ch; margin: 1.3rem auto 0; color: var(--muted); font-size: clamp(1.02rem, 1.35vw, 1.24rem); line-height: 1.5; }
.hz-actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.6rem; }
.hz-actions .btn { font-size: 1.02rem; padding: .95rem 1.7rem; }
.hz-search { display: flex; align-items: center; gap: .5rem; margin: 1.2rem auto 0; width: min(560px, 92vw); padding: .4rem .4rem .4rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(8px); }
.hz-search .is-ico { display: grid; place-items: center; color: var(--muted); }
.hz-search .is-ico svg { width: 18px; height: 18px; }
.hz-search input { flex: 1; border: 0; background: transparent; color: var(--text); font: inherit; padding: .6rem 0; outline: none; text-align: left; }
.hz-search input::placeholder { color: var(--muted); }
/* Marquesina de marcas reales (catálogo vivo) */
.hz-ticker { grid-row: 2; position: relative; z-index: 2; margin-top: clamp(1.2rem, 3vh, 2rem); overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hz-ticker-row { display: flex; align-items: center; gap: clamp(2.2rem, 4.5vw, 3.8rem); width: max-content; animation: hzmarq 34s linear infinite; }
.hz-ticker-row img { width: 30px; height: 30px; opacity: .62; filter: grayscale(1) brightness(1.15); transition: opacity .3s; }
.hz:hover .hz-ticker-row { animation-play-state: paused; }
@keyframes hzmarq { to { transform: translateX(-50%); } }
.hz-scroll { position: absolute; z-index: 3; bottom: clamp(1.4rem, 4vh, 2.6rem); left: 50%; transform: translateX(-50%); display: none; }

/* ---------- 2·3 · CÓMO FUNCIONA (sticky) ---------- */
.hwx { position: relative; background: var(--bg); }
.hwx-pin { display: flex; flex-direction: column; justify-content: center; padding: clamp(3.5rem, 8vh, 5rem) 0; overflow: hidden; }
.hwx.is-pinned .hwx-pin { min-height: 100svh; }
.hwx-amb { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .8; transition: background .6s var(--e-out);
  background: radial-gradient(1000px 620px at 20% 30%, rgba(142,163,204,.12), transparent 60%); }
.hwx[data-step="1"] .hwx-amb { background: radial-gradient(1000px 620px at 70% 20%, rgba(120,150,150,.13), transparent 60%); }
.hwx[data-step="2"] .hwx-amb { background: radial-gradient(1000px 620px at 30% 70%, rgba(150,130,110,.13), transparent 60%); }
.hwx[data-step="3"] .hwx-amb { background: radial-gradient(1000px 620px at 75% 75%, rgba(120,160,130,.13), transparent 60%); }
.hwx-inner { position: relative; z-index: 2; width: 100%; }
.hwx-head { margin-bottom: clamp(1.4rem, 4vh, 2.6rem); }
.hwx-head .eyebrow { color: var(--muted); }
.hwx-h { margin: .4rem 0 0; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; max-width: 18ch; }
.hwx-stage { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(1.5rem,5vw,4.5rem); align-items: center; }
.hwx-visual { position: relative; display: grid; place-items: center; min-height: 42vh; }
.hwx-num { position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%,-50%); font-weight: 800; font-size: clamp(9rem, 26vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; }
.hwx-num span { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .5s var(--e-out), transform .6s var(--e-out); transform: translateY(12px); }
.hwx[data-step="0"] .hwx-num span[data-n="0"],
.hwx[data-step="1"] .hwx-num span[data-n="1"],
.hwx[data-step="2"] .hwx-num span[data-n="2"],
.hwx[data-step="3"] .hwx-num span[data-n="3"] { opacity: 1; transform: none; }
.hwx-card { position: relative; z-index: 2; width: min(84%, 360px); aspect-ratio: 4/3.2; border-radius: 20px; overflow: hidden;
  background: linear-gradient(155deg, #1d1f24, #101116); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -34px rgba(0,0,0,.85);
  transition: transform .6s var(--e-out); }
.hwx-face { position: absolute; inset: 0; padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; opacity: 0; transform: scale(.96); transition: opacity .5s var(--e-out), transform .6s var(--e-out); }
.hwx[data-step="0"] .hwx-face[data-f="0"],
.hwx[data-step="1"] .hwx-face[data-f="1"],
.hwx[data-step="2"] .hwx-face[data-f="2"],
.hwx[data-step="3"] .hwx-face[data-f="3"] { opacity: 1; transform: none; }
.hwx-face svg { width: 15px; height: 15px; flex: 0 0 auto; }
.hwx-face h4 { margin: 0; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hwx-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.hwx-mini i { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: .7rem; color: var(--muted); }
.hwx-mini i.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); color: var(--text); }
.hwx-terms { display: flex; flex-direction: column; gap: .55rem; margin-top: .2rem; }
.hwx-terms div { display: flex; justify-content: space-between; gap: 1rem; font-size: .84rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.hwx-terms span { color: var(--muted); } .hwx-terms b { font-weight: 600; text-align: right; }
.hwx-sum { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; }
.hwx-pill { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; font-size: .74rem; padding: .45rem .8rem; border-radius: var(--radius-pill); border: 1px solid var(--line-2); color: var(--text); }
.hwx-pill svg { color: var(--brand); }
.hwx-big { font-size: 1.4rem; font-weight: 800; }
.hwx-deliver { flex: 1; display: grid; place-items: center; text-align: center; gap: .6rem; }
.hwx-deliver .dico { width: 54px; height: 54px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--brand); }
.hwx-deliver .dico svg { width: 24px; height: 24px; }
.hwx-copy { position: relative; min-height: 12rem; }
.hwx-step { display: flex; flex-direction: column; gap: .8rem; }
.hwx-step .stepnum { font-size: .8rem; letter-spacing: .2em; color: var(--brand); font-weight: 700; }
.hwx-step h3 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
.hwx-step p { margin: 0; color: var(--muted); font-size: clamp(1rem,1.3vw,1.14rem); line-height: 1.55; max-width: 42ch; }
.hwx-prog { margin-top: clamp(1.6rem,4vh,2.6rem); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hwx-prog i { display: block; height: 100%; width: 0; background: var(--brand); }
/* Modo pinned: sólo el paso activo visible */
.hwx.is-pinned .hwx-copy { min-height: 14rem; }
.hwx.is-pinned .hwx-step { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: opacity .5s var(--e-out), transform .6s var(--e-out); pointer-events: none; }
.hwx.is-pinned[data-step="0"] .hwx-step[data-s="0"],
.hwx.is-pinned[data-step="1"] .hwx-step[data-s="1"],
.hwx.is-pinned[data-step="2"] .hwx-step[data-s="2"],
.hwx.is-pinned[data-step="3"] .hwx-step[data-s="3"] { opacity: 1; transform: none; pointer-events: auto; }
/* Sin pin (móvil / reduced): lista limpia, sin número gigante */
.hwx:not(.is-pinned) .hwx-visual { display: none; }
.hwx:not(.is-pinned) .hwx-stage { grid-template-columns: 1fr; }
.hwx:not(.is-pinned) .hwx-copy { display: grid; gap: 2.4rem; min-height: 0; }
.hwx:not(.is-pinned) .hwx-face { position: static; opacity: 1; transform: none; }

/* ---------- 6 · CATEGORÍAS HORIZONTALES ---------- */
.hcx { position: relative; background: var(--bg); }
.hcx-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.2rem,3vh,2rem); overflow: hidden; padding: clamp(3rem, 7vh, 4rem) 0; }
.hcx.is-hpin .hcx-pin { min-height: 100svh; }
.hcx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hcx-head .eyebrow { color: var(--muted); }
.hcx-lead { margin: .3rem 0 0; color: var(--muted); font-size: clamp(1rem,1.4vw,1.2rem); }
.hcx-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.hcx-viewport::-webkit-scrollbar { display: none; }
.hcx-track { display: flex; gap: clamp(1rem,2vw,1.8rem); padding: 0 var(--gutter); will-change: transform; }
.hcx-panel { position: relative; flex: 0 0 auto; width: min(70vw, 620px); aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%); border: 1px solid var(--line); padding: clamp(1.4rem,3vw,2.6rem);
  display: flex; flex-direction: column; justify-content: flex-end; transform: scale(.9); opacity: .5; transition: transform .5s var(--e-out), opacity .5s var(--e-out), border-color .5s var(--e-out); }
.hcx-panel.active { transform: scale(1); opacity: 1; border-color: var(--line-2); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.hcx-ghost { position: absolute; top: -8%; right: -4%; width: 46%; color: var(--line-2); opacity: .5; pointer-events: none; transition: transform .6s var(--e-out); }
.hcx-panel.active .hcx-ghost { transform: translateY(6%) scale(1.06); }
.hcx-ghost svg { width: 100%; height: 100%; }
.hcx-ico { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--brand); margin-bottom: auto; }
.hcx-ico svg { width: 22px; height: 22px; }
.hcx-name2 { margin: 1rem 0 .2rem; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.hcx-count2 { color: var(--muted); font-size: .95rem; }
.hcx-logos { display: flex; gap: .7rem; margin: 1rem 0; min-height: 22px; align-items: center; }
.hcx-logos img { width: 22px; height: 22px; opacity: .7; }
.hcx-go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.hcx-go svg { width: 16px; height: 16px; }
.hcx-nav { display: flex; align-items: center; gap: 1rem; padding: 0 var(--gutter); }
.hcx-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .3s; }
.hcx-nav button:hover { background: var(--surface-2); }
.hcx-nav button:disabled { opacity: .3; cursor: default; }
.hcx-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hcx-bar i { display: block; height: 100%; width: 12%; background: var(--brand); transition: width .3s var(--e-out), transform .1s linear; }

/* ---------- 7 · PRODUCTOS DESTACADOS (protagonista) ---------- */
.hfx { position: relative; padding: clamp(4rem,10vh,8rem) 0; }
.hfx-head { margin-bottom: clamp(1.6rem,4vh,3rem); }
.hfx-head .eyebrow { color: var(--muted); }
.hfx-h { margin: .4rem 0 0; font-size: clamp(2rem,4.4vw,3.6rem); font-weight: 800; letter-spacing: -.025em; }
.hfx-stage { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: stretch; }
.hfx-hero { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.2rem,3vw,2.4rem); align-items: center; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; padding: clamp(1.6rem,3.5vw,3rem);
  background: radial-gradient(120% 130% at 15% 0%, var(--fx, rgba(142,163,204,.16)), transparent 60%), linear-gradient(160deg, var(--surface), var(--bg)); transition: background .6s var(--e-out); }
.hfx-media { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; transition: transform .5s var(--e-out), opacity .4s var(--e-out); }
.hfx-media img { width: 46%; }
.hfx-media .mono { font-size: 3rem; font-weight: 800; color: var(--brand); }
.hfx-info { display: flex; flex-direction: column; gap: .5rem; transition: transform .5s var(--e-out), opacity .4s var(--e-out); }
.hfx-cat { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hfx-name { margin: 0; font-size: clamp(1.6rem,2.6vw,2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.hfx-price { font-size: clamp(1.4rem,2.2vw,2rem); font-weight: 700; }
.hfx-price small { font-size: .8rem; color: var(--muted); font-weight: 500; margin-right: .35rem; }
.hfx-hero.swap .hfx-media, .hfx-hero.swap .hfx-info { opacity: 0; transform: translateY(14px); }
.hfx-cta-row { margin-top: .6rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.hfx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; overflow: auto; max-height: 460px; }
.hfx-thumb { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: .7rem .8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .3s, background .3s, transform .3s; font: inherit; }
.hfx-thumb:hover { transform: translateX(3px); background: var(--surface-2); }
.hfx-thumb.active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.hfx-thumb .th-ic { width: 40px; height: 40px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; }
.hfx-thumb .th-ic img { width: 56%; } .hfx-thumb .th-ic .mono { font-weight: 700; color: var(--brand); }
.hfx-thumb .th-tx { display: flex; flex-direction: column; min-width: 0; }
.hfx-thumb .th-tx b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hfx-thumb .th-tx small { color: var(--muted); font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hz-symbol img { width: min(64vw, 360px); }
  .hwx-stage { grid-template-columns: 1fr; }
  .hfx-stage { grid-template-columns: 1fr; }
  .hfx-hero { grid-template-columns: 1fr; }
  .hfx-list { flex-direction: row; max-height: none; }
  .hfx-thumb { flex: 0 0 auto; width: 220px; }
}
@media (max-width: 640px) {
  .hcx-panel { width: 82vw; }
  .hz-title { font-size: clamp(2.5rem, 12vw, 4rem); }
}

/* ---------- Reduced motion — nuevas escenas ---------- */
@media (prefers-reduced-motion: reduce) {
  .hz-ticker-row { animation: none; }
  .hcx-panel { transform: none; opacity: 1; }
  .hwx-face, .hwx-num span, .hwx-step { transition: none; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .eqx-menu { transition: visibility .01ms; clip-path: none; }
  .eqx-minicart { transition: transform .01ms; }
  html.eqx-cur::before, .fly-clone { display: none !important; }
  .menu-btn span, .eqx-menu-nav a span { transition: none; }
  .eqx-amb { transition: none !important; }
}
