/* Taj Alwuqar — unified footer */
html:not(#iq-n1):not(#iq-n2) .iq-foot {
  --iq-foot-gold: #b8925a;
  --iq-foot-text: #f3f1ec;
  --iq-foot-muted: #a9a49a;
  display: block;
  margin: 56px 0 0;
  padding: 64px 0 0;
  background: #000;
  color: var(--iq-foot-text);
  font-family: 'Tajawal', 'Cairo', system-ui, sans-serif;
  border: 0;
  box-shadow: none;
  text-align: start;
  position: relative;
  z-index: 1;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot *,
html:not(#iq-n1):not(#iq-n2) .iq-foot *::before,
html:not(#iq-n1):not(#iq-n2) .iq-foot *::after {
  box-sizing: border-box;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__main {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 40px 56px;
  padding-bottom: 48px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__head {
  margin: 0 0 22px;
  padding: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--iq-foot-gold);
  background: none;
  border: 0;
  text-align: start;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__head::before,
html:not(#iq-n1):not(#iq-n2) .iq-foot__head::after {
  content: none;
  display: none;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__links,
html:not(#iq-n1):not(#iq-n2) .iq-foot__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__links a,
html:not(#iq-n1):not(#iq-n2) .iq-foot__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--iq-foot-text);
  text-decoration: none;
  background: none;
  transition: color 0.2s ease;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__links a:hover,
html:not(#iq-n1):not(#iq-n2) .iq-foot__contact a:hover,
html:not(#iq-n1):not(#iq-n2) .iq-foot__legal a:hover {
  color: var(--iq-foot-gold);
}

html:not(#iq-n1):not(#iq-n2) .iq-foot a:focus-visible {
  outline: 2px solid var(--iq-foot-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__contact {
  margin-top: 14px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__contact i {
  width: 18px;
  color: var(--iq-foot-gold);
  font-size: 0.95rem;
  text-align: center;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__contact span {
  unicode-bidi: plaintext;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__about {
  margin: 0;
  max-width: 44ch;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--iq-foot-text);
  text-align: justify;
  text-justify: inter-word;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--iq-foot-gold);
  color: #111;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__social:hover {
  background: #d4b27a;
  transform: translateY(-2px);
}

/* Geo SEO links inside the footer */
html:not(#iq-n1):not(#iq-n2) .iq-foot__seo {
  width: min(1200px, 100% - 48px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__seo:empty {
  display: none;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot .iqfal-geo-site-seo {
  margin: 0;
  padding: 28px 0;
  background: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html:not(#iq-n1):not(#iq-n2) .iq-foot .iqfal-geo-site-seo__inner {
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot .iqfal-geo-site-seo__title {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--iq-foot-gold);
}

html:not(#iq-n1):not(#iq-n2) .iq-foot .iqfal-geo-site-seo__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 18px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot .iqfal-geo-site-seo__row a {
  padding: 4px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--iq-foot-muted);
  background: none;
  border: 0;
  text-decoration: none;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot .iqfal-geo-site-seo__row a:hover {
  color: var(--iq-foot-text);
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__bar {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__rights {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--iq-foot-text);
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

html:not(#iq-n1):not(#iq-n2) .iq-foot__legal a {
  padding: 6px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--iq-foot-muted);
  text-decoration: none;
}

@media (max-width: 900px) {
  html:not(#iq-n1):not(#iq-n2) .iq-foot__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__col--about {
    grid-column: 1 / -1;
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__about {
    max-width: 62ch;
    text-align: start;
  }
}

@media (max-width: 560px) {
  html:not(#iq-n1):not(#iq-n2) .iq-foot {
    margin-top: 40px;
    padding-top: 44px;
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__main,
  html:not(#iq-n1):not(#iq-n2) .iq-foot__seo,
  html:not(#iq-n1):not(#iq-n2) .iq-foot__bar {
    width: calc(100% - 36px);
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__head {
    font-size: 1.15rem;
    margin-bottom: 14px;
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__links a,
  html:not(#iq-n1):not(#iq-n2) .iq-foot__contact a {
    min-height: 40px;
    font-size: 0.95rem;
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__about {
    text-align: start;
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__bar {
    flex-direction: column;
    text-align: center;
    padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  }

  html:not(#iq-n1):not(#iq-n2) .iq-foot__legal {
    justify-content: center;
  }
}
