/* ===== Footer (analogous to staffing StaffingFooter) ===== */

.he-footer {
  background: #1f1c26;
  color: #fff;
  border-top: none;
}

.he-footer-container {
  max-width: 1425px;
  margin: 0 auto;
  padding: 0 80px;
}

.he-footer-inner {
  padding: 64px 0 32px;
  display: grid;
  grid-template-columns: minmax(350px, 2fr) repeat(3, minmax(175px, 1fr)) 116px;
  gap: 48px;
}

.he-footer-brand-logo {
  display: block;
  margin-bottom: 20px;
}

.he-footer-brand-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.he-footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #9a999d;
  max-width: 350px;
  margin: 0 0 24px;
}

.he-footer-brand-cta {
  display: inline-block;
  text-decoration: none;
  background: #5848f7;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 8px;
}

.he-footer-brand-cta:hover {
  background: #4738e0;
}

.he-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.he-footer-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.he-footer-nav a {
  color: #9a999d;
  text-decoration: none;
  font-size: 14px;
}

.he-footer-nav a:hover {
  color: #fff;
}

.he-footer-soc {
  display: flex;
  align-items: flex-start;
}

.he-footer-soc img {
  display: block;
  width: 93px;
  height: auto;
}

.he-footer-bottom {
  border-top: 1px solid #36333c;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #77757b;
}

.he-footer-bottom-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.he-footer-bottom-links a {
  color: #9a999d;
  text-decoration: none;
  font-size: 12.5px;
}

.he-footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .he-footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .he-footer-container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .he-footer {
    border-top: none;
  }

  .he-footer-inner {
    padding: 24px 0 32px;
  }
}

@media (max-width: 600px) {
  .he-footer-container {
    padding: 0 20px;
  }

  .he-footer-inner {
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    gap: 28px 32px;
  }

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

  .he-footer-nav {
    gap: 8px;
    min-width: 0;
  }

  .he-footer-nav-title {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .he-footer-nav a {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .he-footer-soc {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 4px;
  }

  .he-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
