/* Eagle HEX global footer */
.eh-footer,
.eh-footer * { box-sizing: border-box; }

.eh-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid #2A2A30;
  background: linear-gradient(135deg, #101013 0%, #0A0A0C 52%, #111013 100%);
  color: #FFFFFF;
}

.eh-footer-glow {
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -140px;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid #E31E241A;
  border-radius: 50%;
  pointer-events: none;
}

.eh-footer-glow::before,
.eh-footer-glow::after {
  content: "";
  position: absolute;
  border: 1px solid #E31E2412;
  border-radius: 50%;
}

.eh-footer-glow::before { inset: 55px; }
.eh-footer-glow::after { inset: 115px; }

.eh-footer-container {
  width: min(100% - 48px, 1380px);
  margin: 0 auto;
}

.eh-footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(0, 1fr));
  gap: clamp(25px, 3vw, 48px);
  padding: 66px 0 48px;
}

.eh-footer-brand { max-width: 390px; }

.eh-footer-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 17px;
}

.eh-footer-logo img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
}

.eh-footer-description {
  max-width: 380px;
  margin: 0;
  color: #A7ADB4;
  font-size: 14px;
  line-height: 1.8;
}

.eh-footer-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.eh-footer-heading {
  position: relative;
  margin: 2px 0 7px;
  padding-bottom: 12px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: normal;
  font-kerning: normal;
}

.eh-footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF454B, #A70F15);
}

.eh-footer-column a,
.eh-footer-bottom a {
  color: #A7ADB4;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.eh-footer-column a:hover,
.eh-footer-bottom a:hover { color: #E31E24; }
.eh-footer-column a:hover { transform: translateX(3px); }

.eh-footer-column a:focus-visible,
.eh-footer-logo:focus-visible,
.eh-footer-bottom a:focus-visible {
  outline: 3px solid #E31E244A;
  outline-offset: 3px;
}

.eh-footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #FFFFFF14;
}

.eh-footer-bottom small {
  margin: 0;
  padding: 17px 0;
  color: #777D85;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1050px) {
  .eh-footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 25px;
  }
  .eh-footer-brand { grid-column: 1 / -1; max-width: 650px; }
}

@media (max-width: 700px) {
  .eh-footer-container { width: min(100% - 32px, 560px); }
  .eh-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px 18px;
    padding: 38px 0 30px;
  }
  .eh-footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    padding-bottom: 21px;
    border-bottom: 1px solid #FFFFFF14;
  }
  .eh-footer-logo { margin-bottom: 14px; }
  .eh-footer-logo img { height: 47px; max-width: min(220px, 68vw); }
  .eh-footer-description { max-width: 520px; font-size: 13px; line-height: 1.7; }
  .eh-footer-column { gap: 9px; }
  .eh-footer-heading { margin-bottom: 5px; font-size: 14px; }
  .eh-footer-column a { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
  .eh-footer-bottom { min-height: 60px; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .eh-footer-bottom small { padding: 15px 0; font-size: 11px; }
}

@media (max-width: 380px) {
  .eh-footer-container { width: min(100% - 26px, 560px); }
  .eh-footer-main { column-gap: 12px; }
  .eh-footer-column a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .eh-footer *, .eh-footer *::before, .eh-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .eh-footer-column a:hover { transform: none; }
}
