/* ============================================================
   SYNTX · TIENDA PÚBLICA (sin personajes, 2026-11)
   Lo primero que ve quien entra: qué es Syntx, cómo se paga y un tablero con cada servicio (su insignia,
   "desde S/ X" y cuántos hay). Abajo, el catálogo en tarjetas sobrias, "Cómo funciona" y una invitación.
   Superficies oscuras y tranquilas, un solo acento (índigo/violeta) y el color de cada marca solo como toque.
   Para comprar se inicia sesión y se vuelve directo a ese producto. Muy compacta en celular.
   ============================================================ */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --bg: #05060b;
  --ink: #f5f7fb;
  --mute: #9aa3b8;
  --dim: #646d82;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(12, 14, 24, 0.88);
  --grad: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --top-h: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: var(--top-h); }
body.ex {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
body.ex-locked { overflow: hidden; }
:focus-visible { outline: 2px solid #818cf8; outline-offset: 2px; }

/* ---------- Fondo: luz suave, sin escenario ---------- */
.ex-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ex-aurora { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: 0.42; will-change: transform; }
.ex-aurora.a1 { top: -42vmax; left: -24vmax; background: radial-gradient(closest-side, rgba(99, 102, 241, 0.34), rgba(99, 102, 241, 0.08) 55%, transparent); animation: exFloat 26s ease-in-out infinite alternate; }
.ex-aurora.a2 { top: -24vmax; right: -40vmax; background: radial-gradient(closest-side, rgba(124, 58, 237, 0.22), rgba(124, 58, 237, 0.05) 55%, transparent); animation: exFloat 32s ease-in-out infinite alternate-reverse; }
@keyframes exFloat { to { transform: translate(6vmax, 7vmax) scale(1.06); } }

/* ============================================================
   BARRA SUPERIOR: cápsula flotante
   ============================================================ */
.ex-top { position: sticky; top: 0; z-index: 50; padding: 14px 18px 0; pointer-events: none; }
.ex-bar {
  pointer-events: auto;
  position: relative;
  max-width: 1080px; height: 56px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 0 7px 0 9px;
  border-radius: 18px;
  background: rgba(12, 14, 24, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: height 320ms var(--spring), background 300ms ease;
}
.ex-top.is-scrolled .ex-bar { height: 50px; background: rgba(10, 12, 20, 0.88); }
.ex-brand { display: flex; align-items: center; gap: 9px; min-width: 0; padding-right: 4px; }
.ex-logo { position: relative; width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px; font-size: 18px; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.35); }
.ex-brand b { display: flex; flex-direction: column; font: 800 0.96rem/1.02 var(--font-heading); color: #fff; letter-spacing: -0.01em; }
.ex-brand em { font: 700 0.58rem var(--font-main); font-style: normal; letter-spacing: 0.22em; text-transform: uppercase; color: #a5b4fc; }
/* Navegación con "tinta" que se desliza */
.ex-nav { position: relative; display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 13px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.05); }
.ex-nav a { position: relative; z-index: 1; padding: 7px 14px; border-radius: 9px; font-size: 0.78rem; font-weight: 700; color: var(--mute); transition: color 200ms ease; }
.ex-nav a:hover, .ex-nav a.is-on { color: #fff; }
.ex-nav-ink {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0px); border-radius: 9px;
  transform: translateX(var(--x, 0px)); opacity: var(--o, 0);
  background: rgba(99, 102, 241, 0.22); box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.4);
  transition: transform 460ms var(--spring), width 460ms var(--spring), opacity 200ms ease;
}
.ex-online { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 10px; font-size: 0.72rem; font-weight: 700; color: var(--mute); background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.22); }
.ex-online[hidden] { display: none; }
.ex-online i { width: 7px; height: 7px; border-radius: 50%; background: #10b981; animation: exDot 2s infinite; }
.ex-online b { color: #d1fae5; font-family: var(--font-mono); }
@keyframes exDot { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); } 70%, 100% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } }
.ex-login {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 5px; border-radius: 13px;
  font-size: 0.84rem; font-weight: 800; color: #fff; background: var(--grad);
  box-shadow: 0 12px 26px -14px rgba(124, 58, 237, 1), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 220ms var(--spring), box-shadow 220ms ease;
}
.ex-login-av { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-size: 0.95rem; background: rgba(255, 255, 255, 0.18); }
.ex-login:hover { transform: translateY(-1px); }

