/* tranqui. — hoja de estilos del sitio público */

@font-face { font-family: 'George Rounded'; src: url('/fuentes/GeorgeRoundedLight.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'George Rounded'; src: url('/fuentes/GeorgeRoundedRegular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'George Rounded'; src: url('/fuentes/GeorgeRoundedSemibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'George Rounded'; src: url('/fuentes/GeorgeRoundedBold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
/* George Rounded trae el "¿" espejado: estas mini-fuentes lo reemplazan solo para ese carácter (U+00BF) */
@font-face { font-family: 'George Rounded'; src: url('/fuentes/george-rounded-questiondown-300.otf') format('opentype'); font-weight: 300; font-display: swap; unicode-range: U+00BF; }
@font-face { font-family: 'George Rounded'; src: url('/fuentes/george-rounded-questiondown-400.otf') format('opentype'); font-weight: 400; font-display: swap; unicode-range: U+00BF; }
@font-face { font-family: 'George Rounded'; src: url('/fuentes/george-rounded-questiondown-600.otf') format('opentype'); font-weight: 600; font-display: swap; unicode-range: U+00BF; }
@font-face { font-family: 'George Rounded'; src: url('/fuentes/george-rounded-questiondown-700.otf') format('opentype'); font-weight: 700; font-display: swap; unicode-range: U+00BF; }

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-soft: #111112;
  --bg-sunk: #1a1a1c;
  --ink: #f4f4f5;
  --ink-2: #b9bcc2;
  --ink-3: #8d9199;
  --line: #222225;
  --line-2: #34353a;
  --brand: #f08539;
  --brand-ink: #f08539;
  --wa: #0f7f43;
  --wa-hover: #0b6a37;
  --wa-bright: #25d366;
  --night: #050505;
  --night-2: #1a1a1c;
  --night-line: #2c2d32;
  --night-ink-2: #a1a6ae;

  --font: 'George Rounded', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, Menlo, monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-1: 0 1px 2px rgba(11, 11, 12, .06), 0 2px 6px rgba(11, 11, 12, .04);
  --shadow-2: 0 2px 4px rgba(11, 11, 12, .04), 0 12px 32px -8px rgba(11, 11, 12, .14);
  --shadow-3: 0 4px 8px rgba(11, 11, 12, .05), 0 28px 60px -16px rgba(11, 11, 12, .24);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: #f08539; color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) transparent; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Tipografía ---------- */
.display {
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-3); }
.dot { color: var(--brand); }

.wordmark { display: inline-flex; align-items: center; line-height: 1; color: var(--ink); }
.wordmark img { height: 34px; width: auto; }
.site-footer .wordmark img { height: 38px; }
.wordmark .dot { letter-spacing: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 1px 2px rgba(15, 127, 67, .3), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: #d4d5d8; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .22em; text-decoration-thickness: 1.5px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-header .wordmark { margin-right: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 600; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .close { display: none; }
.menu-btn[aria-expanded="true"] .open { display: none; }
.menu-btn[aria-expanded="true"] .close { display: block; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav, .site-header .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav {
    display: block; position: fixed; inset: 68px 0 auto 0; z-index: 49;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    box-shadow: var(--shadow-2);
    transform-origin: top; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .mobile-nav[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; }
  .mobile-nav a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.08rem; }
  .mobile-nav .btn { width: 100%; margin-top: 20px; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { max-width: 62ch; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .lead { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--ink-3); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--wa); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Composición de producto (hero) ---------- */
/* Las pantallas de producto son claras, como capturas reales sobre el fondo negro */
.panel, .screen {
  color-scheme: light;
  --bg-soft: #f5f6f8; --bg-sunk: #eef0f3;
  --ink: #0b0b0c; --ink-2: #3c3f45; --ink-3: #5e636b;
  --line: #e6e8ec; --line-2: #d6d9df;
  --brand: #e8641b; --brand-ink: #b8480c;
  color: var(--ink);
}
.stage { position: relative; min-height: 590px; }
.stage-caption { position: absolute; right: 4px; bottom: -8px; font-size: .78rem; color: var(--ink-3); }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden;
}
.panel-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); background: #fcfcfd; }
.panel-bar .dots { display: flex; gap: 6px; }
.panel-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-bar .grow { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; line-height: 1.4; background: var(--bg-sunk); color: var(--ink-2); white-space: nowrap; }
.pill-ok { background: #e3f5ea; color: #0b6a37; }
.pill-warn { background: #fff0e6; color: #a93a0b; }
.pill-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.stock { position: absolute; left: 0; top: 0; width: 82%; }
.stock table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.stock th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: .74rem; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.stock td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.stock td:first-child { font-family: var(--mono); font-size: .8rem; color: var(--ink); white-space: nowrap; }
.stock tr:last-child td { border-bottom: 0; }
.stock tr.hit td { background: #fff6f1; transition: background-color .6s var(--ease); }
.stock .num { text-align: right; }
.stock-search { display: flex; align-items: center; gap: 8px; margin: 12px 16px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .86rem; color: var(--ink-3); }
.stock-search svg { width: 15px; height: 15px; }
.stock-search b { color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: .82rem; }

.chat { position: absolute; right: 0; top: 130px; width: 340px; max-width: 64%; border-radius: 22px; z-index: 2; }
.chat .panel-bar { background: #0b6a37; color: #fff; border-bottom: 0; padding: 12px 14px; }
.chat .avatar { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem; letter-spacing: -.04em; }
.chat .who { display: grid; line-height: 1.2; }
.chat .who small { font-weight: 400; opacity: .8; font-size: .72rem; }
.chat-body { display: grid; gap: 8px; padding: 14px 12px 16px; background: #efeae2; min-height: 290px; align-content: start; }
.msg { max-width: 84%; padding: 8px 11px 6px; border-radius: 12px; font-size: .86rem; line-height: 1.4; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg time { display: block; text-align: right; font-size: .66rem; color: #4f6b55; margin-top: 2px; font-variant-numeric: tabular-nums; }
.msg.out { justify-self: end; background: #d9fdd3; }
.msg.sys { justify-self: center; background: #fff; color: var(--ink-2); font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.msg.sys svg { width: 13px; height: 13px; color: var(--wa); }

.invoice { position: absolute; left: 0; bottom: 34px; width: 232px; z-index: 1; padding: 16px 18px; border-radius: 16px; }
.invoice .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.invoice .letter { width: 30px; height: 30px; border: 1.5px solid var(--ink); border-radius: 6px; display: grid; place-items: center; font-weight: 700; }
.invoice dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .78rem; }
.invoice dt { color: var(--ink-3); }
.invoice dd { text-align: right; font-family: var(--mono); font-size: .76rem; color: var(--ink); }
.invoice .total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Coreografía del hero: visible por defecto, se anima solo si hay JS y movimiento permitido */
.js-motion .stage [data-step] { opacity: 0; transform: translateY(10px) scale(.98); }
.js-motion .stage [data-step].in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .7s var(--ease); }

@media (max-width: 960px) {
  .stage { min-height: 0; display: grid; gap: 16px; margin-top: 8px; }
  .stock, .chat, .invoice { position: relative; inset: auto; width: 100%; max-width: none; }
  .chat { max-width: 380px; justify-self: end; margin-top: -72px; width: 88%; }
  .invoice { display: none; }
  .stage-caption { position: static; text-align: right; }
}

/* ---------- Clientes ---------- */
.clients { border-block: 1px solid var(--line); padding-block: 28px; }
.clients .wrap { display: flex; align-items: center; gap: 20px 48px; flex-wrap: wrap; }
.clients p { font-size: .92rem; color: var(--ink-3); max-width: 26ch; line-height: 1.4; }
.clients ul { display: flex; flex-wrap: wrap; gap: 12px 36px; flex: 1; }
.clients li { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; color: #7d8189; white-space: nowrap; }

/* ---------- Servicios (lista) ---------- */
.services { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.services .section-head { position: sticky; top: 108px; margin: 0; }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 18px; align-items: start;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.svc:hover { background: linear-gradient(90deg, var(--bg-soft), rgba(17, 17, 18, 0)); }
.svc-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.svc p { grid-column: 2; color: var(--ink-3); font-size: 1rem; line-height: 1.55; max-width: 52ch; }
.svc .go { grid-row: 1 / span 2; grid-column: 3; align-self: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.svc .go svg { width: 16px; height: 16px; }
.svc:hover .go { background: var(--brand); border-color: var(--brand); color: #0a0a0a; transform: translateX(2px); }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .services .section-head { position: static; }
  .svc { grid-template-columns: 40px 1fr; }
  .svc .go { display: none; }
}

/* ---------- Showcase (pestañas) ---------- */
.showcase { background: var(--bg-soft); color: #fff; border-block: 1px solid var(--line); }
.showcase .h2 { color: #fff; }
.showcase .lead { color: var(--night-ink-2); }
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--night-line); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; color: var(--night-ink-2); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap; transition: color .2s, background-color .25s var(--ease); }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #f4f4f5; color: #0a0a0a; }
.tab:focus-visible { outline-offset: 1px; }
.tabpanel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel .copy { display: grid; gap: 18px; }
.tabpanel .copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; font-weight: 700; }
.tabpanel .copy p { color: var(--night-ink-2); }
.checks { display: grid; gap: 10px; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: #d9dce1; font-size: .98rem; line-height: 1.5; }
.checks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.tabpanel .copy .link-arrow { color: #fff; }
.js-motion .tabpanel.enter .screen { animation: screen-in .6s var(--ease) both; }
.js-motion .tabpanel.enter .copy { animation: copy-in .5s var(--ease) both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); } }
@keyframes copy-in { from { opacity: 0; transform: translateX(-10px); } }
@media (max-width: 900px) { .tabpanel { grid-template-columns: 1fr; } }

/* Pantallas de producto (dibujadas en HTML) */
.screen { background: #fff; color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); font-size: .86rem; }
.screen .panel-bar { background: #fafafa; }
.scr-grid { display: grid; grid-template-columns: 200px 1fr; min-height: 340px; }
.scr-side { border-right: 1px solid var(--line); background: #fcfcfd; padding: 10px; display: grid; gap: 4px; align-content: start; }
.scr-side .row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; }
.scr-side .row.on { background: var(--bg-sunk); }
.scr-side .row b { font-weight: 600; font-size: .82rem; display: block; line-height: 1.2; }
.scr-side .row small { color: var(--ink-3); font-size: .72rem; display: block; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .72rem; color: #fff; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--wa-bright); color: #062e17; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.scr-main { padding: 14px; display: grid; gap: 10px; align-content: start; background: #f6f5f2; }
.scr-main .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.scr-main .msg { max-width: 78%; }
.scr-compose { display: flex; gap: 8px; align-items: center; margin-top: 4px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-3); font-size: .8rem; }
.scr-compose .grow { flex: 1; }
.scr-compose .send { width: 26px; height: 26px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; color: #fff; }
.scr-compose svg { width: 13px; height: 13px; }

.pos { display: grid; grid-template-columns: 1fr 230px; min-height: 340px; }
.pos-items { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.pos-items .it { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.pos-items .it b { font-size: .8rem; font-weight: 600; line-height: 1.25; }
.pos-items .it small { font-size: .72rem; color: var(--ink-3); }
.pos-items .it span { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .84rem; margin-top: 4px; }
.pos-items .it.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pos-items .search { grid-column: 1 / -1; }
.pos-cart { border-left: 1px solid var(--line); background: #fcfcfd; padding: 14px; display: grid; gap: 8px; align-content: start; }
.pos-cart .line { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; font-variant-numeric: tabular-nums; }
.pos-cart .line small { display: block; color: var(--ink-3); font-size: .7rem; }
.pos-cart .sum { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.pos-cart .pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pos-cart .pay span { border: 1px solid var(--line-2); border-radius: 8px; text-align: center; padding: 6px; font-size: .74rem; font-weight: 600; }
.pos-cart .pay span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pos-cart .cta { background: var(--ink); color: #fff; border-radius: 10px; text-align: center; padding: 10px; font-weight: 600; font-size: .84rem; }

.kitchen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: #f6f5f2; min-height: 340px; align-content: start; }
.ticket { background: #fff; border-radius: 10px; border: 1px solid var(--line); padding: 12px; display: grid; gap: 6px; align-content: start; font-size: .8rem; }
.ticket .th { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.ticket .th small { font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ticket ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.ticket li { display: flex; gap: 6px; }
.ticket li b { font-variant-numeric: tabular-nums; min-width: 18px; }
.ticket .note { font-size: .72rem; color: var(--brand-ink); font-weight: 600; }
.ticket.new { border-color: var(--brand); box-shadow: 0 0 0 3px #ffe4d8; }
.ticket.done { opacity: .6; }

.inv { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.inv-form { padding: 16px; display: grid; gap: 10px; align-content: start; }
.field { display: grid; gap: 4px; }
.field label { font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.field div { border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; font-size: .8rem; display: flex; justify-content: space-between; gap: 8px; }
.field .mono { font-family: var(--mono); font-size: .76rem; }
.inv-doc { background: #f6f5f2; padding: 16px; display: grid; place-items: center; }
.doc { background: #fff; width: 100%; max-width: 250px; border-radius: 6px; box-shadow: var(--shadow-2); padding: 16px; display: grid; gap: 8px; font-size: .74rem; }
.doc .hd { display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.doc .hd b { font-size: .86rem; letter-spacing: -0.03em; }
.doc .letter { width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 5px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.doc .rows { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.doc .rows div { display: flex; justify-content: space-between; }
.doc .cae { border-top: 1px dashed var(--line-2); padding-top: 8px; display: grid; grid-template-columns: 40px 1fr; gap: 8px; align-items: center; }
.doc .qr { width: 40px; height: 40px; background:
  conic-gradient(from 90deg at 30% 30%, var(--ink) 25%, transparent 0) 0 0 / 10px 10px,
  linear-gradient(var(--ink) 0 0) 0 0 / 14px 14px no-repeat,
  linear-gradient(var(--ink) 0 0) 100% 0 / 14px 14px no-repeat,
  linear-gradient(var(--ink) 0 0) 0 100% / 14px 14px no-repeat; border-radius: 2px; }
.doc .cae span { font-family: var(--mono); font-size: .68rem; color: var(--ink-2); line-height: 1.4; }

.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: #fff; min-height: 340px; align-content: start; }
.catalog .filters { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.prod { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; }
.prod .ph { aspect-ratio: 4 / 3; background: var(--bg-sunk); display: grid; place-items: center; color: #9aa0a8; }
.prod .ph svg { width: 42%; height: auto; }
.prod .pb { padding: 8px 10px 10px; display: grid; gap: 2px; }
.prod .pb b { font-size: .8rem; font-weight: 600; line-height: 1.25; }
.prod .pb small { color: var(--ink-3); font-size: .7rem; }
.prod .pb .price { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .82rem; }
.prod .wa-mini { width: 22px; height: 22px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; }
.prod .wa-mini svg { width: 12px; height: 12px; }

.status { padding: 16px; display: grid; gap: 12px; min-height: 340px; align-content: start; background: #fff; }
.status .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.status .kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.status .kpi small { font-size: .7rem; color: var(--ink-3); font-weight: 600; }
.status .kpi b { font-size: .98rem; font-variant-numeric: tabular-nums; }
.status .log { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.status .log div { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: .78rem; align-items: center; }
.status .log div:last-child { border-bottom: 0; }
.status .log time { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }

@media (max-width: 640px) {
  .scr-grid { grid-template-columns: 1fr; }
  .scr-side { display: none; }
  .pos { grid-template-columns: 1fr; }
  .pos-items { grid-template-columns: repeat(2, 1fr); }
  .pos-items .it:nth-child(n+6) { display: none; }
  .kitchen { grid-template-columns: 1fr 1fr; }
  .kitchen .ticket:nth-child(3) { display: none; }
  .inv { grid-template-columns: 1fr; }
  .inv-form { display: none; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .catalog .prod:nth-child(n+4) { display: none; }
  .status .kpis { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Casos destacados ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case {
  display: grid; gap: 14px; align-content: start;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft);
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.case:hover { border-color: var(--line-2); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8); transform: translateY(-2px); }
.case .where { font-size: .86rem; color: var(--ink-3); font-weight: 600; }
.case h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.25; }
.case p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.tags li { padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Galería de proyectos ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: clamp(56px, 7vw, 88px) 0 24px; flex-wrap: wrap; }
.gallery-head h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.gallery-nav button:hover { border-color: var(--ink); }
.gallery-nav button:disabled { opacity: .35; cursor: default; border-color: var(--line-2); }
.gallery-nav svg { width: 18px; height: 18px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 20px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
}
.shot { scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.shot-img { aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s; }
.shot-img.is-dark { background: #18181a; }
.shot-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 12%; transition: transform .6s var(--ease); }
.shot-img .initials { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; color: #0b0b0c; padding: 12%; text-align: center; line-height: 1.15; }
.shot:hover .shot-img img { transform: scale(1.03); }
.shot-meta { display: grid; gap: 2px; }
.shot-meta .cat { font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.shot-meta h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.shot-meta h4 svg { width: 14px; height: 14px; color: var(--ink-3); }
.shot-meta p { font-size: .92rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .n { font-size: .86rem; font-weight: 700; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.25; }
.step p { color: var(--ink-2); max-width: 36ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 108px; margin: 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .2s, border-color .2s, color .2s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq summary:hover .pm { border-color: var(--ink); }
.faq[open] summary .pm { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #0a0a0a; }
.faq .ans { padding: 0 52px 24px 0; color: var(--ink-2); line-height: 1.65; max-width: 68ch; }
.faq .ans a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .faq .ans { padding-right: 0; }
}

/* ---------- Cierre + footer (noche) ---------- */
.closing { background: var(--night); color: #fff; padding-block: clamp(80px, 11vw, 140px) clamp(56px, 7vw, 88px); }
.closing-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.closing .h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.closing .lead { color: var(--night-ink-2); margin-top: 20px; max-width: 46ch; }
.closing-actions { display: grid; gap: 12px; justify-items: start; }
.closing-actions .btn-ghost { background: transparent; color: #fff; border-color: var(--night-line); }
.closing-actions .btn-ghost:hover { border-color: #fff; }
.closing-actions small { color: var(--night-ink-2); font-size: .9rem; }
@media (max-width: 860px) { .closing-inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--night); color: var(--night-ink-2); font-size: .94rem; }
.site-footer .wrap { border-top: 1px solid var(--night-line); padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: 40px; }
.site-footer .wordmark { color: #fff; }
.foot-about p { margin-top: 14px; max-width: 34ch; line-height: 1.55; }
.foot-col h2 { font-size: .86rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-col a { transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-legal p { line-height: 1.6; }
.foot-legal strong { color: #e6e8ec; font-weight: 600; }
.foot-legal p + p { margin-top: 10px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: .84rem; }
.foot-bottom ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Páginas de servicio ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-3); font-weight: 600; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 14px; height: 14px; }
.svc-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.svc-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.svc-hero .hero-copy { gap: 22px; }
.svc-hero .display { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.svc-hero .screen { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 7vw, 104px); align-items: start; }
.aside-card { position: sticky; top: 108px; display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); }
.aside-card p { color: var(--ink-2); font-size: .96rem; line-height: 1.5; }
.aside-card strong { font-size: 1.1rem; letter-spacing: -0.015em; }
.aside-card .btn { width: 100%; }
.aside-card nav { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: .92rem; }
.aside-card nav span { font-weight: 600; color: var(--ink); }
.aside-card nav a { color: var(--ink-3); }
.aside-card nav a:hover { color: var(--ink); }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside-card { position: static; } }

.prose { max-width: 68ch; color: var(--ink-2); font-size: 1.06rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: clamp(1.7rem, 2.8vw, 2.25rem); line-height: 1.12; letter-spacing: -0.028em; font-weight: 700; margin-top: 0; text-wrap: balance; }
.prose h2:not(:first-child) { margin-top: 2.2em; }
.prose h3 { color: var(--ink); font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; margin-top: 2.1em; }
.prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: .7em; }
.prose ul li { position: relative; padding-left: 1.6em; }
.prose ul li::before { content: ''; position: absolute; left: .25em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 2em; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--bg-sunk); font-size: .8em; font-weight: 700; display: grid; place-items: center; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }

/* ---------- Casos (página) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero .hero-copy { max-width: 820px; }
.case-list { border-top: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 16px clamp(32px, 6vw, 80px); padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.case-row .where { font-size: .9rem; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.case-row h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.024em; line-height: 1.2; font-weight: 600; text-wrap: balance; }
.case-row .body { display: grid; gap: 16px; }
.case-row .body p { color: var(--ink-2); max-width: 64ch; }
.case-row.own .where { color: var(--brand-ink); }
@media (max-width: 860px) { .case-row { grid-template-columns: 1fr; } }

.shots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 20px; }

/* ---------- Legales ---------- */
.legal-hero { padding-block: clamp(40px, 6vw, 72px) 32px; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 64px); }
.legal-hero .display { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.legal-hero p { margin-top: 14px; color: var(--ink-3); }
.legal .prose { font-size: 1rem; }
.legal .prose section + section { margin-top: 2.4em; }
.legal .prose h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -0.02em; }
.legal .prose section > * + * { margin-top: 1em; }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(64px, 10vw, 140px); }
.nf .code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: var(--bg-soft); -webkit-text-stroke: 1.5px var(--line-2); }
.nf-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 40px; border-top: 1px solid var(--line); max-width: 640px; }
.nf-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.nf-links a svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nf-links a:hover svg { transform: translateX(3px); }
@media (max-width: 560px) { .nf-links { grid-template-columns: 1fr; } }

/* ---------- Aparición al hacer scroll (una sola, sutil) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(18px); }
.js-motion .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-motion .reveal, .js-motion .stage [data-step] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Tranquiosco (producto propio, con su propio verde) ---------- */
.tq { --tq: #4ffe9e; --tq-ink: #062e1a; --tq-surface: #13151c; --tq-line: rgba(79, 254, 158, .22); padding-block: var(--section); }
.tq-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 28px;
  background: var(--tq-surface); border: 1px solid var(--tq-line);
  box-shadow: 0 40px 100px -40px rgba(79, 254, 158, .18);
  overflow: hidden;
}
.tq-copy { display: grid; gap: 22px; align-content: start; }
.tq-logo img { height: 40px; width: auto; }
.tq .h2 { color: #fff; }
.tq .lead { color: #b9bcc2; max-width: 52ch; }
.tq .checks li { color: #d9dce1; }
.tq .checks svg { color: var(--tq); }
.tq-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-tq { background: var(--tq); color: var(--tq-ink); }
.btn-tq:hover { background: #3be08b; }
.tq-actions .btn-ghost:hover { border-color: var(--tq); }
.tq-note { font-size: .9rem; color: #8d9199; }

/* Teléfono con el POS (ilustrativo) */
.tq-phone {
  justify-self: center; width: min(100%, 300px); aspect-ratio: 9 / 16.5;
  border-radius: 40px; padding: 10px; background: #050608;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -30px rgba(0, 0, 0, .9);
}
.tq-screen { height: 100%; border-radius: 31px; background: #0b0d12; color: #f5f6fa; display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden; font-size: .82rem; }
.tq-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px 10px; }
.tq-top b { font-size: .95rem; }
.tq-top .pill { background: rgba(79, 254, 158, .12); color: var(--tq); }
.tq-search { margin: 0 12px 8px; display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 12px; background: #1a1d27; color: #8a8f9e; }
.tq-search svg { width: 15px; height: 15px; }
.tq-search .scan { margin-left: auto; color: var(--tq); }
.tq-items { padding: 0 12px; display: grid; gap: 6px; align-content: start; }
.tq-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; border-radius: 12px; background: #13151c; font-variant-numeric: tabular-nums; }
.tq-item small { grid-column: 1; color: #8a8f9e; font-size: .72rem; }
.tq-item span { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 700; }
.tq-item.promo { background: rgba(79, 254, 158, .08); border: 1px dashed rgba(79, 254, 158, .35); }
.tq-item.promo span { color: var(--tq); }
.tq-pay { padding: 12px; display: grid; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .06); }
.tq-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tq-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.tq-methods span { text-align: center; padding: 6px 0; border-radius: 8px; background: #1a1d27; font-size: .68rem; font-weight: 600; color: #b9bcc2; }
.tq-methods span.on { background: #f5f6fa; color: #0b0d12; }
.tq-cobrar { text-align: center; padding: 11px; border-radius: 12px; background: var(--tq); color: var(--tq-ink); font-weight: 700; }
.tq-caption { text-align: center; font-size: .78rem; color: #8d9199; margin-top: 12px; }
@media (max-width: 900px) { .tq-card { grid-template-columns: 1fr; } }

/* Llamada compacta a Tranquiosco (páginas de servicio) */
.tq-band { --tq: #4ffe9e; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 22px 26px; border-radius: var(--r-lg); background: #13151c; border: 1px solid rgba(79, 254, 158, .22); }
.tq-band img { height: 30px; width: auto; }
.tq-band p { flex: 1 1 320px; color: #b9bcc2; font-size: 1rem; line-height: 1.5; }
.tq-band p strong { color: #fff; font-weight: 600; }
.tq-band .btn { background: var(--tq); color: #062e1a; }

/* Enlace a Tranquiosco en la navegación */
.nav a.nav-tq { color: #4ffe9e; }
.nav a.nav-tq:hover { background: rgba(79, 254, 158, .1); color: #4ffe9e; }
.nav a.nav-tq svg, .foot-col a svg { display: inline-block; width: 12px; height: 12px; margin-left: 3px; vertical-align: 1px; }
