/* ──────────────────────────────────────────────────────────────────────────
   Komixion — landing
   Paleta espejada de komixion-flutter/lib/core/theme.dart. Todos los colores
   viven acá como tokens; el resto del archivo solo usa var(--…).
   ────────────────────────────────────────────────────────────────────────── */

:root {
  /* Marca */
  --primary: #F4595F;            /* Coral (acento y CTAs) */
  --primary-strong: #E2454B;     /* Coral en hover */
  --primary-container: #FEECED;  /* Rosa suave */
  --on-primary-container: #B3262C;
  --secondary: #FFC529;          /* Ámbar cálido */
  --tertiary: #2FBF71;           /* Verde fresco */
  --blue: #1E88E5;               /* Azul de bebidas = azul del logo */
  --blue-accent: #2B78E4;
  --blue-bg: #E3F2FD;
  --map-bg: #EEF1F6;      /* mapa ilustrativo de "cerca de vos" */
  --map-line: #E2E6EE;
  --map-street: #FFFFFF;
  --warning: #FFA426;

  /* Superficies y texto */
  --bg: #F9FAFC;
  --card: #FFFFFF;
  --surface-soft: #F3F4F9;
  --text: #1F2029;
  --text-muted: #8A8FA3;
  --text-body: #4A4E5E;
  --border: #ECEDF4;
  --shadow: 0 10px 30px -12px rgba(27, 32, 51, 0.18), 0 2px 6px rgba(27, 32, 51, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(27, 32, 51, 0.28);

  /* Bandas oscuras (siempre oscuras, en ambos modos) */
  --ink: #121319;
  --ink-card: #1B1D25;
  --ink-border: #2C2F3A;
  --ink-text: #F1F2F7;
  --ink-muted: #9AA0B4;

  /* Gradientes de la marca: el coral y el azul del isotipo */
  --grad-brand: linear-gradient(120deg, #F4595F 0%, #E0527A 40%, #7A68E0 72%, #1E88E5 100%);
  --grad-text: linear-gradient(90deg, #F4595F 0%, #FF8A4C 100%);
  --grad-warm: linear-gradient(135deg, #FFC529 0%, #FF8A4C 50%, #F4595F 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121319;
    --card: #1B1D25;
    --surface-soft: #262933;
    --text: #F1F2F7;
    --text-muted: #9AA0B4;
    --text-body: #C3C7D4;
    --border: #2C2F3A;
    --primary-container: #4A2226;
    --on-primary-container: #FFD9DB;
    --blue-bg: #17293C;
    --map-bg: #1A1C24;
    --map-line: #22252F;
    --map-street: #2C2F3A;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    --ink: #0B0C10;
    --ink-card: #171920;
    color-scheme: dark;
  }
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
svg.i { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); margin: 12px 0 16px; }
.section-head p { font-size: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--grad-brand); }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ── Botones ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 16px/1 var(--font); cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -8px rgba(244, 89, 95, 0.6); }
.btn-primary:hover { background: var(--primary-strong); box-shadow: 0 14px 30px -8px rgba(244, 89, 95, 0.7); }
.btn-ghost { background: var(--card); color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); }
.btn-white { background: #fff; color: #1F2029; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn svg.i { width: 18px; height: 18px; }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; background: #fff; padding: 2px; }
.wordmark { font-weight: 900; font-size: 22px; letter-spacing: 0.02em; color: var(--text); }
.wordmark .x { background: linear-gradient(90deg, var(--primary) 50%, var(--blue) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; }
.nav-links a { color: var(--text-body); transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-weight: 700; font-size: 15px; padding: 0 12px; color: var(--text); }
.nav-login:hover { color: var(--primary); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-btn svg.i { width: 26px; height: 26px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; z-index: -1;
}
.hero::before { width: 520px; height: 520px; background: var(--primary); top: -160px; left: -160px; }
.hero::after { width: 560px; height: 560px; background: var(--blue); bottom: -260px; right: -180px; opacity: .25; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; color: var(--text);
}
.pill b { background: var(--primary-container); color: var(--on-primary-container); padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .03em; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 22px 0 20px; letter-spacing: -0.035em; }
.hero-lead { font-size: 19px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 700; color: var(--text); }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg.i { width: 18px; height: 18px; color: var(--tertiary); stroke-width: 2.6; }

/* Maqueta del hero: teléfono del cliente + tarjetas flotantes */
.mock { position: relative; height: 560px; }
.phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 290px; height: 560px; border-radius: 42px; padding: 12px;
  background: #1F2029; box-shadow: var(--shadow-lg);
}
.phone-screen {
  height: 100%; border-radius: 32px; overflow: hidden; position: relative;
  background: var(--bg);
}

/* Réplica de MenuScreen (komixion-flutter) en dp reales: 360 de ancho, escalado
   a los 266 px de la pantalla del teléfono. Colores = tokens del tema. */
.app {
  position: absolute; top: 0; left: 0; width: 360px; height: 725px;
  transform: scale(0.7389); transform-origin: top left;
  background: var(--bg); color: var(--text); font-family: "Roboto", sans-serif;
  letter-spacing: 0; line-height: 1.25; overflow: hidden;
}
.mi { font-family: "Material Icons"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }

/* SliverAppBar expandido (180 + barra de estado): cover del restaurante con
   el sombreado black54 / transparente / black87. */
.app-bar {
  position: relative; height: 204px;
  background: linear-gradient(180deg, rgba(0,0,0,.54) 0%, transparent 45%, rgba(0,0,0,.87) 100%), url("../assets/menu/cover.webp") center / cover, var(--primary-container);
}
.app-status { height: 24px; padding: 0 16px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 13px; font-weight: 500; }
.app-status .mi { font-size: 15px; word-spacing: 2px; }
.app-back { position: absolute; top: 32px; left: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
/* FlexibleSpaceBar: título a 72 del borde, 16 abajo, escala 1.5 expandido. */
.app-title { position: absolute; left: 72px; right: 16px; bottom: 16px; margin: 0; color: #fff; font: 700 30px/1.2 "Roboto", sans-serif; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app-search { height: 60px; padding: 8px 16px; background: var(--bg); }
.app-field { height: 44px; border-radius: 16px; background: var(--surface-soft); color: var(--text-muted); display: flex; align-items: center; gap: 12px; padding: 0 12px; font-size: 16px; }
.app-field .mi { color: var(--text-muted); }

.app-cats { height: 56px; padding: 8px 16px; display: flex; gap: 8px; align-items: center; background: var(--bg); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); overflow: hidden; }
.app-chip { flex: none; height: 32px; padding: 0 16px; border-radius: 999px; background: var(--surface-soft); color: var(--text); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.app-chip.on { background: var(--primary-container); padding-left: 8px; }
.app-chip .mi { font-size: 18px; color: var(--primary); }

.app-section { padding: 16px 16px 8px; font-size: 16px; font-weight: 700; color: color-mix(in srgb, var(--text) 80%, transparent); }

/* Grid: maxCrossAxisExtent 220, aspect 0.70, separación 12. */
.app-grid { padding: 4px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-card { height: 226px; border-radius: 20px; background: var(--card); box-shadow: 0 2px 6px rgba(27, 32, 51, 0.08), 0 1px 2px rgba(27, 32, 51, 0.06); overflow: hidden; display: flex; flex-direction: column; }
/* Foto del plato: BoxFit.cover sobre surfaceContainerHighest (placeholder). */
.app-img { flex: 1; min-height: 0; width: 100%; object-fit: cover; background: var(--surface-soft); }
.app-info { padding: 12px; }
.app-info b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-info em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.app-price { color: var(--primary); font-weight: 700; font-size: 13px; }
.app-add { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.app-add .mi { font-size: 18px; }

/* FloatingActionButton.extended (stadium, coral) sobre la NavigationBar. */
.app-fab { position: absolute; right: 16px; bottom: 96px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; box-shadow: 0 3px 8px rgba(0,0,0,.2), 0 1px 3px rgba(0,0,0,.15); }

/* TableNavBar: NavigationBar M3 de 80, indicador 64×32 en primaryContainer. */
.app-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: var(--card); display: grid; grid-template-columns: repeat(3, 1fr); }
.app-nav > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.app-nav i { width: 64px; height: 32px; border-radius: 16px; display: grid; place-items: center; }
.app-nav .on { color: var(--primary); }
.app-nav .on i { background: var(--primary-container); }

.float {
  position: absolute; background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-body); animation: bob 6s ease-in-out infinite;
}
.float b { display: block; color: var(--text); font-size: 14px; }
.float .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float .ico svg.i { width: 20px; height: 20px; }
.f-kitchen { top: 96px; left: -60px; }
.f-kitchen .ico { background: var(--primary-container); color: var(--primary); }
.f-invoice { top: 250px; right: -24px; animation-delay: -2s; }
.f-invoice .ico { background: var(--blue-bg); color: var(--blue); }
.f-cash { bottom: 70px; left: -24px; animation-delay: -4s; }
.f-cash .ico { background: color-mix(in srgb, var(--tertiary) 16%, transparent); color: var(--tertiary); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Franja de confianza ──────────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--border); background: var(--card); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 20px; }
.strip-item { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text); font-size: 15px; }
.strip-item svg.i { color: var(--primary); }

/* ── Origen del nombre: Comida + conexión = Komixion ─────────────────────── */
.name-eq {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
  margin: 22px auto 6px; font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; color: var(--text-muted);
}
.ne-word { padding: 8px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.ne-word b { font-weight: 900; }
.ne-coral { color: var(--primary); }
.ne-blue { color: var(--blue); }
.ne-op { color: var(--text-muted); font-weight: 900; }
.ne-eq { white-space: nowrap; }
.name-eq .ne-result { font-size: inherit; margin-left: 6px; }

/* ── Problema → solución ──────────────────────────────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); background: var(--card); }
.compare-card h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; }
.compare-card li svg.i { margin-top: 3px; width: 20px; height: 20px; }
.compare-card.before li svg.i { color: var(--text-muted); }
.compare-card.after { border: 0; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-lg); }
.compare-card.after h3 { color: #fff; }
.compare-card.after li svg.i { color: #fff; stroke-width: 2.6; }

/* ── Cómo funciona ────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 900; font-size: 18px; color: #fff; margin-bottom: 18px;
}
.step:nth-child(1) .step-num { background: var(--primary); }
.step:nth-child(2) .step-num { background: #FF8A4C; }
.step:nth-child(3) .step-num { background: var(--secondary); color: #1F2029; }
.step:nth-child(4) .step-num { background: var(--blue); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15.5px; }

/* ── Funcionalidades ──────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature h3 { font-size: 18.5px; margin-bottom: 8px; }
.feature p { font-size: 15.5px; }
.t-coral .ico { background: var(--primary-container); color: var(--primary); }
.t-blue .ico { background: var(--blue-bg); color: var(--blue); }
.t-amber .ico { background: color-mix(in srgb, var(--secondary) 22%, transparent); color: #C98A00; }
.t-green .ico { background: color-mix(in srgb, var(--tertiary) 16%, transparent); color: var(--tertiary); }
@media (prefers-color-scheme: dark) { .t-amber .ico { color: var(--secondary); } }

/* ── Dos públicos ─────────────────────────────────────────────────────────── */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { border-radius: 24px; padding: 40px; position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.aud-card .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.aud-card.staff .tag { background: var(--primary-container); color: var(--on-primary-container); }
.aud-card.guest .tag { background: var(--blue-bg); color: var(--blue-accent); }
.aud-card h3 { font-size: 26px; margin-bottom: 12px; }
.aud-card > p { margin-bottom: 22px; }
.aud-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.aud-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 600; }
.aud-card li svg.i { width: 20px; height: 20px; margin-top: 3px; }
.aud-card.staff li svg.i { color: var(--primary); }
.aud-card.guest li svg.i { color: var(--blue); }
.aud-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -80px; top: -80px; opacity: .12; }
.aud-card.staff::after { background: var(--primary); }
.aud-card.guest::after { background: var(--blue); }

/* Cadena de conexión: mesa → cocina → caja → clientes */
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 26px; }
.chain > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--surface-soft); color: var(--text); font-weight: 800; font-size: 15px; }
.chain > span .mi { font-size: 20px; color: var(--text-muted); }
.chain > i { width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.chain > .chain-end { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(244, 89, 95, 0.7); }
.chain > .chain-end .mi { color: #fff; }

/* ── Próximamente: restaurantes cerca ─────────────────────────────────────── */
.near-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.soon { display: inline-block; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--secondary) 24%, transparent); color: var(--text); font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.near-copy h2 { font-size: clamp(30px, 4vw, 42px); margin: 16px 0; }
.near-copy > p { font-size: 18px; }
.near-copy ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.near-copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 600; }
.near-copy li svg.i { width: 20px; height: 20px; margin-top: 3px; color: var(--tertiary); stroke-width: 2.6; }

