/* ============================================================
   BiQu — hoja de estilos principal (rediseño "futuro", sept 2026)
   Oscuro profundo + la red de nodos del logo como motivo.
   Tipografías: Sora (títulos), Geist (texto), Geist Mono (datos).
   ============================================================ */

:root {
  --void: #05090f;          /* fondo base */
  --deep: #0a121c;          /* secciones alternas */
  --panel: #0d1824;         /* tarjetas sólidas */
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --line: rgba(150, 190, 230, .12);
  --line-2: rgba(150, 190, 230, .22);
  --ink: #eaf2fa;
  --text: #c5d3e0;
  --muted: #8397ab;
  --electric: #5ab0ff;      /* nodo azul del logo, llevado a pantalla */
  --electric-2: #2f7fd6;
  --coral: #ff5a45;
  --coral-dark: #e8412c;
  --sun: #f5ce1b;
  --leaf: #4db85a;
  --up: #ff8a73;
  --down: #5fd37a;
  --radius: 16px;
  --container: 1180px;
  --display: "Sora", "Geist", -apple-system, "Segoe UI", sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Alias de compatibilidad (usados en páginas antiguas) */
  --navy: var(--electric);
  --navy-dark: var(--ink);
  --navy-deep: var(--void);
  --green: var(--leaf);
  --yellow: var(--sun);
  --bg: var(--void);
  --bg-soft: var(--deep);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--void); color-scheme: dark; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--void);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--electric); text-decoration: none; }
