
/* Lumina · componente Footer */

/* Contenedor principal */
.site-footer {
  margin-top: 0;
  padding: 2rem 0 1.5rem;
  background-color: #403332;
  background-image: url(../../assets/img/vector-footer.svg);
  background-position: center;
  color: #f4eee8;
  border-top: 1px solid #5b4b48;
  font-family: var(--fuente-texto, "Montserrat", system-ui, sans-serif);
}

/* Contenido principal */
.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 170px;
  align-items: start;
  gap: 2rem;
  padding: 0 0 1.5rem;
}

/* Logo y descripción */
.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

/* Enlace del logo */
.site-footer .site-brand {
  display: inline-block;
  width: 190px;
  max-width: 190px;
  margin: 0;
  padding: 0;
  text-decoration: none;
  line-height: 0;
}

/* Imagen del logo */
.site-footer .site-footer-logo {
  display: block;
  width: 190px;
  max-width: 190px;
  height: auto;
  margin: 0;
  padding: 0;
  object-fit: contain;
}

/* Frase de la marca */
.site-footer-text {
  margin: -18;
  padding: 0;
  color: #f0e9e2;
  font-size: 1rem;
  line-height: 1.4;
}

/* Redes sociales */
.site-footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.site-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4eee8;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-social a:hover {
  color: #d5bfa5;
}

/* Columnas de navegación */
.site-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

/* Títulos de las columnas */
.site-footer-nav h3 {
  margin: 0 0 0.3rem;
  color: #f4eee8;
  font-family: var(--fuente-titulos, "Recoleta", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Enlaces */
.site-footer-link {
  color: #eee5df;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-link:hover {
  color: #d5bfa5;
}

/* Línea inferior y derechos reservados */
.site-footer-bottom {
  padding: 0.8rem 0.5rem 0;
  border-top: 1px solid rgba(244, 238, 232, 0.55);
  text-align: center;
}

.site-footer-bottom p {
  margin: 0;
  color: #f4eee8;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Adaptación a tabletas */
@media (max-width: 768px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1.5rem 1.5rem;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

/* Adaptación a celulares */
@media (max-width: 600px) {
  .site-footer {
    padding-top: 1.5rem;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 0 1rem 1.5rem;
  }

  .site-footer .site-brand,
  .site-footer .site-footer-logo {
    width: 140px;
    max-width: 140px;
  }

  .site-footer-text {
    font-size: 0.9rem;
  }

  .site-footer-nav h3 {
    font-size: 1.05rem;
  }

  .site-footer-link {
    font-size: 0.9rem;
  }

  .site-footer-social a {
    font-size: 1.25rem;
  }

  .site-footer-bottom p {
    font-size: 0.8rem;
  }
}

/* Acercar el eslogan al logo */
.site-footer-brand .site-footer-text {
  margin-top: -25px;
}
