/*
  Sparkns Racks — Site footer.
  Dark charcoal→forest-green gradient (matches hero/header dark language),
  4 columns → stacked on mobile, plus Nationwide Presence strip + copyright bar.
*/

.sr-footer {
  background:
    linear-gradient(155deg, #0a0f0d 0%, #12241c 55%, #1a3b2e 100%);
  color: #d9ded9;
  font-family: 'Inter', system-ui, sans-serif;
}

.sr-footer__grid {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) 32px clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.85fr 1.1fr;
  gap: clamp(32px, 4vw, 56px);
}

.sr-footer__heading {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 16px;
}

.sr-footer__col > .sr-footer__heading:not(:first-child) {
  margin-top: 26px;
}

.sr-footer__text {
  font-size: 14px;
  line-height: 1.7;
  color: #c3cbc3;
  margin: 0;
}

.sr-footer__text a {
  color: #c3cbc3;
  text-decoration: none;
  transition: color 180ms ease;
}

.sr-footer__text a:hover,
.sr-footer__text a:focus-visible {
  color: var(--sr-green, #8fbf5c);
}

/* -------------------------------------------------- */
/* Social icons                                         */
/* -------------------------------------------------- */

.sr-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.sr-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.sr-footer__social a:hover,
.sr-footer__social a:focus-visible {
  background: var(--sr-green, #8fbf5c);
  border-color: var(--sr-green, #8fbf5c);
  color: #111111;
  transform: translateY(-2px);
}

/* -------------------------------------------------- */
/* Link lists with green chevrons                       */
/* -------------------------------------------------- */

.sr-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sr-footer__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: #c3cbc3;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.sr-footer__links a::before {
  content: '\00BB'; /* » */
  color: var(--sr-green, #8fbf5c);
  font-weight: 700;
}

.sr-footer__links a:hover,
.sr-footer__links a:focus-visible {
  color: var(--sr-green, #8fbf5c);
}

/* -------------------------------------------------- */
/* Footer map                                           */
/* -------------------------------------------------- */

.sr-footer__map {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 260px;
  background: #10201a;
}

.sr-footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

.sr-footer__map-open {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #111111;
  background: var(--sr-green, #8fbf5c);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background 200ms ease, transform 200ms ease;
}

.sr-footer__map-open:hover,
.sr-footer__map-open:focus-visible {
  background: #9ecb6c;
  transform: translateY(-1px);
}

/* -------------------------------------------------- */
/* Nationwide presence strip                            */
/* -------------------------------------------------- */

.sr-footer__presence {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  padding: clamp(28px, 4vw, 40px) 32px;
  text-align: center;
}

.sr-footer__presence-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 18px;
}

.sr-footer__cities {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
}

.sr-footer__cities li {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #aab4aa;
  padding: 0 16px;
  position: relative;
}

.sr-footer__cities li + li::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sr-green, #8fbf5c);
}

/* -------------------------------------------------- */
/* Copyright bar                                        */
/* -------------------------------------------------- */

.sr-footer__copyright {
  background: #060907;
  text-align: center;
  padding: 18px 32px;
  font-size: 13px;
  color: #8b948b;
}

.sr-footer__dev-credit {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}

.sr-footer__dev-credit a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sr-footer__dev-credit a:hover {
  color: #8FBF5C;
  text-decoration: underline;
}

/* -------------------------------------------------- */
/* Responsive                                           */
/* -------------------------------------------------- */

@media (max-width: 1024px) {
  .sr-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .sr-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .sr-footer__links {
    align-items: center;
  }

  .sr-footer__social {
    justify-content: center;
  }

  /* Leave room above the mobile sticky CTA + floating WhatsApp button
     (button spans roughly 84–136px above the viewport bottom). */
  .sr-footer__copyright {
    padding-bottom: 150px;
  }

  .sr-footer__dev-credit {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-footer__social a,
  .sr-footer__map-open,
  .sr-footer__links a {
    transition-duration: 0.01ms !important;
  }
}
