/* Páginas de descarga (/descargar/, /tienda/, /rest/, /android/).
   Mismo sistema que la portada: colores de web/tailwind.config.js, Bricolage Grotesque en
   títulos e Instrument Sans en el texto. Archivo estático (web/public): no pasa por Vite.
   Reglas de PRODUCT.md: letra de 16 px o más, contraste AA, objetivos de 44 px, nada cortado. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/bricolage-variable.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/instrument-sans-variable.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --p950: #082f49; --p900: #0c4a6e; --p800: #075985; --p700: #0369a1; --p600: #0284c7; --p300: #7dd3fc; --p200: #bae6fd; --p100: #e0f2fe; --p50: #f0f9ff;
  --a300: #fdba74; --a400: #fb923c; --a700: #c2410c; --a800: #9a3412; --a100: #ffedd5; --a50: #fff7ed;
  --r950: #451a03; --r900: #78350f; --r800: #92400e; --r700: #b45309; --r300: #fcd34d; --r200: #fde68a; --r100: #fef3c7; --r50: #fffbeb;
  --g800: #166534; --g700: #15803d; --g100: #dcfce7;
  --papel: #f4efe6; --papel-2: #ebe3d4;
  --ink950: #020617; --ink900: #0f172a; --ink800: #1e293b; --ink700: #334155; --ink600: #475569; --ink500: #64748b; --ink300: #cbd5e1; --ink200: #e2e8f0; --ink100: #f1f5f9;
  --gutter: 16px;
  --head: 64px;
  --shadow-lg: 0 30px 60px -28px rgba(2, 6, 23, .55);
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Lo que cambia entre tienda (azul) y restaurante (ámbar): ver body.t-rest al final. */
  --hero-bg: radial-gradient(120% 90% at 85% 10%, #0c5a86 0%, var(--p950) 55%), var(--p950);
  --brand-dark: var(--p950);
  --hero-em: var(--a400);
  --hero-soft: rgba(224, 242, 254, .88);
  --hero-faint: rgba(224, 242, 254, .8);
  --kicker: var(--p700);
  --link: var(--p700);
  --say-bg: var(--a100);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --head: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; background: #fff; color: var(--ink800); font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif; color: var(--ink900); line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
b, strong { font-weight: 650; color: var(--ink900); }
:focus-visible { outline: 3px solid var(--p600); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink900); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 10px; }
/* Zonas seguras: con el teléfono acostado (muesca del iPhone, Android de borde a borde) el relleno
   de cada franja crece lo que pida la muesca; las franjas de color siguen llegando a la orilla. */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- Cabecera */
