.footer {
  color: #fff;
  font-family: var(--font-plain);
  letter-spacing: 0;
}

.footer__main {
  background: var(--color-navy);
}

.footer__inner {
  position: relative;
  height: 182px;
  padding: 79px 21px 0 18px;
  display: flex;
  justify-content: space-between;
}

.footer__logo {
  position: absolute;
  left: 8px;
  top: 24px;
  width: 420px;
  height: auto;
}

.footer p {
  font-size: 17px;
  line-height: 22.1px;
}

.footer__links {
  margin-top: 14px;
  font-size: 13px;
  line-height: 16px;
}

.footer__copy {
  white-space: pre-wrap;
}

.footer__right {
  text-align: right;
}

.footer__right a[href^="tel"] {
  text-decoration: none;
}

.footer__right p:first-child {
  margin: -3px 0 5px;
}

.footer a {
  color: #fff;
}

.footer__bar {
  height: 54px;
  padding-top: 15px;
  background: #071631;
  color: #c9d7f0;
  text-align: center;
}

.footer__bar p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-right: 8px;
  font-size: 14px;
  line-height: 18px;
}

.footer__bar a {
  color: inherit;
  text-decoration: none;
}

.footer__bar img {
  margin-left: 14px;
}

@media (max-width: 979px) {
  .footer__inner {
    height: auto;
    padding: 26px 10px 18px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__logo {
    position: static;
    order: 2;
    width: 300px;
    margin-top: 15px;
  }

  .footer__right {
    order: 1;
    text-align: center;
  }

  .footer p {
    font-size: 15px;
    line-height: 24px;
  }

  .footer__right p:first-child {
    margin: 0;
  }

  .footer__left {
    order: 3;
    margin-top: 7px;
  }

  .footer__left p {
    font-size: 13px;
    line-height: 17px;
  }

  .footer__links {
    margin-top: 23px;
    font-size: 10px;
    line-height: 13px;
  }

  .footer__bar {
    display: none;
  }
}
