/* ═══════════════════════════════════════════════════════════
   Barber Go · Header (navbar + hero)
   Aislado del resto de la landing: todo cuelga de .bh y usa el prefijo bh-
   para no chocar con las clases de style.css. Mismos tokens que la app.
   ═══════════════════════════════════════════════════════════ */

.bh {
  /* Paleta de producción (style.css): dorado #F59E0B sobre tinta casi negra */
  --brand: #F59E0B;
  --brand-ring: rgba(245, 158, 11, .25);
  --on-brand: #0B0C0E;
  --success: #22c55e;
  --danger: #ef4444;
  --bg: #0B0C0E;
  --surface: #1a1d24;
  --sunk: #111318;
  --sheet: #252931;
  --ink: #ffffff;
  --ink-soft: rgba(229, 231, 235, .72);
  --ink-faint: #6b7280;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --hover: rgba(255, 255, 255, .04);
  --material: rgba(11, 12, 14, .92);
  --shot-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  --r-card: 20px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: 450ms;
  --nav-h: 64px;

  position: relative;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.bh *, .bh *::before, .bh *::after { box-sizing: border-box; }
.bh img, .bh svg, .bh video { display: block; max-width: 100%; }
.bh a { color: inherit; text-decoration: none; }
.bh button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.bh a, .bh button { touch-action: manipulation; }
.bh ul, .bh ol { list-style: none; margin: 0; padding: 0; }
.bh :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.bh-num { font-variant-numeric: tabular-nums; }
html { scroll-padding-top: 80px; }

.bh-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .bh-container { padding: 0 32px; } }

/* ─────────── Tipografía ─────────── */
.bh-title, .bh-logotype, .bh-stats dd {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.005em;
}
.bh-logotype { font-size: 22px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); }
.bh-logotype b { color: var(--brand); font-weight: 800; }

/* ─────────── Botones ─────────── */
.bh-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.bh-btn svg { width: 18px; height: 18px; flex: none; }
.bh-btn:active { transform: scale(.98); }
.bh-btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.bh-btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.bh-btn-primary { background: var(--brand); color: var(--on-brand); }
.bh-btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.bh-i-wa { width: 20px; height: 20px; }
@media (hover: hover) {
  .bh-btn-primary:hover { box-shadow: 0 10px 30px -10px var(--brand-ring), 0 0 0 4px var(--brand-ring); }
  .bh-btn-secondary:hover { border-color: var(--ink-faint); background: var(--sheet); }
}

.bh-icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  display: inline-grid; place-items: center;
  color: var(--ink); border: 1px solid var(--line);
  transition: transform .18s var(--ease), background-color .2s var(--ease);
}
.bh-icon-btn svg { width: 18px; height: 18px; }
.bh-icon-btn:active { transform: scale(.95); }
@media (hover: hover) { .bh-icon-btn:hover { background: var(--hover); } }

/* ─────────── Navbar (material de vidrio) ─────────── */
.bh-nav {
  position: fixed; inset: 0 0 auto; z-index: 500;
  background: var(--material);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
/* style.css fija todo <nav>: el menú interno vuelve a ser estático */
.bh-nav nav {
  position: static; inset: auto; z-index: auto; height: auto; padding: 0;
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; box-shadow: none; transition: none;
  margin-left: auto; display: none;
}
.bh-nav-inner {
  max-width: 1180px; margin: 0 auto; height: var(--nav-h);
  padding: 0 16px; display: flex; align-items: center; gap: 20px;
}
@media (min-width: 768px) { .bh-nav-inner { padding: 0 32px; } }
.bh-logo { display: inline-flex; align-items: center; flex: none; }
.bh-logo img { height: 32px; width: auto; object-fit: contain; filter: drop-shadow(0 0 12px rgba(245, 158, 11, .2)); }
.bh-nav-links { display: flex; gap: 2px; }
.bh-nav-links a {
  display: block; padding: 8px 10px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.bh-nav-links a[aria-current] { color: var(--ink); background: var(--hover); }
@media (hover: hover) { .bh-nav-links a:hover { color: var(--ink); } }
.bh-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bh-nav-cta { display: none; }
@media (min-width: 640px) { .bh-nav-cta { display: inline-flex; } }
@media (min-width: 1140px) {
  .bh-nav nav { display: block; }
  .bh-nav-actions { margin-left: 0; }
  .bh-burger { display: none; }
}
.bh-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.bh-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--brand); }

.bh-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 499;
  background: var(--material);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.bh-menu.bh-open { opacity: 1; visibility: visible; transform: none; }
.bh-menu a:not(.bh-btn) {
  display: block; padding: 12px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: .95;
}
body.bh-menu-open { overflow: hidden; }

