/* Hydraulic Seal Depot shared footer, based on the index-01 concept. */
.site-footer {
  --footer-navy: #001a36;
  --footer-blue: #00224b;
  --footer-electric: #00b9ff;
  --footer-gold: #f9b001;
  --footer-text: #f7fbff;
  --footer-muted: #aebfd0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--footer-gold);
  background: var(--footer-navy);
  color: var(--footer-text);
}

.site-footer a {
  color: inherit;
}

.site-footer__frame {
  width: min(calc(100% - 48px), 1480px);
  margin-inline: auto;
}

/* Align the shared footer with the navigation on every desktop page. */
@media (min-width: 1001px) {
  .site-footer__frame { width: min(92%, 1700px); }
}

.site-footer__cta,
.site-footer__main,
.site-footer__bottom {
  position: relative;
  z-index: 1;
}

.site-footer__cta-inner {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 620px);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding-block: 36px;
  border-bottom: 1px solid rgba(100, 190, 244, .2);
}

.site-footer__cta-copy > span {
  display: block;
  margin-bottom: 9px;
  color: var(--footer-gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer__cta-copy h2,
.site-footer__cta-copy p {
  margin: 0;
}

.site-footer__cta-copy h2 {
  max-width: none;
  font-size: clamp(28px, 2vw, 34px);
  line-height: 1.15;
  letter-spacing: -.012em;
  white-space: nowrap;
}

.site-footer__cta-copy p {
  max-width: 690px;
  margin-top: 12px;
  color: #cad8e6;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(91, 194, 251, .38);
  border-radius: 9px;
  background: transparent;
}

.site-footer__form input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.site-footer__form input::placeholder {
  color: #9eb2c6;
}

.site-footer__form input:focus-visible {
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px var(--footer-electric);
}

.site-footer__form button {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffc21f, var(--footer-gold));
  color: var(--footer-navy);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.site-footer__form button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.site-footer__form button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(330px, 1.7fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(42px, 5vw, 88px);
  padding-block: 62px 68px;
}

.site-footer__brand {
  max-width: 510px;
}

.site-footer .site-footer__logo {
  width: min(100%, 350px);
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid rgba(0, 185, 255, .22);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 5, 15, .25);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-footer .site-footer__logo:hover {
  border-color: rgba(0, 185, 255, .58);
  box-shadow: 0 17px 34px rgba(0, 5, 15, .3);
  transform: translateY(-2px);
}

.site-footer .site-footer__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer__brand > p {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.site-footer__highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(80, 188, 248, .26);
  border-radius: 999px;
  background: rgba(0, 88, 146, .18);
  color: #dcecff;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.site-footer__highlights span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--footer-gold);
  box-shadow: 0 0 8px rgba(249, 176, 1, .7);
}

.site-footer__links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
}

.site-footer__links h2 {
  position: relative;
  margin: 0 0 13px;
  padding-bottom: 13px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .02em;
}

.site-footer__links h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--footer-gold), var(--footer-electric));
}

.site-footer__links a,
.site-footer__links button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--footer-muted);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 150ms ease, transform 150ms ease;
}

.site-footer__links a::before,
.site-footer__links button::before {
  content: '';
  width: 0;
  height: 1px;
  margin-right: 0;
  background: linear-gradient(90deg, var(--footer-gold), var(--footer-electric));
  transition: width 150ms ease, margin-right 150ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__links button:hover,
.site-footer__links button:focus-visible {
  color: #fff;
  outline: 0;
  transform: translateX(2px);
}

.site-footer__links a:hover::before,
.site-footer__links a:focus-visible::before,
.site-footer__links button:hover::before,
.site-footer__links button:focus-visible::before {
  width: 11px;
  margin-right: 7px;
}

.site-footer__links a:focus-visible,
.site-footer__links button:focus-visible,
.site-footer__bottom a:focus-visible,
.site-footer__logo:focus-visible {
  outline: 2px solid var(--footer-gold);
  outline-offset: 4px;
}

.site-footer__bottom-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-top: 1px solid rgba(111, 165, 209, .18);
  color: #8195a9;
  font-size: 11px;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__motto {
  color: #c5d3e1;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-footer__bottom nav {
  display: flex;
  gap: 24px;
}

.site-footer__bottom a {
  color: #8195a9;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-footer__bottom a:hover {
  color: #fff;
}

.site-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .site-footer__cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px;
  }

  .site-footer__form {
    max-width: 700px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 32px;
  }

  .site-footer__brand {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-footer__frame {
    width: min(calc(100% - 36px), 42rem);
  }

  .site-footer__cta-inner {
    min-height: 0;
    padding-block: 38px;
  }

  .site-footer__cta-copy h2 {
    font-size: 27px;
    white-space: normal;
  }

  .site-footer__form {
    grid-template-columns: 1fr;
  }

  .site-footer__form button {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 46px 50px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__logo {
    min-height: 0;
  }

  .site-footer__bottom-inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 24px;
  }

  .site-footer__bottom nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    transition-duration: .01ms !important;
  }
}
