/* CareBridge — Footer compartido (site-footer.css)
   Usado por todas las páginas excepto index.html (que lo tiene inline).
   ------------------------------------------------------------------ */

.cb-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.home-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  align-items: flex-start;
}

.footer-brand-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.footer-brand-row p {
  min-width: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.footer-col-left  { justify-self: start;  text-align: left; }
.footer-col-center{ justify-self: center; text-align: center; }
.footer-col-right { justify-self: end;    text-align: right; }

.footer-col-center .footer-col-links { justify-items: center; }
.footer-col-right  .footer-col-links { justify-items: end; }

.footer-col-title {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.footer-col-links {
  display: grid;
  gap: 7px;
}

.footer-link {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: #94a3b8; }

@media (max-width: 768px) {
  .cb-footer-container { padding: 0 20px; }
}

@media (max-width: 599px) {
  .home-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .home-footer-grid .footer-col-title { font-size: 11px; }
  .home-footer-grid .footer-link      { font-size: 12px; }
}
