/* ============================================================
   MesaDirecta — Landing 2026 (rebuild)

   Design tokens, layout primitives, secciones del marketing
   site. Single-file CSS por simplicidad — si crece más allá de
   1500 líneas extraer secciones a archivos separados.

   Estructura del archivo:
     1. Tokens / variables CSS
     2. Reset + base
     3. Layout (container, grids)
     4. Primitivas (.btn, .badge, .card)
     5. Header / nav
     6. Hero
     7. Cómo funciona
     8. Antes vs Después
     9. Killer feature
    10. Features grid
    11. Product showcase (screenshots)
    12. ROI calculator
    13. Pricing
    14. FAQ
    15. CTA final + form
    16. Footer
    17. WhatsApp floating widget
    18. Animaciones
    19. Responsive overrides
   ============================================================ */

/* 1. Tokens
   --------------------------------------------------------- */
:root {
  /* Color */
  --bg:         #ffffff;
  --bg-soft:    #f8fafc;
  --bg-section: #fafbff;
  --bg-dark:    #0f172a;

  --text:       #1a1f36;
  --text-soft:  #4b5563;
  --text-muted: #9ca3af;
  --text-inv:   #f9fafb;

  --primary:        #6366f1;
  --primary-dark:   #4f46e5;
  --primary-soft:   #eef2ff;
  --primary-bright: #818cf8;

  --accent:      #10b981;  /* verde "plata" — gains, ahorros */
  --accent-dark: #059669;
  --accent-soft: #d1fae5;

  --warm:       #f59e0b;
  --warm-soft:  #fef3c7;
  --danger:     #ef4444;
  --danger-soft:#fee2e2;

  --border:        #e5e7eb;
  --border-strong: #d1d5db;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Helvetica, Arial, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  2rem;
  --fs-4xl:  2.5rem;
  --fs-5xl:  3.25rem;
  --fs-6xl:  4rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 28px rgba(15,23,42,0.08);
  --shadow-xl: 0 24px 60px rgba(15,23,42,0.12);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.25);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-med:  0.25s ease;
  --t-slow: 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* 2. Reset + base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 3. Layout
   --------------------------------------------------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-20) 0;
}
.section--soft { background: var(--bg-soft); }
.section--section { background: var(--bg-section); }
.section--dark { background: var(--bg-dark); color: var(--text-inv); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-inv); }

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.section-title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-3);
}
.section-sub {
  font-size: var(--fs-lg);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* 4. Primitivas
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--fs-base);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99,102,241,0.45);
  color: white;
}
.btn-whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.45);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--primary {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.badge--accent {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.badge--warm {
  background: var(--warm-soft);
  color: #92400e;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: transform var(--t-med), box-shadow var(--t-med),
              border-color var(--t-med);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-bright);
}

/* 5. Header / nav
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-link {
  color: var(--text-soft);
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
}
.nav-link:hover { color: var(--text); }

/* 6. Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--sp-20) 0 var(--sp-16);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 80% -10%,
                    rgba(99,102,241,0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%,
                    rgba(16,185,129,0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: var(--sp-4);
}
.hero-title {
  font-size: var(--fs-6xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-6);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: var(--fs-xl);
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: var(--sp-8);
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.hero-trust {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  font-weight: 500;
}
.hero-trust-item i {
  color: var(--accent);
  font-size: var(--fs-lg);
}

/* Hero visual — mockup phone con menú */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  position: relative;
  width: 360px;  /* antes 320: más grande para que el contenido del menú
                    se lea cómodo y el celular tenga presencia */
  background: #1a1a2e;
  border-radius: 38px;
  padding: 14px;
  box-shadow: var(--shadow-xl), 0 0 0 12px rgba(0,0,0,0.04);
  /* removido transform: rotate(-3deg) — la rotación dificultaba la
     lectura de la captura y se veía "decorativa" en vez de demostrativa */
}
.phone::after {
  /* notch — sólo aparece en el mockup CSS, no cuando hay imagen real
     adentro (ahí la captura ya trae su propio header de la app y el
     notch se superpone visualmente). Toggle vía .phone--has-image en
     el padre. */
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #1a1a2e;
  border-radius: var(--r-md);
  z-index: 2;
}
.phone--has-image::after {
  display: none;
}
.phone-screen {
  background: white;
  border-radius: 26px;
  padding: 44px 18px 18px;
  height: 580px;
  overflow: hidden;
  position: relative;
}
/* Variante cuando el screen es una imagen (captura real del menú QR)
   en lugar del mockup CSS. Sin padding (la imagen trae su propio
   contenido completo) pero CON altura fija — sino, con un screenshot
   mobile real (~9:19.5), el .phone queda enormemente alto y rompe el
   layout del hero. Mejor recortar las últimas 1-2 entradas del menú
   que perder la proporción "iPhone-like". */
