/* ============================================================
   APIQO — i18n strings (ES / EN)
   ============================================================ */

const I18N = {
  es: {
    nav: {
      agents: 'Agentes',
      stack: 'Stack',
      process: 'Proceso',
      roi: 'ROI',
      contact: 'Contacto',
      cta: 'Hablar con un humano',
    },
    hero: {
      pill: 'Plataforma de agentes de IA · LATAM',
      h1a: 'Agentes de IA',
      h1b: 'que viven dentro',
      h1c: 'de tu operación.',
      sub: 'Diseñamos flotas de agentes especializados —apoyados en Claude, n8n, Make y monday— que ejecutan procesos reales 24/7 y devuelven el costo en semanas, no años.',
      ctaPrimary: 'Agenda un diagnóstico',
      ctaSecondary: 'Ver agentes en acción',
      stats: [
        { k: '14 días', v: 'al primer agente en producción' },
        { k: '8.4×', v: 'ROI promedio en 12 meses' },
        { k: '24 / 7', v: 'turnos sin pausa, sin queja' },
      ],
      kicker: 'Construido con',
    },
    what: {
      eyebrow: '01 · Anatomía de un agente',
      h2: 'No es un chatbot. Es un colega que ejecuta.',
      p: 'Un agente Apiqo recibe una intención, planea pasos, llama herramientas reales (CRMs, hojas, APIs internas) y rinde cuentas. Decide cuándo escalar a un humano y cuándo cerrar el caso.',
      label: 'Sesión en vivo · agent.run',
    },
    catalog: {
      eyebrow: '02 · Catálogo',
      h2: 'Agentes especializados, listos para entrenar con tus datos.',
      p: 'Cada agente arranca con un modelo base de su rol y se afina contra tu manual de operación, tono y herramientas.',
      tag: 'Personalizable',
      hire: 'Ver ficha del agente',
    },
    fleet: {
      eyebrow: '04 · Orquestación',
      h2: 'Una flota, no un superagente.',
      p: 'Múltiples agentes especializados que se delegan tareas entre sí, con un orquestador que asigna trabajo, reintenta y escala a humanos cuando hace falta.',
      legend: {
        orch: 'Orquestador',
        agent: 'Agente especialista',
        tool: 'Herramienta / sistema',
        human: 'Humano en el loop',
      },
    },
    stack: {
      eyebrow: '05 · Stack',
      h2: 'Modelos, integraciones y un protocolo seguro de contexto.',
      p: 'Somos agnósticos de modelo. Elegimos el motor según el caso, conectamos vía MCP y orquestamos con n8n / Make sobre monday.',
      mcpTitle: 'MCP · Model Context Protocol',
      mcpP: 'Tus datos no se filtran al modelo. MCP expone capacidades discretas (leer-cliente, crear-factura, mover-tarjeta) con permisos auditables y un mismo lenguaje para todos los agentes.',
      mcpTag: 'Diferenciador técnico',
    },
    roi: {
      eyebrow: '06 · ROI',
      h2: 'Calcula lo que recupera tu equipo en 30 días.',
      p: 'Estimación simple basada en horas operativas que un agente puede absorber en un proceso recurrente.',
      lFte: 'Personas en el proceso',
      lHrs: 'Horas a la semana por persona',
      lAuto: '% del flujo automatizable',
      lCost: 'Costo cargado por hora (USD)',
      out: 'Recuperación mensual estimada',
      hours: 'horas / mes liberadas',
      money: 'USD / mes recuperados',
      payback: 'semanas para recuperar inversión',
      note: 'Valores típicos de cuentas Apiqo. La cifra real se valida en el diagnóstico.',
    },
    process: {
      eyebrow: '07 · Cómo trabajamos',
      h2: 'De diagnóstico a primer agente en producción en 14 días.',
      steps: [
        { n: '01', t: 'Diagnóstico', d: 'Mapeamos procesos, sistemas y puntos de fricción. Salimos con 2-3 candidatos a agentes.' },
        { n: '02', t: 'Diseño del agente', d: 'Definimos rol, herramientas vía MCP, guardrails y métricas de éxito.' },
        { n: '03', t: 'Construcción', d: 'Stack: Claude + n8n / Make + integraciones. Pruebas en sandbox con tus datos reales.' },
        { n: '04', t: 'Lanzamiento supervisado', d: 'Producción con humano en el loop. Calibramos el modelo y los flujos por dos semanas.' },
        { n: '05', t: 'Escala', d: 'Sumamos agentes a la flota y abrimos rutas de delegación entre ellos.' },
      ],
    },
    faq: {
      eyebrow: '08 · Preguntas',
      h2: 'Lo que C-level y CTOs nos preguntan primero.',
      items: [
        { q: '¿Mis datos entrenan al modelo?', a: 'No. Trabajamos con APIs empresariales (Claude, Gemini, GPT) cuya política contractual prohíbe entrenar con tus datos. Cuando el caso lo exige, deployamos modelos open-weight en infraestructura privada.' },
        { q: '¿En qué se diferencia un agente de una automatización tradicional?', a: 'Una automatización ejecuta una secuencia rígida. Un agente razona, decide qué herramienta usar y se adapta a casos no vistos. Cuando el camino es lineal, un n8n basta. Cuando hay ambigüedad, llamamos a un agente.' },
        { q: '¿Por qué importa MCP?', a: 'MCP estandariza cómo los agentes acceden a tus sistemas. Permite cambiar de modelo (Claude → Gemini) sin rehacer integraciones, y deja un trazo auditable de cada herramienta llamada.' },
        { q: '¿Qué pasa si el agente se equivoca?', a: 'Toda acción crítica pasa por una capa de revisión: humano en el loop, doble verificación o rollback automático. Definimos el nivel de autonomía caso por caso.' },
        { q: '¿Cuánto cuesta empezar?', a: 'Diagnóstico fijo. El primer agente arranca con un fee de implementación + suscripción mensual atada a volumen. Casi siempre el ROI cubre la inversión en menos de 90 días.' },
      ],
    },
    cta: {
      eyebrow: 'Hablemos',
      h2: 'Llevamos tu primer agente a producción en dos semanas.',
      p: 'Describe el proceso que más tiempo te quita.',
      placeholder: 'tu@empresa.com',
      btn: 'Solicitar diagnóstico',
    },
    footer: {
      tagline: 'Empresa de conexiones tecnológicas. Medellín · CDMX · info@apiqo.io',
      cols: {
        product: 'Producto',
        company: 'Empresa',
        legal: 'Legal',
      },
      product: ['Agentes', 'Flotas', 'MCP', 'Stack'],
      company: ['Sobre Apiqo', 'Casos', 'Contacto'],
      legal: ['Privacidad', 'Términos', 'Seguridad'],
      copy: '© 2026 Apiqo · Todos los derechos reservados',
    },
  },
  en: {
    nav: {
      agents: 'Agents',
      stack: 'Stack',
      process: 'Process',
      roi: 'ROI',
      contact: 'Contact',
      cta: 'Talk to a human',
    },
    hero: {
      pill: 'AI agent platform · LATAM',
      h1a: 'AI agents',
      h1b: 'that live inside',
      h1c: 'your operation.',
      sub: 'We design fleets of specialized agents —built on Claude, n8n, Make and monday— that run real workflows 24/7 and pay back in weeks, not years.',
      ctaPrimary: 'Book a diagnostic',
      ctaSecondary: 'See agents at work',
      stats: [
        { k: '14 days', v: 'to first agent in production' },
        { k: '8.4×', v: 'average 12-month ROI' },
        { k: '24 / 7', v: 'shifts, no pause, no churn' },
      ],
      kicker: 'Built with',
    },
    what: {
      eyebrow: '01 · Anatomy of an agent',
      h2: 'Not a chatbot. A coworker that executes.',
      p: 'An Apiqo agent receives intent, plans steps, calls real tools (CRMs, sheets, internal APIs) and reports back. It knows when to escalate to a human and when to close the case.',
      label: 'Live session · agent.run',
    },
    catalog: {
      eyebrow: '02 · Catalog',
      h2: 'Specialized agents, ready to be trained on your data.',
      p: 'Each agent ships with a base model for its role and is fine-tuned against your operating manual, tone and tools.',
      tag: 'Customizable',
      hire: 'See agent profile',
    },
    fleet: {
      eyebrow: '04 · Orchestration',
      h2: 'A fleet, not a single super-agent.',
      p: 'Multiple specialized agents delegate tasks to each other, with an orchestrator that assigns work, retries and escalates to humans when needed.',
      legend: {
        orch: 'Orchestrator',
        agent: 'Specialist agent',
        tool: 'Tool / system',
        human: 'Human in the loop',
      },
    },
    stack: {
      eyebrow: '05 · Stack',
      h2: 'Models, integrations and a secure context protocol.',
      p: 'We are model-agnostic. We pick the engine per case, connect via MCP and orchestrate with n8n / Make on top of monday.',
      mcpTitle: 'MCP · Model Context Protocol',
      mcpP: 'Your data is not leaked into the model. MCP exposes discrete capabilities (read-customer, create-invoice, move-card) with auditable permissions and a single language for every agent.',
      mcpTag: 'Technical edge',
    },
    roi: {
      eyebrow: '06 · ROI',
      h2: 'Estimate what your team gets back in 30 days.',
      p: 'Simple back-of-envelope based on the operating hours an agent can absorb on a recurring process.',
      lFte: 'People in the process',
      lHrs: 'Hours per week per person',
      lAuto: '% of flow automatable',
      lCost: 'Loaded cost per hour (USD)',
      out: 'Estimated monthly recovery',
      hours: 'hours / month freed',
      money: 'USD / month recovered',
      payback: 'weeks to break even',
      note: 'Typical numbers from Apiqo accounts. The real figure is validated in the diagnostic.',
    },
    process: {
      eyebrow: '07 · How we work',
      h2: 'From diagnostic to first agent in production in 14 days.',
      steps: [
        { n: '01', t: 'Diagnostic', d: 'We map processes, systems and friction points. Output: 2-3 agent candidates.' },
        { n: '02', t: 'Agent design', d: 'We define the role, tools via MCP, guardrails and success metrics.' },
        { n: '03', t: 'Build', d: 'Stack: Claude + n8n / Make + integrations. Tested in sandbox against your real data.' },
        { n: '04', t: 'Supervised launch', d: 'Production with human in the loop. We tune the model and flows for two weeks.' },
        { n: '05', t: 'Scale', d: 'We add agents to the fleet and open delegation routes between them.' },
      ],
    },
    faq: {
      eyebrow: '08 · Questions',
      h2: 'What C-levels and CTOs ask us first.',
      items: [
        { q: 'Does my data train the model?', a: 'No. We use enterprise APIs (Claude, Gemini, GPT) whose contracts forbid training on your data. When the case requires it, we deploy open-weight models on private infrastructure.' },
        { q: "How is an agent different from a regular automation?", a: 'A traditional automation runs a rigid sequence. An agent reasons, picks the right tool and adapts to unseen cases. When the path is linear, n8n is enough. When there is ambiguity, we call in an agent.' },
        { q: 'Why does MCP matter?', a: 'MCP standardizes how agents access your systems. You can swap the model (Claude → Gemini) without rebuilding integrations, and you keep an auditable trail of every tool call.' },
        { q: "What happens when the agent is wrong?", a: 'Every critical action goes through a review layer: human in the loop, dual verification or automatic rollback. We define the autonomy level case by case.' },
        { q: 'How much does it cost to start?', a: 'Fixed diagnostic. The first agent ships with an implementation fee + monthly subscription tied to volume. ROI usually covers the investment within 90 days.' },
      ],
    },
    cta: {
      eyebrow: "Let's talk",
      h2: 'We bring your first agent to production in two weeks.',
      p: 'Tell us the process that eats the most time.',
      placeholder: 'you@company.com',
      btn: 'Request diagnostic',
    },
    footer: {
      tagline: 'A technology connections company. Medellín · CDMX · info@apiqo.io',
      cols: {
        product: 'Product',
        company: 'Company',
        legal: 'Legal',
      },
      product: ['Agents', 'Fleets', 'MCP', 'Stack'],
      company: ['About Apiqo', 'Cases', 'Contact'],
      legal: ['Privacy', 'Terms', 'Security'],
      copy: '© 2026 Apiqo · All rights reserved',
    },
  },
};

window.I18N = I18N;
