/* =============================================================================
   FOOTER — شركة الإسراء لنقل وتغليف الأثاث
   Tokens from header.css (:root)
   Prefix : ft  (ftCta, ftGrid, ftCol, ftLinks, ftSocial, floatBar…)
   Stack  : Bootstrap 5 RTL · No animation libs · RTL Arabic
   ============================================================================= */

/* ── 1. Final CTA Section ───────────────────────────────────────────────────── */
.ftCta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1833 0%, #17224D 45%, #1E3A6E 100%);
  padding: 72px 0;
}

.ftCta__box {
  position: relative;
  text-align: center;
}

/* Decorative blobs */
.ftCta__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .18;
}
.ftCta__blob--1 {
  width: 420px;
  height: 420px;
  background: var(--es-orange);
  top: -120px;
  inset-inline-end: -80px;
}
.ftCta__blob--2 {
  width: 320px;
  height: 320px;
  background: var(--es-blue);
  bottom: -100px;
  inset-inline-start: -60px;
}

.ftCta__badge {
  display: inline-block;
  padding: 5px 18px;
  background: rgba(246, 135, 18, .15);
  border: 1px solid rgba(246, 135, 18, .35);
  border-radius: 50px;
  font-family: var(--es-font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--es-orange);
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.ftCta__title {
  font-family: var(--es-font-brand);
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.25;
}

.ftCta__sub {
  font-family: var(--es-font-ui);
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(255, 255, 255, .72);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.ftCta__benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 34px;
}

.ftCta__benefit {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--es-font-ui);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

.ftCta__benefit-ico {
  color: var(--es-orange);
  font-size: 13px;
}

.ftCta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ftCta__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  border-radius: 50px;
  font-family: var(--es-font-ui);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background 200ms ease, box-shadow 200ms ease, transform 130ms ease;
}

.ftCta__btn:focus-visible {
  outline: 3px solid var(--es-orange);
  outline-offset: 3px;
}
.ftCta__btn:active { transform: scale(.96); }

.ftCta__btn--call {
  background: linear-gradient(135deg, #f9a13a, var(--es-orange), #e8780a);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(246, 135, 18, .38);
}
.ftCta__btn--call:hover {
  box-shadow: 0 10px 28px rgba(246, 135, 18, .52);
  color: #ffffff;
}

.ftCta__btn--wa {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .45);
}
.ftCta__btn--wa:hover {
  background: rgba(255, 255, 255, .10);
  border-color: #ffffff;
  color: #ffffff;
}

/* ── 2. Main Footer wrapper ─────────────────────────────────────────────────── */
.siteFooter {
  background: var(--es-navy);
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .72);
  font-family: var(--es-font-ui);
  font-size: 14px;
  direction: rtl;
}

.siteFooter__inner {
  padding-top: 64px;
  padding-bottom: 0;
}

/* ── 3. Footer grid ─────────────────────────────────────────────────────────── */
.ftGrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr 1.4fr;
  gap: 40px 32px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 1199.98px) {
  .ftGrid { grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 32px 24px; }
}

@media (max-width: 991.98px) {
  .ftGrid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .ftCol--brand { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
  .ftGrid { grid-template-columns: 1fr; gap: 32px; }
  .ftCol--brand { grid-column: auto; }
}

/* ── 4. Brand column ────────────────────────────────────────────────────────── */
.ftLogo {
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}

.ftLogo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.ftDesc {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .65);
  margin: 0 0 18px;
  max-width: 280px;
}

.ftTrust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.ftTrust__pill {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  white-space: nowrap;
}

/* Quick nav row */
.ftQuickNav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.ftQuickNav__link {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .50);
  text-decoration: none;
  transition: color 180ms ease;
}
.ftQuickNav__link:hover { color: var(--es-orange); }

/* ── 5. Column title ────────────────────────────────────────────────────────── */
.ftCol__title {
  font-family: var(--es-font-brand);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--es-orange);
  display: inline-block;
}

/* ── 6. Footer links list ───────────────────────────────────────────────────── */
.ftLinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ftLinks__item { line-height: 1; }

.ftLinks__link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: color 180ms ease, padding-inline-end 180ms ease;
}

