/* Gohan landing — moderno cálido: papel crema, tinta profunda, acento brass. */
:root {
  --ground: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f1ebdd;
  --line: rgba(24, 34, 32, 0.1);
  --line-strong: rgba(24, 34, 32, 0.22);
  --text: #182220;
  --text-2: #5b6663;
  --text-3: #8b948f;
  --brass: #8f6317;
  --brass-bright: #c0882c;
  --ember: #c14a2e;
  --moss: #2f7a5f;
  /* Verde de full-app (--md-sys-color-primary light). */
  --leaf: #4c662b;
  --ink: #101d1a;
  --ink-soft: #16241f;
  --ink-text: #f4efe3;
  --display: "Fraunces", Georgia, serif;
  --body: "Albert Sans", "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, Consolas, monospace;
  --shadow-lift: 0 1px 2px rgba(16, 29, 26, 0.06), 0 24px 60px -24px rgba(16, 29, 26, 0.28);
  /* Mismos hex que el kanban de pedidos (kanban-lane.component.scss). */
  --status-received: #ef4444;
  --status-kitchen: #f59e0b;
  --status-transit: #06b6d4;
  --status-done: #22c55e;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.eyebrow,
.nav a,
.cta,
.hero__note,
.hero__feats,
.hero__feat-plan,
.versus__who,
.share__kicker,
.share__url,
.share__hint,
.stick,
.plan-card__tag,
.plan-card__badge,
.card__n,
.journey__n,
.live-track__kicker,
.live-track__code,
.live-track__eta,
.circuit__role,
.circuit__hint,
.vitrina__label,
.tpl__url,
.shop__kind,
.shop__window-h,
.shop__plaque,
.como__steps .card__n,
.board__title,
.board__btn,
.board__tab,
.board__iconbtn,
.lane__head,
.fleet__label,
.phone__url,
.track__time,
.stage__tag,
.desk__url,
.desk__lane header,
.rider__kicker,
.rider__status,
.rider__code,
.rider__cta,
.price,
.site-footer,
.marquee__list,
.shift__side,
.shift__note,
.wa__bar,
.ticket__kicker,
.ticket__meta,
.rubros__chip,
.plan-table,
.scene__beat .journey__n {
  font-family: var(--mono);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  color: var(--leaf);
  display: block;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand__name span {
  color: var(--leaf);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: var(--text-2);
}

.nav a:hover {
  color: var(--text);
}

.nav a:focus-visible,
.cta:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
}

/* Gana a `.cta { display: inline-flex }`, declarado mas abajo con la misma
   especificidad: en escritorio el CTA del nav duplicaba a `.header-cta`. */
.nav .nav__cta {
  display: none;
}

/* El acceso de quien ya tiene tienda. En escritorio vive junto al CTA del
   header; en el celular la entrada es .nav__login, adentro del menú. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-login {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-2);
}

.header-login:hover {
  color: var(--text);
}

.header-login:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.nav .nav__login {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- CTA ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--text);
  color: var(--ground);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cta:hover {
  background: var(--brass);
  color: #fff;
  transform: translateY(-1px);
}

.cta--big {
  padding: 15px 30px;
  font-size: 14px;
}

.cta--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.cta--ghost:hover {
  border-color: var(--brass);
  background: transparent;
  color: var(--text);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0 72px;
  scroll-margin-top: 76px;
}

.section,
.close {
  scroll-margin-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6.2vw, 76px);
}

.hero h1 em {
  font-style: italic;
  color: var(--brass);
}

.lede {
  margin: 0 0 28px;
  color: var(--text-2);
  max-width: 36em;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__feats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  max-width: 360px;
  list-style: none;
}

.hero__feats li {
  position: relative;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 29, 26, 0.04);
  color: var(--text);
}

.hero__feats li:hover,
.hero__feats li:focus-within {
  z-index: 3;
  border-color: color-mix(in srgb, var(--brass) 42%, var(--line));
}

.hero__feats button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px 12px 8px 8px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  color: inherit;
  text-align: left;
  cursor: help;
}

.hero__feats button:focus {
  outline: none;
}

.hero__feats button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.hero__feat-label {
  min-width: 0;
  white-space: normal;
}

.hero__feat-plan {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--brass) 16%, transparent);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  flex-shrink: 0;
}

.hero__feat-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--brass);
}

.hero__feat-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.hero__feat-tip {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: calc(100% + 10px);
  width: max(100%, 220px);
  max-width: 260px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--ink-text);
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: 0 14px 32px -16px rgba(16, 29, 26, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  pointer-events: none;
}

.hero__feat-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 18px;
  border: 6px solid transparent;
  border-top-color: var(--ink);
}

.hero__feats li:hover .hero__feat-tip,
.hero__feats li:focus-within .hero__feat-tip {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero__note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--text-3);
}

.hero__stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero__demo {
  margin: 0;
  text-align: center;
  font-size: 14px;
}

.hero__demo a {
  color: var(--brass);
  text-decoration: none;
  font-weight: 500;
}

.hero__demo a:hover {
  color: var(--brass-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__demo a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- hero mockups: un pedido, tres pantallas ---------- */

.stage {
  position: relative;
  padding: 36px 22px 40px;
  background: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 78% -10%, rgba(192, 136, 44, 0.28), transparent 58%),
    radial-gradient(70% 50% at 8% 110%, rgba(6, 182, 212, 0.16), transparent 62%);
  pointer-events: none;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(244, 239, 227, 0.015) 2px,
      rgba(244, 239, 227, 0.015) 3px
    );
}

.stage__scene {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.stage__tag {
  position: absolute;
  top: -18px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--ink) 82%, #000);
  border: 1px solid rgba(244, 239, 227, 0.14);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.72);
  white-space: nowrap;
}

.desk {
  position: absolute;
  top: 28px;
  left: 6%;
  right: 4%;
  z-index: 1;
  transform: rotate(-1.6deg);
  border-radius: 14px;
  background: #0c1816;
  border: 1px solid rgba(244, 239, 227, 0.12);
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.7);
  overflow: visible;
}

