
/* =====================================================
   FOOTER + FLOATING CONTACT BUTTONS
   عدّل الألوان والأحجام من هنا فقط
   ===================================================== */

:root {
  /* ألوان الفوتر */
  --footer-bg: #24151a;
  --footer-text: #f8f3f1;
  --footer-muted: rgba(255,255,255,.78);
  --footer-link: rgba(255,255,255,.9);
  --footer-accent: #f3c7a0;
  --footer-border: rgba(255,255,255,.14);

  /* المسافات */
  --footer-top-space: 42px;
  --footer-bottom-space: 16px;
  --footer-columns-gap: 36px;

  /* إعدادات اللوجو */
  --footer-logo-height: 58px;
  --footer-logo-max-width: 150px;
  --footer-logo-gap: 14px;
  --footer-brand-font-size: 1.12rem;

  /* أزرار الاتصال والواتساب */
  --floating-button-size: 56px;
  --floating-button-offset: 20px;

  --floating-call-bg: #6f1d2e;
  --floating-call-hover: #4f1320;

  --floating-whatsapp-bg: #25d366;
  --floating-whatsapp-hover: #128c7e;
}

/* =========================
   FOOTER
   ========================= */

.site-shared-footer {
  margin-top: 0;
  color: var(--footer-text);
  background: var(--footer-bg);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--footer-columns-gap);
  padding-top: var(--footer-top-space);
  padding-bottom: 36px;
}

/* عنوان الفوتر */
.site-footer-title {
  display: inline-block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 12px;
}

.site-footer-title:hover {
  color: var(--footer-accent);
}

/* =========================
   LOGO + BRAND
   ========================= */

.site-shared-footer .footer-brand-logo {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--footer-logo-gap);
  max-width: 100%;
  margin-bottom: 14px;
  color: var(--footer-text);
  text-decoration: none;
}

.site-shared-footer .footer-brand-logo .footer-logo {
  display: block;
  width: auto;
  height: var(--footer-logo-height);
  max-width: var(--footer-logo-max-width);
  object-fit: contain;
  flex-shrink: 0;
}

.site-shared-footer .footer-brand-logo span {
  color: inherit;
  font-size: var(--footer-brand-font-size);
  font-weight: 800;
  line-height: 1.7;
}

.site-shared-footer .footer-brand-logo:hover span {
  color: var(--footer-accent);
}

/* وصف الفوتر */
.site-footer-brand p,
.site-footer-contact p {
  color: var(--footer-muted);
  line-height: 1.9;
  margin: 8px 0;
}

/* بيانات التواصل */
.site-footer-contact h2 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.site-footer-contact a {
  display: block;
  color: var(--footer-link);
  text-decoration: none;
  margin: 9px 0;
  direction: rtl;
}

.site-footer-contact a:hover {
  color: var(--footer-accent);
}

.site-footer-contact i {
  color: var(--footer-accent);
  margin-left: 8px;
  width: 18px;
}

/* =========================
   FOOTER BOTTOM
   ========================= */

.site-footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: var(--footer-bottom-space) 0;
}

.site-footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
}

/* =========================
   FLOATING CONTACT BUTTONS
   ========================= */

.floating-btn {
  position: fixed;
  z-index: 10001;
  bottom: var(--floating-button-offset);
  width: var(--floating-button-size);
  height: var(--floating-button-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  font-size: 1.35rem;
  transition: transform .2s ease, background-color .2s ease;
}

.floating-btn:hover {
  color: #fff !important;
  transform: translateY(-3px);
}

.floating-btn.call-btn {
  left: var(--floating-button-offset);
  right: auto;
  background: var(--floating-call-bg);
}

.floating-btn.call-btn:hover {
  background: var(--floating-call-hover);
}

.floating-btn.whatsapp-btn {
  right: var(--floating-button-offset);
  left: auto;
  background: var(--floating-whatsapp-bg);
}

.floating-btn.whatsapp-btn:hover {
  background: var(--floating-whatsapp-hover);
}

/* =========================
   RESPONSIVE — MOBILE
   ========================= */

@media (max-width: 767px) {
  :root {
    --footer-logo-height: 48px;
    --footer-logo-max-width: 120px;
    --footer-logo-gap: 10px;
    --footer-brand-font-size: 1rem;

    --floating-button-size: 54px;
    --floating-button-offset: 14px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .site-footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}
