// NUON Web · ES/EN copy dictionary

(function (NUON) {
  // NUON's office address, written once so a move changes one line. A postal
  // address is not translated: both languages read this string.
  const ADDRESS = "Cl 72 #6-30 Piso 12, oficina 1208";
  // NUON's corporate line (2026-10-23), the same in both languages. It is
  // answered on weekdays only, so the contact page shows the hours next to it.
  // `tel` and `whatsapp` are the links that dial it.
  const PHONE = {
    display: "+57 312 379 0999",
    tel: "tel:+573123790999",
    whatsapp: "https://wa.me/573123790999",
  };

  const COPY = {
    es: {
      nav: {
        product: "Producto",
        mercados: "Mercados",
        casos: "Casos",
        empresa: "Empresa",
        blog: "Insights",
        cta: "Solicitar diagnóstico",
      },
      hero: {
        overline: "Operando · ciclos de 5 min",
        title: "ENERGÍA COMO ESTRATEGIA",
        subtitle: "DEL KILOVATIO AL VALOR DEL NEGOCIO.",
        lede: "Reducir el costo del kWh es apenas el primer paso. NUON opera su matriz energética completa —eléctrica, térmica y de gas— contra los objetivos de su negocio, y responde por el resultado.",
        cta_primary: "Solicitar diagnóstico",
        cta_secondary: "Ver la Consola",
        stage_tl: "[ DISTRITO ENERGÉTICO · TIEMPO REAL ]",
        stage_tr: "↻ CICLO 14:32:08 UTC-5",
        stage_bl: "PROYECCIÓN 30° · ESCALA 1:200",
        legend_head: "[ FLUJOS · COORDINACIÓN ]",
        legend: [
          ["Despacho industrial", "01"],
          ["Generación · IA", "02"],
          ["Estado batería", "03"],
          ["Demanda flexible", "04"],
          ["Carga EV", "05"],
        ],
        typo_a: "ENERGÍA",
        typo_b: "DISTRIBUIDA,",
        typo_c: "COORDINADA",
        typo_dot: ".",
      },
      // Indicadores · [ título, valor, pie de tarjeta ]. El valor se escribe tal
      // como se publica para poder cotejarlo con las cifras autorizadas: el
      // contador anima los números y deja literal el resto («Hasta», «%», « a »).
      kpis: [
        [
          "Diferencia entre comercializadores",
          "23%",
          "Mismo mercado, mismo mes, mismo nivel de tensión",
        ],
        ["Ahorro por nivel de conexión", "Hasta 37%", "Sin consumir un kilovatio menos"],
        ["Mercados analizados", "58", "100 meses de tarifas · 4 comercializadores"],
        ["De su factura, no es energía", "36% a 58%", "Según cómo esté conectado"],
      ],
      howit: {
        overline: "[ 02 ] · Cómo funciona",
        title: "El blueprint se hace realidad.",
        lede: "Cinco etapas que ocurren cada 5 minutos. Su única tarea es seguir operando — NUON hace el resto, sin tocar un interruptor.",
        steps: [
          {
            num: "01",
            title: "Telemetría",
            sub: "Lectura 1 Hz de cada activo: solar, BESS, demanda, EV.",
            tag: "INGRESO DE DATOS",
          },
          {
            num: "02",
            title: "Pronóstico",
            sub: "Digital twin proyecta producción, demanda y precio mayorista.",
            tag: "MODELO · IA",
          },
          {
            num: "03",
            title: "Optimización",
            sub: "Plan óptimo para el ciclo siguiente. Restricciones físicas y contractuales.",
            tag: "OPTIMIZADOR · 5 MIN",
          },
          {
            num: "04",
            title: "Despacho",
            sub: "Setpoints firmados se envían a cada activo del portafolio.",
            tag: "ACCIÓN · TIEMPO REAL",
          },
          {
            num: "05",
            title: "Liquidación",
            sub: "Margen real medido y atribuido a cada cliente del portafolio.",
            tag: "CIERRE · TRAZABILIDAD",
          },
        ],
      },
      productos: {
        overline: "[ 04 ] · Activos coordinados",
        title: "Una matriz energética, un mismo lenguaje.",
        lede: "Todo lo que suministra, almacena, respalda, transforma, consume o recupera energía — coordinado como una sola matriz al servicio de su operación.",
        items: [
          {
            color: "#0096FF",
            num: "01",
            title: "Suministro",
            body: "Red, solar, cogeneración, gas.",
          },
          {
            color: "#76D6FF",
            num: "02",
            title: "Almacenamiento",
            body: "Baterías, almacenamiento térmico.",
          },
          {
            color: "#7A81FF",
            num: "03",
            title: "Respaldo y estabilización",
            body: "Respaldo, transferencia, compensación de reactiva.",
          },
          {
            color: "#D883FF",
            num: "04",
            title: "Conversión y uso",
            body: "Frío de proceso, calor de proceso, vapor, aire comprimido, climatización.",
          },
          {
            color: "#FDBFE8",
            num: "05",
            title: "Recuperación",
            body: "Recuperadores de calor, economizadores, free cooling.",
          },
        ],
      },
      consola: {
        overline: "[ 05 ] · La Consola",
        title: "Su portafolio, en tiempo real.",
        lede: "La misma interfaz que opera nuestro equipo. Telemetría, optimización y liquidación — sin paneles que descifrar.",
        url_prefix: "consola.nuon.energy",
        url_suffix: "/portafolio/la-guajira",
        status: "EN VIVO",
        sb: [
          ["Resumen", "layout-grid", true],
          ["Activos", "zap", false],
          ["Optimización", "activity", false],
          ["Mercado", "bar-chart-3", false],
          ["Ciclos", "clock", false],
          ["Alertas", "bell", false],
        ],
        console_title: ["Portafolio · ", "La Guajira"],
        // Sin cifras: el ejemplo nombra el portafolio, no declara capacidad.
        console_kpis: [
          ["Generación", "—", "MW", ""],
          ["Despacho", "—", "MW", ""],
          ["SOC promedio", "—", "%", ""],
          ["Margen ciclo", "—", "COP", ""],
        ],
        panel_title: "Coordinación últimas 24h",
        panel_meta: "↻ 14:32:08 UTC-5",
        cycle_title: "Ciclo de optimización",
        cycle_meta: "14:30 → 14:35",
        cycle_steps: [
          ["Telemetría", "done"],
          ["Pronóstico", "done"],
          ["Optimización", "now"],
          ["Despacho", "pending"],
          ["Liquidación", "pending"],
        ],
      },
      // Encabezado de la sección de casos. Las tarjetas viven en una sola
      // fuente: EXTRA.casos_extra.cases, que es lo que renderiza la página.
      casos: {
        overline: "[ 06 ] · Casos de éxito",
        title: "Cuando la energía responde al negocio.",
        lede: "Casos reales donde la gestión energética dejó de ser un costo operativo y ahora responde a objetivos concretos del negocio.",
      },
      manifiesto: {
        overline: "↻ MANIFIESTO · POR QUÉ NUON",
        quote_pre:
          "Creemos que la red eléctrica del futuro no se construye con más cables, sino con ",
        quote_em: "mejor coordinación",
        quote_post: ". La energía ya está distribuida. Lo que falta es la inteligencia que la une.",
        principles: [
          {
            top: "Principio 01",
            title: "Precisión",
            body: "Cifras con unidad y timestamp. Si no se puede medir, no se afirma.",
          },
          {
            top: "Principio 02",
            title: "Calma",
            body: "Cuando algo importa, se reporta una sola vez, con contexto y siguientes pasos claros.",
          },
          {
            top: "Principio 03",
            title: "Optimismo",
            body: "Cada MWh coordinado es una victoria silenciosa para la operación.",
          },
          {
            top: "Principio 04",
            title: "Apertura",
            body: "Capacidades de integración y acceso a información disponibles bajo acuerdo.",
          },
        ],
      },
      blog: {
        overline: "[ 07 ] · Insights",
        title: "Lo último del equipo técnico.",
        lede: "Notas operativas, documentación abierta y lecciones de campo.",
        items: [
          {
            tag: "Operación",
            date: "12 MAY · 2026",
            title: "Por qué 5 minutos: anatomía de un ciclo de optimización.",
            body: "Diseccionamos el ciclo que ocurre cada 300 segundos entre los activos del portafolio y nuestro digital twin.",
          },
          {
            tag: "Ingeniería",
            date: "03 ABR · 2026",
            title: "Telemetría a 1 Hz: nuestra arquitectura.",
            body: "Cómo ingestamos, validamos y servimos 7M de puntos por minuto sin un solo write peligroso.",
          },
        ],
      },
      carreras: {
        overline: "[ 08 ] · Carreras",
        title: "Buscamos ingenieros que también diseñen.",
        lede_p1:
          "Equipos pequeños, decisiones rápidas, foco en operación real — no en demos. Si le entusiasma la intersección entre ingeniería de potencia, datos y producto, hable con nosotros.",
        lede_p2:
          "Trabajamos en remoto desde toda Iberoamérica y España, con encuentros físicos cada trimestre en alguno de nuestros mercados.",
        values: ["Sereno", "Preciso", "Abierto", "Optimista"],
        title_jobs: "Posiciones abiertas",
        jobs: [
          ["01", "Ingeniero de optimización", "Investigación operativa · MILP", "Bogotá / Remoto"],
          ["02", "Operador de mercado", "Mercado eléctrico mayorista · CO", "Bogotá"],
          ["03", "Frontend Engineer", "Consola · React · D3", "Remoto LATAM"],
          ["04", "Data Engineer", "Telemetría 1 Hz · Time series", "Santiago / Remoto"],
          ["05", "Field Engineer", "Comisionamiento BESS", "Atacama · CL"],
          ["06", "Product Designer", "Consola + sistema visual", "Remoto LATAM"],
        ],
      },
      equipo: {
        overline: "[ 09 ] · Equipo",
        title: "Ingenieros que se hacen cargo.",
        lede: "Sesenta personas en seis ciudades. La mayoría operó plantas, despachó energía o construyó software de mercado antes de NUON.",
        people: [
          ["María Restrepo", "CEO · Cofundadora", "Bogotá"],
          ["Javier Soto", "CTO · Cofundador", "Santiago"],
          ["Catalina Vergara", "Head of Operations", "Bogotá"],
          ["Andrés Llanos", "Head of Markets", "CDMX"],
          ["Lucía Pereda", "Head of Optimization", "Madrid"],
          ["Ricardo Mejía", "Head of Engineering", "Medellín"],
          ["Isabel Quiroga", "Head of Design", "Buenos Aires"],
          ["Carlos Andrade", "Head of People", "Lima"],
        ],
      },
      cta: {
        overline: "↻ HABLEMOS DE SU PORTAFOLIO",
        title_a: "ENFÓQUESE EN SU",
        title_b: "NEGOCIO,",
        title_c: "NO EN SU FACTURA",
        title_dot: ".",
        lede: "Treinta minutos. Le mostramos su portafolio actual coordinado contra el portafolio bajo NUON. Sin presentación.",
        btn_a: "Solicitar propuesta",
        btn_b: "Hablar con un ingeniero",
      },
      ticker: [
        ["BOLSA · CO · COP/kWh", "452", "+2.1%", "pos"],
        ["CICLO ACTIVO", "14:32:08", "", ""],
        ["LATENCIA P99", "1.2s", "", ""],
      ],
      footer: {
        tagline: "Energía como estrategia. Del kilovatio al valor del negocio.",
        columns: [
          {
            title: "Producto",
            links: [
              { label: "Cómo funciona", href: "producto.html" },
              { label: "La Consola", href: "producto.html#consola" },
              { label: "API", href: "producto.html#api" },
            ],
          },
          {
            title: "Empresa",
            links: [
              { label: "Sobre NUON", href: "empresa.html" },
              { label: "Mercados", href: "mercados.html" },
              { label: "Casos", href: "casos.html" },
            ],
          },
          {
            title: "Recursos",
            links: [
              { label: "Insights", href: "insights.html" },
              { label: "Contacto", href: "contacto.html" },
              { label: "Ética e integridad", href: "etica-integridad.html" },
              { label: "Política de datos", href: "politica-de-datos.html" },
            ],
          },
        ],
        legal: "© 2026 NUON Energy · Todos los derechos reservados.",
        live: "Sistemas operando",
      },
    },
    en: {
      nav: {
        product: "Product",
        mercados: "Markets",
        casos: "Customers",
        empresa: "Company",
        blog: "Insights",
        cta: "Request a diagnostic",
      },
      hero: {
        overline: "Operating · 5-min cycles",
        title: "ENERGY AS STRATEGY",
        subtitle: "FROM THE KILOWATT TO BUSINESS VALUE.",
        lede: "Cutting the cost of the kWh is only the first step. NUON operates your complete energy matrix —electric, thermal and gas— against your business objectives, and answers for the result.",
        cta_primary: "Request a diagnostic",
        cta_secondary: "See the Console",
        stage_tl: "[ ENERGY DISTRICT · LIVE ]",
        stage_tr: "↻ CYCLE 14:32:08 UTC-5",
        stage_bl: "30° PROJECTION · SCALE 1:200",
        legend_head: "[ FLOWS · COORDINATION ]",
        legend: [
          ["Industrial dispatch", "01"],
          ["Generation · AI", "02"],
          ["Battery state", "03"],
          ["Flexible demand", "04"],
          ["EV charging", "05"],
        ],
        typo_a: "DISTRIBUTED",
        typo_b: "ENERGY,",
        typo_c: "COORDINATED",
        typo_dot: ".",
      },
      kpis: [
        ["Spread between retailers", "23%", "Same market, same month, same voltage level"],
        ["Savings by connection level", "Up to 37%", "Without consuming one kilowatt less"],
        ["Markets analyzed", "58", "100 months of tariffs · 4 retailers"],
        ["Of your bill, not energy", "36% to 58%", "Depending on how you are connected"],
      ],
      howit: {
        overline: "[ 02 ] · How it works",
        title: "The blueprint becomes real.",
        lede: "Five stages, every five minutes. Your only job is to keep operating — NUON handles the rest without flipping a switch.",
        steps: [
          {
            num: "01",
            title: "Telemetry",
            sub: "1 Hz readings from every asset: solar, BESS, demand, EV.",
            tag: "DATA INGEST",
          },
          {
            num: "02",
            title: "Forecast",
            sub: "Digital twin projects production, demand and wholesale price.",
            tag: "MODEL · AI",
          },
          {
            num: "03",
            title: "Optimization",
            sub: "Optimal plan for the next cycle. Physical and contract constraints.",
            tag: "OPTIMIZER · 5 MIN",
          },
          {
            num: "04",
            title: "Dispatch",
            sub: "Signed setpoints go out to every asset in the portfolio.",
            tag: "ACTION · LIVE",
          },
          {
            num: "05",
            title: "Settlement",
            sub: "Realized margin measured and attributed to each portfolio customer.",
            tag: "CLOSE · TRACEABILITY",
          },
        ],
      },
      productos: {
        overline: "[ 04 ] · Coordinated assets",
        title: "One energy matrix, one language.",
        lede: "Everything that supplies, stores, backs up, transforms, consumes or recovers energy — coordinated as a single matrix serving your operation.",
        items: [
          { color: "#0096FF", num: "01", title: "Supply", body: "Grid, solar, cogeneration, gas." },
          { color: "#76D6FF", num: "02", title: "Storage", body: "Batteries, thermal storage." },
          {
            color: "#7A81FF",
            num: "03",
            title: "Backup and stabilization",
            body: "Backup, transfer, reactive power compensation.",
          },
          {
            color: "#D883FF",
            num: "04",
            title: "Conversion and use",
            body: "Process cooling, process heat, steam, compressed air, HVAC.",
          },
          {
            color: "#FDBFE8",
            num: "05",
            title: "Recovery",
            body: "Heat recovery units, economizers, free cooling.",
          },
        ],
      },
      consola: {
        overline: "[ 05 ] · The Console",
        title: "Your portfolio, live.",
        lede: "The same interface our team uses. Telemetry, optimization and settlement — without panels to decipher.",
        url_prefix: "console.nuon.energy",
        url_suffix: "/portfolio/la-guajira",
        status: "LIVE",
        sb: [
          ["Overview", "layout-grid", true],
          ["Assets", "zap", false],
          ["Optimization", "activity", false],
          ["Market", "bar-chart-3", false],
          ["Cycles", "clock", false],
          ["Alerts", "bell", false],
        ],
        console_title: ["Portfolio · ", "La Guajira"],
        // Sin cifras: el ejemplo nombra el portafolio, no declara capacidad.
        console_kpis: [
          ["Generation", "—", "MW", ""],
          ["Dispatch", "—", "MW", ""],
          ["Avg SOC", "—", "%", ""],
          ["Cycle margin", "—", "COP", ""],
        ],
        panel_title: "Coordination last 24h",
        panel_meta: "↻ 14:32:08 UTC-5",
        cycle_title: "Optimization cycle",
        cycle_meta: "14:30 → 14:35",
        cycle_steps: [
          ["Telemetry", "done"],
          ["Forecast", "done"],
          ["Optimization", "now"],
          ["Dispatch", "pending"],
          ["Settlement", "pending"],
        ],
      },
      casos: {
        overline: "[ 06 ] · Customer stories",
        title: "When energy answers to the business.",
        lede: "Real cases where energy management stopped being an operating cost and now answers to concrete business goals.",
      },
      manifiesto: {
        overline: "↻ MANIFESTO · WHY NUON",
        quote_pre: "We believe the grid of the future isn't built with more wires, but with ",
        quote_em: "better coordination",
        quote_post:
          ". The energy is already distributed. What's missing is the intelligence that ties it together.",
        principles: [
          {
            top: "Principle 01",
            title: "Precision",
            body: "Figures with units and timestamps. If it can't be measured, we don't claim it.",
          },
          {
            top: "Principle 02",
            title: "Calm",
            body: "When something matters, we report it once, with context and clear next steps.",
          },
          {
            top: "Principle 03",
            title: "Optimism",
            body: "Every MWh coordinated is a quiet win for the operation.",
          },
          {
            top: "Principle 04",
            title: "Openness",
            body: "Integration capabilities and information access available under agreement.",
          },
        ],
      },
      blog: {
        overline: "[ 07 ] · Insights",
        title: "Latest from the technical team.",
        lede: "Operating notes, open documentation and field lessons.",
        items: [
          {
            tag: "Operations",
            date: "MAY 12 · 2026",
            title: "Why 5 minutes: anatomy of an optimization cycle.",
            body: "We dissect the cycle that runs every 300 seconds between the portfolio's assets and our digital twin.",
          },
          {
            tag: "Engineering",
            date: "APR 03 · 2026",
            title: "1 Hz telemetry: our architecture.",
            body: "How we ingest, validate and serve 7M points per minute without a single dangerous write.",
          },
        ],
      },
      carreras: {
        overline: "[ 08 ] · Careers",
        title: "We hire engineers who also design.",
        lede_p1:
          "Small teams, fast decisions, focus on real operation — not demos. If the intersection of power engineering, data and product excites you, talk to us.",
        lede_p2:
          "We work remotely from across Iberoamerica and Spain, with quarterly in-person gatherings in one of our markets.",
        values: ["Serene", "Precise", "Open", "Optimistic"],
        title_jobs: "Open positions",
        jobs: [
          ["01", "Optimization Engineer", "Operations research · MILP", "Bogotá / Remote"],
          ["02", "Market Operator", "Wholesale electric market · CO", "Bogotá"],
          ["03", "Frontend Engineer", "Console · React · D3", "Remote LATAM"],
          ["04", "Data Engineer", "1 Hz telemetry · Time series", "Santiago / Remote"],
          ["05", "Field Engineer", "BESS commissioning", "Atacama · CL"],
          ["06", "Product Designer", "Console + visual system", "Remote LATAM"],
        ],
      },
      equipo: {
        overline: "[ 09 ] · Team",
        title: "Engineers who take ownership.",
        lede: "Sixty people in six cities. Most operated plants, dispatched energy or built market software before NUON.",
        people: [
          ["María Restrepo", "CEO · Co-founder", "Bogotá"],
          ["Javier Soto", "CTO · Co-founder", "Santiago"],
          ["Catalina Vergara", "Head of Operations", "Bogotá"],
          ["Andrés Llanos", "Head of Markets", "Mexico City"],
          ["Lucía Pereda", "Head of Optimization", "Madrid"],
          ["Ricardo Mejía", "Head of Engineering", "Medellín"],
          ["Isabel Quiroga", "Head of Design", "Buenos Aires"],
          ["Carlos Andrade", "Head of People", "Lima"],
        ],
      },
      cta: {
        overline: "↻ LET'S TALK ABOUT YOUR PORTFOLIO",
        title_a: "FOCUS ON YOUR",
        title_b: "BUSINESS,",
        title_c: "NOT YOUR BILL",
        title_dot: ".",
        lede: "Thirty minutes. We'll show you your current portfolio coordinated against the portfolio under NUON. No slides.",
        btn_a: "Request a proposal",
        btn_b: "Talk to an engineer",
      },
      ticker: [
        ["EXCHANGE · CO · COP/kWh", "452", "+2.1%", "pos"],
        ["ACTIVE CYCLE", "14:32:08", "", ""],
        ["P99 LATENCY", "1.2s", "", ""],
      ],
      footer: {
        tagline: "Energy as strategy. From the kilowatt to business value.",
        columns: [
          {
            title: "Product",
            links: [
              { label: "How it works", href: "producto.html" },
              { label: "The Console", href: "producto.html#consola" },
              { label: "API", href: "producto.html#api" },
            ],
          },
          {
            title: "Company",
            links: [
              { label: "About NUON", href: "empresa.html" },
              { label: "Markets", href: "mercados.html" },
              { label: "Customers", href: "casos.html" },
            ],
          },
          {
            title: "Resources",
            links: [
              { label: "Insights", href: "insights.html" },
              { label: "Contact", href: "contacto.html" },
              { label: "Ethics & integrity", href: "etica-integridad.html" },
              { label: "Data policy", href: "politica-de-datos.html" },
            ],
          },
        ],
        legal: "© 2026 NUON Energy · All rights reserved.",
        live: "Systems operating",
      },
    },
  };

  NUON.COPY = COPY;
  NUON.ADDRESS = ADDRESS;
  NUON.PHONE = PHONE;
})((window.NUON ??= {}));
