/* =========================================================================
   Footer
   ========================================================================= */

footer.foot {
  background: var(--charcoal-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

/* ── Credentials bar ── */

.foot-credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0;
  margin-bottom: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.foot-cred {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot-cred .cred-val {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.foot-cred .cred-val .accent { color: var(--electric-blue-300); }
.foot-cred .cred-val .star { color: #FFB400; font-family: var(--font-body); font-size: 24px; margin-left: 2px; }
.foot-cred .cred-lab {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* Badge credential variant */
.foot-cred.badge-cred {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.foot-cred.badge-cred .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(33, 133, 247, 0.18);
  border: 1px solid rgba(33, 133, 247, 0.4);
  color: var(--electric-blue-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.foot-cred.badge-cred .badge-icon .lucide { width: 20px; height: 20px; }
.foot-cred.badge-cred .badge-icon .zillow-icon {
  width: 22px;
  height: 28px;
}
.foot-cred.badge-cred .badge-text strong {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}
.foot-cred.badge-cred .badge-text span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

/* ── Footer grid ── */

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
  align-items: start;
}
.foot-brand .foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}
.foot-brand .foot-logo svg { width: 36px; height: 36px; display: block; }
.foot-brand .foot-logo .foot-wordmark {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.01em;
}
.foot-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 380px;
}
.foot-contact { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); }
.foot-contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.foot-contact a:hover { color: #fff; text-decoration: underline; }
.foot-contact .row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.foot-contact .row .lucide { width: 14px; height: 14px; margin-top: 3px; flex-shrink: 0; color: var(--electric-blue-300); }

.foot-col h5 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin: 0 0 18px;
}
.foot-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 150ms var(--ease-out);
}
.foot-col a:hover { color: #fff; text-decoration: none; }

/* ── Legal row ── */

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom .legal-row { display: flex; gap: 24px; }
.foot-bottom a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

@media (max-width: 880px) {
  .foot-credentials { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .foot-credentials { grid-template-columns: 1fr; }
}
