.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-9) 0 var(--space-6);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.footer-brand h4 {
  display: none;
}

.footer-brand .site-logo {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
}

.footer-brand .site-logo em {
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand .site-logo img {
  height: 52px;
  max-width: 240px;
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 360px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer-col li a:hover {
  color: var(--white);
}

.footer-contact-item {
  font-size: 0.875rem;
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.footer-contact-item .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Hide social column until real links provided. Remove these 2 rules to re-enable. */
.footer-col:has(.footer-social) { display: none; }
@media (min-width: 768px) {
  .site-footer__grid:has(.footer-social) { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-footer__bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.site-footer__bottom a:hover {
  color: var(--white);
}
