/* Tiraz Labs — site footer v6 "short and useful" (section "footer", owner: agent F / foundation). Tokens only, logical properties only.
   Scope: .site-footer. Brand line + one contact button, one gold .rule-tri, one row of links, a quiet base. */

.site-footer { display: block; }
.foot { background: var(--bg-alt); border-block-start: 1px solid var(--line); padding-block-start: clamp(40px, 5vw, 64px); }

/* 1. brand */
.foot-brand { display: grid; gap: 16px; justify-items: start; }
.foot-logo-link { display: inline-flex; align-items: center; min-height: 48px; border-radius: 6px; }
.foot-logo { --logo-h: 28px; }
.foot-tagline { margin: 0; max-width: 40ch; color: var(--text-soft); font-size: var(--t-body); line-height: 1.8; }
html[lang="en"] .foot-tagline { line-height: 1.6; }
@media (max-width: 767px) { .foot-wa { width: 100%; } }
@media (min-width: 900px) {
  .foot-brand { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 32px; }
}

/* 2. the one gold ornament */
.foot-rule { margin-block: clamp(28px, 4vw, 40px) 0; }

/* 3. links: one row (wraps on phones) */
.foot-nav { display: grid; gap: 8px; padding-block: clamp(20px, 3vw, 32px); }
.foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--text-soft); text-decoration: none; font-size: var(--t-small); line-height: 1.5;
  transition: color var(--dur-1) var(--ease-out); }
.foot-list a svg { flex: none; width: 18px; height: 18px; color: var(--text-faint); }
.foot-list a:hover, .foot-list a[aria-current="page"] { color: var(--text); }
.foot-list a[aria-current="page"] { font-weight: 600; }
@media (max-width: 479px) { .foot-list:not(.foot-contact) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; } }

/* 4. base */
.foot-base { display: grid; gap: 4px; padding-block: 16px max(24px, var(--safe-b)); border-block-start: 1px solid var(--line); font-size: var(--t-caption); color: var(--text-faint); }
.foot-note { margin: 0; max-width: 60ch; padding-block-start: 8px; }
.foot-base-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.foot-rights { margin: 0; }
.foot-base-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.foot-lang { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 4px; border: 0; background: transparent; color: var(--text-soft); cursor: pointer; font-size: var(--t-small); }
.foot-lang[lang="en"] { font-family: var(--f-lat-body); } .foot-lang[lang="ar"] { font-family: var(--f-ar-body); }
.foot-lang:hover { color: var(--text); }
.foot-credit, .foot-admin { display: inline-flex; align-items: center; min-height: 48px; color: var(--text-faint); font-size: var(--t-caption); text-decoration: none; }
.foot-credit:hover, .foot-admin:hover { color: var(--text); text-decoration: underline; }