/* ─────────── Hero ─────────── */
.bh-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 64px;
}
.bh-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .bh-hero { padding: calc(var(--nav-h) + 56px) 0 96px; min-height: 100svh; display: flex; align-items: center; }
  .bh-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; }
}
.bh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 13px; font-weight: 700; color: var(--ink);
  letter-spacing: .04em;
}
.bh-eyebrow svg { width: 15px; height: 15px; color: var(--brand); }
.bh-title {
  font-size: clamp(48px, 7.4vw, 80px);
  text-transform: uppercase;
  margin: 22px 0 0;
  text-wrap: balance;
  color: var(--ink);
}
.bh-title .bh-accent { color: var(--brand); }
.bh-sub { color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; margin: 18px 0 0; text-wrap: pretty; }
.bh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bh-ctas .bh-btn { flex: 1 1 auto; }
@media (min-width: 520px) { .bh-ctas .bh-btn { flex: 0 0 auto; } }
.bh-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 36px 0 0; max-width: 560px;
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: var(--surface);
}
@media (min-width: 560px) { .bh-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bh-stats > div { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.bh-stats dd { font-size: 32px; color: var(--ink); margin: 0; }
.bh-stats > div:first-child dd { color: var(--brand); }
.bh-stats dt { font-size: 12.5px; color: var(--ink-soft); line-height: 1.3; }

/* Línea de corte: la tijera la recorre y deja la línea cortada atrás */
.bh-cutline { position: relative; height: 28px; margin-top: 16px; max-width: 520px; }
.bh-cutline-dash, .bh-cutline-done { position: absolute; left: 0; right: 0; top: 50%; height: 0; }
.bh-cutline-dash { border-top: 2px dashed var(--line-strong); }
.bh-cutline-done { border-top: 2px solid var(--brand); transform-origin: left; transform: scaleX(0); }
.bh-scissors { position: absolute; top: 50%; left: 0; width: 44px; height: 24px; margin-top: -12px; color: var(--ink); transform: translateX(-10px); }
.bh-blade { position: absolute; inset: 0; width: 44px; height: 24px; transform-origin: 30% 50%; }
.bh-cutline.bh-cutting .bh-cutline-done { animation: bh-cut-line 1.8s var(--ease) .2s forwards; }
.bh-cutline.bh-cutting .bh-scissors { animation: bh-cut-move 1.8s var(--ease) .2s forwards; }
.bh-cutline.bh-cutting .bh-blade-a { animation: bh-blade-a .22s ease-in-out 9 alternate; }
.bh-cutline.bh-cutting .bh-blade-b { animation: bh-blade-b .22s ease-in-out 9 alternate; }

/* Teléfono con la demo real */
.bh-stage { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 1200px; }
.bh-glow {
  position: absolute; top: 10%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: var(--brand); opacity: .12; filter: blur(80px); pointer-events: none;
}
.bh-phone {
  position: relative; width: min(320px, 80vw);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 42px; padding: 10px;
  box-shadow: var(--shot-shadow);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transition: transform .5s var(--ease);
}
/* Pantalla: recorta la barra del navegador (arriba) y la barra de Android (abajo) de la grabación */
.bh-screen { position: relative; overflow: hidden; border-radius: 32px; background: #111; aspect-ratio: 592 / 1100; }
.bh-screen video { width: 100%; height: auto; aspect-ratio: 592 / 1280; margin-top: -21.7%; }
.bh-video-toggle {
  position: absolute; right: 22px; bottom: 22px; z-index: 2;
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .3); color: #fff;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .18s var(--ease), opacity .3s var(--ease);
}
.bh-video-toggle svg { width: 16px; height: 16px; }
.bh-video-toggle:active { transform: scale(.95); }
@media (hover: hover) { .bh-phone:not(:hover) .bh-video-toggle:not(.bh-paused), .bh-flow-frame:not(:hover) .bh-video-toggle:not(.bh-paused) { opacity: 0; } }
.bh-chip {
  position: relative; margin-top: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.bh-live { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); flex: none; animation: bh-live 1.6s ease-in-out infinite; }

/* Entrada de marca: sube + scale(.98)→1 */
.js .bh-reveal {
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.js .bh-reveal.bh-visible { opacity: 1; transform: none; }

@keyframes bh-cut-line { to { transform: scaleX(1); } }
@keyframes bh-cut-move { to { left: calc(100% - 34px); } }
@keyframes bh-blade-a { from { transform: rotate(0deg); } to { transform: rotate(-14deg); } }
@keyframes bh-blade-b { from { transform: rotate(0deg); } to { transform: rotate(14deg); } }
@keyframes bh-live { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  .bh *, .bh *::before, .bh *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bh-cutline-done { transform: none; }
  .bh-scissors { display: none; }
  .bh-phone { transform: none !important; }
}

/* ═══════════ CINTA (después del header) ═══════════ */
.bh-ribbon { border-block: 1px solid rgba(245, 158, 11, .1); background: var(--sunk); overflow: hidden; padding: 16px 0; }
.bh-ribbon-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: bh-marquee 40s linear infinite; }
.bh-ribbon span { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: .95; color: rgba(255, 255, 255, .4); white-space: nowrap; }
.bh-ribbon span:nth-child(14n + 1) { color: var(--ink); }
.bh-ribbon svg { width: 20px; height: 20px; flex: none; color: var(--brand); animation: bh-snip .5s var(--ease) infinite alternate; }
@media (hover: hover) { .bh-ribbon:hover .bh-ribbon-track { animation-play-state: paused; } }

/* ═══════════ MIRÁ CÓMO FUNCIONA ═══════════
   Colores de la sección en producción: fondo #080808, dorado #F59E0B */
.bh-demo {
  --demo-gold: #F59E0B;
  background: #080808;
  padding: 96px 0 112px;
  overflow: hidden;
}
.bh-demo::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11, .4), transparent);
}
.bh-demo-grid {
  display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "stage" "side";
}
.bh-demo-head { grid-area: head; text-align: center; }
.bh-demo-stage { grid-area: stage; }
.bh-demo-side { grid-area: side; }
@media (min-width: 960px) {
  .bh-demo { padding: 120px 0 136px; }
  .bh-demo-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas: "head stage" "side stage";
    column-gap: 72px; row-gap: 36px; align-items: start;
  }
  .bh-demo-head { text-align: left; align-self: end; }
  .bh-demo-stage { align-self: center; }
}

