.nexus-site-footer {
  background: var(--navy-deep, var(--nexus-navy-deep, var(--nx-navy, #00233f)));
  color: rgba(255, 255, 255, 0.68);
  padding: 72px clamp(24px, 5vw, 60px) 40px !important;
  font-family: inherit;
  text-align: left;
}

.nexus-site-footer * {
  box-sizing: border-box;
}

.nexus-site-footer .nexus-footer-brand,
.nexus-site-footer .nexus-footer-column,
.nexus-site-footer .nexus-footer-bottom {
  padding: 0 !important;
  min-height: 0 !important;
  align-self: start;
}

.nexus-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(3, minmax(150px, 1fr));
  align-items: start;
  gap: clamp(32px, 5vw, 60px);
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nexus-footer-brand {
  max-width: 340px;
}

.nexus-footer-wordmark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.nexus-footer-logo {
  display: block;
  width: auto;
  height: 34px;
}

.nexus-footer-logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nexus-footer-brand p,
.nexus-footer-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.87rem;
  line-height: 1.75;
  text-align: left;
}

.nexus-footer-column h2 {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 1.2;
  text-transform: uppercase;
}

.nexus-footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nexus-footer-column li {
  margin: 0;
}

.nexus-footer-column a,
.nexus-footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nexus-footer-column a:hover,
.nexus-footer-bottom a:hover {
  color: var(--green-light, var(--nexus-green-light, #b3e7c4));
}

.nexus-footer-column a:focus-visible,
.nexus-footer-bottom a:focus-visible,
.nexus-footer-wordmark:focus-visible {
  outline: 2px solid var(--green-light, var(--nexus-green-light, #b3e7c4));
  outline-offset: 4px;
  border-radius: 6px;
}

.nexus-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4cba70 0%, #275087 100%);
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.nexus-footer-cta:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #5fc982 0%, #3266a9 100%);
}

.nexus-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 32px auto 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  line-height: 1.5;
}

.nexus-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nexus-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.nexus-footer-socials svg {
  display: block;
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.nexus-footer-socials a:hover {
  border-color: var(--green, var(--nexus-green, #4cba70));
  background: rgba(76, 186, 112, 0.1);
  color: var(--green-light, var(--nexus-green-light, #b3e7c4));
}

@media (max-width: 960px) {
  .nexus-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nexus-site-footer {
    padding: 56px 24px 32px !important;
  }

  .nexus-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }

  .nexus-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
