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

.site-footer {
  background: #050816;
  color: rgba(229, 231, 235, 0.9);
  padding-block: 72px 32px;
  margin-top: 0;
  border-top: 1px solid #020617;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Top grid */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 32px;
  align-items: flex-start;
}

.footer-col {
  font-size: var(--text-sm);
  color: rgba(209, 213, 219, 0.9);
}

/* Brand column */
.footer-col-brand {
  max-width: 280px;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 14px;
}

.footer-logo-mark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo-slash {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
}

.footer-brand-text {
  font-size: var(--text-sm);
  color: rgba(148, 163, 184, 0.95);
}

.footer-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}

.footer-flags img {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.3);
}

.footer-flag-link {
  display: inline-flex;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.footer-flag-link:hover {
  transform: translateY(-1px);
}

.footer-flag-link.is-active {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.45);
}

.footer-flag-uae {
  object-position: 30% 50%;
}

.btn--whatsapp {
  margin-top: 4px;
}

/* Column labels */
.footer-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(156, 163, 175, 0.95);
  margin-bottom: 14px;
}

/* Contact list */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list-title {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(156, 163, 175, 0.95);
  margin-bottom: 2px;
}

/* Quick links */
.footer-links-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--text-sm);
}

.footer-links-nav a {
  color: rgba(209, 213, 219, 0.9);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.12s ease;
}

.footer-links-nav a:hover {
  color: #f9fafb;
  transform: translateX(2px);
}

/* CTA + socials */
.footer-col-cta {
  max-width: 320px;
}

.footer-cta-text {
  font-size: var(--text-sm);
  color: rgba(148, 163, 184, 0.96);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-item {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(229, 231, 235, 0.95);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.footer-social-item:hover {
  background: linear-gradient(135deg, #111827, #020617);
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
}

/* Bottom row */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(148, 163, 184, 0.9);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 18px;
  margin-top: 8px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-links a {
  color: rgba(148, 163, 184, 0.9);
  text-decoration: none;
  transition: color 0.16s ease;
}

.footer-legal-links a:hover {
  color: #f9fafb;
}

/* Responsive footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding-block: 52px 28px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
