/* Ported 1:1 from afghanmissionbonn.de includes/footer.php (2026-08-28). */

/* ═══ MODERN FOOTER (Dubai-inspired) ══════════════════════ */
.sf {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-x) 100%);
  color: rgba(255,255,255,.80);
  margin-top: 0;
  font-family: var(--font-en);
  position: relative;
}
html[dir="rtl"] .sf { font-family: var(--font-fa); }

/* Gold accent top bar */
.sf::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-br) 50%, var(--gold) 100%);
}

/* ── CTA banner above columns ── */
.sf-cta {
  background: linear-gradient(135deg, rgba(31,72,151,.55) 0%, rgba(15,42,94,.35) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sf-cta-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.sf-cta-text {
  font-size: 1.3rem; font-weight: 600; color: #fff;
  line-height: 1.5;
}
html[dir="rtl"] .sf-cta-text { font-size: 1.35rem; }
.sf-cta-text span {
  color: var(--gold-br);
}
.sf-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-br), var(--gold));
  color: #fff; font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: all .3s;
  box-shadow: 0 4px 16px rgba(174,137,37,.35);
  white-space: nowrap;
}
.sf-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(174,137,37,.5); color: #fff;
}
.sf-cta-btn svg { flex-shrink: 0; }

/* ── 3-column grid ── */
.sf-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 36px 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

/* ── Col 1: Brand ── */
.sf-brand {
  display: flex; flex-direction: column;
}
.sf-logo-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.sf-logo-ring {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(212,179,90,.6);
  padding: 3px;
  background: rgba(255,255,255,.04);
}
.sf-logo-ring img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  display: block;
}
.sf-logo-text-name {
  font-size: 1.1rem; font-weight: 700;
  color: #fff; line-height: 1.35;
}
.sf-logo-text-city {
  font-size: .75rem; font-weight: 600;
  color: rgba(212,179,90,.75);
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-top: 3px;
}
.sf-about-p {
  font-size: .92rem; line-height: 1.9;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
}
.sf-soc-row { display: flex; gap: 10px; }
.sf-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: all .3s;
}
.sf-soc:hover {
  background: rgba(212,179,90,.15);
  border-color: rgba(212,179,90,.45);
  color: var(--gold-br); transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(174,137,37,.25);
}

/* ── Col heading ── */
.sf-h {
  font-size: .78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-br);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212,179,90,.18);
  display: inline-block;
  position: relative;
}
.sf-h::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--gold-br), transparent);
}
html[dir="rtl"] .sf-h { letter-spacing: .5px; font-size: .9rem; }
html[dir="rtl"] .sf-h::after { left: auto; right: 0; background: linear-gradient(-90deg, var(--gold-br), transparent); }

/* ── Link lists (modern card style — matches contact cards) ── */
.sf-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.sf-list li { margin: 0; }
.sf-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border-left: 3px solid rgba(212,179,90,.4);
  font-size: .93rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 500;
  transition: all .25s cubic-bezier(.16,1,.3,1);
}
html[dir="rtl"] .sf-list a { border-left: none; border-right: 3px solid rgba(212,179,90,.4); }
.sf-list a::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(212,179,90,.55);
  flex-shrink: 0; transition: all .25s;
}
.sf-list a:hover {
  background: rgba(255,255,255,.06);
  border-left-color: var(--gold-br);
  transform: translateX(3px);
  color: #fff;
}
html[dir="rtl"] .sf-list a:hover {
  transform: translateX(-3px);
  border-right-color: var(--gold-br);
}
.sf-list a:hover::before { background: var(--gold-br); transform: scale(1.4); }

/* ── Contact rows (modern card style) ── */
.sf-ci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border-left: 3px solid rgba(212,179,90,.4);
  transition: background .25s, border-color .25s, transform .25s;
}
html[dir="rtl"] .sf-ci { border-left: none; border-right: 3px solid rgba(212,179,90,.4); }
.sf-ci:last-child { margin-bottom: 0; }
.sf-ci:hover {
  background: rgba(255,255,255,.06);
  border-left-color: var(--gold-br);
  transform: translateX(2px);
}
html[dir="rtl"] .sf-ci:hover { transform: translateX(-2px); border-right-color: var(--gold-br); }

.sf-ci-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(212,179,90,.18), rgba(212,179,90,.08));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-br);
}
.sf-ci-icon svg { width: 18px; height: 18px; }
.sf-ci-body { flex: 1; min-width: 0; }
.sf-ci-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(212,179,90,.85);
  margin-bottom: 4px;
}
html[dir="rtl"] .sf-ci-label { letter-spacing: .4px; font-size: .76rem; }
.sf-ci-val {
  font-size: .92rem; line-height: 1.5;
  color: rgba(255,255,255,.85); font-weight: 500;
  word-break: break-word;
}
.sf-ci-val a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s; font-weight: 600; }
.sf-ci-val a:hover { color: var(--gold-br); }

/* ── Bottom strip ── */
.sf-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
}
.sf-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 36px;
  text-align: center;
}
.sf-copy {
  font-size: .88rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .3px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sf-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 44px 28px 38px; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sf-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 30px; }
  .sf-cta-inner { padding: 28px 20px; flex-direction: column; text-align: center; }
  .sf-cta-text { font-size: 1.1rem; }
  .sf-bottom-inner { padding: 14px 20px; flex-direction: column; text-align: center; }
}
