/**
 * Site Footer Component Stylesheet - Rebecca Field
 */

.site-footer {
  background-color: var(--color-slate-dark);
  color: var(--color-cream-bg);
  padding-top: 3rem;
  padding-bottom: 2rem;
  margin-top: auto;
  border-top: 3px solid transparent;
  border-image: var(--gradient-gold-shimmer) 1;
}

@media (min-width: 768px) {
  .site-footer {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: var(--space-xl);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.footer-logo-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--color-cream-bg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-slate-mid);
}

.footer-desc {
  font-size: clamp(0.92rem, 2vw, 0.98rem);
  color: #e2eaf2;
  max-width: 420px;
  line-height: 1.65;
  text-wrap: pretty;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-stop-45);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-links button {
  color: #f0f4f8;
  font-size: 0.98rem;
  transition: color 0.25s ease;
  background: none;
  border: none;
  padding: 0.25rem 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  touch-action: manipulation;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gold-stop-52);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: #d1dbe6;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    padding-top: 2rem;
    font-size: 0.95rem;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-legal-links {
    gap: 1.5rem;
    justify-content: flex-end;
  }
}
