/* =========================================================
   Kobralia · sitio de presentación
   ========================================================= */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --violet: #5B3DF5;
  --violet-2: #8C76FA;
  --violet-d: #4a2fe0;
  --mint: #12C99B;
  --mint-d: #08875f;
  --night: #15123A;
  --night-2: #0c0a24;
  --ink: #1d1a2e;
  --muted: #5f5b6e;
  --bg: #ffffff;
  --bg-2: #f5f4f8;
  --line: rgba(21, 18, 58, .1);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
kbd { font: 600 .78em ui-monospace, "SF Mono", Menlo, monospace; padding: .12em .45em; border-radius: 6px;
  background: rgba(21,18,58,.06); border: 1px solid rgba(21,18,58,.12); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600;
  background: var(--violet); color: #fff; border-radius: 999px; padding: 12px 22px; font-size: 16px; line-height: 1.2;
  border: 1px solid var(--violet); transition: background .2s, transform .2s var(--ease), box-shadow .2s; box-shadow: 0 8px 24px rgba(91,61,245,.28); }
.btn:hover { background: var(--violet-d); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 7px 14px; font-size: 14px; box-shadow: none; }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--violet); box-shadow: none; }
.btn-ghost:hover { background: rgba(91,61,245,.08); }
.link-more { color: var(--violet); text-decoration: none; font-weight: 600; font-size: 18px; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-more span { display: inline-block; transition: transform .2s; }
.link-more:hover span { transform: translateX(3px); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 56px; display: flex; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--night); }
.nav-links { display: flex; gap: 26px; margin: 0 auto; }
@media (min-width: 901px) { .nav-cta { margin-left: 0; } }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink); opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-entrar-movil { display: none; }
.nav-cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-entrar { font-size: 14px; text-decoration: none; font-weight: 600; }
.nav-entrar:hover { color: var(--violet); }
.nav-menu { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; }
.nav-menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--night); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-menu span:first-child { top: 15px; }
.nav-menu span:last-child { top: 23px; }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-menu { display: block; }
  .nav-entrar { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 56px; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(21,18,58,.08); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-entrar-movil { display: block; color: var(--violet) !important; }
}