.phone-screen--image {
  padding: 0;
  height: 580px;  /* mismo alto que el mockup CSS para mantener el visual */
}
.phone-screen--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;  /* anchored al top — preservamos header
                                    y primeros items del menú, que es lo
                                    más relevante visualmente */
  display: block;
}
.phone-resto-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.phone-resto-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.phone-resto-info {
  flex: 1;
  min-width: 0;
}
.phone-resto-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.phone-resto-mesa {
  font-size: 11px;
  color: var(--text-muted);
}
.phone-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-soft);
}
.phone-item-img {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.phone-item-content {
  flex: 1;
  min-width: 0;
}
.phone-item-name {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
  color: var(--text);
}
.phone-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 4px;
}
.phone-item-price {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
}
.phone-cta {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  background: var(--accent);
  color: white;
  padding: 12px;
  border-radius: var(--r-md);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(16,185,129,0.45);
}

/* Tag flotante "pago hecho" sobre el phone */
.hero-paid-tag {
  position: absolute;
  top: 20%;
  right: -10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}
.hero-paid-tag-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.hero-paid-tag-text {
  font-size: var(--fs-xs);
  color: var(--text-soft);
}
.hero-paid-tag-amount {
  font-weight: 800;
  color: var(--text);
  font-size: var(--fs-sm);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 7. Cómo funciona
   --------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}
.steps-grid::before {
  /* línea conectora entre steps */
  content: '';
  position: absolute;
  top: 38px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto var(--sp-6);
  box-shadow: var(--shadow-md);
}
.step-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.step-desc {
  color: var(--text-soft);
  font-size: var(--fs-base);
  max-width: 280px;
  margin: 0 auto;
}

/* 8. Antes vs Después
   --------------------------------------------------------- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  position: relative;
}
.comparison::before {
  content: 'vs';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--text);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-lg);
  letter-spacing: -0.04em;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.comparison-col {
  padding: var(--sp-8);
  border-radius: var(--r-xl);
  background: white;
  border: 1px solid var(--border);
}
.comparison-col--before {
  background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
  border-color: #fecaca;
}
.comparison-col--after {
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  border-color: #a7f3d0;
}
.comparison-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.comparison-col--before .comparison-title { color: var(--danger); }
.comparison-col--after .comparison-title { color: var(--accent-dark); }
.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  color: var(--text-soft);
  line-height: 1.5;
}
.comparison-list li i {
  font-size: var(--fs-base);
  margin-top: 3px;
  flex-shrink: 0;
}
.comparison-col--before .comparison-list i { color: var(--danger); }
.comparison-col--after .comparison-list i { color: var(--accent); }

/* 9. Killer feature
   --------------------------------------------------------- */
