/* ══════════════════════════════════════════════════════════════════════════
   Sema Legacy — Premium sitewide footer
   Used as <footer class="footer footer--premium"> on every page.
   Uses CSS-variable fallbacks so it renders consistently whether or not the
   page defines the main design tokens (some pages — privacy, terms, 404 —
   have their own :root blocks with different variable names).
   ══════════════════════════════════════════════════════════════════════════ */

.footer.footer--premium {
  padding: 56px 0 28px;
  background: var(--bg, #0C0C10);
  border-top: 1px solid var(--border, rgba(255,255,255,.08));
  color: var(--text-muted, var(--text-dim, rgba(240,240,244,.55)));
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: .85rem;
  line-height: 1.5;
}

.footer.footer--premium .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.footer.footer--premium .footer__cols {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer.footer--premium .footer__brand { max-width: 340px; }

.footer.footer--premium .footer__logo {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #F0F0F4);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  font-family: "Fraunces", "Inter", serif;
}
.footer.footer--premium .footer__logo:hover {
  color: var(--primary, var(--red, #E63946));
}

.footer.footer--premium .footer__tagline {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--text-muted, var(--text-dim, rgba(240,240,244,.55)));
  margin: 0 0 16px;
}

.footer.footer--premium .footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary, var(--red, #E63946));
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: var(--radius, 10px);
  transition: border-color .15s ease, color .15s ease;
}
.footer.footer--premium .footer__cta:hover {
  border-color: var(--primary, var(--red, #E63946));
}

.footer.footer--premium .footer__heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text, #F0F0F4);
  margin: 0 0 14px;
  font-family: "Inter", system-ui, sans-serif;
}

.footer.footer--premium .footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer.footer--premium .footer__links a {
  color: var(--text-muted, var(--text-dim, rgba(240,240,244,.55)));
  text-decoration: none;
  font-size: .85rem;
  transition: color .15s ease;
}
.footer.footer--premium .footer__links a:hover {
  color: var(--text, #F0F0F4);
}

.footer.footer--premium .footer__bottom {
  border-top: 1px solid var(--border, rgba(255,255,255,.08));
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer.footer--premium .footer__bottom .footer__disclaimer {
  max-width: 720px;
  font-size: .72rem;
  line-height: 1.55;
  color: var(--text-muted, var(--text-dim, rgba(240,240,244,.55)));
  margin: 0;
  text-align: left;
}

.footer.footer--premium .footer__copy {
  font-size: .72rem;
  color: var(--text-muted, var(--text-dim, rgba(240,240,244,.55)));
  margin: 0;
  white-space: nowrap;
}

/* Tablet — brand spans full width, link cols in 3-up row */
@media (max-width: 900px) {
  .footer.footer--premium .footer__cols {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer.footer--premium .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* Mobile — single column stack */
@media (max-width: 560px) {
  .footer.footer--premium { padding: 40px 0 24px; }
  .footer.footer--premium .footer__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer.footer--premium .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }
  .footer.footer--premium .footer__copy { white-space: normal; }
}
