/* ============================================================
   footer.css — ZeroBuffer Footer (standalone, zero dependencies)
   Last updated: 2026-02-09
   ============================================================ */

/* ---------- Reset: kill any inherited sizing on SVGs ---------- */
.bb-footer svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- Footer wrapper ---------- */
.bb-footer {
  color: #fff;
  position: relative;
  overflow: hidden;
  background: rgba(30, 30, 30, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.bb-footer *,
.bb-footer *::before,
.bb-footer *::after {
  box-sizing: border-box;
}

/* ---------- Top section ---------- */
.bb-footer-top {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Grid ---------- */
.bb-footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 20px;
}

@media (min-width: 600px) {
  .bb-footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .bb-footer-columns {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* ---------- Column base ---------- */
.bb-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Column 1: Logo / Company ---------- */
.bb-footer-logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s;
}

.bb-footer-logo:hover {
  opacity: 0.85;
}

.bb-footer-logo:focus-visible {
  outline: 2px solid var(--accent, #6c63ff);
  outline-offset: 4px;
  border-radius: 4px;
}

.bb-footer-logo-buffer {
  color: var(--accent, #6c63ff);
}

.bb-footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

.bb-footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-top: 4px;
}

/* ---------- Column headers ---------- */
.bb-footer-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

/* ---------- Column 2: Quick Links ---------- */
.bb-footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bb-footer-nav-list li a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline transparent;
  text-underline-offset: 3px;
  padding: 6px 0;
  min-height: 44px;
  line-height: 32px;
  transition: color 0.25s, text-decoration-color 0.25s;
}

.bb-footer-nav-list li a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.bb-footer-nav-list li a:focus-visible {
  outline: 2px solid var(--accent, #6c63ff);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Columns 3 & 4: Contact lists ---------- */
.bb-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bb-footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline transparent;
  text-underline-offset: 3px;
  padding: 8px 0;
  min-height: 44px;
  transition: color 0.25s, text-decoration-color 0.25s;
}

.bb-footer-contact-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.bb-footer-contact-link:focus-visible {
  outline: 2px solid var(--accent, #6c63ff);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- SVG icons inside contact links ---------- */
.bb-footer-icon {
  display: inline-block;
  width: 18px  !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
  vertical-align: middle;
}

.bb-footer-contact-link:hover .bb-footer-icon {
  opacity: 1;
}

/* ---------- Brand watermark (bottom) ---------- */
.bb-footer-brand {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  width: 100%;
}

.bb-footer-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: min(10vw, 140px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  text-align: center;
}
