/* ─────────────────────────────────────────────────────────────────────────
   QuickRide Africa — Footer
───────────────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--c-ink);
  border-top: 1px solid var(--c-gold-border);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

/* ─── Main footer grid ───────────────────────────────────────────────────── */

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

/* Brand column */
.footer__brand {}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-bottom: var(--sp-5);
}
.footer__logo-img {
  height: 208px;
  width: auto;
  display: block;
}
.footer__logo-primary {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--c-pearl);
}
.footer__logo-secondary {
  font-family: var(--f-label);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--c-slate);
  line-height: 1.7;
  max-width: 28ch;
  margin-bottom: var(--sp-6);
}

.footer__services-tag {
  font-family: var(--f-label);
  font-size: 10px;
  color: rgba(138, 155, 181, 0.5);
  line-height: 1.9;
}

/* Nav columns */
.footer__col-title {
  font-family: var(--f-label);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-size: var(--fs-sm);
  color: var(--c-slate);
  transition: color var(--dur-fast);
}
.footer__link:hover { color: var(--c-pearl); }

/* Contact column */
.footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.footer__contact-label {
  font-family: var(--f-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(138, 155, 181, 0.5);
}
.footer__contact-value {
  font-size: var(--fs-sm);
  color: var(--c-slate);
  transition: color var(--dur-fast);
}
.footer__contact-value a {
  color: var(--c-slate);
  transition: color var(--dur-fast);
}
.footer__contact-value a:hover,
.footer__contact-value:hover { color: var(--c-pearl); }

/* ─── Bottom bar ─────────────────────────────────────────────────────────── */

.footer__bottom {
  border-top: 1px solid var(--c-divider-dark);
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(138, 155, 181, 0.45);
}

.footer__built-by {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-xs);
  color: rgba(138, 155, 181, 0.35);
  text-decoration: none;
  transition: opacity var(--dur-fast);
}
.footer__built-by:hover { opacity: 0.7; }
.footer__built-by-logo {
  height: 135px;
  width: auto;
  opacity: 0.45;
  display: block;
}

.footer__legal-links {
  display: flex;
  gap: var(--sp-6);
}
.footer__legal-link {
  font-size: var(--fs-xs);
  color: rgba(138, 155, 181, 0.45);
  transition: color var(--dur-fast);
}
.footer__legal-link:hover { color: var(--c-slate); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand { grid-column: auto; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
}
