/**
 * Copyright (c) 2026 KDTech
 * Author: david@KDTech
 * All rights reserved.
 *
 * Tilefold website — footer
 *
 * The footer shared by every page: links, the language picker, where
 * Tilefold is made and the contact addresses. Split out of the base layer
 * to keep each stylesheet short; loaded right after it. Logical properties
 * only, so the Arabic (RTL) translation mirrors.
 */
/* ---------- Footer ---------- */

.footer {
  position: relative;
  padding-block: 56px 40px;
  border-block-start: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--text-1);
}

.footer .lang-picker {
  margin-inline-start: auto;
}

/* Where Tilefold is made, then one address per kind of question. */
.footer-origin {
  flex-basis: 100%;
  margin: 8px 0 0;
  color: var(--text-2);
}

.footer-contact {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact a {
  margin-inline-start: 6px;
  color: var(--text-2);
}

.footer-contact a:hover {
  color: var(--text-1);
}

@media (max-width: 520px) {
  .footer .lang-picker {
    margin-inline-start: 0;
  }
}
