/**
 * Site footer — Ajman organization/order, Abu Dhabi identity (#22/#26).
 * Gold accents · Tajawal AR · Inter EN. Do not mix with home-standard.css.
 */

footer.site-footer {
  --ft-gold: #e8c97a;
  --ft-ink: rgba(255, 255, 255, 0.9);
  --ft-muted: rgba(255, 255, 255, 0.55);
  --ft-line: rgba(232, 201, 122, 0.28);
  --ft-bg: #0b0b0b;
  margin: 0;
  padding: 0;
  background: var(--ft-bg);
  color: var(--ft-ink);
  border-top: 3px solid var(--ft-gold);
  font-family: "Tajawal", system-ui, sans-serif;
  text-align: start;
}

html[lang="en"] footer.site-footer {
  font-family: "Inter", system-ui, sans-serif;
}

footer.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

footer.site-footer a:hover {
  color: var(--ft-gold);
}

footer.site-footer .site-footer__shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.25rem 1.1rem 1.5rem;
  display: grid;
  align-items: start;
  gap: 1.35rem 1.1rem;
}

footer.site-footer .site-footer__col {
  min-width: 0;
}

footer.site-footer .site-footer__heading {
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  color: var(--ft-gold);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
}

html[lang="ar"] footer.site-footer .site-footer__heading {
  letter-spacing: 0;
}

footer.site-footer .site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

footer.site-footer .site-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  color: inherit;
}

footer.site-footer .site-footer__brand-head {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

footer.site-footer .site-footer__logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0;
}

footer.site-footer .site-footer__logo {
  display: block;
  width: min(100%, 210px);
  height: auto;
  object-fit: contain;
  object-position: inline-start center;
  filter: brightness(1.05);
}

footer.site-footer .site-footer__slogan {
  margin: 0;
  color: var(--ft-gold);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

footer.site-footer .site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

footer.site-footer .site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

footer.site-footer .site-footer__contact-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  color: var(--ft-gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.28);
}

footer.site-footer .site-footer__contact-ico--wa {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.28);
}

footer.site-footer .site-footer__address {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

footer.site-footer .site-footer__pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer.site-footer .site-footer__pay-label {
  margin: 0;
  color: var(--ft-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

footer.site-footer .site-footer__pay-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.site-footer .site-footer__pay-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  line-height: 0;
}

footer.site-footer .site-footer__pay-item .cs-pay-mark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

footer.site-footer .site-footer__pay-item .cs-pay-mark svg,
footer.site-footer .site-footer__pay-item svg {
  display: block;
  width: 38px;
  height: 24px;
}

footer.site-footer .site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.1rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ft-muted);
  margin: 0;
}

html[lang="ar"] footer.site-footer .site-footer__copy,
html[dir="rtl"] footer.site-footer .site-footer__copy {
  font-size: 0.72rem;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  letter-spacing: 0;
}

html[lang="ar"] footer.site-footer .site-footer__copy::-webkit-scrollbar,
html[dir="rtl"] footer.site-footer .site-footer__copy::-webkit-scrollbar {
  display: none;
}

/* Desktop ≥900px — Ajman 4-col brand layout */
@media (min-width: 900px) {
  footer.site-footer .site-footer__shell {
    grid-template-columns: minmax(240px, 1.15fr) repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "head firm services tools"
      "contact firm services tools"
      "pay firm services tools";
    gap: 0.75rem 1.35rem;
    padding: 2.5rem 1.25rem 1.75rem;
    column-gap: 1.35rem;
  }

  footer.site-footer .site-footer__brand-head {
    grid-area: head;
    padding-inline-end: 0.35rem;
  }

  footer.site-footer .site-footer__contact {
    grid-area: contact;
    padding-inline-end: 0.35rem;
  }

  footer.site-footer .site-footer__col--firm {
    grid-area: firm;
  }

  footer.site-footer .site-footer__col--services {
    grid-area: services;
  }

  footer.site-footer .site-footer__col--tools {
    grid-area: tools;
  }

  footer.site-footer .site-footer__pay {
    grid-area: pay;
    flex-wrap: nowrap;
    padding-inline-end: 0.35rem;
  }

  footer.site-footer .site-footer__pay-list {
    flex-wrap: nowrap;
  }

  footer.site-footer .site-footer__logo {
    width: min(100%, 228px);
  }

  footer.site-footer .site-footer__address {
    white-space: nowrap;
  }
}

/* Mobile <900px — Ajman mobile shell */
@media (max-width: 899px) {
  footer.site-footer .site-footer__shell {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "head head"
      "contact firm"
      "services tools"
      "pay pay";
    gap: 1.35rem 1rem;
    padding: 1.85rem calc(1rem + 15px) 1.15rem;
  }

  footer.site-footer .site-footer__brand-head {
    grid-area: head;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding-bottom: 0.35rem;
  }

  footer.site-footer .site-footer__logo-link {
    justify-content: center;
    width: 100%;
  }

  footer.site-footer .site-footer__logo {
    width: min(86vw, 300px);
    max-width: 300px;
    margin-inline: auto;
    object-position: center;
  }

  footer.site-footer .site-footer__slogan {
    font-size: 1.12rem;
    line-height: 1.4;
    text-align: center;
    width: 100%;
  }

  footer.site-footer .site-footer__contact {
    grid-area: contact;
    gap: 0.65rem;
  }

  footer.site-footer .site-footer__contact-item {
    align-items: center;
    font-size: 0.84rem;
    gap: 0.45rem;
  }

  footer.site-footer .site-footer__address {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
  }

  footer.site-footer .site-footer__col--firm {
    grid-area: firm;
  }

  footer.site-footer .site-footer__col--services {
    grid-area: services;
  }

  footer.site-footer .site-footer__col--tools {
    grid-area: tools;
  }

  footer.site-footer .site-footer__heading {
    font-size: 0.98rem;
    margin-bottom: 0.55rem;
  }

  footer.site-footer .site-footer__list {
    gap: 0.4rem;
    font-size: 0.86rem;
  }

  footer.site-footer .site-footer__pay {
    grid-area: pay;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem 0.65rem;
    margin-top: 0.25rem;
    padding: 0.95rem 0 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  footer.site-footer .site-footer__pay-label {
    font-size: 0.72rem;
    flex: 0 0 auto;
  }

  footer.site-footer .site-footer__pay-list {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  footer.site-footer .site-footer__pay-list::-webkit-scrollbar {
    display: none;
  }

  footer.site-footer .site-footer__pay-item {
    flex: 0 0 auto;
    padding: 2px;
  }

  footer.site-footer .site-footer__pay-item .cs-pay-mark svg,
  footer.site-footer .site-footer__pay-item svg {
    width: 34px;
    height: 22px;
  }

  footer.site-footer .site-footer__copy {
    padding: 0.95rem calc(1rem + 15px) 1.35rem;
  }
}
