.gfw-footer,
.gfw-footer * {
  box-sizing: border-box;
}

.gfw-footer {
  position: relative;
  clear: both;
  width: 100%;
  color: #dbe6df;
  background: #17352b;
  font: 14px/1.55 Arial, Helvetica, sans-serif;
  text-align: left;
}

.gfw-footer-container {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
}

.gfw-footer-main {
  padding: 52px 0 46px;
  background: #17352b;
}

.gfw-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
}

.gfw-footer-column {
  min-width: 0;
}

.gfw-footer-column h2,
.gfw-footer-column h3,
.gfw-footer-column p {
  margin: 0;
  border: 0;
  color: inherit;
  font-family: inherit;
}

.gfw-footer-column h2,
.gfw-footer-column h3 {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .065em;
  line-height: 1.3;
  text-transform: uppercase;
}

.gfw-footer-column h2::after,
.gfw-footer-column h3::after {
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 10px;
  background: #9ab9a8;
  content: "";
}

.gfw-footer-column .gfw-footer-subheading {
  margin-top: 24px;
}

.gfw-footer a,
.gfw-footer a:link,
.gfw-footer a:visited {
  color: #dbe6df;
  font-family: inherit;
  text-decoration: none;
}

.gfw-footer-column > a:not(.gfw-footer-logo):not(.gfw-footer-newsletter) {
  display: block;
  padding: 4px 0;
}

.gfw-footer-column > a:hover,
.gfw-footer-column > a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gfw-footer-logo {
  display: block;
  width: min(100%, 300px);
  margin-bottom: 20px;
  padding: 10px 13px;
  border-radius: 4px;
  background: #fbfaf6;
}

.gfw-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.gfw-footer-brand p {
  max-width: 340px;
  margin-bottom: 11px;
  color: #c4d3ca;
  font-size: 13px;
}

.gfw-footer-newsletter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 3px;
  color: #ffffff !important;
  font-weight: 700;
}

.gfw-footer-newsletter:hover,
.gfw-footer-newsletter:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #17352b !important;
  text-decoration: none !important;
}

.gfw-footer-view-all {
  margin-top: 8px;
  color: #ffffff !important;
  font-weight: 700;
}

.gfw-footer-contact {
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: #102a21;
}

.gfw-footer-contact-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 18px;
}

.gfw-footer-contact-copy {
  display: flex;
  flex-direction: column;
}

.gfw-footer-contact-copy strong {
  color: #ffffff;
  font-size: 18px;
}

.gfw-footer-contact-copy span {
  margin-top: 3px;
  color: #bacdc2;
}

.gfw-footer-contact-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gfw-footer-contact-links a,
.gfw-footer-contact-links a:link,
.gfw-footer-contact-links a:visited {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border-radius: 3px;
  background: #f5f7f3;
  color: #17352b;
  font-weight: 700;
}

.gfw-footer-contact-links a:hover,
.gfw-footer-contact-links a:focus-visible {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
}

.gfw-footer-contact-links svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gfw-footer-bottom {
  padding: 24px 0 28px;
  background: #0a1d16;
}

.gfw-footer-bottom-inner {
  text-align: center;
}

.gfw-footer-bottom p {
  margin: 4px 0;
  color: #aebfb5;
  font-size: 12px;
}

.gfw-footer-bottom strong {
  color: #ffffff;
}

.gfw-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1300;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #17352b;
  color: #ffffff !important;
  font: 700 23px/1 Arial, Helvetica, sans-serif;
  text-decoration: none !important;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
  visibility: hidden;
}

.gfw-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.gfw-back-to-top:hover,
.gfw-back-to-top:focus-visible {
  background: #3f765f;
}

@media (max-width: 1180px) {
  .gfw-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gfw-footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
  }

  .gfw-footer-brand .gfw-footer-logo {
    grid-row: 1 / 4;
    margin-bottom: 0;
  }

  .gfw-footer-brand p {
    max-width: 700px;
  }

  .gfw-footer-newsletter {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .gfw-footer-main {
    padding-block: 42px 38px;
  }

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

  .gfw-footer-brand {
    grid-column: 1 / -1;
  }

  .gfw-footer-contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .gfw-footer-container {
    width: min(100% - 28px, 610px);
  }

  .gfw-footer-brand {
    display: block;
  }

  .gfw-footer-brand .gfw-footer-logo {
    margin-bottom: 20px;
  }

  .gfw-footer-contact-links {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .gfw-footer-contact-links a {
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .gfw-footer-grid {
    grid-template-columns: 1fr;
  }

  .gfw-footer-brand {
    grid-column: auto;
  }

  .gfw-back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gfw-back-to-top {
    transition: none;
  }
}
