/* Shared footer — same on all pages. Do not override on individual pages. */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darker);
}

/* Centered container: constrained width, no stretch. */
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 36px;
  background: rgba(255, 255, 255, 0.04);
}

/* Five columns on desktop: brand, product, help, resources, legal. Left-aligned grid, no justify-between. */
.footer-inner.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr 0.95fr;
  column-gap: 48px;
  align-items: start;
  margin-bottom: 2rem;
}

.footer-brand-column .footer-brand {
  max-width: 320px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-brand .logo-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 2.5;
}

.footer-brand span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 18px 0;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
}

@media (max-width: 1100px) {
  .footer-inner.footer-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-inner.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-brand-column .footer-brand,
  .footer-tagline {
    max-width: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