.desk__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(244, 239, 227, 0.08);
  background: #0a1412;
  border-radius: 14px 14px 0 0;
}

.desk__traffic {
  width: 34px;
  height: 8px;
  border-radius: 100px;
  background:
    radial-gradient(circle at 4px 4px, #e07a6a 3.2px, transparent 3.4px),
    radial-gradient(circle at 17px 4px, #d4b15a 3.2px, transparent 3.4px),
    radial-gradient(circle at 30px 4px, #6aae86 3.2px, transparent 3.4px);
}

.desk__url {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.42);
}

.desk__lanes {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px;
  padding: 10px;
}

.desk__lane {
  min-height: 92px;
  padding: 8px;
  border-radius: 10px;
  background: #142422;
}

.desk__lane header {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.5);
}

.desk__lane header b {
  color: rgba(244, 239, 227, 0.78);
  font-weight: 500;
}

.desk__lane p {
  margin: 0;
  padding: 8px;
  border-radius: 8px;
  background: #1b302d;
  font-size: 11.5px;
  color: var(--ink-text);
}

.desk__lane--live {
  background: color-mix(in srgb, var(--brass) 18%, #142422);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass-bright) 45%, transparent);
}

.desk__live {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--brass) 28%, #1b302d) !important;
}

.desk__live em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--brass-bright);
}

.phone {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--r-lg);
  background: var(--ink-soft);
  border: 1px solid rgba(244, 239, 227, 0.14);
  overflow: visible;
}

.phone--customer,
.phone--rider {
  overflow: hidden;
  padding-top: 22px;
}

.phone--customer > .stage__tag,
.phone--rider > .stage__tag {
  top: 5px;
}

.stage .phone--customer,
.stage .phone--rider {
  position: absolute;
  margin: 0;
}

.phone--customer {
  left: 0;
  bottom: 18px;
  width: 248px;
  z-index: 3;
  transform: rotate(-4deg);
  box-shadow:
    0 22px 50px -18px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(244, 239, 227, 0.08);
}

.phone--rider {
  right: 2px;
  bottom: 28px;
  width: 196px;
  z-index: 4;
  transform: rotate(5deg);
  background: #0e1c1a;
  box-shadow:
    0 24px 48px -16px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(244, 239, 227, 0.1);
}

.reveal.is-in .desk {
  animation: stage-in 0.7s ease 0.05s both;
}

.reveal.is-in .phone--customer {
  animation: stage-in 0.7s ease 0.18s both;
}

.reveal.is-in .phone--rider {
  animation: stage-in 0.7s ease 0.32s both;
}

@keyframes stage-in {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.phone__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(244, 239, 227, 0.1);
}

.phone__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 12px var(--brass-bright);
}

.phone__url {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 227, 0.66);
}

.phone__body {
  padding: 18px 18px 20px;
}

.phone__title {
  margin: 0 0 2px;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink-text);
}

.phone__sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(244, 239, 227, 0.55);
}

.track {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.track__step {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.track__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 30px;
  bottom: -10px;
  width: 2px;
  background: rgba(244, 239, 227, 0.14);
}

.track__step.is-done:not(:last-child)::before {
  background: var(--moss);
}

.track__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(244, 239, 227, 0.3);
  background: transparent;
}

.track__step.is-done .track__dot {
  background: var(--moss);
  border-color: var(--moss);
}

.track__step.is-now .track__dot {
  border-color: var(--brass-bright);
  background: var(--brass-bright);
  box-shadow: 0 0 0 4px rgba(192, 136, 44, 0.25);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(192, 136, 44, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(192, 136, 44, 0.12);
  }
}

.track__label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-text);
}

.track__step.is-now .track__label {
  color: var(--brass-bright);
}

.track__time {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 227, 0.5);
}

.phone--customer .phone__title {
  font-size: 18px;
}

.phone--customer .phone__body {
  padding: 14px 14px 16px;
}

.phone--customer .phone__sub {
  margin-bottom: 12px;
  font-size: 12px;
}

.phone--customer .track__step {
  padding: 8px 0;
  gap: 8px;
}

.phone--customer .track__label {
  font-size: 13px;
}

.desk__live,
.rider__code {
  animation: pulse 2s ease-in-out infinite;
}

.rider__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 10px;
  border-bottom: 1px solid rgba(244, 239, 227, 0.1);
}

.rider__ava {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brass) 55%, #1a1208);
  color: var(--ink-text);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}

.rider__name {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink-text);
}

.rider__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.rider__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 28%, transparent);
}

.rider__body {
  padding: 12px;
}

.rider__kicker {
  margin: 0 0 4px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.rider__order {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink-text);
}

.rider__where,
.rider__hint {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: rgba(244, 239, 227, 0.55);
}

.rider__hint {
  margin-bottom: 12px;
}

.rider__code {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #142422;
  border: 1px solid color-mix(in srgb, var(--brass-bright) 35%, transparent);
}

.rider__code span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.45);
}

.rider__code strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--brass-bright);
}

.rider__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 12px;
  border-radius: 100px;
  background: var(--ink-text);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- sections ---------- */

.section {
  padding: 108px 0;
}

.section--invert {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.8vw, 58px);
}

.section .sub {
  margin: 0 0 40px;
  color: var(--text-2);
  max-width: 42em;
  font-size: 17.5px;
}

/* ---------- marquee de rubros ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface-2);
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-x 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__list {
  display: flex;
  gap: 48px;
  margin: 0;
  padding: 0 48px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.marquee__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.marquee__list b {
  color: var(--text);
  font-weight: 500;
}

.marquee__list span {
  color: var(--brass);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
}

@keyframes marquee-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sin Gohan / Con Gohan ---------- */

.shift {
  display: grid;
  gap: 28px;
}

.shift__control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.shift__side {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.2s ease;
}

.shift:not(:has(.shift__check:checked)) .shift__side:first-of-type,
.shift:has(.shift__check:checked) .shift__side--on {
  color: var(--text);
}