/* ---------- Tipografía de sección ---------- */
section { position: relative; }
.eyebrow { font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); color: var(--violet); letter-spacing: -.01em; margin-bottom: 10px; }
.eyebrow.on-dark { color: var(--violet-2); }
.sec-head { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.sec-t { font-size: clamp(38px, 6.4vw, 84px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; color: var(--night); text-wrap: balance; }
.sec-sub { font-size: clamp(18px, 1.9vw, 23px); line-height: 1.45; color: var(--muted); margin: 22px auto 0; max-width: 720px; font-weight: 500; text-wrap: pretty; }
.sec-sub.left { margin-left: 0; }
.grad { background: linear-gradient(95deg, var(--violet) 10%, var(--violet-2) 55%, #0b9f7b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-dark { background: linear-gradient(95deg, var(--violet-2), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.okt { color: var(--mint-d); }

/* ---------- Aparecer al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(60px, 8vw, 120px); text-align: center; overflow: hidden; }
.hero-copy { padding: 0 var(--gutter); max-width: 1000px; margin: 0 auto; }
.hero .eyebrow { font-size: clamp(20px, 2.2vw, 26px); }
.hero-t { font-size: clamp(44px, 7.6vw, 112px); line-height: .98; font-weight: 800; letter-spacing: -.055em; color: var(--night); }
.hero-sub { font-size: clamp(18px, 2.1vw, 25px); color: var(--muted); max-width: 760px; margin: 26px auto 0; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.hero-copy .reveal:nth-child(2) { transition-delay: .08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .16s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .24s; }
.hero-copy .reveal:nth-child(5) { transition-delay: .3s; }

.hero-stage { position: relative; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--gutter); max-width: 1180px; perspective: 1600px; }
.aura { position: absolute; inset: 8% 4% -6%; z-index: -1; filter: blur(70px); opacity: .55;
  background: radial-gradient(40% 50% at 30% 50%, rgba(91,61,245,.55), transparent 70%), radial-gradient(40% 50% at 72% 55%, rgba(18,201,155,.45), transparent 70%); }
#hero-laptop { transform-origin: 50% 100%; transform: rotateX(calc(var(--tilt, 1) * 16deg)) scale(calc(.9 + (1 - var(--tilt, 1)) * .1)); will-change: transform; }

/* =========================================================
   Dispositivos (marcos)
   ========================================================= */
.screen { container-type: inline-size; position: relative; width: 100%; height: 100%; overflow: hidden; }
.laptop { position: relative; max-width: 1080px; margin: 0 auto; }
.laptop-screen { background: #0b0a14; border-radius: 2.2% / 3.4%; padding: 1.6%; box-shadow: 0 0 0 1px #2a2838, 0 40px 80px rgba(21,18,58,.22), 0 12px 28px rgba(21,18,58,.12); aspect-ratio: 16 / 10; }
.laptop-screen .screen { border-radius: 6px; }
.laptop-base { height: clamp(10px, 1.6vw, 18px); margin: 0 -7%; border-radius: 0 0 40% 40% / 0 0 100% 100%;
  background: linear-gradient(#d9d7e0, #a9a6b6 60%, #8d8a9a); box-shadow: 0 18px 30px rgba(21,18,58,.18); position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); background: #b9b6c4; border-radius: 0 0 10px 10px; }

.monitor { position: relative; width: 100%; }
.monitor-screen { background: #0b0a14; border-radius: 18px; padding: 1.4%; aspect-ratio: 16 / 10.4; box-shadow: 0 0 0 1px #2a2838, 0 30px 70px rgba(21,18,58,.2); }
.monitor-screen .screen { border-radius: 8px; }
.monitor-stand { width: 22%; height: clamp(24px, 4vw, 56px); margin: 0 auto; background: linear-gradient(90deg, #b7b4c3, #e2e0e8 50%, #b7b4c3); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.monitor-stand::after { content: ""; display: block; }
.mock-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

.phone { width: 100%; max-width: 320px; aspect-ratio: 9 / 19; background: #0b0a14; border-radius: 13% / 6.2%; padding: 3.2%;
  box-shadow: 0 0 0 1px #2a2838, 0 40px 80px rgba(21,18,58,.28); position: relative; }
.phone::before { content: ""; position: absolute; top: 3.6%; left: 50%; width: 30%; height: 3.2%; transform: translateX(-50%); background: #0b0a14; border-radius: 999px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 10% / 4.8%; overflow: hidden; background: #fff; }

.tablet { max-width: 1040px; margin: clamp(48px, 7vw, 90px) auto 0; aspect-ratio: 4 / 2.9; background: #050410; border-radius: 4% / 5.5%; padding: 2%;
  box-shadow: 0 0 0 1px #34314a, 0 50px 100px rgba(0,0,0,.5); width: calc(100% - 2 * var(--gutter)); }
.tablet-screen { width: 100%; height: 100%; border-radius: 1.6% / 2.2%; overflow: hidden; }

/* =========================================================
   Interfaz de la app (mockups). Todo en em → escala con cqw.
   ========================================================= */
.ui { position: absolute; inset: 0; font-size: 1.32cqw; color: #1d1a2e; display: flex; flex-direction: column; gap: 1em; padding: 1.1em; line-height: 1.3; text-align: left; }
.scene-warm { background:
    radial-gradient(40% 55% at 8% 18%, rgba(120,72,40,.85), transparent 70%),
    radial-gradient(30% 45% at 30% 0%, rgba(150,98,58,.7), transparent 70%),
    radial-gradient(45% 60% at 92% 30%, rgba(250,244,236,.95), transparent 70%),
    radial-gradient(35% 40% at 70% 100%, rgba(110,70,40,.55), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(40,30,28,.6), transparent 70%),
    radial-gradient(28% 32% at 58% 62%, rgba(91,61,245,.16), transparent 70%),
    radial-gradient(22% 28% at 82% 78%, rgba(18,201,155,.14), transparent 70%),
    linear-gradient(160deg, #d8c3ab 0%, #c9b097 45%, #e6d9ca 100%); }
.g { background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 1.4em 4em rgba(60,40,20,.18), inset 0 1px 0 rgba(255,255,255,.6); }
.c { background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.65); border-radius: 1.3em; box-shadow: 0 .6em 1.8em rgba(60,40,20,.08), inset 0 1px 0 rgba(255,255,255,.6); }
.ui kbd { font-size: .78em; padding: .05em .4em; border-radius: .4em; }

.ui-top { border-radius: 999px; display: flex; align-items: center; gap: .9em; padding: .45em .6em .45em .5em; flex: none; }
.ui-brand { display: flex; align-items: center; gap: .55em; font-size: 1.05em; margin-right: auto; }
.ui-brand img { width: 2.2em; height: 2.2em; }
.ui-pill { display: inline-flex; align-items: center; gap: .45em; padding: .4em .9em; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.6); font-size: .88em; font-weight: 600; white-space: nowrap; }
.ui-pill.ok .dot, .hw-st .dot { width: .6em; height: .6em; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 .22em rgba(18,201,155,.25); }
.ui-avatar { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #fff; font-weight: 700; font-size: .85em; margin-left: auto; }
.ui-body { flex: 1; display: flex; gap: 1em; min-height: 0; }
.ui-rail { width: 3.6em; border-radius: 999px; display: flex; flex-direction: column; align-items: center; gap: .8em; padding: 1em 0; align-self: center; }
.ui-rail i { width: 1.5em; height: 1.5em; border-radius: .45em; border: .16em solid rgba(29,26,46,.55); }
.ui-rail i.on { background: #fff; border-color: var(--violet); box-shadow: 0 0 0 .45em #fff; }
.ui-main { flex: 1; border-radius: 1.9em; padding: 1.2em; min-width: 0; display: flex; flex-direction: column; gap: 1em; }
.ui-main.solo { margin: 0; height: 100%; }

.ub { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .65em 1.1em; border-radius: 999px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.8); font-weight: 600; font-size: .92em; white-space: nowrap; }
.ub.ok { background: var(--mint); color: var(--night); border-color: var(--mint); }
.ub.primary { background: var(--night); color: #fff; border-color: var(--night); }

/* POS */
.pos { display: grid; grid-template-columns: 34% 1fr; gap: 1.1em; height: 100%; min-height: 0; }
.tk { display: flex; flex-direction: column; padding: 1.1em; min-height: 0; }
.tk-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7em; }
.tk-h b { font-size: 1.25em; }
.tk-h span { font-size: .8em; color: #5f5868; }
.tk-rows { list-style: none; margin: 0; padding: 0; flex: 1; overflow: hidden; }
.tk-rows li { display: grid; grid-template-columns: 1fr auto; gap: .1em .6em; padding: .6em 0; border-bottom: 1px solid rgba(40,30,20,.1); }
.tk-rows li span { font-weight: 600; font-size: .95em; }
.tk-rows li em { font-style: normal; font-size: .8em; color: #5f5868; grid-row: 2; }
.tk-rows li b { grid-row: 1 / 3; grid-column: 2; align-self: center; }
.tk-rows li.new { animation: rowIn .7s var(--ease); background: linear-gradient(90deg, rgba(18,201,155,.18), transparent); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-1em); } }
.tk-tot { display: flex; justify-content: space-between; align-items: baseline; padding: .8em 0; }
.tk-tot span { font-weight: 600; color: #5f5868; }
.tk-tot b { font-size: 2.3em; letter-spacing: -.03em; }
.tk-tot small, .pc b small { font-size: .55em; }
.tk-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6em; }
.pg { display: flex; flex-direction: column; gap: .8em; min-height: 0; min-width: 0; }
.pg-search { display: flex; align-items: center; gap: .6em; padding: .75em 1em; border-radius: 1em; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.8); color: #5f5868; font-size: .95em; }
.pg-search kbd { margin-left: auto; }
.mag { width: 1em; height: 1em; border: .16em solid #5f5868; border-radius: 50%; position: relative; }
.pg-chips { display: flex; gap: .5em; overflow: hidden; }
.pg-chips span { padding: .4em .9em; border-radius: 999px; font-size: .85em; font-weight: 600; background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.6); white-space: nowrap; }
.pg-chips span.on { background: var(--night); color: #fff; border-color: var(--night); }
.pg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.pc { position: relative; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); border-radius: 1.1em; padding: .55em; display: flex; flex-direction: column; gap: .3em; }
.pc span { font-size: .85em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc b { font-size: 1.05em; }
.pc.hit { animation: hit .6s var(--ease); }
@keyframes hit { 40% { transform: scale(.94); box-shadow: 0 0 0 .3em rgba(91,61,245,.35); } }
.ph { aspect-ratio: 4 / 3; border-radius: .8em; display: grid; place-items: center; font-size: 2.6em; line-height: 1; }
.ph.sm { width: 3.2em; aspect-ratio: 1; font-size: 1.4em; }
.p1 { background: linear-gradient(135deg, #e8f1ff, #c8dcff); }
.p2 { background: linear-gradient(135deg, #fff3dc, #ffe0a8); }
.p3 { background: linear-gradient(135deg, #f3f0ea, #e2dbcd); }
.p4 { background: linear-gradient(135deg, #efe4dc, #d7bfae); }
.p5 { background: linear-gradient(135deg, #ffe3e3, #ffc0c0); }
.p6 { background: linear-gradient(135deg, #fff0dd, #f3cf9c); }
.p7 { background: linear-gradient(135deg, #e3fbf3, #b4eedb); }
.p8 { background: linear-gradient(135deg, #f1edff, #d9d0ff); }
.badge { position: absolute; top: .4em; right: .4em; min-width: 1.7em; height: 1.7em; padding: 0 .4em; border-radius: 999px; background: var(--violet); color: #fff; font-style: normal; font-weight: 700; font-size: .8em; display: grid; place-items: center; box-shadow: 0 .3em .8em rgba(91,61,245,.4); }

/* Granel */
.modal-back { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(50,35,20,.18); }
.modal { width: 60%; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 2em; padding: 1.6em; display: flex; flex-direction: column; gap: 1.1em; box-shadow: 0 2em 5em rgba(40,25,10,.28); }
.m-h { display: flex; gap: .9em; align-items: center; }
.m-h b { display: block; font-size: 1.4em; }
.m-h span { color: #5f5868; font-size: .95em; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(21,18,58,.06); border-radius: 999px; padding: .3em; gap: .3em; }
.seg span { text-align: center; padding: .55em .4em; border-radius: 999px; font-weight: 600; font-size: .92em; color: #5f5868; white-space: nowrap; }
.seg span.on { background: #fff; color: var(--night); box-shadow: 0 .3em .9em rgba(0,0,0,.1); }
.seg.sm { display: inline-grid; font-size: .85em; }
.calc { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8em; }
.calc > div { background: #fff; border-radius: 1.2em; padding: .9em 1.1em; border: 1px solid rgba(21,18,58,.08); }
.calc span { display: block; font-size: .85em; color: #5f5868; font-weight: 600; }
.calc b { font-size: 2.6em; letter-spacing: -.04em; line-height: 1.1; }
.calc b small { font-size: .5em; }
.calc-in { box-shadow: 0 0 0 .2em rgba(91,61,245,.35); }
.calc-out b { color: var(--violet); }
.calc-eq { font-size: 2em; font-weight: 700; color: #5f5868; }
.quick { display: flex; gap: .6em; }
.quick span { flex: 1; text-align: center; padding: .55em; border-radius: .9em; background: rgba(21,18,58,.05); font-weight: 700; }
.quick span:first-child { background: var(--violet); color: #fff; }
.emb { display: flex; align-items: baseline; gap: .7em; padding: .8em 1em; border-radius: 1em; border: 1px dashed rgba(21,18,58,.2); }
.emb span { font-weight: 600; }
.emb b { margin-left: auto; }
.emb em { font-style: normal; font-size: .8em; color: var(--mint-d); font-weight: 700; }
.m-f { display: flex; justify-content: flex-end; gap: .6em; }

/* Hardware */
.hw { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: 1.2em; padding: 1.4em 31% 1.4em 1.4em; }
.hw-card { padding: 1.3em; display: flex; flex-direction: column; gap: .8em; }
.hw-card { font-size: 1.12em; }
.hw-card h4 { font-size: 1.35em; }
.hw-card .ub { align-self: flex-start; margin-top: auto; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.modes span { text-align: center; padding: .6em; border-radius: .9em; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.8); font-weight: 600; font-size: .9em; }
.modes span.on { background: var(--night); color: #fff; border-color: var(--night); }
.hw-row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(40,30,20,.1); padding-bottom: .5em; font-size: .95em; }
.hw-row span { color: #5f5868; }
.hw-st { display: flex; align-items: center; gap: .6em; font-weight: 700; color: var(--mint-d); font-size: .95em; }
.kg { display: flex; align-items: baseline; gap: .3em; background: var(--night); color: #7ef0cf; border-radius: 1.1em; padding: .5em .8em; font-variant-numeric: tabular-nums; }
.kg b { font-size: 3.6em; letter-spacing: -.02em; line-height: 1; }
.kg span { font-size: 1.4em; font-weight: 700; color: #b9f7e5; }
.paper { position: absolute; right: 3%; top: 0; width: 24%; background: #fff; padding: 1.4em 1.1em 2em; font-family: ui-monospace, Menlo, monospace; font-size: .85em; display: flex; flex-direction: column; align-items: center; gap: .3em;
  box-shadow: 0 1.4em 3em rgba(40,25,10,.25); transform: translateY(-100%); transition: transform 1.6s var(--ease) .3s; }
[data-screen="hardware"] .paper { transform: translateY(8%); }
.paper hr { width: 100%; border: 0; border-top: 1px dashed #999; margin: .5em 0; }
.paper p { width: 100%; display: flex; justify-content: space-between; gap: .5em; font-size: .9em; }
.paper p.t { font-weight: 700; font-size: 1.05em; }
.paper .cut { position: absolute; bottom: -.6em; left: 0; right: 0; height: 1.2em; background: radial-gradient(circle at 50% 0, #fff .5em, transparent .55em) 0 0 / 1.2em 1.2em repeat-x; }

/* Inventario */
.inv-h { display: flex; align-items: center; gap: .8em; }
.inv-h b { font-size: 1.7em; letter-spacing: -.02em; margin-right: auto; }
.tbl { border-radius: 1.3em; overflow: hidden; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.6); }
.tr { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; padding: 1.05em 1.3em; border-bottom: 1px solid rgba(40,30,20,.08); font-size: .95em; }
.tr:last-child { border: 0; }
.tr.th { background: rgba(250,246,241,.92); font-size: .75em; text-transform: uppercase; letter-spacing: .05em; color: #5f5868; font-weight: 700; }
.tr .low { color: #c0362f; font-weight: 700; }
.kdx { display: grid; gap: .5em; }
.kdx-i { display: flex; align-items: center; gap: .7em; padding: .9em 1.2em; border-radius: 1em; background: rgba(255,255,255,.5); font-size: .92em; }
.kdx-i b { margin-left: auto; }
.kdx-i i { width: .8em; height: .8em; border-radius: 50%; }
.kdx-i .in { background: var(--mint); }
.kdx-i .out { background: #f0645a; }
.kdx-i .mv { background: var(--violet); }

/* Reportes */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.kpi { padding: .9em 1.1em; display: flex; flex-direction: column; gap: .1em; }
.kpi span { font-size: .82em; color: #5f5868; font-weight: 600; }
.kpi b { font-size: 1.9em; letter-spacing: -.03em; }
.kpi em { font-style: normal; font-size: .75em; font-weight: 700; }
.chart { flex: 1; padding: 1.2em 1.4em 2.4em; min-height: 0; }
.bars { height: 100%; display: flex; align-items: flex-end; gap: 4%; }
.bars i { flex: 1; height: var(--h); border-radius: .7em .7em .3em .3em; background: linear-gradient(rgba(140,118,250,.9), rgba(91,61,245,.75)); position: relative;
  transform-origin: bottom; transform: scaleY(.05); transition: transform 1.1s var(--ease); }
.bars i.top { background: linear-gradient(#3fe0b6, var(--mint)); }
.bars i em { position: absolute; bottom: -1.7em; left: 0; right: 0; text-align: center; font-style: normal; font-size: .85em; color: #5f5868; font-weight: 600; }
[data-screen="reportes"] .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .06s; } .bars i:nth-child(3) { transition-delay: .12s; } .bars i:nth-child(4) { transition-delay: .18s; }
.bars i:nth-child(5) { transition-delay: .24s; } .bars i:nth-child(6) { transition-delay: .3s; } .bars i:nth-child(7) { transition-delay: .36s; }
.corte { display: flex; align-items: center; gap: 1.6em; padding: .9em 1.2em; font-size: .95em; }
.corte > b { margin-right: auto; }
.corte span { color: #5f5868; }
.corte span b { color: #1d1a2e; }
.corte .okt { font-weight: 700; color: var(--mint-d); }

/* Catálogo en celular */
.cu { position: absolute; inset: 0; font-size: 4.2cqw; background: #faf8f5; display: flex; flex-direction: column; text-align: left; color: #1d1a2e; line-height: 1.3; }
.cu-cover { padding: 4.4em 1.4em 1.4em; background: linear-gradient(140deg, var(--night), #2b2370 60%, var(--violet)); color: #fff; display: grid; grid-template-columns: auto 1fr; column-gap: .8em; align-items: center; }
.cu-cover img { width: 3em; height: 3em; grid-row: 1 / 3; background: #fff; border-radius: .9em; padding: .4em; }
.cu-cover b { font-size: 1.35em; }
.cu-cover span { opacity: .8; font-size: .9em; }
.cu-search { margin: 1em 1.2em .4em; padding: .8em 1em; border-radius: 999px; background: #fff; border: 1px solid #e8e4ee; color: #6b6676; font-size: .95em; }
.cu-list { flex: 1; overflow: hidden; padding: .4em 1.2em; display: grid; gap: .7em; align-content: start; }
.cu-i { display: grid; grid-template-columns: 3.6em 1fr auto; gap: .8em; align-items: center; background: #fff; border-radius: 1.2em; padding: .55em; box-shadow: 0 .3em 1em rgba(21,18,58,.06); }
.cu-i .ph { font-size: 1.7em; aspect-ratio: 1; border-radius: .5em; width: 100%; }
.cu-i b { display: block; font-size: .95em; }
.cu-i span { color: var(--violet); font-weight: 700; }
.cu-i i { font-style: normal; width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 700; }
.cu-cta { margin: .8em 1.2em 2.2em; padding: 1em; border-radius: 999px; background: #1fae5b; color: #fff; text-align: center; font-weight: 700; box-shadow: 0 .6em 1.4em rgba(31,174,91,.35); }

/* Restaurante */
.rs { position: absolute; inset: 0; display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.1em; padding: 1.2em; }
.rs-mesas, .rs-kds { border-radius: 1.8em; padding: 1.2em; display: flex; flex-direction: column; gap: 1em; min-height: 0; }
.rs-h { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.rs-h > b { font-size: 1.6em; letter-spacing: -.02em; }
.mesas { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; flex: 1; }
.mesa { border-radius: 1.3em; padding: .9em 1em; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); display: flex; flex-direction: column; gap: .15em; }
.mesa b { font-size: 2em; letter-spacing: -.03em; line-height: 1; }
.mesa span { font-weight: 600; font-size: .9em; color: #5f5868; }
.mesa em { font-style: normal; font-size: .85em; font-weight: 700; margin-top: auto; }
.mesa.busy { background: rgba(91,61,245,.16); border-color: rgba(91,61,245,.3); }
.mesa.busy span { color: var(--violet-d); }
.mesa.pay { background: rgba(255,176,50,.28); border-color: rgba(200,120,0,.3); }
.mesa.pay span { color: #8a4f00; }
.mesa.ready { box-shadow: 0 0 0 .22em var(--mint); }
.mesa.ready span { color: var(--mint-d); }
.split { display: grid; grid-template-columns: 1fr auto; gap: .5em 1em; padding: .9em 1.1em; align-items: center; }
.split > span { font-weight: 800; font-size: 1.3em; }
.tips { grid-column: 1 / -1; display: flex; gap: .5em; align-items: center; }
.tips span { color: #5f5868; font-weight: 600; margin-right: .3em; }
.tips i { font-style: normal; padding: .35em .9em; border-radius: 999px; background: rgba(255,255,255,.7); font-weight: 700; font-size: .9em; }
.tips i.on { background: var(--night); color: #fff; }
.cmd { border-radius: 1.2em; background: rgba(255,255,255,.7); padding: .8em 1em; border-left: .4em solid var(--mint); }
.cmd.mid { border-left-color: #f5a524; }
.cmd.late { border-left-color: #f0645a; }
.cmd-h { display: flex; justify-content: space-between; margin-bottom: .4em; }
.cmd-h em { font-style: normal; font-weight: 700; font-size: .85em; }
.cmd.late .cmd-h em { color: #c0362f; }
.cmd p { font-size: .95em; font-weight: 600; }
.cmd p + p { margin-top: .2em; }
.cmd small { color: #5f5868; font-weight: 500; font-style: italic; }

/* =========================================================
   Recorrido sticky
   ========================================================= */
.tour { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); background: var(--bg-2); }
.tour-grid { max-width: 1320px; margin: clamp(50px, 7vw, 90px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 80px); }
.tour-sticky { position: relative; }
.tour-device { position: sticky; top: calc(50vh - min(26vw, 300px)); }
.ts { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); transform: scale(1.03); pointer-events: none; }
.ts > .ui { position: absolute; }
.monitor[data-screen="pos"] [data-s="pos"], .monitor[data-screen="granel"] [data-s="granel"], .monitor[data-screen="hardware"] [data-s="hardware"],
.monitor[data-screen="inventario"] [data-s="inventario"], .monitor[data-screen="reportes"] [data-s="reportes"] { opacity: 1; transform: none; }
.tour-steps { padding: 18vh 0 22vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.step.on { opacity: 1; }
.no-js .step, .reduced .step { opacity: 1; }
.step-k { font-weight: 700; color: var(--violet); font-size: 17px; margin-bottom: 10px; }
.step h3 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: var(--night); text-wrap: balance; }
.step > p:not(.step-k) { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); margin-top: 18px; font-weight: 500; }
.keys { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.keys li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 6px 12px 6px 6px; border-radius: 999px; }
.keys kbd { background: var(--night); color: #fff; border: 0; padding: 4px 8px; border-radius: 999px; }

@media (max-width: 900px) {
  .tour-grid { grid-template-columns: 1fr; gap: 0; }
  .tour-sticky { position: sticky; top: 56px; z-index: 2; background: var(--bg-2); padding: 14px 0 10px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter);
    box-shadow: 0 14px 20px -14px rgba(21,18,58,.18); }
  .tour-device { position: static; max-width: 560px; margin: 0 auto; }
  .monitor-stand { height: 18px; }
  .mock-note { margin-top: 6px; font-size: 12px; }
  .tour-steps { padding: 8vh 0 10vh; }
  .step { min-height: 62vh; justify-content: flex-start; padding-top: 6vh; }
}

/* =========================================================
   Declaración oscura
   ========================================================= */
.statement { background: var(--night-2); padding: clamp(110px, 18vw, 240px) var(--gutter); }
.lit { max-width: 1060px; margin: 0 auto; font-size: clamp(32px, 5.4vw, 72px); line-height: 1.12; letter-spacing: -.04em; font-weight: 800; color: #fff; text-wrap: balance; }
.lit .w { opacity: .18; transition: opacity .4s; }
.lit .w.on { opacity: 1; }

/* =========================================================
   Herramientas (bento)
   ========================================================= */
.tools { padding: clamp(90px, 12vw, 160px) 0; }
.bento { max-width: var(--max); margin: clamp(50px, 6vw, 80px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--bg-2); border-radius: 28px; padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 26px; overflow: hidden; min-height: 330px; transition: transform .5s var(--ease), box-shadow .5s, opacity 1s var(--ease); }
.tile:hover { box-shadow: 0 24px 50px rgba(21,18,58,.08); }
.tile.t-wide { grid-column: span 2; flex-direction: row; align-items: center; }
.tile.t-wide .tile-txt { flex: 1; }
.tile.t-wide .tile-art { flex: 1.1; }
.tile h3 { font-size: clamp(24px, 2.3vw, 30px); letter-spacing: -.03em; line-height: 1.12; font-weight: 800; color: var(--night); }
.tile p { color: var(--muted); margin-top: 10px; font-size: 16px; font-weight: 500; }
.tile-art { margin-top: auto; }
.bento .reveal:nth-child(3n+2) { transition-delay: .08s; }
.bento .reveal:nth-child(3n) { transition-delay: .16s; }

.scale-tbl { background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 12px 30px rgba(21,18,58,.08); }
.scale-tbl div { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 14px; font-weight: 600; }
.scale-tbl div + div { border-top: 1px solid var(--line); }
.scale-tbl .hl { background: rgba(91,61,245,.09); color: var(--violet-d); border-top-color: transparent; }
.scale-tbl .hl + div { border-top-color: transparent; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiers span { text-align: center; padding: 10px 4px; border-radius: 14px; font-weight: 700; font-size: 14px; color: #fff; }
.tiers .br { background: linear-gradient(135deg, #b87333, #8a5226); }
.tiers .pl { background: linear-gradient(135deg, #9ea3b0, #6f7482); }
.tiers .au { background: linear-gradient(135deg, #e6b422, #b8860b); color: #2a1d00; }
.prog { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(21,18,58,.08); overflow: hidden; margin-top: 8px; }
.prog i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--mint)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
.in .prog i, .no-js .prog i { transform: none; }
.tiers em { grid-column: 1 / -1; font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); }
.coupon { background: var(--night); color: #fff; border-radius: 18px; padding: 20px 22px; position: relative; display: flex; flex-direction: column; gap: 4px;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 12px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 13px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 12px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 12px, #000 13px) right / 51% 100% no-repeat; }
.coupon b { font: 700 22px ui-monospace, Menlo, monospace; letter-spacing: .06em; color: #7ef0cf; }
.coupon span { font-size: 14px; opacity: .85; }
.credit { background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 12px 30px rgba(21,18,58,.08); display: grid; gap: 8px; }
.cr-h, .cr-f { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.cr-h span, .cr-f span:first-child { color: var(--muted); }
.cfdi { position: relative; height: 130px; }
.doc { position: absolute; left: 10%; top: 0; width: 56%; height: 100%; background: #fff; border-radius: 12px; box-shadow: 0 14px 30px rgba(21,18,58,.1); padding: 18px; display: grid; gap: 9px; align-content: start; transform: rotate(-3deg); }
.doc i { height: 8px; border-radius: 4px; background: #e6e3ee; }
.doc i.s { width: 60%; }
.stamp { position: absolute; right: 8%; bottom: 12%; transform: rotate(-8deg); border: 3px solid var(--mint-d); color: var(--mint-d); font-weight: 800; padding: 6px 14px; border-radius: 10px; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; background: rgba(255,255,255,.85); }
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow span { padding: 9px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.flow span.done { color: var(--mint-d); border-color: rgba(8,135,95,.3); }
.flow span.now { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: 0 8px 20px rgba(91,61,245,.3); }
.flow i { flex: 0 0 18px; height: 2px; background: rgba(21,18,58,.2); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #fff; border: 1px solid var(--line); }
.roles span:first-child { background: var(--night); color: #fff; border-color: var(--night); }
.roles kbd { margin-right: 4px; }
.roles span:first-child kbd { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.25); }
.buy { background: #fff; border-radius: 20px; padding: 18px 20px; display: grid; gap: 10px; box-shadow: 0 12px 30px rgba(21,18,58,.08); }
.buy div { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.buy div + div { border-top: 1px solid var(--line); padding-top: 10px; }
.buy b.sm { font-size: 16px; color: var(--night); }
.buy b { font-size: 30px; letter-spacing: -.03em; color: var(--mint-d); }
.buy span { font-weight: 600; color: var(--muted); }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.t-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile { min-height: 0; }
  .tile.t-wide { flex-direction: column; align-items: stretch; }
}

/* =========================================================
   Catálogo
   ========================================================= */
.cat { padding: clamp(90px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--bg-2), #efecf8); overflow: hidden; }
.cat-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.cat .sec-t { text-align: left; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315123A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cat-art { position: relative; display: flex; justify-content: center; padding: 10px 0 40px; }
.cat-art .phone { max-width: 310px; }
.chat { position: absolute; right: -2%; bottom: 8%; width: min(270px, 62%); display: grid; gap: 8px; }
.bub { background: #dcf8c6; color: #10260f; border-radius: 18px 18px 4px 18px; padding: 12px 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 18px 40px rgba(21,18,58,.16); }
.pdf { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px rgba(21,18,58,.14); justify-self: end; }
.pdf i { font-style: normal; background: #e5484d; color: #fff; font-size: 11px; font-weight: 800; padding: 6px 7px; border-radius: 6px; }
@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-art .phone { max-width: 260px; margin-right: 18%; }
  .chat { right: 0; }
}

/* =========================================================
   Restaurante (oscura)
   ========================================================= */
.resto { background: radial-gradient(70% 50% at 50% 0%, #241d63 0%, var(--night-2) 60%); color: #fff; padding: clamp(100px, 13vw, 170px) 0 clamp(90px, 11vw, 150px); overflow: hidden; }
.resto .sec-t { color: #fff; }
.resto .sec-sub { color: #c3bfe0; }
.resto-pts { list-style: none; max-width: var(--max); margin: clamp(50px, 6vw, 80px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.resto-pts li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.resto-pts b { display: block; font-size: 19px; letter-spacing: -.02em; }
.resto-pts span { display: block; color: #c3bfe0; margin-top: 6px; font-size: 15px; }
.resto-pts li:nth-child(2) { transition-delay: .08s; } .resto-pts li:nth-child(3) { transition-delay: .16s; } .resto-pts li:nth-child(4) { transition-delay: .24s; }
@media (max-width: 860px) { .resto-pts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .resto-pts { grid-template-columns: 1fr; gap: 20px; } }

/* =========================================================
   Dispositivos
   ========================================================= */
.devices { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); overflow: hidden; }
.dev-stage { position: relative; max-width: 1100px; margin: clamp(50px, 7vw, 90px) auto 0; padding: 0 var(--gutter) 0; }
.dev-lap { width: 86%; margin: 0; }
.dev-ph { position: absolute; right: var(--gutter); bottom: -2%; width: 22%; max-width: 240px; }
@media (max-width: 640px) { .dev-lap { width: 92%; } .dev-ph { width: 30%; } }

/* =========================================================
   Planes
   ========================================================= */
.plans { padding: clamp(90px, 12vw, 160px) 0; background: var(--bg-2); }
.period { display: inline-flex; margin-top: 30px; padding: 4px; background: #fff; border-radius: 999px; border: 1px solid var(--line); }
.period button { font: inherit; font-size: 15px; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.period button.on { background: var(--night); color: #fff; }
.period button span { font-size: 12px; background: rgba(18,201,155,.18); color: var(--mint-d); padding: 2px 8px; border-radius: 999px; }
.period button.on span { background: var(--mint); color: var(--night); }
.plan-grid { max-width: var(--max); margin: clamp(44px, 5vw, 70px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border-radius: 28px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; border: 1px solid var(--line); position: relative; }
.plan.featured { border: 2px solid var(--violet); box-shadow: 0 30px 70px rgba(91,61,245,.16); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--violet); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 30px; letter-spacing: -.03em; font-weight: 800; color: var(--night); }
.plan-for { color: var(--muted); margin-top: 4px; font-size: 15px; font-weight: 500; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: clamp(44px, 4.4vw, 56px); letter-spacing: -.05em; font-weight: 800; color: var(--night); line-height: 1; }
.price span { color: var(--muted); font-size: 15px; font-weight: 600; }
.plan-lim { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--violet-d); }
.plan .btn { margin-top: 24px; width: 100%; }
.plan .btn-ghost { border: 1px solid var(--violet); }
.plan ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.plan li { padding-left: 28px; position: relative; font-size: 15px; font-weight: 500; }
.plan li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: rgba(18,201,155,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308875f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan li.plus { font-weight: 700; padding-left: 0; color: var(--night); }
.plan li.plus::before { display: none; }
.plans-note { max-width: 760px; margin: 34px auto 0; padding: 0 var(--gutter); text-align: center; color: var(--muted); font-size: 14px; }
.plan-grid .reveal:nth-child(2) { transition-delay: .08s; } .plan-grid .reveal:nth-child(3) { transition-delay: .16s; }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; gap: 28px; }
}

/* =========================================================
   Preguntas
   ========================================================= */
.faq { padding: clamp(90px, 12vw, 160px) 0; }
.faq-list { max-width: 860px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--gutter); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: -.02em; color: var(--night); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg-2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B3DF5' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--violet); }
.faq details p { padding: 0 44px 26px 0; color: var(--muted); font-size: 17px; }

/* =========================================================
   CTA final y pie
   ========================================================= */
.final { padding: clamp(80px, 11vw, 150px) var(--gutter) clamp(100px, 13vw, 170px); text-align: center; background: radial-gradient(60% 60% at 50% 100%, rgba(91,61,245,.12), transparent 70%), radial-gradient(40% 40% at 70% 90%, rgba(18,201,155,.12), transparent 70%); }
.final-logo { margin: 0 auto 28px; width: clamp(72px, 8vw, 96px); height: auto; border-radius: 22%; box-shadow: 0 20px 50px rgba(21,18,58,.25); }
.final-t { font-size: clamp(44px, 8vw, 104px); line-height: 1; letter-spacing: -.055em; font-weight: 800; color: var(--night); }

.foot { background: var(--night-2); color: #c3bfe0; padding: 64px var(--gutter) 28px; font-size: 14px; }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 280px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.foot-cols h3 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.foot-cols a, .foot-cols span { display: block; text-decoration: none; padding: 5px 0; }
.foot-cols a:hover { color: #fff; text-decoration: underline; }
.pending { color: #8f8ab3; font-style: italic; }
.foot-legal { max-width: var(--max); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot :focus-visible { outline-color: var(--mint); }
@media (max-width: 760px) {
  .foot-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Ajustes de celular
   ========================================================= */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-ctas { flex-direction: column; gap: 18px; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .laptop-base { margin: 0 -4%; }
  .modal { width: 70%; }
}

/* (ver ajustes finos al final) */
/* =========================================================
   Movimiento reducido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  #hero-laptop { transform: none !important; }
  [data-parallax] { transform: none !important; }
  .lit .w { opacity: 1; }
  .step { opacity: 1; }
  .prog i, .bars i { transform: none; }
  .paper { transform: translateY(8%); }
}

/* Ajustes finos de mockups */
.tablet .ui { font-size: 1.55cqw; }
@media (max-width: 560px) {
  .chat { width: 62%; bottom: 4%; }
  .bub { font-size: 12.5px; padding: 10px 12px; }
  .pdf { font-size: 12.5px; }
}
