  [hidden] { display: none !important; }
  /* Página clara y aireada: titular centrado, tarjetas redondeadas con fotos de restaurante y la app flotando encima,
     y en el centro una tablet con la demo guiada. Outfit para la página; Archivo, la letra real de la app, dentro de la tablet. */
  :root {
    --bg: #ffffff;
    --soft: #f3f6f2;
    --soft-2: #e9efe8;
    --ink: #101a14;
    --muted: #59645d;
    --line: #e3e8e2;
    --accent: #0f7d45;
    --accent-hover: #0b6638;
    --accent-ink: #ffffff;
    --mint: #dff1e5;
    --card-sage: #7e9f87;
    --card-blue: #7c95b4;
    --card-taupe: #a78a73;
    --card-lilac: #9d90c4;
    --card-sand: #c3a06c;
    --float: #ffffff;
    --float-ink: #101a14;
    --shadow: 0 18px 50px rgba(16, 26, 20, 0.14), 0 2px 6px rgba(16, 26, 20, 0.06);
    --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --app: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --radius-xl: 32px;
    --radius-lg: 22px;
    --ease: cubic-bezier(.2, .7, .2, 1);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0d1310; --soft: #151d18; --soft-2: #1c2620; --ink: #eef3ef; --muted: #a3afa7; --line: #26312b;
      --accent: #22a35f; --accent-hover: #2bb86c; --accent-ink: #04120a; --mint: #173323;
      --float: #ffffff; --float-ink: #101a14;
      --shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0d1310; --soft: #151d18; --soft-2: #1c2620; --ink: #eef3ef; --muted: #a3afa7; --line: #26312b;
    --accent: #22a35f; --accent-hover: #2bb86c; --accent-ink: #04120a; --mint: #173323;
    --float: #ffffff; --float-ink: #101a14;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
  p { margin: 0; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
    border-radius: 999px; border: 0; font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
    transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s, box-shadow .18s;
  }
  .btn:active { transform: scale(.97); }
  .btn-primary { background: var(--accent); color: var(--accent-ink); }
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-dark { background: var(--ink); color: var(--bg); }
  .btn-dark:hover { background: var(--accent); color: var(--accent-ink); }
  .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn .arrow { width: 18px; height: 18px; }
  .chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; }
  .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 6px; }
  .chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
  .label { font-size: 14px; font-weight: 500; color: var(--accent); }
  .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

  /* ─── Navegación ─── */
  .nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--bg); }
  .nav-row { display: flex; align-items: center; gap: 28px; height: 76px; }
  .logo { display: block; width: 92px; color: var(--ink); }
  .logo svg { display: block; width: 100%; height: auto; }
  .nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
  .nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
  .nav-links a:hover { color: var(--ink); }
  .nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

  /* ─── Portada ─── */
  .hero { text-align: center; padding-block: 56px 0; display: grid; justify-items: center; gap: 22px; }
  .hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); font-weight: 600; max-width: 14ch; }
  .hero .sub { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--muted); max-width: 46ch; }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
  .hero-note { font-size: 14px; color: var(--muted); }

  .cards { display: flex; gap: 18px; margin-top: 56px; padding-inline: max(20px, calc((100vw - 1240px) / 2 + 20px)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 28px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { position: relative; flex: 0 0 clamp(260px, 24vw, 330px); height: clamp(400px, 38vw, 480px); border-radius: var(--radius-xl); overflow: hidden; scroll-snap-align: center; color: #fff; text-decoration: none; isolation: isolate; transition: transform .35s var(--ease); }
  .card:hover { transform: translateY(-6px); }
  .card:nth-child(2n) { margin-top: 36px; }
  .card img { position: absolute; inset: auto 0 0 0; width: 100%; height: 72%; object-fit: cover; border-radius: 26px 26px 0 0; z-index: -1; }
  .card .c-head { padding: 22px 22px 0; display: grid; gap: 6px; }
  .card .c-tag { font-size: 13px; opacity: .85; }
  .card .c-title { font-size: 26px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; max-width: 11ch; }
  .card .c-go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; transition: background-color .2s, transform .2s; }
  .card:hover .c-go { background: rgba(255, 255, 255, .4); transform: rotate(45deg); }
  .card .c-go svg { width: 18px; height: 18px; }
  .float { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--float); color: var(--float-ink); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); font-family: var(--app); font-size: 14px; display: grid; gap: 6px; animation: float-in .7s var(--ease) both; animation-delay: var(--fd, .4s); }
  .float b { font-weight: 600; }
  .float .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .float .pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #e3f2e8; color: #1f7a4c; white-space: nowrap; }
  .float .pill.warn { background: #fbefdb; color: #8a5208; }
  .float .muted { color: #59625c; font-size: 13px; }
  @keyframes float-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

  /* ─── Cifras ─── */
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 110px; }
  .fact { background: var(--soft); border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 10px; align-content: start; }
  .fact strong { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
  .fact h3 { font-size: 20px; letter-spacing: -0.01em; }
  .fact p { color: var(--muted); }

  section { scroll-margin-top: 90px; }
  .sec { padding-top: clamp(96px, 11vw, 150px); }
  .sec-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: 44px; }
  .sec-head h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); max-width: 18ch; }
  .sec-head p { color: var(--muted); max-width: 52ch; font-size: 18px; }

  /* ─── Demo guiada ─── */
  .demo { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
  .chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: sticky; top: 100px; }
  .chapters button { width: 100%; text-align: left; border: 0; background: transparent; color: var(--muted); font: 500 16px/1.3 var(--font); padding: 12px 14px; border-radius: 14px; cursor: pointer; display: flex; gap: 12px; align-items: center; transition: background-color .2s, color .2s; }
  .chapters button:hover { background: var(--soft); color: var(--ink); }
  .chapters .n { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); color: var(--ink); font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s; }
  .chapters [aria-current="step"] { background: var(--mint); color: var(--ink); }
  .chapters [aria-current="step"] .n { background: var(--accent); color: var(--accent-ink); }
  .chapters .done .n { background: var(--accent); color: var(--accent-ink); }
  .chapters small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
  .demo-side-foot { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; padding-inline: 14px; }
  .linkbtn { border: 0; background: none; color: var(--muted); font: 500 14px/1 var(--font); cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
  .linkbtn:hover { color: var(--ink); }

  .device { background: #15191a; border-radius: 34px; padding: 16px; box-shadow: var(--shadow); }
  .screen-fit { position: relative; width: 100%; border-radius: 20px; overflow: hidden; background: #f5f6f4; }
  .stage { position: absolute; top: 0; left: 0; width: 1000px; height: 660px; transform-origin: 0 0; font-family: var(--app); color: #16201b; background: #f5f6f4; overflow: hidden; }
  .demo-caption { margin-top: 16px; text-align: center; color: var(--muted); font-size: 14px; }

  @keyframes line-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  /* La app dentro de la tablet: el diseño real de la app (Archivo, fondo gris azulado, rojo de marca, tarjetas de 16px). */
  .stage { --a-bg: #f5f6f9; --a-fg: #1f2633; --a-card: #ffffff; --a-border: #e6e8ee; --a-input: #858b98; --a-primary: #c1381f; --a-primary-10: rgba(193, 56, 31, .1);
    --a-muted: #f2f3f6; --a-muted-fg: #626a78; --a-success: #227a52; --a-success-soft: #e9f7ef; --a-warning: #9c5a13; --a-warning-soft: #fdf3e0;
    --a-destructive: #ca2121; --a-destructive-soft: #fef1f1; --a-info: #1e56b3; --a-info-soft: #ebf2fd; --a-dark: #171717;
    --a-shadow: 0 1px 2px 0 rgb(15 23 42 / .05), 0 6px 20px -8px rgb(15 23 42 / .08); background: var(--a-bg); color: var(--a-fg); font-variant-numeric: tabular-nums; }
  .app { position: absolute; inset: 0; display: grid; grid-template-columns: 80px 1fr; }
  .side { background: #fff; box-shadow: 1px 0 0 rgba(230, 232, 238, .7); display: flex; flex-direction: column; align-items: center; }
  .side .logo-row { height: 56px; width: 100%; display: grid; place-items: center; box-shadow: 0 1px 0 var(--a-border); }
  .side .mk { width: 32px; height: 32px; }
  .side nav { display: grid; gap: 4px; padding: 10px 12px; }
  .side nav span { width: 48px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--a-muted-fg); position: relative; }
  .side nav span.on { background: var(--a-primary-10); color: var(--a-primary); }
  .side nav svg { width: 18px; height: 18px; }
  .side nav i { position: absolute; top: 2px; right: 0; font-style: normal; font-size: 10px; font-weight: 600; background: var(--a-success); color: #fff; border-radius: 999px; padding: 1px 6px; }
  .side .user { margin-top: auto; width: 100%; display: grid; place-items: center; padding: 12px 0; box-shadow: 0 -1px 0 var(--a-border); }
  .side .user b { width: 32px; height: 32px; border-radius: 50%; background: #f1f2f6; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
  .main { position: relative; display: flex; flex-direction: column; min-width: 0; }
  .bar { height: 56px; flex: 0 0 56px; background: #fff; box-shadow: 0 1px 0 var(--a-border); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; gap: 12px; }
  .bar .ttl { font-size: 18px; font-weight: 600; }
  .bar .ttl.dim-t { font-weight: 500; color: var(--a-muted-fg); }
  .bar .r { display: flex; align-items: center; gap: 12px; }
  .bar .search { height: 44px; padding: 0 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a-border); display: flex; align-items: center; gap: 8px; color: var(--a-muted-fg); font-size: 14px; }
  .bar .covers { background: #f1f2f6; border-radius: 999px; padding: 6px 12px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
  .bar .covers::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--a-primary); }
  .bar .covers span { color: var(--a-muted-fg); }
  .bar .bell { width: 44px; height: 44px; display: grid; place-items: center; position: relative; color: var(--a-fg); }
  .bar .bell b { position: absolute; top: 4px; right: 4px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--a-primary); color: #fff; font-size: 12px; display: grid; place-items: center; }
  .stage svg { width: 18px; height: 18px; flex: 0 0 auto; }
  .stage .mk { width: 32px; height: 32px; }
  .doneA svg.ck { width: 56px; height: 56px; }
  .slotA .h b svg { width: 20px; height: 20px; }
  .body { flex: 1; padding: 22px 24px; overflow: hidden; position: relative; }
  .ph h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.2; font-family: var(--app); }
  .ph p { font-size: 14px; color: var(--a-muted-fg); margin-top: 4px; }
  .ph-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
  .tabs { display: inline-flex; background: var(--a-muted); border-radius: 16px; padding: 4px; gap: 4px; margin-top: 16px; }
  .tabs span { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--a-muted-fg); display: flex; align-items: center; }
  .tabs span.on { background: #fff; color: var(--a-fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
  .tabs.red span.on { background: var(--a-primary); color: #fff; }
  .btn-a { border: 0; border-radius: 12px; min-height: 44px; padding: 0 16px; font: 500 14px/1 var(--app); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: transform .12s cubic-bezier(.23, 1, .32, 1), opacity .2s; }
  .btn-a:active { transform: scale(.97); }
  .btn-a[disabled] { opacity: .5; cursor: default; }
  .btn-a svg { width: 18px; height: 18px; }
  .btn-a.primary { background: var(--a-primary); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
  .btn-a.success { background: var(--a-success); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
  .btn-a.dark { background: var(--a-dark); color: #fff; }
  .btn-a.outline { background: #fff; color: var(--a-fg); box-shadow: inset 0 0 0 1px var(--a-border); }
  .btn-a.ghost { background: transparent; color: var(--a-fg); }
  .btn-a.lg { min-height: 52px; padding: 0 24px; }
  .btn-a.xl { min-height: 56px; padding: 0 28px; font-size: 16px; }
  .btn-a.full { width: 100%; }
  .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 500; }
  .badge.success { background: var(--a-success-soft); color: var(--a-success); }
  .badge.warning { background: var(--a-warning-soft); color: var(--a-warning); }
  .badge.secondary { background: #f1f2f6; color: #2a3140; }
  .badge.outline { box-shadow: inset 0 0 0 1px var(--a-border); }
  .badge.info { background: var(--a-info-soft); color: var(--a-info); }
  .cardA { background: #fff; border-radius: 16px; box-shadow: var(--a-shadow); }

  /* Mapa de mesas */
  .zones { display: flex; justify-content: space-between; align-items: flex-end; box-shadow: inset 0 -1px 0 var(--a-border); }
  .zones .z { display: flex; }
  .zones .z span { height: 44px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--a-muted-fg); display: flex; align-items: center; box-shadow: inset 0 -2px 0 transparent; }
  .zones .z span.on { color: var(--a-fg); box-shadow: inset 0 -2px 0 var(--a-primary); }
  .views { display: flex; padding: 4px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--a-border); margin-bottom: 6px; }
  .views span { height: 36px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 500; display: flex; align-items: center; color: var(--a-muted-fg); }
  .views span.on { background: var(--a-dark); color: #fff; }
  .floor-meta { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 12px; gap: 12px; }
  .sum { background: var(--a-muted); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--a-muted-fg); }
  .sum b { color: var(--a-fg); }
  .legendA { display: flex; gap: 12px; }
  .legendA span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
  .legendA i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid; }
  .tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .tile { position: relative; min-height: 112px; border-radius: 20px; border: 2px solid; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); cursor: pointer; font: inherit; transition: transform .12s; }
  .tile:active { transform: scale(.97); }
  .tile small { font-size: 12px; font-weight: 500; color: #525252; }
  .tile b { font-size: 32px; font-weight: 700; color: #171717; line-height: 1; }
  .tile em { font-style: normal; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
  .tile em .d { width: 8px; height: 8px; border-radius: 50%; }
  .tile .amt { color: #171717; font-weight: 700; }
  .tile .rd { position: absolute; top: 8px; right: 8px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--a-success); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; padding: 0 4px; }
  .t-free { background: #f0fdf4; border-color: #16a34a; } .t-free em { color: #15803d; }
  .t-res { background: #eff6ff; border-color: #3b82f6; } .t-res em { color: #1d4ed8; }
  .t-occ { background: #fef2f2; border-color: #ef4444; } .t-occ .d { background: #ef4444; }
  .t-bill { background: #f5f3ff; border-color: #8b5cf6; } .t-bill em.cp { color: #6d28d9; font-size: 12px; }
  .t-clean { background: #fff7ed; border-color: #ea580c; } .t-clean em { color: #9a3412; }

  /* Comanda */
  .back { min-height: 40px; padding: 0 8px; margin: -6px 0 8px -8px; color: var(--a-fg); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
  .orderA { display: grid; grid-template-columns: 340px 1fr; gap: 12px; height: calc(100% - 42px); }
  .tk { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
  .tk-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
  .tk-h .t { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
  .tk-h .t b { font-size: 18px; font-weight: 600; }
  .tk-h .t span { font-size: 14px; color: var(--a-muted-fg); }
  .tk-h .tot { text-align: right; }
  .tk-h .tot small { display: block; font-size: 12px; color: var(--a-muted-fg); }
  .tk-h .tot b { font-size: 20px; font-weight: 700; color: var(--a-primary); }
  .tk-lines { flex: 1; display: grid; align-content: start; }
  .tl { padding: 8px; box-shadow: 0 1px 0 var(--a-border); animation: line-in .3s var(--ease) both; }
  .tl .r1 { display: flex; gap: 8px; font-size: 14px; }
  .tl .r1 b { min-width: 22px; font-weight: 600; }
  .tl .r1 span { flex: 1; font-weight: 500; }
  .tl .st { font-size: 12px; font-weight: 500; margin: 2px 0 0 30px; color: var(--a-muted-fg); }
  .tl .st.kitchen { color: var(--a-warning); }
  .tk-empty { font-size: 14px; color: var(--a-muted-fg); padding: 8px; }
  .tk-foot { display: grid; gap: 8px; padding-top: 10px; box-shadow: 0 -1px 0 var(--a-border); }
  .pp { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .sbox { height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a-input); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--a-muted-fg); font-size: 14px; }
  .seg { display: inline-flex; background: var(--a-muted); border-radius: 16px; padding: 4px; gap: 4px; align-self: flex-start; }
  .seg span { height: 36px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--a-muted-fg); display: flex; align-items: center; gap: 6px; }
  .seg span.on { background: #fff; color: var(--a-fg); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
  .seg i { width: 8px; height: 8px; border-radius: 50%; }
  .pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pt { border: 0; padding: 0; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--a-border); overflow: hidden; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .12s; }
  .pt:active { transform: scale(.97); }
  .pt .img { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 30px; font-weight: 700; }
  .pt .tx { padding: 8px; display: grid; gap: 2px; }
  .pt .tx b { font-size: 14px; font-weight: 500; line-height: 1.2; }
  .pt .tx span { font-size: 14px; font-weight: 600; color: var(--a-primary); }

  /* Cocina */
  .kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
  .kc { background: #fff; border-radius: 16px; padding: 16px; border: 4px solid rgba(31, 38, 51, .2); display: grid; gap: 12px; }
  .kc.warn { border-color: var(--a-warning); }
  .kc.late { border-color: var(--a-destructive); }
  .kc.ok { border-color: var(--a-success); }
  .kc.new { animation: line-in .4s var(--ease) both; }
  .kc-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .kc.late .kc-h { margin: -16px -16px 0; padding: 12px 16px; background: var(--a-destructive); color: #fff; border-radius: 12px 12px 0 0; }
  .kc-h b { font-size: 24px; font-weight: 700; display: block; line-height: 1.1; }
  .kc-h small { font-size: 14px; color: var(--a-muted-fg); }
  .kc.late .kc-h small { color: #ffe2df; }
  .pill-t { border-radius: 999px; padding: 4px 12px; font-size: 20px; font-weight: 700; background: var(--a-muted); white-space: nowrap; }
  .kc.warn .pill-t { background: var(--a-warning-soft); color: var(--a-warning); }
  .kc.late .pill-t { background: #fff; color: var(--a-destructive); }
  .kc.ok .pill-t { background: var(--a-success-soft); color: var(--a-success); font-size: 16px; }
  .ki2 { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--a-border); padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .ki2.ok { box-shadow: inset 0 0 0 1px var(--a-success); background: var(--a-success-soft); }
  .ki2 p { margin: 0; font-size: 16px; font-weight: 600; }
  .ki2 small { display: block; font-size: 13px; color: var(--a-muted-fg); font-weight: 400; }
  .ki2 em { display: block; font-style: normal; font-size: 13px; font-weight: 600; color: var(--a-warning); }
  .ki2.ok em { color: var(--a-success); }
  .ki2 .btn-a { min-height: 48px; padding: 0 16px; font-size: 15px; }
  .ki2.ok .btn-a { background: #fff; color: var(--a-fg); box-shadow: inset 0 0 0 1px var(--a-input); }

  /* Cobro: hoja lateral */
  .dim { position: absolute; inset: 0; background: rgba(15, 23, 42, .4); animation: fade .2s both; }
  .sheetA { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; background: #fff; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); display: flex; flex-direction: column; animation: slide .35s var(--ease) both; }
  @keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .sh-h { padding: 12px 16px; box-shadow: 0 1px 0 var(--a-border); display: flex; justify-content: space-between; align-items: center; }
  .sh-h b { font-size: 18px; font-weight: 600; display: block; }
  .sh-h small { font-size: 14px; color: var(--a-muted-fg); }
  .sh-tot { padding: 12px 16px; box-shadow: 0 1px 0 var(--a-border); }
  .sh-tot small { font-size: 14px; color: var(--a-muted-fg); }
  .sh-tot b { display: block; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
  .sh-body { padding: 16px; display: grid; gap: 12px; align-content: start; flex: 1; }
  .sh-body h5 { margin: 0; font-size: 16px; font-weight: 600; }
  .meth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .meth .btn-a { min-height: 56px; font-size: 18px; font-weight: 600; }
  .meth .btn-a.picked { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--a-fg); }
  .meth .btn-a.faded { opacity: .5; }
  .sec-row { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--a-border); min-height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; font-size: 14px; font-weight: 500; }
  .sec-row span { color: var(--a-muted-fg); font-weight: 400; }
  .sh-foot { padding: 16px; box-shadow: 0 -1px 0 var(--a-border); display: grid; gap: 10px; }
  .sh-sum { background: var(--a-muted); border-radius: 16px; padding: 8px 12px; display: flex; justify-content: space-between; font-size: 15px; }
  .sh-sum b { font-size: 18px; }
  .sh-hint { font-size: 13px; color: var(--a-muted-fg); text-align: center; }
  .doneA { flex: 1; display: grid; place-items: center; padding: 24px; animation: line-in .35s var(--ease) both; }
  .doneA > div { display: grid; gap: 12px; justify-items: center; text-align: center; width: 100%; }
  .doneA .ck { width: 56px; height: 56px; color: var(--a-success); }
  .doneA h6 { margin: 0; font-size: 24px; font-weight: 700; }
  .doneA .amt { font-size: 36px; font-weight: 700; }
  .doneA .rows { width: 100%; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--a-border); padding: 10px 14px; display: flex; justify-content: space-between; font-size: 15px; }
  .doneA .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }

  /* APPCC */
  .slotA { padding: 16px; display: grid; gap: 12px; margin-top: 16px; }
  .slotA .h { display: flex; justify-content: space-between; align-items: flex-start; }
  .slotA .h b { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .slotA .h b svg { width: 20px; height: 20px; }
  .slotA .h p { font-size: 14px; color: var(--a-muted-fg); margin-top: 2px; }
  .eq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .eqb { min-height: 96px; border-radius: 16px; padding: 12px; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px dashed rgba(193, 56, 31, .5); display: flex; flex-direction: column; justify-content: space-between; gap: 2px; cursor: pointer; }
  .eqb.set { border: 1px solid var(--a-border); cursor: default; }
  .eqb.warn { border: 1px solid rgba(156, 90, 19, .4); background: var(--a-warning-soft); }
  .eqb small { font-size: 14px; font-weight: 500; }
  .eqb .an { font-size: 18px; font-weight: 600; color: var(--a-primary); }
  .eqb .v { font-size: 24px; font-weight: 600; }
  .eqb.warn .v { color: var(--a-warning); }
  .eqb em { font-style: normal; font-size: 14px; color: var(--a-muted-fg); }
  .dlg-wrap { position: absolute; inset: 0; background: rgba(15, 23, 42, .4); display: grid; place-items: center; animation: fade .2s both; }
  .dlg { width: 480px; background: #fff; border-radius: 16px; padding: 24px; display: grid; gap: 14px; box-shadow: 0 2px 4px rgb(15 23 42 / .05), 0 12px 28px -10px rgb(15 23 42 / .14); animation: line-in .3s var(--ease) both; }
  .dlg h6 { margin: 0; font-size: 18px; font-weight: 600; }
  .dlg .sub { font-size: 14px; color: var(--a-muted-fg); margin-top: -8px; }
  .dlg label { font-size: 14px; font-weight: 500; }
  .dlg .in { display: flex; gap: 8px; margin-top: 6px; }
  .dlg input { flex: 1; min-width: 0; height: 56px; border-radius: 12px; border: 1px solid var(--a-input); padding: 0 14px; font: 600 24px/1 var(--app); color: var(--a-fg); outline: none; }
  .dlg input:focus { box-shadow: 0 0 0 2px var(--a-primary); border-color: transparent; }
  .dlg .help { font-size: 14px; color: var(--a-muted-fg); }
  .dlg .wbox { background: var(--a-warning-soft); color: var(--a-warning); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 500; }
  .dlg .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

  /* Albarán */
  .shot { border-radius: 16px; border: 1px dashed var(--a-input); padding: 14px; display: grid; gap: 10px; margin-top: 16px; }
  .shot .acts { display: flex; gap: 8px; flex-wrap: wrap; }
  .shot p { font-size: 14px; color: var(--a-muted-fg); }
  .reading { margin-top: 12px; background: var(--a-info-soft); color: var(--a-info); border-radius: 16px; padding: 14px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
  .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex: 0 0 auto; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .draft { display: grid; grid-template-columns: 2fr 3fr; gap: 14px; margin-top: 14px; }
  .photoC { padding: 12px; display: grid; gap: 8px; align-content: start; }
  .photoC b { font-size: 14px; font-weight: 600; }
  .paper { position: relative; background: #fffdf8; border-radius: 8px; box-shadow: inset 0 0 0 1px #ece6d6; padding: 14px; font-family: "Courier New", Courier, monospace; font-size: 11px; color: #3a3a3a; overflow: hidden; }
  .paper strong { font-family: var(--app); font-size: 13px; display: block; margin-bottom: 2px; color: #1f2633; }
  .paper .pl { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed #d9d4c7; }
  .beam { position: absolute; left: 0; right: 0; height: 50px; top: -50px; background: linear-gradient(180deg, rgba(30, 86, 179, 0) 0%, rgba(30, 86, 179, .25) 80%, rgba(30, 86, 179, .6) 100%); animation: beam 1.5s var(--ease) forwards; }
  @keyframes beam { to { top: 100%; } }
  .lcards { display: grid; gap: 8px; align-content: start; }
  .lc { padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; animation: line-in .35s var(--ease) both; }
  .lc .tx { font-size: 13px; color: var(--a-muted-fg); }
  .lc .art { font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
  .lc .in { grid-row: span 2; text-align: right; font-size: 13px; color: var(--a-muted-fg); }
  .lc .in b { display: block; font-size: 18px; color: var(--a-fg); }
  .dfoot { margin-top: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .dfoot span { font-size: 14px; color: var(--a-muted-fg); }

  /* La app en el móvil: la misma demo en vertical, sin barra lateral */
  .stage.narrow { width: 440px; height: 800px; }
  .narrow .app { grid-template-columns: minmax(0, 1fr); }
  .narrow .side, .narrow .bar .search, .narrow .bar .covers { display: none; }
  .narrow .bar { padding: 0 16px; }
  .narrow .body { padding: 14px; }
  .narrow .zones .views, .narrow .legendA { display: none; }
  .narrow .floor-meta { margin: 10px 0; }
  .narrow .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .narrow .tile { min-height: 100px; }
  .narrow .orderA { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: calc(100% - 42px); }
  .narrow .orderA .pp { order: -1; }
  .narrow .sbox { display: none; }
  .narrow .pgrid { grid-template-columns: repeat(3, 1fr); }
  .narrow .pt .img { aspect-ratio: 16 / 9; font-size: 22px; }
  .narrow .ph-row { flex-direction: column; gap: 10px; }
  .narrow .ph-row .acts-k { display: none; }
  .narrow .kgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
  .narrow .sheetA { width: 100%; }
  .narrow .tabs { display: none; }
  .narrow .eq { grid-template-columns: repeat(2, 1fr); }
  .narrow .dlg { width: 400px; }
  .narrow .draft { grid-template-columns: minmax(0, 1fr); }
  .narrow .photoC { display: none; }
  .narrow .intro { padding: 36px; }
  .narrow .intro h4 { font-size: 44px; }
  .narrow .outro h4 { font-size: 34px; }

  /* Burbuja guía */
  .tip { position: absolute; z-index: 20; background: #1f7a4c; color: #fff; font: 600 15px/1.3 var(--app); padding: 10px 14px; border-radius: 12px; max-width: 260px; box-shadow: 0 10px 26px rgba(16, 26, 20, .25); pointer-events: none; transition: left .3s var(--ease), top .3s var(--ease), opacity .2s; }
  .tip::after { content: ""; position: absolute; width: 12px; height: 12px; background: #1f7a4c; transform: rotate(45deg); left: var(--ax, 24px); }
  .tip.below::after { top: -5px; }
  .tip.above::after { bottom: -5px; }
  .tip.nudge { animation: nudge .4s; }
  @keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
  .ring { position: absolute; z-index: 19; pointer-events: none; border-radius: 18px; box-shadow: 0 0 0 3px #1f7a4c; animation: ring 1.4s ease-out infinite; transition: all .3s var(--ease); }
  @keyframes ring { 0% { box-shadow: 0 0 0 3px rgba(31, 122, 76, .95), 0 0 0 0 rgba(31, 122, 76, .45); } 100% { box-shadow: 0 0 0 3px rgba(31, 122, 76, .95), 0 0 0 16px rgba(31, 122, 76, 0); } }

  /* Rótulo de capítulo, como un intertítulo */
  .intro { position: absolute; inset: 0; z-index: 40; background: #101a14; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 70px; gap: 14px; animation: fade .3s both; cursor: pointer; }
  .intro .n { font-size: 26px; font-weight: 600; color: #6fd29b; }
  .intro h4 { margin: 0; font-size: 58px; letter-spacing: -0.03em; line-height: 1; font-family: var(--font); font-weight: 600; }
  .intro p { font-size: 20px; color: #c9d3cc; max-width: 34ch; }
  .intro .go { margin-top: 18px; align-self: flex-start; }
  .intro .go span { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: #22a35f; color: #04120a; font: 600 17px/1 var(--font); }
  .outro { position: absolute; inset: 0; z-index: 40; background: #ffffff; display: grid; place-items: center; text-align: center; padding: 40px; animation: fade .3s both; }
  .outro h4 { margin: 0 0 10px; font-size: 46px; letter-spacing: -0.03em; font-family: var(--font); font-weight: 600; }
  .outro p { font-size: 18px; color: #59625c; max-width: 40ch; margin: 0 auto 22px; }
  .outro .acts { display: flex; gap: 12px; justify-content: center; }
  .outro .btn { font-family: var(--font); }
  .outro .again { background: transparent; color: #101a14; box-shadow: inset 0 0 0 1.5px #d7dcd6; }

  .toast { position: absolute; z-index: 30; bottom: 22px; left: 50%; transform: translateX(-50%); background: #16201b; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; animation: line-in .3s var(--ease) both; width: max-content; max-width: 90%; text-align: center; }

  /* ─── Producto por bloques ─── */
  .blocks { display: grid; gap: 22px; }
  .block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: var(--soft); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 52px); }
  .block.flip .b-visual { order: -1; }
  .b-text { display: grid; gap: 16px; align-content: start; }
  .b-text h3 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }
  .b-text > p { color: var(--muted); font-size: 18px; max-width: 46ch; }
  .mods { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mods li { background: var(--bg); border-radius: 14px; padding: 12px 14px; font-weight: 500; font-size: 15px; display: flex; gap: 10px; align-items: center; }
  .mods li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  .b-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft-2); }
  .b-visual > img { width: 100%; height: 100%; object-fit: cover; }
  .b-visual.ui > img { object-position: left top; }
  .b-visual .float { left: auto; right: 18px; bottom: 18px; width: min(270px, 70%); }

  /* ─── Historia ─── */
  .story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-xl); overflow: hidden; background: #101a14; color: #eef3ef; }
  .story-img { position: relative; min-height: 520px; }
  .story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .story-text { padding: clamp(28px, 5vw, 64px); display: grid; gap: 18px; align-content: center; }
  .story-text h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
  .story-text p { color: #c3cdc6; font-size: 18px; max-width: 44ch; }
  .stack { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 10px; }
  .stack .float { position: static; animation: none; opacity: 1; }
  .js .stack .float { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .story.in .stack .float { opacity: 1; transform: none; }
  .js .story.in .stack .s2 { transition-delay: .25s; }
  .js .story.in .stack .s3 { transition-delay: .5s; }

  /* ─── Cómo empiezas ─── */
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .step { background: var(--soft); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 10px; align-content: start; }
  .step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 600; }
  .step h3 { font-size: 22px; }
  .step p { color: var(--muted); }

  /* ─── Dudas ─── */
  .faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
  .faq details { background: var(--soft); border-radius: 18px; padding: 0 24px; transition: background-color .2s; }
  .faq details[open] { background: var(--soft-2); }
  .faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; transition: transform .2s; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq details p { padding-bottom: 22px; color: var(--muted); max-width: 66ch; }

  /* ─── Cierre ─── */
  .final { margin-top: clamp(96px, 11vw, 150px); background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 80px); display: grid; justify-items: center; text-align: center; gap: 18px; }
  .final h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); max-width: 16ch; }
  .final p { font-size: 18px; max-width: 46ch; opacity: .92; }
  .final { position: relative; overflow: hidden; }
  .final > :not(.orb) { position: relative; z-index: 1; }
  .orb { position: absolute; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); animation: bob 7s ease-in-out infinite alternate; }
  .o1 { width: 120px; height: 120px; left: 6%; top: 14%; }
  .o2 { width: 86px; height: 86px; left: 12%; bottom: 12%; animation-delay: -2s; }
  .o3 { width: 110px; height: 110px; right: 7%; top: 18%; animation-delay: -4s; }
  .o4 { width: 76px; height: 76px; right: 14%; bottom: 14%; animation-delay: -1s; }
  @keyframes bob { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
  @media (max-width: 980px) { .orb { display: none; } }
  .final .btn-light { background: #ffffff; color: #101a14; }
  .final .btn-light:hover { background: #101a14; color: #ffffff; }
  .final .btn-outline { background: transparent; color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px currentColor; }

  footer { padding-block: 72px 36px; display: grid; gap: 40px; }
  .foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
  .foot p { color: var(--muted); font-size: 15px; max-width: 32ch; margin-top: 12px; }
  .foot h4 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
  .foot a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; padding: 3px 0; }
  .foot a:hover { color: var(--ink); }
  .foot .logo { color: var(--ink); width: 84px; }
  .foot-last { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }

  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
  }

  @media (max-width: 980px) {
    .nav-links { display: none; }
    .nav .btn-ghost { display: none; }
    .nav-row { justify-content: space-between; }
    .demo { grid-template-columns: minmax(0, 1fr); }
    .chapters { position: static; display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 4px; }
    .chapters::-webkit-scrollbar { display: none; }
    .chapters li { flex: 0 0 auto; }
    .chapters button { padding: 8px 14px 8px 8px; background: var(--soft); white-space: nowrap; }
    .chapters small { display: none; }
    .demo-side-foot { display: none; }
    .block, .story { grid-template-columns: minmax(0, 1fr); }
    .block.flip .b-visual { order: 0; }
    .story-img { min-height: 320px; }
    .facts, .steps { grid-template-columns: minmax(0, 1fr); }
    .foot { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .hero { padding-top: 32px; }
    .card { flex-basis: 78vw; height: 440px; }
    .card:nth-child(2n) { margin-top: 0; }
    .mods { grid-template-columns: minmax(0, 1fr); }
    .device { padding: 8px; border-radius: 22px; }
    .screen-fit { border-radius: 14px; }
    .foot { grid-template-columns: minmax(0, 1fr); }
    .hero-actions .btn { width: 100%; }
  }

  /* ─── Menú de producto ─── */
  .dd { position: relative; }
  .dd summary { list-style: none; cursor: pointer; color: var(--muted); display: flex; align-items: center; gap: 6px; }
  .dd summary::-webkit-details-marker { display: none; }
  .dd summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
  .dd[open] summary, .dd summary:hover { color: var(--ink); }
  .dd-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: 560px; background: var(--bg); border-radius: 22px; box-shadow: var(--shadow); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; z-index: 40; }
  .dd-panel a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); }
  .dd-panel a:hover { background: var(--soft); }
  .dd-panel a b { font-weight: 600; font-size: 15px; }
  .dd-panel a span { font-size: 13px; color: var(--muted); font-weight: 400; }
  .nav-links a[aria-current="page"] { color: var(--ink); }
  .menu-m { display: none; }
  .menu-m summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; align-items: center; font-weight: 500; font-size: 15px; }
  .menu-m summary::-webkit-details-marker { display: none; }
  .menu-m-panel { position: absolute; left: 12px; right: 12px; top: 72px; background: var(--bg); border-radius: 22px; box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px; z-index: 40; }
  .menu-m-panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
  .menu-m-panel a:hover { background: var(--soft); }
  @media (max-width: 980px) { .menu-m { display: block; } .nav-row { gap: 10px; } .nav-row .btn-dark { margin-left: auto; } }

  /* ─── Portada de servicio: texto a un lado, foto con la app flotando al otro ─── */
  .shero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: 40px 0; }
  .shero-text { display: grid; gap: 20px; justify-items: start; }
  .shero h1 { font-size: clamp(2.6rem, 1.5rem + 3.8vw, 4.8rem); }
  .shero .sub { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--muted); max-width: 44ch; }
  .shero .hero-actions { justify-content: flex-start; }
  .shero-pic { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--soft-2); }
  .shero-pic > img { width: 100%; height: 100%; object-fit: cover; }
  .shero-pic .stack { left: 20px; right: auto; width: min(300px, 78%); bottom: 20px; }
  .crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
  .crumbs a { color: var(--muted); text-decoration: none; }
  .crumbs a:hover { color: var(--ink); }

  .problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(80px, 9vw, 120px); }
  .problem { background: var(--soft); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 10px; align-content: start; }
  .problem h3 { font-size: 22px; }
  .problem p { color: var(--muted); }
  .problem .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--accent); display: grid; place-items: center; }
  .problem .ic svg { width: 22px; height: 22px; }

  .allfeat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .allfeat div { background: var(--soft); border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; }
  .allfeat b { font-weight: 600; font-size: 16px; }
  .allfeat span { color: var(--muted); font-size: 15px; }
  .more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); text-decoration: none; margin-top: 4px; }
  .more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
  .more-link svg { width: 18px; height: 18px; }

  /* ─── Opiniones (como un carrusel de noticias) ─── */
  .t-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
  .t-head > div:first-child { display: grid; gap: 12px; }
  .t-head h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
  .t-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(20px, calc((100vw - 1240px) / 2 + 20px)); scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2 + 20px)); padding-bottom: 4px; }
  .t-track::-webkit-scrollbar { display: none; }
  .t-card { flex: 0 0 clamp(260px, 26vw, 330px); scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: var(--soft); }
  .t-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft-2); }
  .t-body { display: grid; align-content: space-between; gap: 18px; padding: 22px 24px 24px; }
  .t-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
  .t-who { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .t-card small { color: var(--muted); font-size: 14px; }
  .lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .t-card .ex { flex: none; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #fdf3e0; color: #9c5a13; }
  .t-nav { display: flex; gap: 10px; flex: none; }
  .t-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .15s, background-color .2s, opacity .2s; }
  .t-nav button:active { transform: scale(.94); }
  .t-nav [data-prev] { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
  .t-nav [data-next] { background: var(--accent); color: var(--accent-ink); }
  .t-nav button[disabled] { opacity: .35; cursor: default; }
  .t-nav svg { width: 18px; height: 18px; }

  @media (max-width: 980px) {
    .shero { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
    .shero-pic { aspect-ratio: 4 / 3.4; }
    .problems, .allfeat { grid-template-columns: minmax(0, 1fr); }
  }
  .js .shero-pic .stack .float { opacity: 1; transform: none; animation: float-in .7s var(--ease) both; animation-delay: .35s; }
  .js .shero-pic .stack .s2 { animation-delay: .6s; }
  .js .shero-pic .stack .s3 { animation-delay: .85s; }

  /* Demo: reservas y gastos */
  .rvs { display: grid; gap: 10px; margin-top: 16px; }
  .rv { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 16px; }
  .rv.hl { box-shadow: 0 0 0 2px var(--a-warning), var(--a-shadow); animation: line-in .4s var(--ease) both; }
  .rv-t { font-size: 18px; font-weight: 700; }
  .rv-m b { display: block; font-size: 16px; font-weight: 600; }
  .rv-m small { font-size: 13px; color: var(--a-muted-fg); }
  .picks { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
  .picks .btn-a { min-height: 40px; }
  .gl { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; box-shadow: 0 1px 0 var(--a-border); }
  .gl:last-child { box-shadow: none; }
  .gl span b { display: block; font-size: 15px; font-weight: 600; }
  .gl small { font-size: 13px; color: var(--a-muted-fg); }
  .gform { margin-top: 16px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 18px; animation: line-in .35s var(--ease) both; }
  .gf { display: grid; gap: 4px; }
  .gf label { font-size: 13px; color: var(--a-muted-fg); font-weight: 500; }
  .gf span { font-size: 16px; font-weight: 500; min-height: 22px; }
  .wbox2 { margin-top: 12px; background: var(--a-warning-soft); color: var(--a-warning); border-radius: 16px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
  .g-foot { margin-top: 14px; display: flex; justify-content: flex-end; }
  .narrow .rv { grid-template-columns: 52px 1fr; }
  .narrow .rv .badge, .narrow .rv > .btn-a { grid-column: 2; justify-self: start; }
  .narrow .gform { grid-template-columns: 1fr 1fr; }
  .narrow .wbox2 { flex-direction: column; align-items: flex-start; }

  /* ─── Precio ─── */
  .price-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; margin-top: 56px; align-items: start; }
  .price-card { background: var(--ink); color: var(--bg); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; }
  .price-card .label { color: #6fd29b; }
  .pc-top { display: grid; gap: 10px; }
  .pc-amount { font-size: clamp(4rem, 2.5rem + 5vw, 6.5rem); letter-spacing: -0.04em; line-height: 1; font-weight: 600; }
  .pc-amount small { font-size: .3em; font-weight: 500; letter-spacing: 0; margin-left: 6px; opacity: .8; }
  .pc-note { opacity: .75; font-size: 15px; }
  .price-card .btn-ghost { color: var(--bg); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
  .price-card .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
  .pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 17px; }
  .pc-list li { display: flex; gap: 12px; align-items: flex-start; }
  .pc-list li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 2px; }
  .price-side { background: var(--soft); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
  .price-side h3 { font-size: 24px; }
  .pc-mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .pc-mods a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--bg); text-decoration: none; transition: transform .15s; }
  .pc-mods a:hover { transform: translateX(4px); }
  .pc-mods b { font-weight: 600; }
  .pc-mods span { font-size: 14px; color: var(--muted); }

  /* ─── Pide una demo ─── */
  .lead { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: 40px 0; }
  .lead-side { display: grid; gap: 20px; position: sticky; top: 96px; }
  .lead-side h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
  .lead-side .sub { font-size: 18px; color: var(--muted); max-width: 42ch; }
  .lead-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
  .lead-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
  .lead-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--accent); display: grid; place-items: center; font-weight: 600; }
  .lead-steps b { font-weight: 600; }
  .lead-steps span { color: var(--muted); font-size: 15px; }
  .lead-pic { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 10; }
  .lead-pic img { width: 100%; height: 100%; object-fit: cover; }
  .lead-form, .lead-done { background: var(--soft); border-radius: var(--radius-xl); padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 20px; scroll-margin-top: 96px; }
  .lf-progress { height: 6px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
  .lf-progress span { display: block; height: 100%; width: 33%; background: var(--accent); border-radius: 99px; transition: width .4s var(--ease); }
  .lf-count { font-size: 14px; color: var(--muted); margin-top: -10px; }
  .lf-step { border: 0; margin: 0; padding: 0; display: grid; gap: 22px; min-width: 0; }
  .lf-step legend { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; padding: 0; margin-bottom: 4px; }
  .lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .lf-field { display: grid; gap: 8px; min-width: 0; }
  .lf-field label, .lf-q { font-weight: 500; font-size: 15px; }
  .lf-field small, .lf-q small { color: var(--muted); font-weight: 400; margin-left: 4px; }
  .lf-field input, .lf-field select, .lf-field textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; width: 100%; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
  .lf-field textarea { resize: vertical; min-height: 90px; }
  .lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chipopt { position: relative; cursor: pointer; }
  .chipopt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .chipopt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 500; transition: background-color .15s, color .15s, box-shadow .15s; }
  .chipopt:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .chipopt input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
  .chipopt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
  .lf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
  .lf-check input { width: 22px; height: 22px; accent-color: var(--accent); margin-top: 1px; flex: 0 0 auto; }
  .lf-error { background: #fdecea; color: #a3261c; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
  .lf-actions { display: flex; justify-content: space-between; gap: 12px; }
  .lf-actions .btn-primary { margin-left: auto; }
  .lead-done { justify-items: start; }
  .lead-done h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
  .lead-done p { color: var(--muted); font-size: 18px; max-width: 46ch; }
  .ld-ok { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
  .ld-ok svg { width: 28px; height: 28px; }
  .ld-preview { width: 100%; background: var(--bg); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; box-shadow: inset 0 0 0 1.5px #ecc98c; }
  .ld-preview small { color: #8a5208; }
  .ld-preview dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; margin: 8px 0 0; font-size: 15px; }
  .ld-preview dt { color: var(--muted); }
  .ld-preview dd { margin: 0; font-weight: 500; }

  /* ─── Legal ─── */
  .legal { max-width: 780px; padding-block: 40px 0; display: grid; gap: 14px; }
  .legal h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); margin-top: 8px; }
  .legal h2 { font-size: 22px; margin-top: 22px; }
  .legal p { color: var(--muted); font-size: 17px; }
  .legal-note { font-size: 15px !important; }
  mark.fill { background: #fff1b8; color: #5c4400; border-radius: 4px; padding: 0 4px; }

  @media (max-width: 980px) {
    .price-wrap, .lead { grid-template-columns: minmax(0, 1fr); }
    .lead-side { position: static; }
    .lead-pic { display: none; }
  }
  @media (max-width: 560px) {
    .lf-grid { grid-template-columns: minmax(0, 1fr); }
    .ld-preview dl { grid-template-columns: minmax(0, 1fr); }
  }
  .lead-form, .lead-side, .lead-done { min-width: 0; }
  .lead-form, .lead-done, .lf-step { grid-template-columns: minmax(0, 1fr); }

  /* ─── Historia ─── */
  .more-link.light { color: #6fd29b; }
  .t-card { position: relative; }
  .t-card .ex { position: absolute; top: 14px; left: 14px; background: #fdf3e0ee; }
  .tl { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 1040px; margin-inline: auto; }
  .tl-item { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px 28px; align-items: center; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--soft); }
  .tl-what { display: flex; align-items: center; gap: 14px; }
  .tl-what .ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--accent); }
  .tl-what .ic svg { width: 20px; height: 20px; }
  .tl-n { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
  .tl-what h3 { font-size: 20px; letter-spacing: -0.01em; }
  .tl p { display: grid; gap: 4px; color: var(--muted); }
  .tl p span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  .tl-before span { color: var(--muted); }
  .tl-now { color: var(--ink) !important; }
  .tl-now span { color: var(--accent); }
  .steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps.four .n { background: var(--accent); color: var(--accent-ink); }
  .steps.four .n svg { width: 20px; height: 20px; }
  .who { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 640px; margin-inline: auto; }
  .who h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
  .who p { color: var(--muted); font-size: 18px; }
  @media (max-width: 980px) {
    .tl-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tl-what { grid-column: 1 / -1; }
    .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    .tl-item { grid-template-columns: minmax(0, 1fr); padding: 20px; }
    .steps.four { grid-template-columns: minmax(0, 1fr); }
    .t-head { align-items: flex-start; flex-direction: column; }
  }
