/* ============= THIRSTLOCK™ Footer (clean 3-col, no vars) ============= */

/* Base + background */
.site-footer {
  position: relative;
  color: #e6e6e6;
  background: #161b22;

  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
      120% 100% at 50% 100%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.55) 60%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("../assets/bg/cobra-weave-16x9.png");
  background-size: cover;
  background-position: center;
  opacity: 0.24;
}

/* Container */
.footer-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 28px 40px 14px;
}

/* CTA */
.footer-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 18px 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
  color: #e6e6e6;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  backdrop-filter: blur(6px);
}
.footer-cta__button:hover {
  transform: translateY(-1px);
  border-color: #ffa500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.footer-cta__logo {
  height: 100px;
  width: auto;
  display: block;
  margin: 0;
}

/* Grid (3 columns) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  column-gap: 64px;
  row-gap: 14px;
  padding: 12px 0;
  align-items: start;
}
.footer-col__title {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 12px 0;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li + li {
  margin-top: 10px;
}
.footer-list a {
  color: #e6e6e6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.footer-list a:hover {
  color: #ffa500;
  border-color: rgba(255, 165, 0, 0.35);
}
.footer-list a:focus-visible {
  outline: 2px solid rgba(255, 165, 0, 0.35);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Newsletter (compact) */
.newsletter {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  width: min(100%, 460px);
}
.newsletter input[type="email"] {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  color: #e6e6e6;
  padding: 10px 12px;
}
.newsletter input::placeholder {
  color: #9aa4af;
}
.newsletter-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b7bec7;
  font-size: 0.9rem;
}
.newsletter-btn {
  justify-self: start;
  border: 1px solid #ffa500;
  background: transparent;
  color: #ffa500;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.newsletter-btn:hover {
  background: #ffa500;
  color: #111;
  transform: translateY(-1px);
}

/* Follow Us */
.footer-follow {
  display: grid;
  justify-items: center;
  text-align: center;
  row-gap: 12px;
  margin: 10px 0;
}
.footer-follow__title {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.footer-follow__list {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-follow__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s,
    background 0.15s;
}
.footer-follow__list a:hover {
  transform: translateY(-1px);
  border-color: #ffa500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.5);
}
.footer-follow__list img,
.footer-follow__list svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Charity */
.footer-charity {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 14px;
  align-items: baseline;
  flex-wrap: wrap;
}
.footer-charity p {
  margin: 0;
  color: #e6e6e6;
}

/* Bottom bar (centered, tight) */
.footer-bottom {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.footer-copy {
  margin: 0;
  color: #b7bec7;
}

/* Accessibility helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    column-gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
  .newsletter-btn {
    width: 100%;
    justify-self: stretch;
  }
  .footer-col {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
  }
}

@media (min-width: 1600px) {
  .footer-grid {
    column-gap: 120px;
  } /* was 64px */
}

/* Make footer column titles with links look identical to non-link titles */
.footer-col__title > a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}

/* Title link: looks like normal footer title (not a link) until hovered */
.footer-col__title > a {
  color: inherit;          /* same color as regular footer title */
  text-decoration: none;   /* no underline */
  font: inherit;           /* same size + weight */
}

/* Hover: same orange + underline behavior as other footer links */
.footer-col__title > a:hover {
  color: #ffa500;           /* match footer-list hover color */
  text-decoration: underline;
}



