/* الملف: public_html/assets/css/shared/components/site-footer.css */
/* الوصف: تنسيقات الفوتر الموحد للمنصة */

:root{
  --site-footer-bg-start:#0d4b72;
  --site-footer-bg-end:#083a5b;
  --site-footer-text:#ffffff;
  --site-footer-text-soft:rgba(255,255,255,.84);
  --site-footer-text-muted:rgba(255,255,255,.70);
  --site-footer-line:rgba(255,255,255,.14);
  --site-footer-hover:rgba(255,255,255,.10);
  --site-footer-radius:36px;
  --site-footer-social-size:48px;
  --site-footer-logo-h:66px;
}

.site-footer{
  position:relative;
  color:var(--site-footer-text);
  margin-top:40px;
}

.site-footer__inner{
  background:linear-gradient(0deg, var(--site-footer-bg-end) 0%, var(--site-footer-bg-start) 100%);
  border-top-left-radius:var(--site-footer-radius);
  border-top-right-radius:var(--site-footer-radius);
  box-shadow:0 -14px 34px rgba(8, 38, 61, .10);
  overflow:hidden;
}

.site-footer a{
  text-decoration:none;
}

.site-footer__main{
  display:grid;
  grid-template-columns:1fr minmax(300px, 420px) 1fr;
  align-items:start;
  gap:32px;
  padding:40px 0 26px;
}

.site-footer__side{
  display:flex;
  padding-top:18px;
}

.site-footer__side--right{
  justify-content:flex-end;
  text-align:right;
}

.site-footer__side--left{
  justify-content:flex-start;
  text-align:left;
}

.site-footer__center{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:0;
  text-align:center;
}

.site-footer__brand-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.site-footer__brand-link:focus-visible{
  outline:2px solid rgba(255,255,255,.80);
  outline-offset:4px;
  border-radius:14px;
}

.site-footer__brand-logo{
  display:block;
  width:auto;
  max-width:min(100%, 250px);
  height:var(--site-footer-logo-h);
  object-fit:contain;
}

.site-footer__brand-meta{
  display:grid;
  gap:8px;
  max-width:340px;
}

.site-footer__brand-name{
  margin:0;
  color:var(--site-footer-text);
  font-size:18px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:.2px;
}

.site-footer__brand-tagline{
  margin:0;
  color:var(--site-footer-text-soft);
  font-size:14px;
  font-weight:600;
  line-height:1.9;
}

.site-footer__legal-placeholder{
  margin:2px 0 0;
  color:var(--site-footer-text-muted);
  font-size:13px;
  font-weight:700;
  line-height:1.8;
}

.site-footer__legal-label{
  color:var(--site-footer-text-soft);
}

.site-footer__legal-value{
  color:var(--site-footer-text-muted);
}

.site-footer__links{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}

.site-footer__links-item{
  margin:0;
}

.site-footer__link{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  color:var(--site-footer-text);
  font-weight:800;
  font-size:15px;
  line-height:1.7;
  transition:opacity .2s ease, transform .2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible{
  opacity:.88;
  transform:translateY(-1px);
  outline:none;
}

.site-footer__social{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding-top:4px;
}

.site-footer__social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--site-footer-social-size);
  height:var(--site-footer-social-size);
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  transition:transform .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible{
  transform:translateY(-3px) scale(1.04);
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.26);
  box-shadow:0 10px 20px rgba(4, 22, 38, .18);
  outline:none;
}

.site-footer__social-icon{
  display:block;
  width:22px;
  height:22px;
  object-fit:contain;
}

.site-footer__bottom{
  border-top:1px solid var(--site-footer-line);
  padding:16px 0 20px;
  text-align:center;
}

.site-footer__copyright{
  margin:0;
  color:var(--site-footer-text-soft);
  font-size:14px;
  font-weight:700;
  line-height:1.8;
  letter-spacing:.1px;
}

@media (max-width: 1023.98px){
  .site-footer{
    margin-top:34px;
  }

  .site-footer__main{
    grid-template-columns:1fr minmax(260px, 360px) 1fr;
    gap:22px;
    padding:34px 0 22px;
  }

  .site-footer__side{
    padding-top:12px;
  }

  .site-footer__brand-logo{
    height:58px;
    max-width:min(100%, 220px);
  }

  .site-footer__brand-name{
    font-size:17px;
  }

  .site-footer__brand-tagline{
    font-size:13px;
  }

  .site-footer__link{
    font-size:14px;
  }
}

@media (max-width: 767.98px){
  .site-footer__inner{
    border-top-left-radius:26px;
    border-top-right-radius:26px;
  }

  .site-footer__main{
    grid-template-columns:1fr;
    text-align:center;
    gap:24px;
    padding:28px 0 20px;
  }

  .site-footer__side,
  .site-footer__side--right,
  .site-footer__side--left{
    justify-content:center;
    text-align:center;
    padding-top:0;
  }

  .site-footer__links{
    justify-items:center;
  }

  .site-footer__brand-logo{
    height:54px;
    max-width:min(100%, 200px);
  }

  .site-footer__brand-meta{
    max-width:100%;
  }

  .site-footer__social-link{
    width:44px;
    height:44px;
  }

  .site-footer__social-icon{
    width:20px;
    height:20px;
  }

  .site-footer__bottom{
    padding:14px 0 18px;
  }
}

@media (prefers-reduced-motion: reduce){
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after{
    transition:none !important;
    animation:none !important;
  }
}