/* =====================================================================
   Site footer (public pages)
   ===================================================================== */
.site-footer { margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); background: linear-gradient(180deg, #121311, #0d0e0c); }
.sf-grid { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.sf-brand a:first-child { display: inline-flex; align-items: center; gap: 12px; }
.sf-mark { height: 34px; width: auto; color: var(--lime); }
.sf-word { height: 19px; width: auto; color: var(--text); }
.sf-brand p { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 38ch; margin: 18px 0 22px; }
.sf-col { display: flex; flex-direction: column; gap: 4px; }
.sf-col h2 { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin: 0 0 12px; }
html[dir=rtl] .sf-col h2 { letter-spacing: .04em; }
.sf-col a { display: inline-flex; align-items: center; min-height: 36px; width: fit-content; color: #c9cdbf; font-size: 14px; transition: color .2s, transform .25s cubic-bezier(.16,1,.3,1); }
.sf-col a:hover { color: var(--text); transform: translateX(4px); }
html[dir=rtl] .sf-col a:hover { transform: translateX(-4px); }
.site-footer .big-wordmark { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 18px; color: #faf7ee14; }
.sf-bottom { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9aa08f; }
.sf-lang { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #c9cdbf; }
.sf-lang .icon { width: 16px; height: 16px; }
.sf-lang:hover { color: var(--lime); }
@media (max-width: 860px) {
  .sf-grid { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 340px) { .sf-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sf-bottom { justify-content: center; text-align: center; } }

.sf-social { display: flex; gap: 10px; margin-top: 22px; }
.sf-social-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s, background .2s; }
.sf-social-link .icon { width: 20px; height: 20px; color: var(--lime); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.sf-social-link:hover { border-color: var(--lime); background: #c8ff5512; }
.sf-social-link:hover .icon { transform: scale(1.12); }

/* keep the bottom bar clear of the floating back-to-top button */
.sf-bottom { padding-inline-end: 72px; }
@media (max-width: 420px) { .sf-bottom { padding-inline-end: 0; padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }

