/* Shared dark-native footer used across HealthDesk IT service pages. */
footer.hd-footer {
  position: relative;
  overflow: hidden;
  padding: 62px 0 24px;
  color: #cbd7e7;
  background:
    radial-gradient(circle at 13% 0, rgba(37, 99, 235, 0.2), transparent 27%),
    radial-gradient(circle at 90% 100%, rgba(11, 122, 117, 0.12), transparent 24%),
    linear-gradient(145deg, #061226 0%, #0a1c38 57%, #07182e 100%);
}

footer.hd-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #2dd4bf);
}

footer.hd-footer > .container {
  position: relative;
}

footer.hd-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr) minmax(180px, 0.65fr);
  align-items: start;
  gap: clamp(34px, 5vw, 70px);
  padding-bottom: 8px;
}

footer.hd-footer .footer-grid > * {
  min-width: 0;
}

.hd-footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: #fff;
  text-decoration: none;
}

.hd-footer-logo-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 15px;
  background: linear-gradient(145deg, #2563eb, #1746b4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

footer.hd-footer .hd-footer-logo-icon img {
  display: block;
  width: 30px;
  height: 30px;
  max-width: 30px;
  object-fit: contain;
}

.hd-footer-wordmark strong {
  display: block;
  color: #fff;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hd-footer-wordmark span {
  display: block;
  margin-top: 3px;
  color: #8fb7ea;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer.hd-footer h2,
footer.hd-footer h3,
footer.hd-footer .footer-title {
  margin-top: 2px;
  padding-bottom: 12px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  letter-spacing: 0.01em;
}

footer.hd-footer p,
footer.hd-footer li {
  color: #b7c7da;
}

footer.hd-footer .hd-footer-nap {
  margin: 18px 0 0;
  color: #b7c7da;
  font-style: normal;
  line-height: 1.7;
}

footer.hd-footer .hd-footer-nap strong {
  color: #fff;
}

footer.hd-footer .hd-footer-nap a {
  display: inline;
}

footer.hd-footer a {
  color: inherit;
  transition: color 0.18s ease;
}

footer.hd-footer a:hover,
footer.hd-footer a:focus-visible {
  color: #7dd3fc;
}

footer.hd-footer .hd-footer-lockup:hover,
footer.hd-footer .hd-footer-lockup:focus-visible {
  color: #fff;
}

footer.hd-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 20px;
  border-top-color: rgba(255, 255, 255, 0.13);
}

@media (max-width: 680px) {
  footer.hd-footer {
    padding-top: 52px;
  }

  .hd-footer-lockup {
    margin-bottom: 14px;
  }

  footer.hd-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  footer.hd-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
