/* ─── Footer (mobile-first) ─── */
.site-footer {
  background-color: #0A5953;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Eurostile', sans-serif;
  overflow-x: hidden;
}

/* inner container */
.footer-inner {
  width: 100%;
  margin: 0 auto;         /* center horizontally */
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* columns: mobile = single, centered */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;   /* center items on mobile */
}

/* bottom row */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

/* logo */
.footer-logo {
  height: 10rem;
  width: auto;
  margin: 2rem auto 0;    /* centered on mobile */
}

/* headings */
.footer-heading {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  text-align: center;
}

/* nav list */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;      /* mobile center */
}
.footer-link {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}
.footer-link:hover { color: #a3c4f3; }

/* text blocks */
.footer-text { margin: 0.25rem 0; text-align: center; }

/* copyright */
.footer-copy { margin: 0; font-size: 0.875rem; opacity: 0.8; }

/* ─── Desktop & up ─── */
@media (min-width: 768px) {
  .footer-inner {
    max-width: min(50rem, 50vw);  /* match site’s max width */
    text-align: left;
    padding: 0;
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;         /* left-align items on desktop */
  }

}
