/*
  Multazm Canonical UI — Global Footer Component
  Implementation ID: IMPL-COMP-FOOTER-GLOBAL-001
  Canonical Record: CANON-UI-PR-0002
  Approval Package: APPROVAL-FOOTER-CANONICAL-PACKAGE-001
  Source: MULTAZM_UI_DESIGN_CONTRACTS_REGISTRY_v1_22-06-2026
  Boundary: Component CSS only. No page/body/preview spacer ownership.
  Shared shell: layouts/global-page-shell/styles.css owns horizontal width,
  centering and responsive gutters through .mz-page-shell.
*/
.mz-footer,
.mz-footer * {
  box-sizing: border-box;
}

.mz-footer {
  --mz-footer-bg: #263238;
  --mz-footer-bg-glow: radial-gradient(circle at top right, rgba(17,153,244,.16), transparent 34%);
  --mz-footer-top-accent: linear-gradient(90deg, rgba(17,153,244,0), rgba(17,153,244,.70), rgba(112,199,254,.65), rgba(17,153,244,0));
  --mz-footer-text: #D9E5E8;
  --mz-footer-muted: #AEBEC4;
  --mz-footer-brand-color: #1199F4;
  --mz-footer-shell-padding: 38px 0 28px;
  --mz-footer-grid-columns: 1.15fr repeat(4, minmax(0, 1fr));
  --mz-footer-column-gap: 4.6rem;
  --mz-footer-row-gap: 2.2rem;
  --mz-footer-list-gap: 1.28rem;
  --mz-footer-social-size: 30px;
  --mz-footer-social-gap: 12px;
  --mz-footer-social-bg: rgba(255,255,255,.08);
  --mz-footer-social-border: rgba(255,255,255,.12);
  --mz-footer-social-radius: 8px;
  --mz-footer-social-hover-bg: rgba(17,153,244,.16);
  --mz-footer-social-hover-border: rgba(112,199,254,.55);
  --mz-footer-social-hover-color: #FFFFFF;
  --mz-footer-copy-border: rgba(255,255,255,.10);
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: rtl;
  color: var(--mz-footer-text);
  background: var(--mz-footer-bg);
  isolation: isolate;
  font-family: "Noto Sans Arabic";
}

.mz-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--mz-footer-bg-glow);
  z-index: -1;
}

.mz-footer::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--mz-footer-top-accent);
  pointer-events: none;
}

.mz-footer .mz-footer__shell {
  padding: var(--mz-footer-shell-padding);
}

.mz-footer .mz-footer__grid {
  display: grid;
  grid-template-columns: var(--mz-footer-grid-columns);
  column-gap: var(--mz-footer-column-gap);
  row-gap: var(--mz-footer-row-gap);
  direction: rtl;
  align-items: start;
}

.mz-footer .mz-footer__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  direction: ltr;
  min-width: 0;
}

.mz-footer .mz-brand,
.mz-footer .mz-brand:visited,
.mz-footer .mz-brand:hover,
.mz-footer .mz-brand:focus,
.mz-footer .mz-brand:focus-visible {
  width: 126px;
  min-width: 126px;
  min-height: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--mz-footer-brand-color);
  text-decoration: none;
  outline: none;
}

.mz-footer .mz-brand-fallback {
  width: 126px;
  height: 52px;
  display: grid;
  grid-auto-flow: row;
  justify-content: end;
  justify-items: center;
  align-content: center;
  transform: translateY(-1px);
  color: var(--mz-footer-brand-color);
  text-align: center;
}

.mz-footer .mz-brand-ar {
  display: inline-block;
  direction: rtl;
  color: var(--mz-footer-brand-color);
  font-family: "Noto Sans Arabic";
  font-size: 30px;
  font-weight: 400;
  line-height: .86;
  margin-bottom: 7px;
  letter-spacing: .025em;
  white-space: nowrap;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.mz-footer .mz-brand-en {
  display: inline-block;
  color: var(--mz-footer-brand-color);
  font-family: "Noto Sans Arabic";
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .075em;
  direction: ltr;
  white-space: nowrap;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.mz-footer .mz-footer__social {
  display: flex;
  direction: ltr;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--mz-footer-social-gap);
  margin-top: 18px;
}

.mz-footer .mz-footer__social-link {
  width: var(--mz-footer-social-size);
  height: var(--mz-footer-social-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--mz-footer-social-size);
  color: var(--mz-footer-text);
  background: var(--mz-footer-social-bg);
  border: 1px solid var(--mz-footer-social-border);
  border-radius: var(--mz-footer-social-radius);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.mz-footer .mz-footer__social-link:hover,
.mz-footer .mz-footer__social-link:focus-visible {
  color: var(--mz-footer-social-hover-color);
  background: var(--mz-footer-social-hover-bg);
  border-color: var(--mz-footer-social-hover-border);
  outline: none;
}

.mz-footer .mz-footer__social-icon {
  width: 13px;
  height: 13px;
  display: block;
  fill: currentColor;
  pointer-events: none;
}

.mz-footer .mz-footer__group {
  min-width: 0;
}

.mz-footer .mz-footer__title {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
  color: #FFFFFF;
}

.mz-footer .mz-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--mz-footer-list-gap);
  margin: 0;
  padding: 0;
}

.mz-footer .mz-footer__list a,
.mz-footer .mz-footer__list a:visited {
  display: inline-flex;
  width: fit-content;
  color: var(--mz-footer-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.mz-footer .mz-footer__list a:hover,
.mz-footer .mz-footer__list a:focus-visible {
  color: #70C7FE;
  transform: translateX(-2px);
  outline: none;
}

.mz-footer .mz-footer__copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--mz-footer-copy-border);
  color: var(--mz-footer-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.mz-footer .mz-footer__copy-year {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 900px) {
  .mz-footer .mz-footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    row-gap: 2.4rem;
  }
}

@media (max-width: 760px) {
  .mz-footer .mz-brand,
  .mz-footer .mz-brand:visited,
  .mz-footer .mz-brand:hover,
  .mz-footer .mz-brand:focus,
  .mz-footer .mz-brand:focus-visible {
    width: 112px;
    min-width: 112px;
    min-height: 46px;
    height: 46px;
  }

  .mz-footer .mz-brand-fallback {
    width: 112px;
    height: 46px;
  }

  .mz-footer .mz-brand-ar {
    font-size: 26px;
    margin-bottom: 6px;
    letter-spacing: .02em;
  }
}

@media (max-width: 620px) {
  .mz-footer .mz-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mz-footer .mz-footer__identity {
    align-items: center;
  }

  .mz-footer .mz-brand-fallback {
    justify-content: center;
  }

  .mz-footer .mz-footer__social {
    justify-content: center;
  }

  .mz-footer .mz-footer__list {
    align-items: center;
  }

  .mz-footer .mz-footer__list a,
  .mz-footer .mz-footer__list a:visited {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .mz-footer .mz-brand,
  .mz-footer .mz-brand:visited,
  .mz-footer .mz-brand:hover,
  .mz-footer .mz-brand:focus,
  .mz-footer .mz-brand:focus-visible {
    width: 96px;
    min-width: 96px;
    min-height: 41px;
    height: 41px;
  }

  .mz-footer .mz-brand-fallback {
    width: 96px;
    height: 41px;
  }

  .mz-footer .mz-brand-ar {
    font-size: 23px;
    margin-bottom: 5px;
    letter-spacing: .015em;
  }
}