::selection { background: rgba(90, 176, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }

section { padding: 110px 0; position: relative; }
section.soft { background: var(--deep); }

.grad {
  background: linear-gradient(92deg, #7cc2ff 0%, var(--electric) 35%, #b28dff 70%, var(--coral) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Encabezados de sección: alineados a la izquierda, etiqueta mono */
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head .kicker, .kicker {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono);
  font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--electric); margin-bottom: 18px;
}
.section-head .kicker::before, .kicker::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7;
}
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 18px; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 62ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; font-family: var(--sans);
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 120, 100, .5) inset, 0 10px 30px -8px rgba(255, 90, 69, .6);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 140, 120, .6) inset, 0 14px 40px -8px rgba(255, 90, 69, .75); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--glass); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--electric); background: rgba(90, 176, 255, .1); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--electric); }
.btn-light { background: #fff; color: #07101a; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -10px rgba(255, 255, 255, .45); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(5, 9, 15, .55); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(5, 9, 15, .82); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-weight: 500; font-size: 14.5px; color: var(--text); transition: color .15s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 9px 16px; font-size: 14px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--glass); gap: 2px; }
.lang-switch a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); padding: 4px 7px; border-radius: 6px; transition: color .15s, background .15s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="page"] { color: #fff; background: rgba(90, 176, 255, .18); }
.lang-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(90, 176, 255, .16), transparent 62%),
    radial-gradient(700px 480px at 8% 40%, rgba(178, 141, 255, .10), transparent 60%),
    radial-gradient(600px 360px at 60% 95%, rgba(255, 90, 69, .10), transparent 60%),
    var(--void);
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 190, 230, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 190, 230, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner { max-width: 880px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 28px;
  border: 1px solid var(--line-2); border-radius: 99px; background: rgba(10, 18, 28, .7);
  font-size: 13.5px; color: var(--text); backdrop-filter: blur(8px); transition: border-color .15s;
}
.hero-chip:hover { border-color: var(--electric); color: #fff; }
.hero-chip b {
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(90, 176, 255, .16); color: var(--electric); padding: 3px 9px; border-radius: 99px;
}
.hero h1 {
  font-size: clamp(40px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600;
  margin-bottom: 26px; text-wrap: balance;
}
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin-bottom: 36px; }
.hero .sub b { color: var(--ink); font-weight: 500; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-bottom: 64px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats dt { font-family: var(--display); font-size: 28px; font-weight: 600; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-stats dd { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* Consola del producto (bento) */
.console-wrap { position: relative; }
.console-wrap::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -40px; height: 200px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(90, 176, 255, .35), transparent 70%); filter: blur(30px);
}
.console {
  border: 1px solid var(--line-2); border-bottom: 0; border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(16, 28, 42, .92), rgba(8, 14, 22, .96));
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .08) inset, 0 40px 120px -40px rgba(90, 176, 255, .45);
  padding: 14px 14px 0; backdrop-filter: blur(10px); position: relative;
}
.console::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none; background: linear-gradient(180deg, transparent, var(--void)); }
.console-bar { display: flex; align-items: center; gap: 14px; padding: 4px 6px 14px; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: block; }
.console-url {
  font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 4px 12px;
  border: 1px solid var(--line); border-radius: 7px; background: rgba(0, 0, 0, .25);
}
.console-live { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--down); display: inline-flex; align-items: center; gap: 7px; }
.console-live::before, .live-dot {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--down); display: inline-block;
  animation: livePulse 1.8s infinite;
}
.bento { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.tile {
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: grid; gap: 12px; align-content: start;
}
.tile.tall { grid-row: span 2; }
.tile-lbl {
  display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.tile-lbl i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.tile h5 { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.cmp { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.cmp th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 0 8px; }
.cmp th:not(:first-child), .cmp td:not(:first-child) { text-align: right; }
.cmp td { padding: 9px 0; border-top: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.cmp td:first-child { color: var(--ink); max-width: 210px; overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.cmp .best { color: var(--down); font-weight: 600; }
.chip { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 6px; }
.chip.up { background: rgba(255, 138, 115, .12); color: var(--up); }
.chip.dn { background: rgba(95, 211, 122, .12); color: var(--down); }
.ext-list { display: grid; font-size: 13px; font-variant-numeric: tabular-nums; }
.ext-list div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); }
.ext-list div:first-child { border-top: 0; }
.ext-list b { color: var(--ink); font-weight: 600; }
.ext-list .best b { color: var(--down); }
.match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 12.5px; }
.match .p { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: rgba(0, 0, 0, .2); color: var(--ink); line-height: 1.35; }
.match .p small { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.match .link { font-family: var(--mono); font-size: 11px; color: var(--electric); text-align: center; }
.conf { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.conf .bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.conf .bar i { display: block; height: 100%; width: 98.7%; background: linear-gradient(90deg, var(--electric), var(--down)); }
.conf b { color: var(--down); font-weight: 500; }
.xls { display: grid; grid-template-columns: 52px 1fr 1fr; font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.xls span { padding: 6px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); }
.xls span:nth-child(3n) { border-right: 0; }
.xls span:nth-last-child(-n+3) { border-bottom: 0; }
.xls .h { background: rgba(77, 184, 90, .1); color: var(--leaf); }
.xls .f { color: var(--electric); }

/* ---------- Ticker de variaciones ---------- */
.live-ticker {
  display: flex; align-items: center; background: #060c14; color: var(--text);
  font-size: 13.5px; border-block: 1px solid var(--line); overflow: hidden; position: relative; z-index: 2;
}
.live-badge {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px;
  background: #040810; color: #fff; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; border-right: 1px solid var(--line); position: relative; z-index: 1;
}
.live-badge i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--down); display: inline-block;
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 122, .6); } 70% { box-shadow: 0 0 0 7px rgba(95, 211, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 122, 0); } }
.ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tickerMove 70s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.tick-item { display: inline-flex; align-items: baseline; gap: 9px; padding: 13px 24px; white-space: nowrap; border-right: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tick-item .cat { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tick-item .name { color: var(--ink); }
.tick-item .price { color: #fff; font-weight: 600; font-family: var(--mono); font-size: 13px; }
.tick-item .var { font-family: var(--mono); font-size: 12.5px; }
.tick-item.flash { animation: tickFlash 1.2s ease; }
@keyframes tickFlash { 0% { background: rgba(90, 176, 255, .18); } 100% { background: transparent; } }
.var.up, .pulse .up { color: var(--up); }
.var.dn, .pulse .dn { color: var(--down); }
.up { color: var(--up); } .down { color: var(--down); }

/* ---------- Logos de tiendas ---------- */
.logos { padding: 56px 0; border-bottom: 1px solid var(--line); background: var(--void); }
.logos-inner { display: flex; align-items: center; gap: 28px 56px; flex-wrap: wrap; }
.logos p { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: 190px; line-height: 1.5; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 30px 52px; flex: 1; }
.logo-row img { height: 30px; width: auto; filter: grayscale(1) invert(1) contrast(1.7); mix-blend-mode: screen; opacity: .6; transition: opacity .2s; }
.logo-row img:hover { opacity: .95; }
.logos .logos-more { flex-basis: 100%; max-width: none; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); }

/* ---------- Pulso del retail (métricas live) ---------- */
.pulse { background: var(--void); overflow: hidden; }
.pulse::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(90, 176, 255, .12), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 90, 69, .07), transparent 65%);
}
.pulse .container { position: relative; }
.pulse h2 { font-size: clamp(32px, 5vw, 58px); max-width: 17ch; text-wrap: balance; letter-spacing: -0.04em; line-height: 1.04; }
.pulse-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }
.pulse-note { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--glass); }
.pulse-note::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--down); display: inline-block;
  animation: livePulse 1.8s infinite;
}
.pulse-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.pulse-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); border-radius: 18px; padding: 28px; min-width: 0;
}
.pulse-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Contador + horas */
.pulse-counter { display: flex; flex-direction: column; gap: 22px; }
.pulse-big {
  font-family: var(--display); font-size: clamp(64px, 10vw, 128px); font-weight: 600; line-height: .95;
  letter-spacing: -0.055em; font-variant-numeric: tabular-nums; margin: 14px 0 16px;
  background: linear-gradient(180deg, #fff 35%, #8fc3f2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pulse-legend { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pulse-legend b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.pulse-legend b.up { color: var(--up); } .pulse-legend b.dn { color: var(--down); }
.days { margin-top: auto; display: grid; gap: 10px; }
.days-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.days-avg { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.days-bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; align-items: end; height: 110px; }
.days-bars i { display: block; border-radius: 3px 3px 1px 1px; background: rgba(90, 176, 255, .3); min-height: 3px; transition: height .8s ease, background .15s; position: relative; }
.days-bars i:hover { background: rgba(90, 176, 255, .6); }
.days-bars i.today { background: linear-gradient(180deg, var(--electric), rgba(90, 176, 255, .45)); box-shadow: 0 0 18px rgba(90, 176, 255, .6); }
.days-bars i[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #0d1824; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 8px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; color: var(--ink); z-index: 2; pointer-events: none;
}
.days-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }

/* Feed en vivo */
.pulse-feed { display: flex; flex-direction: column; padding-bottom: 12px; }
.feed-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.feed { list-style: none; position: relative; height: 330px; overflow: hidden; mask-image: linear-gradient(180deg, #000 75%, transparent); }
.feed li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.feed li.new { animation: feedIn .5s cubic-bezier(.2, .7, .2, 1); }
.feed li.new .f-name { animation: feedFlash 1.6s ease; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes feedFlash { 0% { color: #fff; text-shadow: 0 0 12px rgba(90, 176, 255, .8); } 100% { text-shadow: none; } }
.f-name { color: var(--ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-var { font-family: var(--mono); font-size: 13px; text-align: right; }
.f-var.up { color: var(--up); } .f-var.dn { color: var(--down); }
.f-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-price { font-family: var(--mono); font-size: 11.5px; color: var(--text); text-align: right; white-space: nowrap; }
.f-price s { color: var(--muted); margin-right: 7px; }

/* Gráfico índice */
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.chart-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.chart-keys { display: flex; flex-wrap: wrap; gap: 6px; }
.chart-key {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text); font-family: var(--sans);
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--glass); cursor: pointer; transition: all .15s;
}
.chart-key i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.chart-key b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; }
.chart-key:hover, .chart-key.active { border-color: var(--line-2); color: #fff; background: var(--glass-2); }
.chart-wrap { position: relative; }
#trend-chart { width: 100%; height: 260px; display: block; overflow: visible; }
#trend-chart .grid line { stroke: rgba(150, 190, 230, .09); }
#trend-chart .grid text, #trend-chart .xl text { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; }
#trend-chart .series path { fill: none; stroke-width: 2.2; vector-effect: non-scaling-stroke; transition: opacity .2s, stroke-width .2s; }
#trend-chart .series .area { stroke: none; opacity: 0; transition: opacity .2s; }
#trend-chart.focus .series:not(.on) path { opacity: .15; }
#trend-chart.focus .series.on .area { opacity: .14; }
#trend-chart .series path.line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
#trend-chart.play .series path.line { animation: draw 1.6s cubic-bezier(.3, .6, .2, 1) forwards; }
#trend-chart.play .series:nth-child(4) path.line { animation-delay: .1s; } #trend-chart.play .series:nth-child(5) path.line { animation-delay: .2s; } #trend-chart.play .series:nth-child(6) path.line { animation-delay: .3s; } #trend-chart.play .series:nth-child(7) path.line { animation-delay: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Destacados */
.pulse-highlights { display: flex; flex-direction: column; }
.hl-list { flex: 1; grid-auto-rows: 1fr; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 16px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hl-list > div { background: #09111a; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.hl-list dt { font-size: 12.5px; color: var(--muted); }
.hl-list dd { display: grid; gap: 4px; }
.hl-list dd b { font-family: var(--display); font-size: clamp(20px, 2.1vw, 27px); white-space: nowrap; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.hl-list dd b.up { color: var(--up); } .hl-list dd b.dn { color: var(--down); }
.hl-list dd span { font-size: 13px; color: var(--text); line-height: 1.4; }
.pulse-demo { margin-top: 16px; font-size: 12.5px; color: var(--muted); opacity: .8; }

/* ---------- Pregúntale a BiQu (conector MCP) ---------- */
.ask { background: var(--deep); overflow: hidden; }
.ask::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 85% 30%, rgba(178, 141, 255, .14), transparent 65%),
    radial-gradient(500px 380px at 70% 90%, rgba(90, 176, 255, .12), transparent 65%);
}
.ask-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; position: relative; }
.ask h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 18px; text-wrap: balance; letter-spacing: -0.035em; }
.ask-lede { color: var(--muted); font-size: 17.5px; margin-bottom: 32px; max-width: 54ch; }
.ask-caps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 28px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ask-caps li { background: var(--deep); padding: 16px 18px; display: grid; gap: 4px; }
.ask-caps b { color: var(--ink); font-weight: 500; font-size: 15px; }
.ask-caps span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ask-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.ask-trust li {
  font-size: 13px; color: var(--text); padding: 5px 12px 5px 10px; border: 1px solid var(--line); border-radius: 99px;
  background: var(--glass); display: inline-flex; align-items: center; gap: 7px;
}
.ask-trust li::before { content: "✓"; color: var(--down); font-size: 12px; }
.ask-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.chat {
  border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 26, 40, .95), rgba(8, 13, 21, .98));
  box-shadow: 0 40px 120px -40px rgba(178, 141, 255, .45), 0 -1px 0 rgba(255, 255, 255, .08) inset;
}
.chat-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-title { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink); font-size: 14px; }
.chat-conn { font-family: var(--mono); font-size: 11px; color: var(--electric); padding: 3px 9px; border-radius: 99px; background: rgba(90, 176, 255, .12); }
.chat-body { padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; height: 400px; overflow: hidden; }
.msg { max-width: 90%; font-size: 14.5px; line-height: 1.55; animation: msgIn .35s ease both; }
.msg.user { align-self: flex-end; background: rgba(90, 176, 255, .16); border: 1px solid rgba(90, 176, 255, .25); color: var(--ink); padding: 10px 14px; border-radius: 14px 14px 4px 14px; }
.msg.bot { align-self: flex-start; color: var(--text); display: grid; gap: 12px; }
.msg.bot b { color: var(--ink); font-weight: 600; }
.msg.bot b.up { color: var(--up); } .msg.bot b.dn { color: var(--down); }
.tool-call {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted);
  padding: 6px 12px; border: 1px dashed var(--line-2); border-radius: 8px; animation: msgIn .35s ease both;
}
.tool-call code { font-family: var(--mono); color: #c9b3ff; font-size: 12px; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(178, 141, 255, .25); border-top-color: #b28dff; animation: spin .8s linear infinite; }
.tool-call.done .spin { animation: none; border-color: var(--down); background: var(--down); transform: scale(.6); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: rgba(255, 255, 255, .03); display: grid; gap: 2px; }
.kpis b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.rows { display: grid; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.rows div:first-child { border-top: 0; }
.rows span:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.msg.bot svg { width: 100%; height: 70px; display: block; }
.chat-input {
  margin: 0 14px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 12px 11px 16px; background: rgba(0, 0, 0, .3);
  font-size: 14px; color: var(--muted); min-height: 46px;
}
.chat-input.typing #chat-typing { color: var(--ink); }
.chat-input.typing #chat-typing::after { content: "▍"; color: var(--electric); animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.send { width: 28px; height: 28px; border-radius: 8px; background: var(--electric); color: #04101c; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.chat-note { font-size: 11.5px; color: var(--muted); padding: 0 16px 14px; opacity: .8; }
.faq-body code { font-family: var(--mono); font-size: 13.5px; color: var(--ink); background: var(--glass-2); padding: 1px 6px; border-radius: 5px; }

/* ---------- Herramientas ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool-card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, transform .2s;
  padding: 24px 22px;
}
.tool-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(90, 176, 255, .14), transparent 70%);
}
.tool-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tool-card:hover::before { opacity: 1; }
.tool-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; border: 1px solid var(--line); }
.tool-icon svg { width: 22px; height: 22px; }
.tool-card h3 { font-size: 19px; margin-bottom: 4px; }
.tool-card .tool-sub { font-family: var(--mono); font-size: 12px; color: var(--electric); margin-bottom: 14px; letter-spacing: .02em; }
.tool-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.tool-card ul { list-style: none; }
.tool-card li { font-size: 13.5px; padding: 7px 0; color: var(--text); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.tool-card li::before { content: "→"; color: var(--electric); font-family: var(--mono); }
.tool-card .tool-cta { margin-top: auto; }
.ic-blue { background: rgba(90, 176, 255, .1); color: var(--electric); }
.ic-coral { background: rgba(255, 90, 69, .1); color: var(--coral); }
.ic-yellow { background: rgba(245, 206, 27, .1); color: var(--sun); }
.ic-green { background: rgba(77, 184, 90, .1); color: var(--leaf); }
.ic-violet { background: rgba(178, 141, 255, .12); color: #c3a8ff; }

/* ---------- Categorías ---------- */
.cats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cat-card { background: var(--deep); padding: 18px 20px; transition: background .2s; position: relative; display: flex; align-items: center; gap: 14px; }
.cat-card:hover { background: #0e1a27; }
.cat-icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 20px; height: 20px; }
.cat-card h3 { font-size: 15.5px; }
.cat-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cats-note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.cats-note a { font-weight: 600; }

/* ---------- Cómo funciona: pipeline ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 1px;
  background: linear-gradient(90deg, var(--electric), #b28dff, var(--coral)); opacity: .5;
}
.step { position: relative; padding: 0 12px 0 0; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--void); border: 1px solid var(--line-2);
  font-family: var(--mono); color: var(--electric); font-size: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 26px; position: relative;
  box-shadow: 0 0 0 6px var(--void), 0 0 30px rgba(90, 176, 255, .25);
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Segmentos ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seg-card {
  border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(90, 176, 255, .08), rgba(255, 255, 255, .01) 60%);
}
.seg-card:nth-child(2) { background: linear-gradient(160deg, rgba(178, 141, 255, .09), rgba(255, 255, 255, .01) 60%); }
.seg-card:nth-child(3) { background: linear-gradient(160deg, rgba(255, 90, 69, .08), rgba(255, 255, 255, .01) 60%); }
.seg-card h3 { font-size: 21px; margin-bottom: 8px; }
.seg-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.seg-card ul { list-style: none; }
.seg-card li { font-size: 14.5px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text); }

/* ---------- Prensa ---------- */
.press-band { padding: 56px 0; border-block: 1px solid var(--line); background: var(--void); }
.press-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.press-band-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.press-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; }
.press-logo-row img { height: 26px; width: auto; filter: grayscale(1) invert(1) contrast(1.7); mix-blend-mode: screen; opacity: .6; transition: opacity .2s; }
.press-logo-row img:hover { opacity: 1; }
.press-logo-row img.logo-lg { height: 38px; }
.press-logo-row img.logo-invert, .press-logo-row img.logo-invert:hover { filter: grayscale(1) contrast(1.2); }
.press-band-link { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.press-band-link:hover { color: #fff; }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 auto 44px; }
.press-feature {
  display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.press-clip {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border: 1px solid var(--line); border-radius: 10px; margin-bottom: 20px; background: #fff; transition: transform .2s;
}
.press-clip:hover { transform: scale(1.015); }
.press-outlet { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.press-feature blockquote { font-size: 15.5px; color: var(--text); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.press-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.press-link { font-weight: 600; font-size: 15px; }
.press-link:hover { color: #fff; }
.press-media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 auto 44px; }
.press-media-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.press-media-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.press-media-card figcaption { padding: 22px 24px; }
.press-media-outlet { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--electric); margin-bottom: 8px; }
.press-media-card p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- Prensa (home) ---------- */
.press { background: var(--deep); overflow: hidden; border-bottom: 1px solid var(--line); }
.press::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 460px at 85% 30%, rgba(90, 176, 255, .14), transparent 65%);
}
.press .container { position: relative; }
.press-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; margin-bottom: 40px; }
.press h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 36px; }
.press-quote { position: relative; padding-left: 28px; border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--electric), #b28dff, var(--coral)) 1; }
.pq-logo { height: 40px; width: auto; margin-bottom: 20px; }
.press-quote blockquote {
  font-family: var(--display); font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.25;
  letter-spacing: -0.025em; color: #fff; text-wrap: balance; margin-bottom: 18px;
}
.press-quote figcaption { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.press-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.press-all { font-weight: 600; font-size: 15px; }
.press-all:hover { color: #fff; }
.press-clipping {
  display: block; position: relative; justify-self: center; width: min(360px, 100%);
  transform: rotate(3deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.press-clipping::before {
  content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(90, 176, 255, .35), transparent); filter: blur(20px);
}
.press-clipping img {
  width: 100%; aspect-ratio: 787 / 900; object-fit: cover; object-position: top; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.press-clipping:hover { transform: rotate(0deg) scale(1.02); }
.press-outlets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.outlet {
  display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); transition: border-color .2s, transform .2s;
}
.outlet:hover { border-color: var(--line-2); transform: translateY(-3px); }
.outlet img { height: 26px; width: auto; align-self: flex-start; filter: grayscale(1) invert(1) contrast(1.7); mix-blend-mode: screen; opacity: .9; }
.outlet img.tall { height: 40px; margin-top: -7px; margin-bottom: -7px; }
.outlet img.zoom { height: 34px; margin-top: -4px; margin-bottom: -4px; }
.outlet img.clave { filter: grayscale(1) contrast(1.2); mix-blend-mode: normal; }
.outlet img.lun { filter: none; mix-blend-mode: normal; opacity: 1; border-radius: 3px; }
.outlet p { color: var(--ink); font-size: 15.5px; line-height: 1.45; flex: 1; }
.outlet span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* ---------- Página de prensa (sala de prensa) ---------- */
.pr-hero {
  padding: 160px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 460px at 80% 0%, rgba(90, 176, 255, .16), transparent 62%),
    radial-gradient(600px 400px at 0% 60%, rgba(178, 141, 255, .10), transparent 60%),
    var(--void);
}
.pr-hero h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -0.05em; line-height: 1; margin-bottom: 22px; }
.pr-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 56ch; margin-bottom: 48px; }
.pr-stats { display: flex; flex-wrap: wrap; gap: 16px 56px; margin-bottom: 56px; }
.pr-stats div { display: grid; gap: 2px; }
.pr-stats dt { font-family: var(--display); font-size: 44px; font-weight: 600; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.pr-stats dd { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pr-logos {
  overflow: hidden; padding-top: 36px; border-top: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.pr-logos-track { display: flex; align-items: center; gap: 72px; width: max-content; padding-right: 72px; animation: logoMarquee 32s linear infinite; }
.pr-logos:hover .pr-logos-track { animation-play-state: paused; }
@keyframes logoMarquee { to { transform: translateX(-50%); } }
.pr-logos img { height: 30px; width: auto; flex: none; opacity: .8; transition: opacity .2s; }
.pr-logos img:hover { opacity: 1; }
.pr-logos img.clave { height: 44px; }
.pr-logos img.zoom { height: 40px; }
img.inv { filter: grayscale(1) invert(1) contrast(1.7); mix-blend-mode: screen; }

.pr-cover { padding: 110px 0; background: var(--deep); overflow: hidden; }
.pr-cover::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 500px at 25% 50%, rgba(90, 176, 255, .16), transparent 65%); }
.pr-cover-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; position: relative; }
.pr-cover-clip { display: block; transform: rotate(-2.5deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1); justify-self: center; width: min(440px, 100%); }
.pr-cover-clip:hover { transform: rotate(0) scale(1.02); }
.pr-cover-clip img { width: 100%; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 80px -20px rgba(90, 176, 255, .4); }
.pr-tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--electric); padding: 4px 10px; border-radius: 99px; background: rgba(90, 176, 255, .12); margin-bottom: 24px; }
.pr-outlet-logo { display: block; height: 34px; width: auto; margin-bottom: 22px; }
.pr-cover-copy blockquote { font-family: var(--display); font-size: clamp(28px, 3.6vw, 46px); font-weight: 500; line-height: 1.18; letter-spacing: -0.03em; color: #fff; text-wrap: balance; margin-bottom: 18px; }
.pr-date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }

