.site-footer {
  margin-top: 76px;
  padding: 52px max(24px, calc((100% - 1320px) / 2)) 22px;
  border: 0;
  background: var(--color-accent, #304c38);
  color: var(--color-background, #f6f8f2);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(130px, .72fr)) minmax(230px, 1.15fr);
  gap: clamp(20px, 2.6vw, 38px);
}

.site-footer__brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.site-footer__brand-link img {
  width: 54px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer__brand-link::after {
  content: 'Luontoisaa';
  color: var(--color-background, #f6f8f2);
  font: 600 30px/1 var(--font-heading, Georgia, serif);
  letter-spacing: -.5px;
}

.site-footer__brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  color: var(--color-background, #f6f8f2);
  font-size: .9rem;
  line-height: 1.7;
  opacity: .9;
}

.site-footer__brand address {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: inherit;
  font-size: .86rem;
  font-style: normal;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__newsletter {
  min-width: 0;
  padding-left: clamp(18px, 2.3vw, 34px);
  border-left: 1px solid rgb(246 248 242 / 42%);
}

.site-footer .newsletter {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.site-footer .newsletter h2 {
  margin: 2px 0 12px;
  color: inherit;
  font: 600 1.16rem/1.3 var(--font-heading, Georgia, serif);
}

.site-footer .newsletter__description {
  margin: 0 0 14px;
  color: inherit;
  font-size: .87rem;
  line-height: 1.5;
  opacity: .9;
}

.site-footer .newsletter__benefits {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: .83rem;
}

.site-footer .newsletter__benefits li::before {
  content: '✓';
  display: inline-grid;
  width: 19px;
  height: 19px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-secondary, #a9c1a3);
  color: var(--color-accent, #304c38);
  font-weight: 700;
}

.site-footer .newsletter form {
  gap: 10px;
  max-width: none;
}

.site-footer .newsletter form > label:not(.newsletter__honeypot):not(.newsletter__consent) {
  font-size: .75rem;
}

.site-footer .newsletter input[type='email'] {
  min-width: 0;
  width: 100%;
  border: 1px solid rgb(246 248 242 / 80%);
  border-radius: 9px;
  background: var(--color-surface, #fff);
  color: var(--color-text, #304c38);
}

.site-footer .newsletter__consent {
  grid-template-columns: auto 1fr;
  font-size: .74rem;
  line-height: 1.4;
}

.site-footer .newsletter button {
  min-height: 42px;
  padding: 9px 18px;
  border: 0;
  border-radius: 9px;
  background: var(--color-primary, #55755a);
  color: var(--color-button-text, #fff);
  font-weight: 650;
  cursor: pointer;
}

.site-footer .newsletter button:disabled {
  cursor: wait;
  opacity: .7;
}

.site-footer .newsletter [role='status'] {
  color: inherit;
  font-size: .8rem;
}

.site-footer__column h2 {
  margin: 5px 0 17px;
  color: inherit;
  font: 600 1.16rem/1.3 var(--font-heading, Georgia, serif);
}

.site-footer nav {
  display: grid;
  gap: 11px;
}

.site-footer nav a,
.site-footer a,
.site-footer a:hover {
  color: inherit;
}

.site-footer nav a {
  width: fit-content;
  max-width: 100%;
  font-size: .88rem;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: 3px;
  opacity: .9;
}

.site-footer nav a:hover {
  text-decoration: underline;
  opacity: 1;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgb(246 248 242 / 42%);
  color: var(--color-background, #f6f8f2);
  font-size: .78rem;
}

.site-footer__bottom button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: span 2;
  }

  .site-footer__newsletter {
    grid-column: span 2;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .site-footer {
    margin-top: 48px;
    padding: 38px 22px 20px;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__newsletter {
    grid-column: auto;
    padding-left: 0;
    border-left: 0;
  }

  .site-footer__brand-link::after {
    font-size: 27px;
  }

  .site-footer__column h2 {
    font-size: 1.05rem;
  }
}

@media (max-width: 420px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer__brand,
  .site-footer__newsletter {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
@media(min-width:1101px){.site-footer:not(.site-footer--has-newsletter) .site-footer__inner{grid-template-columns:minmax(240px,1.3fr) repeat(3,minmax(150px,1fr))}}
