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

.site-footer {
  background: #f9fafb;
  color: #374151;
  border-top: 1px solid #e5e7eb;
}

/* ============================================================
   FOOTER MAIN AREA
============================================================ */

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0 1rem 0;
}

/* Footer columns */
.footer-col {
  font-size: 0.75rem;
}

/* ============================================================
   BRAND / POSITIONING
============================================================ */

.footer-brand-name {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-brand-tagline {
  color: #4b5563;
  max-width: 440px;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-text {
  color: #4b5563;
  line-height: 1.6;
  max-width: 440px;
}

/* Links inside footer text (e.g. brokerage link) */
.footer-text a {
  color: #374151;
  text-decoration: underline;
}

.footer-text a:hover {
  text-decoration: none;
}

/* ============================================================
   HEADINGS & LINKS
============================================================ */

.footer-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* Navigation links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #374151;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ============================================================
   FOOTER BOTTOM / LEGAL
============================================================ */

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 1.25rem 0 2rem;
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

.footer-legal {
  margin: 0 0 0.75rem;
}

/* ============================================================
   DISCLAIMER
============================================================ */

.footer-disclaimer {
  font-size: 0.5rem;
  line-height: 1.5;
  color: #6b7280;
  max-width: 1120px;
  margin: auto;
  text-align: justify;
}

/* ============================================================
   RESPONSIVE — TABLET+
============================================================ */

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE OPTIMIZATION
============================================================ */

@media (max-width: 767px) {

  .footer-inner {
    padding: 2.25rem 1rem 1.25rem;
    gap: 2rem;
  }

  /* Improve text readability */
  .footer-text,
  .footer-brand-tagline {
    max-width: 100%;
  }

  /* Larger tap targets */
  .footer-links li {
    margin-bottom: 0.75rem;
  }

  .footer-links a {
    display: inline-block;
    padding: 4px 0;
  }

  /* Legal spacing */
  .footer-bottom {
    padding: 1rem 1rem 1.75rem;
    text-align: center;
  }

  /* Disclaimer readability */
  .footer-disclaimer {
    text-align: left;
    font-size: 0.6rem;
    padding: 0 1rem;
  }
}