.shift__check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shift__track {
  position: relative;
  width: 64px;
  height: 34px;
  border-radius: 100px;
  background: var(--ink);
  border: 1px solid var(--ink);
  flex-shrink: 0;
}

.shift:has(.shift__check:checked) .shift__track {
  background: var(--leaf);
  border-color: var(--leaf);
}

.shift__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ground);
  transition: transform 0.22s ease;
}

.shift:has(.shift__check:checked) .shift__thumb {
  transform: translateX(30px);
}

.shift__check:focus-visible + .shift__track {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.shift__panels {
  display: grid;
}

.shift__panel {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 28px;
  align-items: center;
}

.shift:not(:has(.shift__check:checked)) .shift__panel--on,
.shift:has(.shift__check:checked) .shift__panel--off {
  display: none;
}

.wa,
.ticket {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.wa {
  background: var(--surface-2);
}

.wa__bar {
  margin: 0;
  padding: 12px 16px;
  background: var(--moss);
  color: var(--ink-text);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wa__thread {
  display: grid;
  gap: 8px;
  padding: 16px 14px 18px;
}

.wa__msg {
  margin: 0;
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.35;
}

.wa__msg--in {
  justify-self: start;
  background: var(--surface);
  color: var(--text);
}

.wa__msg--out {
  justify-self: end;
  background: color-mix(in srgb, var(--moss) 22%, var(--surface));
  color: var(--text);
}

.ticket {
  background: var(--ink);
  color: var(--ink-text);
  padding: 22px 22px 20px;
}

.ticket__kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.ticket__dish {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
}

.ticket__meta {
  margin: 0 0 18px;
  font-size: 12px;
  color: color-mix(in srgb, var(--ink-text) 70%, transparent);
}

.ticket__steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.ticket__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--ink-text) 45%, transparent);
}

.ticket__steps li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.ticket__steps .is-done {
  color: var(--ink-text);
}

.ticket__steps .is-now {
  color: var(--brass-bright);
}

.shift__points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shift__points li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.shift__points li:first-child {
  border-top: 0;
  padding-top: 0;
}

.shift__points--on li {
  color: var(--leaf);
}

.shift__note {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

/* ---------- 3-card grid ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--ground);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section:not(.section--invert) .card {
  background: var(--surface);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ember) 12%, transparent);
  color: var(--ember);
  font-size: 14px;
}

.card__n {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--brass);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------- canal propio vs marketplace ---------- */

.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.versus__col {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.versus__col--us {
  border-color: color-mix(in srgb, var(--leaf) 38%, var(--line));
  background: color-mix(in srgb, var(--leaf) 7%, var(--surface));
}

.versus__who {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.versus__col--us .versus__who {
  color: var(--leaf);
}

.versus ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.versus li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
}

.versus li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* ---------- circuit: tres pantallas, un pedido ---------- */

.circuit {
  display: grid;
  grid-template-columns: 1fr auto 1.12fr auto 1fr;
  align-items: start;
  gap: 8px 6px;
  padding: 28px 20px 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.circuit__node {
  text-align: center;
  min-width: 0;
}

.circuit__node--hub .circuit__device {
  background: color-mix(in srgb, var(--brass) 10%, var(--ground));
  border-color: color-mix(in srgb, var(--brass) 28%, var(--line));
}

.circuit__device {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 28px;
  background: var(--ground);
  border: 1px solid var(--line);
  color: var(--ink);
}

.device {
  display: block;
}

.device--pc {
  width: 86px;
  height: 64px;
}

.device--phone,
.device--app {
  width: 46px;
  height: 72px;
}

.circuit__role {
  margin: 0 0 4px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.circuit__node h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.circuit__node p {
  margin: 0 auto;
  max-width: 18em;
  color: var(--text-2);
  font-size: 14.5px;
}

.circuit__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 36px;
}

.circuit__arrow {
  position: relative;
  width: 64px;
  height: 10px;
}

.circuit__arrow i {
  position: absolute;
  top: 4px;
  left: 6px;
  right: 6px;
  height: 2px;
  background: color-mix(in srgb, var(--brass) 55%, var(--line-strong));
  border-radius: 2px;
}

.circuit__arrow i:first-child::before,
.circuit__arrow i:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid color-mix(in srgb, var(--brass) 70%, var(--text));
  border-right: 2px solid color-mix(in srgb, var(--brass) 70%, var(--text));
}

.circuit__arrow i:first-child::before {
  left: -1px;
  transform: translateY(-50%) rotate(-135deg);
}

.circuit__arrow i:last-child::after {
  right: -1px;
  transform: translateY(-50%) rotate(45deg);
}

.circuit__arrow::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass-bright) 22%, transparent);
  animation: circuit-run 2.4s ease-in-out infinite;
}

.circuit__hint {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

@keyframes circuit-run {
  0% {
    left: 8px;
  }
  50% {
    left: calc(100% - 16px);
  }
  100% {
    left: 8px;
  }
}

/* ---------- journey (seguimiento) ---------- */

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 22px;
  padding: 10px;
  list-style: none;
  border-radius: var(--r-lg);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--status-received) 22%, var(--ground)),
    color-mix(in srgb, var(--status-kitchen) 20%, var(--ground)) 36%,
    color-mix(in srgb, var(--status-transit) 18%, var(--ground)) 68%,
    color-mix(in srgb, var(--status-done) 22%, var(--ground))
  );
}

.journey__step {
  --step: var(--brass);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--step) 16%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--step) 32%, var(--line));
}

.journey__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: var(--step);
}

.journey__step--received {
  --step: var(--status-received);
}

.journey__step--kitchen {
  --step: var(--status-kitchen);
}

.journey__step--transit {
  --step: var(--status-transit);
}

.journey__step--done {
  --step: var(--status-done);
}

.journey__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--step);
  font-size: 18px;
}

.journey__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 50%;
  background: var(--step);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.journey__step--kitchen .journey__n {
  color: #3a2304;
}

.journey__step h3 {
  margin: 0;
  font-size: 16px;
}

.journey__note {
  margin: 28px 0 0;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px dashed var(--line-strong);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 15px;
  max-width: 52em;
}