.bh-demo-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-pill);
  background: rgba(245,158,11, .08); border: 1px solid rgba(245,158,11, .25);
  color: var(--demo-gold); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.bh-demo-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--demo-gold); animation: bh-live 2s ease-in-out infinite; }
.bh-demo-title {
  margin: 18px 0 0;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 7vw, 84px); line-height: .92; letter-spacing: .01em; color: #fff;
}
.bh-demo-title span { color: var(--demo-gold); display: block; }
.bh-demo-sub { margin: 18px auto 0; max-width: 480px; color: rgba(255, 255, 255, .55); font-size: 17px; line-height: 1.6; }
@media (min-width: 960px) { .bh-demo-sub { margin-left: 0; } }

/* Teléfono */
.bh-demo-stage { position: relative; display: flex; justify-content: center; padding: 8px 0; }
.bh-demo-glow {
  position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245,158,11, .16) 0%, transparent 62%); pointer-events: none;
}
.bh-demo-phone {
  position: relative; width: min(320px, 78vw); padding: 10px;
  border-radius: 46px; background: #0a0a0a; border: 1.5px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 40px 80px rgba(0, 0, 0, .8), 0 0 60px rgba(245,158,11, .1);
}
.bh-demo-phone .bh-screen { border-radius: 36px; }
.bh-demo-badge {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(10, 10, 10, .92); border: 1px solid rgba(245,158,11, .3);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
  animation: bh-float 4s ease-in-out infinite;
}
.bh-demo-badge svg { width: 15px; height: 15px; color: var(--demo-gold); }
.bh-demo-badge-live { top: 40px; right: calc(50% - min(160px, 39vw) - 24px); }
.bh-demo-badge-time { bottom: 56px; left: calc(50% - min(160px, 39vw) - 28px); color: var(--demo-gold); border-color: rgba(255, 255, 255, .1); animation-delay: 2s; }
.bh-demo-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: bh-live 1.5s ease-in-out infinite; }
@media (max-width: 520px) { .bh-demo-badge-live { right: 4px; } .bh-demo-badge-time { left: 4px; } }

