/* Shared customer footer. Kept separate from the legacy footer/theme rules. */
body.customer-ui .customer-footer {
  background: #101c18;
  border-top: 3px solid #28b66d;
  color: #b0bdb7;
  overflow-wrap: anywhere;
}
.customer-footer > .container {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1320px;
  padding-left: max(clamp(16px, 2.4vw, 32px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 2.4vw, 32px), env(safe-area-inset-right));
  width: 100%;
}
.customer-footer .customer-footer-main {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .65fr) minmax(0, .8fr) minmax(0, 1.35fr);
  gap: 40px;
  padding: 56px 0 44px;
}
.customer-footer-main > * {
  min-width: 0;
}
.customer-footer .customer-footer-brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}
.customer-footer-brand img {
  background: #fff;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 13px;
  flex-shrink: 0;
  height: 48px;
  object-fit: cover;
  width: 48px;
}
.customer-footer-brand strong,
.customer-footer-brand small {
  display: block;
}
.customer-footer-brand strong {
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.2;
}
.customer-footer-brand small {
  color: #a7beb0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.8;
}
.customer-footer .customer-footer-tagline {
  color: #f0f5f2;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 21px 0 8px;
}
.customer-footer .customer-footer-description {
  color: #a8b9af;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  max-width: 270px;
}
.customer-footer .customer-footer-actions {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}
.customer-footer .customer-footer-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  line-height: 1.5;
  max-width: 100%;
  min-height: 42px;
  min-width: 0;
  padding: 10px 14px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.customer-footer .customer-footer-action-primary {
  background: #2dcc70;
  color: #092b1a;
}
.customer-footer .customer-footer-action-primary:hover {
  background: #58df90;
  color: #092b1a;
  transform: translateY(-2px);
}
.customer-footer .customer-footer-action-secondary {
  background: rgba(255, 255, 255, .035);
  border-color: #405449;
  color: #edf5f0;
}
.customer-footer .customer-footer-action-secondary:hover {
  background: #263c30;
  border-color: #6f8c7b;
  color: #fff;
  transform: translateY(-2px);
}
.customer-footer .customer-footer-main h2 {
  color: #eaf1ed;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.5;
  margin: 4px 0 22px;
  text-transform: uppercase;
}
.customer-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.customer-footer-nav li {
  margin: 0 0 6px;
  padding: 0;
}
.customer-footer .customer-footer-nav li a {
  align-items: center;
  color: #b5c4bc;
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  line-height: 1.6;
  max-width: 100%;
  min-height: 32px;
  padding: 4px 0;
  text-decoration: none;
  transition: color .2s ease;
}
.customer-footer-nav a .fa {
  color: #718c7d;
  font-size: 11px;
  margin: 0;
}
.customer-footer .customer-footer-nav a:hover,
.customer-footer .customer-footer-legal a:hover {
  color: #6be89e;
}
.customer-footer-contact address {
  display: grid;
  font-style: normal;
  gap: 13px;
  margin: 0;
}
.customer-footer .customer-footer-contact-item {
  align-items: center;
  border-radius: 9px;
  color: #d4dfd8;
  display: flex;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.customer-footer-contact-icon {
  align-items: center;
  background: #1b3327;
  border: 1px solid #2c4938;
  border-radius: 10px;
  color: #62dc95;
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.customer-footer .customer-footer-contact-location {
  align-items: stretch;
}
.customer-footer-contact-location .customer-footer-contact-icon {
  height: auto;
  min-height: 48px;
}
.customer-footer-contact-location .customer-footer-contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.customer-footer-contact-copy {
  flex: 1;
  min-width: 0;
}
.customer-footer-contact-copy small,
.customer-footer-contact-copy > span {
  display: block;
}
.customer-footer-contact-copy small {
  color: #8fa99a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.6;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.customer-footer-contact-copy > span {
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.customer-footer-contact-arrow {
  color: #789582;
  flex-shrink: 0;
  margin-right: 2px;
}
.customer-footer a.customer-footer-contact-item:hover {
  color: #fff;
}
.customer-footer-contact-item:hover .customer-footer-contact-icon {
  background: #274b37;
  border-color: #568368;
}
.customer-footer .customer-footer-bottom {
  align-items: center;
  border-top: 1px solid #2b3b32;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  /* Reserve the screen corner occupied by the fixed back-to-top button. */
  padding: 23px 80px 23px 0;
}
.customer-footer-bottom > * {
  max-width: 100%;
  min-width: 0;
}
.customer-footer .customer-footer-bottom p {
  color: #92a99b;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.customer-footer .customer-footer-legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 17px;
}
.customer-footer .customer-footer-legal a {
  color: #b5c4bc;
  font-size: 12px;
  line-height: 1.7;
  padding: 5px 0;
  text-decoration: none;
}
.customer-footer-legal > span {
  background: #486052;
  border-radius: 50%;
  flex-shrink: 0;
  height: 3px;
  width: 3px;
}
.customer-footer a:focus-visible,
body.customer-ui .customer-back-top:focus-visible {
  outline: 2px solid #8ef4b6;
  outline-offset: 5px;
}

/* A fixed, clearly named control with room around the screen edge. */
body.customer-ui #back-top {
  bottom: max(26px, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: max(26px, env(safe-area-inset-right));
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  visibility: hidden;
  z-index: 100;
}
body.customer-ui #back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
body.customer-ui .customer-back-top {
  align-items: center;
  background: linear-gradient(145deg, #ff4a55, #e32236);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(183, 25, 43, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 52px;
  justify-content: center;
  margin: 0;
  min-height: 0;
  padding: 0;
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
  width: 52px;
}
.customer-back-top svg {
  flex-shrink: 0;
  transition: transform .2s ease;
}
.customer-back-top-label {
  background: #17251e;
  border: 1px solid #3a5143;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  opacity: 0;
  padding: 7px 11px;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 12px);
  transform: translateX(5px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.customer-back-top:focus-visible .customer-back-top-label {
  opacity: 1;
  transform: translateX(0);
}
@media (hover: hover) {
  body.customer-ui .customer-back-top:hover {
    box-shadow: 0 9px 26px rgba(183, 25, 43, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
    transform: translateY(-3px);
  }
  .customer-back-top:hover svg {
    transform: translateY(-2px);
  }
  .customer-back-top:hover .customer-back-top-label {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (min-width: 1480px) {
  .customer-footer .customer-footer-bottom {
    padding-right: 0;
  }
}
/* Give navigation its own columns and contact details the full row on tablets. */
@media (min-width: 600px) and (max-width: 1199px) {
  .customer-footer .customer-footer-main {
    gap: 36px clamp(20px, 2.4vw, 28px);
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr);
  }
  .customer-footer-contact {
    grid-column: 1 / -1;
  }
  .customer-footer-contact address {
    align-items: start;
    column-gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-footer-contact-location {
    grid-column: 1 / -1;
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .customer-footer-contact address {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  }
  .customer-footer-contact-location {
    grid-column: auto;
  }
}
/* A full-width introduction and contact section keep phone text readable. */
@media (max-width: 599px) {
  .customer-footer .customer-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-footer-intro,
  .customer-footer-contact {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .customer-footer a,
  .customer-footer-contact-icon,
  body.customer-ui #back-top,
  body.customer-ui .customer-back-top,
  .customer-back-top svg,
  .customer-back-top-label {
    transition: none;
  }
}