/* ---------- escena sticky del pedido ---------- */

.scene {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.scene__pin {
  position: sticky;
  top: 88px;
}

.scene__beats {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene__beat {
  --step: var(--brass);
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 8px 24px 18px;
  border-left: 4px solid color-mix(in srgb, var(--step) 35%, var(--line));
  color: var(--text-3);
  cursor: pointer;
}

.scene__beat[data-beat="received"] {
  --step: var(--status-received);
}

.scene__beat[data-beat="kitchen"] {
  --step: var(--status-kitchen);
}

.scene__beat[data-beat="transit"] {
  --step: var(--status-transit);
}

.scene__beat[data-beat="done"] {
  --step: var(--status-done);
}

.scene__beat.is-on {
  color: var(--text);
  border-left-color: var(--step);
}

.scene__beat h3 {
  margin: 0;
  font-size: 28px;
}

.scene__beat p {
  margin: 0;
  max-width: 22em;
  font-size: 16px;
  color: var(--text-2);
}

.scene__beat .journey__n {
  background: var(--step);
  color: #fff;
}

.scene__beat[data-beat="kitchen"] .journey__n {
  color: #3a2304;
}

/* ---------- live tracking map ---------- */

.live-track {
  margin: 0;
  padding: 0;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.live-track__bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: end;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.live-track__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--status-transit);
}

.live-track__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-transit);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--status-transit) 55%, transparent);
  animation: live-pulse 1.8s ease-out infinite;
}

.live-track__who h3 {
  margin: 0;
  font-size: 26px;
}

.live-track__meta {
  margin: 4px 0 0;
  color: var(--text-2);
  font-size: 14.5px;
}

.live-track__eta,
.live-track__code {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ground);
  border: 1px solid var(--line);
}

.live-track__eta span,
.live-track__code span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.live-track__eta strong,
.live-track__code strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.live-track__eta {
  border-color: color-mix(in srgb, var(--status-transit) 35%, var(--line));
  background: color-mix(in srgb, var(--status-transit) 10%, var(--surface));
}

.live-track__code {
  border-color: color-mix(in srgb, var(--status-done) 32%, var(--line));
  background: color-mix(in srgb, var(--status-done) 10%, var(--surface));
}

.live-map {
  --map-paper: #e6dfcf;
  --map-block: #cfc6b2;
  --map-street: #f6f1e6;
  position: relative;
  height: min(58vw, 480px);
  min-height: 260px;
  overflow: hidden;
  background: var(--map-paper);
}

.live-map__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.live-map__plaza {
  fill: color-mix(in srgb, var(--moss) 26%, var(--map-paper));
}

.live-map__route {
  stroke: var(--status-transit);
  stroke-width: 3.5;
  stroke-dasharray: 8 9;
  stroke-linecap: round;
  animation: live-dash 1.1s linear infinite;
}

.live-map__label {
  fill: color-mix(in srgb, var(--text) 38%, var(--map-paper));
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-map__plaza-name {
  text-anchor: middle;
  letter-spacing: 0.2em;
  fill: color-mix(in srgb, var(--moss) 70%, var(--text));
}

.live-map__pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -100%);
  z-index: 1;
}

.live-map__pin--store {
  left: 18%;
  top: 72%;
}

.live-map__pin--home {
  left: 80%;
  top: 26%;
}

.live-map__pin--rider {
  left: 18%;
  top: 72%;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.live-track[data-scene-stage="received"] .live-map__pin--rider {
  left: 18%;
  top: 72%;
}

.live-track[data-scene-stage="kitchen"] .live-map__pin--rider {
  left: 24%;
  top: 66%;
}

.live-track[data-scene-stage="transit"] .live-map__pin--rider {
  animation: live-ride 14s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.live-track[data-scene-stage="done"] .live-map__pin--rider {
  left: 80%;
  top: 26%;
}

.live-track[data-scene-stage="received"] .live-map__route,
.live-track[data-scene-stage="kitchen"] .live-map__route {
  opacity: 0.2;
}

.live-map__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 6px 16px rgba(16, 29, 26, 0.18);
}

.live-map__mark svg {
  width: 20px;
  height: 20px;
}

.live-map__pin--store .live-map__mark {
  background: var(--brass);
  color: #fff;
}

.live-map__pin--home .live-map__mark {
  background: var(--status-done);
  color: #fff;
}

.live-map__pin--rider .live-map__mark {
  background: var(--status-transit);
  color: #08343b;
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--status-transit) 22%, transparent),
    0 6px 16px rgba(16, 29, 26, 0.18);
}

.live-map__tip {
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--ink-text);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.live-track__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin: 0;
  padding: 12px 24px 14px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  border-top: 1px solid var(--line);
}

.live-track__legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-track__legend li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.live-track__legend .is-store::before {
  background: var(--brass);
}

.live-track__legend .is-rider::before {
  background: var(--status-transit);
}

.live-track__legend .is-home::before {
  background: var(--status-done);
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--status-transit) 50%, transparent);
  }
  100% {
    box-shadow: 0 0 0 8px transparent;
  }
}

@keyframes live-dash {
  to {
    stroke-dashoffset: -17;
  }
}

@keyframes live-ride {
  0% {
    left: 18%;
    top: 72%;
  }
  20% {
    left: 28%;
    top: 58%;
  }
  40% {
    left: 42%;
    top: 48%;
  }
  62% {
    left: 58%;
    top: 40%;
  }
  80% {
    left: 72%;
    top: 32%;
  }
  100% {
    left: 80%;
    top: 26%;
  }
}

/* ---------- cómo funciona + vitrina ---------- */

.como {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 40px;
  align-items: center;
}

.como__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.como__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--ground);
  border: 1px solid var(--line);
}

.como__steps .card__n {
  margin: 3px 0 0;
}

.como__steps h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.como__steps p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
}

