/* =========================
   FOOTER
========================= */

.footer {
  background: #000;
  color: #fff;
  padding: 70px 0;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.footer__logo-section {
  flex: 1;
  min-width: 180px;
}

.footer__logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer__tagline {
  color: #bdbdbd;
  font-size: 14px;
}

.footer__column {
  flex: 0 1 auto;
  min-width: auto;
}

.footer__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: #bdbdbd;
  text-decoration: none;
  transition: 0.3s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__column p {
  color: #bdbdbd;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer__newsletter {
  display: flex;
  align-items: center;
  margin-top: 15px;
  background: #111;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #333;
}

.footer__input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 15px;
  color: #fff;
  outline: none;
}

.footer__button {
  border: none;
  background: transparent;
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer {
    padding: 50px 0;
  }

  .footer__container {
    gap: 30px;
  }

  .footer__column {
    flex: 0 1 calc(50% - 15px);
  }

  .footer__logo-section {
    flex: 0 1 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0;
  }

  .footer__container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    align-items: center;
  }

  .footer__logo-section {
    flex: 0 1 100%;
    min-width: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__logo {
    margin: 0 auto 10px;
  }

  .footer__column {
    flex: 0 1 100%;
    min-width: auto;
    width: 100%;
  }

  .footer__newsletter {
    max-width: 100%;
    width: 100%;
    margin: 15px 0 0;
  }

  .footer__input {
    padding: 12px 12px;
    font-size: 14px;
  }

  .footer__button {
    padding: 0 15px;
    font-size: 16px;
  }

  .footer__title {
    font-size: 15px;
  }

  .footer__tagline,
  .footer__column p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 0;
  }

  .footer__container {
    padding: 0 15px;
    gap: 25px;
  }

  .footer__logo {
    width: 100px;
  }

  .footer__title {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer__links li {
    margin-bottom: 8px;
  }

  .footer__links a,
  .footer__tagline,
  .footer__column p {
    font-size: 12px;
  }

  .footer__newsletter {
    margin-top: 12px;
  }

  .footer__input {
    padding: 10px 10px;
    font-size: 13px;
  }

  .footer__button {
    padding: 0 12px;
  }
}

/* =============================================
   FOOTER - TAP TARGETS
   The newsletter arrow was only as tall as its glyph (~18px) inside a 40px pill, so most
   taps beside the arrow missed it. Stretch it to the full pill height. On phones the link
   rows were ~17px tall - give each a comfortable touch area while keeping the footer compact.
   ============================================= */
.footer__button {
  align-self: stretch;
  min-width: 44px;
}

@media (max-width: 768px) {
  .footer__links li {
    margin-bottom: 2px;
  }

  .footer__links a {
    display: inline-block;
    padding: 6px 0;
  }
}

/* Footer phone/email links were ~19px tall on phones - add vertical touch room (text looks the same) */
@media (max-width: 768px) {
  .footer__column p a {
    display: inline-block;
    padding: 4px 0;
  }
}
