/* Inicio · hero con el ciclo en vivo, el panel que se enciende con el scroll,
   el problema en carrusel, qué hace NexoPrice y emparejado sin EAN. */

.home {
  --home-red: #b3261e;
  --home-red-wash: #fdf1f0;
  --home-amber: #b4540a;
  --home-dark-1: #1b1f22;
  --home-dark-2: #202427;
  --home-dark-3: #33373b;
  background: var(--ink);
}

/* ---- Cabecera sobre el hero oscuro ------------------------------------- */
/* Transparente arriba; al hacer scroll (motion.js añade .is-scrolled) pasa a oscura.
   inicio.js añade .is-hidden mientras dura la animación del panel. */
.site-header--overlay {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .3s, border-color .3s, box-shadow .3s, opacity .5s var(--ease), transform .5s var(--ease);
}
.site-header--overlay .site-header__inner { min-height: 66px; }
.site-header--overlay.is-scrolled {
  background: rgba(20, 23, 26, .9); border-bottom-color: var(--dark-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header--overlay.is-hidden { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.site-header--overlay .site-nav { color: #c8cacc; }
.site-header--overlay .site-header__login { color: var(--muted-2); }
.site-header--overlay .btn--primary:hover { background: var(--white); color: var(--ink); }
.site-header--overlay .nav-toggle { color: var(--white); border-color: var(--dark-line-2); }
@media (max-width: 900px) {
  .site-header--overlay.is-open { background: rgba(20, 23, 26, .97); border-bottom-color: var(--dark-line); }
  .site-header--overlay .site-nav { background: var(--ink); border-bottom-color: var(--dark-line); }
  .site-header--overlay .site-nav a { border-bottom-color: var(--dark-line); }
}

.home-accent { color: var(--orange); }

/* ---- Hero -------------------------------------------------------------- */
.home-hero {
  background: var(--ink); color: var(--white); position: relative; overflow: hidden;
  margin-top: -67px; padding-top: 67px;
}
.home-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 20%, transparent 75%);
}
.home-hero__inner { max-width: 1200px; margin: 0 auto; padding: 88px 24px 0; position: relative; }
.home-hero__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: start;
}
.home-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2);
}
.home-eyebrow__line { width: 26px; height: 1px; background: var(--orange); display: block; flex: none; }
.home-hero__title {
  margin-top: 26px; font-size: clamp(40px, 5.6vw, 82px); line-height: .99; letter-spacing: -.035em; font-weight: 700;
  text-wrap: balance;
}
.home-hero__lead { margin-top: 28px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted-3); max-width: 30em; }
.home-hero__ctas { margin-top: 38px; }
.home-btn-ghost:hover { background: #ffffff0f; }
.home-hero__note { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }

/* Ciclo de descubrimiento en vivo */
.feed {
  min-width: 0; background: var(--home-dark-1); border: 1px solid var(--home-dark-3); border-radius: 5px; overflow: hidden;
  box-shadow: 0 40px 80px -50px #000;
}
.feed__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-bottom: 1px solid var(--home-dark-3); background: var(--home-dark-2);
}
.feed__title { font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--muted-2); }
.feed__status { display: flex; align-items: center; gap: 7px; flex: none; }
.feed__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: block;
  animation: np-blink 1.4s steps(1) infinite;
}
.feed__clock { font-family: var(--mono); font-size: 11px; color: var(--orange); white-space: nowrap; }
.feed__sweep { position: relative; height: 3px; background: var(--dark-line); overflow: hidden; }
.feed__sweep span {
  position: absolute; inset: 0; width: 30%; display: block;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: np-sweep 2.2s linear infinite;
}
.feed__query { padding: 18px 16px 6px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.feed__cmd { color: var(--white); }
.feed__rows { padding: 0 16px 14px; min-height: 286px; }
.feed-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--dark-line); animation: np-in .45s both;
}
.feed-row__dom {
  font-family: var(--mono); font-size: 13px; color: #e6e7e8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.feed-row__price { font-family: var(--mono); font-size: 13px; color: var(--muted-3); white-space: nowrap; }
.feed-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .07em; padding: 4px 8px; border-radius: 2px; white-space: nowrap;
  background: #ffffff0f; color: var(--muted-2);
}
.feed-tag--new { background: #ff66001f; color: var(--orange-soft); }
.feed__foot {
  padding: 14px 16px; border-top: 1px solid var(--home-dark-3); background: var(--home-dark-2);
  font-family: var(--mono); font-size: 12px; color: var(--muted-2);
}
.feed__found { color: var(--orange); }

@keyframes np-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes np-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }
@keyframes np-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }

