/* ==========================================================================
   Footer
   ========================================================================== */

.lgb-footer {
  background-color: var(--color-black);
  color: var(--color-warm-white);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}

/* No scroll-reveal in footer */
.lgb-footer,
.lgb-footer .lgb-reveal,
.lgb-footer .lgb-reveal--stagger,
.lgb-footer .lgb-reveal--stagger > * {
  opacity: 1;
  transform: none;
  transition: none;
}

.lgb-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-md);
  margin-bottom: var(--space-xl);
  text-align: center;
  justify-items: center;
}

.lgb-footer__brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ayuda — full width centered under the two columns */
.lgb-footer__grid > div:nth-child(4) {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .lgb-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    text-align: left;
    justify-items: stretch;
  }

  .lgb-footer__brand {
    grid-column: auto;
    display: block;
    align-items: flex-start;
  }

  .lgb-footer__grid > div:nth-child(4) {
    grid-column: auto;
  }
}

.lgb-footer__brand img {
  height: 64px;
  width: auto;
  margin-bottom: var(--space-md);
}

.lgb-footer__tagline {
  font-size: var(--font-size-sm);
  color: rgba(247, 245, 242, 0.6);
  max-width: 28ch;
  line-height: var(--line-height-relaxed);
}

@media (max-width: 767px) {
  .lgb-footer__tagline {
    max-width: 36ch;
  }
}

.lgb-footer__title {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.lgb-footer__links li {
  margin-bottom: 0.5rem;
}

.lgb-footer__links a {
  font-size: var(--font-size-sm);
  color: rgba(247, 245, 242, 0.75);
  transition: color var(--transition-fast);
}

.lgb-footer__links a:hover {
  color: var(--color-gold);
}

.lgb-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(247, 245, 242, 0.1);
  font-size: var(--font-size-xs);
  color: rgba(247, 245, 242, 0.5);
  letter-spacing: 0.04em;
}

.lgb-footer__copy {
  margin: 0;
}

.lgb-footer__credit {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
}

.lgb-footer__credit a {
  color: rgba(247, 245, 242, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.lgb-footer__credit a:hover {
  color: var(--color-gold);
}

.lgb-footer__heart {
  display: inline-flex;
  color: var(--color-gold);
  line-height: 0;
}

.lgb-footer__heart svg {
  display: block;
}

@media (min-width: 768px) {
  .lgb-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
  }

  .lgb-footer__copy {
    justify-self: start;
  }

  .lgb-footer__credit {
    justify-self: center;
  }

  .lgb-footer__social {
    justify-self: end;
  }
}

.lgb-footer__social {
  display: flex;
  gap: var(--space-md);
}

.lgb-footer__social a {
  color: rgba(247, 245, 242, 0.6);
  transition: color var(--transition-fast);
}

.lgb-footer__social a:hover {
  color: var(--color-gold);
}

.lgb-footer__social svg {
  width: 20px;
  height: 20px;
}
