/* ==========================================================================
   ELM-O-SANAT SOVEREIGN ARCHITECTURAL FOOTER
   Maybach Obsidian Craft | Uploaded Wordmark Only | Quiet Symmetry
   ========================================================================== */

.site-footer {
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, #091529 0%, #030710 55%, #02050b 100%);
  border-top: 1px solid var(--hairline-gold);
  padding: 72px 0 32px;
  color: var(--text-muted);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  opacity: 0.7;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. Sovereign Centered Crown Apex (Wordmark Only - Zero redundant text or duplicate circle logo) */
.footer-crown-apex {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.footer-wordmark-img {
  height: 54px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 24px rgba(212, 166, 68, 0.3));
}

.footer-crown-slogan {
  font-size: 0.98rem;
  color: var(--gold-200);
  font-weight: 500;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.footer-crown-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}

.footer-crown-meta .meta-sep {
  color: var(--gold-500);
  opacity: 0.5;
}

/* Architectural Hairline Divider */
.footer-hairline-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-gold-active), transparent);
  margin: 28px 0 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-hairline-diamond {
  background: #030710;
  padding: 0 14px;
  color: var(--gold-300);
  font-size: 0.78rem;
  line-height: 1;
}

/* 2. Symmetrical 3-Pillar Grid */
.footer-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
  text-align: right;
}

.footer-pillar {
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.pillar-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 1px;
  background: var(--gold-300);
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pillar-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.87rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pillar-list a::before {
  content: '‹';
  color: var(--gold-400);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.pillar-list a:hover {
  color: var(--gold-100);
  transform: translateX(-4px);
}

.pillar-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.pillar-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.6;
}

.info-label {
  font-size: 0.74rem;
  color: var(--gold-300);
  font-weight: 600;
}

.info-val {
  color: var(--text-pure);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* 3. Baseline Bar */
.footer-baseline-bar {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline-gold);
  border-radius: 999px;
  color: var(--gold-200);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-maybach);
}

.btn-back-to-top:hover {
  background: rgba(212, 166, 68, 0.14);
  border-color: var(--hairline-gold-active);
  color: var(--text-pure-white);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .footer-pillars-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 50px 0 24px;
  }
  .footer-wordmark-img {
    height: 44px;
  }
  .footer-baseline-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
