/* footer.css · Pie de página (grid 3 columnas desktop, stack mobile) */
.site-footer {
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--color-text);
  opacity: 0.7;
  border-top: 1px solid var(--color-text-muted);
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-style: normal;
}

.site-footer__links a {
  color: var(--color-text);
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.site-footer__links a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* Claim cuantitativo del footer (Website Carbon, verificado 23 Jun 2026).
   Mobile: ocupa su propia línea debajo de los links.
   Desktop: se alinea a la derecha del grid, separado del bloque de contacto. */
.site-footer__carbon {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.6;
  text-align: center;
}

.site-footer__carbon a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-text-muted);
  text-underline-offset: 2px;
}

.site-footer__carbon a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

@media (min-width: 720px) {
  .site-footer__grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
  }

  .site-footer__links {
    justify-content: center;
    flex: 1;
  }

  .site-footer__carbon {
    text-align: right;
    white-space: nowrap;
  }
}
