/* FESTATicket — Estilos globales (landing + área privada)
   Tema claro: fresco, desenfadado y de confianza. Brand colors FESTA #022F87 + Ticket #FFC107. */
:root {
  --bg-0: #fafbff;
  --bg-1: #ffffff;
  --bg-2: #f4f6fc;
  --surface:        #ffffff;
  --surface-2:      #f4f6fc;
  --border:         rgba(15, 23, 42, 0.08);
  --border-strong:  rgba(15, 23, 42, 0.16);
  --text:      #0b1530;
  --text-soft: #475569;
  --text-mute: #64748b;
  --primary:   #022F87;
  --primary-2: #4D7BD9;
  --accent:    #FFC107;
  --accent-2:  #FFD358;
  --success:   #16a34a;
  --warn:      #f59e0b;
  --danger:    #dc2626;
  --grad-primary: linear-gradient(135deg, #022F87 0%, #4D7BD9 100%);
  --grad-accent:  linear-gradient(135deg, #FFC107 0%, #FFD358 100%);
  --grad-bg:      radial-gradient(1200px 600px at 10% -10%, rgba(2, 47, 135, .07), transparent 60%),
                  radial-gradient(1000px 600px at 100% 0%, rgba(255, 193, 7, .08), transparent 60%),
                  radial-gradient(900px 500px at 50% 110%, rgba(77, 123, 217, .05), transparent 60%),
                  linear-gradient(180deg, #ffffff 0%, #f9fafe 60%, #ffffff 100%);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.12), 0 8px 16px rgba(15,23,42,.06);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--grad-bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-2); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em 0; color: var(--text-soft); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s, color .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 12px rgba(2,47,135,.20), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover { background: #03237a; box-shadow: 0 6px 18px rgba(2,47,135,.30), inset 0 1px 0 rgba(255,255,255,.18); color: white; }
.btn-ghost {
  background: white; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-2); color: var(--primary); border-color: var(--primary); }
.btn-accent {
  background: var(--accent); color: #1a1a2e;
  box-shadow: 0 4px 12px rgba(255,193,7,.30), inset 0 1px 0 rgba(255,255,255,.30);
}
.btn-danger { background: linear-gradient(135deg,#ff5566,#ff8a4c); color: white; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ----- App shell (área privada) ----- */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.app-header {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { color: var(--text); }
.logo-mark {
  width: 36px; height: 36px;
  background-image: url('/public/img/logo-mark.svg');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: drop-shadow(0 2px 8px rgba(2,47,135,.20));
  flex-shrink: 0;
  /* Esconder texto fallback si lo hay dentro del span */
  font-size: 0; color: transparent;
}
/* Branding oficial Festaticket — mismos colores que la app Telpo M10.
   El componente lo pinta src/branding.php → festaticket_logo($variant). */
.ft-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;                 /* "FESTA" + "Ticket" pegados → "FESTATicket" */
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.ft-logo:hover { text-decoration: none; }
.ft-logo .ft-festa  { font: 900 1em "Roboto", "Roboto Black",  -apple-system, system-ui, sans-serif; color: #022F87; letter-spacing: -0.02em; }
.ft-logo .ft-ticket { font: 300 1em "Roboto", "Roboto Light",  -apple-system, system-ui, sans-serif; color: #FFC107; letter-spacing: -0.02em; }
.ft-logo small      { font: 400 .35em "Roboto", -apple-system, system-ui, sans-serif; color: #5A6478; opacity: .7; margin-left: .8em; align-self: baseline; }

/* Tamaños */
.ft-logo-sm { font-size: 1.05rem; }
.ft-logo-md { font-size: 1.4rem;  }
.ft-logo-lg { font-size: 2rem;    }

/* Variante footer: tagline a una línea aparte si el contenedor es estrecho */
.ft-logo-footer { flex-wrap: wrap; }
.ft-logo-footer small { display: block; width: 100%; margin-left: 0; opacity: .55; }

/* Sobre fondos oscuros (la mayoría del panel y la tienda), bajamos un punto el azul
   para que no se hunda. El amarillo y el gris quedan bien tal cual. */
.app-shell .ft-logo .ft-festa,
.shop .ft-logo .ft-festa,
.admin .ft-logo .ft-festa { color: #4D7BD9; }
.app-shell .ft-logo small,
.shop .ft-logo small,
.admin .ft-logo small { color: #8b8fb0; opacity: .8; }

/* Compatibilidad con marcado antiguo (.brand-name + .ft-accent) por si queda
   alguna referencia rezagada en alguna vista que aún no se ha migrado. */
.brand-name { font-size: 1.15rem; letter-spacing: -0.02em; font-weight: 900;
              font-family: "Roboto", -apple-system, system-ui, sans-serif; color: var(--primary); }
.brand-name .ft-accent { font-weight: 300; color: var(--accent); }

/* Banner mudanza (sutil, debajo del nav) */
.move-banner {
  background: linear-gradient(90deg, rgba(2,47,135,.05), rgba(255,193,7,.10), rgba(2,47,135,.05));
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 8px 16px;
  font-size: .85rem;
  color: var(--text-soft);
}
.move-banner strong {
  color: var(--primary);
  font-weight: 800;
}

/* Confeti hero (sutil) */
.confetti {
  position: absolute; pointer-events: none;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden; z-index: 0;
}
.confetti span {
  position: absolute; display: block;
  opacity: .30;
  animation: confettiFloat 12s linear infinite;
}
.confetti .c1 { top: 12%; left: 8%;  width: 10px; height: 14px; background: #ff6b9d; transform: rotate(15deg); border-radius: 2px; animation-delay: -2s; }
.confetti .c2 { top: 22%; right: 12%; width: 12px; height: 12px; background: #ffd58c; border-radius: 50%; animation-delay: -5s; }
.confetti .c3 { top: 65%; left: 14%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid #4cc9ff; animation-delay: -7s; }
.confetti .c4 { top: 80%; right: 18%; width: 9px; height: 9px; background: #7c5cff; border-radius: 50%; animation-delay: -1s; }
.confetti .c5 { top: 35%; left: 50%; width: 12px; height: 16px; background: #ff8a4c; transform: rotate(-22deg); border-radius: 2px; animation-delay: -9s; }
.confetti .c6 { top: 15%; left: 32%; width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; animation-delay: -3s; }
.confetti .c7 { top: 70%; right: 32%; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid #ffd58c; transform: rotate(180deg); animation-delay: -11s; }
.confetti .c8 { top: 45%; right: 8%;  width: 11px; height: 14px; background: #a78bff; transform: rotate(35deg); border-radius: 2px; animation-delay: -6s; }

@keyframes confettiFloat {
  0%   { transform: translateY(0) rotate(0deg); opacity: .30; }
  50%  { opacity: .45; }
  100% { transform: translateY(40px) rotate(180deg); opacity: .15; }
}
.hero { position: relative; }
.hero > .container { position: relative; z-index: 1; }
.app-nav { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.app-nav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--text-soft); font-weight: 500; font-size: .92rem;
}
.app-nav a:hover { background: var(--surface); color: var(--text); }
.app-nav a.active {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong);
}
.app-user { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.app-user .hi { color: var(--text-mute); font-size: .9rem; display: none; }
@media (min-width: 720px) { .app-user .hi { display: inline; } }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch summary {
    list-style: none; cursor: pointer;
    padding: 6px 12px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border-strong);
    color: var(--text-soft); font-size: .8rem; font-weight: 700;
    letter-spacing: .06em;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: " ▾"; opacity: .6; }
.lang-switch[open] summary { background: var(--surface-2); color: var(--text); }
.lang-menu {
    position: absolute; top: calc(100% + 6px); right: 0;
    background: rgba(10,10,24,.96); backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong); border-radius: 12px;
    padding: 6px; min-width: 140px; z-index: 60;
    box-shadow: var(--shadow-md);
}
.lang-menu a {
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--text-soft); font-size: .9rem;
}
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a.cur { background: var(--surface-2); color: var(--primary-2); font-weight: 600; }

/* Plan picker (radios estilizados) */
.plan-picker {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 8px;
}
.plan-option {
    display: block; cursor: pointer; position: relative;
    padding: 14px 16px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--border-strong);
    transition: border-color .15s, background .15s, transform .12s;
}
.plan-option:hover { background: var(--surface-2); transform: translateY(-1px); }
.plan-option input[type="radio"] { position: absolute; top: 14px; right: 14px; accent-color: var(--primary); }
.plan-option.selected { border-color: var(--primary-2); background: rgba(76,201,255,.06); box-shadow: 0 0 0 2px rgba(76,201,255,.18); }
.plan-option .plan-name { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.plan-option .plan-price { color: var(--primary-2); font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.plan-option .plan-tag { color: var(--text-mute); font-size: .82rem; }

/* Quota progress bar */
.quota {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 18px;
    margin-bottom: 18px;
}
.quota .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.quota .label { color: var(--text-soft); font-size: .9rem; }
.quota .label strong { color: var(--text); }
.quota .bar { height: 8px; background: rgba(255,255,255,.05); border-radius: 4px; overflow: hidden; }
.quota .fill { height: 100%; background: var(--grad-primary); transition: width .3s; }
.quota .fill.warn { background: linear-gradient(135deg, #f1b04c 0%, #ff6b9d 100%); }
.quota .fill.over { background: linear-gradient(135deg, #ff5566 0%, #ff8a4c 100%); }
.quota .actions { margin-top: 10px; }

/* Premium feature lock */
.premium-lock {
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    padding: 16px;
    text-align: center;
    color: var(--text-soft);
}
.premium-lock .padlock { font-size: 1.6rem; margin-bottom: 6px; }
.premium-lock h4 { color: var(--text); margin: 0 0 4px; font-size: 1rem; }
.premium-lock p { margin: 0 0 10px; font-size: .88rem; }

/* Inline plan badge */
.plan-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    background: rgba(124,92,255,.16); color: #c1b1ff; border: 1px solid rgba(124,92,255,.4);
}
.plan-pill.free  { background: rgba(139,143,176,.18); color: #c4c8e2; border-color: rgba(139,143,176,.4); }
.plan-pill.festa { background: rgba(46,204,113,.16); color: #6df0a4; border-color: rgba(46,204,113,.4); }
.plan-pill.pro   { background: rgba(241,176,76,.16); color: #ffd58c; border-color: rgba(241,176,76,.4); }

/* Pricing comparison (3 cards) */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px; max-width: 1100px; margin: 0 auto;
}
.pricing-tier {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 30px;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}
.pricing-tier.highlight {
    border-color: var(--primary-2);
    background:
        radial-gradient(400px 200px at 50% -30%, rgba(76,201,255,.20), transparent 60%),
        var(--surface);
    box-shadow: 0 0 0 1px rgba(76,201,255,.30);
    transform: scale(1.03);
}
.pricing-tier .ribbon {
    position: absolute; top: 16px; right: 16px;
    background: var(--grad-primary); color: white;
    padding: 4px 10px; border-radius: 999px;
    font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pricing-tier h3 { margin: 0 0 6px; font-size: 1.4rem; color: var(--text); }
.pricing-tier .tagline { color: var(--text-mute); font-size: .88rem; margin-bottom: 18px; }
.pricing-tier .amount { font-size: 2.6rem; font-weight: 800; color: var(--text); }
.pricing-tier .amount .cur { font-size: 1.2rem; vertical-align: super; opacity: .7; }
.pricing-tier .amount .per { font-size: .9rem; color: var(--text-mute); font-weight: 500; }
.pricing-tier .alt-price { color: var(--text-mute); font-size: .8rem; margin: 4px 0 18px; }
.pricing-tier ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pricing-tier ul li { padding: 6px 0 6px 24px; position: relative; color: var(--text-soft); font-size: .92rem; }
.pricing-tier ul li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--primary-2); font-weight: 800; }
.pricing-tier ul li.no { color: var(--text-mute); }
.pricing-tier ul li.no::before { content: "—"; color: var(--text-mute); }

/* ============================================================ */
/* PASARELA / NO DATAFONO                                       */
/* ============================================================ */
.pay-section {
    position: relative;
    background:
        radial-gradient(700px 350px at 80% 0%, rgba(46,204,113,.16), transparent 60%),
        radial-gradient(600px 300px at 10% 100%, rgba(255,107,157,.14), transparent 60%);
    border-radius: var(--r-xl);
    padding: 60px 40px;
    border: 1px solid var(--border-strong);
    margin: 0 auto;
}
.pay-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 880px) { .pay-hero { grid-template-columns: 1fr; } }
.pay-hero h2 { text-align: left; margin: 0 0 14px; }
.pay-hero p.lead { text-align: left; max-width: none; color: var(--text-soft); font-size: 1.1rem; }
.pay-hero .badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pay-hero .badges span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(46,204,113,.16); color: #6df0a4;
    border: 1px solid rgba(46,204,113,.4);
    font-size: .82rem; font-weight: 600;
}

.pay-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.pay-card .num {
    font-size: 4.5rem; font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.pay-card .num .pct { font-size: 2rem; vertical-align: super; }
.pay-card .small { color: var(--text-mute); font-size: .9rem; margin-top: 6px; }
.pay-card .nada { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.pay-card .nada span {
    padding: 4px 10px; border-radius: 999px;
    background: rgba(255,255,255,.05); border: 1px solid var(--border-strong);
    font-size: .75rem; color: var(--text-soft);
}

.pay-compare {
    margin-top: 40px;
    border-radius: var(--r-md); overflow: hidden;
    border: 1px solid var(--border);
}
.pay-compare table { width: 100%; border-collapse: collapse; background: var(--surface); }
.pay-compare th, .pay-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.pay-compare th { background: rgba(255,255,255,.04); color: var(--text-mute); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.pay-compare td.us { background: rgba(46,204,113,.06); font-weight: 600; color: var(--text); }
.pay-compare th.us { background: rgba(46,204,113,.16); color: #6df0a4; }
.pay-compare td .nope { color: #ff8090; }
.pay-compare td .yep  { color: #6df0a4; font-weight: 700; }

.pay-flow {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px; margin-top: 36px;
}
.pay-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px;
    position: relative;
}
.pay-step .ic {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--grad-primary);
    display: grid; place-items: center;
    color: white; font-weight: 800; font-size: 1.2rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(2,47,135,.18);
}
.pay-step h4 { margin: 0 0 6px; font-size: 1rem; color: var(--text); }
.pay-step p  { margin: 0; color: var(--text-soft); font-size: .9rem; }

.pay-rates {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px; margin-top: 28px;
}
.pay-rate {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 18px; text-align: center;
}
.pay-rate.high { border-color: var(--primary-2); background: rgba(76,201,255,.06); }
.pay-rate .plan { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-mute); font-weight: 700; }
.pay-rate .pct  { font-size: 2rem; font-weight: 800; color: var(--text); margin: 4px 0; }
.pay-rate.high .pct {
    background: var(--grad-primary);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pay-rate .ex  { color: var(--text-mute); font-size: .8rem; }

.app-main { flex: 1; padding: 36px 24px 60px; max-width: 1200px; margin: 0 auto; width: 100%; }
.app-footer {
  padding: 24px; text-align: center; color: var(--text-mute);
  font-size: .85rem; border-top: 1px solid var(--border);
}

/* ----- Cards / Panels ----- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(8px);
}
.card h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 12px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  position: relative; overflow: hidden;
}
.kpi::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: var(--grad-primary);
  filter: blur(40px);
  z-index: 0;
}
.kpi > * { position: relative; z-index: 1; }
.kpi .label { color: var(--text-mute); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.kpi .value { font-size: 2rem; font-weight: 700; margin-top: 6px; }
.kpi .sub { color: var(--text-soft); font-size: .85rem; margin-top: 2px; }

/* ----- Forms ----- */
.form-page {
  max-width: 460px; margin: 6vh auto;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.form-page h1 { font-size: 1.8rem; margin-bottom: 6px; }
.form-page .lead { color: var(--text-soft); margin-bottom: 22px; font-size: .95rem; }
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; margin-bottom: 6px; font-size: .85rem; color: var(--text-soft); font-weight: 500; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="search"], input[type="tel"], input[type="url"],
select, textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text); font-size: 1rem;
  transition: border-color .15s, background .15s;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(76,201,255,.18);
}
textarea { min-height: 90px; resize: vertical; }
.form-help { color: var(--text-mute); font-size: .8rem; margin-top: 4px; }
.form-actions { display: flex; gap: 10px; margin-top: 18px; }
.form-foot { margin-top: 16px; text-align: center; color: var(--text-mute); font-size: .9rem; }

.alert {
  padding: 12px 16px; border-radius: 10px; margin-bottom: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text-soft);
}
.alert-error  { border-color: rgba(255,85,102,.45); background: rgba(255,85,102,.10); color: #ffd3d8; }
.alert-success{ border-color: rgba(46,204,113,.45); background: rgba(46,204,113,.10); color: #c8f5dc; }
.alert-info   { border-color: rgba(76,201,255,.40); background: rgba(76,201,255,.10); color: #d0efff; }

/* ----- Tables ----- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
.table {
  width: 100%; border-collapse: collapse; background: var(--surface); font-size: .92rem;
}
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { color: var(--text-mute); font-weight: 600; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; background: rgba(255,255,255,.02); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: rgba(255,255,255,.03); }
.table .right { text-align: right; }
.table .num { font-variant-numeric: tabular-nums; }

/* Badge */
.badge {
  display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-soft);
}
.badge-active   { background: rgba(46,204,113,.16); color: #6df0a4; border-color: rgba(46,204,113,.4); }
.badge-draft    { background: rgba(241,176,76,.16); color: #ffd58c; border-color: rgba(241,176,76,.4); }
.badge-finished { background: rgba(139,143,176,.18); color: #c4c8e2; border-color: rgba(139,143,176,.4); }

/* Page heading */
.page-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.page-head h1 { font-size: 1.7rem; margin: 0; }
.page-head .meta { color: var(--text-mute); font-size: .9rem; }

/* Breadcrumb */
.breadcrumb { color: var(--text-mute); font-size: .85rem; margin-bottom: 8px; }
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* Code chip (event_code, api_key) */
.code-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(0,0,0,.30); border: 1px solid var(--border-strong);
  font-family: "SF Mono", Menlo, Consolas, monospace; font-size: .9rem; color: var(--primary-2);
  word-break: break-all;
}
.code-chip button { background: transparent; border: 0; color: var(--text-mute); cursor: pointer; padding: 2px; }
.code-chip button:hover { color: var(--text); }

/* Pagination */
.pagination { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.pagination a, .pagination span {
  padding: 8px 12px; border-radius: 10px; font-size: .9rem;
  border: 1px solid var(--border); color: var(--text-soft);
}
.pagination a:hover { background: var(--surface-2); color: var(--text); }
.pagination .active { background: var(--grad-primary); color: white; border-color: transparent; }

/* ============================================================ */
/* LANDING PAGE                                                  */
/* ============================================================ */

.landing { overflow-x: hidden; }
.landing .container { padding: 0 24px; }

/* Top nav */
.land-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .80);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.land-nav .links { display: none; gap: 22px; }
@media (min-width: 880px) { .land-nav .links { display: flex; } }
.land-nav .links a { color: var(--text-soft); font-size: .92rem; font-weight: 600; }
.land-nav .links a:hover { color: var(--primary); }
.land-nav .ctas { display: flex; gap: 8px; }

/* HERO */
.hero {
  position: relative; padding: 140px 0 80px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: .8rem; color: var(--text-soft); margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: .12em;
}
.hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05;
  letter-spacing: -0.02em; max-width: 940px; margin: 0 auto 18px;
}
.hero h1 .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 720px; margin: 0 auto 32px; color: var(--text-soft); }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .trust { margin-top: 26px; color: var(--text-mute); font-size: .85rem; }
.hero .trust strong { color: var(--text); }

/* Floating phone mockup */
.hero-phone-wrap {
  margin-top: 60px; perspective: 1500px;
  display: flex; justify-content: center;
  position: relative;
}
.hero-phone-wrap::before {
  content: ""; position: absolute; inset: -40px;
  background: var(--grad-primary); filter: blur(80px); opacity: .25; z-index: 0;
}

/* ========= Hero devices: tablet + handheld ========= */
.devices-hero {
  margin-top: 70px;
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  gap: 32px; flex-wrap: wrap-reverse;
  perspective: 1600px;
}
.devices-hero::before {
  content: ""; position: absolute; inset: -60px -30px;
  background:
    radial-gradient(500px 280px at 30% 60%, rgba(2, 47, 135, .12), transparent 60%),
    radial-gradient(500px 280px at 75% 60%, rgba(255, 193, 7, .14), transparent 60%);
  filter: blur(40px); z-index: 0;
}
.device { position: relative; z-index: 1; }

.device-tablet {
  width: min(720px, 90vw);
  transform: rotateY(-7deg) rotateX(6deg);
  animation: floatA 7s ease-in-out infinite;
}
.device-tablet img { width: 100%; height: auto; display: block; }

.device-pos {
  width: min(280px, 60vw);
  transform: rotateY(8deg) rotateX(6deg);
  animation: floatB 6s ease-in-out infinite;
  margin-bottom: -10px;
}
.device-pos img { width: 100%; height: auto; display: block; }

@keyframes floatA {
  0%, 100% { transform: rotateY(-7deg) rotateX(6deg) translateY(0); }
  50%      { transform: rotateY(-7deg) rotateX(6deg) translateY(-14px); }
}
@keyframes floatB {
  0%, 100% { transform: rotateY(8deg) rotateX(6deg) translateY(0); }
  50%      { transform: rotateY(8deg) rotateX(6deg) translateY(-10px); }
}

@media (max-width: 720px) {
  .devices-hero { gap: 16px; margin-top: 50px; }
  .device-tablet, .device-pos { transform: none !important; animation: none !important; }
  .device-pos { width: 60%; max-width: 220px; margin: 0 auto; }
}

/* ========= Hardware section ========= */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.hardware-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .2s, border-color .2s;
}
.hardware-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.hardware-card .img-wrap {
  width: 100%; height: 220px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
}
.hardware-card .img-wrap img {
  max-width: 100%; max-height: 100%; width: auto;
  transition: transform .3s;
}
.hardware-card:hover .img-wrap img { transform: translateY(-4px) scale(1.02); }
.hardware-card h3 { font-size: 1.15rem; margin: 0; color: var(--text); }
.hardware-card .tag {
  font-size: .75rem; color: var(--primary-2); text-transform: uppercase;
  letter-spacing: .12em; font-weight: 700;
}
.hardware-card p { font-size: .94rem; margin: 4px 0 8px; color: var(--text-soft); }
.hardware-card .specs {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px;
}
.hardware-card .specs span {
  font-size: .72rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-strong);
  color: var(--text-soft);
}

/* ========= Cloud diagram ========= */
.cloud-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}
.cloud-node {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cloud-node::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-primary); opacity: .08; z-index: 0;
}
.cloud-node > * { position: relative; z-index: 1; }
.cloud-node .ico {
  font-size: 2.4rem; margin-bottom: 8px; display: block;
}
.cloud-node h4 { font-size: 1rem; color: var(--text); margin: 0 0 6px 0; }
.cloud-node p { color: var(--text-soft); font-size: .85rem; margin: 0; }
.cloud-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-2); font-size: 1.4rem;
  position: relative;
}
.cloud-arrow::before {
  content: ""; display: block; width: 32px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-2), transparent);
}
.cloud-arrow::after {
  content: "→"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -55%); font-weight: 700;
}
@media (max-width: 760px) {
  .cloud-flow { grid-template-columns: 1fr; }
  .cloud-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ========= Printer types ========= */
.printers {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center;
  margin-top: 24px;
}
@media (max-width: 880px) { .printers { grid-template-columns: 1fr; } }
.printers .printer-img {
  display: flex; justify-content: center;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.5));
}
.printers .printer-img img { max-width: 100%; height: auto; }
.printer-list { display: flex; flex-direction: column; gap: 14px; }
.printer-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: background .2s, border-color .2s;
}
.printer-item:hover { background: var(--surface-2); border-color: var(--border-strong); }
.printer-item .badge-num {
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-primary);
  display: grid; place-items: center;
  font-weight: 800; color: white; font-size: .9rem;
}
.printer-item h4 { margin: 0 0 4px 0; font-size: 1rem; color: var(--text); }
.printer-item p { margin: 0; color: var(--text-soft); font-size: .9rem; }
.printer-item code {
  background: rgba(0,0,0,.30); padding: 2px 6px; border-radius: 6px;
  color: var(--primary-2); font-size: .82em;
}

/* ========= Pricing ========= */
.pricing-card {
  max-width: 560px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 38px;
  text-align: center;
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 50% -20%, rgba(124,92,255,.25), transparent 60%);
  z-index: 0;
}
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card .price-num {
  font-size: 4.5rem; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1; margin: 8px 0;
}
.pricing-card .price-currency { font-size: 1.5rem; vertical-align: super; opacity: .8; }
.pricing-card ul {
  text-align: left; max-width: 360px; margin: 24px auto;
  padding: 0; list-style: none;
}
.pricing-card ul li {
  padding: 8px 0 8px 28px;
  position: relative; color: var(--text-soft);
}
.pricing-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-primary); color: white; font-size: .75rem;
  display: grid; place-items: center; font-weight: 800;
}
.phone {
  position: relative; z-index: 1;
  width: 320px; height: 640px;
  background: linear-gradient(180deg, #0d0d22, #14163a);
  border-radius: 44px;
  border: 4px solid #2a2c52;
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.04);
  padding: 14px;
  transform: rotateY(-8deg) rotateX(8deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: rotateY(-8deg) rotateX(8deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(8deg) translateY(-12px); } }
.phone .notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #050516; border-radius: 0 0 14px 14px;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: #f7f7fb; color: #1a1a2e;
  display: flex; flex-direction: column;
}
.phone-screen .ps-head { padding: 38px 18px 14px; background: var(--grad-primary); color: white; }
.phone-screen .ps-head .t { font-size: .8rem; opacity: .85; }
.phone-screen .ps-head .e { font-weight: 700; font-size: 1.05rem; }
.phone-screen .ps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px;
  flex: 1; overflow: hidden;
}
.ps-tile {
  border-radius: 12px; padding: 10px; color: white;
  display: flex; flex-direction: column; justify-content: space-between;
  font-weight: 700; font-size: .85rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.10);
}
.ps-tile .price { font-size: .75rem; font-weight: 600; opacity: .9; }
.ps-tile.t1 { background: linear-gradient(135deg,#7c5cff,#4cc9ff); }
.ps-tile.t2 { background: linear-gradient(135deg,#ff6b9d,#ffb44c); }
.ps-tile.t3 { background: linear-gradient(135deg,#2ecc71,#4cc9ff); }
.ps-tile.t4 { background: linear-gradient(135deg,#f1b04c,#ff6b9d); }
.ps-tile.t5 { background: linear-gradient(135deg,#4cc9ff,#7c5cff); }
.ps-tile.t6 { background: linear-gradient(135deg,#ff5566,#ff6b9d); }
.phone-screen .ps-foot {
  padding: 12px; background: white; border-top: 1px solid #eaeaef;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
}
.phone-screen .ps-foot .total { font-size: 1.4rem; }
.phone-screen .ps-foot .cobrar {
  background: var(--grad-primary); color: white;
  padding: 10px 16px; border-radius: 10px; font-size: .85rem;
}

/* Sections */
section.land-section { padding: 72px 0; position: relative; }
section.land-section h2 { text-align: center; max-width: 760px; margin: 0 auto 14px; }
section.land-section .sub { text-align: center; color: var(--text-soft); max-width: 640px; margin: 0 auto 50px; font-size: 1.05rem; }
section.land-section h2 .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature .icn {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-primary);
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(2,47,135,.18);
}
.feature .icn svg { width: 26px; height: 26px; }
.feature h3 { color: var(--text); font-size: 1.15rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; color: var(--text-soft); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 18px; right: 22px;
  font-size: 2rem; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .55;
}
.step h3 { font-size: 1.05rem; }

/* Use cases */
.use-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.use-case {
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s, background .2s;
}
.use-case:hover { transform: translateY(-3px); background: var(--surface-2); }
.use-case .emoji { font-size: 2.4rem; line-height: 1; }
.use-case h3 { font-size: 1.05rem; }
.use-case p { font-size: .9rem; margin: 0; }

/* Comparison */
.compare-table {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.compare-table table { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare-table th, .compare-table td {
  padding: 16px; text-align: left; border-bottom: 1px solid var(--border);
}
.compare-table th { background: rgba(255,255,255,.04); color: var(--text-mute); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.compare-table td.yes { color: #6df0a4; font-weight: 700; }
.compare-table td.no { color: #ff8090; }
.compare-table tr.highlight td { background: rgba(124,92,255,.08); }
.compare-table .col-us { background: rgba(124,92,255,.06); position: relative; }
.compare-table th.col-us {
  background: rgba(124,92,255,.16);
}
.compare-table th.col-us span {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-primary); padding: 4px 10px; border-radius: 999px;
  color: white; font-size: .7rem;
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px 22px; transition: background .15s;
}
.faq details[open] { background: var(--surface-2); border-color: var(--border-strong); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--text); font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--text-mute); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; color: var(--text-soft); font-size: .95rem; }

/* CTA final */
.final-cta {
  text-align: center;
  padding: 80px 32px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(600px 300px at 30% -20%, rgba(124,92,255,.30), transparent 60%),
    radial-gradient(600px 300px at 100% 120%, rgba(76,201,255,.25), transparent 60%),
    rgba(255,255,255,.03);
  border: 1px solid var(--border-strong);
  position: relative; overflow: hidden;
}
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.final-cta p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; }

/* Footer */
.land-footer {
  padding: 50px 24px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-mute);
}
.land-footer .row { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; flex-wrap: wrap; }
.land-footer .row a { color: var(--text-soft); font-size: .9rem; }

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px; padding: 30px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.stat { text-align: center; }
.stat .n { font-size: 2.2rem; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: .85rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }

/* small */
@media (max-width: 600px) {
  .form-page { padding: 24px; margin: 4vh 16px; }
  .hero { padding: 110px 0 60px; }
  .land-nav { padding: 12px 16px; }
  .app-header { padding: 12px 14px; gap: 10px; }
  .app-main { padding: 24px 16px 50px; }
  section.land-section { padding: 60px 0; }
  .form-row.two { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO MAGAZINE-STYLE — editorial, asimétrico, NO genérico
   ============================================================ */

.hero-mag {
  position: relative;
  padding: 110px 0 0;
  overflow: hidden;
}
.hero-mag::before {
  /* fondo de papel con leve textura: dots punto cruz */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(2, 47, 135, .07) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, transparent 0, black 80px, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 80px, black 80%, transparent 100%);
  z-index: 0;
}
.hero-mag::after {
  /* glow sutil amarillo brand desde la dcha */
  content: ""; position: absolute; right: -120px; top: 200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 193, 7, .15), transparent 60%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}

.hero-mag__grid {
  position: relative; z-index: 1;
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) { .hero-mag__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Masthead estilo cabecera de revista */
.masthead {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 28px;
  border-bottom: 2px solid var(--text);
  font-family: "Inter", -apple-system, system-ui, sans-serif;
}
.masthead__brand {
  font-family: "Roboto", -apple-system, sans-serif;
  font-weight: 900; font-size: 1.05rem; letter-spacing: -0.02em;
  color: var(--primary); text-transform: none;
}
.masthead__brand span { font-weight: 300; color: var(--accent); }
.masthead__issue {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 600;
}

/* Headline editorial — masivo, con mezcla de pesos */
.hero-mag__title {
  margin: 0 0 32px; line-height: .95;
  letter-spacing: -0.035em;
  font-family: "Inter", -apple-system, system-ui, sans-serif;
}
.hero-mag__title .huge {
  display: block;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 900;
  color: var(--text);
}
.hero-mag__title .huge em {
  font-style: italic; font-weight: 400;
  color: var(--text-soft);
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: -0.02em;
}
.hero-mag__title .huge.accent {
  color: var(--primary);
  position: relative; display: inline-block;
}
.hero-mag__title .huge.accent::after {
  content: ""; position: absolute;
  left: -4px; right: -4px; bottom: 6px; height: 18px;
  background: var(--accent); opacity: .35; z-index: -1;
  border-radius: 2px;
}

.hero-mag__lead-text {
  font-size: 1.08rem; line-height: 1.55;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 0 28px;
}

.hero-mag__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-mag__byline {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: var(--text-mute);
  border-top: 1px dashed var(--border-strong);
  padding-top: 18px;
}
.hero-mag__byline strong { color: var(--text); }
.dotsep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-mute); flex-shrink: 0;
}

/* ===== RECIBO TÉRMICO MOCKUP ===== */
.hero-mag__receipt-stage {
  position: relative; perspective: 1200px;
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: 8px;
}
.receipt {
  width: 290px;
  background: #fff;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; line-height: 1.5;
  color: #1a1a2e;
  padding: 22px 18px 16px;
  position: relative;
  box-shadow:
    0 28px 60px rgba(15, 23, 42, .18),
    0 8px 16px rgba(15, 23, 42, .10);
  transform: rotate(-3deg);
  animation: receiptPrint 1.2s cubic-bezier(.2,.8,.2,1) .3s both;
  /* perfil de papel térmico cortado */
  clip-path: polygon(
    0 4px, 6px 0, 12px 4px, 18px 0, 24px 4px, 30px 0, 36px 4px, 42px 0,
    48px 4px, 54px 0, 60px 4px, 66px 0, 72px 4px, 78px 0, 84px 4px, 90px 0,
    96px 4px, 102px 0, 108px 4px, 114px 0, 120px 4px, 126px 0, 132px 4px, 138px 0,
    144px 4px, 150px 0, 156px 4px, 162px 0, 168px 4px, 174px 0, 180px 4px, 186px 0,
    192px 4px, 198px 0, 204px 4px, 210px 0, 216px 4px, 222px 0, 228px 4px, 234px 0,
    240px 4px, 246px 0, 252px 4px, 258px 0, 264px 4px, 270px 0, 276px 4px, 282px 0,
    290px 4px,
    290px 100%, 0 100%
  );
}
@keyframes receiptPrint {
  from { transform: rotate(-3deg) translateY(-30px); opacity: 0; }
  to   { transform: rotate(-3deg) translateY(0); opacity: 1; }
}
.receipt__top { text-align: center; }
.receipt__logo {
  font-family: "Roboto", -apple-system, sans-serif;
  font-weight: 900; font-size: 1.15rem; letter-spacing: -0.02em;
  color: #022F87; margin-bottom: 6px;
}
.receipt__logo span { font-weight: 300; color: #FFC107; }
.receipt__meta {
  font-size: 10px; color: #555; letter-spacing: .04em;
}
.receipt__sep {
  border-top: 1px solid #1a1a2e;
  margin: 10px 0;
}
.receipt__sep.dashed {
  border-top: 1px dashed #1a1a2e;
}
.receipt__lines, .receipt__total { padding: 0; }
.rl {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; font-size: 11px; padding: 2px 0;
}
.rl span { flex: 1; }
.rl b { font-weight: 700; }
.rl.big { font-size: 14px; font-weight: 900; padding: 4px 0; }
.rl.big b { font-size: 16px; }
.rl.muted { color: #777; font-size: 10px; }
.receipt__footer {
  text-align: center; font-size: 10px; color: #444;
  margin-top: 8px;
}
.receipt__footer br { display: block; content: ""; margin-top: 2px; }
.receipt__cut {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 12px;
  background: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 50%, #fff 50%, #fff 75%, transparent 75%);
  background-size: 12px 12px;
}

/* ===== TICKER VENTAS EN DIRECTO ===== */
.live-ticker {
  position: relative; z-index: 1;
  margin-top: 60px;
  background: var(--text);
  color: white;
  display: flex; align-items: stretch;
  overflow: hidden;
  border-top: 4px solid var(--accent);
}
.live-ticker__pulse {
  display: flex; align-items: center; gap: 10px;
  padding: 0 22px;
  background: var(--accent); color: #1a1a2e;
  font-size: .72rem; letter-spacing: .18em; font-weight: 900;
  text-transform: uppercase; white-space: nowrap;
  flex-shrink: 0;
}
.live-ticker__pulse span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #c0151c;
  animation: pulseDot 1.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(.6); opacity: .55; }
}
.live-ticker__rail {
  flex: 1; overflow: hidden; position: relative;
}
.live-ticker__rail::before, .live-ticker__rail::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.live-ticker__rail::before { left: 0; background: linear-gradient(90deg, var(--text), transparent); }
.live-ticker__rail::after  { right: 0; background: linear-gradient(270deg, var(--text), transparent); }
.live-ticker__track {
  display: inline-flex; gap: 0;
  padding: 14px 0;
  animation: tickerSlide 60s linear infinite;
  white-space: nowrap;
}
.live-ticker__track span {
  padding: 0 26px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: .82rem; letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  border-right: 1px solid rgba(255,255,255,.12);
}
.live-ticker__track span b {
  color: var(--accent); font-weight: 700; margin-right: 8px;
}
@keyframes tickerSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   MANIFESTO — bloque editorial post-hero
   ============================================================ */
.manifesto {
  padding: 96px 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.manifesto__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 880px) { .manifesto__grid { grid-template-columns: 1fr; gap: 32px; } }

.manifesto__quote {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2; font-weight: 400;
  color: var(--text);
  position: relative; padding-left: 18px;
  border-left: 4px solid var(--accent);
}
.manifesto__quote em {
  font-style: italic; color: var(--primary);
  background: linear-gradient(180deg, transparent 60%, rgba(255,193,7,.45) 60%);
  padding: 0 2px;
}
.manifesto__quote u {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font-weight: 700;
}
.manifesto__mark {
  position: absolute; top: -28px; left: -8px;
  font-size: 5rem; line-height: 1; color: var(--accent);
  opacity: .9;
}

.manifesto__eyebrow {
  display: inline-block;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 800; color: var(--primary);
  background: rgba(2, 47, 135, .08);
  padding: 5px 10px; border-radius: 4px;
  margin-bottom: 18px;
}
.manifesto__body p {
  font-size: 1.05rem; line-height: 1.6; color: var(--text-soft);
}
.manifesto__numbers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 28px;
  padding-top: 24px; border-top: 1px dashed var(--border-strong);
}
.manifesto__numbers > div {
  text-align: left;
}
.manifesto__numbers b {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 2.6rem; font-weight: 900;
  letter-spacing: -0.04em; color: var(--primary);
  line-height: 1;
}
.manifesto__numbers span {
  display: block; margin-top: 6px;
  font-size: .78rem; color: var(--text-mute);
  font-weight: 500;
}

/* ============================================================
   LONG SECTIONS — pulseras + entradas online
   ============================================================ */
.long-section {
  padding: 96px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.long-section.pulseras-section {
  background: var(--bg-1);
}
.long-section.entradas-section {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

.long-section__header {
  max-width: 880px; margin: 0 auto 56px;
}

.ed-eyebrow {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: "Inter", sans-serif;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--text-mute);
  margin-bottom: 22px;
}
.ed-eyebrow__num {
  font-family: "Georgia", serif;
  font-size: 1.8rem; font-weight: 400; letter-spacing: 0;
  color: var(--accent); line-height: 1;
}

.ed-h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--text); margin: 0 0 24px;
  font-family: "Inter", sans-serif;
}
.ed-h2 .ink {
  color: var(--primary);
  position: relative; display: inline-block;
}
.ed-h2 .ink::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; bottom: 4px; height: 14px;
  background: var(--accent); opacity: .35; z-index: -1; border-radius: 2px;
}

.ed-lead {
  font-size: 1.15rem; line-height: 1.65;
  color: var(--text-soft); max-width: 720px;
}
.ed-lead strong { color: var(--text); }

.ed-h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800; color: var(--text);
  margin: 56px 0 24px; letter-spacing: -0.015em;
  font-family: "Inter", sans-serif;
}
.ed-h3.with-rule {
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
}
.ed-h4 {
  font-size: 1.2rem; font-weight: 800; color: var(--text);
  margin: 0 0 14px; letter-spacing: -0.015em;
}

/* ============================================================
   PULSERA mockup + saldo
   ============================================================ */
.pulsera-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: center;
  margin: 24px 0 48px;
  padding: 40px;
  background: var(--bg-2);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
}
@media (max-width: 760px) { .pulsera-stage { grid-template-columns: 1fr; padding: 24px; } }

.pulsera-mock {
  display: flex; align-items: center; justify-content: center;
  gap: 0; min-height: 80px;
}
.pulsera-mock__band {
  width: 80px; height: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: 6px 0 0 6px;
  position: relative;
}
.pulsera-mock__band::before, .pulsera-mock__band::after {
  content: ""; position: absolute;
  width: 100%; height: 4px;
  background: rgba(255,255,255,.18);
}
.pulsera-mock__band::before { top: 6px; }
.pulsera-mock__band::after { bottom: 6px; }
.pulsera-mock__band.right {
  background: linear-gradient(225deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: 0 6px 6px 0;
}
.pulsera-mock__chip {
  width: 130px; min-height: 80px;
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative; z-index: 1;
}
.pulsera-mock__nfc {
  width: 24px; height: 24px;
  margin: 2px auto 6px;
  border: 2px solid var(--accent); border-radius: 50%;
  position: relative;
}
.pulsera-mock__nfc::before, .pulsera-mock__nfc::after {
  content: ""; position: absolute; inset: 3px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  border-color: transparent var(--accent) transparent transparent;
}
.pulsera-mock__nfc::after { inset: 6px; }
.pulsera-mock__brand {
  font-family: "Roboto", sans-serif;
  font-weight: 900; font-size: .82rem;
  color: var(--primary); letter-spacing: -0.02em;
}
.pulsera-mock__brand span { font-weight: 300; color: var(--accent); }
.pulsera-mock__uid {
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: .58rem; color: var(--text-mute); margin-top: 4px;
  letter-spacing: .04em;
}

.pulsera-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.pulsera-card__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; gap: 12px;
}
.pulsera-card__badge {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--success);
  background: rgba(22, 163, 74, .10);
  padding: 4px 8px; border-radius: 4px;
}
.pulsera-card__name {
  font-size: .82rem; color: var(--text-soft); font-weight: 600;
}
.pulsera-card__balance {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: var(--text); line-height: 1;
  padding: 14px 0; border-bottom: 1px dashed var(--border-strong);
}
.pulsera-card__balance .cur {
  font-size: .55em; vertical-align: super; color: var(--text-mute); font-weight: 400;
  margin-right: 4px;
}
.pulsera-card__movs { padding: 12px 0; }
.mov {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: .8rem; padding: 5px 0;
  color: var(--text-soft);
}
.mov b { font-weight: 700; color: var(--danger); }
.mov.pos b { color: var(--success); }
.pulsera-card__cta {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--text-mute);
}

/* ============================================================
   FLOW CARDS — los dos flujos de pulsera
   ============================================================ */
.flow-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-bottom: 48px;
}
@media (max-width: 880px) { .flow-grid { grid-template-columns: 1fr; } }

.flow-card {
  padding: 32px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
}
.flow-card.flow-vip { border-top: 4px solid var(--accent); }
.flow-card.flow-bar { border-top: 4px solid var(--primary); }

.flow-card__tag {
  display: inline-block;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 800; color: var(--text-mute);
  margin-bottom: 12px;
}

.flow-card__title {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.015em;
  margin: 0 0 16px; line-height: 1.2;
}
.flow-card__title em {
  font-family: "Georgia", serif; font-style: italic;
  font-weight: 400; color: var(--primary);
}

.flow-card__lead {
  color: var(--text-soft); font-size: .98rem; line-height: 1.6;
  margin: 0 0 24px;
}
.flow-card__lead em { font-style: italic; color: var(--text); font-weight: 600; }

.flow-steps { list-style: none; padding: 0; margin: 0; }
.flow-steps li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 0;
  border-top: 1px dashed var(--border);
  font-size: .92rem; color: var(--text-soft); line-height: 1.55;
}
.flow-steps li:first-child { border-top: 0; padding-top: 0; }
.flow-steps li b { color: var(--text); font-weight: 700; }
.flow-steps__n {
  flex-shrink: 0; width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--bg-2); color: var(--primary);
  font-weight: 900; font-size: .82rem;
  border-radius: 6px;
}
.flow-vip .flow-steps__n { background: var(--accent); color: #1a1a2e; }

.flow-card__use {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border-strong);
  font-size: .82rem; color: var(--text-mute);
  font-style: italic;
}

/* ============================================================
   STATS STRIP — números del sector
   ============================================================ */
.stats-strip {
  background: var(--text); color: white;
  padding: 40px 32px;
  border-radius: var(--r-xl);
  margin: 48px 0;
}
.stats-strip__title {
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 800; color: var(--accent);
  margin-bottom: 24px;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(255,255,255,.15);
}
@media (max-width: 880px) { .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stats-strip__grid > div b {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: white; line-height: 1;
  font-family: "Inter", sans-serif;
}
.stats-strip__grid > div span {
  display: block; margin-top: 8px;
  font-size: .85rem; line-height: 1.4;
  color: rgba(255,255,255,.65);
}
.stats-strip__note {
  margin-top: 18px; font-size: .78rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

/* ============================================================
   HONEST BLOCK — cuándo NO compensa + legalidad
   ============================================================ */
.honest-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin: 32px 0;
  padding: 32px;
  background: rgba(255, 193, 7, .08);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--accent);
}
@media (max-width: 760px) { .honest-block { grid-template-columns: 1fr; padding: 24px; } }
.honest-block p { color: var(--text-soft); font-size: .98rem; line-height: 1.6; }
.honest-block strong { color: var(--text); }
.honest-list { padding-left: 20px; color: var(--text-soft); font-size: .95rem; line-height: 1.7; }
.honest-list li::marker { color: var(--accent); }
.honest-list em { font-style: italic; color: var(--text); }
.honest-block__finep {
  margin-top: 14px; font-size: .85rem !important;
  color: var(--text-mute) !important;
  font-style: italic;
}

/* ============================================================
   COMPARE-HONEST — tabla comparativa (limpia)
   ============================================================ */
.compare-honest {
  margin: 24px 0 0;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-honest table {
  width: 100%; border-collapse: collapse;
  font-size: .92rem;
}
.compare-honest thead {
  background: var(--bg-2);
  border-bottom: 2px solid var(--border-strong);
}
.compare-honest th {
  text-align: left; padding: 14px 18px;
  font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 800;
  color: var(--text-soft);
}
.compare-honest th.us-col, .compare-honest td.us-col {
  background: rgba(2, 47, 135, .04);
  color: var(--primary);
}
.compare-honest td {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  vertical-align: top; line-height: 1.5;
  color: var(--text-soft);
}
.compare-honest td:first-child { font-weight: 700; color: var(--text); }
.compare-honest td.us-col { color: var(--text); }
.compare-honest td.us-col strong { color: var(--primary); }

/* ============================================================
   ENTRADAS — Shop mockup + ticket
   ============================================================ */
.shop-stage {
  display: grid; grid-template-columns: 1.4fr .9fr;
  gap: 32px; align-items: start;
  margin: 24px 0 48px;
}
@media (max-width: 880px) { .shop-stage { grid-template-columns: 1fr; } }

.shop-mock {
  background: white; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.shop-mock__head {
  padding: 14px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.shop-mock__breadcrumb {
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: .72rem; color: var(--text-mute);
}
.shop-mock__head h5 {
  font-size: 1rem; font-weight: 800; margin: 6px 0 0;
  color: var(--text);
}
.pkg-pop {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.pkg-pop:last-of-type { border-bottom: 0; }
.pkg-pop.alt { background: var(--bg-2); }
.pkg-pop__name {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 800; color: var(--text-mute); margin-bottom: 4px;
}
.pkg-pop__desc {
  font-size: .9rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 12px;
}
.pkg-pop__row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.pkg-pop__price {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem; font-weight: 900; color: var(--text);
  letter-spacing: -0.02em;
}
.pkg-pop__btn {
  background: var(--primary); color: white;
  border: none; padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; cursor: not-allowed;
  opacity: .9;
}
.shop-mock__foot {
  padding: 12px 20px;
  background: var(--bg-2);
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: .68rem; color: var(--text-mute);
  text-align: center; letter-spacing: .08em;
  border-top: 1px solid var(--border);
}

.ticket-mock {
  background: white;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.ticket-mock__strip {
  background: var(--text); color: var(--accent);
  font-size: .72rem; letter-spacing: .18em; font-weight: 800;
  text-align: center; padding: 8px;
}
.ticket-mock__body { padding: 24px 20px 28px; text-align: center; }
.ticket-mock__event {
  font-family: "Inter", sans-serif;
  font-size: .92rem; font-weight: 900; color: var(--text);
  letter-spacing: -0.01em; line-height: 1.2;
  margin-bottom: 4px;
}
.ticket-mock__pkg {
  font-size: .78rem; color: var(--text-mute);
  margin-bottom: 16px;
  font-family: "JetBrains Mono", Menlo, monospace;
  letter-spacing: .04em;
}
.ticket-mock__qr {
  width: 110px; height: 110px;
  margin: 0 auto 12px;
  padding: 10px;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.qr-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 2px; width: 100%; height: 100%;
}
.qr-grid span {
  background: white;
}
.qr-grid span.on { background: var(--text); }
.ticket-mock__loc {
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: .85rem; color: var(--text); letter-spacing: .04em;
  margin-bottom: 6px;
}
.ticket-mock__loc b { color: var(--primary); font-weight: 800; letter-spacing: .12em; }
.ticket-mock__hint {
  font-size: .72rem; color: var(--text-mute); line-height: 1.4;
  font-style: italic;
}
.ticket-mock__cut {
  height: 14px;
  background: linear-gradient(45deg, var(--bg-1) 25%, transparent 25%, transparent 50%, var(--bg-1) 50%, var(--bg-1) 75%, transparent 75%);
  background-size: 14px 14px;
  background-color: white;
}

/* ============================================================
   BIG STEPS — los 3 pasos extensivos
   ============================================================ */
.big-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 48px;
}
@media (max-width: 880px) { .big-steps { grid-template-columns: 1fr; } }

.big-step {
  padding: 28px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.big-step__n {
  font-family: "Inter", sans-serif;
  font-size: 3rem; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.big-step h4 {
  font-size: 1.2rem; font-weight: 800;
  color: var(--text); margin: 0 0 12px; letter-spacing: -0.01em;
  font-family: "Inter", sans-serif;
}
.big-step p {
  color: var(--text-soft); font-size: .94rem;
  line-height: 1.6; margin: 0 0 16px;
}
.big-step strong { color: var(--text); }
.big-step code {
  background: var(--bg-2);
  padding: 2px 6px; border-radius: 4px;
  font-size: .85em; color: var(--primary);
}
.micro-list {
  padding-left: 18px; margin: 0;
  font-size: .85rem; color: var(--text-soft);
  line-height: 1.7;
}
.micro-list li::marker { color: var(--accent); }

/* ============================================================
   COMMISSION TABLE
   ============================================================ */
.commission-table {
  margin-top: 24px;
}
.commission-table table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  font-size: .92rem;
}
.commission-table thead {
  background: var(--bg-2);
  border-bottom: 2px solid var(--border-strong);
}
.commission-table th {
  text-align: left; padding: 14px 16px;
  font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 800;
  color: var(--text-soft);
}
.commission-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  color: var(--text-soft); line-height: 1.5;
}
.commission-table td:first-child { font-weight: 700; color: var(--text); }
.commission-table .us-row {
  background: linear-gradient(90deg, rgba(255,193,7,.08), rgba(2,47,135,.04));
}
.commission-table .us-row td {
  color: var(--text); border-top: 2px solid var(--accent);
}
.commission-table .us-row strong { color: var(--primary); }
.commission-table__note {
  margin-top: 18px; font-size: .9rem;
  color: var(--text-mute); line-height: 1.6;
  font-style: italic;
  max-width: 760px;
}
.commission-table__note strong { color: var(--primary); font-style: normal; }

/* ============================================================
   PKG IDEAS — qué se puede vender
   ============================================================ */
.pkg-ideas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.pkg-idea {
  padding: 22px;
  background: white;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  transition: border-left-color .2s, transform .2s;
}
.pkg-idea:nth-child(2n) { border-left-color: var(--accent); }
.pkg-idea:hover {
  transform: translateY(-2px);
  border-left-color: var(--accent);
}
.pkg-idea__type {
  font-size: .68rem; letter-spacing: .14em;
  font-weight: 800; color: var(--text-mute);
  margin-bottom: 8px;
}
.pkg-idea p {
  font-size: .9rem; color: var(--text-soft);
  line-height: 1.5; margin: 0;
}

/* ============================================================
   WRISTBAND TYPES — catálogo
   ============================================================ */
.wb-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.wb-type {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.wb-type:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.wb-type__visual {
  height: 90px;
  margin: -22px -22px 18px;
  background: var(--bg-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* TYVEK — banda papel con texto impreso */
.wb-tyvek {
  background: linear-gradient(180deg, #fff 0%, #f8f8f5 100%);
}
.wb-tyvek__txt {
  display: inline-block;
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: .58rem; font-weight: 700;
  color: var(--primary); letter-spacing: .08em;
  background: #fff;
  padding: 14px 22px;
  border: 1px dashed var(--border-strong);
  transform: rotate(-3deg);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* SILICONA — banda redondeada con chip */
.wb-silicona {
  background: linear-gradient(180deg, #f6f8ff 0%, #eef1fb 100%);
}
.wb-silicona::before {
  content: ""; position: absolute;
  width: 200px; height: 26px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(2,47,135,.20);
}
.wb-silicona__chip {
  position: relative; z-index: 1;
  width: 36px; height: 22px;
  background: white; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.10);
}
.wb-silicona__chip::after {
  content: ""; position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px;
  border: 1.5px solid var(--accent); border-radius: 50%;
}

/* TELA TEJIDA — patrón weave */
.wb-tela {
  background: var(--bg-2);
}
.wb-tela__weave {
  width: 220px; height: 28px;
  background:
    repeating-linear-gradient(45deg, var(--primary) 0 4px, var(--primary-2) 4px 8px),
    var(--primary);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 4px 10px rgba(2,47,135,.20);
}
.wb-tela__weave::after {
  content: ""; position: absolute;
  right: 6px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--text);
}

/* PVC SNAP — banda plástica con botón */
.wb-pvc {
  background: linear-gradient(180deg, #fff 0%, #f0f3f9 100%);
}
.wb-pvc::before {
  content: ""; position: absolute;
  width: 200px; height: 22px;
  background: var(--accent);
  border-radius: 11px;
  box-shadow: 0 3px 10px rgba(255,193,7,.30);
}
.wb-pvc__snap {
  position: relative; z-index: 1;
  width: 14px; height: 14px;
  background: var(--text);
  border-radius: 50%;
  box-shadow: inset 0 1px 3px rgba(255,255,255,.30), 0 1px 2px rgba(0,0,0,.40);
}

/* TARJETA NFC — formato credit card */
.wb-tarjeta {
  background: var(--bg-2);
}
.wb-tarjeta__inner {
  width: 130px; height: 78px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 6px 14px rgba(2,47,135,.25);
  padding: 8px;
}
.wb-tarjeta__chip {
  width: 22px; height: 16px;
  background: linear-gradient(135deg, #ffd358, #FFC107);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.40);
}
.wb-tarjeta__brand {
  position: absolute; bottom: 8px; left: 8px;
  font-family: "Roboto", sans-serif;
  font-size: .56rem; font-weight: 900;
  color: white; letter-spacing: -0.02em;
}
.wb-tarjeta__brand span { font-weight: 300; color: var(--accent); }
.wb-tarjeta__nfc {
  position: absolute; top: 12px; right: 10px;
  width: 14px; height: 14px;
  border: 1.5px solid white; border-radius: 50%;
  border-color: transparent white transparent transparent;
}
.wb-tarjeta__nfc::before {
  content: ""; position: absolute; inset: 2px;
  border: 1.5px solid white; border-radius: 50%;
  border-color: transparent white transparent transparent;
}

/* LLAVERO — pieza con agujero */
.wb-llavero {
  background: var(--bg-2);
  display: flex; gap: 4px; padding: 0 60px;
}
.wb-llavero__hole {
  width: 14px; height: 14px;
  border: 3px solid var(--text);
  border-radius: 50%;
  align-self: center;
}
.wb-llavero__body {
  flex: 1; height: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: 0 3px 8px rgba(2,47,135,.25);
}
.wb-llavero__body::after {
  content: "FT";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "Roboto", sans-serif;
  font-weight: 900; font-size: .68rem; color: var(--accent);
  letter-spacing: -0.02em;
}

/* STICKER — círculo */
.wb-sticker {
  background: linear-gradient(180deg, #fff 0%, #f0f3f9 100%);
}
.wb-sticker__circle {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 12px rgba(255,193,7,.30);
}
.wb-sticker__circle::after {
  content: ""; position: absolute; inset: 12px;
  border: 2px solid var(--text); border-radius: 50%;
  border-color: transparent var(--text) transparent transparent;
}

/* DOBLE CHIP — banda con dos chips */
.wb-doble {
  background: linear-gradient(180deg, #f6f8ff 0%, #eef1fb 100%);
}
.wb-doble::before {
  content: ""; position: absolute;
  width: 200px; height: 28px;
  background: linear-gradient(180deg, var(--text) 0%, #1a2552 100%);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.20);
}
.wb-doble__chip {
  position: relative; z-index: 1;
  width: 22px; height: 22px;
  border-radius: 50%;
}
.wb-doble__chip.a {
  background: var(--accent);
  margin-right: 24px;
  box-shadow: 0 0 0 2px white;
}
.wb-doble__chip.b {
  background: var(--primary-2);
  box-shadow: 0 0 0 2px white;
}

/* HEAD del card */
.wb-type__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 8px; margin-bottom: 10px;
}
.wb-type h4 {
  font-size: 1.05rem; font-weight: 800; color: var(--text);
  margin: 0; letter-spacing: -0.01em;
  font-family: "Inter", sans-serif;
}
.wb-type__tag {
  flex-shrink: 0;
  font-size: .62rem; letter-spacing: .12em;
  font-weight: 800; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px;
}
.tag-cheap   { background: rgba(22,163,74,.10);  color: var(--success); }
.tag-reuse   { background: rgba(2,47,135,.08);   color: var(--primary); }
.tag-premium { background: rgba(255,193,7,.18);  color: #92590a; }
.tag-vip     { background: rgba(220,38,38,.10);  color: var(--danger); }

.wb-type p {
  font-size: .9rem; color: var(--text-soft);
  line-height: 1.55; margin: 0 0 14px;
}
.wb-type p strong { color: var(--text); }
.wb-type p em { font-style: italic; color: var(--text); }

.wb-type__specs {
  list-style: none; padding: 0; margin: 0 0 16px;
  font-size: .82rem; color: var(--text-soft);
  line-height: 1.6;
}
.wb-type__specs li {
  padding: 2px 0;
  border-top: 1px dashed var(--border);
}
.wb-type__specs li:first-child { border-top: 0; }
.wb-type__specs li b { color: var(--text); font-weight: 700; }

.wb-type__price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-strong);
  font-size: .88rem; color: var(--text-mute);
}
.wb-type__price b {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--primary); letter-spacing: -0.02em;
  margin: 0 4px;
}
.wb-type__price span {
  display: block;
  margin-top: 2px;
  font-size: .72rem; font-style: italic;
}

/* ============================================================
   QA-LIST — accordion FAQ + dudas
   ============================================================ */
.qa-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.qa-list details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.qa-list details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.qa-list summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-weight: 700; color: var(--text);
  font-size: 1rem; line-height: 1.4;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  position: relative;
  transition: color .15s;
}
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--bg-2);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.3rem; font-weight: 700;
  transition: transform .2s, background .2s;
}
.qa-list details[open] summary::after {
  content: "−";
  background: var(--primary);
  color: white;
  transform: rotate(180deg);
}
.qa-list summary:hover { color: var(--primary); }
.qa-list details > p {
  margin: 0; padding: 0 22px 22px;
  color: var(--text-soft);
  font-size: .96rem; line-height: 1.65;
}
.qa-list details > p strong { color: var(--text); font-weight: 700; }
.qa-list details > p em { color: var(--primary); font-style: italic; }
.qa-list details > p code {
  background: var(--bg-2);
  padding: 2px 6px; border-radius: 4px;
  font-size: .85em; color: var(--primary);
}

/* ============================================================
   PÁGINAS LEGALES — estilo documento limpio y legible
   ============================================================ */
body.legal-page {
  background: var(--bg-1);
  color: var(--text);
}
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.legal-nav__back {
  font-size: .88rem; font-weight: 600; color: var(--text-soft);
}
.legal-nav__back:hover { color: var(--primary); }

.legal-doc {
  max-width: 820px; margin: 56px auto 80px;
  padding: 0 24px;
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  line-height: 1.7;
}
.legal-doc__head { margin-bottom: 48px; }
.legal-doc__crumbs {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--text-mute); margin-bottom: 12px;
}
.legal-doc h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--text); margin: 0 0 14px;
}
.legal-doc__updated {
  font-size: .85rem; color: var(--text-mute); margin: 0;
  font-style: italic;
}
.legal-doc section {
  margin-bottom: 40px;
  padding-bottom: 8px;
}
.legal-doc h2 {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--text); margin: 0 0 18px;
  letter-spacing: -0.015em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.legal-doc h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: var(--primary); margin: 24px 0 12px;
}
.legal-doc p {
  font-size: 1rem; color: var(--text-soft); line-height: 1.7;
  margin: 0 0 14px;
}
.legal-doc strong { color: var(--text); font-weight: 700; }
.legal-doc em { color: var(--text); font-style: italic; }
.legal-doc ul, .legal-doc ol {
  font-size: 1rem; color: var(--text-soft); line-height: 1.7;
  padding-left: 22px; margin: 0 0 14px;
}
.legal-doc ul li, .legal-doc ol li { margin-bottom: 6px; }
.legal-doc ul li::marker { color: var(--accent); }
.legal-doc ol li::marker { font-weight: 700; color: var(--primary); }
.legal-doc a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(2,47,135,.30); text-underline-offset: 3px; }
.legal-doc a:hover { color: var(--primary-2); text-decoration-color: var(--primary-2); }
.legal-doc code {
  background: var(--bg-2); padding: 2px 6px; border-radius: 4px;
  font-size: .9em; color: var(--primary);
  font-family: "JetBrains Mono", Menlo, monospace;
}
.legal-doc__lead {
  font-size: 1.1rem !important;
  color: var(--text) !important;
  padding: 18px 22px;
  background: var(--bg-2);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.legal-doc__note {
  background: rgba(255,193,7,.10);
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .92rem !important; color: var(--text-soft);
}
.legal-callout {
  padding: 22px;
  background: rgba(220,38,38,.06);
  border: 1px solid rgba(220,38,38,.20);
  border-radius: var(--r-md);
  margin: 18px 0;
}
.legal-callout p, .legal-callout ul { color: var(--text); }
.legal-doc__sig {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px dashed var(--border-strong);
  text-align: center; font-size: .85rem; color: var(--text-mute);
}
.legal-doc__related {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: .9rem;
}
.legal-doc__related a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.legal-doc__related a:hover { border-bottom-color: var(--accent); }
.legal-rights { padding-left: 22px; }
.legal-rights li { margin-bottom: 8px; }

/* Tablas legales */
.legal-table {
  width: 100%; border-collapse: collapse;
  margin: 18px 0; font-size: .92rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.legal-table th {
  background: var(--bg-2);
  font-weight: 700; color: var(--text);
  width: 36%;
}
.legal-table td {
  color: var(--text-soft);
}
.legal-table tr:last-child th, .legal-table tr:last-child td {
  border-bottom: 0;
}
.legal-table--rows thead th {
  background: var(--text); color: white;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
}
.legal-table--rows tbody th { width: 22%; }

/* ============================================================
   SITE LEGAL FOOTER — pie común con datos legales
   ============================================================ */
.site-legal-footer {
  background: var(--bg-2);
  padding: 48px 0 28px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.site-legal-footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) {
  .site-legal-footer__cols { grid-template-columns: 1fr 1fr; }
}
.site-legal-footer__brand {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem; font-weight: 900; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.site-legal-footer__co {
  font-size: .85rem; color: var(--text-soft); line-height: 1.5;
  margin-bottom: 6px;
}
.site-legal-footer__dev {
  font-size: .8rem; color: var(--text-mute);
}
.site-legal-footer__dev a { color: var(--primary); font-weight: 600; }
.site-legal-footer h5 {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 800;
  margin: 0 0 12px;
}
.site-legal-footer ul {
  list-style: none; padding: 0; margin: 0;
}
.site-legal-footer ul li {
  margin-bottom: 6px;
}
.site-legal-footer ul a {
  color: var(--text-soft); font-size: .9rem;
}
.site-legal-footer ul a:hover { color: var(--primary); }
.site-legal-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 20px;
  font-size: .78rem; color: var(--text-mute);
}
.site-legal-footer__compliance {
  font-family: "JetBrains Mono", Menlo, monospace;
  font-size: .72rem;
  background: white;
  padding: 4px 10px; border-radius: 4px;
  border: 1px solid var(--border);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 9999;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s, transform .25s;
  max-width: 880px; margin: 0 auto;
}
.cookie-banner--show {
  opacity: 1; transform: translateY(0);
}
.cookie-banner__inner {
  display: flex; align-items: center; gap: 22px;
  padding: 16px 22px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1; min-width: 280px;
  font-size: .88rem; color: var(--text-soft); line-height: 1.5;
}
.cookie-banner__text strong { color: var(--text); }
.cookie-banner__text a { color: var(--primary); font-weight: 600; }
.cookie-banner__actions {
  display: flex; gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__inner { padding: 14px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ============================================================
   HERO BG — imagen stock con tratamiento editorial
   ============================================================ */
.hero-mag__bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* fade-out hacia abajo más suave: la imagen se mantiene fuerte hasta más abajo */
  mask-image: linear-gradient(180deg,
              rgba(0,0,0,.95) 0%,
              rgba(0,0,0,.80) 50%,
              rgba(0,0,0,.40) 80%,
              transparent 100%);
  -webkit-mask-image: linear-gradient(180deg,
              rgba(0,0,0,.95) 0%,
              rgba(0,0,0,.80) 50%,
              rgba(0,0,0,.40) 80%,
              transparent 100%);
}
.hero-mag__bg picture, .hero-mag__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-mag__bg img {
  /* tratamiento: más saturación y presencia, sin llegar a competir con la tipografía */
  filter: saturate(.85) brightness(.78) contrast(1.05);
  opacity: .65;
}
/* Overlay oscuro encima para mantener legibilidad del texto */
.hero-mag__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(7,7,26,.35) 0%,
              rgba(7,7,26,.20) 50%,
              rgba(7,7,26,.50) 100%);
  pointer-events: none;
}
/* Encima de la imagen queda el dot pattern (.hero-mag::before) y el glow amarillo (.hero-mag::after)
   que ya existen — la imagen se sitúa por debajo de ambos sin tocarlos */
.hero-mag::before { z-index: 1; }
.hero-mag::after  { z-index: 1; }
.hero-mag__grid   { z-index: 2; }
.live-ticker      { z-index: 2; }

/* Chips de plantillas preconfiguradas en el hero */
.hero-templates {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; align-items: center;
}
.hero-templates__label {
  font-size: .82rem; font-weight: 700; color: var(--text);
  margin-right: 4px;
}
.hero-templates__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.78); border: 1px solid var(--border-strong);
  font-size: .82rem; font-weight: 600; color: var(--text);
  backdrop-filter: blur(8px);
}
