/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background:var(--clr-dark); color:rgba(255,255,255,.75); padding:64px 0 0; font-family:var(--ff-body); }

.footer-inner {
  display:grid;
  grid-template-columns:1fr;
  gap:40px 48px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
@media(min-width:640px){
  .footer-inner { grid-template-columns:1fr 1fr; }
}
@media(min-width:1024px){
  .footer-inner { grid-template-columns:2fr 1fr 1fr 1.4fr; }
}

/* Brand column — fix overflow on mobile */
.footer-brand {
  min-width: 0;
  overflow: hidden;
}

.footer-logo { margin-bottom:16px; display:block; }
.logo-main--footer { color:var(--clr-white); font-size:20px; }
.logo-sub--footer  { color:rgba(255,255,255,.4); border-color:var(--clr-red); }
.footer-tagline { font-family:var(--ff-display); font-weight:700; font-size:13px; color:var(--clr-red); letter-spacing:.08em; text-transform:uppercase; margin-bottom:12px; }
.footer-about { font-size:13px; line-height:1.7; color:rgba(255,255,255,.5); margin-bottom:24px; max-width:280px; }
.footer-social { display:flex; gap:10px; flex-wrap:wrap; }
.footer-social-link { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.15); color:rgba(255,255,255,.6); transition:background .25s,color .25s,border-color .25s,transform .25s var(--ease-out-expo); }
.footer-social-link:hover { background:var(--clr-red); color:var(--clr-white); border-color:var(--clr-red); transform:translateY(-2px); }

/* Nav/Services/Contact columns */
.footer-nav, .footer-services, .footer-contact { min-width:0; }

.footer-col-title { font-family:var(--ff-display); font-weight:700; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--clr-white); margin-bottom:18px; position:relative; padding-bottom:10px; }
.footer-col-title::after { content:''; position:absolute; bottom:0; left:0; width:28px; height:2px; background:var(--clr-red); border-radius:1px; }
.footer-nav ul,.footer-services ul,.footer-contact ul { display:flex; flex-direction:column; gap:10px; list-style:none; padding:0; margin:0; }
.footer-link { font-size:13px; color:rgba(255,255,255,.55); transition:color .2s; line-height:1.4; text-decoration:none; display:block; }
.footer-link:hover { color:var(--clr-white); }
.footer-contact-item { display:flex; align-items:flex-start; gap:8px; }
.footer-contact-item svg { flex-shrink:0; margin-top:2px; color:var(--clr-red); opacity:.85; }
.footer-addr { font-size:12px; color:rgba(255,255,255,.45); line-height:1.65; }

/* Bottom bar — remove white line by using border-top only */
.footer-bottom {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 0;
  /* No extra border here — border is on footer-inner already */
}
.footer-copy { font-size:12px; color:rgba(255,255,255,.3); }
.footer-cert-badges { display:flex; gap:8px; }
.footer-cert { font-family:var(--ff-display); font-weight:700; font-size:10px; letter-spacing:.08em; color:rgba(255,255,255,.5); border:1px solid rgba(255,255,255,.15); padding:3px 10px; border-radius:100px; text-transform:uppercase; }


/* Remove any white border/line above footer from other sections */
.site-footer::before { display:none; }
section + .site-footer,
div + .site-footer { border-top: none; }

/* Footer logo image */
.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  /* لو اللوجو داكن — filter brightness يخليه يظهر على الخلفية الداكنة */
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity .25s;
}
.footer-logo:hover .footer-logo-img { opacity: 1; }
