/* =================================
   FOOTER
================================= */
footer {
  display: flex;
  flex-flow: column;
  border-top: 3px solid var(--border);
  padding: 40px 0 13px 0;
  width: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.2);
}

footer a {
  text-decoration: none;
  color: var(--grey);
  line-height: 28px;
  transition: var(--transition);
}

footer a:hover {
  color: var(--gold);
}

footer .footer-content-top {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

footer .footer-content-top .footer-logo {
  flex: 1;
}

footer .footer-content-top .footer-logo img {
  height: clamp(65px, 3.245rem + 1.282vw, 80px); /* 65px → 80px */
  width: auto;
}

footer .footer-content-bot {
  margin-top: 45px;
  padding-top: 10px;
  font-size: 14px;
  border-top: 3px solid var(--purple);
  color: var(--grey);
}

footer .footer-content {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  min-width: 250px;
}

footer .footer-content h3 {
  display: inline-flex;
  font-size: clamp(18px, 1.066rem + 0.196vw, 20px); /* 18px → 20px */
  font-weight: 600;
  padding: 2px 0;
  margin: 0 0 15px 0;
  border-bottom: 3px solid var(--purple);
}

footer .footer-content p {
  margin: 0;
  padding: 0;
  line-height: 28px;
  color: var(--grey);
}

/* Tier 3: wrap footer columns at 1023px */
@media (max-width: 1023px) {
  footer .footer-content-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 60px;
  }

  footer .footer-content-top .footer-logo {
    flex: 1 1 100%;
    text-align: center;
    padding-bottom: 30px;
  }

  footer .footer-content {
    flex: 0 1 auto;
    min-width: 0;
  }

  footer .footer-content-bot {
    text-align: center;
  }
}

/* Tier 4: stack footer columns fully at 699px */
@media (max-width: 699px) {
  footer .footer-content {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
  }

  footer .footer-content + .footer-content {
    margin-top: 20px;
  }

  footer .footer-content-bot {
    text-align: center;
  }
}