// Mercomercio — i18n module (ES default, EN secondary)
const STRINGS = {
  es: {
    nav: {
      howItWorks: "Cómo funciona",
      calculator: "Calculadora",
      cases: "Casos",
      plans: "Planes",
      faq: "FAQ",
      login: "Iniciar sesión",
      consult: "Consulta gratis",
    },
    hero: {
      tag: "Mercosur trade hub · Asunción, Paraguay",
      titlePre: "Importa textiles a Brasil ",
      titleAccent: "sin pagar aranceles.",
      lead: (
        <>
          Ahorra <b>4–6%</b> en costos de importación usando Paraguay como hub logístico.
          Tu proveedor envía, nosotros nacionalizamos, tu producto entra a Brasil y Argentina
          como intrazona Mercosur — con 0% arancel.
        </>
      ),
      ctaPrimary: "Solicita una consulta gratis",
      ctaSecondary: "Ver cómo funciona",
      meta: [
        { v: "4–6%", l: "Ahorro garantizado" },
        { v: "14–21d", l: "Origen → destino" },
        { v: "€420k+", l: "Ahorro medio anual" },
      ],
    },
    route: {
      tag: "Ruta · ES → PY → BR",
      title: "Trayecto en vivo",
      origin: "España",
      hub: "Paraguay",
      dest: "Brasil",
      originSub: "Origen",
      hubSub: "Hub Mercomercio",
      destSub: "Destino",
      stats: [
        { v: "1%", l: "Arancel PY" },
        { v: "0%", l: "Intra-Mercosur" },
        { v: "−5.4%", l: "Costo total" },
      ],
    },
    how: {
      eyebrow: "Cómo funciona",
      h2: "Tres pasos. Cero fricción.",
      lead: "Envías a Paraguay, nosotros nacionalizamos, tu producto llega como intrazona Mercosur. Mantienes tu manufactura, tu distribuidor y tu cliente — solo cambia la ruta.",
      steps: [
        { n: "Paso 01", title: "Envía tu producto a Paraguay", copy: "Tu proveedor en Perú, Colombia, Ecuador o Europa envía el contenedor a nuestro hub. Cero cambios en tu proceso de manufactura.", detail: "Recepción en 5–7 días" },
        { n: "Paso 02", title: "Nacionalizamos en hub", copy: "Aplicamos la ley maquila de Paraguay (1% arancel) y tramitamos la documentación aduanal. Generamos certificado de origen Mercosur.", detail: "Proceso en 3–4 días" },
        { n: "Paso 03", title: "Entra como intrazona", copy: "Tu producto entra a Brasil, Argentina o Uruguay con 0% arancel. El cliente paga lo mismo, el ahorro queda en tu margen.", detail: "Entrega en 5–10 días" },
      ],
    },
    calcSection: {
      eyebrow: "Solo usando nuestro servicio ahorrás",
      h2: "Calcula tu ahorro de lo que serían tus envíos.",
      lead: "Selecciona origen, destino, producto, precio y volumen. Te mostramos exactamente cuánto ahorrás anualmente usando Mercomercio frente a importar directamente.",
    },
    calc: {
      headLeft: "Configura tu envío",
      headRight: "Resultado · Ahorro proyectado",
      labelOrigin: "País de origen",
      groupEurope: "Europa",
      groupSouth: "Sudamérica",
      labelDest: "País de destino",
      labelProduct: "Tipo de producto",
      labelPrice: "Precio por unidad (FOB)",
      labelUnits: "Unidades mensuales",
      perMonth: "/mes",
      savingsTitle: "Tu ahorro anual",
      perUnit: " por unidad · ",
      perYear: " unidades/año",
      savingsPct: (p) => `▲ ${p}% ahorro vs. ruta directa`,
      tabDirect: "Sin Mercomercio",
      tabMerco: "Con Mercomercio",
      headConcept: "Concepto",
      headPerUnit: "/unidad",
      headPerYear: "/año",
      total: "Total",
      vsDirect: "vs. ruta directa",
      vsMerco: "vs. Mercomercio",
      flowOriginSub: "Origen · Manufactura",
      flowHubSub: "Hub · Arancel 1%",
      flowDestSub: "Destino · Arancel 0%",
      ctaText: (savings) => (
        <>
          Ahorrás <b>{savings}</b> al año con esta configuración. ¿Lo activamos?
        </>
      ),
      ctaInfo: "Más información",
      ctaPropose: "Solicitar propuesta →",
      // Breakdown row labels
      fobPrice: "Precio FOB origen",
      freightDirect: (origin, dest) => `Flete ${origin} → ${dest}`,
      freightToPY: (origin) => `Flete ${origin} → Paraguay`,
      freightFromPY: (dest) => `Flete Paraguay → ${dest}`,
      insurance: "Seguro",
      cifDest: "CIF destino",
      cifPY: "CIF Paraguay",
      arancelPY: "Arancel Paraguay (1%)",
      ivaPY: "IVA Paraguay (10%)",
      services: "Servicios Mercomercio",
      customs: "Despacho aduanal",
      localTransport: "Transporte local",
      products: [
        { id: "textiles", ico: "🧵", name: "Textiles", sub: "Ropa, telas, toallas" },
        { id: "electronica", ico: "🔌", name: "Electrónica", sub: "Componentes, equipos" },
      ],
    },
    originNames: {
      ES: "España", PT: "Portugal", IT: "Italia", FR: "Francia", TR: "Turquía",
      GB: "Reino Unido", DE: "Alemania", NL: "Países Bajos", PL: "Polonia",
      CZ: "Chequia", FI: "Finlandia", SE: "Suecia",
      PE: "Perú", CO: "Colombia", EC: "Ecuador",
    },
    destNames: { BR: "Brasil", AR: "Argentina", UY: "Uruguay" },
    destLabels: {
      BR: {
        duty_direct: "Arancel Brasil (TEC 20%)",
        duty_intra: "Arancel Brasil (intrazona 0%)",
        tax_direct: "ICMS + IPI",
        tax_intra: "ICMS interestadual (12%)",
      },
      AR: {
        duty_direct: "Arancel Argentina (TEC + tasa estadística)",
        duty_intra: "Arancel Argentina (intrazona 0%)",
        tax_direct: "IVA + IIBB + percepciones",
        tax_intra: "IVA Argentina (21%)",
      },
      UY: {
        duty_direct: "Arancel Uruguay (TEC 18%)",
        duty_intra: "Arancel Uruguay (intrazona 0%)",
        tax_direct: "IVA Uruguay (22%)",
        tax_intra: "IVA Uruguay (22%)",
      },
    },
    cases: {
      eyebrow: "Casos reales",
      h2: "Empresas que ya ahorran con Mercomercio.",
      lead: "Proveedores reales que aumentaron márgenes reduciendo costos logísticos. Resultados auditados sobre un piloto de 6 meses.",
      volumeLabel: "Volumen",
      savingMonthLabel: "Ahorro mes",
      savingYearLabel: "Ahorro año",
      items: [
        { logo: "TP", color: "var(--blue-700)", name: "TextilPerú S.A.C.", sub: "Camisetas y ropa casual", route: "PE → BR", volume: "50k/mes", savingMonth: "€25k", savingYear: "€300k", quote: "Con Mercomercio nuestros márgenes subieron 5% sin cambiar precios. El cliente final paga lo mismo, pero nosotros ganamos más.", who: "Director de Exportaciones" },
        { logo: "ET", color: "var(--green-600)", name: "ElectroTech España", sub: "Componentes electrónicos", route: "ES → AR", volume: "10k/mes", savingMonth: "€15k", savingYear: "€180k", quote: "Pensamos que era demasiado complicado. Mercomercio lo hizo trivial. Hoy Argentina es un mercado rentable para nosotros.", who: "Country Manager LATAM" },
        { logo: "TC", color: "var(--blue-700)", name: "TextilChile Co.", sub: "Toallas y productos de hogar", route: "CL → BR", volume: "30k/mes", savingMonth: "€18k", savingYear: "€216k", quote: "El partner que nos faltaba. Desde que trabajamos con ellos, Brasil es nuestro segundo mercado por facturación.", who: "CEO" },
        { logo: "CC", color: "var(--green-600)", name: "Confecciones Col S.A.", sub: "Uniformes y ropa laboral", route: "CO → AR", volume: "20k/mes", savingMonth: "€12k", savingYear: "€144k", quote: "La propuesta de Mercomercio fue clara desde el inicio. Sin sorpresas, sin complicaciones. Recomendamos sin dudarlo.", who: "Gerente Comercial" },
      ],
    },
    about: {
      eyebrow: "Sobre Mercomercio",
      h2: "Especialistas en logística y arbitraje fiscal Mercosur.",
      p1: "Nuestro equipo combina expertise en finanzas, comercio exterior y operaciones logísticas. Ubicados en Asunción, el corazón estratégico de Sudamérica, aprovechamos la ley maquila renovada de Paraguay para generar oportunidades reales de ahorro fiscal a proveedores de toda la región y Europa.",
      p2: "Nuestra misión: hacer que exportar a Mercosur sea simple, rentable y predecible.",
      values: [
        { ico: "target", title: "Especialización", copy: "100% enfocados en Mercosur. Cada arancel, cada regulación, cada ruta logística — la conocemos al detalle." },
        { ico: "eye", title: "Transparencia", copy: "Números claros, sin sorpresas. Sabes exactamente cuánto ahorrás y qué pagás. Cero costos ocultos." },
        { ico: "net", title: "Relaciones", copy: "Despachantes, transportistas y distribuidores verificados. Tu operación entra en una red probada." },
      ],
      imgAlt: "[ Hub Asunción · foto operación ]",
    },
    features: {
      eyebrow: "Por qué Mercomercio",
      h2: "Diseñado para proveedores que ya exportan.",
      lead: "No reinventamos tu operación. La hacemos más rentable.",
      items: [
        { ico: "zap",       title: "Sin cambiar tu proceso", copy: "Tu manufactura sigue igual. Nosotros coordinamos toda la logística. Cero disrupción a tu operación." },
        { ico: "shield",    title: "Ahorros reales",         copy: "4–6% comprobado sobre el costo total. No son estimaciones de marketing — son números que ves en tu P&L." },
        { ico: "globe",     title: "Mercosur completo",      copy: "Brasil, Argentina, Uruguay y Paraguay con aranceles 0% intrazona después de pasar por el hub." },
        { ico: "headset",   title: "Soporte 24/7",           copy: "Equipo dedicado por cuenta. Cualquier incidencia logística o aduanal la resolvemos en horas, no días." },
        { ico: "book",      title: "Expertos en regulación", copy: "Ley maquila, certificado de origen Mercosur, NCM, ICMS, IPI. Lo conocemos al detalle por industria." },
        { ico: "handshake", title: "Relación long-term",     copy: "No es transacción única. Somos socios. Comisiones ajustables por volumen y crecimiento conjunto." },
      ],
    },
    pricing: {
      eyebrow: "Tarifario",
      h2: "Planes simples, transparentes.",
      lead: "No hay sorpresas. Sabés exactamente qué pagás por unidad. Sin comisiones sobre tu venta final.",
      perUnit: "/unidad",
      badgePopular: "Más popular",
      plans: [
        { name: "Startup", price: "€3.50", desc: "Para proveedores de 5.000 a 20.000 unidades/mes.", items: ["Nacionalización en Paraguay", "Certificado origen Mercosur", "Transporte Paraguay → destino", "Documentación aduanal completa", "Soporte email"], save: "Ahorro neto: 3.85–4.5%", cta: "Comenzar piloto" },
        { name: "Escalado", price: "€3.20", desc: "Para proveedores de 20.000 a 50.000 unidades/mes.", items: ["Todo lo de Startup, y además:", "Coordinador dedicado", "Soporte phone & WhatsApp", "Consolidación optimizada", "Reportes mensuales detallados"], save: "Ahorro neto: 4.5–5.2%", cta: "Solicitar propuesta", featured: true },
        { name: "Enterprise", price: "A medida", per: "", desc: "Para proveedores de 50.000+ unidades/mes.", items: ["Todo lo de Escalado, y además:", "Relación 1:1 con director", "Financiamiento flexible", "Integraciones API & EDI", "Análisis predictivo de costos"], save: "Ahorro neto: 5.2–6%+", cta: "Reservar meeting" },
      ],
    },
    contact: {
      eyebrow: "Consulta gratis",
      h2: "15 minutos. Sin compromiso.",
      lead: "Te mostramos exactamente cuánto puedes ahorrar con tu volumen actual.",
      nameLbl: "Nombre completo *",   namePh: "Tu nombre",
      emailLbl: "Email *",            emailPh: "tucorreo@empresa.com",
      phoneLbl: "Teléfono / WhatsApp *", phonePh: "+34 600 000 000",
      companyLbl: "Empresa *",        companyPh: "Nombre de la empresa",
      originLbl: "País origen *",
      destLbl: "País destino *",
      productLbl: "Tipo de producto *",
      volumeLbl: "Volumen mensual aproximado *",
      messageLbl: "Mensaje adicional",
      messagePh: "Cuéntanos un poco más sobre tu operación…",
      selectPh: "Selecciona…",
      productOther: "Otro",
      productTextiles: "Textiles",
      productElectronics: "Electrónica",
      volumes: ["1.000 – 5.000", "5.000 – 20.000", "20.000 – 50.000", "50.000+"],
      terms: "Acepto los términos y la política de privacidad. Mercomercio podrá contactarme para responder esta consulta.",
      submit: "Solicitar mi consulta →",
      sentH3: "Gracias. Te contactamos en menos de 2 horas.",
      sentP: "Revisaremos tu volumen y ruta para presentarte un ahorro estimado preciso.",
      asideH3: "Hablemos en directo",
      phoneLine: "Teléfono · WhatsApp",
      emailLine: "Email",
      officeLine: "Oficina",
      officeVal: "Asunción, Paraguay",
      hoursLine: "Horario · Hora Paraguay",
      hoursVal: "L–V 08:00–18:00 · S 09:00–14:00",
      mapAlt: "[ Mapa · Asunción ]",
    },
    faq: {
      eyebrow: "Preguntas frecuentes",
      h2: "Todo lo que querés saber antes de empezar.",
      qs: [
        ["¿Qué países puedo usar como origen?", "Cualquier país. Perú, Colombia, Ecuador, España, Italia, Alemania, Turquía, etc. La ley maquila de Paraguay no limita el origen del producto. Lo importante es que llegue al hub de Asunción para la nacionalización."],
        ["¿A qué países puedo exportar?", "Brasil, Argentina, Uruguay y Paraguay. Todos son miembros plenos del Mercosur, lo que significa que tras nacionalizar en Paraguay tu producto entra con 0% arancel intrazona. Otros países no aplican porque no hay ventaja fiscal."],
        ["¿Qué tipos de productos funcionan?", "Principalmente textiles (ropa, telas, toallas, mochilas, uniformes). También electrónica, alimentos procesados y maquinaria. Evitamos alimentos frescos o productos que requieran cadena de frío. Consultanos por tu producto específico."],
        ["¿Cuánto tiempo tarda el proceso completo?", "Entre 14 y 21 días. Nacionalización en Paraguay: 3–5 días. Transporte Paraguay → destino: 5–10 días. Documentación aduanal: 2–3 días. El plazo total también depende del envío de tu proveedor hasta Paraguay."],
        ["¿Realmente ahorro dinero?", "Sí. El ahorro neto va de 4 a 6% sobre tu costo total. El ahorro viene del diferencial de aranceles (20% directo → 0% intra-Mercosur) más la optimización de impuestos brasileños. Usa la calculadora arriba para tu número exacto."],
        ["¿Necesito cambiar mi distribuidor en Brasil?", "No. Tu distribuidor actual sigue trabajando igual. Solo cambia el origen documental de la mercancía (vía Paraguay en lugar de directo). Para el distribuidor es completamente transparente."],
        ["¿Qué pasa si hay un problema con aduanas?", "Lo manejamos nosotros. Trabajamos con despachantes aduanales especializados en Paraguay y los principales puertos brasileños. Cualquier incidencia (inspección, documentación, clasificación) se resuelve sin afectar tu operación."],
        ["¿Puedo probar con un envío pequeño primero?", "Sí, lo recomendamos. Un piloto de 5.000–10.000 unidades nos permite validar proceso, documentación y la cadena de distribución. Tras el piloto escalás con números medidos."],
        ["¿Cómo se estructura la relación comercial?", "Simple: pagás nuestros servicios (€2–3.50/unidad según plan). Te mostramos exactamente cuánto ahorrás (4–6%) y vos capturás la diferencia. No cobramos comisiones sobre tu venta final, solo el servicio de logística y hub."],
        ["¿Hay contrato a largo plazo?", "No es obligatorio. Recomendamos un contrato de 6–12 meses para optimizar precios, pero podés cancelar con 30 días de aviso. La relación es flexible."],
      ],
    },
    footer: {
      tagline: "Hub logístico Mercosur. Importación inteligente para proveedores que quieren mejorar margen sin tocar producto.",
      cols: [
        { h: "Empresa",    links: ["Sobre Mercomercio", "Blog", "Trabajá con nosotros", "Responsabilidad social"] },
        { h: "Soluciones", links: ["Textiles", "Electrónica", "Alimentos procesados", "Enterprise"] },
        { h: "Recursos",   links: ["Calculadora de ahorro", "Guía ley maquila", "Templates aduanales", "Webinar mensual"] },
        { h: "Legal",      links: ["Términos de servicio", "Política de privacidad", "Cookies", "Compliance"] },
      ],
      copyright: "© 2026 Mercomercio · Asunción, Paraguay · hello@mercomercio.com",
    },
  },

  en: {
    nav: {
      howItWorks: "How it works",
      calculator: "Calculator",
      cases: "Cases",
      plans: "Plans",
      faq: "FAQ",
      login: "Sign in",
      consult: "Free consultation",
    },
    hero: {
      tag: "Mercosur trade hub · Asunción, Paraguay",
      titlePre: "Import textiles into Brazil ",
      titleAccent: "duty-free.",
      lead: (
        <>
          Save <b>4–6%</b> on import costs by using Paraguay as your logistics hub.
          Your supplier ships, we nationalize, your product enters Brazil and Argentina
          as Mercosur intra-zone trade — with a 0% tariff.
        </>
      ),
      ctaPrimary: "Request a free consultation",
      ctaSecondary: "See how it works",
      meta: [
        { v: "4–6%", l: "Guaranteed savings" },
        { v: "14–21d", l: "Origin → destination" },
        { v: "€420k+", l: "Average annual savings" },
      ],
    },
    route: {
      tag: "Route · ES → PY → BR",
      title: "Live shipment",
      origin: "Spain",
      hub: "Paraguay",
      dest: "Brazil",
      originSub: "Origin",
      hubSub: "Mercomercio hub",
      destSub: "Destination",
      stats: [
        { v: "1%", l: "PY tariff" },
        { v: "0%", l: "Intra-Mercosur" },
        { v: "−5.4%", l: "Total cost" },
      ],
    },
    how: {
      eyebrow: "How it works",
      h2: "Three steps. Zero friction.",
      lead: "You ship to Paraguay, we nationalize, and your product arrives as Mercosur intra-zone trade. You keep your manufacturing, your distributor, and your customer — only the route changes.",
      steps: [
        { n: "Step 01", title: "Ship your product to Paraguay", copy: "Your supplier in Peru, Colombia, Ecuador or Europe sends the container to our hub. No changes to your manufacturing process.", detail: "Received in 5–7 days" },
        { n: "Step 02", title: "We nationalize at the hub", copy: "We apply Paraguay's maquila law (1% tariff) and handle the customs paperwork. We issue the Mercosur certificate of origin.", detail: "Processed in 3–4 days" },
        { n: "Step 03", title: "Enters as intra-zone", copy: "Your product enters Brazil, Argentina or Uruguay with a 0% tariff. The customer pays the same; the savings go into your margin.", detail: "Delivered in 5–10 days" },
      ],
    },
    calcSection: {
      eyebrow: "Savings simply by using our service",
      h2: "Calculate the savings on your shipments.",
      lead: "Pick origin, destination, product, price and volume. We show you exactly how much you save per year using Mercomercio versus importing directly.",
    },
    calc: {
      headLeft: "Configure your shipment",
      headRight: "Result · Projected savings",
      labelOrigin: "Country of origin",
      groupEurope: "Europe",
      groupSouth: "South America",
      labelDest: "Destination country",
      labelProduct: "Product type",
      labelPrice: "Price per unit (FOB)",
      labelUnits: "Monthly units",
      perMonth: "/mo",
      savingsTitle: "Your annual savings",
      perUnit: " per unit · ",
      perYear: " units/year",
      savingsPct: (p) => `▲ ${p}% savings vs. direct route`,
      tabDirect: "Without Mercomercio",
      tabMerco: "With Mercomercio",
      headConcept: "Concept",
      headPerUnit: "/unit",
      headPerYear: "/year",
      total: "Total",
      vsDirect: "vs. direct route",
      vsMerco: "vs. Mercomercio",
      flowOriginSub: "Origin · Manufacturing",
      flowHubSub: "Hub · 1% tariff",
      flowDestSub: "Destination · 0% tariff",
      ctaText: (savings) => (
        <>
          You save <b>{savings}</b> a year with this setup. Shall we activate it?
        </>
      ),
      ctaInfo: "More information",
      ctaPropose: "Request proposal →",
      fobPrice: "FOB origin price",
      freightDirect: (origin, dest) => `Freight ${origin} → ${dest}`,
      freightToPY: (origin) => `Freight ${origin} → Paraguay`,
      freightFromPY: (dest) => `Freight Paraguay → ${dest}`,
      insurance: "Insurance",
      cifDest: "CIF destination",
      cifPY: "CIF Paraguay",
      arancelPY: "Paraguay tariff (1%)",
      ivaPY: "Paraguay VAT (10%)",
      services: "Mercomercio services",
      customs: "Customs clearance",
      localTransport: "Local transport",
      products: [
        { id: "textiles", ico: "🧵", name: "Textiles", sub: "Apparel, fabrics, towels" },
        { id: "electronica", ico: "🔌", name: "Electronics", sub: "Components, equipment" },
      ],
    },
    originNames: {
      ES: "Spain", PT: "Portugal", IT: "Italy", FR: "France", TR: "Turkey",
      GB: "United Kingdom", DE: "Germany", NL: "Netherlands", PL: "Poland",
      CZ: "Czechia", FI: "Finland", SE: "Sweden",
      PE: "Peru", CO: "Colombia", EC: "Ecuador",
    },
    destNames: { BR: "Brazil", AR: "Argentina", UY: "Uruguay" },
    destLabels: {
      BR: {
        duty_direct: "Brazil tariff (TEC 20%)",
        duty_intra: "Brazil tariff (intra-zone 0%)",
        tax_direct: "ICMS + IPI",
        tax_intra: "Interstate ICMS (12%)",
      },
      AR: {
        duty_direct: "Argentina tariff (TEC + statistical fee)",
        duty_intra: "Argentina tariff (intra-zone 0%)",
        tax_direct: "VAT + IIBB + withholdings",
        tax_intra: "Argentina VAT (21%)",
      },
      UY: {
        duty_direct: "Uruguay tariff (TEC 18%)",
        duty_intra: "Uruguay tariff (intra-zone 0%)",
        tax_direct: "Uruguay VAT (22%)",
        tax_intra: "Uruguay VAT (22%)",
      },
    },
    cases: {
      eyebrow: "Real cases",
      h2: "Companies already saving with Mercomercio.",
      lead: "Real suppliers who raised margins by cutting logistics costs. Results audited over a 6-month pilot.",
      volumeLabel: "Volume",
      savingMonthLabel: "Monthly savings",
      savingYearLabel: "Annual savings",
      items: [
        { logo: "TP", color: "var(--blue-700)", name: "TextilPerú S.A.C.", sub: "T-shirts and casual wear", route: "PE → BR", volume: "50k/mo", savingMonth: "€25k", savingYear: "€300k", quote: "With Mercomercio our margins went up 5% without changing prices. The end customer pays the same, but we earn more.", who: "Director of Exports" },
        { logo: "ET", color: "var(--green-600)", name: "ElectroTech España", sub: "Electronic components", route: "ES → AR", volume: "10k/mo", savingMonth: "€15k", savingYear: "€180k", quote: "We thought it would be too complicated. Mercomercio made it trivial. Today Argentina is a profitable market for us.", who: "LATAM Country Manager" },
        { logo: "TC", color: "var(--blue-700)", name: "TextilChile Co.", sub: "Towels and home goods", route: "CL → BR", volume: "30k/mo", savingMonth: "€18k", savingYear: "€216k", quote: "The partner we were missing. Since working with them, Brazil is our second-largest market by revenue.", who: "CEO" },
        { logo: "CC", color: "var(--green-600)", name: "Confecciones Col S.A.", sub: "Uniforms and workwear", route: "CO → AR", volume: "20k/mo", savingMonth: "€12k", savingYear: "€144k", quote: "Mercomercio's proposal was clear from day one. No surprises, no complications. We recommend them without hesitation.", who: "Sales Manager" },
      ],
    },
    about: {
      eyebrow: "About Mercomercio",
      h2: "Specialists in Mercosur logistics and tax arbitrage.",
      p1: "Our team combines expertise in finance, foreign trade and logistics operations. Based in Asunción — the strategic heart of South America — we leverage Paraguay's renewed maquila law to create real tax savings for suppliers across the region and Europe.",
      p2: "Our mission: make exporting to Mercosur simple, profitable and predictable.",
      values: [
        { ico: "target", title: "Specialization", copy: "100% focused on Mercosur. Every tariff, every regulation, every logistics route — we know them in detail." },
        { ico: "eye",    title: "Transparency",   copy: "Clear numbers, no surprises. You know exactly how much you save and what you pay. Zero hidden costs." },
        { ico: "net",    title: "Relationships",  copy: "Vetted customs brokers, carriers and distributors. Your operation plugs into a proven network." },
      ],
      imgAlt: "[ Asunción hub · operations photo ]",
    },
    features: {
      eyebrow: "Why Mercomercio",
      h2: "Built for suppliers who already export.",
      lead: "We don't reinvent your operation. We make it more profitable.",
      items: [
        { ico: "zap",       title: "No process changes",   copy: "Your manufacturing stays the same. We coordinate all logistics. Zero disruption to your operation." },
        { ico: "shield",    title: "Real savings",         copy: "4–6% proven on total cost. Not marketing estimates — numbers you'll see in your P&L." },
        { ico: "globe",     title: "Full Mercosur",        copy: "Brazil, Argentina, Uruguay and Paraguay with 0% intra-zone tariffs after passing through the hub." },
        { ico: "headset",   title: "24/7 support",         copy: "Dedicated team per account. Any logistics or customs issue is solved in hours, not days." },
        { ico: "book",      title: "Regulatory experts",   copy: "Maquila law, Mercosur certificate of origin, NCM, ICMS, IPI. We know them in detail by industry." },
        { ico: "handshake", title: "Long-term relationship", copy: "Not a one-off transaction. We're partners. Fees adjust with volume and joint growth." },
      ],
    },
    pricing: {
      eyebrow: "Pricing",
      h2: "Simple, transparent plans.",
      lead: "No surprises. You know exactly what you pay per unit. No commission on your final sale.",
      perUnit: "/unit",
      badgePopular: "Most popular",
      plans: [
        { name: "Startup",    price: "€3.50",   desc: "For suppliers of 5,000 to 20,000 units/month.",  items: ["Nationalization in Paraguay", "Mercosur certificate of origin", "Transport Paraguay → destination", "Full customs documentation", "Email support"], save: "Net savings: 3.85–4.5%", cta: "Start pilot" },
        { name: "Scale",      price: "€3.20",   desc: "For suppliers of 20,000 to 50,000 units/month.", items: ["Everything in Startup, plus:", "Dedicated coordinator", "Phone & WhatsApp support", "Optimized consolidation", "Detailed monthly reports"], save: "Net savings: 4.5–5.2%", cta: "Request proposal", featured: true },
        { name: "Enterprise", price: "Custom", per: "", desc: "For suppliers of 50,000+ units/month.",        items: ["Everything in Scale, plus:", "1:1 relationship with director", "Flexible financing", "API & EDI integrations", "Predictive cost analytics"], save: "Net savings: 5.2–6%+", cta: "Book a meeting" },
      ],
    },
    contact: {
      eyebrow: "Free consultation",
      h2: "15 minutes. No commitment.",
      lead: "We'll show you exactly how much you can save at your current volume.",
      nameLbl: "Full name *",     namePh: "Your name",
      emailLbl: "Email *",        emailPh: "you@company.com",
      phoneLbl: "Phone / WhatsApp *", phonePh: "+1 555 000 0000",
      companyLbl: "Company *",    companyPh: "Company name",
      originLbl: "Origin country *",
      destLbl: "Destination country *",
      productLbl: "Product type *",
      volumeLbl: "Approximate monthly volume *",
      messageLbl: "Additional message",
      messagePh: "Tell us a bit more about your operation…",
      selectPh: "Select…",
      productOther: "Other",
      productTextiles: "Textiles",
      productElectronics: "Electronics",
      volumes: ["1,000 – 5,000", "5,000 – 20,000", "20,000 – 50,000", "50,000+"],
      terms: "I accept the terms and the privacy policy. Mercomercio may contact me to respond to this enquiry.",
      submit: "Request my consultation →",
      sentH3: "Thanks. We'll be in touch within 2 hours.",
      sentP: "We'll review your volume and route to give you a precise savings estimate.",
      asideH3: "Talk to us live",
      phoneLine: "Phone · WhatsApp",
      emailLine: "Email",
      officeLine: "Office",
      officeVal: "Asunción, Paraguay",
      hoursLine: "Hours · Paraguay time",
      hoursVal: "Mon–Fri 08:00–18:00 · Sat 09:00–14:00",
      mapAlt: "[ Map · Asunción ]",
    },
    faq: {
      eyebrow: "Frequently asked questions",
      h2: "Everything you want to know before starting.",
      qs: [
        ["Which countries can I use as origin?", "Any country. Peru, Colombia, Ecuador, Spain, Italy, Germany, Turkey, etc. Paraguay's maquila law does not restrict the origin of the product. What matters is that it reaches the Asunción hub for nationalization."],
        ["Which countries can I export to?", "Brazil, Argentina, Uruguay and Paraguay. They are full Mercosur members, which means that after nationalizing in Paraguay your product enters with a 0% intra-zone tariff. Other countries don't apply because there's no fiscal advantage."],
        ["Which product types work?", "Mainly textiles (apparel, fabrics, towels, backpacks, uniforms). Also electronics, processed foods and machinery. We avoid fresh foods or products requiring cold chain. Ask us about your specific product."],
        ["How long does the full process take?", "Between 14 and 21 days. Nationalization in Paraguay: 3–5 days. Transport Paraguay → destination: 5–10 days. Customs documentation: 2–3 days. The total time also depends on your supplier's shipment to Paraguay."],
        ["Do I really save money?", "Yes. Net savings range from 4 to 6% on your total cost. The savings come from the tariff differential (20% direct → 0% intra-Mercosur) plus the optimization of Brazilian taxes. Use the calculator above for your exact number."],
        ["Do I need to change my distributor in Brazil?", "No. Your current distributor keeps working exactly the same. Only the documentary origin of the goods changes (via Paraguay rather than direct). For the distributor it is completely transparent."],
        ["What if there's a customs issue?", "We handle it. We work with customs brokers specialized in Paraguay and the main Brazilian ports. Any incident (inspection, paperwork, classification) is resolved without affecting your operation."],
        ["Can I test with a small shipment first?", "Yes, we recommend it. A pilot of 5,000–10,000 units lets us validate process, paperwork and distribution. After the pilot you scale with measured numbers."],
        ["How is the commercial relationship structured?", "Simple: you pay our services (€2–3.50/unit depending on plan). We show you exactly how much you save (4–6%) and you capture the difference. We don't charge a commission on your final sale, only the logistics and hub service."],
        ["Is there a long-term contract?", "Not mandatory. We recommend a 6–12 month contract to optimize pricing, but you can cancel with 30 days notice. The relationship is flexible."],
      ],
    },
    footer: {
      tagline: "Mercosur logistics hub. Smart imports for suppliers who want to improve margin without touching the product.",
      cols: [
        { h: "Company",    links: ["About Mercomercio", "Blog", "Work with us", "Social responsibility"] },
        { h: "Solutions",  links: ["Textiles", "Electronics", "Processed foods", "Enterprise"] },
        { h: "Resources",  links: ["Savings calculator", "Maquila law guide", "Customs templates", "Monthly webinar"] },
        { h: "Legal",      links: ["Terms of service", "Privacy policy", "Cookies", "Compliance"] },
      ],
      copyright: "© 2026 Mercomercio · Asunción, Paraguay · hello@mercomercio.com",
    },
  },
};

const LangContext = React.createContext({ lang: "es", setLang: () => {} });

function LangProvider({ children }) {
  const [lang, setLang] = React.useState(() => {
    try {
      const stored = localStorage.getItem("mercomercio.lang");
      return stored === "en" || stored === "es" ? stored : "es";
    } catch (_) {
      return "es";
    }
  });
  React.useEffect(() => {
    try { localStorage.setItem("mercomercio.lang", lang); } catch (_) {}
    document.documentElement.lang = lang;
  }, [lang]);
  return (
    <LangContext.Provider value={{ lang, setLang }}>
      {children}
    </LangContext.Provider>
  );
}

function useT() {
  const ctx = React.useContext(LangContext);
  const t = STRINGS[ctx.lang] || STRINGS.es;
  return { lang: ctx.lang, setLang: ctx.setLang, t };
}

window.LangProvider = LangProvider;
window.useT = useT;
window.STRINGS = STRINGS;
