/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  /* FIX: use token so it matches the actual bar height */
  padding-bottom: calc(var(--cta-bar-h) + 1rem);
}
@media (min-width: 961px) {
  .site-footer { padding-bottom: 0; }
}

.footer-top {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

/* Brand col */
.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.footer-hours {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background var(--duration), color var(--duration);
}
.footer-social a:hover {
  background: var(--green-700);
  color: var(--white);
}

/* Nav cols */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--duration);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-col a i { font-size: 0.7rem; color: var(--gold); flex-shrink: 0; }
.footer-col a:hover { color: var(--gold-light); }

/* Contact col */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color var(--duration);
}
.footer-contact-item a:hover { color: var(--gold-light); }

/* Bottom bar */
.footer-bottom {
  padding-block: var(--space-5);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--duration);
}
.footer-legal a:hover { color: var(--gold-light); }

/* Atlas credit */
.footer-credit {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.2);
  transition: color var(--duration);
}
.footer-credit:hover { color: rgba(255,255,255,0.5); }

/* Chat widget container (Atlas Connect) */
#ac-chat-placeholder { /* widget injected here by main.js */ }