.vitrina {
  --shop-brand: #bf4127;
  --enamel: #16241f;
  --enamel-ink: #f4efe3;
  --wall: #f8f3e9;
  --wall-2: #eee7d8;
  --metal: #e4ddce;
  position: relative;
  padding: 28px 22px 22px;
  border-radius: var(--r-xl);
  background: #f4efe4;
  border: 1px solid var(--line);
}

.vitrina__label {
  margin: 0 0 14px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.shop {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 1px 2px rgba(16, 29, 26, 0.05), 0 26px 50px -28px rgba(16, 29, 26, 0.4);
  overflow: hidden;
}

.shop__awning {
  height: 38px;
  background:
    repeating-linear-gradient(90deg, rgba(24, 34, 32, 0.13) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, var(--shop-brand) 0 26px, #fbf6ea 26px 52px);
  -webkit-mask: radial-gradient(circle 13px at 13px 100%, transparent 0 12.6px, #000 13px) 0 100% / 26px 100% repeat-x;
  mask: radial-gradient(circle 13px at 13px 100%, transparent 0 12.6px, #000 13px) 0 100% / 26px 100% repeat-x;
}

.shop__sign {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 16px 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--enamel);
  border: 2px solid color-mix(in srgb, var(--shop-brand) 55%, #f4efe3);
}

.shop__badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 5px;
  background: rgba(244, 239, 227, 0.08);
  color: var(--enamel-ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}

.shop__name {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--enamel-ink);
}

.shop__kind {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--shop-brand) 40%, #f4efe3);
}

.shop__body {
  margin: 12px 16px 0;
}

.shop__facade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 10px;
  min-height: 168px;
  padding: 12px;
  border-radius: 8px 8px 0 0;
  background: var(--wall);
  border: 1px solid rgba(24, 34, 32, 0.11);
  border-bottom: 0;
}

.shop__window {
  padding: 10px;
  border-radius: 5px;
  background: #fffdf9;
  border: 1px solid rgba(24, 34, 32, 0.11);
}

.shop__window-h {
  margin: 0 0 8px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.shop__dish {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--text);
}

.shop__dish:last-child {
  margin-bottom: 0;
}

.shop__dish b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
}

.shop__door {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--wall-2), #e7e0d0);
  border: 1px solid rgba(24, 34, 32, 0.11);
  border-bottom: 0;
}

.shop__door::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 46%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shop-brand);
}

.shop__open {
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid var(--ember);
  background: color-mix(in srgb, var(--ember) 8%, transparent);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

.shop__pavement {
  height: 10px;
  border-radius: 0 0 8px 8px;
  background: repeating-linear-gradient(90deg, rgba(24, 34, 32, 0.12) 0 1px, transparent 1px 30px), #ded6c4;
}

.shop__plaque {
  margin: 10px 16px 12px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-2);
}

.share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--ground);
  border: 1px solid var(--line);
}

.share__qr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 52px;
  height: 52px;
  padding: 5px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
}

.share__qr span {
  border-radius: 1px;
  background: var(--ink);
}

.share__qr span:nth-child(2),
.share__qr span:nth-child(4),
.share__qr span:nth-child(8) {
  opacity: 0.22;
}

.share__kicker {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.share__url {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--text);
}

.share__hint {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  text-transform: none;
}

/* ---------- plantillas de rubro: una fila, abanico ---------- */

#carta {
  overflow-x: clip;
}

.rubros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.rubros__chip {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.rubros__chip:hover,
.rubros__chip.is-on {
  border-color: var(--brass);
  color: var(--text);
}

.rubros__chip.is-on {
  background: var(--text);
  color: var(--ground);
  border-color: var(--text);
}

.rubros__chip:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.tpls {
  --card: 168px;
  --overlap: 0.28;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 390px;
  padding: 52px 0 28px;
  scrollbar-width: thin;
}

.tpl.is-dim {
  opacity: 0.28;
  filter: grayscale(0.4);
  pointer-events: none;
}

.tpl {
  position: relative;
  z-index: 1;
  width: var(--card);
  flex: 0 0 var(--card);
  margin: 0 0 0 calc(var(--card) * var(--overlap) * -1);
  transform-origin: 50% 86%;
  transition: transform 0.35s ease, z-index 0s 0.28s;
}

.tpl:first-child {
  margin-left: 0;
}

.tpl:nth-child(1) { transform: rotate(-12deg) translateY(28px); z-index: 1; }
.tpl:nth-child(2) { transform: rotate(-7deg) translateY(12px); z-index: 2; }
.tpl:nth-child(3) { transform: rotate(-2.4deg) translateY(2px); z-index: 3; }
.tpl:nth-child(4) { transform: rotate(2.6deg) translateY(4px); z-index: 4; }
.tpl:nth-child(5) { transform: rotate(7.5deg) translateY(14px); z-index: 5; }
.tpl:nth-child(6) { transform: rotate(12.5deg) translateY(30px); z-index: 6; }

@media (hover: hover) and (pointer: fine) {
  .tpl:hover,
  .tpl:focus-within {
    z-index: 12;
    transform: rotate(0deg) translateY(-16px) scale(1.14);
    transition: transform 0.35s ease, z-index 0s;
  }
}

.tpl__phone {
  overflow: hidden;
  border-radius: 22px;
  background: var(--ink);
  padding: 5px 5px 7px;
  box-shadow:
    0 1px 2px rgba(16, 29, 26, 0.12),
    0 18px 36px -16px rgba(16, 29, 26, 0.55);
}

.tpl__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 6px;
}

.tpl__dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 8px var(--brass-bright);
}

.tpl__url {
  font-size: 8px;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 227, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpl__phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 16px 16px;
  background: var(--surface-2);
}

.tpl figcaption {
  padding: 10px 2px 0;
  text-align: center;
}

.tpl h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tpl p {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.tpls__cta {
  margin: 22px 0 0;
  text-align: center;
}

/* ---------- split (cliente / local) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.split__col {
  padding: 32px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.split__title {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 32px);
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15.5px;
}

/*
  Etiqueta de grupo dentro de una columna de `.split`. La lista de "Para el local" creció
  hasta las diez líneas; partida en tres bloques con nombre se lee de un vistazo. El primer
  rótulo usa el margen de `.eyebrow`; los siguientes necesitan aire respecto de la lista de
  arriba.
*/
.ticks + .ticks__label {
  margin-top: 26px;
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--moss);
  font-family: var(--mono);
}

