/* Mini-apps de demostración por industria (barbería, panadería, uñas, realtor). */
  /* ── Demos por industria ── */
  .tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 26px; }
  .tab { border: 2px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 700 0.92rem "Figtree", sans-serif; cursor: pointer; transition: transform .1s; }
  .tab:active { transform: scale(0.97); }
  .tab[aria-selected="true"] { color: #fff; border-color: transparent; }
  .tab[data-demo="barber"][aria-selected="true"] { background: var(--barber); }
  .tab[data-demo="bakery"][aria-selected="true"] { background: var(--bakery); }
  .tab[data-demo="nails"][aria-selected="true"]  { background: var(--nails); }
  .tab[data-demo="realtor"][aria-selected="true"]{ background: var(--realtor); }
  .demozone { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
  @media (max-width: 820px) { .demozone { grid-template-columns: 1fr; } }
  .phone {
    width: 100%; max-width: 340px; border-radius: 34px; padding: 14px;
    background: #0B111F; box-shadow: 0 24px 60px rgba(8,14,30,0.35), inset 0 0 0 2px #232E48;
  }
  .screen { border-radius: 24px; overflow: hidden; background: var(--card); min-height: 520px; display: flex; flex-direction: column; }
  .appbar { padding: 14px 16px; color: #fff; font: 700 0.95rem "Syne", sans-serif; display: flex; justify-content: space-between; align-items: center; }
  .appbody { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
  .chipset { display: flex; gap: 8px; flex-wrap: wrap; }
  .chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: 9px 12px; font: 600 0.85rem "Figtree", sans-serif; cursor: pointer; color: var(--ink); }
  .chip:active { transform: scale(0.96); }
  .chip.sel { color: #fff; border-color: transparent; }
  .applbl { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
  .confirm { margin-top: auto; border: 0; border-radius: 12px; color: #fff; padding: 14px; font: 700 0.95rem "Figtree", sans-serif; cursor: pointer; opacity: 0.45; }
  .confirm.on { opacity: 1; }
  .confirm:active { transform: scale(0.98); }
  .okmsg { border-radius: 12px; padding: 12px 14px; font-size: 0.88rem; background: #E4F3EA; color: #1F6E43; display: none; }
  .okmsg.show { display: block; animation: pop .3s ease; }
  @keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  /* seccion demos: se tiñe con el color de la industria activa */
  #demos { transition: background .55s ease; }

  /* horarios: libres y ocupados */
  .slotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .slot { border: 1.5px solid var(--line); background: var(--paper); border-radius: 9px; padding: 8px 4px; text-align: center; font: 600 0.8rem "Figtree", sans-serif; cursor: pointer; color: var(--ink); }
  .slot:active { transform: scale(0.95); }
  .slot.sel { color: #fff; border-color: transparent; }
  .slot.busy { text-decoration: line-through; color: #B3BCCC; background: #EEF1F6; border-style: dashed; cursor: not-allowed; }
  .slot small { display: block; font-size: 0.58rem; font-weight: 700; color: #C48A8A; text-decoration: none; }

  /* menu con cantidades (bakery) */
  .item { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--paper); }
  .item.out { opacity: 0.55; }
  .item .nom { flex: 1; font-weight: 600; font-size: 0.86rem; }
  .item .nom small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--muted); }
  .item .precio { font-weight: 700; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
  .stepper { display: flex; align-items: center; gap: 6px; }
  .stepper button { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--card); font: 700 0.95rem "Figtree", sans-serif; cursor: pointer; color: var(--ink); line-height: 1; }
  .stepper button:active { transform: scale(0.92); }
  .stepper b { min-width: 16px; text-align: center; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
  .totalbar { display: flex; justify-content: space-between; align-items: center; border-top: 2px dashed var(--line); padding-top: 10px; font-weight: 700; font-size: 0.95rem; }
  .segmento { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
  .segmento button { flex: 1; border: 0; background: var(--paper); padding: 9px 6px; font: 700 0.8rem "Figtree", sans-serif; cursor: pointer; color: var(--muted); }
  .segmento button.sel { color: #fff; }

  /* recorrido 3D del realtor */
  .tour { position: relative; border-radius: 12px; height: 148px; overflow: hidden; background: #14261E; }
  .tour .escena { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: #fff; font-family: "Syne", sans-serif; }
  .tour .escena .ico { font-size: 44px; }
  .tour .escena .nombre { font-size: 0.85rem; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
  .tour.andando .escena { animation: caminar 1.7s ease-in-out; }
  @keyframes caminar { 0% { transform: scale(1.35) translateX(6%); opacity: 0.2; } 30% { opacity: 1; } 100% { transform: scale(1) translateX(0); } }
  .tour .dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
  .tour .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); }
  .tour .dots i.on { background: #fff; }
  .tour .playbtn { position: absolute; inset: 0; margin: auto; width: 160px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.94); font: 700 0.88rem "Figtree", sans-serif; cursor: pointer; color: #14261E; }
  .tour .playbtn:active { transform: scale(0.96); }
  .ficha { display: flex; justify-content: space-between; align-items: baseline; }
  .ficha b { font-family: "Syne", sans-serif; font-size: 1.15rem; }
  .ficha span { font-size: 0.75rem; color: var(--muted); }
  .fin-row { display: flex; justify-content: space-between; font-size: 0.84rem; padding: 3px 0; }
  .fin-row b { font-variant-numeric: tabular-nums; }
  .fin-box { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper); }

  .demo-copy h3 { font-size: 1.3rem; margin-bottom: 10px; }
  .demo-copy p { color: var(--muted); margin-bottom: 14px; max-width: 52ch; }
  .demo-copy ul { color: var(--muted); padding-left: 20px; display: grid; gap: 8px; font-size: 0.95rem; }
  .tour .etq { position: absolute; top: 10px; left: 10px; background: rgba(10,18,14,0.6); color: #fff; font: 700 0.72rem "Figtree", sans-serif; padding: 4px 10px; border-radius: 999px; }
  .tour .barra { position: absolute; left: 0; bottom: 0; height: 4px; background: #fff; width: 0; }
  .appfoto { height: 92px; border-radius: 10px; background-size: cover; background-position: center; }
