/*
TemplateMo 622 Clearwave
https://templatemo.com/tm-622-clearwave
Free for personal and commercial use
*/

    /* ── TOKENS — PLAYGROUND DE COLOR ─────────────────────────────────
       Toda la paleta de la página sale de acá. Para probar otro color,
       tocá SOLO el bloque "ACENTO". Hay 3 presets listos abajo: dejá
       descomentado el que quieras y comentá los otros dos.
       ─────────────────────────────────────────────────────────────── */
    :root {
      /* Fondo y superficies (comunes a todos los presets) */
      --bg:           #000000;   /* fondo base — negro */
      --bg-alt:       #050508;   /* casi negro */
      --surface:      #08080c;   /* panel */
      --surface-2:    #0d0e14;   /* card levantada */

      /* ═══════════════ GRISES PARA ELEGIR ═══════════════
         Probá uno por vez: dejá descomentado UN solo bloque de acento
         y comentá el resto. De más claro a más oscuro.
         (Grises claros → --on-accent negro; grafito → blanco.) */

      /* ══ ACTIVO: GRIS GRAFITO (oscuro, texto blanco encima) ══ */
      --accent:       #6b7280;
      --accent-mid:   #4b5563;
      --accent-light: #9ca3af;
      --accent-hover: #7b828f;
      --on-accent:    #ffffff;
      --accent-ghost: rgba(107,114,128,0.12);
      --accent-border:rgba(107,114,128,0.32);
      --violet:       #9ca3af;   /* "Solo Professional" — gris neutro */

      /* ══ GRIS PLATA (claro, suave) ══
      --accent:       #c8c8ce;
      --accent-mid:   #a2a2aa;
      --accent-light: #e6e6ea;
      --accent-hover: #d6d6dc;
      --on-accent:    #000000;
      --accent-ghost: rgba(200,200,206,0.10);
      --accent-border:rgba(200,200,206,0.26);
      --violet:       #d4d4d8;
      ══════════════════════════════════════════════ */

      /* ══ GRIS NEUTRO (zinc, medio) ══
      --accent:       #a1a1aa;
      --accent-mid:   #71717a;
      --accent-light: #d4d4d8;
      --accent-hover: #b4b4bb;
      --on-accent:    #000000;
      --accent-ghost: rgba(161,161,170,0.10);
      --accent-border:rgba(161,161,170,0.28);
      --violet:       #d4d4d8;
      ══════════════════════════════════════════════ */

      /* ══ GRIS FRÍO (slate, azulado) ══
      --accent:       #94a3b8;
      --accent-mid:   #64748b;
      --accent-light: #cbd5e1;
      --accent-hover: #aab6c6;
      --on-accent:    #000000;
      --accent-ghost: rgba(148,163,184,0.10);
      --accent-border:rgba(148,163,184,0.28);
      --violet:       #cbd5e1;
      ══════════════════════════════════════════════ */

      /* ══ GRIS CÁLIDO (stone, terroso) ══
      --accent:       #a8a29e;
      --accent-mid:   #78716c;
      --accent-light: #d6d3d1;
      --accent-hover: #b8b3af;
      --on-accent:    #000000;
      --accent-ghost: rgba(168,162,158,0.10);
      --accent-border:rgba(168,162,158,0.28);
      --violet:       #d6d3d1;
      ══════════════════════════════════════════════ */

      /* ══ GRIS GRAFITO (oscuro, texto blanco encima) ══
      --accent:       #6b7280;
      --accent-mid:   #4b5563;
      --accent-light: #9ca3af;
      --accent-hover: #7b828f;
      --on-accent:    #ffffff;
      --accent-ghost: rgba(107,114,128,0.12);
      --accent-border:rgba(107,114,128,0.32);
      --violet:       #9ca3af;
      ══════════════════════════════════════════════ */

      /* ══ BLANCO Y NEGRO (acento blanco puro) ══
      --accent:       #ffffff;
      --accent-mid:   #cfcfcf;
      --accent-light: #f4f4f5;
      --accent-hover: #e5e5e5;
      --on-accent:    #000000;
      --accent-ghost: rgba(255,255,255,0.08);
      --accent-border:rgba(255,255,255,0.22);
      --violet:       #d4d4d8;
      ══════════════════════════════════════════════ */

      /* ══ PRESET AZUL (comercios original) — para volver al color ══
      --accent:       #3b82f6;
      --accent-mid:   #1a56db;
      --accent-light: #93c5fd;
      --accent-hover: #60a5fa;
      --on-accent:    #ffffff;
      --accent-ghost: rgba(59,130,246,0.10);
      --accent-border:rgba(59,130,246,0.26);
      --violet:       #b06bff;
      ══════════════════════════════════════════════ */

      /* Texto y bordes (comunes) */
      --text-1:       #ffffff;
      --text-2:       rgba(255,255,255,0.60);
      --text-3:       rgba(255,255,255,0.38);
      --border:       rgba(255,255,255,0.12);
      --shadow-sm:    0 2px 12px rgba(0,0,0,0.40);
      --shadow-md:    0 10px 34px rgba(0,0,0,0.55);
      --shadow-lg:    0 26px 70px rgba(0,0,0,0.68);
      --silk:         cubic-bezier(0.16, 1, 0.3, 1);
      --silk-dur:     0.8s;
      --radius:       16px;
      --radius-lg:    24px;
    }

    /* ── RESET ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text-1);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }

    /* ── SUBTLE NOISE TEXTURE ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.022;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      background-size: 128px 128px;
    }

    /* ── UTILITY ── */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
    .section-label {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--accent);
      background: var(--accent-ghost);
      border: 1px solid var(--accent-border);
      padding: 6px 14px; border-radius: 100px;
      margin-bottom: 20px;
    }
    .section-label::before {
      content: ''; width: 6px; height: 6px;
      background: var(--accent); border-radius: 50%;
    }
    .section-title {
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700; letter-spacing: -0.03em;
      line-height: 1.15; color: var(--text-1);
    }
    .section-title em {
      font-style: italic;
      font-family: 'Playfair Display', serif;
      color: var(--accent);
    }
    .section-sub {
      font-size: 1.0625rem; line-height: 1.75;
      color: var(--text-2); max-width: 520px; margin-top: 16px;
    }

    /* ── SCROLL REVEAL ── */
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--silk), transform 0.7s var(--silk); }
    .reveal.visible { opacity: 1; transform: none; }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ══════════════════════════════════════════
       1. NAV
    ══════════════════════════════════════════ */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      padding: 20px 0;
      transition: padding var(--silk-dur) var(--silk), background var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
    }
    .nav.scrolled {
      padding: 12px 0;
      background: rgba(232,244,242,0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 var(--border);
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      max-width: 1160px; margin: 0 auto; padding: 0 32px;
    }
    .nav-logo {
      font-size: 1.25rem; font-weight: 700; letter-spacing: -0.04em;
      color: var(--text-1);
    }
    .nav-logo span { color: var(--accent); }
    .nav-links {
      display: flex; align-items: center; gap: 36px;
    }
    .nav-links a {
      font-size: 0.9rem; font-weight: 500; color: var(--text-2);
      position: relative; padding: 7px 16px; border-radius: 100px;
      background: transparent;
      box-shadow: inset 0 0 0 0px var(--accent-border);
      transition: color 0.4s var(--silk), background 0.4s var(--silk), box-shadow 0.4s var(--silk);
    }
    .nav-links a:hover {
      color: var(--accent);
      background: var(--accent-ghost);
      box-shadow: inset 0 0 0 1px var(--accent-border);
    }
    .nav-cta {
      display: flex; align-items: center; gap: 12px;
    }
    .btn-ghost {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 0.875rem; font-weight: 500; color: var(--text-2);
      padding: 9px 20px; border-radius: 100px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.15);
      transition: color 0.3s, background 0.3s, border-color 0.3s;
    }
    .btn-ghost:hover { color: var(--accent); background: var(--accent-ghost); border-color: var(--accent-border); }
    .btn-ghost svg { flex-shrink: 0; }
    .btn-primary {
      font-size: 0.875rem; font-weight: 600; color: #fff;
      background: var(--accent); padding: 10px 22px; border-radius: 100px;
      transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
      box-shadow: 0 4px 16px rgba(26,86,219,0.25);
    }
    .btn-primary:hover {
      background: var(--accent-mid);
      transform: scale(1.02);
      box-shadow: 0 6px 24px rgba(26,86,219,0.35);
    }

    /* Hamburger */
    .nav-hamburger {
      display: none; flex-direction: column; gap: 5px;
      width: 28px; padding: 4px; cursor: pointer;
    }
    .nav-hamburger span {
      display: block; height: 2px; background: var(--text-1);
      border-radius: 2px; transition: all 0.4s var(--silk);
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile Menu */
    .mobile-menu {
      position: fixed; inset: 0; z-index: 999;
      background: var(--bg);
      display: flex; flex-direction: column; align-items: center;
      justify-content: flex-start;
      gap: 0;
      opacity: 0; pointer-events: none;
      transition: opacity 0.4s var(--silk);
      overflow-y: auto;
      padding: 100px 32px 100px;
      -webkit-overflow-scrolling: touch;
    }
    .mobile-menu.open { opacity: 1; pointer-events: all; }
    .mobile-menu a {
      font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em;
      color: var(--text-1); padding: 14px 0; width: 100%; text-align: center;
      border-bottom: 1px solid var(--border);
      opacity: 0; transform: translateY(16px);
      transition: opacity 0.5s var(--silk), transform 0.5s var(--silk), color 0.3s;
    }
    .mobile-menu a:first-child { border-top: 1px solid var(--border); }
    .mobile-menu.open a { opacity: 1; transform: none; }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
    .mobile-menu a:nth-child(2) { transition-delay: 0.10s; }
    .mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
    .mobile-menu a:nth-child(4) { transition-delay: 0.20s; }
    .mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
    .mobile-menu a:nth-child(6) { transition-delay: 0.30s; }
    .mobile-menu .mobile-cta {
      margin-top: 28px;
      font-size: 0.9375rem; font-weight: 600;
      background: var(--accent); color: #fff;
      padding: 14px 40px; border-radius: 100px;
      border: none;
      opacity: 0; transform: translateY(16px);
      transition: opacity 0.5s var(--silk) 0.35s, transform 0.5s var(--silk) 0.35s, background 0.3s;
    }
    .mobile-menu.open .mobile-cta { opacity: 1; transform: none; }
    .mobile-menu .mobile-cta:hover { background: var(--accent-mid); }

    /* ══════════════════════════════════════════
       2. HERO
    ══════════════════════════════════════════ */
    .hero {
      min-height: 100vh;
      display: flex; align-items: center;
      padding: 92px 0 44px;
      position: relative; overflow: hidden;
    }
    /* Decorative background circles */
    .hero::before {
      content: '';
      position: absolute; top: -10%; right: -5%;
      width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
      background: radial-gradient(ellipse at center, rgba(96,165,250,0.18) 0%, rgba(59,130,246,0.06) 50%, transparent 75%);
      border-radius: 50%;
      pointer-events: none;
    }
    .hero::after {
      content: '';
      position: absolute; bottom: -15%; left: -8%;
      width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
      background: radial-gradient(ellipse at center, rgba(26,86,219,0.10) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    .hero-inner {
      position: relative; z-index: 1;
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center; gap: 64px;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--surface-2); border: 1px solid var(--accent-border);
      border-radius: 100px; padding: 6px 16px 6px 8px;
      margin-bottom: 20px; box-shadow: var(--shadow-sm);
    }
    .hero-badge-dot {
      width: 24px; height: 24px; border-radius: 50%;
      background: var(--accent); display: flex; align-items: center; justify-content: center;
      font-size: 11px; color: #fff; font-weight: 700; flex-shrink: 0;
    }
    .hero-badge span { font-size: 0.8125rem; font-weight: 500; color: var(--text-2); }
    .hero-badge strong { color: var(--accent); }
    .hero-title {
      font-size: clamp(2.4rem, 4.6vw, 4rem);
      font-weight: 700; letter-spacing: -0.04em; line-height: 1.08;
      margin-bottom: 16px;
    }
    .hero-title em {
      font-style: italic;
      font-family: 'Playfair Display', serif;
      color: var(--accent);
    }
    .hero-sub {
      font-size: 1.0625rem; line-height: 1.65;
      color: var(--text-2); max-width: 480px; margin-bottom: 26px;
    }
    .hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
    .btn-primary-lg {
      font-size: 0.9375rem; font-weight: 600; color: #fff;
      background: var(--accent); padding: 14px 32px; border-radius: 100px;
      display: flex; align-items: center; gap: 10px;
      transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
      box-shadow: 0 6px 24px rgba(26,86,219,0.30);
    }
    .btn-primary-lg:hover { background: var(--accent-mid); transform: scale(1.02); box-shadow: 0 8px 32px rgba(26,86,219,0.40); }
    .btn-primary-lg .btn-arrow { transition: transform 0.4s var(--silk); }
    .btn-primary-lg:hover .btn-arrow { transform: translateX(4px); }
    .btn-outline-lg {
      font-size: 0.9375rem; font-weight: 500; color: var(--accent);
      border: 1.5px solid var(--accent-border); padding: 13px 28px; border-radius: 100px;
      display: flex; align-items: center; gap: 8px;
      transition: background 0.4s var(--silk), border-color 0.4s var(--silk), transform var(--silk-dur) var(--silk);
    }
    .btn-outline-lg:hover { background: var(--accent-ghost); border-color: var(--accent); transform: scale(1.02); }

    /* Trust badges */
    .hero-trust {
      display: flex; align-items: center; gap: 20px;
      margin-top: 28px; flex-wrap: wrap;
    }
    .trust-item {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.8125rem; color: var(--text-3); font-weight: 500;
    }
    .trust-item svg { color: var(--accent); flex-shrink: 0; }
    .trust-divider { width: 1px; height: 20px; background: var(--border); }

    /* Hero visual */
    .hero-visual {
      position: relative; display: flex; justify-content: center; align-items: center;
    }
    .hero-dashboard {
      width: 100%; max-width: 520px;
      background: var(--surface-2);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      transition: transform var(--silk-dur) var(--silk);
    }
    .hero-dashboard:hover { transform: scale(1.01); }
    .dashboard-bar {
      background: var(--bg-alt); padding: 12px 16px;
      display: flex; align-items: center; gap: 8px;
      border-bottom: 1px solid var(--border);
    }
    .db-dot { width: 10px; height: 10px; border-radius: 50%; }
    .db-dot:nth-child(1) { background: #FF5F57; }
    .db-dot:nth-child(2) { background: #FFBD2E; }
    .db-dot:nth-child(3) { background: #28CA41; }
    /* Panel de inicio del ERP, recreado en markup (no es una captura). Mismo
       criterio que .kds-screen: container query + todo en em, así la maqueta
       escala dentro del marco sin romperse ni volverse ilegible. */
    .dashboard-body {
      container-type: inline-size;
      font-size: clamp(6px, 2.25cqw, 11px);
      padding: 1.5em;
      display: flex; flex-direction: column; gap: 1em;
    }
    /* Barra de caja */
    .jp-caja {
      display: flex; align-items: center; gap: 0.7em;
      background: var(--bg); border: 1px solid var(--border);
      border-radius: 0.8em; padding: 0.9em 1.1em;
    }
    .jp-caja-dot {
      width: 0.6em; height: 0.6em; border-radius: 50%;
      background: var(--accent); box-shadow: 0 0 0 0.25em var(--accent-ghost);
      flex-shrink: 0;
    }
    .jp-caja strong { font-size: 1.15em; font-weight: 700; color: var(--accent); }
    .jp-caja-meta { font-size: 0.95em; color: var(--text-3); }
    /* Resumen comercial */
    .jp-panel {
      background: var(--bg); border: 1px solid var(--border);
      border-radius: 0.8em; padding: 1.1em;
    }
    .jp-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; }
    .jp-label { font-size: 0.95em; color: var(--text-3); }
    .jp-total {
      font-size: 2.5em; font-weight: 800; color: var(--text-1);
      letter-spacing: -0.03em; line-height: 1.1; margin-top: 0.1em;
    }
    .jp-kpis { display: flex; gap: 0.6em; flex-shrink: 0; }
    .jp-kpi {
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: 0.6em; padding: 0.6em 0.8em; text-align: left;
    }
    .jp-kpi span { display: block; font-size: 0.85em; color: var(--text-3); white-space: nowrap; }
    .jp-kpi strong { display: block; font-size: 1.2em; font-weight: 700; color: var(--text-1); margin-top: 0.15em; }
    .jp-cols {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em;
      margin-top: 1.1em; padding-top: 1em; border-top: 1px solid var(--border);
    }
    .jp-col-label { font-size: 0.9em; color: var(--text-3); margin-bottom: 0.6em; }
    .jp-line { display: flex; align-items: baseline; gap: 0.4em; font-size: 0.95em; }
    .jp-name { font-weight: 700; color: var(--text-1); }
    .jp-ops { color: var(--text-3); font-size: 0.85em; }
    .jp-val { margin-left: auto; font-weight: 600; color: var(--text-1); white-space: nowrap; }
    .jp-bar { height: 0.35em; border-radius: 100px; background: rgba(255,255,255,0.07); margin: 0.35em 0 0.7em; }
    .jp-bar > i { display: block; height: 100%; border-radius: 100px; background: var(--accent); }
    /* Tarjetas de estado: el borde de color a la izquierda es la marca del panel */
    .jp-estados { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.6em; }
    .jp-est {
      background: var(--bg); border: 1px solid var(--border);
      border-left-width: 2px; border-radius: 0.6em; padding: 0.7em 0.8em;
    }
    .jp-est-label { font-size: 0.85em; color: var(--text-3); }
    .jp-est-val { font-size: 1.5em; font-weight: 800; color: var(--text-1); line-height: 1.2; }
    .jp-est.pend { border-left-color: #f59e0b; }
    .jp-est.proc { border-left-color: var(--accent); }
    .jp-est.comp { border-left-color: var(--accent); }
    .jp-est.inci { border-left-color: #ef4444; }

    /* Floating badge on hero visual */
    /* bottom: el panel de inicio llega hasta el borde con las tarjetas de estado,
       así que el badge se apoya por fuera. Con -16px tapaba "Pendientes" y "En
       proceso" (medido: 28px de solape). -56px lo deja apenas debajo de la
       esquina y libra las tarjetas incluso en el pico de floatBadge, que lo sube
       6px. */
    .hero-float-badge {
      position: absolute; bottom: -56px; left: -24px;
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 12px 16px;
      box-shadow: var(--shadow-md);
      display: flex; align-items: center; gap: 10px;
      animation: floatBadge 4s ease-in-out infinite;
    }
    @keyframes floatBadge {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }
    .float-badge-icon {
      width: 36px; height: 36px; border-radius: 10px;
      background: var(--accent); display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 16px; flex-shrink: 0;
    }
    .float-badge-text { font-size: 0.75rem; }
    .float-badge-text strong { display: block; font-weight: 700; color: var(--text-1); }
    .float-badge-text span { color: var(--text-3); }

    .hero-float-badge-2 {
      position: absolute; top: 20px; right: -20px;
      background: var(--accent); border-radius: var(--radius);
      padding: 10px 16px; box-shadow: 0 8px 24px rgba(26,86,219,0.35);
      animation: floatBadge2 4s ease-in-out 2s infinite;
    }
    @keyframes floatBadge2 {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }
    .float-badge-2-val { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
    .float-badge-2-label { font-size: 0.7rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

    /* ══════════════════════════════════════════
       3. LOGO TICKER
    ══════════════════════════════════════════ */
    .ticker-section {
      padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
      background: var(--surface);
      overflow: hidden; position: relative;
    }
    .ticker-label {
      text-align: center; font-size: 0.75rem; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--text-3); font-weight: 600;
      margin-bottom: 28px;
    }
    .ticker-track-wrap { overflow: hidden; }
    .ticker-track {
      display: flex; align-items: center; gap: 64px;
      width: max-content;
      animation: ticker 28s linear infinite;
    }
    .ticker-track:hover { animation-play-state: paused; }
    @keyframes ticker {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    .ticker-item {
      display: flex; align-items: center; gap: 10px;
      font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.03em;
      color: var(--text-3); white-space: nowrap; flex-shrink: 0;
      transition: color 0.3s;
    }
    .ticker-item:hover { color: var(--accent); }
    .ticker-item-icon {
      width: 32px; height: 32px; border-radius: 8px;
      background: var(--accent-ghost); border: 1px solid var(--accent-border);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .ticker-dot {
      width: 5px; height: 5px; border-radius: 50%;
      background: var(--accent-light); flex-shrink: 0; opacity: 0.5;
    }

    /* ══════════════════════════════════════════
       4. FEATURES
    ══════════════════════════════════════════ */
    .features-section { padding: 120px 0; }
    .features-header { text-align: center; margin-bottom: 80px; }
    .features-header .section-sub { margin: 16px auto 0; text-align: center; }

    .feature-row {
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center; gap: 80px; margin-bottom: 100px;
    }
    .feature-row:last-child { margin-bottom: 0; }
    .feature-row.reverse { direction: rtl; }
    .feature-row.reverse > * { direction: ltr; }
    /* Feature 01 (salón): más ancho para el plano y más aire entre mesas */
    .feature-row-salon { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
    .feature-row-salon .feature-visual { aspect-ratio: 3 / 2; }

    .feature-content {}
    .feature-number {
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--accent-light);
      margin-bottom: 16px;
    }
    .feature-title {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 700; letter-spacing: -0.03em; line-height: 1.2;
      margin-bottom: 16px;
    }
    .feature-desc {
      font-size: 1rem; line-height: 1.75; color: var(--text-2); margin-bottom: 28px;
    }
    .feature-checklist { display: flex; flex-direction: column; gap: 10px; }
    .feature-check {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 0.9rem; color: var(--text-2);
    }
    .check-icon {
      width: 20px; height: 20px; border-radius: 50%;
      background: var(--accent-ghost); border: 1px solid var(--accent-border);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 1px;
      color: var(--accent); font-size: 11px; font-weight: 700;
    }

    .feature-visual {
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
      overflow: hidden;
      aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      position: relative;
      transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
    }
    .feature-visual:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }

    /* ── Mockups de comercio (feature-visual). Mismo criterio que la versión
       gastronómica: container query + todo en em, así la maqueta escala dentro
       del marco 4/3 sin romperse ni volverse ilegible. ── */

    /* Ticket / venta POS con facturación ARCA (mockup, feature 01) */
    .pos-ticket {
      position: absolute; inset: 0;
      container-type: inline-size;
      font-size: clamp(6px, 2.5cqw, 12.5px);
      padding: 1.5em 1.6em; overflow: hidden;
      display: flex; flex-direction: column; gap: 0.8em;
      background: linear-gradient(180deg, #0c1119, var(--bg));
    }
    .pos-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8em; }
    .pos-kicker { font-size: 0.68em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.3em; }
    .pos-name { font-size: 1.5em; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
    .pos-comp { font-size: 0.78em; color: var(--accent); background: var(--accent-ghost); border: 1px solid var(--accent-border); border-radius: 0.6em; padding: 0.45em 0.75em; white-space: nowrap; font-weight: 700; }
    .pos-lines { display: flex; flex-direction: column; }
    .pos-row {
      display: grid; grid-template-columns: auto 1fr auto; gap: 0.9em; align-items: center;
      padding: 0.5em 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9em;
    }
    .pos-qty { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
    .pos-item { color: #e7edf4; font-weight: 500; }
    .pos-item small { display: block; font-size: 0.78em; color: var(--text-3); font-weight: 400; }
    .pos-amt { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
    .pos-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 1em; font-weight: 700; color: var(--text-2); padding-top: 0.2em; margin-top: auto; }
    .pos-total .pt-val { font-size: 1.9em; font-weight: 800; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
    .pos-cae {
      display: flex; align-items: center; justify-content: space-between; gap: 0.6em;
      background: var(--surface-2); border: 1px solid var(--accent-border); border-radius: 0.7em;
      padding: 0.7em 0.9em; font-size: 0.82em;
    }
    .pos-cae .pc-tag { color: var(--accent); font-weight: 700; display: flex; align-items: center; gap: 0.45em; }
    .pos-cae .pc-tag::before { content: ''; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0.5em var(--accent); }
    .pos-cae .pc-num { color: var(--text-3); font-variant-numeric: tabular-nums; }

    /* Listas de precios / mayorista (mockup, feature 02) */
    .price-list {
      position: absolute; inset: 0;
      container-type: inline-size;
      font-size: clamp(5.5px, 2.35cqw, 12px);
      padding: 1.4em 1.5em; overflow: hidden;
      display: flex; flex-direction: column; gap: 0.7em;
      background: var(--bg);
    }
    .pl-head { display: flex; align-items: center; justify-content: space-between; }
    .pl-title { font-size: 1.3em; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
    .pl-chip { font-size: 0.78em; color: var(--accent); background: var(--accent-ghost); border: 1px solid var(--accent-border); border-radius: 1em; padding: 0.3em 0.7em; font-weight: 700; }
    .pl-table { display: flex; flex-direction: column; }
    .pl-cols {
      display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0.7em;
      font-size: 0.74em; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
      color: var(--text-3); padding-bottom: 0.5em; border-bottom: 1px solid var(--border);
    }
    .pl-cols span:not(:first-child) { text-align: right; }
    .pl-row {
      display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0.7em; align-items: center;
      padding: 0.6em 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.92em;
    }
    .pl-prod { color: #e7edf4; font-weight: 600; }
    .pl-prod small { display: block; font-size: 0.72em; color: var(--text-3); font-weight: 400; }
    .pl-price { text-align: right; color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
    .pl-price.min { color: #fff; }
    .pl-price.may { color: var(--accent-light); }
    .pl-price.dist { color: var(--accent); }
    .pl-foot {
      display: flex; align-items: center; gap: 0.5em; margin-top: auto;
      font-size: 0.82em; color: var(--text-3);
    }
    .pl-foot .plf-badge { color: var(--accent); font-weight: 700; }

    /* Cuenta corriente / cliente (mockup, feature 03) */
    .cc-card {
      position: absolute; inset: 0;
      container-type: inline-size;
      font-size: clamp(6px, 2.5cqw, 12.5px);
      padding: 1.5em 1.6em; overflow: hidden;
      display: flex; flex-direction: column; gap: 0.85em;
      background: linear-gradient(180deg, #0c1119, var(--bg));
    }
    .cc-head { display: flex; align-items: center; gap: 0.8em; }
    .cc-avatar {
      width: 2.6em; height: 2.6em; border-radius: 50%; flex-shrink: 0;
      background: var(--accent-ghost); border: 1px solid var(--accent-border);
      display: flex; align-items: center; justify-content: center;
      font-weight: 800; color: var(--accent); font-size: 1em;
    }
    .cc-who { flex: 1; }
    .cc-name { font-size: 1.3em; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
    .cc-meta { font-size: 0.82em; color: var(--text-3); }
    .cc-saldo {
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: 0.8em; padding: 0.9em 1.1em; display: flex; align-items: center; justify-content: space-between;
    }
    .cc-saldo-label { font-size: 0.85em; color: var(--text-3); }
    .cc-saldo-val { font-size: 1.9em; font-weight: 800; color: #f0a6a6; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
    .cc-movs { display: flex; flex-direction: column; }
    .cc-mov {
      display: grid; grid-template-columns: 1fr auto auto; gap: 0.8em; align-items: center;
      padding: 0.5em 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9em;
    }
    .cc-mov-desc { color: #e7edf4; font-weight: 500; }
    .cc-mov-desc small { display: block; font-size: 0.78em; color: var(--text-3); font-weight: 400; }
    .cc-mov-tag { font-size: 0.72em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.15em 0.5em; border-radius: 0.5em; }
    .cc-mov-tag.debe { color: #e08a8a; background: rgba(228,96,96,0.12); }
    .cc-mov-tag.haber { color: var(--accent); background: var(--accent-ghost); }
    .cc-mov-amt { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; min-width: 5em; }
    .cc-mov-amt.debe { color: #f0a6a6; }
    .cc-mov-amt.haber { color: var(--accent-light); }

    /* ══════════════════════════════════════════
       5. MOBILE CAROUSEL
    ══════════════════════════════════════════ */
    .carousel-section {
      display: block;
      padding: 120px 0; background: var(--surface);
      border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
      overflow: hidden;
    }

    /* Single source of truth: --pw = phone width, drives all offsets */
    :root {
      --pw: clamp(180px, 14vw, 300px);
      --gap1: clamp(200px, 19vw, 380px);
      --gap2: clamp(360px, 34vw, 660px);
      --gap-hide: clamp(500px, 48vw, 900px);
    }
    .phone-shell {
      background: #C8D4D2;
      border-radius: 32px;
      padding: 5px;
      border: none;
      box-shadow:
        0 0 0 1px rgba(150,175,170,0.5),
        0 24px 56px rgba(13,30,28,0.18),
        inset 0 1px 0 rgba(255,255,255,0.6);
      position: relative;
      transition: box-shadow 0.6s var(--silk);
    }
    .phone-screen {
      background: var(--bg);
      border-radius: 28px;
      overflow: hidden;
      aspect-ratio: 9/19.5;
    }

    /* ── Pantallas por producto: Cloud (celular) y Tablet (salón) ──
       Reemplaza al carrusel 3D: cada captura queda con su nombre y agrupada por
       producto, que es lo que el carrusel mezclaba. Cada bloque usa el molde
       .feature-row de la página (texto de un lado, capturas del otro, alternando
       con .reverse), así los dos quedan separados y con su propio encabezado.
       Reusa .phone-shell/.phone-screen, pero NO .phone-card: esa es
       position:absolute y sólo servía al carrusel. */
    /* Marca de plan liviana: asterisco al final de la función, en vez del
       .pro-pill (pesaba demasiado al lado de cada ítem y se repetía 7 veces).
       Qué significa lo dice una sola vez la bajada de "Funciones, por bloque". */
    .pro-ast { color: var(--violet); font-weight: 700; }
    sup.pro-ast { font-size: 0.8em; margin-left: 1px; }

    .pantallas-row { align-items: center; }
    .pantallas-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .pantalla { margin: 0; }
    /* contain, no cover: las capturas son ratio ~0.54 y .phone-screen es 9/19.5
       (~0.46). Con cover se comía los costados ("Mesa 16" salía "esa 16"). */
    .pantalla .phone-screen img {
      width: 100%; height: 100%; object-fit: contain;
      display: block; background: #0b0f16;
    }
    .pantalla figcaption {
      margin-top: 12px; text-align: center;
      font-size: 0.82rem; color: var(--text-2); line-height: 1.4;
    }

    /* ══════════════════════════════════════════
       6. STATS
    ══════════════════════════════════════════ */
    .stats-section { padding: 80px 0; border-top: 1px solid var(--border); }
    .stats-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
    }
    .stat-card {
      padding: 40px 36px;
      border-right: 1px solid var(--border);
      transition: background var(--silk-dur) var(--silk);
    }
    .stat-card:last-child { border-right: none; }
    .stat-card:hover { background: var(--surface-2); }
    .stat-rule {
      width: 32px; height: 2px; background: var(--accent);
      border-radius: 2px; margin-bottom: 24px;
      transition: width 0.5s var(--silk);
    }
    .stat-card:hover .stat-rule { width: 56px; }
    .stat-value {
      font-size: clamp(2.4rem, 3.5vw, 3.6rem);
      font-weight: 700; letter-spacing: -0.05em;
      color: var(--text-1); line-height: 1; margin-bottom: 12px;
      display: flex; align-items: baseline; gap: 2px;
    }
    .stat-suffix { font-size: 55%; color: var(--accent); font-weight: 600; }
    .stat-label {
      font-size: 0.9rem; font-weight: 600;
      color: var(--text-1); margin-bottom: 6px;
    }
    .stat-sublabel { font-size: 0.78rem; color: var(--text-3); line-height: 1.5; }

    /* ══════════════════════════════════════════
       7. PRICING
    ══════════════════════════════════════════ */
    .pricing-section { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); }
    .pricing-header { text-align: center; margin-bottom: 48px; }
    .pricing-header .section-sub { margin: 16px auto 0; text-align: center; }

    .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .pricing-card {
      background: var(--surface-2); border-radius: var(--radius-lg);
      border: 1px solid var(--border); padding: 36px 32px;
      box-shadow: var(--shadow-sm);
      transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
      position: relative;
    }
    .pricing-card:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
    .pricing-card.featured {
      border-color: var(--accent); background: var(--text-1);
      box-shadow: 0 20px 60px rgba(26,86,219,0.25);
    }
    .pricing-card.featured:hover { transform: scale(1.025); box-shadow: 0 28px 80px rgba(26,86,219,0.35); }
    .pricing-badge {
      position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
      background: var(--accent); color: #fff;
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
      padding: 5px 16px; border-radius: 100px;
      white-space: nowrap;
    }
    .pricing-tier { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
    .pricing-card.featured .pricing-tier { color: rgba(255,255,255,0.5); }
    .pricing-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
    .price-annual-note {
      font-size: 0.78rem; color: var(--text-3); margin-bottom: 16px;
      min-height: 1.2em;
      transition: opacity 0.4s var(--silk);
    }
    .pricing-card.featured .price-annual-note { color: rgba(255,255,255,0.4); }
    .price-currency { font-size: 1.4rem; font-weight: 600; color: var(--text-2); margin-top: 6px; }
    .price-amount { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; color: var(--text-1); line-height: 1; }
    .pricing-card.featured .price-currency,
    .pricing-card.featured .price-amount { color: #fff; }
    .price-period { font-size: 0.875rem; color: var(--text-3); }
    .pricing-card.featured .price-period { color: rgba(255,255,255,0.5); }
    .pricing-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; margin-bottom: 28px; }
    .pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.65); }
    .pricing-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
    .pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
    .pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
    .pricing-feature {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 0.875rem; color: var(--text-2);
    }
    .pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.8); }
    .pricing-check {
      width: 18px; height: 18px; border-radius: 50%;
      background: var(--accent-ghost); border: 1px solid var(--accent-border);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; color: var(--accent); font-size: 10px; font-weight: 700;
      margin-top: 1px;
    }
    .pricing-card.featured .pricing-check {
      background: var(--accent-ghost); border-color: var(--accent-border); color: var(--accent-light);
    }
    .pricing-cta {
      display: block; text-align: center; font-size: 0.9rem; font-weight: 600;
      padding: 13px; border-radius: 100px;
      border: 1.5px solid var(--accent-border); color: var(--accent);
      transition: all 0.4s var(--silk);
    }
    .pricing-cta:hover { background: var(--accent-ghost); }
    .pricing-card.featured .pricing-cta {
      background: var(--accent); border-color: var(--accent); color: #fff;
      box-shadow: 0 6px 24px rgba(26,86,219,0.35);
    }
    .pricing-card.featured .pricing-cta:hover { background: var(--accent-mid); }

    /* ══════════════════════════════════════════
       10. FAQ
    ══════════════════════════════════════════ */
    .faq-section { padding: 100px 0; }
    .faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
    .faq-sidebar { position: sticky; top: 100px; }
    .faq-sidebar .section-sub { margin-top: 16px; margin-bottom: 32px; }
    .faq-toggle-all {
      font-size: 0.875rem; font-weight: 600; color: var(--accent);
      display: flex; align-items: center; gap: 6px;
      transition: opacity 0.3s;
    }
    .faq-toggle-all:hover { opacity: 0.75; }

    .faq-list { display: flex; flex-direction: column; gap: 0; }
    .faq-item {
      border-bottom: 1px solid var(--border);
    }
    .faq-item:first-child { border-top: 1px solid var(--border); }
    .faq-question {
      display: flex; justify-content: space-between; align-items: center;
      padding: 22px 0; cursor: pointer; gap: 16px;
      font-size: 0.9375rem; font-weight: 600; color: var(--text-1);
      transition: color 0.3s;
    }
    .faq-question:hover { color: var(--accent); }
    .faq-icon {
      width: 28px; height: 28px; border-radius: 50%;
      border: 1.5px solid var(--accent-border); flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-size: 16px; font-weight: 300;
      transition: transform 0.5s var(--silk), background 0.4s, color 0.4s;
    }
    .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
    .faq-answer {
      display: grid; grid-template-rows: 0fr;
      transition: grid-template-rows 0.5s var(--silk);
    }
    .faq-item.open .faq-answer { grid-template-rows: 1fr; }
    .faq-answer-inner {
      overflow: hidden;
      font-size: 0.9rem; line-height: 1.75; color: var(--text-2);
      padding-bottom: 0;
      transition: padding-bottom 0.5s var(--silk);
    }
    .faq-item.open .faq-answer-inner { padding-bottom: 20px; }

    /* ══════════════════════════════════════════
       11. CTA BANNER
    ══════════════════════════════════════════ */
    .cta-section { padding: 100px 0; }
    .cta-inner {
      background: var(--text-1);
      border-radius: var(--radius-lg);
      padding: 80px;
      display: flex; align-items: center; justify-content: space-between; gap: 48px;
      position: relative; overflow: hidden;
    }
    .cta-inner::before {
      content: '';
      position: absolute; top: -40%; right: -5%;
      width: 500px; height: 500px;
      background: radial-gradient(ellipse at center, rgba(96,165,250,0.15) 0%, transparent 70%);
      border-radius: 50%; pointer-events: none;
    }
    .cta-content { position: relative; z-index: 1; max-width: 560px; }
    .cta-label {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--accent-light);
      border: 1px solid rgba(96,165,250,0.3);
      padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
    }
    .cta-title {
      font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
      letter-spacing: -0.03em; line-height: 1.15; color: #fff; margin-bottom: 16px;
    }
    .cta-title em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--accent-light); }
    .cta-sub { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
    .cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
    .btn-cta-primary {
      display: flex; align-items: center; gap: 10px;
      font-size: 0.9375rem; font-weight: 600; color: #fff;
      background: var(--accent); padding: 16px 36px; border-radius: 100px;
      white-space: nowrap;
      transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk);
      box-shadow: 0 8px 32px rgba(26,86,219,0.40);
    }
    .btn-cta-primary:hover { background: var(--accent-mid); transform: scale(1.02); }
    .btn-cta-ghost {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.6);
      padding: 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1);
      white-space: nowrap;
      transition: color 0.3s, border-color 0.3s;
    }
    .btn-cta-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

    /* ══════════════════════════════════════════
       11b. DESARROLLO A MEDIDA
       ══════════════════════════════════════════ */
    .amedida-section { padding: 0 0 100px; }
    .amedida-card {
      max-width: 880px; margin: 0 auto;
      background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.12) 100%);
      border: 1.5px solid rgba(255,255,255,0.32);
      border-radius: var(--radius-lg);
      padding: 56px 48px; text-align: center;
      position: relative; overflow: hidden;
    }
    .amedida-badge {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--violet);
      background: rgba(255,255,255,0.14);
      border: 1px solid rgba(255,255,255,0.34);
      padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
    }
    .amedida-title {
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(1.75rem, 3.4vw, 2.5rem);
      font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
      color: var(--text-1); margin-bottom: 16px;
    }
    .amedida-title em {
      font-style: italic; font-family: 'Playfair Display', serif; color: var(--violet);
    }
    .amedida-sub {
      font-size: 1.0625rem; line-height: 1.75; color: var(--text-2);
      max-width: 560px; margin: 0 auto 36px;
    }
    .amedida-sub sup { color: var(--violet); }
    .amedida-examples {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
      max-width: 620px; margin: 0 auto 40px;
    }
    .amedida-tile {
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: 14px; padding: 16px 10px; text-align: center;
    }
    .amedida-tile svg { margin: 0 auto 8px; display: block; }
    .amedida-tile span { font-size: 0.8125rem; color: var(--text-2); }
    .amedida-actions {
      display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
    }
    .amedida-wa {
      display: inline-flex; align-items: center; gap: 10px;
      font-size: 1rem; font-weight: 700; color: #fff;
      background: #25D366; padding: 15px 32px; border-radius: 12px;
      box-shadow: 0 6px 24px rgba(37,211,102,0.35);
      transition: opacity var(--silk-dur) var(--silk);
    }
    .amedida-wa:hover { opacity: 0.9; }
    .amedida-mail {
      display: inline-flex; align-items: center; gap: 10px;
      font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.85);
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.15);
      padding: 15px 32px; border-radius: 12px;
      transition: color 0.3s, border-color 0.3s;
    }
    .amedida-mail:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
    .amedida-note {
      font-size: 0.8125rem; color: var(--text-3); margin-top: 26px;
    }
    .amedida-note sup { color: var(--violet); }
    @media (max-width: 640px) {
      .amedida-card { padding: 40px 24px; }
      .amedida-examples { grid-template-columns: repeat(2, 1fr); }
    }

    /* ══════════════════════════════════════════
       12. FOOTER
    ══════════════════════════════════════════ */
    .footer {
      background: var(--text-1); padding: 80px 0 40px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-grid {
      display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
      gap: 48px; margin-bottom: 64px;
    }
    .footer-brand .nav-logo { color: #fff; font-size: 1.3rem; margin-bottom: 16px; display: block; }
    .footer-brand-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 240px; }
    .footer-col-label {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: rgba(255,255,255,0.25);
      margin-bottom: 20px;
    }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a {
      font-size: 0.875rem; color: rgba(255,255,255,0.5);
      transition: color 0.3s;
    }
    .footer-links a:hover { color: var(--accent-light); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 32px;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    }
    .footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
    .footer-copy a { color: rgba(255,255,255,0.45); transition: color 0.3s; }
    .footer-copy a:hover { color: var(--accent-light); }
    .footer-legal { display: flex; gap: 24px; }
    .footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.3); transition: color 0.3s; }
    .footer-legal a:hover { color: rgba(255,255,255,0.6); }

    /* ══════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .hero-inner { grid-template-columns: 1fr; gap: 56px; }
      /* width:100% es necesario: .hero-visual es un grid item y `margin:0 auto` lo
         hace encogerse al contenido en vez de estirarse. Adentro .hero-dashboard
         pide width:100%, así que la referencia quedaba circular y el marco
         colapsaba a 80px en móvil y tablet. */
      .hero-visual { width: 100%; max-width: 520px; margin: 0 auto; }
      .feature-row { grid-template-columns: 1fr; gap: 40px; }
      .feature-row.reverse { direction: ltr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
      .stat-card:last-child { border-bottom: none; }
      .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

      .footer-grid { grid-template-columns: 1fr 1fr; }
      .cta-inner { flex-direction: column; padding: 56px 40px; }
      .faq-inner { grid-template-columns: 1fr; }
      .faq-sidebar { position: static; }
    }
    @media (max-width: 768px) {
      .container { padding: 0 20px; }
      .nav-links, .nav-cta { display: none; }
      .nav-hamburger { display: flex; }
      .footer-grid { grid-template-columns: 1fr; }
      .cta-inner { padding: 40px 24px; }
      .pricing-grid { max-width: 100%; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-float-badge-2 { right: 0; }
      :root {
        --pw: 150px;
        --gap1: 168px;
        --gap2: 300px;
        --gap-hide: 430px;
      }
    }
    @media (max-width: 480px) {

      .stats-grid { grid-template-columns: 1fr 1fr; }
      .hero-trust { gap: 12px; }
      .trust-divider { display: none; }
    }

    /* ══════════════════════════════════════════
       JAMM RE-SKIN OVERRIDES — Dark Premium, sin degradés
       Paleta comercios: negro + azul (var(--accent)) + violeta (#b06bff) para "Solo Professional"
    ══════════════════════════════════════════ */
    body { font-family: 'Geist','Segoe UI',system-ui,sans-serif; }
    .section-title,
    .hero-title,
    .feature-title,
    .cta-title,
    .stat-value,
    .price-amount,
    .nav-logo,
    .pricing-tier { font-family: 'Geist','Segoe UI',system-ui,sans-serif; letter-spacing:-0.02em; }

    /* Fondo plano: sin orbes ni textura */
    .hero::before, .hero::after { display:none; }

    /* Nav al scrollear: seguir en negro (la plantilla lo ponía claro).
       Usamos el ID para ganarle con certeza al .nav.scrolled de la plantilla. */
    #mainNav.scrolled { background: rgba(0,0,0,0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(255,255,255,0.08); }

    /* Acento "em": color sólido cyan (sin gradiente) */
    .hero-title em, .section-title em, .feature-title em, .cta-title em {
      font-style: normal; font-family: 'Geist', sans-serif;
      background: none; color: var(--accent); -webkit-text-fill-color: var(--accent);
    }

    /* CTAs principales → acento sólido, texto sobre el acento (sin degradé) */
    .btn-primary, .btn-primary-lg, .mobile-cta, .btn-cta-primary,
    .pricing-card.featured .pricing-cta,
    .pricing-badge {
      background: var(--accent); color: var(--on-accent); box-shadow:none; border-color:transparent;
    }
    .btn-primary:hover, .btn-primary-lg:hover, .mobile-cta:hover, .btn-cta-primary:hover,
    .pricing-card.featured .pricing-cta:hover { background: var(--accent-hover); color: var(--on-accent); box-shadow:none; opacity:1; }
    .hero-badge-dot { background: var(--accent); color: var(--on-accent); }
    .float-badge-icon { background: var(--accent); }
    .float-badge-icon svg { stroke: var(--on-accent); }
    .hero-float-badge-2 { background: var(--accent); box-shadow: 0 8px 24px rgba(59,130,246,0.30); }
    .hero-float-badge-2 .float-badge-2-val { color: #fff; }
    .hero-float-badge-2 .float-badge-2-label { color: rgba(255,255,255,0.75); }
    .faq-item.open .faq-icon { color: var(--on-accent); }

    /* Carcasa del teléfono sobre negro */
    .phone-shell { background:#111319; box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 24px 56px rgba(0,0,0,0.6); }

    /* Card destacada de pricing — panel negro con borde violeta (sin degradé) */
    .pricing-card.featured { background:#0b0b12; border-color: rgba(255,255,255,0.45); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
    .pricing-card.featured:hover { box-shadow: 0 28px 80px rgba(0,0,0,0.6); }
    .pricing-card.featured .pricing-tier { color:var(--violet); }
    .pricing-card.featured .pricing-check { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color:var(--violet); }

    /* Banner CTA + footer → negro plano (sin degradé) */
    .cta-inner { background:#050508; border:1px solid rgba(255,255,255,0.10); }
    .cta-inner::before { display:none; }
    .cta-label { color: var(--accent-light); border-color: var(--accent-border); }
    .footer { background:#000000; border-top: 1px solid rgba(255,255,255,0.08); }

    /* La etiqueta "Solo Professional" (.pro-pill) se reemplazó por el asterisco
       (.pro-ast, arriba): pesaba demasiado al lado de cada función y se repetía 7
       veces en la página. comercios.html tiene su propia copia inline, así que no
       depende de esta. */

    /* Nota Cloud vs Backup + gancho debajo de planes */
    .plan-note { max-width: 680px; margin: 28px auto 0; text-align:center; font-size:0.9rem; color: var(--text-2); line-height:1.6; }
    .plan-note strong { color:#fff; }
    .plan-hook { max-width: 720px; margin: 22px auto 0; text-align:center; font-family:'Geist',sans-serif; font-size:1.15rem; font-weight:600; color:#fff; }

    /* Sección "Todo lo que incluye" — acordeón por bloque */
    .func-section { padding: 40px 0 100px; }
    .func-acc-wrap { max-width: 920px; margin: 0 auto; display:flex; flex-direction:column; gap:10px; }
    .func-acc { border:1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow:hidden; transition: border-color .3s var(--silk); }
    .func-acc[open] { border-color: var(--accent-border); }
    .func-acc summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:16px; padding:17px 20px; user-select:none; }
    .func-acc summary::-webkit-details-marker { display:none; }
    .func-acc summary:hover { background: var(--surface-2); }
    .fa-num { font-family:'Geist',sans-serif; font-weight:800; font-size:1.05rem; color: var(--accent); min-width:26px; }
    .fa-title { font-family:'Geist',sans-serif; font-weight:700; font-size:1.05rem; color:#fff; flex:1; }
    .fa-meta { font-size:0.78rem; color: var(--text-3); }
    .fa-chevron { width:26px; height:26px; border:1px solid var(--accent-border); border-radius:50%; display:flex; align-items:center; justify-content:center; color: var(--accent); font-size:16px; line-height:1; flex-shrink:0; transition: transform .3s var(--silk); }
    .func-acc[open] .fa-chevron { transform: rotate(45deg); }
    .fa-body { padding: 2px 20px 20px; }
    @media (max-width: 520px){ .fa-meta{ display:none; } }
    .func-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap:12px; }
    .func-tile { background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius); padding:18px; transition: border-color .3s var(--silk), transform .3s var(--silk); }
    .func-tile:hover { border-color: var(--accent-border); transform: translateY(-3px); }
    .func-tile.pro { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
    .func-tile.pro:hover { border-color: rgba(255,255,255,0.55); }
    .func-tile h4 { font-family:'Geist',sans-serif; font-size:0.95rem; font-weight:700; color:#fff; margin-bottom:6px; display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
    .func-tile p { font-size:0.82rem; color: var(--text-3); line-height:1.5; }

    /* Pill de rubro en el nav — violeta sólido */
    .nav-rubro { display:inline-flex; align-items:center; margin-left:10px; padding:3px 11px; border-radius:999px; font-size:0.68rem; font-weight:600; background: rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.3); color:var(--violet); }
    @media (max-width: 600px){ .nav-rubro{ display:none; } }

    /* Grilla de 2 planes (reemplaza el 3-col de la plantilla) — colapsa a 1 col en mobile */
    .pricing-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
    @media (max-width: 860px){ .pricing-grid-2 { grid-template-columns: 1fr; max-width: 460px; } }
