.site-footer.sli-footer {
  display: block;
  padding: 0;
  overflow: hidden;
  color: #385864;
  background: #eaf8f9;
}

.sli-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-main {
  position: relative;
  padding: clamp(38px, 4.4vw, 68px) clamp(24px, 5.2vw, 84px) clamp(40px, 4.6vw, 70px);
  background: linear-gradient(115deg, #f4fcfb 0%, #e8f7f8 55%, #e0f1ed 100%);
}

.footer-main::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 12%, rgba(255,255,255,.85), transparent 28%);
  content: "";
  pointer-events: none;
}

.footer-foliage {
  position: absolute;
  z-index: 0;
  top: -28px;
  right: -18px;
  width: 180px;
  height: 230px;
  opacity: .16;
  transform: rotate(-8deg);
  pointer-events: none;
}

.footer-foliage::before {
  position: absolute;
  top: 22px;
  left: 82px;
  width: 3px;
  height: 220px;
  border-radius: 99px;
  background: #4c8d66;
  content: "";
  transform: rotate(27deg);
  transform-origin: bottom;
}

.footer-foliage i {
  position: absolute;
  display: block;
  width: 66px;
  height: 32px;
  border-radius: 100% 0 100% 0;
  background: #4c8d66;
}

.footer-foliage i:nth-child(1) { top: 26px; left: 92px; transform: rotate(32deg); }
.footer-foliage i:nth-child(2) { top: 75px; left: 49px; transform: rotate(205deg); }
.footer-foliage i:nth-child(3) { top: 116px; left: 111px; transform: rotate(27deg); }
.footer-foliage i:nth-child(4) { top: 162px; left: 65px; transform: rotate(208deg); }

.footer-cta,
.footer-columns {
  position: relative;
  z-index: 1;
  width: min(100%, 1400px);
  margin-inline: auto;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: clamp(30px, 3.3vw, 48px);
  border-bottom: 1px solid rgba(7, 95, 130, .15);
}

.sli-footer .footer-cta h2 {
  margin: 0;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  letter-spacing: -.025em;
  line-height: 1.08;
}

.sli-footer .footer-cta p {
  margin: 10px 0 0;
  color: #536c77;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 400;
}

.footer-cta-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 28px;
  border-radius: 9px;
  color: #fff !important;
  background: #075f82;
  box-shadow: 0 12px 24px rgba(7, 95, 130, .16);
  font-size: 1.08rem;
  font-weight: 800;
}

.footer-cta-button:hover,
.footer-cta-button:focus-visible {
  background: #064e6b;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.25fr .72fr 1.08fr 1fr;
  gap: clamp(30px, 4vw, 64px);
  padding-top: clamp(32px, 3.7vw, 54px);
}

.footer-branding,
.footer-column {
  min-width: 0;
}

.footer-branding img {
  display: block;
  width: min(100%, 350px);
  height: auto;
}

.sli-footer .footer-branding p {
  margin: 18px 0 8px;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 700;
}

.footer-branding > span {
  display: block;
  max-width: 340px;
  line-height: 1.55;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.sli-footer .footer-column h2 {
  margin: 0 0 10px;
  color: #075f82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.footer-column > a {
  line-height: 1.45;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
  color: #075f82;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  font-size: clamp(.88rem, 1.05vw, 1rem);
  overflow-wrap: anywhere;
}

.footer-contact a span {
  color: #075f82;
  font-weight: 800;
  text-align: center;
}

.sli-footer .footer-contact p,
.sli-footer .footer-connected p {
  margin: 6px 0 0;
  color: #536c77;
  font-weight: 400;
  line-height: 1.55;
}

.footer-connected > a {
  margin-top: 8px;
  color: #075f82;
  font-weight: 800;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 20px clamp(24px, 5.2vw, 84px);
  color: rgba(255, 255, 255, .9);
  background: #064f62;
}

.sli-footer .footer-legal p {
  margin: 0;
  color: inherit;
  font-weight: 400;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-legal-links a {
  color: inherit;
  font-weight: 600;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1040px) {
  .footer-columns {
    grid-template-columns: 1.2fr .8fr 1fr;
  }

  .footer-connected {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid rgba(7, 95, 130, .12);
  }
}

@media (max-width: 760px) {
  .footer-main {
    padding: 34px 20px 40px;
  }

  .footer-foliage {
    top: 8px;
    right: -68px;
    opacity: .11;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .sli-footer .footer-cta h2 {
    font-size: 2.1rem;
  }

  .footer-cta-button {
    width: 100%;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-branding img {
    width: min(100%, 320px);
  }

  .footer-connected {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 22px 20px;
    font-size: .9rem;
  }

  .footer-legal-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }
}
