/* Fugaz · sitio público.
   Colores y tipografía tomados del sistema (specs.md / tokens.css): neutros "stone",
   naranja para actuar, texto oscuro sobre naranja, IBM Plex Sans y Plex Mono.
   Cortes: 1100 (tablet grande), 900 (tablet), 760 (teléfono), 400 (teléfono chico). */

@font-face {
  font-family: 'Plex Sans';
  src: url('/fuentes/plex-sans.woff2') format('woff2-variations'), url('/fuentes/plex-sans.woff2') format('woff2');
  font-weight: 100 700;
  font-display: swap;
}
@font-face { font-family: 'Plex Mono'; src: url('/fuentes/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fuentes/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fuentes/plex-mono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --surface-2: #F5F5F4;
  --border: #E7E5E4;
  --fg: #1C1917;
  --muted: #57534E;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-fg: #1C1917;
  --accent-text: #C2410C;
  --accent-soft: #FFEDD5;
  --accent-soft-fg: #9A3412;
  --success: #15803D;
  --danger: #B91C1C;
  --warning: #A16207;
  --info: #1D4ED8;

  --medio-efectivo: #C2410C;
  --medio-debito: #0369A1;
  --medio-credito: #6D28D9;
  --medio-transferencia: #047857;
  --medio-qr: #BE185D;
  --medio-cuenta: #4338CA;

  --venta-1: #2563EB;
  --venta-2: #16A34A;

  /* Las secciones oscuras son oscuras en los dos temas (como el panel de marca del sistema). */
  --oscuro: #1C1917;
  --oscuro-2: #292524;
  --oscuro-linea: #44403C;
  --oscuro-fg: #FAFAF9;
  --oscuro-suave: #A8A29E;

  --papel: #FFFFFF;
  --tinta: #1C1917;
  --tinta-suave: #57534E;

  --sombra: 0 1px 0 rgb(28 25 23 / 0.04), 0 12px 32px -12px rgb(28 25 23 / 0.18);
  --sombra-grande: 0 1px 0 rgb(28 25 23 / 0.04), 0 30px 60px -24px rgb(28 25 23 / 0.28);

  --fuente: 'Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Plex Mono', Consolas, monospace;
  --ancho: 1200px;
  --margen: 20px;
  --radio: 8px;
  --alto-barra: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0A09;
    --surface: #1C1917;
    --surface-2: #292524;
    --border: #44403C;
    --fg: #FAFAF9;
    --muted: #A8A29E;
    --accent: #FB923C;
    --accent-hover: #FDBA74;
    --accent-text: #FB923C;
    --accent-soft: #431407;
    --accent-soft-fg: #FDBA74;
    --success: #4ADE80;
    --danger: #F87171;
    --warning: #FACC15;
    --info: #60A5FA;
    --medio-efectivo: #FB923C;
    --medio-debito: #38BDF8;
    --medio-credito: #A78BFA;
    --medio-transferencia: #34D399;
    --medio-qr: #F472B6;
    --medio-cuenta: #818CF8;
    --venta-1: #60A5FA;
    --venta-2: #4ADE80;
    --oscuro: #171412;
    --oscuro-2: #231f1c;
    --sombra: 0 12px 32px -12px rgb(0 0 0 / 0.6);
    --sombra-grande: 0 30px 60px -24px rgb(0 0 0 / 0.7);
  }
}

