.atf-payment-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  border-top: 1px solid #2a3035;
  background: #0b0e10;
  color: #d9dde1;
  font-family: Inter, Arial, sans-serif;
}

.atf-payment-footer * {
  box-sizing: border-box;
}

.atf-payment-footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(560px, 1.15fr);
  gap: 64px;
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
}

.atf-payment-footer__eyebrow {
  margin: 0 0 7px;
  color: #ed1c24;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.atf-payment-footer h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
}

.atf-payment-footer__copy > p:not(.atf-payment-footer__eyebrow) {
  max-width: 560px;
  margin: 0;
  color: #adb4ba;
  font-size: 14px;
  line-height: 1.6;
}

.atf-payment-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
  padding-left: 72px;
}

.atf-payment-footer nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #596169;
  text-underline-offset: 4px;
}

.atf-payment-footer nav a:hover,
.atf-payment-footer nav a:focus-visible {
  color: #ff343b;
  text-decoration-color: currentColor;
}

.atf-payment-footer__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(88px, 1fr));
  gap: 12px;
  align-items: center;
  width: 100%;
}

.atf-payment-footer__logos a {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #dfe3e6;
  border-radius: 4px;
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease;
}

.atf-payment-footer__logos a:hover,
.atf-payment-footer__logos a:focus-visible {
  border-color: #ed1c24;
  transform: translateY(-2px);
}

.atf-payment-footer__logos img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.atf-payment-footer__logos a:last-child img {
  max-width: 104px;
}

@media (max-width: 1280px) {
  .atf-payment-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .atf-payment-footer__logos {
    max-width: 892px;
    padding-left: 72px;
  }
}

@media (max-width: 640px) {
  .atf-payment-footer__inner {
    width: min(100% - 32px, 1320px);
    padding: 34px 0 105px;
  }

  .atf-payment-footer h2 {
    font-size: 21px;
  }

  .atf-payment-footer__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    padding-left: 0;
  }

  .atf-payment-footer nav {
    padding-left: 0;
  }

  .atf-payment-footer__logos a {
    min-width: 0;
    min-height: 68px;
    padding: 9px;
  }

  .atf-payment-footer__logos img {
    max-width: 100%;
    max-height: 46px;
  }
}
