/* Site footer: logo + contact (left), nav (right). Overrides Divi #main-footer height hacks. */
#main-footer.hc-site-footer {
  height: auto !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(182, 139, 69, 0.12), transparent 42%),
    linear-gradient(180deg, #121921 0%, #0b0f14 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 0;
  margin-top: 0;
}

.hc-site-footer .hc-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: 36px;
}

.hc-site-footer .hc-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

/* Light panel so dark logo lettering (e.g. HENGCHENG) stays readable on dark footer */
.hc-site-footer .hc-footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: min(100%, 340px);
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 242, 235, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hc-site-footer .hc-footer-logo-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.hc-site-footer .hc-footer-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  max-width: 420px;
}

.hc-site-footer .hc-footer-firm {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 12px;
}

.hc-site-footer .hc-footer-card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hc-site-footer .hc-footer-card p:last-child {
  margin-bottom: 0;
}

.hc-site-footer a.hc-footer-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 139, 69, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hc-site-footer a.hc-footer-link:hover {
  color: #e8c37a;
  border-bottom-color: rgba(232, 195, 122, 0.6);
}

.hc-site-footer .hc-footer-addr {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.hc-site-footer .hc-footer-nav {
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.hc-site-footer .hc-footer-nav-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 195, 122, 0.95);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hc-site-footer .hc-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hc-site-footer .hc-footer-menu a {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.hc-site-footer .hc-footer-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hc-site-footer .hc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 28px;
  margin-top: 0;
}

.hc-site-footer .hc-footer-legal {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 980px) {
  .hc-site-footer .hc-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hc-site-footer .hc-footer-nav {
    justify-self: start;
    max-width: none;
  }

  .hc-site-footer .hc-footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .hc-site-footer .hc-footer-menu a {
    margin: 0;
    padding: 6px 0;
  }
}