/* ---------- Contenido ---------- */
.ex-main { position: relative; z-index: 1; width: min(1100px, 100%); margin: 0 auto; padding: 0 24px; }

/* ---------- Botones ---------- */
.ex-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border: 0; border-radius: 13px;
  font-size: 0.9rem; font-weight: 800; color: #fff; cursor: pointer;
  background: var(--grad);
  box-shadow: 0 14px 30px -14px rgba(124, 58, 237, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 200ms var(--spring), box-shadow 200ms ease, background 200ms ease;
}
.ex-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-btn i { font-size: 1.02rem; transition: transform 220ms var(--spring); }
.ex-btn:hover { transform: translateY(-1px); }
.ex-btn:hover i { transform: translateX(3px); }
.ex-btn:active { transform: translateY(1px) scale(0.99); }
.ex-btn.is-ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: none; color: #e2e8f0; }
.ex-btn.is-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ============================================================
   PORTADA
   ============================================================ */
.ex-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 34px; padding: 46px 0 26px; }
.ex-hero-tx { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.ex-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; color: #c7d2fe; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(129, 140, 248, 0.28); }
.ex-live { width: 7px; height: 7px; border-radius: 50%; background: #10b981; animation: exDot 2s infinite; }
.ex-hero h1 { font: 800 clamp(2rem, 4.2vw, 3.1rem) / 1.06 var(--font-heading); letter-spacing: -0.03em; color: #fff; }
.ex-hero h1 span { background: linear-gradient(120deg, #a5b4fc, #c4b5fd 55%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ex-hero-tx > p { max-width: 520px; font-size: 0.98rem; line-height: 1.6; color: var(--mute); }
.ex-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ex-hero-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin-top: 2px; }
.ex-hero-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: #cbd5e1; }
.ex-hero-trust i { font-size: 0.95rem; color: #a5b4fc; }
.ex-hero-trust li:first-child i { color: #fbbf24; }
.ex-hero-trust li:nth-child(2) i { color: #34d399; }

/* Tablero: cada servicio con su insignia, "desde S/ X" y cuántos hay */
.ex-board { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(99, 102, 241, 0.55), 0 30px 60px -40px #000; }
.ex-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2px 4px 0; }
.ex-board-head b { font: 800 0.95rem var(--font-heading); color: #fff; }
.ex-board-head small { font-size: 0.68rem; color: var(--dim); }
.ex-board-list { display: flex; flex-direction: column; gap: 6px; }
.ex-brow { --bc: #8b5cf6; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border-radius: 14px; text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.05); transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--spring); }
.ex-brow:hover { transform: translateX(2px); border-color: color-mix(in srgb, var(--bc) 45%, transparent); background: color-mix(in srgb, var(--bc) 7%, rgba(255, 255, 255, 0.025)); }
.ex-brow-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ex-brow-tx b { font-size: 0.86rem; color: #fff; }
.ex-brow-tx small { font-size: 0.68rem; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-brow-price { display: flex; flex-direction: column; align-items: flex-end; font: 800 0.92rem var(--font-mono); color: #fff; white-space: nowrap; }
.ex-brow-price small { font: 700 0.56rem var(--font-main); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.ex-brow > i { color: var(--dim); font-size: 0.85rem; }
.ex-brow.is-out { opacity: 0.6; }
.ex-brow.is-out .mk-art { filter: grayscale(0.7); }
/* Oferta en vivo del chat */
.ex-drop { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 12px; cursor: pointer; font-size: 0.72rem; font-weight: 700; color: #fde68a; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(251, 191, 36, 0.32); }
.ex-drop[hidden] { display: none; }
.ex-drop i { color: #fbbf24; }
.ex-drop b { color: #fff; }
.ex-drop time { font-family: var(--font-mono); color: #fff; }
/* Cargando */
.ex-skel { display: flex; flex-direction: column; gap: 6px; }
.ex-skel span { height: 58px; border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); background-size: 200% 100%; animation: exShim 1.2s linear infinite; }
@keyframes exShim { to { background-position: -200% 0; } }

/* Insignia de la marca (la misma de la Tienda del panel) */
.mk-art { --mk: #6366f1; --mk-ink: #fff; position: relative; flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 12px;
  color: var(--mk-ink); background: linear-gradient(150deg, color-mix(in srgb, var(--mk) 88%, #fff 12%), color-mix(in srgb, var(--mk) 72%, #000 28%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px -12px var(--mk); }
.mk-art b { font-family: var(--font-heading); font-size: 0.98rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.mk-art b.is-long { font-size: 0.72rem; }
.mk-art i { font-size: 1.25rem; }
.mk-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 220ms ease; }
.mk-art.has-img img { opacity: 1; }
.mk-art.is-sm { width: 36px; height: 36px; border-radius: 11px; }
.mk-art.is-xl { width: 76px; height: 76px; border-radius: 20px; }
.mk-art.is-xl b { font-size: 1.7rem; }
.mk-art.is-xl b.is-long { font-size: 1.2rem; }
.mk-art.is-xl i { font-size: 2.1rem; }

/* ============================================================
   CATÁLOGO
   ============================================================ */
.ex-cat, .ex-how { padding: 30px 0 8px; }
.ex-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.ex-sec-kicker { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #a5b4fc; }
.ex-sec-head h2 { font: 800 1.55rem / 1.1 var(--font-heading); letter-spacing: -0.02em; color: #fff; margin-top: 3px; }
.ex-search { display: flex; align-items: center; gap: 8px; width: min(300px, 100%); height: 40px; padding: 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); transition: border-color 160ms ease, box-shadow 160ms ease; }
.ex-search:focus-within { border-color: rgba(129, 140, 248, 0.6); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14); }
.ex-search i { color: var(--dim); }
.ex-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: 600 0.84rem var(--font-main); }
.ex-search input::placeholder { color: var(--dim); }
.ex-search input::-webkit-search-cancel-button { filter: invert(0.6); }

.ex-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 2px; scrollbar-width: none; }
.ex-chips::-webkit-scrollbar { display: none; }
.ex-chip {
  --bc: #8b5cf6;
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  font-size: 0.74rem; font-weight: 700; color: var(--mute);
  background: var(--card); border: 1px solid var(--line);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.ex-chip > i.ph-fill { font-size: 0.9rem; color: #a5b4fc; }
.ex-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bc) 22%, transparent); }
.ex-chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.ex-chip.is-on { color: #fff; border-color: rgba(129, 140, 248, 0.55); background: rgba(99, 102, 241, 0.16); }
.ex-chip.is-out { opacity: 0.6; }
.ex-chip small { font-size: 0.6rem; color: var(--dim); }

.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ex-item {
  --bc: #8b5cf6;
  position: relative;
  display: flex; flex-direction: column; gap: 9px;
  padding: 12px;
  border-radius: 16px;
  cursor: pointer;
  background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--bc) 13%, transparent), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), #0a0c15;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 28px -24px #000;
  transition: transform 220ms var(--spring), border-color 220ms ease, box-shadow 240ms ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
  container-type: inline-size;
  animation: exCardIn 460ms var(--spring) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}
@keyframes exCardIn { from { opacity: 0; transform: translateY(10px); } }
.ex-item.is-quiet { animation: none; }
.ex-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--bc) 45%, transparent); box-shadow: 0 20px 36px -26px var(--bc), 0 14px 28px -24px #000; }
.ex-item-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ex-item-brand { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.7rem; font-weight: 700; color: var(--mute); }
.ex-badge { flex-shrink: 0; padding: 2px 8px; border-radius: 999px; font-size: 0.6rem; font-weight: 800; color: #6ee7b7; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); }
.ex-badge.is-few { color: #fff; background: rgba(239, 68, 68, 0.85); border-color: rgba(254, 202, 202, 0.4); }
.ex-badge.is-out { color: var(--mute); background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.25); }
.ex-item-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; font-size: 0.86rem; font-weight: 800; line-height: 1.25; color: #fff; }
.ex-item-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: -3px; font-size: 0.7rem; color: #8b95ab; }
.ex-item-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.ex-price { font: 800 1rem var(--font-mono); color: #fff; white-space: nowrap; }
.ex-price small { font-size: 0.62em; color: var(--dim); margin-right: 2px; }
.ex-want { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 10px; border-radius: 10px; font-size: 0.74rem; font-weight: 800; color: #fff; white-space: nowrap;
  background: var(--grad); box-shadow: 0 8px 18px -12px rgba(124, 58, 237, 0.9); }
.ex-item.is-out { background: #0a0c15; }
.ex-item.is-out .mk-art { filter: grayscale(0.7) brightness(0.8); box-shadow: none; }
.ex-item.is-out .ex-item-name, .ex-item.is-out .ex-price { color: var(--mute); }
.ex-item.is-out .ex-want { color: #fde68a; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(251, 191, 36, 0.32); box-shadow: none; }
/* Tarjeta angosta: precio arriba y botón a todo el ancho */
@container (max-width: 132px) {
  .ex-item-row { flex-direction: column; align-items: stretch; gap: 6px; }
}
.ex-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 12px; text-align: center; color: var(--mute); font-size: 0.86rem; }
.ex-empty i { font-size: 2rem; color: var(--dim); }
.ex-empty b { color: #e2e8f0; }
.ex-loading { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ex-loading span { height: 170px; border-radius: 16px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); background-size: 200% 100%; animation: exShim 1.2s linear infinite; }

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
.ex-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ex-steps::before { content: ''; position: absolute; top: 34px; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.45), rgba(167, 139, 250, 0.45), transparent); }
.ex-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 14px 16px; border-radius: 18px; text-align: center; background: var(--card); border: 1px solid var(--line); }
.ex-steps i { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; font-size: 1.3rem; color: #c7d2fe; background: rgba(99, 102, 241, 0.14); border: 1px solid rgba(129, 140, 248, 0.3); }
.ex-step-n { position: absolute; top: 10px; left: 12px; font: 800 0.7rem var(--font-mono); color: var(--dim); }
.ex-steps b { font-size: 0.9rem; color: #fff; margin-top: 4px; }
.ex-steps small { font-size: 0.74rem; color: var(--mute); }
.ex-trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ex-trust li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: rgba(12, 14, 24, 0.7); border: 1px solid var(--line); min-width: 0; }
.ex-trust i { flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-size: 1.02rem; color: #c4b5fd; background: rgba(139, 92, 246, 0.14); }
.ex-trust span { display: flex; flex-direction: column; min-width: 0; }
.ex-trust b { font-size: 0.8rem; color: #fff; }
.ex-trust small { font-size: 0.68rem; color: var(--dim); }

/* ============================================================
   INVITACIÓN FINAL Y PIE
   ============================================================ */
.ex-final { display: flex; align-items: center; gap: 16px; margin: 36px 0 22px; padding: 18px 20px; border-radius: 22px;
  background: radial-gradient(70% 140% at 0% 50%, rgba(99, 102, 241, 0.16), transparent 65%), linear-gradient(180deg, #0c0f1b, #080a12);
  border: 1px solid rgba(129, 140, 248, 0.22); }
.ex-final-ico { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-size: 1.4rem; color: #fff; background: var(--grad); box-shadow: 0 12px 24px -12px rgba(124, 58, 237, 0.9); }
.ex-final-tx { flex: 1; min-width: 0; }
.ex-final h2 { font: 800 1.3rem / 1.15 var(--font-heading); letter-spacing: -0.02em; color: #fff; }
.ex-final p { margin-top: 3px; font-size: 0.84rem; color: var(--mute); }
.ex-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); font-size: 0.74rem; color: var(--dim); }
.ex-foot a:hover { color: #fff; }

/* ============================================================
   PARA COMPRAR, INICIA SESIÓN
   ============================================================ */
.ex-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(3, 4, 8, 0.74); opacity: 0; transition: opacity 220ms ease; }
.ex-gate[hidden] { display: none; }
.ex-gate.is-open { opacity: 1; }
.ex-gate-card {
  --bc: #8b5cf6;
  position: relative; width: min(380px, 100%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 0 20px 18px; border-radius: 24px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #10131f, #0a0c15);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 40px 90px -30px #000;
  transform: translateY(18px) scale(0.97); transition: transform 380ms var(--spring);
}
.ex-gate.is-open .ex-gate-card { transform: none; }
.ex-gate-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 10px; cursor: pointer; color: var(--mute); background: rgba(0, 0, 0, 0.35); }
.ex-gate-x:hover { color: #fff; }
.ex-gate-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: calc(100% + 40px); height: 150px; margin-bottom: 2px;
  background: radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--bc) 30%, transparent), transparent 72%), linear-gradient(180deg, #0d1019, #0a0c15); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.ex-gate-brand { font-size: 0.74rem; font-weight: 800; color: #e2e8f0; }
.ex-gate-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #a5b4fc; }
.ex-gate-card h3 { font: 800 1.3rem / 1.15 var(--font-heading); color: #fff; }
.ex-gate-prod { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px; text-align: left; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.ex-gate-prod span { display: flex; flex-direction: column; min-width: 0; }
.ex-gate-prod b { font-size: 0.86rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-gate-prod small { font-size: 0.68rem; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ex-gate-prod em { flex-shrink: 0; font: 800 1rem var(--font-mono); font-style: normal; color: #fff; }
.ex-gate-tx { font-size: 0.8rem; line-height: 1.5; color: var(--mute); }
.ex-gate-card .ex-btn { width: 100%; }
.ex-gate-ghost { width: 100%; height: 40px; border-radius: 12px; cursor: pointer; font-size: 0.82rem; font-weight: 700; color: var(--mute); background: transparent; border: 1px solid var(--line); }
.ex-gate-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.ex-gate-fine { display: flex; align-items: flex-start; gap: 6px; font-size: 0.68rem; line-height: 1.45; color: var(--dim); text-align: left; }
.ex-gate-fine i { margin-top: 2px; flex-shrink: 0; color: #a5b4fc; }

/* ============================================================
   TABLETS (hasta 1023 px)
   ============================================================ */
@media (max-width: 1023px) {
  :root { --top-h: 66px; }
  .ex-top { padding: 10px 12px 0; }
  .ex-bar { height: 52px; border-radius: 16px; }
  .ex-top.is-scrolled .ex-bar { height: 48px; }
  .ex-nav { display: none; }
  .ex-online, .ex-login { margin-left: auto; }
  .ex-online:not([hidden]) + .ex-login { margin-left: 0; }
  .ex-main { padding: 0 16px; }
  .ex-hero { grid-template-columns: 1fr; gap: 18px; padding: 26px 0 12px; }
  .ex-hero h1 { font-size: clamp(1.7rem, 5.4vw, 2.3rem); }
  .ex-hero-tx > p { font-size: 0.9rem; }
  .ex-grid, .ex-loading { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
  .ex-sec-head h2 { font-size: 1.3rem; }
  .ex-cat, .ex-how { padding-top: 22px; }
}

/* ============================================================
   CELULARES (hasta 600 px): mínimo y ordenado
   ============================================================ */
@media (max-width: 600px) {
  :root { --top-h: 56px; }
  .ex-top { padding: 8px 8px 0; }
  .ex-bar { height: 46px; gap: 6px; padding: 0 5px 0 6px; border-radius: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 12, 20, 0.92); }
  .ex-top.is-scrolled .ex-bar { height: 44px; }
  .ex-logo { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
  .ex-brand { gap: 7px; }
  .ex-brand b { font-size: 0.84rem; }
  .ex-brand em { font-size: 0.48rem; letter-spacing: 0.18em; }
  .ex-online { height: 26px; padding: 0 8px; gap: 4px; font-size: 0.62rem; border-radius: 9px; }
  .ex-online i { width: 6px; height: 6px; }
  .ex-login { height: 34px; gap: 6px; padding: 0 11px 0 3px; border-radius: 11px; font-size: 0.74rem; }
  .ex-login-av { width: 28px; height: 28px; border-radius: 8px; font-size: 0.84rem; }
  .ex-main { padding: 0 10px; }

  .ex-hero { gap: 14px; padding: 18px 0 6px; }
  .ex-hero-tx { gap: 10px; }
  .ex-kicker { padding: 4px 10px 4px 8px; font-size: 0.58rem; letter-spacing: 0.04em; }
  .ex-live { width: 6px; height: 6px; }
  .ex-hero h1 { font-size: 1.55rem; }
  .ex-hero-tx > p { font-size: 0.78rem; line-height: 1.55; }
  .ex-hero-cta { width: 100%; gap: 8px; margin-top: 0; }
  .ex-hero-cta .ex-btn { flex: 1; }
  .ex-hero-trust { gap: 4px 12px; }
  .ex-hero-trust li { font-size: 0.66rem; gap: 4px; }
  .ex-hero-trust i { font-size: 0.82rem; }
  .ex-btn { height: 40px; padding: 0 14px; border-radius: 11px; font-size: 0.8rem; }

  .ex-board { gap: 7px; padding: 9px; border-radius: 16px; }
  .ex-board-head b { font-size: 0.8rem; }
  .ex-board-head small { font-size: 0.58rem; }
  .ex-board-list { gap: 5px; }
  .ex-brow { gap: 9px; padding: 7px 8px; border-radius: 11px; }
  .ex-brow-tx b { font-size: 0.74rem; }
  .ex-brow-tx small { font-size: 0.58rem; }
  .ex-brow-price { font-size: 0.78rem; }
  .ex-brow-price small { font-size: 0.48rem; }
  .ex-brow > i { display: none; }
  .mk-art.is-sm { width: 30px; height: 30px; border-radius: 9px; }
  .mk-art.is-sm b { font-size: 0.8rem; }
  .mk-art.is-sm b.is-long { font-size: 0.58rem; }
  .mk-art.is-sm i { font-size: 1rem; }
  .ex-drop { padding: 6px 9px; font-size: 0.62rem; border-radius: 10px; }
  .ex-skel span { height: 46px; border-radius: 11px; }

  .ex-sec-head { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 8px; }
  .ex-sec-kicker { font-size: 0.54rem; }
  .ex-sec-head h2 { font-size: 1.08rem; }
  .ex-search { width: 100%; height: 34px; padding: 0 11px; border-radius: 10px; }
  .ex-search input { font-size: 16px; }
  .ex-search input::placeholder { font-size: 0.74rem; }
  .ex-chips { gap: 5px; padding-bottom: 8px; }
  .ex-chip { height: 28px; gap: 6px; padding: 0 9px; font-size: 0.62rem; }
  .ex-chip-dot { width: 7px; height: 7px; }
  .ex-chip small { font-size: 0.52rem; }

  .ex-grid, .ex-loading { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .ex-loading span { height: 120px; border-radius: 12px; }
  .ex-item { gap: 6px; padding: 8px; border-radius: 12px; contain-intrinsic-size: auto 130px; }
  .ex-item-top { gap: 6px; }
  .ex-item .mk-art { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
  .ex-item .mk-art b { font-size: 0.72rem; }
  .ex-item .mk-art b.is-long { font-size: 0.52rem; }
  .ex-item .mk-art i { font-size: 0.9rem; }
  .ex-item-brand { font-size: 0.58rem; }
  .ex-badge { padding: 1px 5px; font-size: 0.48rem; }
  .ex-item-name { font-size: 0.68rem; min-height: 2.5em; }
  .ex-item-desc { display: none; }
  .ex-item-row { gap: 5px; }
  .ex-price { font-size: 0.78rem; }
  .ex-want { height: 28px; padding: 0 6px; border-radius: 8px; font-size: 0.6rem; }

  .ex-cat, .ex-how { padding-top: 18px; }
  .ex-steps { gap: 6px; }
  .ex-steps::before { top: 26px; }
  .ex-steps li { gap: 3px; padding: 11px 6px 10px; border-radius: 13px; }
  .ex-steps i { width: 30px; height: 30px; border-radius: 9px; font-size: 0.95rem; }
  .ex-step-n { top: 6px; left: 8px; font-size: 0.56rem; }
  .ex-steps b { font-size: 0.68rem; margin-top: 2px; }
  .ex-steps small { font-size: 0.56rem; line-height: 1.35; }
  .ex-trust { gap: 6px; margin-top: 8px; }
  .ex-trust li { flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 9px 5px; border-radius: 12px; }
  .ex-trust i { width: 26px; height: 26px; border-radius: 8px; font-size: 0.86rem; }
  .ex-trust span { align-items: center; }
  .ex-trust b { font-size: 0.62rem; }
  .ex-trust small { font-size: 0.52rem; line-height: 1.3; }

  .ex-final { flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; padding: 12px; border-radius: 16px; }
  .ex-final-ico { width: 36px; height: 36px; border-radius: 11px; font-size: 1.1rem; }
  .ex-final h2 { font-size: 0.98rem; }
  .ex-final p { font-size: 0.68rem; }
  .ex-final .ex-btn { width: 100%; }
  .ex-foot { font-size: 0.62rem; padding-top: 12px; }

  .ex-gate { place-items: end center; padding: 0; }
  .ex-gate-card { width: 100%; gap: 8px; padding: 0 14px calc(14px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border-bottom: 0; transform: translateY(100%); }
  .ex-gate-stage { width: calc(100% + 28px); height: 112px; gap: 6px; }
  .ex-gate-stage .mk-art.is-xl { width: 54px; height: 54px; border-radius: 15px; }
  .ex-gate-stage .mk-art.is-xl b { font-size: 1.2rem; }
  .ex-gate-stage .mk-art.is-xl b.is-long { font-size: 0.86rem; }
  .ex-gate-stage .mk-art.is-xl i { font-size: 1.5rem; }
  .ex-gate-brand { font-size: 0.64rem; }
  .ex-gate-kicker { font-size: 0.54rem; }
  .ex-gate-card h3 { font-size: 1.02rem; }
  .ex-gate-prod { padding: 8px 10px; border-radius: 11px; }
  .ex-gate-prod b { font-size: 0.74rem; }
  .ex-gate-prod small { font-size: 0.6rem; }
  .ex-gate-prod em { font-size: 0.84rem; }
  .ex-gate-tx { font-size: 0.68rem; }
  .ex-gate-ghost { height: 36px; font-size: 0.74rem; }
  .ex-gate-fine { font-size: 0.58rem; }
}

@media (max-width: 360px) {
  .ex-brand em { display: none; }
  .ex-online { display: none; }
  .ex-hero h1 { font-size: 1.36rem; }
  .ex-item-brand { visibility: hidden; }
  .ex-brow-tx small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ex-aurora, .ex-online i, .ex-live, .ex-item, .ex-skel span, .ex-loading span { animation: none !important; }
  .ex-item, .ex-gate, .ex-gate-card, .ex-nav-ink, .ex-brow { transition: none; }
}
