<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <!-- Homepage: the SEO-valuable prerendered route. -->
  <url>
    <loc>https://cliniqal.app/</loc>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <!--
    /booking is prerendered too (for shareable OG previews), but a bare /booking has no clinic
    context (it needs a ?c=<slug> param) and renders an "invalid link" shell — so it is intentionally
    omitted from the sitemap to avoid indexing an empty page. Add it back if a generic landing is wanted.
  -->
  <!--
    Public help docs (static): user guide + FAQ. Each page is ONE file serving fr/en/he behind
    ?lang=, so every language gets its own <url> entry, and every entry repeats the full alternate
    set (itself included) — that reciprocity is what makes hreflang valid. The pages carry the same
    <link rel="alternate"> tags in <head>; declaring them here too is the more reliable channel,
    since the guide's copy is injected by JS and sitemap hreflang needs no rendering to be read.
    Bare URL = fr = x-default. Never list /guide/index.html: it serves the same bytes as /guide/
    and is exactly the duplicate Search Console reported (a vercel.json redirect now kills it).
  -->
  <url>
    <loc>https://cliniqal.app/guide/</loc>
    <xhtml:link rel="alternate" hreflang="fr" href="https://cliniqal.app/guide/"/>
    <xhtml:link rel="alternate" hreflang="en" href="https://cliniqal.app/guide/?lang=en"/>
    <xhtml:link rel="alternate" hreflang="he" href="https://cliniqal.app/guide/?lang=he"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://cliniqal.app/guide/"/>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://cliniqal.app/guide/?lang=en</loc>
    <xhtml:link rel="alternate" hreflang="fr" href="https://cliniqal.app/guide/"/>
    <xhtml:link rel="alternate" hreflang="en" href="https://cliniqal.app/guide/?lang=en"/>
    <xhtml:link rel="alternate" hreflang="he" href="https://cliniqal.app/guide/?lang=he"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://cliniqal.app/guide/"/>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://cliniqal.app/guide/?lang=he</loc>
    <xhtml:link rel="alternate" hreflang="fr" href="https://cliniqal.app/guide/"/>
    <xhtml:link rel="alternate" hreflang="en" href="https://cliniqal.app/guide/?lang=en"/>
    <xhtml:link rel="alternate" hreflang="he" href="https://cliniqal.app/guide/?lang=he"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://cliniqal.app/guide/"/>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://cliniqal.app/guide/faq.html</loc>
    <xhtml:link rel="alternate" hreflang="fr" href="https://cliniqal.app/guide/faq.html"/>
    <xhtml:link rel="alternate" hreflang="en" href="https://cliniqal.app/guide/faq.html?lang=en"/>
    <xhtml:link rel="alternate" hreflang="he" href="https://cliniqal.app/guide/faq.html?lang=he"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://cliniqal.app/guide/faq.html"/>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://cliniqal.app/guide/faq.html?lang=en</loc>
    <xhtml:link rel="alternate" hreflang="fr" href="https://cliniqal.app/guide/faq.html"/>
    <xhtml:link rel="alternate" hreflang="en" href="https://cliniqal.app/guide/faq.html?lang=en"/>
    <xhtml:link rel="alternate" hreflang="he" href="https://cliniqal.app/guide/faq.html?lang=he"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://cliniqal.app/guide/faq.html"/>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://cliniqal.app/guide/faq.html?lang=he</loc>
    <xhtml:link rel="alternate" hreflang="fr" href="https://cliniqal.app/guide/faq.html"/>
    <xhtml:link rel="alternate" hreflang="en" href="https://cliniqal.app/guide/faq.html?lang=en"/>
    <xhtml:link rel="alternate" hreflang="he" href="https://cliniqal.app/guide/faq.html?lang=he"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://cliniqal.app/guide/faq.html"/>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <!-- Prerendered legal/compliance pages (real static HTML, indexable). /booking is prerendered too
       but stays out: a bare /booking has no ?c=<slug> and renders an "invalid link" shell. -->
  <url>
    <loc>https://cliniqal.app/privacy</loc>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://cliniqal.app/terms</loc>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://cliniqal.app/accessibility</loc>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>
</urlset>
