/* ============================================================
   SEIFERT DYNAMICS — Site Footer
   ============================================================ */

.site-footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border-dim);
  color: var(--text-secondary);
}

/* ── Footer Top ──────────────────────────────────────────── */

.footer-top {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* Footer Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
}

.footer-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-desc {
  font-size: var(--fs-sm);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  max-width: 280px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-contact-info a,
.footer-contact-info span {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-contact-info a:hover {
  color: var(--text-secondary);
}

/* Footer Nav Column */
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.footer-nav-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--sp-1);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
}

.footer-nav-list a {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--text-primary);
}

/* ── Footer Bottom ───────────────────────────────────────── */

.footer-bottom {
  padding: var(--sp-6) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── Temple Enterprise Line ──────────────────────────────── */

.footer-holding {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: var(--sp-10);
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-12);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: var(--sp-5);
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-4);
  }

  .footer-legal-links {
    justify-content: center;
  }

  .footer-bottom-inner > div {
    align-items: center !important;
    text-align: center !important;
  }
}

@media (max-width: 560px) {
  .footer-top {
    padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem);
  }

  /* Brand row: logo + desc compact */
  .footer-brand {
    gap: var(--sp-4);
  }

  .footer-logo img {
    height: 32px;
  }

  .footer-desc {
    font-size: var(--fs-xs);
    line-height: 1.6;
  }

  /* Hide contact-info links on mobile to reduce height */
  .footer-contact-info {
    display: none;
  }

  /* Nav cols: keep 2-column layout */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8) var(--sp-6);
  }

  .footer-nav-col {
    gap: var(--sp-3);
  }

  .footer-nav-list {
    gap: var(--sp-2);
  }

  .footer-nav-list a {
    font-size: var(--fs-xs);
  }

  .footer-bottom-inner {
    gap: var(--sp-3);
  }

  .footer-legal-links {
    gap: var(--sp-4);
  }
}
