/* ==========================================================
   BLACKSTOCK · DESIGN SYSTEM
   ========================================================== */

:root {
  /* Brand */
  --acid: #D6FF4D;
  --acid-soft: #EAFF7A;
  --acid-dim: #B8DE34;
  --acid-glow: rgba(214, 255, 77, 0.18);

  /* Surfaces */
  --bg: #0A0B07;
  --bg-1: #111208;
  --bg-2: #16170E;
  --bg-3: #1D1E14;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.10);
  --line-acid: rgba(214, 255, 77, 0.22);

  /* Text */
  --fg: #F4F4EE;
  --fg-2: #C9CABF;
  --fg-3: #8C8D80;
  --fg-4: #5C5D52;

  /* Status */
  --ok: #6BFFAE;
  --warn: #FFC857;
  --danger: #FF6B6B;

  /* Type */
  --font-display: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Geist Mono", ui-monospace, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 20px;
  --r-pill: 999px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden; /* nunca scroll lateral */
}

/* ──────────────────────────────────────────────────────────────
 *  RESET GLOBAL — todos los <button>/<input>/<select>/<textarea>
 *  heredan el tema oscuro por defecto. Esto evita que cualquier
 *  componente sin clase aparezca como botón blanco del navegador.
 *  Las clases .bs-btn, .bs-field, etc. lo refinan después.
 * ────────────────────────────────────────────────────────────── */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  letter-spacing: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
button::-moz-focus-inner { border: 0; padding: 0; }
button:focus { outline: none; }
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 255, 77, 0.45);
}
input, textarea, select {
  font: inherit;
  color: var(--fg);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 160ms ease, background-color 160ms ease;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--acid);
  background: var(--bg-2);
}
input::placeholder, textarea::placeholder { color: var(--fg-3); }
input[type="checkbox"], input[type="radio"] {
  width: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-2);
  accent-color: var(--acid);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Typography */
.bs-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.bs-eyebrow.acid { color: var(--acid); }

.bs-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.bs-h1 { font-size: clamp(56px, 7.6vw, 128px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; }
.bs-h2 { font-size: clamp(40px, 4.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
.bs-h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.bs-h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }

.bs-mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss01", "tnum";
}

.bs-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.bs-acid { color: var(--acid); }
.bs-muted { color: var(--fg-3); }
.bs-fg2 { color: var(--fg-2); }

/* Layout */
.bs-shell {
  width: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.bs-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Grid texture & glows */
.bs-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 30%, transparent 80%);
}

.bs-acid-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--acid-glow), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* Buttons */
.bs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .14s cubic-bezier(0.22,1,0.36,1),
              background .18s ease,
              border-color .18s ease,
              color .18s ease,
              box-shadow .22s ease,
              filter .18s ease;
  white-space: nowrap;
  transform-origin: center;
  /* Evita que cualquier ring/glow desplace el layout del botón */
  will-change: transform, box-shadow;
}
.bs-btn-acid {
  background: var(--acid);
  color: #0A0B07;
  box-shadow: 0 6px 20px -10px rgba(214, 255, 77, 0.45);
}
.bs-btn-acid:hover:not(:disabled) {
  background: var(--acid-soft);
  /* Sombra MÁS suave (antes 6px ring + 32px lo hacía parecer "agrandar") */
  box-shadow: 0 10px 28px -12px rgba(214, 255, 77, 0.55);
  filter: brightness(1.04);
}
.bs-btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.bs-btn-ghost:hover:not(:disabled) {
  background: var(--bg-2);
  border-color: var(--line-acid);
}

.bs-btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }

/* Pills / badges */
.bs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--fg-2);
}
.bs-pill.acid {
  background: rgba(214, 255, 77, 0.08);
  border-color: var(--line-acid);
  color: var(--acid);
}
.bs-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 8px var(--acid);
}
.bs-dot.live { animation: pulse 1.6s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* Cards */
.bs-card {
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.bs-card.elevated {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-color: var(--line-2);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}

/* Logo type */
.bs-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}
.bs-logo .logo-mark {
  width: 22px; height: 22px;
}
.bs-logo .stock { color: var(--acid); }

/* Section header */
.bs-section {
  position: relative;
  padding: var(--s-9) 0;
}
.bs-section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 760px;
}

/* Divider */
.bs-divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* Stat block */
.bs-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.bs-stat .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.bs-stat .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.025em;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }

/* Utilities */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.relative { position: relative; }
.text-center { text-align: center; }

