/* ============================================================
   Ziptales Footer Styles
   Brand: Red #C0392B | Yellow #F5A623 | Navy #1A3A6B | White #FFFFFF
   Font: Google Fonts — Nunito (matches Ziptales playful-but-professional tone)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── Reset & base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #f4f4f4;
  color: #333;
}

/* ── Demo page wrapper ── */
.page-demo {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: #fff;
  border-bottom: 3px solid #e0e0e0;
}

.page-placeholder p {
  font-size: 15px;
  color: #aaa;
  font-style: italic;
}

/* ============================================================
   FOOTER COMPONENT
   ============================================================ */

.zt-footer {
  background: #ffffff;
  font-family: 'Nunito', sans-serif;
  border-top: 4px solid #C0392B;
}

/* ── Trust band ── */
.zt-footer__trust-band {
  background: #C0392B;
  padding: 11px 2rem;
  text-align: center;
}

.zt-footer__trust-band p {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* ── Main body ── */
.zt-footer__body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.25rem 2rem 0;
}

/* ── Badges section ── */
.zt-footer__badges-heading {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 14px;
}

.zt-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

.zt-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.zt-badge:hover {
  border-color: #C0392B;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.12);
}

.zt-badge__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zt-badge__icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.zt-badge__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.zt-badge__title {
  font-size: 13px;
  font-weight: 800;
  color: #1A3A6B;
  line-height: 1.2;
}

.zt-badge__sub {
  font-size: 11px;
  font-weight: 600;
  color: #999;
  line-height: 1.3;
}

/* ── Links grid ── */
.zt-footer__links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

/* Brand/downloads column */
.zt-footer__brand {}

/* Nav columns */
.zt-footer__col-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C0392B;
  margin-bottom: 12px;
}

.zt-footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.zt-footer__nav li a {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zt-footer__nav li a:hover {
  color: #C0392B;
}

.zt-footer__nav li a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #F5A623;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.zt-footer__nav li a:hover::before {
  transform: scale(1.5);
  background: #C0392B;
}

/* ── Bottom bar ── */
.zt-footer__bottom {
  background: #f8f8f8;
  border-top: 2px solid #eeeeee;
}

.zt-footer__bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 13px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.zt-footer__copyright {
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
}

.zt-footer__legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.zt-footer__legal-links li a {
  font-size: 12.5px;
  font-weight: 700;
  color: #C0392B;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.zt-footer__legal-links li a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .zt-footer__links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .zt-footer__brand {
    grid-column: 1 / -1;
  }

  .zt-footer__badges {
    gap: 8px;
  }

  .zt-badge {
    padding: 7px 12px 7px 7px;
  }
}

@media (max-width: 480px) {
  .zt-footer__body {
    padding: 1.75rem 1.25rem 0;
  }

  .zt-footer__links-grid {
    grid-template-columns: 1fr;
  }

  .zt-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .zt-footer__legal-links {
    gap: 14px;
  }
}
