:root {
  /* Marca 3B Technology (muestreada del logo) */
  --bg: #0a0d14;
  --surface: #111622;
  --surface-2: #171e2d;
  --surface-3: #1f2839;
  --ink: #e9eef4;
  --muted: #a9b4c4;
  --accent: #19e3b1;
  --accent-ink: #06231b;
  --blue: #2f88f2;
  --cyan: #25b5d0;
  --amber: #f2b84b;

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-s: 15px;
  --step-0: 17px;
  --step-1: clamp(20px, 1.6vw, 24px);
  --step-2: clamp(28px, 3vw, 36px);
  --step-3: clamp(44px, 6vw, 96px);

  --margin: clamp(16px, 3vw, 40px);
  --gap: clamp(16px, 2vw, 24px);
  --radius: 4px;
  --section: clamp(120px, 14vw, 200px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }

/* Botón único de la página: rectangular, plano */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: var(--step-0); text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms;
}
.btn:hover { background: #4cf0c6; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.link {
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; text-decoration-color: var(--accent);
  transition: text-underline-offset 160ms var(--ease-out);
}
.link:hover { text-underline-offset: 9px; }

/* ---------- Hero ---------- */
/* Portada en todos los tamaños: el globo llena la primera pantalla, título y botón abajo; el chat va en su sección debajo */
.hero { position: relative; display: grid; grid-template-columns: 1fr; }
.hero-left {
  position: static; min-height: max(100svh, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--margin) clamp(56px, 9vh, 104px);
}
/* Barra de páginas: arriba de cada página, no sigue el scroll */
.topbar {
  position: relative; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--margin);
}
.topbar { position: absolute; top: 0; left: 0; right: 0; }
.topbar.open { background: var(--bg); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  display: block; padding: 8px 10px; border-radius: var(--radius); font-size: 15px; color: var(--muted); text-decoration: none;
  transition: color 160ms, background-color 160ms;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); } /* taste-skill-ignore: marca de la sección actual */
.nav-cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background-color 160ms, transform 160ms var(--ease-out);
}
.nav-cta:hover { background: #4cf0c6; }
.nav-cta:active { transform: scale(.97); }
.nav-toggle {
  display: none; margin-left: auto; min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--radius);
  background: var(--surface-2); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer;
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--margin) 20px; background: var(--bg);
  }
  .topbar.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 4px; font-size: 18px; }
}
.brand span { white-space: nowrap; }
.nav-only-small { display: none; }
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav-only-small { display: block; }
  .nav-only-small a { color: var(--accent); font-weight: 600; }
  .brand span { font-size: 18px; }
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand svg { width: 34px; height: 42px; }
.brand span { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.hero-copy { max-width: 820px; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 96px); line-height: 1; letter-spacing: -.035em; font-weight: 600;
}
.hero-sub { margin-top: 28px; max-width: 50ch; font-size: var(--step-1); color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
/* Fondo del hero: globo de red en canvas (pedido del usuario; ignora la regla de no-degradados) */
.hero { background: radial-gradient(ellipse 75% 85% at 62% 42%, #0e2c63 0%, #0a1d45 38%, #08122a 68%, var(--bg) 100%); } /* taste-skill-ignore */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; } /* taste-skill-ignore */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-left > * { position: relative; z-index: 1; }
.hero-left::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: max(100svh, 640px); z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,13,20,.88) 0%, rgba(10,13,20,.4) 34%, rgba(10,13,20,0) 60%), linear-gradient(90deg, rgba(10,13,20,.5), rgba(10,13,20,0) 55%); } /* taste-skill-ignore: velo para leer el texto */

