/* DeliveryOS — sitio de la empresa.
   Oscuro primero, acento naranja de DeliveryOS, Archivo ancho para títulos,
   IBM Plex Sans para texto, IBM Plex Mono para datos. El movimiento muestra
   el producto funcionando; con "reducir movimiento" todo queda quieto y visible. */

:root {
  --night: #0e1013;
  --night-2: #15181d;
  --night-3: #1d2128;
  --line-d: rgba(255, 255, 255, 0.09);
  --text-d: #f3f5f7;
  --muted-d: #9aa4af;

  --bg: #f5f6f8;
  --surface: #ffffff;
  --line: #e2e5ea;
  --ink: #12151a;
  --ink-2: #39414b;
  --muted: #5d6773;

  --accent: #ff6a2b;
  --accent-2: #ffb547;
  --accent-strong: #e2471b;
  --accent-soft: #ffe9dd;
  --ok: #3ddc97;
  --warn: #ff4d4d;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;

  --f-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text-d);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: #fff; color: var(--ink); border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Light sections */
.day, .features, .suite, .plans, .faq { background: var(--bg); color: var(--ink); }
.dark { background: var(--night); color: var(--text-d); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255, 106, 43, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-accent:hover { box-shadow: 0 16px 40px -10px rgba(255, 106, 43, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-d);
  border-color: var(--line-d);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.45); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 16, 19, 0.72);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom-color: var(--line-d);
}

.nav-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.logo svg { width: 32px; height: 32px; }

.by { display: none; font-size: 13px; color: var(--muted-d); text-decoration: none; padding-left: 14px; border-left: 1px solid var(--line-d); margin-left: -14px; }
.by:hover { color: #fff; }
@media (min-width: 560px) { .by { display: inline; } }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--accent); }

.nav-links { display: none; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted-d); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav .btn { margin-left: auto; }
@media (min-width: 960px) { .nav-links { display: flex; } .nav .btn { margin-left: 0; } }

/* ── Shared ──────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.day .eyebrow, .features .eyebrow, .suite .eyebrow, .plans .eyebrow, .faq .eyebrow { color: var(--accent-strong); }

.section { position: relative; padding: 88px 0; }
@media (min-width: 960px) { .section { padding: 128px 0; } }

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
.section-lead { margin-top: 18px; font-size: 19px; max-width: 60ch; color: var(--muted); }
.dark .section-lead { color: var(--muted-d); }

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

/* Scroll reveal (only when JS runs; without it everything is visible) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 128px 0 88px; }
@media (min-width: 960px) { .hero { padding: 164px 0 120px; } }

.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  right: -260px; top: -320px;
  background: radial-gradient(closest-side, rgba(255, 106, 43, 0.34), rgba(255, 181, 71, 0.08) 55%, transparent 72%);
  filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift { to { transform: translate(-120px, 80px) scale(1.08); } }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--muted-d);
  margin-bottom: 26px;
}

.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 850; letter-spacing: -0.035em; font-stretch: 108%; }

.grad {
  background: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 45%, #ff3d6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shine 6s ease-in-out infinite alternate;
}
@keyframes shine { to { background-position: 100% 0; } }

.lead { margin-top: 26px; font-size: clamp(17px, 2vw, 21px); color: var(--muted-d); max-width: 54ch; }
.lead strong { color: #fff; font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted-d); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: '✓'; color: var(--ok); font-weight: 700; }

/* Stage: phone + toasts */
.stage { position: relative; display: flex; justify-content: center; padding: 20px 0; min-height: 560px; }

.phone {
  position: relative;
  width: 290px;
  height: 590px;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a2f37, #0b0d10);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 120px -30px rgba(255, 106, 43, 0.45);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }

.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 3; }

.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: #fff; color: #1d2129; font-size: 13px; }

