/* =========================================================
   FOOTER — site-wide
   Mobile-first: base = centered single column,
   tablet = 2-col, desktop = 4-col with brand left.
   ========================================================= */

/* ---------------------------------------------------------
   BASE (mobile) — centered single column
   --------------------------------------------------------- */
.site-footer {
  background: var(--green-black);
  color: rgba(255,255,255,.72);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
  text-align: center;
}

/* Brand column */
.footer-brand {
  text-align: center;
}
.footer-brand img,
.footer-logo {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  background: transparent !important;
}
.footer-tagline {
  margin: var(--space-5) auto 0;
  max-width: 340px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  line-height: var(--leading-relaxed);
  text-align: center;
}

/* All columns */
.footer-col {
  text-align: center;
}
.footer-col h3 {
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  margin: 0 0 var(--space-5);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  font-weight: 700;
  text-align: center;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
  justify-items: center;
}
.footer-col li {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: rgba(255,255,255,.7);
  text-align: center;
}

/* Coverage list — base (no bullets on mobile) */
.footer-col--coverage ul {
  display: grid;
  gap: var(--space-3);
  justify-items: center;
}
.footer-col--coverage li {
  position: relative;
  padding-left: 0;
  text-align: center;
}
.footer-col--coverage li::before {
  display: none;
}

/* CTA column */
.footer-col--cta {
  text-align: center;
}
.footer-col--cta p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.7);
  margin: 0 auto var(--space-4);
  max-width: 320px;
  text-align: center;
}
.footer-col--cta .btn {
  padding: 12px 22px;
  font-size: var(--text-sm);
  display: inline-flex;
  justify-content: center;
  margin: 0 auto;
}

/* Links */
.site-footer a {
  color: rgba(255,255,255,.72);
  transition: color var(--duration-fast);
}
.site-footer a:hover {
  color: var(--gold-bright);
}

/* Bottom bar */
.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
}
.footer-bottom p {
  margin: 0;
  text-align: center;
}
.footer-bottom__left p { margin: 0; }
.footer-bottom__right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}
.footer-bottom__right a {
  color: rgba(255,255,255,.6);
}
.footer-bottom__right a:hover {
  color: var(--gold-bright);
}
.footer-powered {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  letter-spacing: var(--tracking-wide);
}
.footer-powered a {
  color: var(--gold-bright);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color var(--duration-fast), border-bottom-color var(--duration-fast);
}
.footer-powered a:hover {
  color: var(--white);
  border-bottom-color: rgba(217,190,131,.5);
}

/* ---------------------------------------------------------
   TABLET (>= 640px) — 2 columns, left-aligned
   --------------------------------------------------------- */
@media (min-width: 640px) {
  .site-footer {
    padding: var(--space-8) 0 var(--space-6);
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
  }
  .footer-col {
    text-align: left;
  }
  .footer-col h3 {
    text-align: left;
  }
  .footer-col ul {
    justify-items: start;
  }
  .footer-col li {
    text-align: left;
  }
  .footer-col--coverage ul {
    justify-items: start;
  }
  .footer-col--coverage li {
    padding-left: var(--space-4);
    text-align: left;
  }
  .footer-col--coverage li::before {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 1px;
    background: rgba(201,169,106,.6);
    transform: translateY(-50%);
  }
  .footer-col--cta {
    text-align: left;
  }
  .footer-col--cta p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .footer-col--cta .btn {
    margin-left: 0;
    margin-right: 0;
  }
  .footer-brand {
    text-align: left;
  }
  .footer-brand img,
  .footer-logo {
    margin-left: 0;
    margin-right: 0;
  }
  .footer-tagline {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .footer-bottom__right ul {
    justify-content: flex-end;
  }
}

/* ---------------------------------------------------------
   DESKTOP (>= 1024px) — 4 columns
   --------------------------------------------------------- */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: var(--space-7);
  }
}