/* Cifras */
.home-stats {
  margin-top: 80px; border-top: 1px solid var(--dark-line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.home-stat { padding: 26px 24px 30px; border-right: 1px solid var(--dark-line); }
.home-stat:first-child { padding-left: 0; }
.home-stat:last-child { border-right: 0; }
.home-stat__num {
  font-family: var(--mono); font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1;
  color: var(--white);
}
.home-stat__label {
  margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2);
}
.home-stats__note { padding: 12px 0 36px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
@media (max-width: 720px) {
  .home-stats { grid-template-columns: 1fr; }
  .home-stat, .home-stat:first-child { padding: 22px 0 24px; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .home-stat:last-child { border-bottom: 0; }
}

/* ---- El panel que se enciende y se acerca ------------------------------ */
/* inicio.js mueve el marco según el scroll. overflow-x: clip (no hidden) para no
   romper el position: sticky del escenario y evitar scroll horizontal en móvil. */
.zoom { position: relative; z-index: 2; height: 420vh; background: var(--ink); overflow-x: clip; }
.zoom__stage {
  position: sticky; top: 0; height: 100vh; overflow: visible;
  display: flex; align-items: center; justify-content: center; background: var(--ink);
}
.zoom__frame {
  position: relative; flex: 0 0 auto; transform-origin: center center;
  padding: 16px; background: #0b0d0f; border: 1px solid #3a3e42; border-radius: 18px;
  box-shadow: 0 0 0 1px #000, 0 80px 140px -60px #000;
}
.zoom__cam, .zoom__led { position: absolute; left: 50%; border-radius: 50%; background: var(--dark-line); display: block; }
.zoom__cam { top: 6px; width: 5px; height: 5px; margin-left: -2.5px; }
.zoom__led { bottom: 5px; width: 4px; height: 4px; margin-left: -2px; transition: background .4s, box-shadow .4s; }
.zoom__led.is-on { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.zoom__screen {
  position: relative; width: 1440px; height: 900px; overflow: hidden; border-radius: 4px; background: var(--paper);
  display: grid; grid-template-columns: 248px minmax(0, 1fr);
}
.zoom__off { position: absolute; inset: 0; z-index: 5; background: #060708; pointer-events: none; }
html:not(.js) .zoom__off { display: none; }
.zoom__sheen {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 28%, transparent 46%);
}
.zoom__glow {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  background: var(--white); box-shadow: 0 0 40px 8px rgba(255, 255, 255, .55); opacity: 0; transform: scaleX(0);
}

.zoom__slogan {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; text-align: center; padding: 24px; opacity: 0; pointer-events: none;
  background: rgba(20, 23, 26, .82); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.zoom__slogan-kicker { font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--orange-soft); }
.zoom__slogan-title {
  font-size: clamp(34px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.034em; font-weight: 700; color: var(--white);
  max-width: 18em; text-wrap: balance;
}
.zoom__slogan-text { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.5; color: var(--muted-3); max-width: 30em; }
.zoom__title {
  position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 24px; text-align: center;
  pointer-events: none;
}
.zoom__title-h {
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.034em; font-weight: 700; color: var(--white);
  max-width: 18em; text-wrap: balance;
}
.zoom__title-p { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; color: var(--muted-3); max-width: 34em; }
.zoom__hint {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--muted);
}
/* Movimiento reducido: el panel se ve quieto y encendido (inicio.js añade .zoom--static). */
.zoom--static { height: auto; }
.zoom--static .zoom__stage { position: static; height: auto; padding: 64px 24px; flex-direction: column; gap: 40px; }
.zoom--static .zoom__title { position: static; order: -1; transform: none; }
.zoom--static .zoom__hint { display: none; }

/* Panel (maqueta 1440×900) */
.dash-side { background: var(--ink); color: var(--white); padding: 18px 0 28px; display: flex; flex-direction: column; gap: 20px; }
.dash-side__logo { padding: 4px 18px 0; }
.dash-side__logo img { height: 21px; width: auto; display: block; }
.dash-side__nav { display: flex; flex-direction: column; gap: 18px; }
.dash-side__group { padding: 0 18px 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.dash-item {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  padding: 7px 18px; font-size: 13.5px; color: var(--muted-3); border-left: 2px solid transparent;
}
.dash-item--active { color: var(--white); background: #22262a; border-left-color: var(--orange); font-weight: 600; }
.dash-item__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-item__role { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.dash-item__badge {
  font-family: var(--mono); font-size: 10px; font-weight: 600; background: var(--orange); color: var(--white);
  padding: 2px 6px; border-radius: 2px;
}
.dash-side__user {
  margin-top: auto; padding: 16px 18px 0; border-top: 1px solid var(--dark-line);
  display: flex; flex-direction: column; gap: 8px;
}
.dash-side__name { font-size: 13px; font-weight: 500; }
.dash-side__mail { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dash-side__links { display: flex; gap: 10px; font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.dash-side__links span { border-bottom: 1px solid var(--dark-line-2); }

.dash-main { min-width: 0; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
.dash-top {
  background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.dash-top__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dash-tenant {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 3px;
  padding: 7px 12px; background: var(--white);
}
.dash-tenant__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: block; }
.dash-tenant__name { font-size: 13px; font-weight: 600; white-space: nowrap; }
.dash-tenant__slug { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dash-tenant__caret { font-size: 10px; color: var(--muted); }
.dash-role {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; background: var(--ink); color: var(--white);
  padding: 4px 8px; border-radius: 2px; white-space: nowrap;
}
.dash-top__right { display: flex; align-items: center; gap: 10px; }
.dash-top__target { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.dash-top__help {
  font-size: 13px; font-weight: 500; border: 1px solid var(--line-2); border-radius: 3px; padding: 7px 12px; color: var(--ink-2);
}
.dash-body { padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.dash-head__text { min-width: 0; }
.dash-head__crumb { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--muted); }
.dash-head__rol { background: var(--chip); color: var(--ink-2); padding: 2px 7px; border-radius: 2px; }
.dash-head__title { margin-top: 10px; font-size: 27px; letter-spacing: -.025em; font-weight: 700; }
.dash-head__desc { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.dash-head__actions { display: flex; gap: 8px; }
.dash-btn {
  font-size: 13px; font-weight: 500; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2);
  border-radius: 3px; padding: 9px 14px; white-space: nowrap;
}
.dash-filters {
  display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 12px 14px;
}
.dash-filters__label { font-family: var(--mono); font-size: 10px; letter-spacing: .09em; color: var(--muted); margin-right: 4px; }
.dash-chip {
  font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--line); color: var(--ink-2);
  border-radius: 2px; padding: 6px 10px; white-space: nowrap;
}
.dash-chip--on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dash-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dash-kpi { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 16px 16px 18px; }
.dash-kpi--red { border-color: #f0c9c4; }
.dash-kpi--amber { border-color: #f3d9cc; }
.dash-kpi__num { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.dash-kpi__num--green { color: var(--green); }
.dash-kpi__num--red { color: var(--home-red); }
.dash-kpi__num--amber { color: var(--home-amber); }
.dash-kpi__label { margin-top: 9px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.dash-chart {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.dash-chart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dash-chart__title { font-size: 16px; font-weight: 600; }
.dash-chart__meta { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dash-chart__delta { color: var(--green); font-weight: 600; }
.dash-chart__plot { position: relative; height: 170px; }
.dash-chart__lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
.dash-chart__lines span { height: 1px; background: var(--line-soft); display: block; }
.dash-chart__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 10px; }
.dash-bar { flex: 1; display: block; height: 0; border-radius: 2px 2px 0 0; }
.dash-bar--1 { background: #d8d5cf; }
.dash-bar--2 { background: #c9c5be; }
.dash-bar--3 { background: #ffb27a; }
.dash-bar--4 { background: #ffa261; }
.dash-bar--5 { background: #ff8c3d; }
.dash-bar--6 { background: #ff7a1f; }
.dash-bar--7 { background: #ff6600; }
.dash-chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dash-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.dash-list { background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.dash-list__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.dash-list__title { font-size: 15px; font-weight: 600; }
.dash-list__meta { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.dash-li {
  padding: 13px 16px; border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
}
.dash-li__main { min-width: 0; }
.dash-li__name { font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-li__sub {
  margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dash-li__side { text-align: right; }
.dash-li__val { font-family: var(--mono); font-size: 13px; font-weight: 600; white-space: nowrap; }
.dash-li__val--green { color: var(--green); }
.dash-li__val--red { color: var(--home-red); }
.dash-li__val--amber { color: var(--home-amber); }

/* ---- El problema: carrusel horizontal (assets/js/hscroll.js) ----------- */
/* hscroll.js añade .hs--live en pantallas anchas sin movimiento reducido. */
.home-hs { position: relative; background: var(--white); }
.home-hs.hs--live { height: 420vh; }
.home-hs__stage { display: flex; flex-direction: column; gap: clamp(18px, 4vh, 40px); padding: 96px 0; }
.hs--live .home-hs__stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden; justify-content: center; padding: 67px 0 0;
}
.home-hs__head { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.home-hs__kicker { font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--home-red); }
.home-hs__title {
  margin-top: 14px; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.02; letter-spacing: -.033em; font-weight: 700;
  color: var(--ink); text-wrap: balance;
}
.home-hs__progress { display: none; align-items: center; gap: 14px; }
.hs--live .home-hs__progress { display: flex; }
.home-hs__count { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.home-hs__bar { width: 120px; height: 2px; background: var(--line); display: block; position: relative; overflow: hidden; }
.home-hs__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--home-red); display: block; }
.home-hs__track { display: flex; flex-direction: column; gap: 20px; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; }
.hs--live .home-hs__track {
  flex-direction: row; align-items: center; gap: 32px; max-width: none; margin: 0; padding: 0; will-change: transform;
}

.pb-slide {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  box-shadow: 0 30px 60px -48px rgba(0, 0, 0, .45);
}
/* hscroll.js fija la altura según la ventana; el tope mantiene la medida del diseño. */
.hs--live .pb-slide {
  flex: 0 0 auto; width: min(1080px, 86vw); height: min(540px, 64vh); max-height: min(540px, 64vh);
  transform-origin: center center; will-change: transform, opacity;
}
.pb-slide__text {
  padding: clamp(22px, 4vh, 44px) clamp(22px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 0;
}
.pb-slide__step { display: flex; align-items: baseline; gap: 12px; }
.pb-slide__label { font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--home-red); }
.pb-slide__num { font-size: clamp(30px, 4vh, 44px); font-weight: 700; line-height: .9; letter-spacing: -.03em; color: var(--home-red); }
.pb-slide__claim {
  margin-top: clamp(14px, 3vh, 28px); font-size: clamp(19px, 2.2vw, 28px); line-height: 1.24; letter-spacing: -.02em;
  font-weight: 500; color: var(--ink); text-wrap: pretty;
}
.pb-cost { background: var(--home-red-wash); border-radius: 4px; padding: 14px 18px; }
.pb-cost__label { font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--home-red); }
.pb-cost__text { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pb-slide__visual {
  background: var(--paper); border-left: 1px solid var(--line);
  padding: clamp(18px, 4vh, 40px) clamp(18px, 2.6vw, 36px);
  display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden;
}
.pb-slide__visual .mock { transform-origin: center center; }

.pb-row { padding: 12px 14px; }
.pb-row--alert { background: var(--home-red-wash); }
.pb-tag--alert { background: var(--home-red); color: var(--white); }
.pb-note { padding: 11px 14px; color: var(--home-red); }

.pb-chart { padding: 16px 14px 10px; position: relative; }
.pb-chart__svg { width: 100%; height: auto; display: block; }
.pb-chart__days {
  display: flex; justify-content: space-between; padding: 4px 4px 0;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.pb-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pb-split__cell { padding: 11px 14px; }
.pb-split__cell:first-child { border-right: 1px solid var(--line); }
.pb-split__cell--alert { background: var(--home-red-wash); }
.pb-split__k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em; color: var(--muted); }
.pb-split__v { margin-top: 5px; font-family: var(--mono); font-size: 12.5px; }
.pb-split__cell--alert .pb-split__k { color: var(--home-red); }
.pb-split__cell--alert .pb-split__v { color: var(--home-red); font-weight: 600; }
.pb-foot {
  padding: 9px 14px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); border-top: 1px solid var(--line);
}
.pb-foot--alert { padding: 10px 14px; border-top: 0; background: var(--home-red-wash); font-size: 11px; color: var(--home-red); }

.sheet { display: grid; grid-template-columns: 30px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, .8fr); }
.sheet__hd {
  padding: 6px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line-2); background: var(--chip);
  font-family: var(--mono); font-size: 10px; color: var(--muted); text-align: center;
}
.sheet__hd--row { text-align: right; }
.sheet__c {
  padding: 8px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2);
}
.sheet__c--th { color: var(--ink); font-weight: 600; }
.sheet__c--old { color: var(--home-amber); }
.sheet__c--err { color: var(--home-red); font-weight: 600; background: var(--home-red-wash); }
.sheet__c--bad { color: var(--home-red); }

.pb-slide--dark {
  background: var(--ink); color: var(--white); border-color: var(--ink);
  padding: clamp(24px, 5vh, 56px) clamp(24px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.hs--live .pb-slide--dark { width: min(760px, 86vw); }
.pb-slide__kicker { font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--orange-soft); }
.pb-slide__closing {
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-wrap: balance;
}
.pb-slide__cta { align-self: flex-start; }

@media (max-width: 760px) {
  .home-hs__stage { padding: 72px 0; }
  .pb-slide { grid-template-columns: 1fr; }
  .pb-slide__visual { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- Qué hace NexoPrice ------------------------------------------------ */
.home-pillars { padding: 110px 0; }
.home-pillars__title { margin-top: 32px; line-height: 1.04; max-width: 22em; color: var(--ink); }
.home-pillars__grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 20px; align-items: stretch;
}
.pillar {
  display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: 4px; padding: 28px 26px 30px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -32px rgba(0, 0, 0, .5); border-color: var(--ink); }
/* motion.js fija transform/transition en [data-reveal]; se recupera el hover de la tarjeta. */
.js .pillar[data-reveal].is-visible {
  transition: opacity .8s var(--ease), transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.js .pillar[data-reveal].is-visible:hover { transform: translateY(-4px); }
.pillar__n { font-family: var(--mono); font-size: 12px; color: var(--orange-ink); }
.pillar__title { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.pillar__body { font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.pillar__link {
  font-family: var(--mono); font-size: 12px; color: var(--ink); border-bottom: 1px solid var(--orange);
  align-self: flex-start; padding-bottom: 2px;
}

/* ---- Sin EAN ----------------------------------------------------------- */
.home-ean { background: var(--white); }
.home-ean__inner { padding-top: 110px; padding-bottom: 110px; }
.home-ean__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: center;
}
.home-ean__title {
  margin-top: 28px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700;
  color: var(--ink);
}
.home-ean__text { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 32em; }
.home-ean__link {
  display: inline-block; margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--ink);
  border-bottom: 2px solid var(--orange); padding-bottom: 3px;
}
.match { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--white); }
.match__head {
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--muted);
}
.match__row {
  padding: 16px 18px; border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center;
}
.match__name { font-size: 14px; font-weight: 500; color: var(--ink); }
.match__meta { margin-top: 5px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.match__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; padding: 4px 8px; border-radius: 2px; white-space: nowrap;
}
.match__tag--yours { background: var(--ink); color: var(--white); }
.match__tag--ok { background: #ff66001f; color: var(--home-amber); }
.match__tag--off { background: var(--line-soft); color: var(--muted); }
.match__foot { padding: 14px 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.match__foot span { color: var(--ink); }

/* ---- Pie: titular y entradilla de Inicio ------------------------------- */
.home-footer__title { font-size: clamp(32px, 5vw, 60px); line-height: 1.02; letter-spacing: -.033em; max-width: 20em; }
.home-footer__lead { margin-top: 22px; font-size: 19px; line-height: 1.5; color: var(--muted-3); max-width: 32em; }
.home-footer__ctas { margin-top: 36px; }

/* ---- Movimiento reducido ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .feed__dot, .feed__sweep span, .feed-row { animation: none; }
  .pillar, .site-header--overlay { transition: none; }
}