.pr-print { background: var(--void); }
.pr-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.pr-story.flip .pr-story-clip { order: 2; }
.pr-story-clip { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; max-height: 460px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); transition: transform .3s; }
.pr-story-clip:hover { transform: translateY(-4px); }
.pr-story-clip img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; object-position: top; }
.pr-story-copy h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 16px; text-wrap: balance; }
.pr-story-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 12px; max-width: 48ch; }
.pr-story-copy .pr-date { margin-bottom: 22px; }
.pr-story-copy .pr-outlet-logo { height: 30px; }
.pr-link { font-weight: 600; font-size: 15px; }
.pr-link:hover { color: #fff; }

.pr-broadcast { background: var(--deep); }
.pr-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pr-media-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); transition: border-color .2s, transform .2s; }
.pr-media-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pr-media-img { position: relative; }
.pr-media-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pr-media-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 24, 36, .9)); }
.pr-badge { position: absolute; left: 16px; top: 16px; z-index: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 5px 10px; border-radius: 99px; background: rgba(5, 9, 15, .7); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.pr-media-card figcaption { padding: 24px 26px 28px; }
.pr-media-outlet { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--electric); margin-bottom: 10px; }
.pr-media-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.pr-media-card p { color: var(--muted); font-size: 15px; }

.pr-contact { padding: 110px 0 0; }
.pr-contact-box {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 44px; border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(90, 176, 255, .12), rgba(178, 141, 255, .08) 50%, rgba(255, 90, 69, .08));
}
.pr-contact-box > div { max-width: 60ch; }
.pr-contact-box h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.pr-contact-box p { color: var(--text); font-size: 16.5px; }

