/* ============================================================
   ZACKGO — Public footer (Trust · Legal · Compliance)
   Loaded on index + all public pages via public-pages.css
   ============================================================ */

.pub-footer {
  background: linear-gradient(180deg, #0c0c0c 0%, #0a0a0a 100%);
  color: rgba(255, 255, 255, 0.58);
  padding: 0 40px 24px;
  margin-top: auto;
  position: relative;
}

.pub-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C9A962, #F5D78E, #C9A962, transparent);
  box-shadow: 0 0 24px rgba(201, 169, 98, 0.35);
}

/* Compliance strip — minimal single badge */
.pub-footer-trustbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.pub-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  letter-spacing: 0.02em;
}

.pub-footer-badge svg {
  flex-shrink: 0;
  color: #C9A962;
  opacity: 0.9;
}

.pub-footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 0 28px;
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  gap: 24px 28px;
  align-items: start;
}

.pub-footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

.pub-footer-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.pub-footer-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.pub-footer-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}

.pub-footer-brand-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
  margin-top: 1px;
}

.pub-footer-brand p {
  font-size: 12.5px;
  line-height: 1.72;
  margin-bottom: 16px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.52);
}

.pub-footer-entity {
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 16px;
  max-width: 280px;
}

.pub-footer-entity strong {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.pub-footer-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(201, 169, 98, 0.8);
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.pub-footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-footer-col-list li {
  margin-bottom: 7px;
}

.pub-footer-col-list a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.18s ease;
  line-height: 1.45;
  display: inline-block;
}

.pub-footer-col-list a:hover {
  color: rgba(255, 248, 231, 0.95);
}

.pub-footer-col-list a.pub-footer-link-key {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.pub-footer-col-list a.pub-footer-link-key:hover {
  color: #F5D78E;
}

.pub-footer-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pub-footer-social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}

.pub-footer-social:hover {
  background: rgba(201, 169, 98, 0.14);
  color: #F5D78E;
  border-color: rgba(201, 169, 98, 0.35);
  transform: translateY(-1px);
}

.pub-footer-legal {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pub-footer-legal-main {
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 14px;
  max-width: 920px;
}

.pub-footer-legal-main strong {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 600;
}

.pub-footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  font-size: 11.5px;
}

.pub-footer-copy {
  color: rgba(255, 255, 255, 0.35);
}

.pub-footer-copy strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.pub-footer-copy a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.pub-footer-copy a:hover {
  color: rgba(201, 169, 98, 0.9);
}

.pub-footer-payments {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
}

.pub-footer-payments svg {
  color: rgba(201, 169, 98, 0.6);
}

@media (max-width: 960px) {
  .pub-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pub-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .pub-footer {
    padding: 0 20px 24px;
  }
  .pub-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pub-footer-badge {
    font-size: 10.5px;
    padding: 4px 10px;
  }
}