.top { position: sticky; top: 0; z-index: 50; background: var(--brand-dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.top-in { height: var(--head); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; text-decoration: none; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 36px; height: 34px; object-fit: contain; }
.brand span span { color: var(--p300); }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: rgba(255,255,255,.92); text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.top nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.top nav .nav-cta { background: var(--a700); color: #fff; padding: 0 16px; margin-left: 6px; border-radius: 12px; }
.top nav .nav-cta:hover { background: var(--a800); }
.top .nav-wide { display: none; }
@media (min-width: 720px) { .top .nav-wide { display: inline-flex; } }
@media (max-width: 419px) {
  .brand-text { display: none; }
  .top nav a { padding: 0 10px; }
  .top nav .nav-cta { padding: 0 12px; margin-left: 2px; }
}

/* ---------------------------------------------------------------- Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 14px; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center; border: 0; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-accent { background: var(--a700); color: #fff; box-shadow: 0 12px 26px -14px rgba(2,6,23,.55); }
.btn-accent:hover { background: var(--a800); }
.btn-android { background: var(--g700); color: #fff; box-shadow: 0 12px 26px -14px rgba(2,6,23,.55); }
.btn-android:hover { background: var(--g800); }
.btn-amber { background: var(--r300); color: var(--r950); box-shadow: 0 12px 26px -14px rgba(2,6,23,.55); }
.btn-amber:hover { background: var(--r200); }
.btn-line { background: #fff; color: var(--ink900); box-shadow: inset 0 0 0 1.5px var(--ink300); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--p600); color: var(--p800); }
.btn-wa { background: var(--g700); color: #fff; }
.btn-wa:hover { background: var(--g800); }
.btn-white { background: #fff; color: var(--ink900); box-shadow: 0 12px 28px -14px rgba(2,6,23,.6); }
.btn-white:hover { background: var(--p50); }
/* El botón grande del héroe: dos renglones (qué hace + para qué es). */
.btn-xl { min-height: 72px; padding: 14px 28px 14px 22px; border-radius: 18px; font-size: 21px; gap: 14px; text-align: left; justify-content: flex-start; }
.btn-xl svg { width: 30px; height: 30px; }
.btn-xl small { display: block; font-size: 16px; font-weight: 600; opacity: .92; margin-top: 2px; }
.link-go { display: inline-block; min-height: 44px; padding: 11px 0 10px; line-height: 1.35; font-weight: 700; text-decoration: none; }
.link-go:hover { text-decoration: underline; }
.link-go::after { content: '→'; display: inline-block; margin-left: 6px; transition: transform .18s var(--ease); }
.link-go:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- Héroe */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; }
.hero-grid { position: relative; display: grid; gap: 36px; padding-block: 32px 0; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 9.4vw, 4.4rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--hero-em); }
.hero .lede { margin-top: 18px; font-size: 19px; color: var(--hero-soft); max-width: 34em; }
.hero .lede b { color: #fff; }
/* Sobre el fondo oscuro del héroe, las negritas van en blanco (la regla general las pone casi negras). */
.hero b, .hero strong { color: #fff; }
.hero .qr-hero b { color: var(--ink900); }
.back { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 8px; min-height: 44px; margin: -6px 0 8px; color: var(--p200); text-decoration: none; font-weight: 600; font-size: 16px; }
.back:hover { color: #fff; text-decoration: underline; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: var(--p100); font-weight: 600; font-size: 16px; line-height: 1.35; }
.pill i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--a400); }
.pill.android i { background: #4ade80; }
@media (max-width: 399px) { .pill-x { display: none; } }

/* Lo que depende del dispositivo lleva data-for="pc mac android ios" (uno o varios).
   Se esconde lo que no toca; sin JavaScript (sin data-dev) se ve lo de compu. */
html:not([data-dev]) [data-for]:not([data-for~="pc"]),
html[data-dev="pc"] [data-for]:not([data-for~="pc"]),
html[data-dev="mac"] [data-for]:not([data-for~="mac"]),
html[data-dev="android"] [data-for]:not([data-for~="android"]),
html[data-dev="ios"] [data-for]:not([data-for~="ios"]) { display: none !important; }
.cta { margin-top: 28px; }
.cta .btn-xl { width: 100%; max-width: 460px; }
.cta-meta { margin-top: 10px; color: var(--hero-faint); font-size: 16px; }
.cta-meta a { color: #fff; }
.cta-alt { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 22px; }
.cta-alt a { color: #fff; }
/* Una línea con voz de mostrador bajo el botón (en vez de una fila de palomitas). */
.hero-note { margin-top: 22px; max-width: 32em; color: var(--hero-soft); font-size: 17px; line-height: 1.5; }
.hero-note a { color: #fff; font-weight: 700; white-space: nowrap; }
/* Para quien ya creó su cuenta en la web: al abrir el programa, "Sí, ya tengo cuenta" (no otro negocio). */
.cta-note { margin-top: 16px; max-width: 460px; padding: 12px 16px; border-radius: 0 14px 14px 0; border-left: 3px solid var(--hero-em); background: rgba(255,255,255,.07); color: var(--hero-soft); font-size: 16px; line-height: 1.45; }
.cta-note b { color: #fff; }
/* Facebook e Instagram abren las páginas en su propio navegador, que a veces no entrega descargas. */
.inapp-tip { display: none; }
html[data-inapp] .inapp-tip { display: block; }
.cta .inapp-tip { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; }
/* En la compu, la página de Android ofrece el QR para abrirla en el celular. */
.qr-hero { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 460px; padding: 16px; border-radius: 20px; background: #fff; color: var(--ink700); box-shadow: 0 18px 40px -22px rgba(2,6,23,.7); }
.qr-hero img { width: 132px; height: 132px; flex: none; image-rendering: pixelated; }
.qr-hero p { font-size: 16px; line-height: 1.45; }
.qr-hero b { display: block; margin-bottom: 4px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; line-height: 1.15; }
@media (max-width: 380px) { .qr-hero { flex-direction: column; align-items: flex-start; } }

/* Arte del héroe: laptop con la caja real + teléfono con la app real + el personaje.
   El teléfono va a la izquierda, sobre la lista de productos: así no tapa el ticket con el Total y Cobrar. */
.art { position: relative; width: 100%; max-width: 620px; margin: 0 auto; aspect-ratio: 100 / 90; }
.art > * { position: absolute; }
.art .asoma { right: -4%; top: 0; width: 42%; z-index: 1; }
.art .laptop { left: 13%; top: 33%; width: 82%; z-index: 2; }
.art .phone { left: 0; bottom: 0; width: 27%; z-index: 3; transform: rotate(-3deg); }
.laptop .screen { background: #0b1220; padding: 2.3% 2.3% 0; border-radius: 14px 14px 0 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), var(--shadow-lg); }
.laptop .screen img { width: 100%; aspect-ratio: 1366 / 768; object-fit: cover; object-position: top; border-radius: 3px 3px 0 0; background: var(--ink200); }
.laptop .base { position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -6.5%; background: linear-gradient(#e2e8f0, #94a3b8 70%, #64748b); border-radius: 2px 2px 16px 16px; }
.laptop .base::after { content: ''; position: absolute; left: 41%; right: 41%; top: 0; height: 38%; background: #94a3b8; border-radius: 0 0 8px 8px; }
.phone { background: #0b1220; padding: 3.2%; border-radius: 15% / 7.2%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), var(--shadow-lg); }
.phone img { width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; object-position: top; border-radius: 12% / 5.6%; background: var(--ink200); }
/* Variante tienda / Rest: foto del negocio detrás y la laptop al frente. */
.art.art-store { aspect-ratio: 100 / 82; }
.art-store .photo { right: 0; top: 0; width: 80%; border-radius: 22px; overflow: hidden; z-index: 1; box-shadow: var(--shadow-lg); }
.art-store .photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.art-store .laptop { left: 6%; top: auto; bottom: 3%; width: 80%; }
/* Variante Android: el dueño viendo su celular y la app real en grande, al frente. */
.art.art-android { aspect-ratio: 100 / 90; max-width: 580px; }
.art-android .photo { left: 0; top: 0; width: 63%; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; z-index: 1; box-shadow: var(--shadow-lg); }
.art-android .photo img { width: 100%; height: 100%; object-fit: cover; }
.art-android .phone { left: auto; right: 3%; bottom: 0; width: 39%; z-index: 2; transform: rotate(3deg); }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: 48px; padding-block: 56px 64px; }
  .hero .art { margin-right: -12px; }
}
/* En pantallas anchas el arte se sale un poco del margen hacia la derecha para crecer hasta ~740 px. */
@media (min-width: 1280px) { .hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); } }
@media (min-width: 1440px) { .hero .art { width: calc(100% + 110px); max-width: 700px; margin-right: -110px; } .hero .art.art-android { width: calc(100% + 40px); max-width: 620px; margin-right: -40px; } }
@media (min-width: 1680px) { .hero .art { width: calc(100% + 150px); max-width: 740px; margin-right: -150px; } }
@media (max-width: 1023px) { .hero-grid { padding-bottom: 32px; } .art { max-width: 560px; } }
/* Celulares chicos (320–374 px): el botón principal tiene que asomarse en la primera pantalla. */
@media (max-width: 374px) {
  .hero-grid { padding-top: 14px; gap: 28px; }
  .hero h1 { font-size: 2.15rem; }
  .hero .lede { margin-top: 12px; font-size: 17px; line-height: 1.5; }
  .pill { margin-bottom: 10px; }
  .back { margin: -8px 0 0; }
  .cta { margin-top: 20px; }
}

/* ---------------------------------------------------------------- Secciones */
.sec { padding-block: 72px; }
@media (min-width: 1024px) { .sec { padding-block: 104px; } }
.sec.sec-tight { padding-top: 0; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.kicker { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kicker); }
.sec h2 { font-size: clamp(2rem, 6.2vw, 3.3rem); font-weight: 800; }
.sec-head p { margin-top: 14px; font-size: 19px; color: var(--ink600); }
.on-papel { background: var(--papel); }

/* ---- Tienda (bloque grande con foto) */
.store { display: grid; gap: 28px; align-items: center; }
.store-photo { position: relative; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.store-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--papel-2); }
.store-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px; background: #082f49; color: #fff; font-size: 16px; line-height: 1.4; }
.prod-name { display: inline-flex; align-items: center; gap: 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px; color: var(--p700); }
.prod-name::before { content: ''; width: 12px; height: 12px; border-radius: 4px; background: currentColor; }
.store h3 { margin-top: 10px; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; }
.says { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.says li { padding-left: 18px; border-left: 3px solid var(--p200); font-size: 18px; color: var(--ink700); }
.price-line { margin-top: 22px; font-size: 17px; color: var(--ink700); }
.price-line b { font-size: 22px; font-family: 'Bricolage Grotesque', sans-serif; }
.acts { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.acts.acts-tight { margin-top: 10px; gap: 0 22px; }
@media (min-width: 900px) { .store { grid-template-columns: 1.15fr 1fr; gap: 56px; } }

/* ---- Rest (franja horizontal ámbar, con la foto y el programa real) */
.rest-band { margin-top: 56px; display: grid; border-radius: 26px; overflow: hidden; background: var(--r950); color: var(--r100); box-shadow: var(--shadow-lg); }
.rest-band .txt { padding: 30px 22px; }
.rest-band .prod-name { color: var(--r300); }
.rest-band h3 { margin-top: 10px; color: #fff; font-size: clamp(1.7rem, 4.6vw, 2.4rem); font-weight: 800; }
.rest-band p { margin-top: 12px; font-size: 18px; }
.rest-band b { color: #fff; }
.rest-band .link-go { color: var(--r200); }
.rest-band figure { position: relative; margin: 0; min-height: 260px; }
.rest-band figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rest-band figure .laptop { position: absolute; left: 7%; bottom: 7%; width: 76%; }
.rest-band figure .laptop .screen { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 24px 50px -18px rgba(0,0,0,.75); }
@media (max-width: 899px) { .rest-band figure { min-height: 0; aspect-ratio: 16 / 11; } .rest-band figure .laptop { left: 50%; width: min(76%, 520px); transform: translateX(-50%); } }
@media (min-width: 900px) { .rest-band { grid-template-columns: 1.1fr 1fr; } .rest-band .txt { padding: 44px; } .rest-band figure { order: 2; min-height: 380px; } }

/* ---- App del celular */
.app-sec { display: grid; gap: 40px; align-items: center; }
.app-sec .phone-big { width: min(74%, 290px); margin: 0 auto; transform: rotate(-4deg); }
.app-copy h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
.app-copy .says li { border-left-color: #86efac; }
.qr { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--papel-2); max-width: 420px; }
.qr img { width: 112px; height: 112px; flex: none; image-rendering: pixelated; }
.qr p { font-size: 16px; color: var(--ink700); }
.apk-meta { margin-top: 10px; font-size: 16px; color: var(--ink600); }
@media (min-width: 900px) { .app-sec { grid-template-columns: .8fr 1.2fr; gap: 72px; } .app-sec .phone-big { width: min(100%, 320px); } }

/* ---- Así se instala (pasos) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; gap: 22px; }
.step { counter-increment: paso; position: relative; display: grid; gap: 18px; padding: 24px 18px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--ink200); }
.step::before { content: counter(paso); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand-dark); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; }
.step h3 { font-size: clamp(1.45rem, 4vw, 1.9rem); font-weight: 800; }
.step p { margin-top: 10px; font-size: 18px; color: var(--ink700); }
.say { font-weight: 700; color: var(--ink900); background: var(--say-bg); padding: 1px 6px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.step .tip { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--p50); box-shadow: inset 0 0 0 1px var(--p100); font-size: 17px; color: var(--ink700); }
.step .visual { margin: 0; min-width: 0; }
.step .visual > img { border-radius: 16px; box-shadow: 0 18px 40px -24px rgba(2,6,23,.5); background: var(--ink100); }
.step .visual.tall { max-width: 330px; }
.step .visual.shot { max-width: 460px; }
.step .visual .phone { width: min(100%, 250px); margin: 0 auto; }
.step .visual figcaption { margin-top: 10px; font-size: 16px; color: var(--ink600); }
.step .visual .phone + figcaption { text-align: center; }
.step .visual .laptop { margin: 0 6%; }
.step.no-vis { grid-template-columns: minmax(0, 1fr); }
.file-chip { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--papel-2); max-width: 420px; }
.file-chip svg { width: 44px; height: 44px; flex: none; color: var(--a700); }
.file-chip span { font-size: 16px; color: var(--ink600); line-height: 1.4; min-width: 0; }
.file-chip b { display: block; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 17px; color: var(--ink900); overflow-wrap: anywhere; }
.file-chip.apk svg { color: var(--g700); }
@media (min-width: 900px) {
  .step { grid-template-columns: 54px minmax(0, 1fr) minmax(0, .85fr); gap: 28px 32px; padding: 36px; align-items: start; }
  .step.no-vis { grid-template-columns: 54px minmax(0, 1fr); }
  .step .visual, .step .readout { justify-self: center; width: 100%; }
  .step .visual.tall { width: auto; }
  .step .visual.shot { justify-self: start; }
}
/* Lo que vas a leer en pantalla: tarjeta de papel, NO una imitación del aviso de Windows o Android. */
.readout { margin: 0; padding: 20px 20px 18px; border-radius: 18px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--papel-2); max-width: 440px; }
.readout .lbl { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink700); }
.readout blockquote { margin: 8px 0 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--ink900); }
.readout ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 17px; color: var(--ink700); }
.readout ol b, .readout .do b { color: var(--a800); }
.readout .do { margin-top: 8px; font-size: 17px; color: var(--ink700); }
.readout figcaption { margin-top: 14px; font-size: 16px; color: var(--ink600); }
.readout + .readout { margin-top: 14px; }
.visual .file-chip + .readout { margin-top: 14px; }

/* Versión corta de los pasos (índice): lista + captura del programa. */
.mini { display: grid; gap: 36px; align-items: start; }
.mini ol { list-style: none; margin: 0; padding: 0; counter-reset: m; display: grid; gap: 0; }
.mini li { counter-increment: m; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; padding: 22px 0; border-top: 1px solid var(--ink200); }
.mini li:last-child { border-bottom: 1px solid var(--ink200); }
.mini li::before { content: counter(m); grid-row: span 2; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 46px; line-height: 1; color: var(--a700); }
.mini h3 { font-size: 23px; font-weight: 800; }
.mini p { font-size: 17px; color: var(--ink700); }
.mini li > * { grid-column: 2; }
.mini li p + p { margin-top: 8px; }
.mini figure { margin: 0; justify-self: center; width: 100%; max-width: 460px; }
.mini figure img { border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--papel); }
.mini figcaption { margin-top: 10px; font-size: 16px; color: var(--ink600); }
.guides { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 0 26px; }
@media (min-width: 900px) { .mini { grid-template-columns: 1.15fr 1fr; gap: 56px; } .mini li { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; } .mini figure { position: sticky; top: calc(var(--head) + 24px); } }

/* ---- Qué pasa después */
.after { display: grid; gap: 34px; }
.after .big { padding: 30px 24px; border-radius: 26px; background: var(--brand-dark); color: var(--p100); position: relative; overflow: hidden; }
.after .big .num { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(5rem, 22vw, 8.5rem); line-height: .9; color: #fff; letter-spacing: -0.04em; }
.after .big .num small { font-size: .34em; letter-spacing: -0.01em; color: var(--hero-em); }
.after .big p { margin-top: 16px; font-size: 19px; }
.after .big b { color: #fff; }
.after .big a { color: #fff; }
.after .big .price { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 17px; }
.after .big .price b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; }
.after ul { list-style: none; margin: 0; padding: 0; display: grid; }
.after ul li { padding: 22px 0; border-bottom: 1px solid var(--ink200); }
.after ul li:first-child { padding-top: 0; }
.after ul h3 { font-size: 24px; font-weight: 800; }
.after ul p { margin-top: 6px; font-size: 18px; color: var(--ink700); }
@media (min-width: 900px) { .after { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } .after .big { padding: 40px; } }

/* ---- Qué pasa después (guías): texto + un ticket de mostrador con lo que cuesta probarlo */
.trial { display: grid; gap: 44px; align-items: center; }
.trial h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
.trial-copy p { margin-top: 16px; font-size: 18px; color: var(--ink700); max-width: 34em; }
.trial-copy p.lead { font-size: 20px; color: var(--ink800); }
.trial-copy .phone { float: right; width: 120px; margin: 4px 0 12px 22px; transform: rotate(3deg); }
.ticket { position: relative; margin: 0 auto; width: 100%; max-width: 420px; padding: 34px 24px 30px; background: #fff; color: var(--ink800);
  font-family: ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, monospace; font-size: 16px; line-height: 1.45; transform: rotate(-1.2deg);
  filter: drop-shadow(0 22px 26px rgba(2,6,23,.16));
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 7px, #000 7.5px) 0 0 / 16px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 7px, #000 7.5px) 0 100% / 16px 51% repeat-x;
  mask: radial-gradient(circle at 50% 0, transparent 7px, #000 7.5px) 0 0 / 16px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 7px, #000 7.5px) 0 100% / 16px 51% repeat-x; }
.ticket .t-head { text-align: center; font-weight: 700; color: var(--ink900); font-size: 18px; }
.ticket .t-sub { text-align: center; color: var(--ink600); }
.ticket dl { margin: 18px 0 0; padding: 12px 0 0; border-top: 2px dashed var(--ink300); }
.ticket dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 6px 0; }
.ticket dt { color: var(--ink700); min-width: 0; }
.ticket dd { margin: 0; font-weight: 700; color: var(--ink900); white-space: nowrap; }
.ticket dl .t-total { margin-top: 10px; padding-top: 14px; border-top: 2px dashed var(--ink300); font-size: 20px; }
.ticket .t-total dt { color: var(--ink900); font-weight: 700; }
.ticket .t-foot { margin-top: 16px; padding-top: 14px; border-top: 2px dashed var(--ink300); color: var(--ink700); }
.ticket .t-foot b { font-size: 18px; }
.ticket a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-family: 'Instrument Sans', sans-serif; font-weight: 700; }
@media (max-width: 374px) { .ticket { padding-inline: 18px; } .trial-copy .phone { width: 96px; } }
@media (min-width: 900px) { .trial { grid-template-columns: 1.15fr .85fr; gap: 72px; } }

/* ---- Lista de dos columnas (requisitos, problemas comunes) */
.reqs { display: grid; gap: 0; margin: 0; }
.reqs div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--ink200); }
.reqs dt { font-weight: 700; color: var(--ink900); font-size: 17px; }
.reqs dd { margin: 0; color: var(--ink700); font-size: 17px; }
@media (min-width: 720px) { .reqs div { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; } }
.reqs-wrap { display: grid; gap: 32px; align-items: center; }
.reqs-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.reqs-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 28%; background: var(--papel); }
@media (min-width: 900px) { .reqs-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 56px; align-items: start; } .reqs-wrap .reqs div { grid-template-columns: 190px minmax(0, 1fr); } .reqs-wrap .reqs div:first-child { padding-top: 0; } .reqs-photo img { aspect-ratio: 1 / 1; } }

/* ---- Se actualiza sola (Android): texto + la hoja real de la app */
.update { display: grid; gap: 36px; align-items: center; }
.update .phone { width: min(70%, 270px); margin: 0 auto; transform: rotate(3deg); }
.update h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
.update p { margin-top: 16px; font-size: 18px; color: var(--ink700); max-width: 34em; }
@media (min-width: 900px) { .update { grid-template-columns: 1.2fr .8fr; gap: 72px; } .update .phone { width: min(100%, 300px); } }

/* ---- Ayuda humana */
.help { position: relative; display: grid; gap: 8px; align-items: end; border-radius: 28px; background: var(--papel); overflow: hidden; }
.help .txt { padding: 32px 22px 0; }
.help h2 { font-size: clamp(2rem, 6vw, 3rem); }
.help p { margin-top: 14px; font-size: 19px; color: var(--ink700); max-width: 32em; }
.help .acts { margin-top: 24px; }
.help .num { display: inline-flex; align-items: center; min-height: 44px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink900); text-decoration: none; }
.help > img { width: min(64%, 260px); margin: 0 auto -2px; }
.help > img.crop { aspect-ratio: 560 / 600; object-fit: cover; object-position: top; }
.help .help-photo { margin: 24px 0 0; height: 220px; }
.help .help-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .help { grid-template-columns: 1.4fr .6fr; }
  .help .txt { padding: 52px 0 52px 52px; align-self: center; }
  .help > img { width: 100%; max-width: 300px; margin: 24px 0 -2px auto; }
  .help.with-photo { grid-template-columns: 1.15fr .85fr; align-items: stretch; }
  .help .help-photo { margin: 0; height: auto; min-height: 100%; }
}

/* ---- Cruce a otro programa / a otra plataforma */
.cross { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 28px; padding: 24px 22px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--ink200); }
.cross p { font-size: 18px; color: var(--ink700); max-width: 40em; }
.cross.rest-x { background: var(--r50); box-shadow: inset 0 0 0 1px var(--r200); }
.cross.rest-x .link-go { color: var(--r800); }
.cross.store-x { background: var(--p50); box-shadow: inset 0 0 0 1px var(--p100); }
.cross.store-x .link-go { color: var(--p700); }

/* ---------------------------------------------------------------- Pie */
.foot { background: var(--ink950); color: #cbd5e1; padding: 56px 0 40px; font-size: 16px; }
.foot-grid { display: grid; gap: 34px; }
.foot .brand { color: #fff; }
.foot p { margin-top: 14px; color: #94a3b8; max-width: 30em; }
.foot h4 { margin: 0 0 10px; color: #fff; font-size: 16px; font-family: 'Instrument Sans', sans-serif; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; color: #cbd5e1; text-decoration: none; }
.foot li a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: #94a3b8; }
.foot-bottom a { color: #e2e8f0; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------------------------------------------------------------- Barra fija (celular) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px max(var(--gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px -12px rgba(2,6,23,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateY(110%); visibility: hidden; transition: transform .28s var(--ease), visibility .28s; }
.dock.is-on { transform: none; visibility: visible; }
.dock .btn { width: 100%; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------------------------------------------------------------- Restaurante (Rest): ámbar
   Regla del sitio: azul = tienda, ámbar = restaurante (igual que la portada y la carta QR). */
body.t-rest {
  --hero-bg: radial-gradient(120% 90% at 85% 10%, #7a3410 0%, var(--r950) 58%), var(--r950);
  --brand-dark: var(--r950);
  --hero-em: var(--r300);
  --hero-soft: rgba(254, 243, 199, .9);
  --hero-faint: rgba(254, 243, 199, .82);
  --kicker: var(--r800);
  --link: var(--r800);
  --say-bg: var(--r100);
}
.t-rest .top nav .nav-cta { background: var(--r300); color: var(--r950); }
.t-rest .top nav .nav-cta:hover { background: var(--r200); }
.t-rest.dock-on .top nav .nav-cta { display: none; }
.t-rest .back { color: var(--r200); }
.t-rest .pill { color: var(--r100); }
.t-rest .pill i { background: var(--r300); }
.t-rest .readout ol b, .t-rest .readout .do b { color: var(--r800); }
.t-rest .step .tip { background: var(--r50); box-shadow: inset 0 0 0 1px var(--r100); }
.t-rest .file-chip svg { color: var(--r700); }

/* ---------------------------------------------------------------- Movimiento */
.rise { animation: rise .7s var(--ease) both; }
.rise-2 { animation: rise .8s .12s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:hover, .btn:active { transform: none; }
}