/* Masked line reveal */
.lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js .hero-after { opacity: 0; transform: translateY(16px); animation: fade-up 700ms var(--ease-out) 520ms forwards; }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* ---------- Fragmento: chat de WhatsApp (convenciones del producto) ---------- */
.wa {
  width: min(440px, 100%);
  background: #0b141a; border-radius: 14px; overflow: hidden;
  border: 1px solid #222d34;
  font-size: 14.5px; line-height: 1.4;
  display: flex; flex-direction: column;
}
.wa-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #202c33; }
.wa-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: url("ajiaco-santafereno-07.jpg") center/cover;
}
.wa-top b { display: block; font-weight: 600; font-size: 15px; }
.wa-top small { color: #8696a0; font-size: 13px; }
.wa-log {
  height: 400px; overflow-y: auto; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  scroll-behavior: smooth;
}
.msg {
  max-width: 84%; padding: 8px 10px 6px; border-radius: 8px;
  background: #202c33; color: #e9edef; align-self: flex-start;
}
.msg.out { background: #005c4b; align-self: flex-end; }
.msg time { display: block; text-align: right; font-size: 11px; color: #8fa3ad; margin-top: 2px; }
.msg.out time { color: #9fd1c4; }
.msg.card { padding: 4px; }
.msg.card img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; }
.msg.card .card-body { padding: 8px 6px 2px; }
.msg ul { margin-top: 6px; }
.msg li { display: flex; justify-content: space-between; gap: 16px; }
.msg .total { margin-top: 6px; padding-top: 6px; border-top: 1px solid #33424b; font-weight: 600; } /* taste-skill-ignore: separador propio de WhatsApp */
.receipt-pill { display: flex; align-items: center; gap: 10px; }
.receipt-pill i {
  width: 36px; height: 44px; border-radius: 4px; flex: none;
  background: #e9edef; position: relative;
}
.receipt-pill i::after { content: "$"; position: absolute; inset: 0; display: grid; place-items: center; color: #005c4b; font-style: normal; font-weight: 700; }
.typing { align-self: flex-start; background: #202c33; border-radius: 8px; padding: 10px 12px; display: none; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
.wa-chips { display: flex; gap: 8px; padding: 10px 14px 14px; background: #0b141a; min-height: 64px; align-items: center; }
.chip {
  border: 1px solid #00a884; background: transparent; color: #00d9a8;
  border-radius: 18px; padding: 8px 14px; font-size: 14px; cursor: pointer; text-align: left;
  transition: background-color 160ms, transform 160ms var(--ease-out);
}
.chip:hover { background: #00a88422; }
.chip:active { transform: scale(.97); }
.wa-readout {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: #111b21; color: #8696a0; font-size: 13px;
}
.wa-readout b { color: var(--accent); font-weight: 600; }
.app-ready .msg[data-step]:not(.shown) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .msg.shown { animation: pop 320ms var(--ease-out); }
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.no-js-note { display: none; }
.wa-buttons { display: flex; gap: 8px; margin-top: 8px; }
.wa-buttons span { flex: 1; text-align: center; padding: 8px; border-radius: 6px; background: #2a3942; color: #53bdeb; font-size: 14px; }
.wa-buttons span.sel { background: #005c4b; color: #fff; }

/* ---------- Reportes por WhatsApp (Premium) ---------- */
.reports {
  padding: var(--section) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center;
}
.reports-copy { grid-column: 1 / 7; }
.reports :is(h1, h2) { font-size: clamp(36px, 4.4vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.reports-copy > p { margin-top: 24px; max-width: 48ch; font-size: 18px; }
.reports-list { margin: 28px 0 32px; display: grid; gap: 10px; max-width: 48ch; }
.reports-list li { display: flex; gap: 12px; }
.reports-list li::before { content: ""; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--accent); flex: none; }
.reports-note { margin-top: 16px; font-size: var(--step-s); color: var(--muted); }
.reports .wa { grid-column: 8 / 13; justify-self: end; }
.reports .wa-log { height: auto; overflow: visible; }
.doc { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 6px; background: #025144; }
.doc i { width: 36px; height: 42px; border-radius: 4px; flex: none; background: #1d6f42; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.doc b { display: block; font-weight: 600; }
.doc small { color: #9fd1c4; font-size: 12px; }

/* ---------- Cómo funciona ---------- */
.how {
  padding: var(--section) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center;
}
.how-steps { grid-column: 1 / 7; }
.how :is(h1, h2) { font-size: clamp(36px, 4.4vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.steps { margin-top: 40px; display: grid; gap: 28px; }
.steps li { display: grid; grid-template-columns: 14px 1fr; column-gap: 18px; }
.steps li::before { content: ""; width: 12px; height: 12px; margin-top: .55em; border-radius: 50%; background: var(--accent); }
.steps h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; }
.steps p { grid-column: 2; margin-top: 6px; color: var(--muted); max-width: 46ch; }
.steps-note { margin-top: 36px; font-size: 18px; max-width: 46ch; }
.how .demo-wrap { grid-column: 8 / 13; justify-self: end; width: min(440px, 100%); }

/* ---------- Menú: foto o catálogo ---------- */
.menus {
  padding: var(--section) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start;
}
.menus-head { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(24px, 4vw, 56px); }
.menus-head :is(h1, h2) { grid-column: 1 / 8; font-size: clamp(36px, 4.4vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.menus-head p { grid-column: 8 / 13; font-size: 18px; }
.menu-way { grid-column: span 6; }
.menu-way h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -.01em; }
.menu-way > p { margin: 10px 0 20px; max-width: 46ch; color: var(--muted); }
.menu-way .wa { width: min(440px, 100%); }
.menu-way .wa-log { height: auto; overflow: visible; }
.menu-way + .menu-way { margin-top: 120px; }
.wa-link { color: #53bdeb; text-decoration: underline; }
.cart { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 6px; background: #025144; }
.cart i { width: 36px; height: 36px; border-radius: 6px; flex: none; background: url("bandeja-paisa-30062011.jpg") center/cover; }
.cart b { display: block; font-weight: 600; }
.cart small { color: #9fd1c4; font-size: 12px; }

/* ---------- Stock ---------- */
.stock {
  padding: var(--section) var(--margin) 0;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start;
}
.stock-copy { grid-column: 1 / 5; position: sticky; top: 48px; }
.stock :is(h1, h2) { font-size: clamp(36px, 3.8vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.stock-copy > p { margin-top: 24px; font-size: 18px; max-width: 42ch; }
.stock .wa { width: 100%; }
.stock .wa-log { height: auto; overflow: visible; }
.stock-owner { grid-column: 5 / 9; }
.stock-client { grid-column: 9 / 13; margin-top: 160px; }

/* ---------- Domiciliarios ---------- */
.couriers-pic { grid-column: 1 / 13; margin-bottom: clamp(32px, 5vw, 72px); }
.couriers-pic img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
.couriers-pic figcaption { margin-top: 12px; font-size: var(--step-s); color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .couriers-pic img { animation: drift 24s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-2%); } }
.couriers-pic { overflow: clip; }
@media (min-width: 1025px) {
  #reportes .reports-copy { grid-column: 7 / 13; grid-row: 1; }
  #reportes .wa { grid-column: 1 / 6; grid-row: 1; justify-self: start; }
}

/* ---------- Planes ---------- */
.plans { padding: var(--section) var(--margin) 0; }
.plans-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: 40px; }
.plans-head :is(h1, h2) { grid-column: 1 / 7; font-size: clamp(36px, 4.4vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.plans-head p { grid-column: 8 / 13; font-size: 18px; }
.plan-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plan-table th, .plan-table td { padding: 20px 16px; text-align: center; vertical-align: middle; border-bottom: 1px solid #222b3a; }
.plan-table tbody th { text-align: left; font-weight: 500; width: 34%; }
.plan-table thead th { vertical-align: bottom; padding-top: 28px; }
.plan-table td { color: var(--muted); font-size: 15px; }
.pt-name { display: block; font-size: var(--step-1); font-weight: 600; color: var(--ink); }
.pt-price { display: block; margin-top: 6px; font-size: clamp(26px, 2.4vw, 38px); font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.pt-per { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.pt-btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius); background: var(--surface-3); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background-color 160ms, transform 160ms var(--ease-out);
}
.pt-btn:hover { background: #2a354b; }
.pt-btn:active { transform: scale(.97); }
.plan-table .hl { background: #0b2b31; }
.plan-table thead .hl { box-shadow: inset 0 3px 0 var(--accent); } /* taste-skill-ignore: borde del plan destacado */
.plan-table thead .hl .pt-name { color: var(--accent); }
.plan-table .hl .pt-btn { background: var(--accent); color: var(--accent-ink); }
.plan-table .hl .pt-btn:hover { background: #4cf0c6; }
.ck { width: 24px; height: 24px; color: var(--accent); vertical-align: middle; }
.no { color: #4b566a; font-size: 18px; }
.plan-foot { margin-top: 20px; font-size: var(--step-s); color: var(--muted); max-width: 90ch; }

/* ---------- Preguntas ---------- */
.faq { padding: var(--section) var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.faq :is(h1, h2) { grid-column: 1 / 5; position: sticky; top: 96px; font-size: clamp(36px, 4vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.faq-list { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--radius); transition: background-color 200ms; }
.faq summary {
  min-height: 72px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 20px; font-weight: 500; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform 240ms var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent); color: var(--accent-ink); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { padding: 0 24px 24px; font-size: var(--step-0); max-width: 58ch; }

/* ---------- Cierre ---------- */
.cta {
  margin-top: var(--section);
  min-height: 90svh; background: var(--accent); color: var(--accent-ink);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding: 40px var(--margin);
}
.cta-copy { grid-column: 1 / 7; align-self: end; padding-bottom: 8px; }
.cta h2 { font-size: clamp(56px, 7vw, 112px); line-height: .94; letter-spacing: -.04em; font-weight: 700; }
.cta-copy p { margin-top: 28px; font-size: var(--step-0); max-width: 40ch; }
.dialog {
  grid-column: 8 / 13; align-self: center; justify-self: end; width: min(440px, 100%);
  background: #0f1520; color: var(--ink); border-radius: 12px; padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(3, 30, 22, .55); /* taste-skill-ignore: diálogo abierto */
}
.dialog h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.dialog > p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.field { margin-top: 24px; display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; color: var(--muted); padding: 0; }
.field input {
  height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid #2c3647; background: #0a0f18;
  color: var(--ink); font: inherit; font-size: 16px;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
fieldset.field { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #0a0f18; border: 1px solid #2c3647; border-radius: 8px; padding: 4px; gap: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 9px 8px; border-radius: 6px; font-size: 15px; color: var(--muted); transition: background-color 160ms, color 160ms; }
.seg input:checked + span { background: var(--surface-3); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.dialog .btn { width: 100%; margin-top: 28px; }

/* ---------- Pie ---------- */
.foot { padding: 30svh var(--margin) 30px; }
.foot-line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: baseline; font-size: 15px; }
.foot-line > span { color: var(--muted); }
.foot-links { display: flex; gap: 24px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.foot-right { justify-self: end; color: var(--muted); }
.credits { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 120ch; }
.credits a { color: var(--ink); }

/* Entradas por sección */
@media (prefers-reduced-motion: no-preference) {
  .app-ready [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .app-ready [data-reveal].in > * { opacity: 1; transform: none; }
  .app-ready [data-reveal].in > *:nth-child(2) { transition-delay: 80ms; }
  .app-ready [data-reveal].in > *:nth-child(3) { transition-delay: 160ms; }
  .app-ready [data-reveal].in > *:nth-child(4) { transition-delay: 240ms; }
}

/* ---------- Hero apilado (tableta y celular) ---------- */
@media (max-width: 900px) {
  .hero-left { min-height: 100svh; padding: 96px 20px 48px; }
  .hero-left::before { height: 100svh; background: linear-gradient(to top, rgba(10,13,20,.92) 0%, rgba(10,13,20,.55) 32%, rgba(10,13,20,0) 58%); } /* taste-skill-ignore: velo para leer el texto */
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero-sub { margin-top: 20px; font-size: var(--step-0); }
  .hero-actions { margin-top: 28px; }
}

/* ---------- Tableta ---------- */
@media (max-width: 1024px) {
  .how-steps, .how .demo-wrap { grid-column: 1 / 13; }
  .how .demo-wrap { justify-self: start; margin-top: 40px; }
  .plans-head :is(h1, h2), .plans-head p { grid-column: 1 / 13; }
    .foot-line { grid-template-columns: 1fr; gap: 12px; }
  .foot-right { justify-self: start; }
  .reports-copy { grid-column: 1 / 13; }
  .stock-copy { grid-column: 1 / 13; position: static; margin-bottom: 16px; }
  .menus-head :is(h1, h2), .menus-head p { grid-column: 1 / 13; }
  .stock-owner { grid-column: 1 / 7; }
  .stock-client { grid-column: 7 / 13; margin-top: 96px; }
  .reports .wa { grid-column: 1 / 13; justify-self: start; margin-top: 16px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  .plan-table, .plan-table thead, .plan-table tbody { display: block; }
  .plan-table tr { display: grid; grid-template-columns: repeat(3, 1fr); }
  .plan-table thead th:first-child { display: none; }
  .plan-table tbody th { grid-column: 1 / -1; width: auto; padding: 18px 4px 6px; border-bottom: 0; font-size: 16px; }
  .plan-table th, .plan-table td { padding-left: 6px; padding-right: 6px; }
  .plan-table td { font-size: 13px; padding-top: 10px; padding-bottom: 14px; }
  .pt-name { font-size: 17px; }
  .pt-price { font-size: 20px; }
  .pt-btn { font-size: 13px; padding: 0 10px; min-height: 40px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .wa { width: 100%; }
  .wa-log { height: 340px; }

  .reports .wa { width: 100%; }
  .stock-owner, .stock-client { grid-column: 1 / 13; margin-top: 0; }
  .menu-way { grid-column: 1 / 13; }
  .menu-way + .menu-way { margin-top: 64px; }

  


  .faq :is(h1, h2) { grid-column: 1 / 13; position: static; font-size: 9vw; }
  .faq-list { grid-column: 1 / 13; gap: 6px; }
  .faq summary { font-size: 18px; min-height: 64px; padding: 18px 20px; }
  .faq details p { padding: 0 20px 20px; font-size: 16px; }

  .cta { grid-template-columns: 1fr; min-height: 84svh; align-content: space-between; padding: 40px 16px; }
  .cta-copy { grid-column: 1; align-self: start; }
  .cta h2 { font-size: 13vw; }
  .dialog { grid-column: 1; justify-self: stretch; width: 100%; margin-top: 40px; padding: 22px; }

  .foot { padding: 20svh 20px 24px; }
  .foot-line { grid-template-columns: 1fr; gap: 8px; font-size: 14px; }
  .foot-links { flex-wrap: wrap; gap: 8px 20px; }
  .foot-right { justify-self: start; }
}

/* ---------- Varias páginas ---------- */
main > section:first-child { padding-top: clamp(32px, 4vw, 64px); }
.overview { padding: var(--section) var(--margin) 0; }
.overview h2 { font-size: clamp(36px, 4.4vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 600; margin-bottom: 40px; }
.ov-list { display: grid; gap: 4px; }
.ov-list a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 24px; align-items: center;
  padding: 26px 24px; border-radius: var(--radius); background: var(--surface); text-decoration: none;
  transition: background-color 200ms;
}
.ov-list a:hover { background: var(--surface-2); }
.ov-list a:hover .ov-go { transform: translateX(6px); color: var(--accent); }
.ov-t { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.ov-t small { display: inline-block; margin-left: 10px; font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0; vertical-align: middle; }
.ov-d { color: var(--muted); }
.ov-go { font-size: 24px; color: var(--muted); transition: transform 200ms var(--ease-out), color 200ms; }
.next {
  margin: var(--section) var(--margin) 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--surface);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.next h2 { font-size: var(--step-2); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; }
.next p { margin-top: 8px; color: var(--muted); }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
@media (max-width: 760px) {
  .ov-list a { grid-template-columns: 1fr auto; padding: 20px 18px; }
  .ov-d { grid-column: 1; }
  .ov-go { grid-row: 1 / 3; grid-column: 2; }
}

/* ---------- Franja de inicio de cada página (globo + título animado) ---------- */
.page-hero { min-height: clamp(420px, 62svh, 640px); align-content: end; }
.page-hero-copy { position: relative; z-index: 1; padding: 120px var(--margin) clamp(40px, 6vw, 72px); max-width: 900px; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.page-hero .hero-sub { margin-top: 20px; max-width: 52ch; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,13,20,.85) 0%, rgba(10,13,20,.3) 45%, rgba(10,13,20,0) 70%), linear-gradient(90deg, rgba(10,13,20,.55), rgba(10,13,20,0) 60%); /* taste-skill-ignore: velo para leer el texto */
}
.page-preguntas .faq-list { grid-column: 1 / 13; }
@media (max-width: 760px) {
  .page-hero { min-height: 62svh; }
  .page-hero-copy { padding: 96px 20px 36px; }
  .page-hero h1 { font-size: clamp(34px, 9.4vw, 48px); }
}

/* ---------- Comanda impresa (Cómo funciona) ---------- */
.how-steps { grid-row: 1; }
.how .demo-wrap { grid-row: 1 / 3; align-self: start; }
.printer { grid-column: 1 / 7; grid-row: 2; align-self: start; margin-top: 40px; max-width: 340px; }
.printer figcaption { font-size: var(--step-s); color: var(--muted); margin-bottom: 12px; }
.printer-slot { height: 14px; border-radius: 7px; background: var(--surface-3); }
.ticket-wrap { display: grid; margin: -7px 14px 0; }
.ticket-wrap > .ticket { min-height: 0; overflow: hidden; }
.ticket {
  background: #eef1f4; color: #15171a; padding: 22px 20px 26px; font-size: 14px; line-height: 1.55;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 95% 100%, 90% calc(100% - 8px), 85% 100%, 80% calc(100% - 8px), 75% 100%, 70% calc(100% - 8px), 65% 100%, 60% calc(100% - 8px), 55% 100%, 50% calc(100% - 8px), 45% 100%, 40% calc(100% - 8px), 35% 100%, 30% calc(100% - 8px), 25% 100%, 20% calc(100% - 8px), 15% 100%, 10% calc(100% - 8px), 5% 100%, 0 calc(100% - 8px));
}
.ticket .c { text-align: center; }
.ticket .big { font-size: 17px; font-weight: 700; }
.ticket .g { margin-top: 12px; padding-top: 12px; box-shadow: inset 0 2px 0 -1px #c9ced6; } /* taste-skill-ignore: corte del papel */
.ticket .r { display: flex; justify-content: space-between; gap: 12px; }
.printer-wait { margin-top: 12px; font-size: var(--step-s); color: var(--muted); }
.app-ready .ticket-wrap { grid-template-rows: 0fr; }
.app-ready .printer.printed .ticket-wrap { grid-template-rows: 1fr; transition: grid-template-rows 1800ms steps(18); }
.app-ready .ticket-wrap > .ticket { padding-top: 0; padding-bottom: 0; }
.app-ready .printer.printed .ticket-wrap > .ticket { padding-top: 22px; padding-bottom: 26px; }
.printer.printed .printer-wait { display: none; }
@media (prefers-reduced-motion: reduce) {
  .app-ready .printer.printed .ticket-wrap { transition: none; }
}
@media (max-width: 1024px) {
  .how .demo-wrap { grid-row: auto; }
  .printer { grid-column: 1 / 13; grid-row: auto; }
}

/* ---------- Planes: el plan que tocas queda resaltado ---------- */
.plan-table td, .plan-table thead .pcol { cursor: pointer; transition: background-color 220ms, box-shadow 220ms; }
.plan-table thead .pcol .pt-name { transition: color 220ms; }
.pt-for { display: block; margin: 10px auto 0; max-width: 22ch; font-size: 14px; line-height: 1.4; color: var(--muted); font-weight: 400; min-height: 2.8em; }
.plan-table .rf { display: block; color: var(--ink); }
.plan-table .rd { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 400; max-width: 46ch; }
@media (max-width: 760px) {
  .plan-table .rd { font-size: 13px; }
  .pt-for { display: none; }
}

/* Globo: en celular, deslizar de lado lo gira y de arriba a abajo sigue moviendo la página */
.hero { touch-action: pan-y pinch-zoom; }