.killer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-12);
  color: white;
  position: relative;
  overflow: hidden;
}
.killer::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(20deg);
}
.killer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  z-index: 1;
}
.killer h2 {
  color: white;
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
}
.killer h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-soft) 0%, white 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.killer p {
  font-size: var(--fs-lg);
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 var(--sp-6);
}
.killer-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-3);
}
.killer-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-base);
}
.killer-bullets i {
  color: var(--accent-soft);
  margin-top: 4px;
}
.killer-viz {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
}
.killer-stat {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, white 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.killer-stat-label {
  margin-top: var(--sp-3);
  font-size: var(--fs-base);
  opacity: 0.85;
}

/* 10. Features grid
   --------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-bright);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  flex-shrink: 0;
}
.feature-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}
.feature-desc {
  color: var(--text-soft);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* 11. Product showcase
   --------------------------------------------------------- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.showcase-text h3 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-3);
}
.showcase-text p {
  font-size: var(--fs-base);
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 var(--sp-4);
}
.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-2);
}
.showcase-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.showcase-features li i {
  color: var(--accent);
}
.showcase-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  /* Sombra "elevada" en dos capas: una difusa lejana (depth) + una
     más cerca y nítida (definición del borde). Mejor que un solo
     `--shadow-xl` que se ve más plano sobre fondos claros. */
  box-shadow:
    0 24px 48px -16px rgba(15, 23, 42, 0.18),
    0 4px 12px -4px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.showcase-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 64px -16px rgba(15, 23, 42, 0.22),
    0 6px 16px -4px rgba(15, 23, 42, 0.12);
}
.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  /* Captura sirve como showcase del producto. No usamos aspect-ratio
     fijo porque las screenshots son nativamente landscape (~16:10) y
     queremos respetar la proporción real, no estirar/recortar. */
}
.showcase-frame-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: var(--sp-8);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.showcase-frame-placeholder i {
  font-size: 4rem;
  margin-bottom: var(--sp-3);
  opacity: 0.4;
}
.showcase-frame-placeholder div {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.showcase-frame-placeholder small {
  display: block;
  margin-top: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.showcase-browser-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-browser-bar::before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: #ef4444;
  box-shadow: 16px 0 0 #f59e0b, 32px 0 0 #10b981;
  margin-right: 36px;
}

/* 12. ROI calculator
   --------------------------------------------------------- */
.roi {
  background: linear-gradient(135deg, #1a1f36 0%, #312e81 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-12);
  color: white;
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.roi h2 {
  color: white;
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-3);
}
.roi-sub {
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-8);
}
.roi-inputs {
  display: grid;
  gap: var(--sp-4);
}
.roi-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: var(--sp-4);
}
.roi-input label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-2);
}
.roi-input-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.roi-input input[type="range"] {
  flex: 1;
  accent-color: var(--primary-bright);
}
.roi-input-value {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: var(--fs-lg);
  min-width: 80px;
  text-align: right;
  color: white;
}
.roi-output {
  background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(16,185,129,0.18) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  text-align: center;
}
.roi-output-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.roi-output-value {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.roi-output-period {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-6);
}
.roi-output-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  text-align: left;
}
.roi-output-breakdown div {
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-sm);
  padding: var(--sp-3);
}
.roi-output-breakdown strong {
  display: block;
  font-size: var(--fs-lg);
  color: white;
  font-weight: 700;
}
.roi-output-breakdown span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
}
.roi-disclaimer {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  margin-top: var(--sp-4);
  text-align: center;
}

/* 13. Pricing
   --------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: stretch;
}
.plan {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.plan--featured {
  border-color: var(--primary);
  border-width: 2px;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.plan--featured::before {
  content: 'Más popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan--featured:hover { transform: translateY(-3px) scale(1.02); }

.plan-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.plan-tagline {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  margin-bottom: var(--sp-6);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--sp-2);
}
.plan-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.plan-price-currency {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-soft);
}
.plan-price-period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.plan-promo {
  font-size: var(--fs-xs);
  color: var(--accent-dark);
  font-weight: 700;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: var(--sp-6);
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-8);
  display: grid;
  gap: var(--sp-3);
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.plan-features li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.plan-cta {
  width: 100%;
}

/* 14. FAQ
   --------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: var(--sp-6) 0;
  text-align: left;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-question i {
  color: var(--primary);
  transition: transform var(--t-fast);
  flex-shrink: 0;
  margin-left: var(--sp-4);
}
.faq-item[open] .faq-question i {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 var(--sp-6);
  color: var(--text-soft);
  font-size: var(--fs-base);
  line-height: 1.6;
  max-width: 680px;
}

/* 15. CTA final + form
   --------------------------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #312e81 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-12);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(ellipse 400px 200px at 20% 10%, rgba(99,102,241,0.30), transparent),
    radial-gradient(ellipse 400px 200px at 80% 80%, rgba(16,185,129,0.20), transparent);
  pointer-events: none;
}
.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta h2 {
  color: white;
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
}
.final-cta p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.85);
  margin: 0 0 var(--sp-8);
}
.final-cta-form {
  display: flex;
  gap: var(--sp-2);
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.final-cta-form input {
  flex: 1;
  min-width: 0;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: var(--fs-base);
}
.final-cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.final-cta-form input:focus {
  outline: none;
  border-color: var(--primary-bright);
  background: rgba(255,255,255,0.12);
}
.final-cta-form button { white-space: nowrap; }
.final-cta-form-success {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-md);
  font-weight: 600;
}
.final-cta-alt {
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}
.final-cta-alt a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
}

/* 16. Footer
   --------------------------------------------------------- */