[data-medio='EF'] { --medio: var(--medio-efectivo); }
[data-medio='TD'] { --medio: var(--medio-debito); }
[data-medio='TC'] { --medio: var(--medio-credito); }
[data-medio='TR'] { --medio: var(--medio-transferencia); }
[data-medio='QR'] { --medio: var(--medio-qr); }
[data-medio='CC'] { --medio: var(--medio-cuenta); }
.punto-medio { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--medio, var(--accent)); flex: none; }
.punto-ambar, .punto-rojo, .punto-azul, .punto-verde { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.punto-ambar { background: var(--warning); }
.punto-rojo { background: var(--danger); }
.punto-azul { background: var(--info); }
.punto-verde { background: var(--success); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-barra) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--fuente);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.oscura :focus-visible, .contacto :focus-visible { outline-color: currentColor; }
svg use { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.envoltura { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 6px; text-decoration: none;
}
.saltar:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.titulo-xl {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.titulo-l {
  font-size: clamp(31px, 4.2vw, 56px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.titulo-xl em, .titulo-l em { font-style: normal; color: var(--accent-text); }
.tenue { color: var(--oscuro-suave); }
.bajada { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 56ch; text-wrap: pretty; }
.oscura .bajada { color: var(--oscuro-suave); }

.rotulo {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.02em;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.rotulo--claro { color: var(--accent); }
.rotulo__punto { width: 8px; height: 8px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-fg);
  border: 1px solid transparent; border-radius: var(--radio);
  font: 600 16px/1 var(--fuente); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.boton:hover { background: var(--accent-hover); }
.boton:active { transform: translateY(1px); }
.boton--chico { min-height: 40px; padding: 0 16px; font-size: 14px; }
.boton--borde { background: transparent; color: var(--fg); border-color: var(--border); }
.boton--borde:hover { background: var(--surface-2); border-color: var(--muted); }
.boton--oscuro { background: var(--tinta); color: #FAFAF9; }
.boton--oscuro:hover { background: #000; }

/* ---------- Barra superior ---------- */
.barra {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.barra.con-borde, .barra.abierta { border-bottom-color: var(--border); }
.barra__dentro { display: flex; align-items: center; gap: 28px; height: var(--alto-barra); }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.marca__icono { width: 30px; height: 30px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.nav a:hover { color: var(--fg); }
.menu-boton { display: none; }
.menu-movil { display: none; }

/* ---------- Portada ---------- */
.portada { padding-top: 64px; }
.portada__grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.portada__bajada { margin-top: 26px; font-size: 19px; color: var(--muted); max-width: 50ch; text-wrap: pretty; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.portada__datos { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.portada__datos strong { color: var(--fg); font-weight: 600; }

/* Maqueta de la portada */
.maqueta { position: relative; padding: 10px 0 110px; }
.pos {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--sombra-grande);
  overflow: hidden;
  font-size: 13px;
}
.pos__barra { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.pos__puntos { display: flex; gap: 6px; flex: none; }
.pos__puntos i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.pos__url { font: 12px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos__pestanas { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--border); }
.pos__pestana {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-weight: 500; color: var(--muted); white-space: nowrap;
  border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0;
}
.pos__pestana::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, transparent); }
.pos__pestana--activa { color: var(--fg); background: var(--surface); border-color: var(--border); margin-bottom: -1px; }
.pos__pestana--mas::before { display: none; }
.pos__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 190px; }
.pos__izq { padding: 14px; border-right: 1px solid var(--border); min-height: 300px; }
.pos__buscar {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 10px; border: 1px solid var(--accent-text); border-radius: 6px; color: var(--muted);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.pos__buscar svg { flex: none; }
.pos__cursor { flex: 1; font-family: var(--mono); color: var(--fg); }
.pos__cursor::after { content: ''; display: inline-block; width: 1px; height: 15px; margin-left: 1px; vertical-align: -3px; background: var(--fg); animation: titila 1s steps(1) infinite; }
@keyframes titila { 50% { opacity: 0; } }
.pos__renglones { margin-top: 10px; }
.pos__renglones li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px 74px; gap: 10px; align-items: center;
  padding: 8px 4px; border-bottom: 1px solid var(--border);
}
.pos__renglones li:last-child { background: var(--accent-soft); border-radius: 6px; border-bottom-color: transparent; }
.pos__renglones span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos__renglones b { text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.pos__renglones output { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pos__renglones mark { background: var(--accent-soft); color: var(--accent-soft-fg); font: 600 11px var(--mono); padding: 1px 5px; border-radius: 4px; margin-left: 4px; }
.pos__renglones li:last-child mark { background: var(--surface); }
.pos__renglones li.entra { animation: entra .35s ease-out both; }
@keyframes entra { from { opacity: 0; transform: translateY(-6px); } }
.pos__der { display: flex; flex-direction: column; padding: 16px 14px; gap: 6px; }
.pos__rotulo { font-size: 12px; color: var(--muted); font-weight: 500; }
.pos__total { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pos__ahorro { font-size: 12px; color: var(--success); margin-bottom: auto; }
.pos__cobrar {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding: 9px 10px; border-radius: 6px; border: 1px solid var(--border); font-weight: 600; font-size: 12.5px; white-space: nowrap;
}
.pos__cobrar--e { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }

.tecla {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px;
  font: 600 11px var(--mono); color: var(--fg);
  background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px;
}
.pos__cobrar--e .tecla, .v-cobrar .tecla, .v-btn--n .tecla { background: rgb(255 255 255 / .55); border-color: rgb(28 25 23 / .25); color: var(--accent-fg); }

/* Ticket impreso: papel blanco y tinta negra en los dos temas */
.ticket {
  position: absolute; right: -14px; bottom: 0; width: 220px;
  padding: 16px 14px 18px;
  background: var(--papel); color: var(--tinta);
  font: 10.5px/1.5 var(--mono);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / .35);
  transform: rotate(3deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle at 6px 6px, transparent 4.5px, #000 5px) bottom / 12px 7px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle at 6px 6px, transparent 4.5px, #000 5px) bottom / 12px 7px repeat-x;
}
.ticket__cab { text-align: center; font-weight: 600; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed var(--tinta-suave); }
.ticket__fila { display: flex; justify-content: space-between; gap: 8px; }
.ticket__total { font-weight: 600; font-size: 12px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--tinta-suave); }
.ticket__pie { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--tinta-suave); font-size: 9.5px; }
.ticket__qr { width: 46px; height: 46px; color: var(--tinta); flex: none; }

.aviso {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--sombra); font-size: 13px; line-height: 1.3; white-space: nowrap;
}
.aviso b { display: block; font-weight: 600; }
.aviso small { color: var(--muted); font-size: 12px; }
.aviso--arca { left: -28px; bottom: 74px; }
.aviso__icono { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 700; flex: none; }
.aviso--pago { left: 64px; bottom: 10px; }
.aviso--pago .punto-medio { width: 10px; height: 10px; }

.maqueta .aviso, .maqueta .ticket { opacity: 0; translate: 0 10px; transition: opacity .5s ease, translate .5s ease; }
.maqueta.lista .aviso, .maqueta.lista .ticket { opacity: 1; translate: 0 0; }
.maqueta.lista .aviso--arca { transition-delay: .15s; }
.maqueta.lista .aviso--pago { transition-delay: .5s; }

/* Rubros */
.rubros { margin-top: 64px; border-block: 1px solid var(--border); overflow: hidden; background: var(--surface); }
.rubros__pista { display: flex; width: max-content; animation: corre 40s linear infinite; }
.rubros__pista span { padding: 18px 26px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.rubros__pista span::after { content: '/'; margin-left: 52px; color: var(--accent-text); opacity: .6; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: 120px 0; }
.oscura { background: var(--oscuro); color: var(--oscuro-fg); }

/* Problemas */
.problemas__grilla { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.problemas__grilla > div:first-child { position: sticky; top: 110px; }
.problemas__lista { counter-reset: p; }
.problemas__lista li { counter-increment: p; position: relative; padding: 28px 0 28px 64px; border-top: 1px solid var(--border); }
.problemas__lista li:last-child { border-bottom: 1px solid var(--border); }
.problemas__lista li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 32px; font: 500 14px var(--mono); color: var(--accent-text); }
.problemas__lista h3 { font-size: 23px; letter-spacing: -0.02em; line-height: 1.25; font-weight: 600; }
.problemas__lista p { margin-top: 8px; color: var(--muted); max-width: 52ch; }

/* Teclado */
.teclado__cab { max-width: 780px; }
.teclas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 56px; }
.tecla-g {
  width: 84px; height: 78px; padding: 10px; display: flex; align-items: flex-end; justify-content: flex-start;
  font: 600 18px var(--mono); color: var(--oscuro-fg);
  background: var(--oscuro-2); border: 1px solid var(--oscuro-linea); border-bottom-width: 5px; border-radius: 10px;
  cursor: pointer; transition: transform .08s ease, border-bottom-width .08s ease, background-color .15s;
}
.tecla-g:hover { background: #33302c; }
.tecla-g[aria-pressed='true'] { background: var(--oscuro-fg); color: var(--oscuro); border-color: var(--oscuro-fg); border-bottom-color: #A8A29E; transform: translateY(3px); border-bottom-width: 2px; }
.tecla-g--naranja { background: #F97316; color: #1C1917; border-color: #F97316; border-bottom-color: #C2410C; }
.tecla-g--naranja:hover { background: #FB923C; }
.tecla-g--naranja[aria-pressed='true'] { background: #FDBA74; border-color: #FDBA74; border-bottom-color: #C2410C; color: #1C1917; }
.tecla-g--ancha { width: 150px; }
.teclas__texto { margin-top: 28px; font-size: 20px; max-width: 62ch; min-height: 3.2em; color: var(--oscuro-suave); }
.teclas__texto b { color: var(--oscuro-fg); font-weight: 600; }
.teclado__extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--oscuro-linea); }
.teclado__extras > div { padding: 30px 28px 0 0; }
.teclado__extras > div + div { padding-left: 28px; border-left: 1px solid var(--oscuro-linea); }
.teclado__extras h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.teclado__extras p { margin-top: 8px; color: var(--oscuro-suave); font-size: 16px; }

/* ---------- Recorrido por los módulos ---------- */
.modulos__cab { max-width: 820px; margin-bottom: 56px; }
/* En la PC la escena queda fija mientras se baja: cada tramo de scroll abre el módulo siguiente.
   El alto de .recorrido es el "camino" que se recorre (JS pone --pasos). */
.recorrido { --tramo: 42vh; position: relative; height: calc(100vh - var(--alto-barra) + (var(--pasos, 10) - 1) * var(--tramo)); }
.recorrido__escena {
  position: sticky; top: var(--alto-barra); height: calc(100vh - var(--alto-barra));
  display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: center;
}
.recorrido__lista { display: grid; gap: 6px; }
.paso { position: relative; border: 1px solid transparent; border-radius: 12px; transition: background-color .2s, border-color .2s; overflow: hidden; }
.paso.activo { background: var(--surface); border-color: var(--border); box-shadow: var(--sombra); }
.paso__boton {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 9px 16px;
  background: none; border: 0; text-align: left; cursor: pointer; border-radius: 12px;
}
.paso__icono {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 8px;
  background: var(--surface-2); color: var(--muted); transition: background-color .2s, color .2s;
}
.paso__icono svg { width: 18px; height: 18px; }
.paso.activo .paso__icono { background: var(--accent-soft); color: var(--accent-soft-fg); }
.paso__texto { display: grid; padding-top: 5px; min-width: 0; }
.paso__texto b { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--muted); transition: color .2s; }
.paso__boton:hover b, .paso.activo b { color: var(--fg); }
.paso__texto > span {
  display: block; font-size: 15px; line-height: 1.5; color: var(--muted);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .25s ease, margin .35s ease;
}
.paso.activo .paso__texto > span { max-height: 7em; opacity: 1; margin-top: 4px; margin-bottom: 4px; }
.paso__barra { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.paso.activo .paso__barra { width: var(--avance, 0%); }
.recorrido__puntos { display: none; }
.recorrido__nota { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: right; }
.recorrido__contador { display: none; }

/* Pantallas de poco alto: todo un poco más compacto para que entre la escena */
@media (min-width: 981px) and (max-height: 820px) {
  .paso__boton { padding: 6px 14px; }
  .paso__icono { width: 30px; height: 30px; }
  .paso__texto { padding-top: 3px; }
  .paso__texto > span { font-size: 14px; }
  .app { min-height: 440px; }
  .v-pos { min-height: 395px; }
}
@media (min-width: 981px) and (max-height: 680px) {
  .paso:not(.activo) .paso__icono { display: none; }
  .app { min-height: 400px; }
  .v-pos { min-height: 355px; }
}

/* Ventana con el sistema */
.ventana {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--sombra-grande); overflow: hidden;
}
.ventana__barra { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.ventana__url { font: 12px var(--mono); color: var(--muted); }
.app { display: grid; grid-template-columns: 56px minmax(0, 1fr); min-height: 500px; }
.app__menu { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; border-right: 1px solid var(--border); }
.app__logo { width: 28px; height: 28px; margin-bottom: 10px; }
.app__menu i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: var(--muted); transition: background-color .2s, color .2s; }
.app__menu i svg { width: 18px; height: 18px; }
.app__menu i.act { background: var(--accent-soft); color: var(--accent-soft-fg); }
.app__vistas { min-width: 0; }

/* Cada vista imita una pantalla de Fugaz (specs.md) */
.vista { container-type: inline-size; font-size: 13px; line-height: 1.45; color: var(--fg); }
.vista[hidden] { display: none; }
.ventana .vista:not([hidden]) { animation: aparece .35s ease-out; }
@keyframes aparece { from { opacity: 0; transform: translateY(6px); } }
.vista__barra { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.vista__barra > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.vista__barra b { color: var(--fg); font-weight: 600; }
.vista__estado { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 20px; background: var(--surface-2); }
.vista__estado i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.v-cuerpo { padding: 18px; display: grid; gap: 14px; }
.v-titulo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.v-titulo b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.v-titulo small { color: var(--muted); font-size: 12px; }
.v-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; font-weight: 600; font-size: 12.5px; white-space: nowrap; flex: none; }
.v-btn--n { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.v-pildoras { display: flex; flex-wrap: wrap; gap: 6px; }
.v-pildoras span { padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); font-size: 12px; color: var(--muted); white-space: nowrap; }
.v-pildoras .act { background: var(--accent-soft); border-color: transparent; color: var(--accent-soft-fg); font-weight: 600; }
.v-pildoras .aviso-p { color: var(--warning); }
.v-tabla { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; border-style: hidden; box-shadow: 0 0 0 1px var(--border); }
.v-tabla th { text-align: left; font-size: 12px; font-weight: 600; padding: 8px 12px; border-bottom: 2px solid color-mix(in srgb, var(--fg) 70%, transparent); background: var(--surface); }
.v-tabla td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.v-tabla tr:last-child td { border-bottom: 0; }
.v-tabla small { display: block; color: var(--muted); font-size: 11.5px; }
.v-tabla td.mono, .v-tabla .mono { font-size: 12px; color: var(--muted); }
.v-tabla tr.marcado td { background: var(--surface-2); }
.v-tabla tr.marcado td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.der { text-align: right !important; font-variant-numeric: tabular-nums; }
.b { font-weight: 600; }
.v-rojo { color: var(--danger); }
.v-verde { color: var(--success) !important; }
.v-ambar { color: var(--warning); font-weight: 600; }
.v-gris { color: var(--muted); font-size: 12px; }
.v-oferta { color: var(--accent-text) !important; font-weight: 600; }
.v-et { display: inline-block; font: 600 11px var(--mono); padding: 2px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-soft-fg); }
.v-tabla td[data-medio] { white-space: nowrap; }

.v-pos { display: grid; grid-template-columns: minmax(0, 1fr) 200px; min-height: 455px; }
.v-pos__venta { padding: 16px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--border); min-width: 0; }
.v-fila-buscar { display: flex; gap: 8px; }
.v-campo { flex: 1; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border: 1px solid var(--accent-text); border-radius: 6px; color: var(--muted); box-shadow: 0 0 0 3px var(--accent-soft); white-space: nowrap; overflow: hidden; min-width: 0; }
.v-campo svg { width: 16px; height: 16px; flex: none; }
.v-campo .tecla { margin-left: auto; }
.v-boton-ofertas { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; font-weight: 600; white-space: nowrap; }
.v-boton-ofertas i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font: 600 11px var(--fuente); }
.v-pestanas { display: flex; gap: 6px; margin-top: auto; overflow: hidden; }
.v-pestanas span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; white-space: nowrap; color: var(--muted); }
.v-pestanas span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, transparent); }
.v-pestanas .act { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--surface)); color: var(--fg); font-weight: 600; }
.v-pestanas .mas::before { display: none; }
.v-pos__total { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.v-linea { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.v-pos__total .v-gris { margin-bottom: auto; }
.v-total { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.v-cobrar { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 14px; border-radius: 8px; background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 15px; }

.v-movs { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.v-movs li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.v-movs li:last-child { border-bottom: 0; }
.v-movs li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-tipo { justify-self: start; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: var(--surface-2); color: var(--muted); }
.v-tipo--c { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.v-tipo--t { background: color-mix(in srgb, var(--info) 14%, transparent); color: var(--info); }
.v-tipo--a { background: color-mix(in srgb, var(--warning) 16%, transparent); color: var(--warning); }
.v-nota { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface-2); border-radius: 8px; font-size: 12.5px; color: var(--muted); }
.v-nota b { margin-left: auto; }

.v-ofertas { display: grid; gap: 8px; }
.v-ofertas li { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.v-ofertas small { display: block; color: var(--muted); font-size: 11.5px; }
.v-chapa { justify-self: start; font: 700 14px/1 var(--fuente); padding: 8px 10px; border-radius: 6px; background: var(--accent); color: var(--accent-fg); white-space: nowrap; }
.v-estado { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.v-estado.ok { color: var(--success); }

.v-apilada { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.v-apilada i { width: var(--p); background: var(--medio); }
.v-medios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v-medios li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; border-left: 3px solid var(--medio); }
.v-medios b { margin-left: auto; font-variant-numeric: tabular-nums; }

.v-persona { display: flex; align-items: center; gap: 10px; }
.v-iniciales { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-soft-fg); font-weight: 700; font-size: 13px; flex: none; }
.v-saldo { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; color: var(--muted); }
.v-saldo b { font-size: 22px; color: var(--danger); letter-spacing: -0.02em; }
.v-totales { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); }
.v-totales b { color: var(--fg); font-size: 15px; }

.v-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-cifras > div { padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; display: grid; gap: 2px; }
.v-cifras small { color: var(--muted); font-size: 12px; }
.v-cifras b { font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.v-cifras span { font-size: 11.5px; color: var(--muted); }
.v-inicio { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.barras { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.barras i { flex: 1; height: var(--h); background: var(--surface-2); border-radius: 3px 3px 0 0; box-shadow: inset 0 0 0 1px var(--border); }
.barras i.hoy { background: var(--accent); box-shadow: none; }
.v-hacer { display: grid; align-content: start; gap: 0; border: 1px solid var(--border); border-radius: 8px; }
.v-hacer li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.v-hacer li:last-child { border-bottom: 0; }

.v-roles { display: grid; gap: 8px; }
.v-roles li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2px 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; }
.v-roles li > span:first-of-type { color: var(--muted); font-size: 12px; }
.v-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.v-chips i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 20px; background: var(--surface-2); color: var(--muted); }

/* Vistas angostas (tarjetas del teléfono o ventana chica) */
@container (max-width: 560px) {
  .ocultable { display: none !important; }
  .v-pos { grid-template-columns: 1fr; min-height: 0; }
  .v-pos__venta { border-right: 0; border-bottom: 1px solid var(--border); }
  .v-pos__total { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; }
  .v-pos__total .v-gris, .v-pos__total .v-linea { display: none; }
  .v-total { margin: 0; font-size: 26px; }
  .v-pestanas { display: none; }
  .v-movs li { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .v-ofertas li { grid-template-columns: auto minmax(0, 1fr); }
  .v-ofertas .v-estado { display: none; }
  .v-cifras { grid-template-columns: 1fr 1fr; }
  .v-inicio { grid-template-columns: 1fr; }
  .barras { height: 110px; }
  .v-medios { grid-template-columns: 1fr; }
  .v-roles li { grid-template-columns: 1fr; }
  .v-titulo { flex-wrap: wrap; }
}

/* ---------- Sin internet ---------- */
.sin-internet { background: var(--surface); border-block: 1px solid var(--border); }
.sin-internet__grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.red { margin: 0; display: grid; }
.red__nube { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 0 24px; position: relative; }
.red__corte { font: 12px var(--mono); color: var(--muted); margin-left: auto; }
.red__nube::after { content: ''; position: absolute; left: 50%; bottom: 0; height: 24px; border-left: 2px dashed var(--border); }
.red__local { border: 2px solid var(--fg); border-radius: 14px; padding: 22px; display: grid; gap: 18px; position: relative; }
.red__titulo { position: absolute; top: -11px; left: 18px; background: var(--surface); padding: 0 8px; font-size: 13px; font-weight: 600; }
.red__servidor { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--accent-soft); color: var(--accent-soft-fg); border-radius: 10px; }
.red__servidor svg { flex: none; }
.red__servidor b { display: block; color: var(--fg); }
.red__servidor small { font-size: 13px; }
.red__equipos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.red__nodo { display: block; text-align: center; padding: 12px 8px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 500; background: var(--bg); }
.red__nodo--afuera { border-style: dashed; color: var(--muted); padding-inline: 16px; }
.red figcaption { margin-top: 14px; font-size: 13px; color: var(--success); }
.red figcaption::before { content: '● '; }

.tildes { margin-top: 22px; display: grid; gap: 10px; }
.tildes li { position: relative; padding-left: 28px; font-size: 16px; }
.tildes li::before {
  content: ''; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg);
}

/* ---------- Pasos ---------- */
.empezar .titulo-l { max-width: 18ch; }
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.pasos li { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.pasos__n { display: block; font-size: 15px; color: var(--accent-text); font-weight: 600; margin-bottom: 52px; }
.pasos h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.pasos p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ---------- Precios ---------- */
.precios { background: var(--surface); border-block: 1px solid var(--border); }
.precios__cab { max-width: 760px; }
.planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; max-width: 980px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; }
.plan--destacado { background: var(--oscuro); color: var(--oscuro-fg); border-color: var(--oscuro); box-shadow: inset 0 4px 0 var(--accent); }
.plan__marca { position: absolute; top: 34px; right: 34px; font: 500 12px var(--mono); color: var(--accent); }
.plan__nombre { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.plan__para { margin-top: 4px; color: var(--muted); font-size: 15px; }
.plan--destacado .plan__para { color: var(--oscuro-suave); }
.plan__precio { display: flex; align-items: baseline; margin-top: 26px; font-size: 54px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__signo { font-size: 28px; margin-right: 4px; letter-spacing: 0; }
.plan__mes { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan__precio--texto { font-size: 44px; }
.plan__boton { margin-top: 26px; }
.plan--destacado .boton--borde { color: var(--oscuro-fg); border-color: var(--oscuro-linea); }
.plan .tildes { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); }
.plan--destacado .tildes { border-top-color: var(--oscuro-linea); }
.plan--destacado .tildes li::before { border-color: var(--accent); }
.precios__nota { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Preguntas ---------- */
.preguntas__grilla { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
.preguntas__lista details { border-top: 1px solid var(--border); }
.preguntas__lista details:last-child { border-bottom: 1px solid var(--border); }
.preguntas__lista summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; list-style: none;
}
.preguntas__lista summary::-webkit-details-marker { display: none; }
.preguntas__lista summary::after { content: '+'; font: 400 26px/1 var(--mono); color: var(--accent-text); transition: transform .2s; flex: none; }
.preguntas__lista details[open] summary::after { transform: rotate(45deg); }
.preguntas__lista details p { padding: 0 40px 24px 0; color: var(--muted); }

/* ---------- Contacto ---------- */
.contacto { background: #F97316; color: #1C1917; padding: 110px 0; }
.contacto__grilla { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.contacto__bajada { margin-top: 22px; font-size: 19px; max-width: 44ch; }
.contacto__acciones { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contacto .boton--oscuro { min-height: 56px; padding: 0 28px; font-size: 17px; }
.contacto__mail { font: 500 17px var(--mono); text-underline-offset: 4px; overflow-wrap: anywhere; }

/* ---------- Pie ---------- */
.pie { padding: 56px 0 40px; background: var(--oscuro); color: var(--oscuro-suave); font-size: 15px; }
.pie .marca { color: var(--oscuro-fg); }
.pie__grilla { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; }
.pie__grilla p { margin-top: 12px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-self: center; }
.pie nav a { text-decoration: none; padding: 4px 0; }
.pie nav a:hover { color: var(--oscuro-fg); }
.pie__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--oscuro-linea); font-size: 13px; }

/* ---------- Entrada al hacer scroll ---------- */
.revela { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.revela.visto { opacity: 1; transform: none; }

/* =========================================================
   Tablet grande (hasta 1100 px)
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .portada__grilla { gap: 40px; }
  .titulo-xl { font-size: clamp(40px, 6vw, 72px); }
  .recorrido { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
  .aviso--arca { left: -12px; }
  .ticket { right: -6px; }
}

/* =========================================================
   Tablet (hasta 980 px): menú con botón y portada en una columna
   ========================================================= */
@media (max-width: 980px) {
  .nav, .barra__dentro > .boton { display: none; }
  .menu-boton {
    display: grid; align-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; padding: 0 11px; background: none; border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
  }
  .menu-boton span { height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s; }
  .menu-boton[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-boton[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-movil:not([hidden]) {
    display: grid; gap: 0; padding: 8px var(--margen) 20px; background: var(--bg);
    max-height: calc(100dvh - var(--alto-barra)); overflow-y: auto;
  }
  .menu-movil a:not(.boton) { padding: 14px 0; text-decoration: none; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--border); }
  .menu-movil .boton { margin-top: 16px; }

  .portada { padding-top: 40px; }
  .portada__grilla { grid-template-columns: 1fr; gap: 48px; }
  .portada__texto { max-width: 680px; }
  .maqueta { max-width: 640px; width: 100%; margin-inline: auto; }
  .problemas__grilla { grid-template-columns: 1fr; gap: 40px; }
  .problemas__grilla > div:first-child { position: static; }
  .sin-internet__grilla { grid-template-columns: 1fr; gap: 48px; }
  .preguntas__grilla { grid-template-columns: 1fr; gap: 32px; }
  .contacto__grilla { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .teclado__extras { grid-template-columns: 1fr 1fr; }
  .teclado__extras > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--oscuro-linea); margin-top: 30px; }
  .pasos li { padding: 24px; }
  .pasos__n { margin-bottom: 28px; }

  /* Recorrido: tarjetas que se deslizan, cada una con su pantalla (como en el teléfono) */
  .recorrido { display: block; height: auto; }
  .recorrido__escena { position: static; height: auto; display: block; }
  .ventana { display: none; }
  .recorrido__lista {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margen);
    margin-inline: calc(-1 * var(--margen)); padding: 4px var(--margen) 8px; scrollbar-width: none;
  }
  .recorrido__lista::-webkit-scrollbar { display: none; }
  .paso { flex: 0 0 min(560px, 86%); scroll-snap-align: start; background: var(--surface); border-color: var(--border); display: flex; flex-direction: column; }
  .paso.activo { box-shadow: none; }
  .paso__boton { cursor: default; padding: 18px 18px 14px; }
  .paso__icono { background: var(--accent-soft); color: var(--accent-soft-fg); }
  .paso__texto b { color: var(--fg); font-size: 17px; }
  .paso__texto > span { max-height: none; opacity: 1; margin-top: 4px; }
  .paso__barra { display: none; }
  .paso .vista { margin: 0 12px 12px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg); margin-top: auto; }
  .paso .vista[hidden] { display: block; }
  .paso .vista__barra { height: 38px; padding: 0 12px; font-size: 12px; }
  .recorrido__puntos { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .recorrido__puntos button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--border); cursor: pointer; transition: width .2s, background-color .2s; position: relative; }
  .recorrido__puntos button::after { content: ''; position: absolute; inset: -8px; }
  .recorrido__puntos button[aria-current='true'] { width: 24px; background: var(--accent); }
  .recorrido__nota { text-align: center; }
}

/* =========================================================
   Teléfono (hasta 760 px)
   ========================================================= */
@media (max-width: 760px) {
  :root { --alto-barra: 60px; }
  body { font-size: 16px; }
  .seccion { padding: 80px 0; }
  .bajada { font-size: 17px; }
  .marca { font-size: 19px; }
  .marca__icono { width: 28px; height: 28px; }

  .portada { padding-top: 28px; }
  .portada__bajada { font-size: 17px; margin-top: 20px; }
  .portada__acciones { margin-top: 28px; }
  .portada__acciones .boton { flex: 1 1 100%; }
  .portada__datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; font-size: 13px; line-height: 1.35; }
  .portada__datos strong { display: block; font-size: 15px; }

  /* Maqueta: más simple, sin ticket */
  .maqueta { padding: 0 0 36px; }
  .pos { font-size: 12.5px; }
  .pos__pestanas { padding: 8px 10px 0; }
  .pos__pestana { padding: 6px 10px; }
  .pos__cuerpo { grid-template-columns: 1fr; }
  .pos__izq { border-right: 0; min-height: 0; padding: 12px; }
  .pos__der { border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px; gap: 4px 12px; }
  .pos__der .pos__rotulo, .pos__der .pos__cobrar:not(.pos__cobrar--e) { display: none; }
  .pos__ahorro { grid-row: 2; margin: 0; }
  .pos__total { font-size: 24px; grid-row: 1; }
  .pos__cobrar--e { grid-row: 1 / 3; grid-column: 2; padding: 12px 14px; }
  .pos__renglones li { grid-template-columns: 24px minmax(0, 1fr) 18px 62px; gap: 8px; }
  .pos__renglones img { width: 24px; height: 24px; }
  .tecla { display: none; }
  .pos__pestana--mas { display: none; }
  .ticket { display: none; }
  .aviso--arca { left: 10px; right: auto; bottom: 0; }
  .aviso--pago { display: none; }
  .rubros { margin-top: 48px; }
  .rubros__pista span { padding: 14px 20px; font-size: 15px; }
  .rubros__pista span::after { margin-left: 40px; }

  .problemas__lista li { padding: 24px 0 24px 44px; }
  .problemas__lista li::before { top: 28px; }
  .problemas__lista h3 { font-size: 20px; }

  /* En el teléfono no se muestran teclas */
  .teclas, .teclas__texto { display: none; }
  .teclado__extras { grid-template-columns: 1fr; margin-top: 40px; }
  .teclado__extras > div, .teclado__extras > div + div, .teclado__extras > div:nth-child(3) { padding: 24px 0; border-left: 0; border-top: 0; margin-top: 0; border-bottom: 1px solid var(--oscuro-linea); }

  .modulos__cab { margin-bottom: 36px; }
  .paso { flex-basis: 88%; }
  .paso__boton { padding: 16px 16px 12px; gap: 12px; }
  .paso__texto b { font-size: 16px; }
  .paso__texto > span { font-size: 14.5px; }
  .paso .vista { margin: 0 10px 10px; }

  .red__nube { gap: 8px; }
  .red__corte { width: 100%; margin: 0; order: -1; }
  .red__nube::after { left: 40px; }
  .red__local { padding: 18px 14px 14px; }
  .red__equipos { grid-template-columns: 1fr 1fr; gap: 8px; }

  .pasos { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .pasos__n { margin-bottom: 14px; }
  .pasos h3 { font-size: 20px; }

  .planes { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .plan { padding: 26px 22px; }
  .plan__marca { top: 26px; right: 22px; }
  .plan__precio { font-size: 46px; }
  .plan__precio--texto { font-size: 38px; }
  .plan__boton { width: 100%; }

  .preguntas__lista summary { font-size: 17px; padding: 18px 0; }
  .preguntas__lista details p { padding-right: 0; }

  .contacto { padding: 72px 0; }
  .contacto__bajada { font-size: 17px; }
  .contacto__acciones { align-items: stretch; }
  .contacto .boton--oscuro { width: 100%; }
  .contacto__mail { text-align: center; }
  .pie__grilla { grid-template-columns: 1fr; }
}

/* Teléfono chico */
@media (max-width: 400px) {
  :root { --margen: 16px; }
  .titulo-xl { font-size: 36px; }
  .titulo-l { font-size: 28px; }
  .portada__datos { grid-template-columns: 1fr 1fr; }
  .pos__url { display: none; }
  .plan__precio { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela { opacity: 1; transform: none; }
  .maqueta .aviso, .maqueta .ticket { opacity: 1; translate: 0 0; }
}
.v-tabla td.der, .v-tabla th.der { white-space: nowrap; }
@container (max-width: 400px) {
  .v-tabla th, .v-tabla td { padding-inline: 8px; }
  .v-fila-buscar .v-boton-ofertas { padding: 0 8px; }
}
