/* ===============================================================
   Ajeer — Shared Unified Footer
   =============================================================== */

.aj-footer {
  background: #0A1230;
  color: #fff;
  padding: 44px 0 28px;
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  position: relative;
  z-index: 1;
}
.aj-footer * { box-sizing: border-box; }

/* hide each page's own footer when shared footer is mounted */
body.aj-has-shared-footer footer.footer,
body.aj-has-shared-footer footer:not(.aj-footer) {
  display: none !important;
}

.aj-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.aj-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 24px 28px;
  margin-bottom: 28px;
}
@media (max-width: 1024px) {
  .aj-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .aj-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .aj-footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Brand block */
.aj-footer-brand-head {
  display: flex; align-items: center; gap: 12px;
}
.aj-footer-brand-head img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.aj-footer-brand-name {
  font-size: 22px; font-weight: 700;
  letter-spacing: -.012em;
}
.aj-footer-tagline {
  margin-top: 12px;
  font-size: 13.5px; line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  max-width: 320px;
}
.aj-footer-socials {
  display: flex; gap: 8px;
  margin-top: 16px;
}
.aj-footer-social {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.aj-footer-social:hover {
  background: #035DFC;
  transform: translateY(-2px);
}
.aj-footer-social svg { width: 17px; height: 17px; }

/* Link columns */
.aj-footer-col h4 {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .50);
  margin: 0 0 12px;
}
.aj-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.aj-footer-link {
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: color .18s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.aj-footer-link:hover { color: #fff; }
.aj-footer-link-soon {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(200, 150, 29, .15);
  color: #E5BF5E;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Bottom strip */
.aj-footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .50);
  letter-spacing: .04em;
}
.aj-footer-bottom-right {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.aj-footer-bottom a { color: inherit; text-decoration: none; transition: color .18s; }
.aj-footer-bottom a:hover { color: #fff; }