/* Sparkline path */
.spark-path {
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spark-area {
  fill: url(#sparkGrad);
}

/* Accent text highlight */
.acid-highlight {
  color: var(--acid);
  position: relative;
  white-space: nowrap;
}

/* Bevel divider */
.bs-bevel {
  position: relative;
}
.bs-bevel::before {
  content: '';
  position: absolute;
  inset: -1px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

/* ─── Animaciones premium (Apple/Linear-feel) ─────────────────────── */

@keyframes bsRevealIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.985); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes bsRippleOut {
  from { transform: scale(0); opacity: 0.36; }
  to   { transform: scale(1); opacity: 0; }
}
@keyframes bsShakeX {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
@keyframes bsSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

[data-bs-reveal].bs-reveal-init {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  will-change: transform, opacity;
}
[data-bs-reveal].bs-reveal-visible {
  animation: bsRevealIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  [data-bs-reveal].bs-reveal-init,
  [data-bs-reveal].bs-reveal-visible {
    opacity: 1; transform: none; animation: none;
  }
}

/* ─── Botones premium (sobreescribe lo mínimo, no rompe los que ya existen) ── */

/* Animaciones premium del botón — NO agranda, solo press-down sutil */
.bs-btn {
  position: relative;
  overflow: hidden;
}
.bs-btn:hover:not(:disabled) {
  /* Sin translateY ni scale en hover — solo cambio de bg/sombra (ver
     reglas .bs-btn-acid:hover y .bs-btn-ghost:hover arriba). El botón
     mantiene exactamente las mismas dimensiones. */
}
.bs-btn:active:not(:disabled) {
  /* Press-down: micro-reducción + translate hacia abajo. Nunca agranda. */
  transform: translateY(1px) scale(0.985);
  transition-duration: 80ms;
}
.bs-btn:disabled,
.bs-btn.bs-loading {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none !important;
}

.bs-ripple {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  pointer-events: none;
  transform: scale(0);
  animation: bsRippleOut 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  mix-blend-mode: overlay;
}
.bs-btn-acid .bs-ripple { background: rgba(0, 0, 0, 0.18); }

.bs-btn-block { width: 100%; justify-content: center; }

/* ─── Navbar reactivo ─────────────────────────────────────────────── */

[data-bs-navbar] {
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
[data-bs-navbar].is-scrolled {
  background-color: rgba(10, 10, 12, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ─── Cards: hover sutil ─────────────────────────────────────────── */

.bs-card,
[data-pricing-card],
.bs-pricing-card {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 240ms ease,
              box-shadow 280ms ease;
}
.bs-card:hover,
[data-pricing-card]:hover,
.bs-pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
}

/* ─── FAQ smooth (si existe) ─────────────────────────────────────── */

details.bs-faq summary,
.bs-faq summary {
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}
details.bs-faq summary::-webkit-details-marker,
.bs-faq summary::-webkit-details-marker { display: none; }
details.bs-faq[open] summary { color: var(--acid, #b8ff3a); }
details.bs-faq > *:not(summary),
.bs-faq > *:not(summary) {
  animation: bsRevealIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ─── Scroll global ──────────────────────────────────────────────── */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ─── Modal de auth ──────────────────────────────────────────────── */

.bs-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 8, 10, 0.74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: bsOverlayIn 220ms ease;
}
@keyframes bsOverlayIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes bsModalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.bs-modal-card {
  position: relative;
  width: 100%; max-width: 460px;
  background: var(--bg, #0a0a0c);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  padding: 40px 36px 32px;
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: bsModalIn 320ms cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--fg, #f5f5f7);
}
.bs-modal-card.bs-shake { animation: bsShakeX 380ms ease both; }
.bs-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: var(--fg-2, #c8c8cc);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.bs-modal-close:hover { background: rgba(255,255,255,0.08); color: var(--fg, #fff); border-color: rgba(255,255,255,0.2); }

.bs-modal-progress {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  overflow: hidden;
}
.bs-modal-progress > div {
  height: 100%;
  background: var(--acid, #b8ff3a);
  transition: width 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bs-modal-eyebrow {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--acid, #b8ff3a);
  margin: 0 0 8px;
}
.bs-modal-title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-family: var(--font-display, var(--font-sans, "Geist"));
}
.bs-modal-sub {
  font-size: 14px; color: var(--fg-2, #c8c8cc);
  margin: 0 0 22px;
  line-height: 1.5;
}
.bs-modal-fineprint {
  font-size: 11px; color: var(--fg-3, #888);
  margin: 14px 0 0;
  line-height: 1.5;
}
.bs-modal-fineprint a { color: var(--fg-2, #c8c8cc); text-decoration: underline; }

.bs-field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.bs-field > span {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-3, #999);
}
.bs-field > span small { font-weight: 400; opacity: 0.7; text-transform: none; letter-spacing: 0; margin-left: 4px; }
.bs-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--fg, #f5f5f7);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 160ms ease, box-shadow 200ms ease, background-color 160ms ease;
}
.bs-field input::placeholder { color: var(--fg-3, #6b6b70); }
.bs-field input:focus {
  outline: none;
  border-color: var(--acid, #b8ff3a);
  background: rgba(184,255,58,0.04);
  box-shadow: 0 0 0 4px rgba(184,255,58,0.12);
}
.bs-field input:disabled { opacity: 0.6; cursor: not-allowed; }

.bs-code-input {
  text-align: center;
  letter-spacing: 0.6em;
  font-family: var(--font-mono, ui-monospace);
  font-size: 22px !important;
  font-weight: 600;
}

.bs-modal-error {
  background: rgba(255, 80, 80, 0.10);
  border: 1px solid rgba(255, 80, 80, 0.28);
  color: #ffb3b3;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin: 4px 0 14px;
  animation: bsRevealIn 0.32s ease;
}
.bs-modal-ok {
  background: rgba(184, 255, 58, 0.08);
  border: 1px solid rgba(184, 255, 58, 0.24);
  color: var(--acid, #b8ff3a);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin: 4px 0 14px;
}

.bs-resend-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px;
  font-size: 12px; color: var(--fg-3, #888);
}
.bs-link-btn {
  background: none; border: none; padding: 0;
  color: var(--fg-2, #c8c8cc);
  cursor: pointer; font: inherit;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 160ms ease;
}
.bs-link-btn:hover:not(:disabled) { color: var(--acid, #b8ff3a); }
.bs-link-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.bs-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bsSpin 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: -2px;
}

.bs-modal-success {
  text-align: center;
  padding: 16px 0 8px;
}
.bs-modal-checkmark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 999px;
  background: rgba(184, 255, 58, 0.12);
  border: 1px solid rgba(184, 255, 58, 0.32);
  color: var(--acid, #b8ff3a);
  margin-bottom: 16px;
  animation: bsRevealIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Mobile: el modal usa el ancho disponible y aire abajo */
@media (max-width: 540px) {
  .bs-modal-overlay { padding: 12px; align-items: flex-end; }
  .bs-modal-card {
    max-width: 100%;
    border-radius: 22px;
    padding: 32px 22px 22px;
  }
}

/* ─── Modal: nuevos campos (registro extendido + tabs) ──────────── */
.bs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .bs-grid-2 { grid-template-columns: 1fr; gap: 10px; }
}
.bs-modal-tabs {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  gap: 0;
}
.bs-modal-tabs button {
  background: transparent;
  border: none;
  color: var(--fg-3, #999);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.bs-modal-tabs button:hover { color: var(--fg, #fff); }
.bs-modal-tabs button.is-active {
  background: var(--bg-3, rgba(255,255,255,0.10));
  color: var(--fg, #fff);
}
.bs-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 16px;
  font-size: 12px;
  color: var(--fg-2, #c8c8cc);
  line-height: 1.5;
  cursor: pointer;
}
/* Checkbox custom — wrapper con input nativo (oculto pero clicable)
   superpuesto a la box visual. Pattern accesible y bulletproof
   en Chrome/Safari/Firefox. */
.bs-checkbox-row .bs-checkbox-wrap {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  display: inline-block;
}
.bs-checkbox-row .bs-checkbox-wrap input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
}
.bs-checkbox-row .bs-checkbox-box {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms ease, border-color 140ms ease;
  pointer-events: none; /* clicks pasan al input que está encima */
}
.bs-checkbox-row .bs-checkbox-box svg {
  width: 12px; height: 12px;
  stroke: #0a0b07;
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 140ms ease, transform 200ms cubic-bezier(.2,.8,.2,1);
}
.bs-checkbox-row .bs-checkbox-wrap input[type="checkbox"]:checked + .bs-checkbox-box {
  background: var(--acid, #b8ff3a);
  border-color: var(--acid, #b8ff3a);
}
.bs-checkbox-row .bs-checkbox-wrap input[type="checkbox"]:checked + .bs-checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}
.bs-checkbox-row .bs-checkbox-wrap input[type="checkbox"]:focus-visible + .bs-checkbox-box {
  box-shadow: 0 0 0 3px rgba(214, 255, 77, 0.35);
}
.bs-checkbox-row:hover .bs-checkbox-box {
  border-color: rgba(255,255,255,0.32);
}
.bs-checkbox-row .bs-checkbox-wrap input[type="checkbox"]:disabled {
  cursor: not-allowed;
}
.bs-checkbox-row .bs-checkbox-wrap input[type="checkbox"]:disabled + .bs-checkbox-box {
  opacity: 0.5;
}
.bs-checkbox-row a {
  color: var(--fg, #fff);
  text-decoration: underline;
  text-underline-offset: 3px;
  position: relative;
  z-index: 1; /* links clicables sobre el texto sin tapar el input */
}

/* ============================================================
 *  AVATAR + DROPDOWN — sesión activa en navbar
 *  Premium dark, micro-interacciones suaves, sin gaming.
 * ============================================================ */
.bs-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--fg, #fff);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 180ms ease, border-color 180ms ease, transform 140ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.bs-avatar-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
}
.bs-avatar-btn:active { transform: translateY(1px) scale(0.985); }
.bs-avatar-btn:focus-visible {
  outline: 2px solid var(--acid, #b8ff3a);
  outline-offset: 2px;
}
.bs-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #b8ff3a 0%, #d6ff4d 100%);
  color: #0a0a0a;
  flex: 0 0 auto;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.bs-avatar.lg {
  width: 36px;
  height: 36px;
  font-size: 15px;
}
.bs-avatar-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 640px) {
  .bs-avatar-name { display: none; }
  .bs-avatar-btn { padding: 0 6px 0 4px; gap: 4px; }
}

/* Dropdown menu */
.bs-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  padding: 8px;
  background: rgba(15, 15, 17, 0.96);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  box-shadow: 0 24px 56px -20px rgba(0,0,0,0.7), 0 6px 18px -6px rgba(0,0,0,0.4);
  z-index: 90;
  animation: bsDropdownIn 220ms cubic-bezier(.2,.8,.2,1) both;
  transform-origin: top right;
}
@keyframes bsDropdownIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.bs-dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bs-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: var(--fg-2, #e1e1e3);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.bs-dropdown-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--fg, #fff);
}
.bs-dropdown-item:active { transform: scale(0.985); }
.bs-dropdown-item svg { opacity: 0.55; transition: opacity 140ms ease, transform 160ms ease; }
.bs-dropdown-item:hover svg { opacity: 1; transform: translate(1px, -1px); }
.bs-dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 6px 0;
}
.bs-dropdown-danger {
  color: #ff7a7a;
}
.bs-dropdown-danger:hover {
  background: rgba(255, 80, 80, 0.10);
  color: #ff9b9b;
}

/* ============================================================
 *  DEMO MODAL — preview funcional del panel embebida en landing
 * ============================================================ */
.bs-demo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: bsRevealIn 240ms cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 640px) {
  .bs-demo-overlay { padding: 0; }
}
.bs-demo-shell {
  width: 100%;
  max-width: 1180px;
  height: 100%;
  max-height: 760px;
  background: #0c0c0e;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 232px 1fr;
  position: relative;
  box-shadow: 0 40px 90px -28px rgba(0,0,0,0.8);
  animation: bsRevealIn 320ms cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 880px) {
  .bs-demo-shell { grid-template-columns: 1fr; max-height: none; height: 100%; border-radius: 0; }
}
.bs-demo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--fg, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background-color 160ms ease;
}
.bs-demo-close:hover { background: rgba(255,255,255,0.12); }

.bs-demo-sidebar {
  background: #08080a;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
@media (max-width: 880px) {
  .bs-demo-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .bs-demo-sidebar::-webkit-scrollbar { display: none; }
}
.bs-demo-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg, #fff);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 8px;
}
.bs-demo-brand .bs-avatar { width: 22px; height: 22px; font-size: 10px; }
@media (max-width: 880px) { .bs-demo-brand { display: none; } }

.bs-demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: var(--fg-3, #888);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease;
}
.bs-demo-tab:hover { background: rgba(255,255,255,0.04); color: var(--fg-2, #ccc); }
.bs-demo-tab.is-active {
  background: rgba(184, 255, 58, 0.10);
  color: var(--acid, #b8ff3a);
  box-shadow: inset 0 0 0 1px rgba(184, 255, 58, 0.18);
}
.bs-demo-tab .ic {
  width: 16px; height: 16px; opacity: 0.8; flex: 0 0 auto;
}

.bs-demo-main {
  overflow-y: auto;
  padding: 28px 32px 40px;
}
@media (max-width: 640px) { .bs-demo-main { padding: 20px 16px 32px; } }
.bs-demo-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.bs-demo-h h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg, #fff);
  margin: 0;
}
.bs-demo-h-sub {
  font-size: 12px;
  color: var(--fg-3, #888);
  margin: 0 0 22px;
}
.bs-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(184, 255, 58, 0.10);
  border: 1px solid rgba(184, 255, 58, 0.24);
  color: var(--acid, #b8ff3a);
  border-radius: 999px;
}
.bs-demo-pill .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acid, #b8ff3a);
  box-shadow: 0 0 0 4px rgba(184, 255, 58, 0.18);
  animation: bsPulse 1800ms ease-in-out infinite;
}
@keyframes bsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 255, 58, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(184, 255, 58, 0); }
}

.bs-demo-grid-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 880px) { .bs-demo-grid-kpi { grid-template-columns: repeat(2, 1fr); } }
.bs-demo-kpi {
  padding: 14px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.bs-demo-kpi-l {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-3, #888);
  margin-bottom: 6px;
}
.bs-demo-kpi-v {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg, #fff);
}
.bs-demo-kpi-d {
  font-size: 11px;
  color: var(--acid, #b8ff3a);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bs-demo-kpi-d.neg { color: #ff8a8a; }

.bs-demo-grid-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 880px) { .bs-demo-grid-2 { grid-template-columns: 1fr; } }

.bs-demo-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
}
.bs-demo-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--fg, #fff);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bs-demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12.5px;
  gap: 10px;
}
.bs-demo-row:last-child { border-bottom: none; }
.bs-demo-row .id { color: var(--fg-3, #888); font-variant-numeric: tabular-nums; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-demo-row .lbl { color: var(--fg-2, #ccc); flex: 2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-demo-row .v { color: var(--fg, #fff); font-weight: 600; font-variant-numeric: tabular-nums; }
.bs-demo-row .badge {
  font-size: 10.5px; padding: 2px 8px; border-radius: 999px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.bs-demo-row .badge.ok { background: rgba(184, 255, 58, 0.12); color: var(--acid, #b8ff3a); border: 1px solid rgba(184, 255, 58, 0.28); }
.bs-demo-row .badge.wait { background: rgba(255, 200, 60, 0.10); color: #ffd76a; border: 1px solid rgba(255, 200, 60, 0.28); }
.bs-demo-row .badge.ship { background: rgba(120, 180, 255, 0.10); color: #8fb8ff; border: 1px solid rgba(120, 180, 255, 0.28); }
.bs-demo-row .badge.alert { background: rgba(255, 80, 80, 0.10); color: #ff8a8a; border: 1px solid rgba(255, 80, 80, 0.28); }

/* Mini chart fake */
.bs-demo-spark {
  display: block;
  width: 100%;
  height: 110px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(184,255,58,0.07) 0%, rgba(184,255,58,0) 100%);
  position: relative;
  overflow: hidden;
}
.bs-demo-spark svg { width: 100%; height: 100%; }

/* Smart Agent chat */
.bs-demo-chat { display: flex; flex-direction: column; gap: 10px; }
.bs-demo-msg {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 90%;
}
.bs-demo-msg.user {
  align-self: flex-end;
  background: rgba(184, 255, 58, 0.12);
  border: 1px solid rgba(184, 255, 58, 0.22);
  color: var(--fg, #fff);
}
.bs-demo-msg.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--fg-2, #d8d8da);
}
.bs-demo-msg .meta { font-size: 10px; color: var(--fg-3, #888); margin-bottom: 3px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Inventory bar */
.bs-demo-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  flex: 1;
  margin: 0 10px;
}
.bs-demo-bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--acid, #b8ff3a) 0%, #d6ff4d 100%);
  border-radius: 999px;
}
.bs-demo-bar > i.warn { background: linear-gradient(90deg, #ffb84a 0%, #ffd76a 100%); }
.bs-demo-bar > i.crit { background: linear-gradient(90deg, #ff5a5a 0%, #ff8a8a 100%); }

/* Label preview */
.bs-demo-label {
  background: #fff;
  color: #111;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.5;
  border: 1px solid rgba(0,0,0,0.1);
  position: relative;
}
.bs-demo-label::before {
  content: '';
  position: absolute; left: 12px; right: 12px; top: 8px;
  height: 32px;
  background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 5px);
  border-radius: 1px;
  opacity: 0.85;
}
.bs-demo-label-body { padding-top: 38px; }

/* ============================================================
 *  EXPLAINER SECTIONS — premium feature cards
 * ============================================================ */
.bs-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .bs-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bs-feat-grid { grid-template-columns: 1fr; } }

.bs-feat-card {
  position: relative;
  padding: 22px 22px 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 220ms ease, transform 240ms cubic-bezier(.2,.8,.2,1), background-color 220ms ease;
}
.bs-feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(184,255,58,0.10) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.bs-feat-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.bs-feat-card:hover::before { opacity: 1; }
.bs-feat-card .ic {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(184, 255, 58, 0.08);
  border: 1px solid rgba(184, 255, 58, 0.22);
  color: var(--acid, #b8ff3a);
  border-radius: 10px;
  margin-bottom: 14px;
}
.bs-feat-card h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg, #fff);
  margin: 0 0 6px;
}
.bs-feat-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-3, #999);
  margin: 0;
}
.bs-feat-card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acid, #b8ff3a);
  background: rgba(184, 255, 58, 0.08);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(184, 255, 58, 0.20);
}

/* Eyebrow con dot — reusable indicator de sección */
.bs-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acid, #b8ff3a);
  display: inline-block;
}
.bs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
 *  HERO + FEATURE SPLITS — responsive overrides para que el
 *  rediseño visual (mockups grandes) se vea perfecto en mobile.
 * ============================================================ */

/* Hero KPI tiles: 4 → 2 columnas en mobile */
@media (max-width: 720px) {
  .bs-hero-kpis { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Feature split: 2 columnas → 1 en mobile, mockup debajo del texto */
@media (max-width: 920px) {
  .bs-section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Anular el direction: rtl que invierte el orden en desktop */
  .bs-section [style*="direction: rtl"] { direction: ltr !important; }
}

/* FullPanelMockup: en mobile esconder la sidebar para que la tabla quepa */
@media (max-width: 720px) {
  .bs-shell [style*="grid-template-columns: 220px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .bs-shell [style*="grid-template-columns: 220px 1fr"] > div:first-child {
    display: none !important;
  }
  /* Tabla pedidos: encoger columnas en mobile */
  .bs-shell [style*="grid-template-columns: 40px 1fr 100px 80px 100px 80px"] {
    grid-template-columns: 1fr 70px 70px !important;
    font-size: 12px !important;
  }
  .bs-shell [style*="grid-template-columns: 40px 1fr 100px 80px 100px 80px"] > span:nth-child(1),
  .bs-shell [style*="grid-template-columns: 40px 1fr 100px 80px 100px 80px"] > span:nth-child(3),
  .bs-shell [style*="grid-template-columns: 40px 1fr 100px 80px 100px 80px"] > span:nth-child(6) {
    display: none !important;
  }
  /* KPIs internos del panel: 4 → 2 cols */
  .bs-shell [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Headlines de FeatureSplit: bajar tamaño en mobile */
@media (max-width: 720px) {
  .bs-section h3.bs-display { font-size: 32px !important; }
}

/* Tabla pedidos del PedidosMockup: 5 cols → 3 en mobile */
@media (max-width: 720px) {
  .bs-shell [style*="grid-template-columns: 70px 1fr 110px 60px 90px"] {
    grid-template-columns: 1fr 60px 70px !important;
    font-size: 12px !important;
  }
  .bs-shell [style*="grid-template-columns: 70px 1fr 110px 60px 90px"] > span:nth-child(1),
  .bs-shell [style*="grid-template-columns: 70px 1fr 110px 60px 90px"] > span:nth-child(3) {
    display: none !important;
  }
}

/* MultiAccount mockup: 2 cols → 1 en mobile */
@media (max-width: 480px) {
  .bs-shell [style*="grid-template-columns: repeat(2, 1fr)"][style*="gap: 12px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
 *  FULL PANEL MOCKUP — clon panel.blackstock.es responsive
 * ============================================================ */
@media (max-width: 980px) {
  .bs-panel-summary-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .bs-panel-charts { grid-template-columns: 1fr !important; }
  .bs-panel-3cols { grid-template-columns: 1fr !important; }
  .bs-panel-products-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .bs-panel-orders-head,
  .bs-panel-orders-row {
    grid-template-columns: 60px 1.5fr 90px 80px !important;
    font-size: 11px !important;
  }
  .bs-panel-orders-head > span:nth-child(1),
  .bs-panel-orders-head > span:nth-child(5),
  .bs-panel-orders-head > span:nth-child(6),
  .bs-panel-orders-head > span:nth-child(7),
  .bs-panel-orders-row > div:nth-child(1),
  .bs-panel-orders-row > span:nth-child(5),
  .bs-panel-orders-row > span:nth-child(6),
  .bs-panel-orders-row > span:nth-child(7) {
    display: none !important;
  }
  .bs-panel-summary-grid { grid-template-columns: 1fr 1fr !important; }
  .bs-panel-products-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
 *  LEGAL — Páginas /legal/* premium dark estilo Linear/Stripe
 * ============================================================ */
.bs-legal-shell {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  flex-direction: column;
}
.bs-legal-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 7, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bs-legal-nav .inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
@media (max-width: 720px) {
  .bs-legal-nav .inner { padding: 16px 18px; }
}
.bs-legal-nav .brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--fg);
}
.bs-legal-nav .brand .mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(214, 255, 77, 0.10);
  border: 1px solid rgba(214, 255, 77, 0.20);
  box-shadow: 0 0 14px -4px rgba(214, 255, 77, 0.32);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 32px;
}
.bs-legal-nav .brand .mark svg { display: block; }
.bs-legal-nav .brand .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.022em;
  color: var(--fg);
  line-height: 1;
}
.bs-legal-nav .brand .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 5px;
  display: block;
  line-height: 1;
}
@media (max-width: 480px) {
  .bs-legal-nav .brand .meta { display: none; }
}
.bs-legal-nav .back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.bs-legal-nav .back:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: var(--fg);
}

.bs-legal-layout {
  flex: 1;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 220px;
  gap: 56px;
  padding: 56px 24px 96px;
}
@media (max-width: 1080px) {
  .bs-legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    padding: 40px 24px 80px;
  }
  .bs-legal-toc { display: none !important; }
}
@media (max-width: 720px) {
  .bs-legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px 64px;
  }
}

/* Sidebar lateral con índice de páginas */
.bs-legal-sidebar {
  position: sticky; top: 88px;
  align-self: start;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px;
}
.bs-legal-sidebar .group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 8px 12px 6px;
}
.bs-legal-sidebar a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--fg-2);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.bs-legal-sidebar a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--fg);
}
.bs-legal-sidebar a.is-active {
  background: rgba(214,255,77,0.06);
  color: var(--fg);
  border-color: rgba(214,255,77,0.18);
}
@media (max-width: 720px) {
  .bs-legal-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .bs-legal-sidebar .group-label { display: none; }
  .bs-legal-sidebar a { padding: 7px 12px; font-size: 12px; }
}

/* Contenido principal */
.bs-legal-content {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
}
.bs-legal-content > .lead {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 16px;
}
.bs-legal-content > .lead .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--acid);
}
.bs-legal-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0 0 14px;
}
.bs-legal-content .meta {
  font-size: 13px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bs-legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 48px 0 12px;
  scroll-margin-top: 90px;
}
.bs-legal-content h2:first-of-type { margin-top: 0; }
.bs-legal-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  margin: 28px 0 8px;
}
.bs-legal-content p { margin: 0 0 14px; }
.bs-legal-content ul, .bs-legal-content ol {
  margin: 8px 0 18px;
  padding-left: 22px;
}
.bs-legal-content li { margin-bottom: 6px; }
.bs-legal-content li::marker { color: var(--fg-3); }
.bs-legal-content strong { color: var(--fg); font-weight: 600; }
.bs-legal-content a {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(214,255,77,0.40);
}
.bs-legal-content a:hover { text-decoration-color: var(--acid); }
.bs-legal-content .callout {
  margin: 22px 0;
  padding: 16px 20px;
  background: rgba(214,255,77,0.05);
  border: 1px solid rgba(214,255,77,0.18);
  border-radius: 12px;
  font-size: 14px;
  color: var(--fg);
}
.bs-legal-content .callout.warn {
  background: rgba(255,200,60,0.05);
  border-color: rgba(255,200,60,0.22);
}
.bs-legal-content .callout strong { color: var(--acid); display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.bs-legal-content .callout.warn strong { color: #ffd76a; }
.bs-legal-content code {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--fg);
  font-family: var(--font-mono);
}

/* TOC en columna derecha */
.bs-legal-toc {
  position: sticky; top: 88px;
  align-self: start;
  font-size: 12.5px;
}
.bs-legal-toc .toc-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 12px;
}
.bs-legal-toc nav { display: flex; flex-direction: column; gap: 4px; }
.bs-legal-toc a {
  color: var(--fg-3);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -2px;
  transition: color 140ms ease, border-color 140ms ease;
}
.bs-legal-toc a:hover { color: var(--fg); }
.bs-legal-toc a.is-active {
  color: var(--acid);
  border-left-color: var(--acid);
}

/* Footer mini */
.bs-legal-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.bs-legal-footer a {
  color: var(--fg-3);
  text-decoration: none;
  margin-right: 16px;
}
.bs-legal-footer a:hover { color: var(--acid); }

/* ============================================================
 *  BRAND MARK — versión visual del logo en chips/avatars.
 *  Una sola fuente de verdad: 3 chevrones apilados con gradient acid.
 *  Variantes:
 *   - .bs-brand-mark (chip pequeño con halo)
 *   - .bs-brand-mark.lg (header grande)
 *   - .bs-brand-mark.flat (sin halo, para sidebars compactas)
 * ============================================================ */
.bs-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(214, 255, 77, 0.10);
  border: 1px solid rgba(214, 255, 77, 0.20);
  box-shadow: 0 0 14px -4px rgba(214, 255, 77, 0.32);
  flex: 0 0 auto;
}
.bs-brand-mark.lg {
  width: 40px; height: 40px;
  border-radius: 11px;
}
.bs-brand-mark.flat {
  background: transparent;
  border: none;
  box-shadow: none;
}
.bs-brand-mark svg { display: block; }

/* Lockup horizontal: mark + wordmark Geist 800 */
.bs-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--fg);
}
.bs-brand-lockup .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1;
}
.bs-brand-lockup .word .acc { color: var(--acid); }

/* ============================================================
 *  MOBILE LANDING — composición desde cero (≤ 720px).
 *  Cuando se renderiza HomeMobile, todos los elementos usan
 *  estas clases con prefijo .bs-m-*.
 * ============================================================ */
.bs-m-shell {
  padding-bottom: 88px; /* deja espacio al sticky CTA inferior */
}
.bs-m-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.bs-m-hero {
  position: relative;
  padding: 32px 0 24px;
  overflow: hidden;
}
.bs-m-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(214,255,77,0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.bs-m-hero > .bs-m-container { position: relative; z-index: 1; }
.bs-m-claim {
  margin: 18px 0 0;
  font-size: clamp(40px, 12vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--fg);
}
.bs-m-claim span:nth-child(2) { letter-spacing: -0.045em; }
.bs-m-mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 18px 0 8px;
}
.bs-m-sub {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0 0 24px;
}
.bs-m-cta {
  width: 100%;
  height: 52px;
  font-size: 15px;
  justify-content: center;
}

/* PHONE MOCKUP */
.bs-m-phone-wrap {
  margin: 36px auto 32px;
  width: min(280px, 78%);
  position: relative;
}
.bs-m-phone-wrap::before {
  content: '';
  position: absolute; inset: -20px;
  background: radial-gradient(80% 60% at 50% 50%, rgba(214,255,77,0.10), transparent 70%);
  z-index: 0; pointer-events: none;
  filter: blur(20px);
}
.bs-m-phone {
  position: relative;
  background: #0a0a0a;
  border: 6px solid #1a1a1c;
  border-radius: 38px;
  padding: 0;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.06) inset,
    0 36px 70px -20px rgba(0,0,0,0.85),
    0 0 30px -10px rgba(214,255,77,0.18);
  overflow: hidden;
  z-index: 1;
}
.bs-m-phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #050505;
  border-radius: 14px;
  z-index: 5;
}
.bs-m-phone-screen {
  background: linear-gradient(180deg, #0c0c0e, #0a0a0a);
  padding: 38px 12px 14px;
  min-height: 480px;
}
.bs-m-phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-2);
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bs-m-phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 4px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bs-m-phone-header .bs-brand-mark {
  width: 26px; height: 26px;
}
.bs-m-phone-kpis {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bs-m-phone-kpis > div {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 9px 11px;
  display: flex; flex-direction: column; gap: 2px;
}
.bs-m-phone-kpis .l {
  font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(214,255,77,0.7); font-weight: 700;
}
.bs-m-phone-kpis .v {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--fg); letter-spacing: -0.02em;
}
.bs-m-phone-list { padding: 4px 0; }
.bs-m-phone-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bs-m-phone-row:last-child { border-bottom: none; }
.bs-m-phone-row .thumb {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  background-image: linear-gradient(135deg, transparent 49%, rgba(255,255,255,0.10) 49% 51%, transparent 51%);
  background-size: 6px 6px;
  flex: 0 0 28px;
}
.bs-m-phone-row .t {
  font-size: 12px; color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.bs-m-phone-row .c {
  font-size: 10px; color: var(--fg-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bs-m-phone-row .badge {
  flex: 0 0 auto;
  font-size: 8.5px; padding: 2px 6px; border-radius: 999px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.bs-m-phone-row .badge.ok { background: rgba(214,255,77,0.10); color: var(--acid); border: 1px solid rgba(214,255,77,0.28); }
.bs-m-phone-row .badge.ship { background: rgba(120,180,255,0.10); color: #8fb8ff; border: 1px solid rgba(120,180,255,0.28); }
.bs-m-phone-row .badge.live { background: rgba(255,200,60,0.10); color: #ffd76a; border: 1px solid rgba(255,200,60,0.28); }

/* KPIs hero 2×2 */
.bs-m-kpis {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 0 20px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.bs-m-kpi {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
}
.bs-m-kpi .bs-num {
  font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.bs-m-kpi-l {
  font-size: 11px; color: var(--fg-3); line-height: 1.3;
  margin-top: 6px;
}

/* SECCIONES — heading + cards apiladas */
.bs-m-section {
  padding: 56px 0;
}
.bs-m-section-head {
  margin-bottom: 28px;
}
.bs-m-section-head .bs-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.bs-m-section-head .bs-eyebrow.acid { color: var(--acid); }
.bs-m-section-title {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
  margin: 0 0 10px;
}
.bs-m-section-sub {
  font-size: 14px; color: var(--fg-3); line-height: 1.55;
  margin: 0;
}

/* FEATURE STACK */
.bs-m-feat-stack {
  display: flex; flex-direction: column; gap: 14px;
}
.bs-m-feat {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 20px;
}
.bs-m-feat-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--acid);
  background: rgba(214,255,77,0.08);
  border: 1px solid rgba(214,255,77,0.20);
  padding: 4px 9px; border-radius: 999px;
  margin-bottom: 14px;
}
.bs-m-feat-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin: 0 0 8px;
}
.bs-m-feat-body {
  font-size: 14px; color: var(--fg-3); line-height: 1.55;
  margin: 0;
}
.bs-m-feat-preview {
  margin-top: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

/* PREVIEWS estilizados */
.bs-m-preview-stat .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-size: 12.5px;
  color: var(--fg-2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bs-m-preview-stat .row:last-of-type { border-bottom: none; }
.bs-m-preview-stat .row .bs-num { font-weight: 700; font-size: 13px; color: var(--fg); }
.bs-m-preview-stat .verdict {
  margin-top: 10px;
  padding: 9px 12px;
  background: rgba(214,255,77,0.06);
  border: 1px solid rgba(214,255,77,0.20);
  border-radius: 8px;
  font-size: 12px; color: var(--fg-2);
}
.bs-m-preview-stat .verdict strong { color: var(--acid); }

.bs-m-preview-list > div {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0;
  font-size: 12.5px; color: var(--fg-2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bs-m-preview-list > div:last-child { border-bottom: none; }
.bs-m-preview-list em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-3);
}
.bs-m-preview-list .dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px;
}
.bs-m-preview-list .dot.ok { background: var(--acid); box-shadow: 0 0 6px var(--acid); }
.bs-m-preview-list .dot.wait { background: #ffb84a; }
.bs-m-preview-list .dot.ship { background: #8fb8ff; }

.bs-m-preview-chat {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px;
}
.bs-m-preview-chat .msg {
  padding: 7px 11px; border-radius: 12px;
  max-width: 85%;
  line-height: 1.4;
}
.bs-m-preview-chat .msg.them {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  color: var(--fg-2);
}
.bs-m-preview-chat .msg.us {
  align-self: flex-end;
  background: rgba(214,255,77,0.12);
  color: var(--fg);
  border: 1px solid rgba(214,255,77,0.22);
}

.bs-m-preview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.bs-m-preview-grid > div {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px;
}
.bs-m-preview-grid .acc {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.bs-m-preview-grid .bs-num {
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em;
}

.bs-m-preview-bars > div { margin-bottom: 8px; }
.bs-m-preview-bars > div:last-child { margin-bottom: 0; }
.bs-m-preview-bars .lbl {
  font-size: 11.5px; color: var(--fg-2); margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bs-m-preview-bars .bar {
  height: 5px; background: rgba(255,255,255,0.06);
  border-radius: 999px; overflow: hidden;
}
.bs-m-preview-bars .fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--acid), var(--acid-soft));
}
.bs-m-preview-bars .fill.crit { background: linear-gradient(90deg, #ff5a5a, #ff8a8a); }
.bs-m-preview-bars .fill.warn { background: linear-gradient(90deg, #ffb84a, #ffd76a); }

/* CASES MOBILE */
.bs-m-cases {
  display: flex; flex-direction: column; gap: 14px;
}
.bs-m-case {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 22px;
}
.bs-m-case .head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-bottom: 18px;
}
.bs-m-case .name { font-weight: 700; font-size: 16px; color: var(--fg); }
.bs-m-case .meta { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.bs-m-case .ba {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: end; gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.bs-m-case .ba .l {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-3);
  display: block; margin-bottom: 4px;
}
.bs-m-case .ba .v {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.02em;
  display: block;
}
.bs-m-case .ba .arrow {
  color: var(--acid); font-size: 18px; padding-bottom: 2px;
}
.bs-m-case .ba .r { text-align: right; }
.bs-m-case p {
  font-size: 13.5px; color: var(--fg-2); line-height: 1.55;
  margin: 0;
}
.bs-m-stats {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 0;
}
.bs-m-stats > div {
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid var(--line);
}
.bs-m-stats > div:last-child { border-right: none; }
.bs-m-stats .bs-num {
  font-size: 22px; font-weight: 700; letter-spacing: -0.025em;
  display: block;
}
.bs-m-stats .l {
  font-size: 10.5px; color: var(--fg-3); line-height: 1.3;
  margin-top: 4px;
  display: block;
}

/* STICKY CTA */
.bs-m-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: rgba(10, 11, 7, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  transform: translateY(100%);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}
.bs-m-sticky.is-visible {
  transform: translateY(0);
}
.bs-m-sticky-info {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1; min-width: 0;
}
.bs-m-sticky-info .price {
  font-family: var(--font-display); font-weight: 800;
  font-size: 20px; color: var(--fg);
  letter-spacing: -0.02em;
}
.bs-m-sticky-info .price small {
  font-size: 11px; color: var(--fg-3); margin-left: 2px; font-weight: 500;
}
.bs-m-sticky-info .meta {
  font-size: 11px; color: var(--fg-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.bs-m-sticky-btn {
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
  flex: 0 0 auto;
}

/* Esconder sticky en desktop */
@media (min-width: 721px) {
  .bs-m-sticky { display: none; }
}

/* OVERRIDES móviles para componentes desktop reusados (Pricing, FAQ, Footer) */
@media (max-width: 720px) {
  .bs-shell .bs-section-head h2.bs-h2,
  .bs-shell .bs-section h2.bs-h2 {
    font-size: clamp(28px, 7vw, 36px) !important;
  }
  .bs-shell .bs-container { padding-left: 20px !important; padding-right: 20px !important; }
  /* Pricing cards apiladas (ya hay, refuerzo) */
  .bs-shell .bs-pricing-card { width: 100% !important; }
  /* Footer: convertir a una columna */
  .bs-shell footer .bs-container > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 36px !important;
  }
  .bs-shell footer .bs-container > div:last-child {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: left;
  }
  .bs-shell footer .bs-container > div:last-child > div {
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
  }
}

/* ============================================================
 *  MOBILE PRICING — cards apiladas, full-width, sin overflow
 * ============================================================ */
.bs-m-pricing-section {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bs-m-pricing-stack {
  display: flex; flex-direction: column;
  gap: 14px;
  padding-top: 16px; /* deja espacio al ribbon de PRO */
}
.bs-m-plan {
  position: relative;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 20px;
  display: flex; flex-direction: column;
}
.bs-m-plan.is-pro {
  background: linear-gradient(180deg, rgba(214,255,77,0.05), var(--bg-2));
  border-color: var(--line-acid);
  box-shadow: 0 28px 48px -28px rgba(214,255,77,0.18);
}
.bs-m-plan-ribbon {
  position: absolute;
  top: -11px; left: 16px;
  background: var(--acid); color: #0A0B07;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.10em;
}
.bs-m-plan-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.bs-m-plan-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.bs-m-plan-tag {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--fg-3);
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.bs-m-plan-price {
  display: flex; align-items: baseline; gap: 5px;
  margin: 6px 0 10px;
}
.bs-m-plan-price .bs-num {
  font-size: 42px; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--fg);
}
.bs-m-plan.is-pro .bs-m-plan-price .bs-num { color: var(--acid); }
.bs-m-plan-price .per {
  font-size: 13px; color: var(--fg-3);
}
.bs-m-plan-desc {
  font-size: 13.5px; color: var(--fg-2);
  line-height: 1.5;
  margin: 0 0 16px;
}
.bs-m-plan-cta {
  width: 100%;
  height: 46px;
  font-size: 14px;
  margin-bottom: 16px;
}
.bs-m-plan-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.bs-m-plan-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.4;
}
.bs-m-plan-list li svg {
  flex: 0 0 14px;
  margin-top: 3px;
}
.bs-m-pricing-note {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-align: center;
}

/* ============================================================
 *  MOBILE FAQ — acordeón estilo Linear/Apple
 * ============================================================ */
.bs-m-faq-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
.bs-m-faq-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.bs-m-faq-item {
  border-bottom: 1px solid var(--line);
}
.bs-m-faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px; /* tap target cómodo */
  font-family: var(--font-display);
  color: var(--fg);
  transition: opacity 160ms ease;
}
.bs-m-faq-q:active { opacity: 0.85; }
.bs-m-faq-q .text {
  flex: 1; min-width: 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  padding-right: 4px;
}
.bs-m-faq-q .icon {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-3);
  position: relative;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
.bs-m-faq-q .icon svg .vline {
  transform-origin: 12px 12px;
  transition: transform 280ms cubic-bezier(.2,.8,.2,1);
}
.bs-m-faq-item.is-open .bs-m-faq-q .icon {
  color: #0A0B07;
  background: var(--acid);
  border-color: var(--acid);
}
.bs-m-faq-item.is-open .bs-m-faq-q .icon svg .vline {
  transform: scaleY(0);
}
.bs-m-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(.2,.8,.2,1), padding 320ms cubic-bezier(.2,.8,.2,1);
  padding-bottom: 0;
}
.bs-m-faq-a > p {
  overflow: hidden;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
}
.bs-m-faq-item.is-open .bs-m-faq-a {
  grid-template-rows: 1fr;
  padding-bottom: 18px;
}
@media (prefers-reduced-motion: reduce) {
  .bs-m-faq-a { transition: none; }
}

/* Botón "Hablar con un humano" — integrado, no flotante */
.bs-m-faq-contact {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(214,255,77,0.04);
  border: 1px solid rgba(214,255,77,0.18);
  border-radius: 16px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.bs-m-faq-contact:active {
  background: rgba(214,255,77,0.08);
  border-color: rgba(214,255,77,0.30);
}
.bs-m-faq-contact .t {
  font-size: 13.5px;
  color: var(--fg);
  font-weight: 500;
}
.bs-m-faq-contact .c {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--acid);
  white-space: nowrap;
}

/* ============================================================
 *  MOBILE STICKY CTA — refinado iOS-style
 *  Más fino, glass premium, no tapa contenido.
 * ============================================================ */
.bs-m-sticky {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  background: rgba(15, 16, 11, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 9px 9px 9px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.48), 0 0 0 1px rgba(214,255,77,0.05) inset;
  transform: translateY(calc(100% + 24px));
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), opacity 240ms ease;
  opacity: 0;
  pointer-events: none;
}
.bs-m-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.bs-m-sticky.is-hidden {
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
}

.bs-m-sticky-info {
  display: flex; flex-direction: column; gap: 1px;
  flex: 1; min-width: 0;
  line-height: 1.1;
}
.bs-m-sticky-info .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.bs-m-sticky-info .price small {
  font-size: 11px;
  color: var(--fg-3);
  margin-left: 2px;
  font-weight: 500;
}
.bs-m-sticky-info .meta {
  font-size: 10.5px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.bs-m-sticky-btn {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 12px;
  flex: 0 0 auto;
}

/* En desktop: nunca visible */
@media (min-width: 721px) { .bs-m-sticky { display: none; } }

/* En mobile, ajustamos el padding inferior del shell para no tapar contenido */
.bs-m-shell { padding-bottom: 96px; }

/* ============================================================
 *  BOOKING MODAL — reserva de llamada (mobiles.blackstock.es)
 * ============================================================ */
.bs-booking-overlay { padding: 16px; }
.bs-booking-card {
  max-width: 520px;
  padding: 32px 28px 28px;
}
@media (max-width: 480px) {
  .bs-booking-card { max-width: 100%; padding: 24px 20px 20px; border-radius: 18px; }
}

.bs-booking-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.bs-booking-head .bs-brand-mark { width: 30px; height: 30px; flex: 0 0 30px; }
.bs-booking-head .kicker {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--acid);
  margin-bottom: 2px;
}
.bs-booking-head .title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.015em; color: var(--fg);
  line-height: 1.2;
}

.bs-booking-progress {
  display: flex; gap: 6px; margin-bottom: 22px;
}
.bs-booking-progress .dot {
  width: 26px; height: 3px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transition: background-color 200ms ease;
}
.bs-booking-progress .dot.is-on { background: var(--acid); }
.bs-booking-progress .dot.is-current { box-shadow: 0 0 8px rgba(214,255,77,0.45); }

.bs-booking-form {
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.bs-booking-form .bs-field { margin: 0; }
.bs-booking-form .bs-modal-fineprint { margin: 8px 0 0; text-align: center; }

.bs-booking-plan-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.bs-booking-plan {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
  font-family: inherit;
}
.bs-booking-plan:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.bs-booking-plan.is-on {
  background: rgba(214,255,77,0.07);
  border-color: rgba(214,255,77,0.30);
  box-shadow: 0 0 0 1px rgba(214,255,77,0.12) inset;
}
.bs-booking-plan .t {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.bs-booking-plan .n {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: -0.01em; color: var(--fg);
}
.bs-booking-plan .b {
  font-size: 9.5px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--acid);
  background: rgba(214,255,77,0.10);
  border: 1px solid rgba(214,255,77,0.22);
  padding: 2px 7px; border-radius: 999px;
}
.bs-booking-plan .s {
  font-size: 11.5px; color: var(--fg-3);
  line-height: 1.4;
}

.bs-booking-slot { display: flex; flex-direction: column; gap: 14px; }
.bs-booking-slot-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
}
.bs-booking-slot-head .kicker {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--acid);
}
.bs-booking-slot-head .meta { font-size: 11.5px; color: var(--fg-3); }

.bs-booking-days {
  display: flex; gap: 6px;
  overflow-x: auto;
  padding: 4px 0 8px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.bs-booking-days::-webkit-scrollbar { height: 4px; }
.bs-booking-days::-webkit-scrollbar-track { background: transparent; }
.bs-booking-days::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius: 999px; }
.bs-booking-days .day {
  flex: 0 0 auto;
  min-width: 88px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 2px;
  transition: background-color 160ms ease, border-color 160ms ease;
  font-family: inherit;
  text-align: left;
}
.bs-booking-days .day:hover:not(:disabled) { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.bs-booking-days .day.is-on {
  background: rgba(214,255,77,0.08);
  border-color: rgba(214,255,77,0.32);
}
.bs-booking-days .day.is-full,
.bs-booking-days .day:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.bs-booking-days .lbl {
  font-size: 12px; color: var(--fg);
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: capitalize;
}
.bs-booking-days .num {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
.bs-booking-days .day.is-on .num { color: var(--acid); }

.bs-booking-slot-grid-wrap {
  display: flex; flex-direction: column; gap: 8px;
}
.bs-booking-slot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.bs-booking-slot-grid .slot {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 10px 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  color: var(--fg);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: background-color 160ms ease, border-color 160ms ease;
  letter-spacing: 0.02em;
}
.bs-booking-slot-grid .slot:hover:not(:disabled) {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.bs-booking-slot-grid .slot.is-on {
  background: var(--acid); color: #0a0b07;
  border-color: var(--acid);
  box-shadow: 0 6px 18px -8px rgba(214,255,77,0.45);
}
.bs-booking-slot-grid .slot.taken,
.bs-booking-slot-grid .slot.past {
  opacity: 0.40;
  cursor: not-allowed;
  text-decoration: line-through;
}
.bs-booking-slot-grid .slot .x {
  font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3); text-decoration: none;
  margin-top: 2px;
}

.bs-booking-skeleton {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.bs-booking-skeleton-grid { grid-template-columns: repeat(3, 1fr); }
.bs-booking-skeleton > span {
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: bsSkel 1400ms ease-in-out infinite;
}
@keyframes bsSkel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.bs-booking-actions {
  display: flex; gap: 10px;
  margin-top: 6px;
}
.bs-booking-actions .bs-btn { flex: 1; }

/* Confirmación */
.bs-booking-done {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
  padding: 8px 0 4px;
}
.bs-booking-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--acid);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 30px -8px rgba(214,255,77,0.55);
}
.bs-booking-done .kicker {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--acid);
}
.bs-booking-when {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--fg);
  margin-top: 4px;
  text-transform: capitalize;
}
.bs-booking-tz {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.bs-booking-summary {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.bs-booking-summary .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-size: 13px;
}
.bs-booking-summary .row + .row { border-top: 1px solid rgba(255,255,255,0.04); }
.bs-booking-summary .row span { color: var(--fg-3); }
.bs-booking-summary .row strong { color: var(--fg); font-weight: 600; }

/* Textarea (override del reset) */
.bs-field textarea {
  font: inherit; color: var(--fg);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 14px;
  resize: vertical;
  min-height: 64px;
  width: 100%;
}
.bs-field textarea:focus { border-color: var(--acid); background: var(--bg-2); }

/* ============================================================
 *  BOOKING MODAL — overrides mobile (≤ 720px)
 *
 *  Estrategia v2 (definitiva, robusta en iOS Safari + Android Chrome):
 *
 *   - El overlay queda sin padding y permite scroll del card.
 *   - El card es la pantalla entera con `overflow-y: auto`. No hay
 *     scroll interno anidado (solo uno).
 *   - El header del card es `position: sticky; top: 0`.
 *   - El botón CTA es `position: fixed; bottom: 0` flotante (pill)
 *     SIEMPRE visible, encima del scroll. Sigue al teclado en iOS
 *     gracias al visual viewport sin necesidad de JS.
 *   - El body lleva un `padding-bottom` generoso para que el último
 *     contenido nunca quede tapado por el botón fixed.
 *   - Inputs y textarea con `font-size: 15px` (anti-zoom iOS) y
 *     altura compacta (42–44px). Textarea con altura máxima 100px
 *     y resize: none — no crece desproporcionadamente.
 * ============================================================ */
@media (max-width: 720px) {
  /* 1. Overlay full-bleed */
  .bs-booking-overlay {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    background: rgba(0, 0, 0, 0.65);
  }

  /* 2. Card = pantalla completa scrollable.
     IMPORTANTE: scroll en el propio card, NO en hijos internos.
     Eso evita problemas de teclado iOS + safe-area + dynamic viewport. */
  .bs-booking-card {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    height: 100vh;          /* fallback */
    height: 100dvh;
    max-height: 100vh;      /* fallback */
    max-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: var(--bg);
    display: block !important;          /* sin flex */
    overflow-y: auto !important;        /* el card scrollea */
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    animation: bsBookingSheetIn 280ms cubic-bezier(.2,.8,.2,1);
  }
  @keyframes bsBookingSheetIn {
    from { opacity: 0.5; transform: translateY(20px); }
    to   { opacity: 1;  transform: translateY(0); }
  }

  /* 3. Botón cerrar — fixed siempre visible arriba derecha */
  .bs-booking-card > .bs-modal-close {
    position: fixed !important;
    top: calc(12px + env(safe-area-inset-top));
    right: 12px;
    z-index: 30;
    width: 36px; height: 36px;
    background: rgba(20, 22, 16, 0.78);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.10);
  }

  /* 4. Header sticky arriba (solo brand + título) */
  .bs-booking-head {
    position: sticky;
    top: 0;
    z-index: 12;
    margin: 0;
    padding: calc(14px + env(safe-area-inset-top)) 56px 12px 20px;
    background: rgba(10, 11, 7, 0.86);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .bs-booking-head .title { font-size: 15px; line-height: 1.25; }
  .bs-booking-head .kicker { font-size: 9px; margin-bottom: 1px; }
  .bs-booking-head .bs-brand-mark { width: 28px; height: 28px; flex: 0 0 28px; }

  /* 5. Progreso — debajo del header, en flow normal (NO sticky) */
  .bs-booking-progress {
    margin: 0;
    padding: 12px 20px 8px;
  }

  /* 6. Body de cada paso — sin scroll propio.
     Padding-bottom suficiente para que el botón fixed nunca tape.
     96px = ~50px botón + 12 bottom + 12 safe + 22 aire visual. */
  .bs-booking-form,
  .bs-booking-slot,
  .bs-booking-done {
    overflow: visible !important;
    flex: none !important;
    padding: 8px 20px calc(112px + env(safe-area-inset-bottom)) !important;
    gap: 12px !important;
    display: flex; flex-direction: column;
  }
  .bs-booking-done {
    padding-top: 24px !important;
    align-items: center;
    text-align: center;
  }

  /* 7. Inputs más bajos. font-size: 15px evita el auto-zoom de iOS. */
  .bs-booking-card .bs-field input:not([type="checkbox"]):not([type="radio"]) {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
    border-radius: 11px;
  }
  .bs-booking-card .bs-field textarea {
    min-height: 60px !important;
    max-height: 100px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    resize: none !important;
    border-radius: 11px;
    line-height: 1.4;
  }
  .bs-booking-card .bs-field > span {
    font-size: 11px;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
  }
  .bs-booking-card .bs-grid-2 { gap: 10px; }

  /* 8. Plan toggle compacto */
  .bs-booking-plan-toggle { gap: 6px; }
  .bs-booking-plan { padding: 9px 11px; border-radius: 10px; }
  .bs-booking-plan .t { gap: 6px; margin-bottom: 3px; }
  .bs-booking-plan .n { font-size: 13px; }
  .bs-booking-plan .b {
    font-size: 8px;
    padding: 1px 5px;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }
  .bs-booking-plan .s { font-size: 10.5px; line-height: 1.3; }

  /* 9. Slot picker compacto */
  .bs-booking-slot-head .kicker { font-size: 9.5px; }
  .bs-booking-slot-head .meta { font-size: 10.5px; }
  .bs-booking-days .day { min-width: 76px; padding: 7px 10px; border-radius: 10px; }
  .bs-booking-days .lbl { font-size: 11.5px; }
  .bs-booking-days .num { font-size: 9px; }
  .bs-booking-slot-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .bs-booking-slot-grid .slot {
    padding: 9px 4px;
    font-size: 12.5px;
    border-radius: 9px;
  }
  .bs-booking-slot-grid .slot .x { font-size: 8px; }

  /* 10. Skeleton más compacto */
  .bs-booking-skeleton > span { height: 36px; }

  /* 11. ⭐ CTA principal — SIEMPRE FIXED BOTTOM, pill flotante.
     `position: fixed; bottom + safe-area` se mantiene encima del
     teclado virtual en iOS gracias al visual viewport. */
  .bs-booking-form > .bs-btn-block,
  .bs-booking-actions,
  .bs-booking-done > .bs-btn-block {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 25;
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(214, 255, 77, 0.10) inset;
  }
  .bs-booking-form > .bs-btn-block,
  .bs-booking-done > .bs-btn-block {
    height: 52px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
    padding: 0 18px !important;
  }
  .bs-booking-actions {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .bs-booking-actions .bs-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 14px;
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.7);
  }
  .bs-booking-actions .bs-btn-acid {
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(214, 255, 77, 0.10) inset;
  }

  /* 12. fineprint debajo del CTA en paso 1 — no fixed, dejamos que
     scrollee con el resto. El padding-bottom del form ya garantiza
     que sea alcanzable. */
  .bs-booking-form > .bs-modal-fineprint {
    margin: 4px 0 0;
    padding: 0;
    text-align: center;
    font-size: 11.5px;
    background: transparent;
  }

  /* 13. Confirmación (paso 3) más compacta */
  .bs-booking-when { font-size: 20px; }
  .bs-booking-check { width: 48px; height: 48px; margin-bottom: 10px; }
  .bs-booking-summary { padding: 10px 12px; }
  .bs-booking-summary .row { font-size: 12.5px; padding: 5px 0; }

  /* 14. Skeleton container respeta padding del form */
  .bs-booking-skeleton-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

/* Pantallas muy pequeñas (≤ 380px) — compactar más */
@media (max-width: 380px) {
  .bs-booking-plan-toggle { grid-template-columns: 1fr; }
  .bs-booking-slot-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-booking-card .bs-grid-2 { grid-template-columns: 1fr; }
  .bs-booking-form,
  .bs-booking-slot,
  .bs-booking-done {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .bs-booking-form > .bs-btn-block,
  .bs-booking-actions,
  .bs-booking-done > .bs-btn-block {
    left: 12px !important;
    right: 12px !important;
  }
  .bs-booking-head { padding-left: 16px; padding-right: 52px; }
  .bs-booking-progress { padding-left: 16px; padding-right: 16px; }
}
