/* --------------------------------------------------------------------------
   Pie de página
   Estructura tomada del theme Olivetti: fondo oscuro con mapa punteado,
   logo blanco, columnas de menú, fila de iconos y copyright centrado.
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ink-900);
  background-image: url("../../images/dotted-map.png");
  background-size: contain;
  background-repeat: repeat;
  color: var(--ink-000);
}

.footer-main {
  padding-top: 3.125rem;
  padding-bottom: 1.875rem;
}

@media (min-width: 768px) {
  .footer-main { padding-top: 5rem; }
}

.footer-top {
  margin-bottom: 2.5rem;
  max-width: 16.875rem;
}

@media (min-width: 768px) {
  .footer-top { margin-bottom: 3.125rem; max-width: 16.5rem; }
}

.footer-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-middle {
  display: flex;
  flex-wrap: wrap;
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
}

@media (min-width: 768px) {
  .footer-middle { padding-top: 3.125rem; padding-bottom: 2.1875rem; }
}

.footer-col {
  width: 100%;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-col { width: 25%; margin-bottom: 0; padding-right: 1rem; }
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-000);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.625rem; }

.footer-col a {
  color: var(--ink-000);
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-col a:hover { color: var(--ink-000); opacity: 0.7; }

.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.footer-social li { display: flex; align-items: center; }

.footer-social a {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.footer-social svg {
  display: block;
  height: 1.125rem;
  width: auto;
  fill: var(--ink-000);
}

@media (min-width: 768px) {
  .footer-social svg { height: 1.375rem; }
}

.footer-social img { display: block; width: 30px; height: 30px; }

.footer-social a:hover { opacity: 0.7; }

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .footer-copyright { padding-top: 1.875rem; }
}

.footer-copyright p {
  margin: 0.9375rem 0;
  font-size: 0.75rem;
  line-height: 2;
  color: var(--ink-000);
}

@media (min-width: 768px) {
  .footer-copyright p { font-size: 0.8125rem; line-height: 1.85; }
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-copyright a:hover { color: var(--ink-000); }
