/* Base de BarraLibreTPV (estilo «Servicio de noche», muestra B elegida el 10-10-2026): el modo oscuro del TPV, como
   un local a las 22:00 en hora punta. Fuentes propias, colores, botones, cabecera y pie. Una sola apariencia oscura. */
@font-face { font-family: "Unbounded"; src: url("/fuentes/unbounded-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap }
@font-face { font-family: "Unbounded"; src: url("/fuentes/unbounded-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap }
@font-face { font-family: "Unbounded"; src: url("/fuentes/unbounded-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap }
@font-face { font-family: "Manrope"; src: url("/fuentes/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap }
@font-face { font-family: "Manrope"; src: url("/fuentes/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap }
@font-face { font-family: "Manrope"; src: url("/fuentes/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap }
@font-face { font-family: "Manrope"; src: url("/fuentes/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap }
@font-face { font-family: "Tilt Neon"; src: url("/fuentes/tilt-neon-latin.woff2") format("woff2"); font-weight: 400; font-display: swap }
@font-face { font-family: "IBM Plex Mono"; src: url("/fuentes/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap }
@font-face { font-family: "IBM Plex Mono"; src: url("/fuentes/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap }

:root {
  --fondo: #101413; --capa: #171c1a; --capa2: #1e2422; --linea: #2b3330; --texto: #e9eeeb; --suave: #a3aea8;
  --menta: #5cc3ac; --ambar: #eeb75e; --coral: #f2897f; --cielo: #7db3ec; --tinta-boton: #0b1311;
  --eq-cuerpo: #0a0d0c; --eq-luz: #5cc3ac;
  --f-titulo: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-cuerpo: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 400 17px/1.65 var(--f-cuerpo); overflow-x: hidden }
img { max-width: 100%; height: auto }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 800; margin: 0; line-height: 1.08; text-wrap: balance; letter-spacing: -.02em }
h1 { font-size: clamp(34px, 6vw, 78px) }
h2 { font-size: clamp(27px, 3.6vw, 46px); max-width: 22ch }
h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700 }
p { margin: 0 }
a { color: inherit }
.envoltura { width: min(1220px, 100%); margin-inline: auto; padding-inline: 20px }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--menta); color: var(--tinta-boton); padding: 10px 14px; z-index: 50; font-weight: 700 }
.saltar:focus { left: 8px }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px }

/* Cabecera translúcida con el piloto encendido */
.cabecera { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgb(16 20 19 / .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linea) }
.cabecera .envoltura { display: flex; align-items: center; gap: 20px; min-height: 68px }
/* Logo elegido el 10-10-2026: la B de neón (img/logo.svg) y el nombre en Tilt Neon. */
.marca { font: 400 21px/1 "Tilt Neon", var(--f-titulo); letter-spacing: .02em; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; padding-block: 8px }
.marca img { width: 36px; height: 36px; border-radius: 9px }
.marca b { font-weight: 400; color: var(--menta); text-shadow: 0 0 12px rgba(92, 195, 172, .55) }
.marca i { font-style: normal; color: var(--suave) }
.menu { margin-left: auto; display: flex; gap: 2px; font-size: 15px; color: var(--suave) }
.menu a { text-decoration: none; padding: 12px 10px; border-radius: 10px }
.menu a:hover, .menu a[aria-current="page"] { color: var(--menta) }
/* «Demo» destaca: es lo que más se busca y se perdía entre los demás enlaces. */
.menu a.menu-demo { color: var(--menta); font-weight: 700 }
.menu a.menu-demo::before { content: ""; display: inline-block; margin-right: 7px; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent currentColor }
.abrir-menu { display: none; margin-left: auto; background: var(--capa); border: 1px solid var(--linea); color: var(--texto); border-radius: 12px;
  min-width: 44px; min-height: 44px; font: 700 15px var(--f-cuerpo); padding: 0 14px; cursor: pointer }
@media (max-width: 1080px) {
  .abrir-menu { display: inline-flex; align-items: center; gap: 8px }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--capa); border-bottom: 1px solid var(--linea); padding: 8px 20px 20px; gap: 0 }
  .menu.abierto { display: flex }
  .menu a { padding: 14px 4px; border-bottom: 1px solid var(--linea); color: var(--texto) }
  .menu a.menu-demo { color: var(--menta) }
  .cabecera .boton { display: none }
}

/* Botones: menta lleno o hueco con borde */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; font: 700 16px var(--f-cuerpo);
  text-decoration: none; background: var(--menta); color: var(--tinta-boton); border: 0; border-radius: 14px; cursor: pointer; transition: transform .2s, box-shadow .2s }
.boton:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgb(92 195 172 / .22) }
.boton:active { transform: translateY(1px) }
.boton.papel { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px var(--linea) }
.boton.papel:hover { box-shadow: inset 0 0 0 1px var(--menta) }
.boton .logo-windows { flex: none; color: #0078d4 }
.boton:not(.papel) .logo-windows { color: currentColor }
.boton .logo-apple { flex: none }
.boton[disabled] { opacity: .55; cursor: not-allowed; transform: none }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center }

/* Rótulos comunes */
.servido { font: 600 13px var(--f-mono); color: var(--ambar); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px }
.intro { color: var(--suave); font-size: 18px; max-width: 60ch; margin-top: 16px }
.seccion { padding-block: 72px }
.migas { font: 500 13px var(--f-mono); color: var(--suave); padding-block: 24px 0; display: flex; flex-wrap: wrap; gap: 8px }
.migas a { color: var(--menta) }

/* Pie */
.pie { background: var(--capa); border-top: 1px solid var(--linea); color: var(--suave); padding-block: 56px 32px; margin-top: 60px; font-size: 15px }
.pie .columnas { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px }
.pie .marca { color: var(--texto) }
.pie h2 { font-size: 14px; margin-bottom: 12px; color: var(--texto); max-width: none; font-weight: 700 }
.pie nav a { display: block; text-decoration: none; padding-block: 6px }
.pie nav a:hover { color: var(--menta) }
.pie .lema { margin-top: 12px; max-width: 32ch }
.pie .legal { border-top: 1px solid var(--linea); margin-top: 36px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; align-items: center }
.pie .legal a { display: inline-flex; align-items: center; min-height: 44px }
.pie .legal button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; min-height: 44px }
@media (max-width: 960px) { .pie .columnas { grid-template-columns: 1fr 1fr } .pie .columnas > :first-child { grid-column: 1 / -1 } }

/* Aparición al bajar (solo navegadores que lo soportan; sin ello, todo se ve igual) */
.revela { animation: revela linear both; animation-timeline: view(); animation-range: entry 0% entry 55% }
@keyframes revela { from { opacity: .25; transform: translateY(36px) scale(.98) } }
.hoy { display: inline-flex; gap: 10px; align-items: center; font: 600 14px var(--f-mono); color: var(--menta); border: 1px solid var(--linea); padding: 6px 14px; border-radius: 99px; background: var(--capa) }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important } }
