/* footer.css — standard footer */

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

.footer{
  border-top: 2px solid var(--line);
  padding: 22px 0;
  margin-top: 42px;

  background: var(--header-blue);
  color: var(--header-text);
}

/* Footer: keep small text size, but force white */
.footer .small{
  color: var(--header-text) !important;
}
/* Remove the global footer top margin ONLY when footer follows the firm page */
/* Know Us page: always keep text justified */
/* Work with us: keep email aligned to the right at all widths */
/* Text takes remaining space */
/* Email stays pinned to the right */
/* Reduce space between Work with us section and footer (Know Us page) */
.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.small{ color: var(--muted); font-size: 13px; }

.footer-left{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Legal links between left text and contact icons */
.footer-legal{
  display: flex;
  align-items: center;              /* aligns with the mid-point of 2-line left block */
  justify-content: space-between;   /* evenly distributes Terms vs Privacy */
  min-width: 260px;
}

.footer-legal a{
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.footer-contact{
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact .label{ font-size: 0.95rem; font-weight: 500; color: var(--header-text); }

.footer-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--header-text);
  background: var(--header-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-icon img{
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}
