/* ============================================================
   FOOTER CSS  –  RekapSEO Design System
   Hello Elementor Child
   ============================================================ */

/* ── Site Footer ─────────────────────────────────────────── */
.site-footer {
  background: #0F1523 !important;
  color: rgba(255,255,255,.55);
  padding-top: 5rem !important;      /* match reference */
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }

.site-footer a  { text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer p  { margin: 0; }

/* ── Container ───────────────────────────────────────────── */
.site-footer .container {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left:  clamp(1.5rem, 5vw, 2.5rem) !important;
  padding-right: clamp(1.5rem, 5vw, 2.5rem) !important;
}

/* ── 3-Column Grid ───────────────────────────────────────── */
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.7fr 1fr 1.2fr !important;
  gap: 3.5rem !important;
  padding-bottom: 3rem !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  width: 100%;
}

/* ══════════════════════════════════════════════════════════
   BRAND COLUMN
══════════════════════════════════════════════════════════ */
.footer-brand .site-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  text-decoration: none !important;
  margin-bottom: 1.25rem !important;
}

.footer-brand .logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #1A56DB, #0EA5E9);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(26,86,219,.5);
  flex-shrink: 0;
}
.footer-brand .logo-mark svg { width: 20px; height: 20px; color: #fff; display: block; }

.footer-brand .logo-text {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -0.03em !important;
}

.footer-brand .site-logo__img { height: 36px; width: auto; }
.footer-brand .custom-logo-link { display: flex; align-items: center; }
.footer-brand .custom-logo { height: 36px; width: auto; }

.footer-brand-desc {
  font-size: .85rem !important;
  line-height: 1.8 !important;
  max-width: 320px !important;
  color: rgba(255,255,255,.45) !important;
  margin: 0 0 1.5rem 0 !important;
}

/* ── Social Icons ────────────────────────────────────────── */
.footer-social {
  display: flex !important;
  gap: 0.625rem !important;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none !important;
  flex-shrink: 0;
}
.footer-social-link:hover {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.2) !important;
}
.footer-social-link svg { display: block; }

/* ══════════════════════════════════════════════════════════
   NAV COLUMNS
══════════════════════════════════════════════════════════ */
.footer-col-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .12em !important;
  color: rgba(255,255,255,.9) !important;
  margin: 0 0 1.5rem 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1 !important;
}

/* Links list */
.footer-col .footer-links,
.footer-col .menu,
.footer-col nav > ul,
.footer-col > ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-col .footer-links a,
.footer-col .menu a,
.footer-col nav > ul a,
.footer-col > ul a {
  font-size: .875rem !important;
  color: rgba(255,255,255,.45) !important;
  text-decoration: none !important;
  transition: color .15s ease;
  display: inline-flex !important;
  align-items: center !important;
}
.footer-col .footer-links a:hover,
.footer-col .menu a:hover,
.footer-col nav > ul a:hover,
.footer-col > ul a:hover {
  color: rgba(255,255,255,.9) !important;
}

/* Contact items */
.footer-contact-link {
  font-size: .875rem !important;
  color: rgba(255,255,255,.45) !important;
  text-decoration: none !important;
  transition: color .15s ease;
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  cursor: pointer;
}
.footer-contact-link:hover { color: rgba(255,255,255,.9) !important; }
.footer-contact-link svg { flex-shrink: 0; }

/* ── Legal Links ─────────────────────────────────────────── */
.footer-legal-links {
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
  margin-top: 1.75rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
  font-size: .78rem !important;
  color: rgba(255,255,255,.3) !important;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255,255,255,.4) !important;
  text-decoration: none !important;
  transition: color .15s ease;
}
.footer-legal-links a:hover { color: rgba(255,255,255,.8) !important; }

/* ══════════════════════════════════════════════════════════
   BOTTOM BAR
══════════════════════════════════════════════════════════ */
.footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-block: 1.5rem !important;
  gap: 1rem !important;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .8rem !important;
  color: rgba(255,255,255,.28) !important;
  margin: 0 !important;
}
.footer-copy a { color: rgba(255,255,255,.4) !important; text-decoration: none !important; }
.footer-copy a:hover { color: rgba(255,255,255,.7) !important; }

.footer-tagline {
  font-size: .8rem !important;
  color: rgba(255,255,255,.22) !important;
  margin: 0 !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }
  .footer-brand { grid-column: 1 / -1 !important; }
  .footer-brand-desc { max-width: 100% !important; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; gap: 0.5rem !important; }
  .site-footer { padding-top: 3.5rem !important; }
}
