/* Dream Lands — Site footer */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  color: var(--muted);
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .9rem;
}

.footer-brand img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-tagline {
  font-size: .9rem;
  line-height: 1.6;
  max-width: 30ch;
}

.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  transition: color .15s;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--green-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
  margin-bottom: .7rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--green-light);
}

.footer-socials {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background .15s, color .15s, transform .15s;
}

.footer-socials a:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  font-size: .82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--green-light);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 1.5rem;
  }

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

  /* keep the footer clear of the fixed mobile bottom-nav */
  .site-footer {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
