/**
 * Impactiqa — footer.css
 * Site footer — used only on the home page.
 * Loaded on every page via head.php $base_css_files.
 * The footer is dark (#000) with white text, independent of the page theme.
 */

footer {
  position: relative; z-index: 20;
  background: #000; color: #fff;
  padding: 72px 6vw 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8vw;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-signup-heading {
  font-family: 'Barlow', sans-serif; font-weight: 400;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18;
  letter-spacing: -.02em; color: #fff;
  margin-bottom: 40px;
}
.footer-newsletter-form { display: flex; flex-direction: column; gap: 0; }
.footer-email-input {
  display: block; width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-family: 'Barlow', sans-serif;
  font-weight: 300; font-size: 14px; letter-spacing: .02em;
  padding: 14px 16px; outline: none; cursor: text;
  transition: border-color .2s;
}
.footer-email-input:focus { border-color: rgba(255,255,255,.7); }
.footer-email-input::placeholder { color: rgba(255,255,255,.45); }
.footer-submit-btn {
  display: block; width: 100%;
  margin-top: 4px;
  background: #fff; color: #000; border: none;
  font-family: 'Barlow', sans-serif; font-weight: 400;
  font-size: 15px; letter-spacing: .04em;
  padding: 16px; cursor: pointer;
  transition: background .2s;
}
.footer-submit-btn:hover { background: #e8e8e8; }
.footer-signup-note {
  margin-top: 20px;
  font-family: 'Barlow', sans-serif; font-weight: 300;
  font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.4);
}
.footer-signup-note a {
  color: rgba(255,255,255,.4); text-decoration: underline; transition: color .2s;
}
.footer-signup-note a:hover { color: rgba(255,255,255,.75); }
.footer-newsletter-msg {
  margin-top: 12px;
  font-family: 'Barlow', sans-serif; font-weight: 300;
  font-size: 13px; color: rgba(255,255,255,.6); min-height: 1.4em;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3vw;
}
.footer-nav-head {
  font-family: 'Barlow', sans-serif; font-weight: 400;
  font-size: 14px; letter-spacing: .01em;
  color: #9b87f5;
  margin-bottom: 22px;
}
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-nav-col ul li a,
.footer-nav-col ul li address {
  font-family: 'Barlow', sans-serif; font-weight: 300;
  font-size: 14px; line-height: 1.5; color: #fff;
  text-decoration: none; cursor: pointer; font-style: normal;
  transition: color .2s;
}
.footer-nav-col ul li a:hover { color: rgba(255,255,255,.55); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0 28px;
}
.footer-copy {
  font-family: 'Barlow', sans-serif; font-weight: 300;
  font-size: 13px; color: rgba(255,255,255,.4); letter-spacing: .02em;
}
.footer-back-top {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow', sans-serif; font-weight: 300;
  font-size: 14px; color: #fff; background: transparent;
  text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,.45);
  padding: 10px 20px;
  transition: border-color .2s;
}
.footer-back-top:hover { border-color: #fff; }

/* ── Footer: responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 52px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 40px 8vw; }
  .footer-nav-head { color: #c084fc; }
  .btt-desktop { display: none; }
  .btt-mobile { display: inline; }
}
@media (min-width: 901px) {
  .btt-mobile { display: none; }
}
@media (max-width: 767px) {
  .footer-back-top { border: none; padding: 0; }
}