/* Mapa ilustrativo: calles con gradientes, el consumidor al centro y los locales alrededor. */
.near-map {
  position: relative; height: 440px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background:
    linear-gradient(90deg, transparent 0 46%, var(--map-street) 46% 50%, transparent 50%),
    linear-gradient(0deg, transparent 0 58%, var(--map-street) 58% 62%, transparent 62%),
    linear-gradient(28deg, transparent 0 30%, var(--map-street) 30% 32.5%, transparent 32.5%),
    repeating-linear-gradient(90deg, transparent 0 78px, var(--map-line) 78px 80px),
    repeating-linear-gradient(0deg, transparent 0 78px, var(--map-line) 78px 80px),
    var(--map-bg);
}
.map-me { position: absolute; left: 48%; top: 52%; width: 0; height: 0; }
.map-me::before, .map-me::after { content: ""; position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; border-radius: 50%; background: color-mix(in srgb, var(--blue) 14%, transparent); border: 1.5px solid color-mix(in srgb, var(--blue) 35%, transparent); animation: ping 3.2s ease-out infinite; }
.map-me::after { animation-delay: -1.6s; }
.map-me span { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(30, 136, 229, .5); z-index: 1; }
@keyframes ping { from { transform: scale(.25); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.map-pin { position: absolute; width: 42px; height: 42px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--primary); display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(244, 89, 95, .7); }
.map-pin .mi { transform: rotate(45deg); color: #fff; font-size: 20px; }
.map-pin.p1 { left: 24%; top: 26%; }
.map-pin.p2 { left: 68%; top: 14%; background: #FF8A4C; }
.map-pin.p3 { left: 76%; top: 46%; background: var(--blue); box-shadow: 0 8px 18px -6px rgba(30, 136, 229, .6); }
.map-pin.p4 { left: 12%; top: 54%; background: #FF8A4C; }
.map-card { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-card img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.map-card b { display: block; color: var(--text); font-size: 17px; }
.map-card small { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--text-muted); margin: 2px 0; }
.map-card small .mi { font-size: 16px; color: var(--secondary); }
.map-card strong { color: var(--text); }
.map-card em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--tertiary); }
@media (prefers-reduced-motion: reduce) { .map-me::before, .map-me::after { animation: none; transform: scale(.7); } }

/* ── Banda oscura: Paraguay ───────────────────────────────────────────────── */
.dark-band { background: var(--ink); color: var(--ink-muted); position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 0%, rgba(244,89,95,.22), transparent 70%), radial-gradient(600px 320px at 100% 100%, rgba(30,136,229,.22), transparent 70%); }
.dark-band .container { position: relative; }
.dark-band h2, .dark-band h3 { color: var(--ink-text); }
.dark-band .section-head p { color: var(--ink-muted); }
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.local-card { background: var(--ink-card); border: 1px solid var(--ink-border); border-radius: var(--radius); padding: 28px; }
.local-card .big { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; }
.local-card:nth-child(1) .big { color: var(--primary); }
.local-card:nth-child(2) .big { color: var(--secondary); }
.local-card:nth-child(3) .big { color: #64B5F6; }
.local-card h3 { font-size: 19px; margin-bottom: 8px; }
.local-card p { font-size: 15.5px; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; color: var(--text); font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { color: var(--primary); transition: transform .2s ease; }
.faq details[open] summary svg.i { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; font-size: 16px; }

/* ── CTA final ────────────────────────────────────────────────────────────── */
.cta-box {
  border-radius: 32px; padding: 64px 48px; text-align: center; color: #fff;
  background: var(--grad-brand); position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-box::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); left: -140px; top: -180px; }
.cta-box::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,197,41,.25); filter: blur(40px); right: -60px; bottom: -120px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box img { width: 84px; height: 84px; border-radius: 24px; background: #fff; padding: 4px; margin: 0 auto 24px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cta-box h2 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); max-width: 720px; margin: 0 auto 16px; }
.cta-box p { font-size: 18px; max-width: 560px; margin: 0 auto 32px; opacity: .95; }
.cta-box .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-box .btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.cta-box .btn-outline-white:hover { background: rgba(255,255,255,.12); }
.cta-note { font-size: 14px !important; margin: 20px auto 0 !important; opacity: .85 !important; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 700; }
.footer-links a:hover { color: var(--primary); }
.footer small { display: block; color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* ── Aparición al hacer scroll (solo si hay JS) ───────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-ctas, .hero-checks { justify-content: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 16px;
  }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links a.mobile-only { display: block; }
  .compare, .audience, .local-grid, .near-grid { grid-template-columns: 1fr; }
  .near-map { height: 380px; }
  .section { padding: 72px 0; }
}
.nav-links a.mobile-only { display: none; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav-actions .btn { display: none; }
  .steps, .features, .strip-inner { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 72px; }
  .hero-ctas .btn { width: 100%; }
  .mock { height: 520px; transform: scale(.92); transform-origin: top center; }
  .f-kitchen { top: 30px; left: -4px; }
  .f-cash { left: -4px; }
  .f-invoice { right: -4px; }
  .aud-card, .compare-card { padding: 28px 22px; }
  .cta-box { padding: 48px 22px; border-radius: 24px; }
  .cta-box .btn { width: 100%; }
}