.scene { position: absolute; inset: 0; padding: 54px 14px 16px; opacity: 0; transform: translateX(24px) scale(0.98); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.scene.is-active { opacity: 1; transform: none; }
.scene.is-leaving { opacity: 0; transform: translateX(-24px) scale(0.98); }

/* chat scene */
.scene-chat { background: #efe7de; padding-top: 0; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 50px 14px 12px; margin: 0 -14px 12px; background: #075e54; color: #fff; }
.chat-top small { display: block; opacity: 0.8; font-size: 11px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ff6a2b; font-weight: 700; font-size: 12px; }
.chat-body { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 82%; padding: 8px 11px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); line-height: 1.35; opacity: 0; transform: translateY(8px); }
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bubble.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.scene-chat.is-active .bubble { animation: pop 0.45s var(--ease) forwards; }
.scene-chat.is-active .bubble:nth-child(2) { animation-delay: 0.7s; }
.scene-chat.is-active .bubble:nth-child(3) { animation-delay: 1.4s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.link-card { display: flex; gap: 10px; align-items: center; }
.link-card small { display: block; color: #4a6b56; font-size: 11px; }
.link-thumb { flex-shrink: 0; width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(135deg, #ff6a2b, #ffb547); }

/* menu scene */
.scene-menu { background: #f5f6f8; padding-top: 0; }
.menu-hero { display: flex; align-items: center; gap: 10px; margin: 0 -14px 10px; padding: 50px 14px 14px; background: linear-gradient(135deg, #ff6a2b, #e2471b); color: #fff; border-radius: 0 0 16px 16px; }
.menu-hero small { display: block; opacity: 0.85; font-size: 11px; }
.menu-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: #e2471b; font-weight: 800; font-size: 12px; }
.menu-cats { display: flex; gap: 6px; margin-bottom: 10px; }
.menu-cats span { padding: 4px 10px; border-radius: 999px; border: 1px solid #e2e5ea; background: #fff; font-size: 11px; }
.menu-cats .on { background: #ff6a2b; border-color: #ff6a2b; color: #fff; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 8px; border: 1px solid #e2e5ea; border-radius: 12px; background: #fff; }
.menu-item small { display: block; color: #5d6773; }
.mi-img { flex-shrink: 0; width: 42px; height: 42px; border-radius: 9px; }
.mi-img.a { background: radial-gradient(circle at 35% 35%, #ffd27a, #e8833a 60%, #b8471f); }
.mi-img.b { background: radial-gradient(circle at 40% 40%, #ffcf80, #d4542c 55%, #8f2a13); }
.mi-img.c { background: linear-gradient(160deg, #e3262f, #8e0f15); }
.mi-add { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #ff6a2b; color: #fff; font-weight: 700; }
.scene-menu.is-active .menu-item .mi-add { animation: tap 0.5s ease forwards; }
.scene-menu.is-active .menu-item:nth-of-type(2) .mi-add { animation-delay: 0.6s; }
.scene-menu.is-active .menu-item:nth-of-type(3) .mi-add { animation-delay: 1.1s; }
@keyframes tap { 40% { transform: scale(0.82); background: #12151a; } 100% { transform: none; } }
.menu-cart { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #ff6a2b; color: #fff; box-shadow: 0 10px 24px -8px rgba(255, 106, 43, 0.7); transform: translateY(80px); }
.scene-menu.is-active .menu-cart { animation: slideUp 0.5s var(--ease) 1.6s forwards; }
@keyframes slideUp { to { transform: none; } }
.mc-count { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.22); font-weight: 700; }
.menu-cart b { margin-left: auto; }

/* done scene */
.scene-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: radial-gradient(circle at 50% 30%, #fff1e8, #fff 60%); }
.done-badge { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #ff6a2b; color: #fff; font-size: 38px; font-weight: 700; box-shadow: 0 0 0 12px #ffe9dd; transform: scale(0.4); }
.scene-done.is-active .done-badge { animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes popIn { to { transform: none; } }
.done-title { margin-top: 10px; font-family: var(--f-display); font-size: 20px; }
.done-number { padding: 3px 12px; border-radius: 999px; background: #ffe9dd; color: #c2410c; font-weight: 600; }
.done-steps { display: flex; gap: 6px; margin-top: 8px; }
.done-steps span { padding: 4px 9px; border-radius: 999px; background: #eef0f3; color: #5d6773; font-size: 11px; }
.done-steps .on { background: #e3f8ee; color: #127a4b; }
.done-eta { color: #5d6773; }

/* toasts */
.toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  min-width: 250px;
  border: 1px solid var(--line-d);
  border-radius: 16px;
  background: rgba(29, 33, 40, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.toast small { display: block; color: var(--muted-d); font-size: 12.5px; }
.toast.is-on { opacity: 1; transform: none; }
.toast-a { left: -10px; top: 120px; }
.toast-b { right: -10px; bottom: 90px; }
.toast-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 106, 43, 0.18); }
.toast-ico.ok { background: rgba(61, 220, 151, 0.18); color: var(--ok); font-weight: 700; }

@media (max-width: 600px) {
  .stage { min-height: 520px; }
  .phone { width: 258px; height: 528px; }
  .toast { min-width: 0; max-width: 230px; font-size: 13px; padding: 10px 12px; }
  .toast-a { left: 0; top: 64px; }
  .toast-b { right: 0; bottom: 40px; }
}

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
  background: var(--night-2);
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee ul { display: flex; gap: 56px; margin: 0; padding: 0 28px; list-style: none; }
.marquee li { font-family: var(--f-display); font-stretch: 118%; font-weight: 700; font-size: 22px; color: #d5dbe1; white-space: nowrap; }
.marquee li::after { content: '✦'; margin-left: 56px; color: var(--accent); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── A day with DeliveryOS ─────────────────────────────── */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2) 60%, var(--line)); }
@media (min-width: 860px) { .timeline::before { left: 159px; } }

.moment { position: relative; display: grid; gap: 6px; padding-left: 44px; }
@media (min-width: 860px) { .moment { grid-template-columns: 136px 1fr; gap: 44px; padding-left: 0; align-items: start; } }
.moment::before { content: ''; position: absolute; left: 8px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 0 0 5px var(--bg); }
@media (min-width: 860px) { .moment::before { left: 152px; } }

.moment time { padding-top: 12px; font-family: var(--f-mono); font-size: 15px; font-weight: 600; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
@media (min-width: 860px) { .moment time { text-align: right; } }

.moment-body { padding: 18px 22px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.moment-body:hover { transform: translateX(4px); box-shadow: 0 20px 44px -26px rgba(18, 21, 26, 0.35); }
.moment h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.moment p { color: var(--muted); font-size: 16px; max-width: 62ch; }

.moment-alert::before { border-color: var(--warn); animation: alertPulse 1.8s infinite; }
.moment-alert time { color: #d23b3b; }
.moment-alert .moment-body { border-color: rgba(255, 77, 77, 0.35); background: linear-gradient(180deg, #fff6f6, #fff); }
@keyframes alertPulse { 50% { box-shadow: 0 0 0 5px var(--bg), 0 0 0 11px rgba(255, 77, 77, 0.18); } }

/* ── Kitchen board ───────────────────────────────────────── */
.kitchen { overflow: hidden; }
.kitchen::before {
  content: '';
  position: absolute;
  left: -200px; bottom: -300px;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(255, 106, 43, 0.18), transparent 70%);
  pointer-events: none;
}

.board { position: relative; border: 1px solid var(--line-d); border-radius: var(--r-lg); background: var(--night-2); overflow: hidden; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-d); font-size: 14px; color: var(--muted-d); }
.board-title { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.board-demo { font-family: var(--f-mono); font-size: 12px; padding: 3px 10px; border: 1px solid var(--line-d); border-radius: 999px; }

.board-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1px; background: var(--line-d); overflow-x: auto; }
.col { background: var(--night-2); padding: 14px; min-height: 340px; }
.col h4 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: var(--f-mono); font-stretch: 100%; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-d); }
.col .count { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: var(--night-3); color: #fff; letter-spacing: 0; }
.col-body { display: grid; gap: 10px; }

.order {
  padding: 12px 14px;
  border: 1px solid var(--line-d);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--night-3);
  animation: cardIn 0.5s var(--ease);
}
.order[data-col="1"] { border-left-color: var(--accent-2); }
.order[data-col="2"] { border-left-color: var(--ok); }
.order[data-col="3"] { border-left-color: #6ea8ff; }
.order.is-late { border-color: rgba(255, 77, 77, 0.5); border-left-color: var(--warn); background: rgba(255, 77, 77, 0.1); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-10px) scale(0.97); } }
.order-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.order-top b { font-family: var(--f-display); font-size: 20px; color: #fff; }
.order-top span { font-family: var(--f-mono); font-size: 12px; color: var(--muted-d); }
.order.is-late .order-top span { color: #ff8a8a; }
.order p { margin-top: 4px; font-size: 13.5px; color: var(--muted-d); line-height: 1.45; }
.order .tag { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 12px; color: #d5dbe1; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { padding: 20px; border: 1px solid var(--line-d); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); }
.stat b { display: block; font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(28px, 5vw, 46px); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted-d); }
.stats-note { margin-top: 10px; font-size: 13px; color: var(--muted-d); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* ── Bento ───────────────────────────────────────────────── */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile-brand { grid-column: span 3; grid-row: span 2; }
  .tile-map { grid-column: span 3; grid-row: span 2; }
  .tile-kitchen, .tile-cash, .tile-track, .tile-sedes { grid-column: span 3; }
  .tile-small { grid-column: span 2; }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(18, 21, 26, 0.35); }
.tile h3 { font-size: 22px; font-weight: 800; }
.tile p { color: var(--muted); font-size: 15.5px; max-width: 46ch; }
.tile-small { justify-content: flex-start; min-height: 0; background: linear-gradient(180deg, #fff, #fbfbfc); }

.tile-art { flex: 1; display: grid; place-items: center; min-height: 150px; margin-bottom: 8px; position: relative; }

/* brand color cycling phone */
.brand-art { --b: #ff6a2b; }
.mini-phone { width: 150px; height: 230px; padding: 14px 12px; border-radius: 26px; background: #fff; border: 7px solid #12151a; display: grid; align-content: start; gap: 10px; box-shadow: 0 24px 40px -18px rgba(18, 21, 26, 0.45); }
.mp-bar { height: 52px; border-radius: 12px; background: var(--b); transition: background-color 0.8s ease; }
.mp-row { height: 34px; border-radius: 10px; background: #f0f2f5; position: relative; }
.mp-row::after { content: ''; position: absolute; right: 7px; top: 7px; width: 20px; height: 20px; border-radius: 6px; background: var(--b); transition: background-color 0.8s ease; }
.mp-btn { height: 32px; margin-top: 18px; border-radius: 10px; background: var(--b); transition: background-color 0.8s ease; }
.tile-brand { background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--b, #ff6a2b) 16%, transparent), transparent 60%), #fff; }

/* mini ticket */
.mini-ticket { width: 120px; padding: 14px 14px 20px; background: #fdfcfa; border: 1px solid #ebe7df; border-radius: 4px; box-shadow: 0 16px 30px -16px rgba(18, 21, 26, 0.4); display: grid; gap: 7px; transform: rotate(-3deg); animation: printLoop 4s var(--ease) infinite; }
.mini-ticket b { font-family: var(--f-display); font-size: 26px; }
.mini-ticket span { height: 6px; border-radius: 3px; background: #d8d3ca; }
.mini-ticket .short { width: 60%; }
@keyframes printLoop { 0% { clip-path: inset(0 0 100% 0); } 22%, 92% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }

/* map */
.tile-map { background: #12151a; color: var(--text-d); border-color: #12151a; }
.tile-map p { color: var(--muted-d); }
.map-art { width: 100%; min-height: 240px; border-radius: 16px; background: radial-gradient(circle at 60% 40%, rgba(110, 168, 255, 0.12), transparent 60%), #181c22; overflow: hidden; }
.road { position: absolute; background: #262b33; border-radius: 4px; }
.r1 { left: 0; right: 0; top: 40%; height: 10px; transform: rotate(-8deg); }
.r2 { top: 0; bottom: 0; left: 35%; width: 10px; transform: rotate(10deg); }
.r3 { top: 0; bottom: 0; left: 72%; width: 8px; transform: rotate(-14deg); }
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 106, 43, 0.18); }
.p1 { left: 20%; top: 22%; } .p2 { left: 60%; top: 65%; background: var(--ok); box-shadow: 0 0 0 6px rgba(61, 220, 151, 0.18); } .p3 { left: 82%; top: 25%; }
.rider { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #6ea8ff; box-shadow: 0 0 0 6px rgba(110, 168, 255, 0.25), 0 0 20px #6ea8ff; offset-path: path('M 40 160 C 120 60, 220 220, 330 80'); animation: ride 6s ease-in-out infinite alternate; }
@keyframes ride { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* cash */
.cash-art { width: 100%; max-width: 320px; display: grid; gap: 8px; place-items: stretch; }
.cash-row { display: flex; justify-content: space-between; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--f-mono); font-size: 14px; background: #fafbfc; }
.cash-row.ok { border-color: #bfead3; background: #eefaf3; color: #127a4b; }

/* tracking steps */
.track-art { display: flex; align-items: center; justify-content: center; gap: 0; }
.tk { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #dfe3e8; background: #fff; }
.tk.on { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tk-line { width: 54px; height: 4px; background: #dfe3e8; }
.tk-line.on { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.tile-track:hover .tk:nth-of-type(3) { border-color: var(--accent); background: var(--accent); transition: 0.3s; }

/* sedes */
.sedes-art { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-content: center; }
.sede { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; box-shadow: 0 8px 18px -12px rgba(18, 21, 26, 0.4); }
.sede::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ok); }

.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; padding: 18px 22px; border: 1.5px dashed #cdd3da; border-radius: var(--r-md); }
.soon-label { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-strong); }
.soon ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.soon li { padding: 5px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

/* ── Ownership ───────────────────────────────────────────── */
.own { overflow: hidden; }
.own-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .own-grid { grid-template-columns: repeat(3, 1fr); } }
.own-card { position: relative; padding: 30px 26px 28px; border: 1px solid var(--line-d); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); overflow: hidden; }
.own-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 106, 43, 0.22), transparent); }
.own-big { display: block; font-family: var(--f-display); font-stretch: 120%; font-weight: 900; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; background: linear-gradient(120deg, var(--accent-2), var(--accent) 55%, #ff3d6e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.own-card h3 { margin-top: 12px; font-size: 22px; font-weight: 800; color: #fff; }
.own-card p { margin-top: 10px; color: var(--muted-d); font-size: 16px; }

/* ── Plans ───────────────────────────────────────────────── */
.plan-grid { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }

.plan { position: relative; display: flex; flex-direction: column; padding: 32px 26px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(18, 21, 26, 0.3); }
.plan h3 { font-size: 34px; font-weight: 850; }
.plan-for { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan ul { flex: 1; display: grid; align-content: start; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; font-size: 16px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li::before { content: '✓'; color: var(--accent-strong); font-weight: 700; }

.plan-featured { background: var(--night); color: var(--text-d); border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 30px 70px -30px rgba(255, 106, 43, 0.55); }
.plan-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), var(--accent), var(--accent-2), #ff3d6e, var(--accent));
  animation: spin 6s linear infinite;
}
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }
.plan-grid { isolation: isolate; }
.plan-featured h3 { color: #fff; }
.plan-featured .plan-for { color: var(--muted-d); }
.plan-featured li::before { color: var(--accent-2); }
.plan-badge { align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 106, 43, 0.16); color: #ffc4a3; font-family: var(--f-mono); font-size: 12px; font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .faq .section-head { position: sticky; top: 110px; } }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-stretch: 108%; font-size: 20px; font-weight: 700; transition: color 0.2s; }
.faq-list summary:hover { color: var(--accent-strong); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23e2471b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
.js .faq-list details[open] .faq-a { animation: open 0.35s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ── Final CTA ───────────────────────────────────────────── */
.cta-final { position: relative; overflow: hidden; padding: 112px 0; background: linear-gradient(135deg, #ff6a2b 0%, #e2471b 55%, #c2185b 120%); color: #fff; text-align: center; }
.cta-glow { position: absolute; inset: -40%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 40%), radial-gradient(circle at 75% 70%, rgba(255, 181, 71, 0.35), transparent 40%); animation: drift 12s ease-in-out infinite alternate; pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-final h2 { font-size: clamp(34px, 5.6vw, 64px); font-weight: 850; max-width: 18ch; }
.cta-final p { font-size: 19px; color: #ffe6d8; }
.cta-final .btn { margin-top: 10px; }
.cta-final :focus-visible { outline-color: #fff; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { padding: 40px 0; font-size: 15px; color: var(--muted-d); border-top: 1px solid var(--line-d); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-copy { margin-left: auto; }
@media (max-width: 640px) { .footer-copy { margin-left: 0; width: 100%; } }

/* ── Reduced motion: everything still, final states visible ─ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bubble, .menu-cart, .done-badge { opacity: 1 !important; transform: none !important; }
  .toast { opacity: 1; transform: none; }
}

/* ── Todo lo que trae ─────────────────────────────────────── */
.suite { background: var(--surface); border-top: 1px solid var(--line); }
.suite-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .suite-grid { grid-template-columns: repeat(2, 1fr); } }
.suite-group { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.suite-kicker { margin: 0 0 8px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); }
.suite-group h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; text-wrap: balance; }
.suite-group ul { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 16px; color: var(--ink-2); }
.suite-group li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.suite-group li::before { content: '✓'; color: var(--accent-strong); font-weight: 700; }
.suite-tag { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-family: var(--f-mono); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.plans-note { max-width: 780px; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