/* Pasos sincronizados con el video */
.bh-steps { display: grid; gap: 10px; }
.bh-step {
  position: relative; width: 100%; text-align: left; overflow: hidden;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 18px 20px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .18s var(--ease);
}
.bh-step:active { transform: scale(.99); }
@media (hover: hover) { .bh-step:hover { border-color: rgba(245,158,11, .22); } }
.bh-step-n {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245,158,11, .1); color: var(--demo-gold);
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.bh-step-n svg { width: 20px; height: 20px; stroke-width: 3; }
.bh-step-text { display: grid; gap: 3px; }
.bh-step-k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--demo-gold); opacity: .75; }
.bh-step b { font-size: 16px; font-weight: 700; color: #fff; }
.bh-step-d { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .5); }
.bh-step-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .04); }
.bh-step-bar span { display: block; height: 100%; background: var(--demo-gold); transform-origin: left; transform: scaleX(0); }
.bh-step.is-active { background: rgba(245,158,11, .06); border-color: rgba(245,158,11, .35); }
.bh-step.is-active .bh-step-n { background: var(--demo-gold); color: #0a0a0a; }
.bh-step-ok .bh-step-n { background: rgba(34, 197, 94, .1); color: var(--success); }
.bh-step-ok .bh-step-k { color: var(--success); }
.bh-step-ok .bh-step-bar span { background: var(--success); }
.bh-step-ok.is-active { background: rgba(34, 197, 94, .06); border-color: rgba(34, 197, 94, .35); }
.bh-step-ok.is-active .bh-step-n { background: var(--success); color: #0a0a0a; }

.bh-demo-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.bh-demo-cta p { color: rgba(255, 255, 255, .55); font-size: 15px; }
@media (max-width: 959px) { .bh-demo-cta { flex-direction: column; text-align: center; } }

/* Entrada al hacer scroll */
.js .bh-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .bh-on-scroll.bh-visible { opacity: 1; transform: none; }

@keyframes bh-marquee { to { transform: translateX(-50%); } }
@keyframes bh-snip { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes bh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .bh-ribbon-track { animation: none; }
  .js .bh-on-scroll { opacity: 1; transform: none; }
}

/* ═══════════ CIRCUITO COMPLETO (video 16:9) ═══════════ */
.bh-demo.bh-flow { padding-top: 0; }
.bh-flow::before { display: none; }
.bh-flow .bh-demo-head { text-align: center; }
.bh-flow .bh-demo-sub { margin-inline: auto; }
/* fx.js envuelve cada palabra en spans: solo la segunda línea va en dorado */
.bh-flow .bh-demo-title .fx-w > span { color: #fff; }
.bh-flow .bh-demo-title > span .fx-w > span { color: var(--demo-gold); }
.bh-flow-frame {
  position: relative; max-width: 1040px; margin: 40px auto 0; overflow: hidden;
  border-radius: var(--r-card); border: 1px solid var(--line-strong); background: #111;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .8), 0 0 60px rgba(245,158,11, .1);
}
.bh-flow-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ═══════════ TU BARBERÍA BAJO CONTROL: rotación de capturas ═══════════ */
/* Las capturas entran enteras (antes se estiraban a 16:9) */
#dashboard .browser-screen img { object-fit: contain; object-position: center; }
/* Barra que se llena en la pestaña activa (la rotación la maneja header.js) */
#dashboard .tab-btn { position: relative; overflow: hidden; }
#dashboard .tab-btn.bh-run::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: #F59E0B; transform-origin: left; transform: scaleX(0);
  animation: bh-tab-fill 5s linear forwards;
}
#dashboard.bh-rotate-off .tab-btn.bh-run::after { animation-play-state: paused; }
@keyframes bh-tab-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { #dashboard .tab-btn.bh-run::after { display: none; } }

/* ═══════════ CONFIRMACIONES: recordatorio real del bot ═══════════ */
.notif-section .wa-phone { max-width: 340px; }
.bh-wa-reminder { max-width: 92% !important; padding-bottom: 0 !important; overflow: hidden; }
.bh-wa-reminder p { margin: 0; }
.bh-wa-reminder .bh-wa-gap { margin-top: 8px; }
.bh-wa-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #25D366; margin-bottom: 4px !important; }
.bh-wa-link { color: #53bdeb; text-decoration: underline; word-break: break-all; }
.bh-wa-foot { margin-top: 8px !important; font-size: .7rem; color: #8c9ea9; }
.bh-wa-buttons { margin: 8px -.9rem 0; display: grid; }
.bh-wa-buttons span {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem; font-weight: 600; color: #53bdeb;
}
.bh-wa-buttons span:first-child { color: #8c9ea9; }
.bh-wa-quote {
  display: grid; gap: 1px; margin-bottom: 6px; padding: 6px 8px;
  border-left: 3px solid #a78bfa; border-radius: 6px; background: rgba(0, 0, 0, .18);
  font-size: .72rem; color: rgba(233, 237, 239, .75);
}
.bh-wa-quote b { color: #e9edef; font-size: .74rem; }
.bh-wa-status {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(34, 197, 94, .3);
  background: rgba(34, 197, 94, .08); font-size: .74rem; color: #e9edef;
  opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease;
}
.bh-wa-status b { color: #22c55e; }
.bh-wa-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.wa-reply.visible + .bh-wa-status { opacity: 1; transform: none; transition-delay: .9s; }
