<?xml version="1.0" encoding="UTF-8"?>
<!-- 
  Sitemap Optimizado para SEO - fernandofuentes.cl
  Última actualización: 17 febrero 2026
  
  NOTA IMPORTANTE: Actualmente el sitio usa hash routing (#/ruta)
  Google trata todas las rutas hash como la misma URL (home)
  
  RECOMENDACIÓN CRÍTICA: Migrar a history mode routing para indexación correcta
  Cuando se implemente history mode, reemplazar todos los # por URLs limpias
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"
        xmlns:xhtml="http://www.w3.org/1999/xhtml"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
        http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

  <!-- ============================================ -->
  <!-- HOMEPAGE - Página Principal -->
  <!-- ============================================ -->
  <url>
    <loc>https://fernandofuentes.cl/</loc>
    <lastmod>2026-02-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
    
    <!-- Alternate language versions -->
    <xhtml:link rel="alternate" hreflang="es-cl" href="https://fernandofuentes.cl/" />
    <xhtml:link rel="alternate" hreflang="es" href="https://fernandofuentes.cl/" />
    <xhtml:link rel="alternate" hreflang="en" href="https://fernandofuentes.cl/" />
    <xhtml:link rel="alternate" hreflang="x-default" href="https://fernandofuentes.cl/" />
    
    <!-- Imagen principal -->
    <image:image>
      <image:loc>https://fernandofuentes.cl/FOTO.jpg</image:loc>
      <image:title>Dr. Fernando Fuentes-Peñailillo - Investigador Senior Universidad de Talca</image:title>
      <image:caption>Foto profesional del Dr. Fernando Fuentes-Peñailillo, investigador senior especializado en sistemas inteligentes, inteligencia artificial y transformación digital del sector agroalimentario. Universidad de Talca, Chile.</image:caption>
      <image:geo_location>Talca, Región del Maule, Chile</image:geo_location>
      <image:license>https://fernandofuentes.cl/</image:license>
    </image:image>
  </url>

  <!-- ============================================ -->
  <!-- SECCIONES PRINCIPALES -->
  <!-- NOTA: Con history mode, estas se volverán indexables -->
  <!-- ============================================ -->

  <!-- Biografía -->
  <url>
    <loc>https://fernandofuentes.cl/</loc>
    <!-- Cuando se implemente history mode: https://fernandofuentes.cl/biografia -->
    <lastmod>2026-02-17</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- Investigación -->
  <url>
    <loc>https://fernandofuentes.cl/</loc>
    <!-- Cuando se implemente history mode: https://fernandofuentes.cl/investigacion -->
    <lastmod>2026-02-17</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- Publicaciones -->
  <url>
    <loc>https://fernandofuentes.cl/</loc>
    <!-- Cuando se implemente history mode: https://fernandofuentes.cl/publicaciones -->
    <lastmod>2026-02-17</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- Proyectos -->
  <url>
    <loc>https://fernandofuentes.cl/</loc>
    <!-- Cuando se implemente history mode: https://fernandofuentes.cl/proyectos -->
    <lastmod>2026-02-17</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- Colaboraciones -->
  <url>
    <loc>https://fernandofuentes.cl/</loc>
    <!-- Cuando se implemente history mode: https://fernandofuentes.cl/colaboraciones -->
    <lastmod>2026-02-17</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Recursos -->
  <url>
    <loc>https://fernandofuentes.cl/</loc>
    <!-- Cuando se implemente history mode: https://fernandofuentes.cl/recursos -->
    <lastmod>2026-02-17</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- ============================================ -->
  <!-- INSTRUCCIONES PARA HISTORY MODE -->
  <!-- ============================================ -->
  <!--
    Cuando se migre a history mode routing:
    
    1. Reemplazar todas las <loc> por URLs sin hash:
       Antes: https://fernandofuentes.cl/#/biografia
       Después: https://fernandofuentes.cl/biografia
    
    2. Añadir páginas de proyectos individuales:
       <url>
         <loc>https://fernandofuentes.cl/proyectos/nombre-proyecto</loc>
         <priority>0.7</priority>
       </url>
    
    3. Generar sitemap dinámicamente con script:
       node scripts/generate-sitemap.js
    
    4. Enviar sitemap actualizado a Google Search Console:
       https://search.google.com/search-console
  -->

</urlset>