.site-footer {
  padding: var(--sp-12) 0 var(--sp-8);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.footer-brand-block {
  max-width: 280px;
}
.footer-brand-block p {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  margin: var(--sp-3) 0 0;
}
.footer-links {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-soft);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* 17. WhatsApp floating widget
   --------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  animation: wa-pulse 2.4s ease-in-out infinite;
  transition: transform var(--t-fast);
}
.wa-float:hover {
  transform: scale(1.08);
  color: white;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37,211,102,0.45),
                          0 0 0 0 rgba(37,211,102,0.6); }
  50%      { box-shadow: 0 12px 28px rgba(37,211,102,0.45),
                          0 0 0 16px rgba(37,211,102,0); }
}

/* 18. Animaciones reveal on scroll
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 18b. QR demo block
   --------------------------------------------------------- */
.qr-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-12);
  align-items: center;
  background: white;
  padding: var(--sp-12);
  border-radius: var(--r-2xl);
  border: 1px solid var(--border);
  box-shadow:
    0 24px 48px -16px rgba(15, 23, 42, 0.10),
    0 4px 12px -4px rgba(15, 23, 42, 0.06);
}
.qr-block-visual {
  text-align: center;
}
.qr-block-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin: 0 auto;
}
.qr-block-fallback {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.qr-block-fallback a {
  color: var(--primary);
  font-weight: 600;
}
.qr-block-text h2 {
  font-size: var(--fs-3xl);
  margin: var(--sp-3) 0 var(--sp-4);
}
.qr-block-text p {
  color: var(--text-soft);
  font-size: var(--fs-lg);
  line-height: 1.6;
  margin: 0 0 var(--sp-6);
}
/* En desktop ocultamos el botón "abrir en este browser" — el QR es
   la acción principal. En mobile (donde el QR no sirve, no podés
   escanearte a vos mismo) hacemos lo opuesto: ocultar el QR y
   mostrar solo el botón. Ver media query. */
.qr-block-mobile-cta {
  display: none;
}

/* 19. Responsive
   --------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: var(--sp-4); }
  .hero-title { font-size: var(--fs-5xl); }

  .steps-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .steps-grid::before { display: none; }

  .comparison { grid-template-columns: 1fr; }
  .comparison::before { display: none; }

  .killer-grid, .roi-grid, .showcase-grid { grid-template-columns: 1fr; }
  .killer-viz, .roi-output { order: -1; }

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

  .pricing-grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-3px); }

  /* QR block — en mobile el QR no sirve (no podés escanearte a vos mismo).
     Ocultamos la imagen del QR, mostramos solo el texto + botón directo. */
  .qr-block { grid-template-columns: 1fr; padding: var(--sp-8); }
  .qr-block-visual { display: none; }
  .qr-block-mobile-cta { display: inline-flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-16) 0; }

  .hero-title { font-size: var(--fs-4xl); }
  .section-title { font-size: var(--fs-3xl); }

  .nav-links { gap: var(--sp-3); }
  .nav-links .nav-link:not(.btn) { display: none; }

  .killer, .roi, .final-cta { padding: var(--sp-10) var(--sp-6); }
  .roi-output-value, .killer-stat { font-size: 3rem; }
  .roi-output-breakdown { grid-template-columns: 1fr; }

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