/* ============================================================
   DESERT SAGE DRAFTING — Footer Styles
   ============================================================ */

#site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 5rem 0 0;
}

/* ── Footer Top Grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ── Brand Column ── */
.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
  /* invert logo for dark bg if needed — remove if logo is dark-bg compatible */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
  transition: color var(--trans);
}
.footer-contact-item:hover { color: var(--sand-light); }
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--sage-light); }

/* ── Link Columns ── */
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--trans);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul li a:hover { color: var(--sand-light); }
.footer-col ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage-light);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── Newsletter ── */
.footer-newsletter {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-newsletter-text h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-newsletter-text p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-newsletter-form input {
  padding: 0.7rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.9rem;
  min-width: 240px;
  transition: border-color var(--trans);
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--sage-light);
  background: rgba(255,255,255,0.1);
}

/* ── Footer Bottom ── */
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--trans);
  letter-spacing: 0.04em;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-newsletter { flex-direction: column; align-items: flex-start; }
  .footer-newsletter-form { width: 100%; }
  .footer-newsletter-form input { min-width: 0; flex: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
