/* Footer spans the page. Sections flow into columns, so a long catalog stays tidy. */

.footer-redesign-v2 {
  border-top: 1px solid #1a3326;
  padding: 2.8rem 0 1.3rem;
  margin-top: 4.5rem;
  background: #070a08;
}

.footer-wide {
  width: min(100% - 2.5rem, 1680px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr) minmax(9rem, 12rem);
  gap: 2.5rem 4.5rem;
  align-items: start;
}

.footer-col--brand {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #eef7f1;
  font: 650 1.15rem / 1 var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-lead {
  margin: 0;
  color: #c5d9cc;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-partner {
  width: 100%;
  margin-top: 0.5rem;
}

.footer-heading {
  margin: 0 0 0.6rem;
  color: #8fb39e;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  break-inside: avoid;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% + 0.95rem);
  min-height: 2.5rem;
  padding: 0.4rem 0.95rem;
  margin-left: -0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #d7eadf;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #f2faf5;
  background: rgba(110, 168, 138, 0.09);
  border-color: rgba(110, 168, 138, 0.14);
}

.footer-list a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.footer-list--sections {
  columns: 11rem auto;
  column-gap: 2rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid #1a3326;
}

.footer-copy {
  color: #6f8a7a;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
}

.footer-legal a {
  color: #9eb5a6;
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-legal a:hover { color: #eef7f1; }

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 11rem);
  }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-partner { max-width: 26rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-partner { max-width: none; }
  .footer-list--sections { columns: 2; column-gap: 1.25rem; }
  .footer-list a { min-height: 44px; font-size: 0.9rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
