/* Shared footer for the main site, blog articles, and case studies. */
footer.site-footer {
  background: #f3f7f4;
  color: #182d23;
  border-top: 1px solid #dce6df;
  font-family: var(--font-sans);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-footer a:hover {
  color: #187541;
}

.site-footer a:focus-visible {
  outline: 2px solid #187541;
  outline-offset: 5px;
  border-radius: 3px;
}

.site-footer-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 0 36px;
  border-bottom: 1px solid #d5e1d9;
}

.site-footer-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #187541;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-footer-intro h2 {
  margin: 0;
  color: #182d23;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.site-footer a.site-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 24px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 6px;
  background: #187541;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer a.site-footer-cta:hover {
  background: #105b31;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 0.75fr 1.1fr;
  gap: 40px;
  padding: 44px 0;
}

.site-footer-grid > * {
  min-width: 0;
}

.site-footer-logo {
  display: inline-block;
}

.site-footer-logo img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
}

.site-footer .site-footer-brand p {
  max-width: 255px;
  margin: 20px 0 22px;
  color: #526159 !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.7;
}

.site-footer-social,
.site-footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d5e1d9;
  border-radius: 50%;
  font-size: 19px;
  background: #fff;
}

.site-footer-social a:hover {
  background: #e0eee5;
}

.site-footer-column h3 {
  margin: 0 0 18px;
  color: #182d23;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.site-footer-links li + li {
  margin-top: 8px;
}

.site-footer-links a {
  display: inline-block;
  padding: 2px 0;
  color: #526159;
  font-size: 16px;
  line-height: 1.5;
}

.site-footer-links a:hover,
.site-footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer-contact address {
  margin: 0 0 20px;
  color: #526159;
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
}

.site-footer-phone + .site-footer-phone {
  margin-top: 16px;
}

.site-footer-phone span {
  display: block;
  margin-bottom: 3px;
  color: #526159;
  font-size: 13px;
}

.site-footer-phone a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 3px 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer-phone i {
  color: #187541;
  font-size: 13px;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 22px 0;
  border-top: 1px solid #d5e1d9;
}

.site-footer .site-footer-bottom p {
  margin: 0;
  color: #526159 !important;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1.6;
}

.site-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: #526159;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1199px) {
  .site-footer-grid {
    gap: 28px;
  }
}

@media (max-width: 991px) {
  .site-footer-intro {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 575px) {
  .site-footer > .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-footer-intro {
    padding: 36px 0 28px;
    gap: 24px;
  }

  .site-footer a.site-footer-cta {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
  }

  .site-footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    padding: 32px 0;
    gap: 30px 20px;
  }

  .site-footer-brand,
  .site-footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer .site-footer-brand p {
    max-width: 320px;
  }

  .site-footer-links a {
    padding: 5px 0;
  }

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0 28px;
  }
}
