/* Footer — 4 link columns + bottom bar */

.savvy-footer {
  background: var(--surface-inverse);
  color: var(--text-on-dark);
}

.savvy-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-9) var(--container-padding) var(--space-5);
}

.savvy-footer__cols {
  display: grid;
  /* Brand column is wider than the other three so the logo can be a good size
     AND there's natural space between it and the Quick Links column (the logo
     is capped below the track width, leaving a gap to its right). */
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-6);
}

.savvy-footer__col h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-uppercase);
  color: var(--text-on-dark);
  opacity: 0.7;
  margin: 0 0 var(--space-4);
}

.savvy-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.savvy-footer__col a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: var(--fs-sm);
  opacity: 0.85;
}
.savvy-footer__col a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.savvy-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.savvy-footer__brand-logo {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  /* Logo PNG now has a genuinely transparent background (black painted out via
     Imagick), so it sits cleanly on the dark footer — no blend hack, no box. */
}
/* Company description below the footer logo. Replaces the old italic strapline
   (the new logo already includes "Devoted to vigil, committed to secure").
   Plain muted body copy. */
.savvy-footer__brand-desc {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  opacity: 0.7;
  line-height: 1.6;
  margin: 0;
  max-width: 42ch;
}

.savvy-footer__contact {
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  opacity: 0.9;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
}
.savvy-footer__contact a {
  color: var(--text-on-dark);
  text-decoration: none;
  opacity: 1;
}
.savvy-footer__contact a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.savvy-footer__col--trust ul {
  gap: var(--space-3);
}
.savvy-footer__col--trust img {
  height: 32px;
  width: auto;
  display: block;
  filter: grayscale(1) brightness(1.2) contrast(0.9);
  opacity: 0.85;
}
.savvy-footer__col--trust li {
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  opacity: 0.8;
}

/* Find Us map (replaces the old accreditations column) */
.savvy-footer__map {
  margin-top: var(--space-3);
}
.savvy-footer__map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: var(--radius-md);
}

.savvy-footer__trust {
  margin-top: var(--space-7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.savvy-footer__copyright {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  opacity: 0.6;
  text-align: center;
}

.savvy-footer__badges {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}
.savvy-footer__badges img {
  height: 40px;
  width: auto;
  opacity: 0.75;
}

.savvy-footer__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  opacity: 0.65;
  text-align: right;
}

.savvy-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.savvy-footer__social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  opacity: 0.8;
  color: var(--text-on-dark);
}
.savvy-footer__social a:hover {
  opacity: 1;
  border-color: var(--text-on-dark);
  background: rgba(255,255,255,0.04);
}
.savvy-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .savvy-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .savvy-footer__trust { flex-direction: column; align-items: flex-start; }
  .savvy-footer__meta { text-align: left; }
}