.ftLinks__link:hover {
  color: var(--es-orange);
  padding-inline-end: 4px;
}

.ftLinks__arrow {
  font-size: 9px;
  color: var(--es-blue);
  flex-shrink: 0;
  transition: color 180ms ease;
}
.ftLinks__link:hover .ftLinks__arrow { color: var(--es-orange); }

/* Highlighted link (e.g. "كل مناطق التغطية") */
.ftLinks__link--hl {
  color: var(--es-orange);
  font-weight: 700;
}
.ftLinks__link--hl .ftLinks__arrow { color: var(--es-orange); }

/* ── 7. Contact column ──────────────────────────────────────────────────────── */
.ftContact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-style: normal;
  margin-bottom: 20px;
}

.ftContact__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .70);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 180ms ease;
}

a.ftContact__row:hover { color: var(--es-orange); }

.ftContact__row--static { cursor: default; }

.ftContact__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, .07);
  border-radius: 7px;
  font-size: 12px;
  color: var(--es-orange);
  flex-shrink: 0;
}

.ftContact__val {
  font-size: 13.5px;
  font-weight: 500;
  color: inherit;
}

/* ── 8. Social icons ────────────────────────────────────────────────────────── */
.ftSocial {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ftSocial__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 15px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 130ms ease;
}

.ftSocial__btn:active { transform: scale(.91); }
.ftSocial__btn:focus-visible { outline: 3px solid var(--es-orange); outline-offset: 2px; }

.ftSocial__btn--fb {
  background: rgba(24, 119, 242, .15);
  color: #5890ff;
}
.ftSocial__btn--fb:hover { background: #1877f2; color: #fff; }

.ftSocial__btn--wa {
  background: rgba(37, 211, 102, .15);
  color: #25d366;
}
.ftSocial__btn--wa:hover { background: #25d366; color: #fff; }

.ftSocial__btn--yt {
  background: rgba(255, 0, 0, .12);
  color: #ff4444;
}
.ftSocial__btn--yt:hover { background: #ff0000; color: #fff; }

/* ── 9. Footer bottom bar ───────────────────────────────────────────────────── */
.ftBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}

.ftBottom__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  margin: 0;
}

.ftBottom__copy a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color 180ms ease;
}
.ftBottom__copy a:hover { color: var(--es-orange); }

.ftBottom__links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ftBottom__links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
  text-decoration: none;
  transition: color 180ms ease;
}
.ftBottom__links a:hover { color: rgba(255, 255, 255, .80); }

.ftBottom__sep {
  color: rgba(255, 255, 255, .20);
  font-size: 11px;
}

@media (max-width: 575.98px) {
  .ftBottom {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
}

/* ── 10. Floating action bar ────────────────────────────────────────────────── */
.floatBar {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 20px;        /* RTL: renders on the LEFT side */
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Slide-in on load */
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 300ms cubic-bezier(.4, 0, .2, 1),
              opacity    300ms ease;
}

.floatBar.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.floatBar.is-hidden {
  transform: translateX(calc(-100% - 20px));
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .floatBar { transition: none; }
}

/* Each button */
.floatBar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(23, 34, 77, .25);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.floatBar__btn:focus-visible {
  outline: 3px solid var(--es-orange);
  outline-offset: 3px;
}
.floatBar__btn:active { transform: scale(.90); }

/* WhatsApp */
.floatBar__btn--wa {
  background: #25d366;
  color: #ffffff;
}
.floatBar__btn--wa:hover {
  background: #1ebe5a;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .40);
}

/* Call */
.floatBar__btn--call {
  background: var(--es-orange);
  color: #ffffff;
}
.floatBar__btn--call:hover {
  background: var(--es-orange-dark);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(246, 135, 18, .42);
}

/* Back to top */
.floatBar__btn--top {
  background: var(--es-navy);
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: 16px;
}
.floatBar__btn--top:hover {
  background: var(--es-blue);
  color: #ffffff;
  border-color: var(--es-blue);
}

/* ── 11. Print ──────────────────────────────────────────────────────────────── */
@media print {
  .ftCta,
  .floatBar { display: none !important; }

  .siteFooter {
    background: #fff !important;
    color: #000 !important;
  }
}
