.footer {
  padding-top: 60px;
  background: var(--dark);
  color: var(--on-dark);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__contact {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social a {
  display: block;
}

.footer__reach {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer__email {
  margin-bottom: -4px;
  text-decoration: underline;
}

.footer__cta {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
}

.footer__cta svg {
  margin: 2px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--bg-65);
}

@media (max-width: 767px) {
  .footer__contact {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer__reach {
    align-items: flex-start;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
