/* ============================================================
   footer.css — site footer (shared by every page)
   Skeleton for now: contact essentials + wordmark. Grows later.
   ============================================================ */

.site-footer {
  background: var(--dark);
  color: rgba(246, 243, 236, 0.72);
  padding-block: var(--space-7) var(--space-5);
}

/* full-width footer, matching the header's edge-to-edge padding */
.site-footer .container {
  max-width: none;
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 2.3fr);
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.site-footer__brand { max-width: 24rem; }
.site-footer__logo { width: 96px; height: auto; margin-bottom: var(--space-3); opacity: 0.95; }
.site-footer__tagline { font-size: 0.95rem; line-height: 1.6; }

.site-footer__col-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
  margin-bottom: var(--space-3);
}
.site-footer__contact { font-size: 0.95rem; line-height: 1.8; font-style: normal; }
.site-footer__contact a { color: #FBF9F4; }
.site-footer__contact a:hover { color: var(--gold); }
.site-footer__offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.site-footer__office { font-size: 0.95rem; line-height: 1.6; font-style: normal; }
.site-footer__office strong { color: #FBF9F4; font-weight: 600; display: block; }

/* legal bottom bar: copyright left, disclaimer right, full-width divider above */
.site-footer__legal {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(246, 243, 236, 0.14);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
}
.site-footer__bottom {
  flex: none;
  font-size: 0.72rem;
  color: rgba(246, 243, 236, 0.5);
  white-space: nowrap;
}
.site-footer__disclaimer {
  font-size: 0.72rem;          /* same as the copyright line */
  line-height: 1.5;
  color: rgba(246, 243, 236, 0.45);
  text-align: right;
}

@media (max-width: 1100px) {
  .site-footer__legal { flex-direction: column; gap: var(--space-3); }
  .site-footer__bottom { white-space: normal; }
  .site-footer__disclaimer { text-align: left; }
}

/* Footer menu column (2026-09-03): the grid grows to 4 tracks only when the
   column renders, so pages without a footer menu keep the mockup's 3 tracks. */
.site-footer__inner:has(.site-footer__links) {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.1fr);
}
.site-footer__menu { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; line-height: 1.6; }
.site-footer__menu li + li { margin-top: 0.35rem; }
.site-footer__menu a { color: #FBF9F4; text-decoration: none; }
.site-footer__menu a:hover { color: var(--gold); }

@media (max-width: 820px) {
  .site-footer__inner,
  .site-footer__inner:has(.site-footer__links) { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__inner,
  .site-footer__inner:has(.site-footer__links) { grid-template-columns: 1fr; gap: var(--space-5); }
  .site-footer__offices { grid-template-columns: 1fr; }
}