.press-strip-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; padding-top: 28px; border-top: 1px solid var(--line);
}
.press-strip-row span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* Logos en versión para fondo oscuro (sin filtros): alturas ajustadas para que pesen parecido */
.press-strip-row img { height: 24px; width: auto; opacity: .85; transition: opacity .2s; }
.press-strip-row img.zoom { height: 40px; }
.press-strip-row img.clave { height: 36px; }
.press-strip-row:hover img { opacity: 1; }
.press { padding-block: 96px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap .section-head { margin: 0; position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 22px 0; font-weight: 500; color: var(--ink); font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--electric); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #fff; }
.faq-item .faq-body { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 64ch; }

/* ---------- CTA banda ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 80px 48px; text-align: center;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(90, 176, 255, .35), transparent 70%),
    radial-gradient(600px 300px at 80% 100%, rgba(255, 90, 69, .28), transparent 70%),
    radial-gradient(500px 260px at 60% 30%, rgba(178, 141, 255, .22), transparent 70%),
    #08111b;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-band h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 0 auto 16px; max-width: 18ch; text-wrap: balance; letter-spacing: -0.035em; }
.cta-band p { color: var(--text); margin-bottom: 32px; font-size: 18px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 32px; font-size: 17px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-item .ci { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); color: var(--electric); display: flex; align-items: center; justify-content: center; }
.contact-item .ci svg { width: 18px; height: 18px; }
.contact-item b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.contact-item a, .contact-item span { font-size: 14.5px; color: var(--muted); }
.contact-item a:hover { color: #fff; }

.lead-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 34px;
  box-shadow: 0 30px 80px -30px rgba(90, 176, 255, .35);
}
.lead-form h3 { font-size: 22px; margin-bottom: 4px; }
.lead-form .form-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: rgba(0, 0, 0, .3); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #5d7084; }
.field select option { background: var(--panel); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(90, 176, 255, .18); }
.lead-form .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 4px 0 16px; cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--electric); }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.form-status.ok { display: block; background: rgba(95, 211, 122, .1); color: var(--down); }
.form-status.err { display: block; background: rgba(255, 90, 69, .12); color: var(--up); }

/* ---------- Footer ---------- */
.site-footer { background: #03060a; color: var(--muted); padding: 72px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer img.f-logo { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer p { font-size: 14px; max-width: 40ch; }
.site-footer h4 { font-family: var(--mono); color: var(--ink); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--muted); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 10px; font-family: var(--mono); }
.country-switch { display: inline-flex; gap: 14px; }
.country-switch a { color: var(--muted); transition: color .15s; }
.country-switch a:hover, .country-switch a[aria-current="page"] { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .15s;
}
.wa-float.on { display: flex; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Aparición: visible por defecto, solo un leve deslizamiento ---------- */
.reveal { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.js-motion .reveal:not(.in) { transform: translateY(16px); }
.reveal.in { transform: none; }

/* ---------- Página gracias ---------- */
.thanks { min-height: 70vh; display: flex; align-items: center; text-align: center; padding-top: 140px; }
.thanks .check { width: 84px; height: 84px; border-radius: 50%; background: rgba(95, 211, 122, .12); color: var(--down); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; font-size: 40px; border: 1px solid rgba(95, 211, 122, .3); }
.thanks h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.thanks p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .main-nav { gap: 22px; }
  .header-cta .btn-outline { display: none; }
}

@media (max-width: 992px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.tall { grid-column: 1 / -1; grid-row: auto; }
  .seg-grid, .press-grid, .press-media, .pulse-grid, .contact-grid, .faq-wrap, .ask-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .feed { height: 300px; }
  .press-hero { grid-template-columns: 1fr; gap: 48px; }
  .press-strip-row { justify-content: center; }
  .press-strip-row span { flex-basis: 100%; text-align: center; }
  .pr-cover-grid, .pr-story, .pr-media { grid-template-columns: 1fr; gap: 40px; }
  .pr-story.flip .pr-story-clip { order: 0; }
  .press-outlets { grid-template-columns: 1fr 1fr; }
  .ask-grid { gap: 48px; }
  .faq-wrap { gap: 32px; }
  .faq-wrap .section-head { position: static; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; background: linear-gradient(180deg, var(--electric), #b28dff, var(--coral)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; }
  .step .num { grid-row: span 2; margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 76px 0; }
  .hero { padding-top: 120px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 48px; }
  .hero-stats dt { font-size: 22px; }
  .hero-stats dd { font-size: 10.5px; line-height: 1.4; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .main-nav {
    position: fixed; inset: calc(72px + env(safe-area-inset-top, 0px)) 0 auto 0; background: var(--void); box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
    flex-direction: column; align-items: flex-start; padding: 22px 24px 28px; gap: 18px; border-bottom: 1px solid var(--line); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 17px; }
  .nav-toggle { display: block; }
  .header-cta .lang-switch { display: none; }
  .main-nav .lang-mobile { display: inline-flex; margin-top: 6px; }
  .main-nav .lang-mobile a { font-size: 13px; padding: 6px 12px; }
  .bento { grid-template-columns: 1fr; }
  .console { padding: 10px 10px 0; }
  .console-url { display: none; }
  .cmp th:nth-child(3), .cmp td:nth-child(3) { display: none; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .cat-card { padding: 14px; gap: 10px; }
  .cat-card h3 { font-size: 14px; }
  .cta-band { padding: 56px 22px; }
  .pulse-card { padding: 20px; }
  .days-bars { gap: 2px; height: 90px; }
  .press-outlets { grid-template-columns: 1fr; }
  /* Móvil: logos en grilla 2×2 centrada */
  .press-strip-row { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; align-items: center; gap: 22px 16px; }
  .press-strip-row span { grid-column: 1 / -1; }
  .press-strip-row img { height: 20px; max-width: 100%; object-fit: contain; }
  .press-strip-row img.zoom { height: 36px; }
  .press-strip-row img.clave { height: 30px; }
  .press-clipping { width: min(280px, 90%); }
  .pr-hero { padding: 120px 0 60px; }
  .pr-stats dt { font-size: 34px; }
  .pr-stats { gap: 16px 32px; }
  .pr-logos-track { gap: 44px; padding-right: 44px; }
  .pr-logos img { height: 24px; }
  .pr-contact-box { padding: 28px 22px; }
  .pr-cover-clip { width: min(300px, 90%); }
  #trend-chart { height: 220px; }
  .hl-list dd b { font-size: 21px; }
  .live-badge { padding: 13px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 24px; }
  .chat-body { height: 440px; padding: 18px 14px; }
  .kpis b { font-size: 17px; }
  .ask-caps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-viewport { overflow-x: auto; }
  .js-motion .reveal:not(.in) { transform: none; }
}