/* ---------- orders board mock ---------- */

.board {
  margin: 36px 0 0;
  padding: 0;
}

.board__caption {
  margin: 0 0 18px;
}

.board__caption h3 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
}

.board__scroll {
  overflow-x: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
}

.board__frame {
  --board-bg: #0b2129;
  --board-surface: #102c34;
  --board-card: #163a45;
  --board-text: #e4f3ec;
  --board-muted: #8aa8a0;
  min-width: 1080px;
  padding: 16px 16px 18px;
  background: var(--board-bg);
  color: var(--board-text);
}

.board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.board__title {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--moss) 70%, #fff);
}

.board__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.board__btn {
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--board-text) 18%, transparent);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.board__btn--new {
  background: color-mix(in srgb, var(--moss) 78%, #fff);
  border-color: transparent;
  color: #0b2129;
}

.board__btn--edit {
  border-color: color-mix(in srgb, var(--status-received) 70%, transparent);
  color: #f3b4b0;
}

.board__tabs,
.board__iconbtn {
  display: none;
}

.board__iconbtn {
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.board__iconbtn svg {
  width: 18px;
  height: 18px;
}

.board__iconbtn--edit {
  color: #f3b4b0;
  background: color-mix(in srgb, var(--status-received) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--status-received) 45%, transparent);
}

.board__iconbtn--done {
  color: #d7cff6;
  background: color-mix(in srgb, #7c6bc4 28%, transparent);
  border: 1px solid color-mix(in srgb, #7c6bc4 45%, transparent);
}

.board__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 250px;
  gap: 10px;
  align-items: stretch;
}

.lane,
.fleet {
  min-height: 360px;
  padding: 10px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--lane) 6%, var(--board-surface));
  border: 1.5px solid color-mix(in srgb, var(--lane) 28%, transparent);
}

.lane--pending {
  --lane: var(--status-received);
}

.lane--kitchen {
  --lane: var(--status-kitchen);
}

.lane--ready {
  --lane: var(--status-done);
}

.lane--transit {
  --lane: var(--status-transit);
}

.lane__head,
.fleet__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--lane);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.lane__head b,
.fleet__label b {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lane) 18%, transparent);
  color: var(--lane);
  font-size: 11px;
}

.lane__icon,
.fleet__head svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.oc {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--board-card) 92%, var(--lane));
  box-shadow: inset 3px 0 0 var(--lane);
}

.oc__ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.oc__ava--wa {
  display: grid;
  place-items: center;
  background: #25d366;
}

.oc__ava--wa svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.oc__info {
  min-width: 0;
  flex: 1;
}

.oc__info p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oc__info span {
  display: block;
  margin-top: 2px;
  color: var(--board-muted);
  font-size: 11.5px;
}

.oc__pay,
.oc__moto {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--status-done) 80%, #fff);
}

.oc__moto {
  color: var(--status-transit);
}

.fleet {
  --lane: var(--status-transit);
  background: var(--board-surface);
}

.fleet__head {
  color: color-mix(in srgb, var(--moss) 55%, #fff);
}

.fleet__label {
  display: flex;
  align-items: center;
  margin: 12px 2px 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--board-muted);
}

.fleet__label b {
  margin-left: auto;
  background: color-mix(in srgb, var(--status-done) 22%, transparent);
  color: var(--status-done);
}

.fleet__label b.is-off {
  background: color-mix(in srgb, var(--board-muted) 22%, transparent);
  color: var(--board-muted);
}

.fleet__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 7px 8px;
  border-radius: 12px;
  background: var(--board-card);
}

.fleet__row img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.fleet__n {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--status-done) 22%, transparent);
  color: var(--status-done);
  font-size: 10px;
  font-weight: 700;
}

.fleet__row div {
  min-width: 0;
  flex: 1;
}

.fleet__row strong,
.fleet__row em {
  display: block;
  font-style: normal;
}

.fleet__row strong {
  font-size: 12.5px;
}

.fleet__row em {
  font-size: 11px;
  color: var(--status-done);
}

.fleet__go {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--status-done) 22%, transparent);
  color: var(--status-done);
}

.fleet__row.is-off em,
.fleet__row.is-off .fleet__n {
  color: var(--board-muted);
}

.fleet__row.is-off {
  opacity: 0.72;
}

/* ---------- planes ---------- */

.plan-table-wrap {
  margin: 0 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ground);
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.plan-table th,
.plan-table td {
  padding: 14px 18px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.plan-table thead th {
  border-top: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--text-3);
}

.plan-table tbody th {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
}

.plan-table td {
  color: var(--text-2);
  width: 18%;
}

.plan-table td:last-child {
  color: var(--leaf);
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plan-card {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--ground);
  border: 1px solid var(--line);
}

.plan-card--full {
  border-color: var(--brass);
  box-shadow: var(--shadow-lift);
}

.plan-card__badge {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface-2);
  color: var(--text-2);
}

.plan-card__badge--rec {
  background: var(--brass);
  color: #fff;
}

.plan-card__tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.plan-card h3 {
  margin: 6px 0 8px;
  font-size: 28px;
}

.plan-card .price {
  display: flex;
  align-items: baseline;
  margin: 0 0 2px;
  color: var(--text);
}

.price__currency {
  font-size: 20px;
  color: var(--text-2);
}

.price__amount {
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price__period {
  margin-left: 6px;
  font-size: 13px;
  color: var(--text-2);
}

.price__wait {
  display: none;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-2);
}

.plan-card[data-price-state="placeholder"] .price__set {
  display: none;
}

.plan-card[data-price-state="placeholder"] .price__wait {
  display: block;
}

.price-note {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: var(--text-2);
  font-family: var(--mono);
}

.plans__footnote {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--text-2);
}

.plan-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.plan-card li span {
  color: var(--moss);
  font-family: var(--mono);
  width: 1.2em;
  flex-shrink: 0;
}

