{% load static %}
<footer class="footer" role="contentinfo">
  <div class="footer-blobs" aria-hidden="true">
    <div class="footer-blob footer-blob--1"></div>
    <div class="footer-blob footer-blob--2"></div>
  </div>
  <div class="container">
    <div class="footer-grid">

      <div class="footer-brand-col">
        <a href="{% url 'pages:home' %}" class="footer-logo" aria-label="Radiuma home">
          {% include "partials/_brand_icon.html" with placement="footer" %}
          <span class="brand-name">Radiuma</span>
        </a>
        <p class="footer-tagline">
          Advancing medical imaging and radiomics research through innovative, standardized software solutions.
        </p>
        {% include "partials/_contact_discord.html" with button_class="btn-ghost btn-sm" %}
      </div>

      <div class="footer-links-col">
        <h3 class="footer-heading">Navigation</h3>
        <ul class="footer-links" role="list">
          <li><a href="{% url 'pages:home' %}">Home</a></li>
          <li><a href="{% url 'pages:about' %}">What is Radiuma</a></li>
          <li><a href="{% url 'products:overview' %}">Products</a></li>
          <li><a href="{% url 'pages:faq' %}">FAQ</a></li>
          <li><a href="{% url 'pages:contact' %}">Contact</a></li>
        </ul>
      </div>

      {% if footer_main_products %}
      <div class="footer-links-col">
        <h3 class="footer-heading">Products</h3>
        <ul class="footer-links" role="list">
          {% for product in footer_main_products %}
          <li><a href="{{ product.get_absolute_url }}">{{ product.name }}</a></li>
          {% endfor %}
          {% if footer_main_products_has_more %}
          <li><a href="{% url 'products:main_product_detail' main_slug='radiuma' %}">more</a></li>
          {% endif %}
        </ul>
      </div>
      {% endif %}

      {% if site_contact.has_footer_contact %}
      <div class="footer-contact-col">
        <h3 class="footer-heading">Contact</h3>
        {% include "partials/_contact_office.html" with address_class="footer-address" %}
        {% include "partials/_contact_email.html" with link_class="footer-email" %}
      </div>
      {% endif %}

    </div>

    <div class="footer-bottom">
      <p class="footer-copy">
        &copy; {% now "Y" %} Radiuma. All rights reserved.
      </p>
      <p class="footer-credit">
        Developed at <a href="https://www.qurit.ca" target="_blank" rel="noopener noreferrer">Qurit Lab</a>,
        <a href="https://www.ubc.ca" target="_blank" rel="noopener noreferrer">University of British Columbia</a>
        &amp; <a href="https://www.bccrc.ca" target="_blank" rel="noopener noreferrer">BC Cancer Research Institute</a>
      </p>
    </div>

  </div>
</footer>
