:root {
  --bg: #fbf8f2;
  --paper: #ffffff;
  --ink: #2a211a;
  --muted: #6d6258;
  --line: #e8dfd2;
  --brand: #8b5a2b;
  --brand-2: #d9962e;
  --dark: #1d1612;
  --dark-2: #2a1f18;
  --good: #1f9d63;
  --bad: #d64545;
  --warn: #d99a1c;
  --info: #2f7f9e;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(42, 33, 26, .06), 0 10px 30px rgba(42, 33, 26, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }

/* ---------- navegacion ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 max(20px, calc((100% - 1180px) / 2));
  color: #fff; transition: background .25s, box-shadow .25s;
}
.nav.solid { background: rgba(29, 22, 18, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; opacity: .9; }
.links a:hover { background: rgba(255, 255, 255, .1); opacity: 1; }
.links a.cta { background: var(--brand-2); color: #1d1612; font-weight: 700; opacity: 1; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: .2s; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; cursor: pointer; text-decoration: none;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; min-height: 46px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand-2); color: #1d1612; box-shadow: 0 8px 22px rgba(217, 150, 46, .35); }
.btn.ghost-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn.dark { background: var(--dark); color: #fff; }
.btn.small { padding: 8px 14px; min-height: 38px; font-size: 14px; background: var(--brand); color: #fff; }
.btn.block { width: 100%; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; padding: 130px 0 90px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(217, 150, 46, .28), transparent 60%),
    radial-gradient(700px 500px at 5% 95%, rgba(139, 90, 43, .45), transparent 60%),
    linear-gradient(180deg, #1d1612, #2a1f18);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--brand-2); margin-bottom: 14px; }
.eyebrow.dark { color: var(--brand); }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand-2); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 34px; }
.proofs { display: flex; gap: 26px; flex-wrap: wrap; color: rgba(255, 255, 255, .75); font-size: 14px; }
.proofs b { display: block; font-family: var(--serif); font-size: 30px; color: #fff; line-height: 1; }
.hub { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.hub .node rect { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .25); }
.hub .node text { fill: #fff; font-size: 14px; font-weight: 600; }
.hub .node text.sub { font-size: 11.5px; font-weight: 400; fill: rgba(255, 255, 255, .7); }
.hub .lines path { animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -260; } }

/* ---------- secciones ---------- */
.sec { padding: 96px 0; }
.sec.dark { background: var(--dark); color: #fff; }
.sec.tint { background: #f3ecdf; }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.sec-head .sub, .sub { color: var(--muted); font-size: 18px; }
.sec.dark .sub { color: rgba(255, 255, 255, .72); }

/* modulos */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.mod-ico { width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, white); display: grid; place-items: center; }
.mod-ico svg { width: 26px; height: 26px; stroke: var(--c); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mod h3 { font-size: 20px; font-family: var(--serif); }
.mod > p { color: var(--muted); font-size: 15px; }
.mod ul { display: grid; gap: 8px; font-size: 14.5px; }
.mod li { padding-left: 20px; position: relative; }
.mod li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); }
.more { margin-top: auto; padding-top: 6px; font-weight: 650; color: var(--brand); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------- demo ---------- */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.tabs button {
  font: inherit; cursor: pointer; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15); padding: 10px 18px; border-radius: 999px; min-height: 44px;
}
.tabs button.active { background: var(--brand-2); color: #1d1612; font-weight: 700; border-color: var(--brand-2); }
.pane { display: none; }
.pane.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hint { text-align: center; color: rgba(255, 255, 255, .6); font-size: 14px; margin-top: 14px; }
.frame { background: #0e0b09; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #261c15; font-size: 13px; color: rgba(255, 255, 255, .6); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #5b4a3c; }
.frame-bar span { margin-left: 8px; flex: 1; }
.frame-bar a { color: var(--brand-2); text-decoration: none; }
.frame iframe { width: 100%; height: 760px; border: 0; background: #f5f3ef; display: block; }

/* caja */
.pos { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 20px; }
.pos-title { color: rgba(255, 255, 255, .7); font-size: 14px; margin-bottom: 12px; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pos-item {
  font: inherit; text-align: left; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px; display: grid; gap: 4px; min-height: 104px;
  transition: transform .12s, background .12s;
}
.pos-item:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.pos-item:active { transform: scale(.97); }
.pos-item .badge { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #1d1612; background: var(--bc, #d9962e); }
.pos-item b { font-size: 14px; line-height: 1.2; }
.pos-item small { color: rgba(255, 255, 255, .6); }
.pos-item .stock { font-size: 12px; }
.pos-item .stock.low { color: #ffb4b4; }
.ticket { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
.ticket-head { display: flex; justify-content: space-between; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.ticket-lines { max-height: 180px; overflow: auto; display: grid; gap: 6px; font-size: 14px; }
.ticket-lines .empty { color: var(--muted); }
.tl { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.tl .q { display: inline-flex; align-items: center; gap: 6px; }
.tl button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 15px; line-height: 1; }
.ticket-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ticket-opts label, .cashrow { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
select, input[type="text"], input:not([type]), input[inputmode] {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 40px; width: 100%;
}
.pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pay button { font: inherit; font-size: 13px; cursor: pointer; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 8px 4px; min-height: 40px; }
.pay button.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.totals { margin: 0; display: grid; gap: 4px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .big { font-size: 22px; font-weight: 800; border-top: 1px dashed var(--line); padding-top: 6px; margin-top: 4px; }
.totals .big dt { color: var(--ink); }
.totals .note dd { color: var(--good); font-weight: 650; }
.totals .note:last-child dd { color: var(--ink); }
.pos-msg { min-height: 20px; font-size: 13.5px; color: var(--good); }
.pos-msg.err { color: var(--bad); }
.live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.live div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 12px; display: grid; }
.live span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.live b { font-size: 20px; font-variant-numeric: tabular-nums; }

/* escaner */
.scan { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.kiosk { aspect-ratio: 16 / 10; border-radius: 18px; border: 10px solid #0b0806; background: #14100d; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); color: #fff; }
.kiosk-idle { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; }
.promo { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 40px); line-height: 1.15; animation: fade .6s ease; }
.promo small { display: block; font-family: var(--sans); font-size: 15px; color: var(--brand-2); margin-top: 10px; letter-spacing: .1em; text-transform: uppercase; }
.kiosk-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .55); }
.kiosk-idle::after { content: ""; position: absolute; left: 10%; right: 10%; height: 3px; top: 30%; background: linear-gradient(90deg, transparent, #e0463a, transparent); animation: scan 2.6s ease-in-out infinite; opacity: .55; }
@keyframes scan { 0%, 100% { top: 22%; } 50% { top: 70%; } }
.kiosk-item { position: absolute; inset: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; padding: 22px; animation: fade .35s ease; }
.k-img { border-radius: 14px; display: grid; place-items: center; background: var(--kc, #8b5a2b); font-size: 54px; font-weight: 800; color: rgba(255, 255, 255, .9); transition: background .25s; position: relative; }
.k-img small { position: absolute; bottom: 10px; font-size: 12px; font-weight: 500; opacity: .85; }
.k-info { display: grid; align-content: start; gap: 8px; min-width: 0; }
.k-info h4 { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 28px); }
.k-price { font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; color: var(--brand-2); }
.k-colors { display: flex; gap: 8px; }
.k-colors button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); cursor: pointer; background: var(--sw); }
.k-colors button.on { border-color: #fff; box-shadow: 0 0 0 2px var(--brand-2); }
.k-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; font-size: 12.5px; }
.k-sizes div { text-align: center; padding: 6px 2px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.k-sizes div.off { opacity: .35; text-decoration: line-through; }
.k-sizes b { display: block; font-size: 14px; }
.k-where { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.scan-side h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 6px; }
.scan-side p { color: rgba(255, 255, 255, .7); margin-bottom: 12px; }
.scan-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scan-btns button { font: inherit; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 10px; text-align: left; min-height: 56px; }
.scan-btns button:hover { background: rgba(255, 255, 255, .16); }
.scan-btns small { display: block; color: rgba(255, 255, 255, .55); }
.scan-form { display: flex; gap: 8px; margin: 12px 0; }
.scan-form input { flex: 1; }
.check { display: grid; gap: 8px; margin-top: 12px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.check li { padding-left: 24px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }

/* tienda en linea */
.web { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.phone { max-width: 340px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 34px; border: 9px solid #0b0806; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); display: grid; gap: 10px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.cart i { font-style: normal; background: var(--brand-2); color: #1d1612; border-radius: 999px; padding: 1px 8px; font-size: 13px; font-weight: 700; }
.phone-search { background: var(--bg); border-radius: 12px; padding: 10px 12px; color: var(--muted); font-size: 14px; }
.chips { display: flex; gap: 6px; overflow: auto; }
.chips span { white-space: nowrap; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.chips span.on { background: var(--brand); color: #fff; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wp { border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: grid; gap: 4px; font-size: 13px; }
.wp .ph { aspect-ratio: 1; border-radius: 10px; background: var(--wc); display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-weight: 800; font-size: 22px; position: relative; }
.wp .tagd { position: absolute; top: 6px; left: 6px; background: var(--bad); color: #fff; font-size: 11px; border-radius: 6px; padding: 1px 6px; }
.wp .pr { font-weight: 800; }
.wp .pr s { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 4px; }
.wp button { font: inherit; font-size: 13px; cursor: pointer; border: 0; background: var(--dark); color: #fff; border-radius: 9px; padding: 7px; min-height: 34px; }
.phone-pay { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 8px; }
.paylogos { display: flex; gap: 6px; flex-wrap: wrap; }
.paylogos span { font-size: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.web-side h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.flow { display: grid; gap: 12px; counter-reset: s; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; transition: background .3s, border-color .3s; }
.flow li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-weight: 700; grid-row: span 2; }
.flow li span { color: rgba(255, 255, 255, .68); font-size: 14px; }
.flow li.on { background: rgba(217, 150, 46, .16); border-color: var(--brand-2); }
.flow li.on::before { background: var(--brand-2); color: #1d1612; }
.feed { margin-top: 14px; display: grid; gap: 8px; font-size: 14px; }
.feed .empty { color: rgba(255, 255, 255, .55); }
.feed .ev { background: rgba(31, 157, 99, .15); border: 1px solid rgba(31, 157, 99, .45); border-radius: 12px; padding: 10px 12px; animation: fade .35s ease; }
.feed .ev small { display: block; color: rgba(255, 255, 255, .65); }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; position: relative; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba { border-radius: var(--radius); padding: 26px; }
.ba h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 14px; }
.ba ul { display: grid; gap: 10px; }
.ba li { padding-left: 28px; position: relative; }
.ba.bad { background: #fbeceb; }
.ba.bad li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 800; }
.ba.good { background: #e8f5ee; }
.ba.good li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }

/* ---------- crecer y prevenir ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.col h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tag { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.tag.grow { background: #e8f5ee; color: var(--good); }
.tag.prev { background: #fbeceb; color: var(--bad); }
.rows { display: grid; gap: 14px; }
.rows li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.rows span { color: var(--muted); font-size: 14.5px; }
.alerts-demo { display: grid; gap: 8px; }
.al { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 12px; align-items: start; }
.al.high { border-left-color: var(--bad); } .al.med { border-left-color: var(--warn); } .al.low { border-left-color: var(--info); }
.al .pill { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.al.high .pill { background: #fbeceb; color: var(--bad); } .al.med .pill { background: #fcf2dc; color: #a97312; } .al.low .pill { background: #e3f0f5; color: var(--info); }
.al small { display: block; color: var(--muted); }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips2 li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.growth { margin-top: 26px; }
.growth h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 16px; text-align: center; }
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.path li { padding: 18px 16px 0; position: relative; text-align: center; }
.path li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-2); opacity: .5; }
.path li::after { content: ""; position: absolute; top: -6px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--brand); border: 3px solid #f3ecdf; }
.path b { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.path span { color: var(--muted); font-size: 14.5px; }

/* ---------- proceso ---------- */
.timeline { display: grid; gap: 0; max-width: 760px; margin: 0 auto; counter-reset: t; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding-bottom: 26px; position: relative; }
.timeline li::before { content: counter(t); width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; grid-row: span 2; z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { font-family: var(--serif); font-size: 20px; padding-top: 6px; }
.timeline span { color: var(--muted); }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- calculadora ---------- */
.roi { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 28px; }
.roi-in { display: grid; gap: 14px; }
.roi-in label { display: grid; gap: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.roi-in output { float: right; font-weight: 700; color: var(--brand-2); }
.roi-in label { grid-template-columns: 1fr auto; }
.roi-in input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--brand-2); min-height: 28px; }
.assump { color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.assump ul { margin-top: 8px; display: grid; gap: 4px; padding-left: 16px; list-style: disc; }
.roi-out { display: grid; gap: 18px; align-content: start; }
.roi-total { background: linear-gradient(135deg, var(--brand-2), #b97a1d); color: #1d1612; border-radius: 16px; padding: 22px; display: grid; gap: 4px; }
.roi-total b { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1; }
.roi-total span { font-weight: 650; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; gap: 4px; font-size: 14px; }
.bar .top { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .85); }
.bar .track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 6px; background: var(--c); transition: width .5s cubic-bezier(.2, .8, .2, 1); }

/* ---------- faq y contacto ---------- */
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--muted); }
.cta-sec { background: linear-gradient(135deg, #2a1f18, #1d1612); color: #fff; }
.cta-sec h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 12px; }
.cta-sec .sub { color: rgba(255, 255, 255, .75); max-width: 56ch; margin: 0 auto 26px; }
.contact { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-sec .fine { color: rgba(255, 255, 255, .6); }
.foot { background: #120d0a; color: rgba(255, 255, 255, .6); padding: 24px 0; font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); z-index: 80; font-size: 14.5px; max-width: min(92vw, 520px); border-left: 5px solid var(--brand-2); }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hub .lines path, .kiosk-idle::after, .pane.active, .promo { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1050px) {
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pos, .roi, .web, .scan, .two, .beforeafter { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .links {
    position: fixed; inset: 64px 0 auto 0; background: rgba(29, 22, 18, .98); flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; transform: translateY(-120%); transition: transform .25s; border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .links.open { transform: none; }
  .links a { padding: 12px; font-size: 16px; }
  .sec { padding: 64px 0; }
  .hero { padding: 108px 0 60px; }
  .cards4, .steps, .path { grid-template-columns: 1fr; }
  .path li { padding-bottom: 14px; }
  .frame iframe { height: 680px; }
  .ticket-opts { grid-template-columns: 1fr; }
  .kiosk-item { grid-template-columns: 1fr; padding: 14px; }
  .k-img { display: none; }
  .live { grid-template-columns: 1fr 1fr 1fr; }
  .live b { font-size: 16px; }
}

/* ---------- demos reales (escaner y tienda) ---------- */
.realwrap { display: grid; grid-template-columns: 1.5fr .75fr; gap: 26px; align-items: start; }
.real-side h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.real-side p { color: rgba(255, 255, 255, .72); margin-bottom: 12px; }
.real-side .mini { font-size: 13.5px; margin: 14px 0 8px; }
.more2 { display: inline-block; margin-top: 16px; color: var(--brand-2); font-weight: 650; text-decoration: none; }
.more2:hover { text-decoration: underline; }
.seg2 { display: inline-flex; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg2 button { font: inherit; font-size: 14px; cursor: pointer; color: rgba(255, 255, 255, .75); background: transparent; border: 0; padding: 8px 14px; border-radius: 9px; min-height: 38px; }
.seg2 button.active { background: var(--brand-2); color: #1d1612; font-weight: 700; }
.labels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.label-btn { font: inherit; cursor: pointer; text-align: left; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 8px; display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; min-height: 58px; }
.label-btn:hover { background: rgba(255, 255, 255, .14); }
.label-btn img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #fff2; }
.label-btn b { font-size: 12.5px; line-height: 1.2; display: block; }
.label-btn small { color: rgba(255, 255, 255, .55); font-size: 11px; }
.monitor { max-width: 900px; margin: 0 auto; }
.monitor-screen { aspect-ratio: 16 / 10; background: #0b0806; border: 10px solid #0b0806; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.monitor-screen iframe { width: 100%; height: 100%; border: 0; display: block; background: #14100d; }
.monitor-stand { width: 22%; height: 22px; margin: 0 auto; background: linear-gradient(#1a1410, #0b0806); clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.web-toggle { text-align: center; margin-bottom: 12px; }
.devicebox { margin: 0 auto; background: #0e0b09; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: max-width .3s; }
.devicebox[data-d="desktop"] { max-width: 1000px; }
.devicebox[data-d="phone"] { max-width: 390px; border-radius: 34px; border: 9px solid #0b0806; }
.devicebox[data-d="phone"] .frame-bar { display: none; }
.devicebox iframe { width: 100%; height: 680px; border: 0; display: block; background: #f7ecd6; }
@media (max-width: 1050px) { .realwrap { grid-template-columns: 1fr; } .devicebox iframe { height: 600px; } }

/* ---------- ventana del POS ---------- */
.winframe { max-width: 1100px; margin: 0 auto; background: #f0f0f0; border-radius: 10px; overflow: hidden; border: 1px solid #5a7aa5; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.win-bar { height: 32px; background: #fff; color: #000; display: flex; justify-content: space-between; align-items: center; padding-left: 12px; font: 13px "Segoe UI", system-ui, sans-serif; }
.win-bar .wb-btns { display: flex; }
.win-bar .wb-btns i { font-style: normal; width: 44px; height: 32px; display: grid; place-items: center; font-size: 13px; }
.win-bar .wb-btns i:last-child:hover { background: #e81123; color: #fff; }
.win-screen { aspect-ratio: 1946 / 1127; background: #202020; }
.win-screen iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- detalle por sistema ---------- */
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.dcol { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.dcol h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.dico { font: 800 11px var(--sans); letter-spacing: .08em; color: #fff; background: var(--c); border-radius: 8px; padding: 5px 8px; }
.dcol details { border-top: 1px solid var(--line); }
.dcol summary { cursor: pointer; padding: 12px 0; font-weight: 650; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 8px; }
.dcol summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.dcol details[open] summary::after { content: "–"; }
.dcol details ul { display: grid; gap: 8px; padding: 0 0 14px; font-size: 14px; color: var(--muted); }
.dcol details li { padding-left: 16px; position: relative; }
.dcol details li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
.dcol details li b { color: var(--ink); }
@media (max-width: 1150px) { .dgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .dgrid { grid-template-columns: 1fr; } }

/* pantalla de precios: se dibuja grande y se reduce */
.monitor-screen { position: relative; aspect-ratio: auto; }
.monitor-screen iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 0 0; }
/* celular: la tienda se ve como celular sin preguntar */
@media (max-width: 760px) {
  .web-toggle { display: none; }
  .devicebox, .devicebox[data-d] { max-width: 100%; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); }
  .devicebox .frame-bar { display: none; }
  .devicebox iframe { height: 640px; }
  .monitor-screen { border-width: 6px; border-radius: 12px; }
}