.plan-card li.is-off,
.plan-card li.is-off span {
  color: var(--text-3);
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 20px;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 0;
  font-size: 15.5px;
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------- close + footer ---------- */

.close {
  text-align: center;
  padding: 96px 0 110px;
}

.close h2 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 58px);
}

.close p {
  margin: 0 0 26px;
  color: var(--text-2);
}

/* Quien ya tiene tienda llega hasta acá buscando la puerta de entrada. */
.close .close__login {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-3);
}

.close .close__login a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.close .close__login a:hover {
  color: var(--text);
}

.stick {
  display: none;
  transition: transform 0.28s ease;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .journey {
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--status-received) 22%, var(--ground)),
      color-mix(in srgb, var(--status-kitchen) 20%, var(--ground)) 36%,
      color-mix(in srgb, var(--status-transit) 18%, var(--ground)) 68%,
      color-mix(in srgb, var(--status-done) 22%, var(--ground))
    );
  }

  .journey__step:not(:last-child)::after {
    display: none;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .versus {
    grid-template-columns: 1fr;
  }

  .shift__panel {
    grid-template-columns: 1fr;
  }

  .scene {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .scene__pin {
    position: static;
  }

  .scene__beat {
    min-height: 0;
    padding: 16px 8px 16px 16px;
  }

  .como {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tpls {
    --card: 148px;
    min-height: 340px;
    padding: 40px 0 20px;
  }

  .circuit {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2px;
    padding: 22px 16px 18px;
  }

  .circuit__device {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .circuit__link {
    flex-direction: row;
    gap: 10px;
    padding: 2px 0 8px;
  }

  .circuit__arrow {
    transform: rotate(90deg);
  }

  .live-track__bar {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .live-track__who {
    grid-column: 1 / -1;
  }

  .board__scroll {
    overflow: visible;
  }

  .board__frame {
    min-width: 0;
    padding: 16px 12px 14px;
  }

  .board__top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 4px;
  }

  .board__title {
    font-family: var(--body);
    font-size: 22px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 600;
    color: color-mix(in srgb, var(--moss) 75%, #fff);
  }

  .board__actions {
    width: 100%;
  }

  .board__btn--wide {
    display: none;
  }

  .board__btn--new {
    flex: 1;
    padding: 12px 16px;
    font-size: 13.5px;
  }

  .board__iconbtn {
    display: grid;
  }

  .board__tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 -12px 12px;
    padding: 2px 2px 0;
    border-bottom: 1px solid rgba(228, 243, 236, 0.1);
  }

  .board__tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 2px 10px;
    font-size: 9px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--board-muted);
    text-align: center;
  }

  .board__tab svg {
    width: 20px;
    height: 20px;
  }

  .board__tab b {
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 10px;
    background: rgba(228, 243, 236, 0.08);
    color: var(--board-muted);
  }

  .board__tab:nth-child(1) b {
    background: color-mix(in srgb, var(--status-received) 18%, transparent);
    color: var(--status-received);
  }

  .board__tab:nth-child(2) b {
    background: color-mix(in srgb, var(--status-kitchen) 16%, transparent);
    color: color-mix(in srgb, var(--status-kitchen) 80%, #fff);
  }

  .board__tab:nth-child(3) b {
    background: color-mix(in srgb, var(--status-done) 16%, transparent);
    color: var(--status-done);
  }

  .board__tab:nth-child(4) b {
    background: color-mix(in srgb, var(--status-transit) 16%, transparent);
    color: var(--status-transit);
  }

  .board__tab.is-on {
    color: var(--status-received);
  }

  .board__tab.is-on::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 0;
    height: 2.5px;
    border-radius: 2px 2px 0 0;
    background: var(--status-received);
  }

  .board__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lane--kitchen,
  .lane--ready,
  .lane--transit {
    display: none;
  }

  .lane,
  .fleet {
    min-height: 0;
  }

  .fleet__label--off,
  .fleet__row.is-off {
    display: none;
  }
}

/*
  El menú colapsa antes que el resto de la página. Con ocho secciones más "Ingresar" y el CTA,
  la barra necesita ~1050px: abajo de eso se desbordaba y aparecía un scroll horizontal. El
  resto del layout (hero, split, planes) aguanta bien hasta 860 y sigue con su propio corte.
*/
@media (max-width: 1139px) {
  .nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    cursor: pointer;
  }

  .nav-burger__bars,
  .nav-burger__bars::before,
  .nav-burger__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    content: "";
    position: relative;
  }

  .nav-burger__bars::before {
    position: absolute;
    top: -6px;
  }

  .nav-burger__bars::after {
    position: absolute;
    top: 6px;
  }

  .header-cta,
  .header-login {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  /* Misma especificidad que la regla de escritorio: el media query no la aporta. */
  .nav .nav__login {
    display: block;
  }

  .nav .nav__cta {
    display: inline-flex;
    margin-top: 12px;
    align-self: flex-start;
    border-bottom: 0;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }
}

