/* Wise Cars global footer — dark graphite, ordered and recognisably branded. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, .11) !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(193, 126, 78, .14), transparent 27%),
    linear-gradient(135deg, #202934 0%, #151c25 52%, #10161d 100%) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.site-footer::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -80px;
  width: min(820px, 62vw);
  height: 520px;
  background: url('/assets/graphics/wise-route-signature.svg') center / contain no-repeat;
  filter: brightness(2.2) saturate(.62);
  opacity: .23;
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -180px;
  bottom: -250px;
  width: 520px;
  height: 380px;
  border: 1px solid rgba(205, 151, 111, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255,255,255,.018), 0 0 0 44px rgba(205,151,111,.018);
  pointer-events: none;
}

.site-footer .footer-grid {
  position: relative;
  z-index: 1;
  width: min(1310px, calc(100% - 40px)) !important;
  grid-template-columns: minmax(300px, 1.35fr) repeat(3, minmax(155px, .65fr)) !important;
  gap: clamp(26px, 4vw, 58px) !important;
  padding: 38px 0 26px !important;
}

.site-footer .footer-logo {
  width: auto !important;
  height: 34px !important;
  margin: 0 0 14px !important;
  filter: brightness(0) invert(1) !important;
}

.site-footer .footer-brand p {
  max-width: 390px !important;
  color: rgba(226, 232, 240, .72) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}

.site-footer .footer-grid h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 14px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
}

.site-footer .footer-grid h3::before {
  content: '';
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dca475, #95613f);
  box-shadow: 0 1px 4px rgba(220, 164, 117, .2);
}

.site-footer .footer-grid a {
  position: relative;
  width: fit-content !important;
  margin: 0 0 8px !important;
  color: rgba(226, 232, 240, .72) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  transition: color .18s ease, transform .18s ease;
}

.site-footer .footer-grid a:hover,
.site-footer .footer-grid a:focus-visible {
  color: #fff !important;
  transform: translateX(2px);
}

.site-footer .footer-contact a:first-of-type,
.site-footer .footer-contact a:nth-of-type(2) {
  color: #f0c19b !important;
}

.site-footer .footer-trust-badges {
  gap: 8px !important;
  margin-top: 17px !important;
}

.site-footer .footer-trust-badges a {
  padding: 5px !important;
  border-color: rgba(255,255,255,.13) !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.12) !important;
}

.site-footer .footer-trust-badges a:hover {
  transform: translateY(-1px);
}

.site-footer .footer-trust-badges img {
  width: 108px !important;
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1310px, calc(100% - 40px)) !important;
  padding: 16px 0 19px !important;
  border-top-color: rgba(255,255,255,.09) !important;
  color: rgba(203, 213, 225, .52) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

@media (max-width: 980px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 18px !important;
    padding-bottom: 74px !important;
  }

  .site-footer::before {
    top: -80px;
    right: -170px;
    width: 540px;
    height: 340px;
    opacity: .18;
  }

  .site-footer .footer-grid,
  .site-footer .footer-bottom {
    width: calc(100% - 28px) !important;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px 18px !important;
    padding: 30px 0 22px !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-contact {
    grid-column: 1 / -1 !important;
  }

  .site-footer .footer-bottom {
    gap: 6px !important;
  }
}