@media (max-width: 860px) {
  .hero,
  .split,
  .plans {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
    gap: 36px;
  }

  .hero__feats {
    max-width: none;
    gap: 7px;
  }

  .hero__feats li {
    font-size: 12.5px;
  }

  .hero__feats button {
    font-size: 12.5px;
    padding: 8px 10px 8px 7px;
    gap: 8px;
  }

  .marquee__list {
    gap: 28px;
    padding: 0 28px;
  }

  .shift__control {
    gap: 10px;
  }

  .stage {
    padding: 28px 16px 20px;
  }

  .stage__scene {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .desk,
  .stage .phone--customer,
  .stage .phone--rider {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 360px;
    transform: none;
    margin: 0 auto;
  }

  .desk {
    display: none;
  }

  .phone--customer {
    order: 1;
  }

  .phone--rider {
    display: none;
  }

  .reveal.is-in .desk,
  .reveal.is-in .phone--customer,
  .reveal.is-in .phone--rider {
    animation: none;
  }

  .journey {
    grid-template-columns: 1fr;
  }

  #carta.section {
    padding: 56px 0 48px;
  }

  .tpls {
    --card: clamp(72px, 21.4vw, 108px);
    --overlap: 0.36;
    justify-content: center;
    min-height: 0;
    margin-inline: -20px;
    padding: 8px 8px 0;
    overflow: visible;
  }

  .tpl:nth-child(1) { transform: rotate(-9deg) translateY(14px); }
  .tpl:nth-child(2) { transform: rotate(-5deg) translateY(6px); }
  .tpl:nth-child(3) { transform: rotate(-1.6deg) translateY(0); }
  .tpl:nth-child(4) { transform: rotate(2deg) translateY(2px); }
  .tpl:nth-child(5) { transform: rotate(5.2deg) translateY(7px); }
  .tpl:nth-child(6) { transform: rotate(9.4deg) translateY(16px); }

  .tpl__chrome {
    display: none;
  }

  .tpl__phone {
    padding: 0;
    border: 3px solid var(--ink);
    border-radius: 16px;
  }

  .tpl__phone img {
    border-radius: 13px;
  }

  .tpl figcaption {
    padding-top: 7px;
  }

  .tpl h3 {
    font-size: clamp(7px, 2vw, 9px);
    letter-spacing: 0.08em;
    line-height: 1.25;
  }

  .stick {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--ground) 92%, transparent);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transition: transform 0.28s ease;
  }

  .stick.is-away {
    transform: translateY(110%);
    pointer-events: none;
  }

  .stick p {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
  }

  .stick .cta {
    flex-shrink: 0;
    padding: 10px 16px;
  }

  body {
    padding-bottom: 76px;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .track__step.is-now .track__dot,
  .desk__live,
  .rider__code,
  .circuit__arrow::after,
  .reveal.is-in .desk,
  .reveal.is-in .phone--customer,
  .reveal.is-in .phone--rider {
    animation: none;
  }

  .live-track__pulse,
  .live-map__route,
  .live-map__pin--rider {
    animation: none;
  }

  .hero__feat-tip {
    transform: none;
    transition: opacity 0.01s, visibility 0.01s;
  }

  .live-map__pin--rider {
    left: 52%;
    top: 42%;
  }

  .cta,
  .card,
  .stick {
    transition: none;
  }

  .marquee__track,
  .shift__thumb {
    animation: none;
    transition: none;
  }

  .marquee__track {
    transform: none;
  }

  .marquee {
    overflow-x: auto;
  }

  .tpl,
  .tpl:nth-child(n),
  .tpl:hover,
  .tpl:focus-within {
    margin-left: 8px;
    transform: none;
  }

  .tpl:first-child {
    margin-left: 0;
  }
}

/* ---------- página de funciones ---------- */

/*
  El hero de funciones no tiene maqueta al lado: es una sola columna y el índice hace de
  entrada a la página. Reusa todo lo del hero de la home salvo la grilla de dos columnas.
*/
.hero--plain {
  grid-template-columns: 1fr;
  padding: 72px 0 40px;
}

.hero__copy--wide {
  max-width: 62ch;
}

/* El índice: diez destinos que tienen que entrar sin hacer scroll. */
.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.toc a:hover {
  border-color: var(--brass);
  color: var(--text);
}

/* Marca en qué plan entra una función. Fuera del hero también hace falta. */
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--brass) 16%, transparent);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  vertical-align: 1px;
  white-space: nowrap;
}

.feature-list {
  padding: 8px 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.section:not(.section--invert) .feature-list {
  background: var(--surface);
}

/* El nombre de la función se lee antes que su explicación. */
.feature-list .ticks li b {
  color: var(--text);
  font-weight: 600;
}

/* La sección donde ya estás no se ofrece como destino. */
.nav a.is-here {
  color: var(--brass);
}

/* Salidas hacia la página de funciones: bajo los chips del hero y al cierre del bloque de valor. */
.hero__more {
  margin: 14px 0 0;
  font-size: 13.5px;
}

.hero__more a {
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brass) 35%, transparent);
}

.hero__more a:hover {
  border-bottom-color: var(--brass);
}

.split__more {
  margin: 26px 0 0;
  text-align: center;
}

/*
  Con siete funciones en el hero, una sola columna empujaba la copia a más del doble de alto
  que la maqueta de al lado y dejaba la maqueta flotando en el medio de un hueco. En escritorio
  van en dos columnas; abajo de 860px la regla de mobile las vuelve a apilar.
*/
@media (min-width: 861px) {
  .hero__feats {
    grid-template-columns: 1fr 1fr;
    max-width: 520px;
  }

  /* Anclado a su chip, el globo no puede ser más ancho que la columna: se iría de la página. */
  .hero__feats .hero__feat-tip {
    width: 100%;
    max-width: none;
  }
}

/*
  "Ingresar" no es una sección más de la página: es la puerta del que ya es cliente. Pegado
  al final de la navegación se leía como el noveno link del listado. Una línea lo separa del
  recorrido y lo agrupa con el CTA, que es la otra acción.

  Va en min-width porque en el celular .header-actions se queda sin hijos visibles: con el
  borde puesto siempre, quedaría una rayita vertical suelta al lado del logo.
*/
@media (min-width: 1140px) {
  .header-actions {
    margin-left: 6px;
    padding-left: 26px;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 1139px) {
  /* En el menú desplegado, el aire hace el mismo trabajo que la línea en escritorio. */
  .nav .nav__login {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }
}

/*
  La columna de "Con Gohan" pasó de tres puntos a ocho. En una sola columna la lista medía 447px
  contra 273 de la maqueta de al lado y el hueco se mudaba de lado en vez de desaparecer. En dos
  columnas son cuatro filas, queda a la par de la maqueta y entra todo lo que suma el producto.
  Debajo de 860px el panel ya es de una columna y la lista vuelve a apilarse.
*/
@media (min-width: 861px) {
  .shift__points--on {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }

  /* Con dos columnas, el borde de arriba lo pierden los DOS primeros, no sólo el primero. */
  .shift__points--on li:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }
}
