.footer {
  color: var(--background);
  padding: 60px 0 16px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 310px;
}

.footer__text {
font-weight: 500;
font-size: 16px;
line-height: 22.75px;
}

.footer__logo {
  width: 246px;
  height: auto;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: max-content;
  max-width: 296px;
}

.footer__title {
font-weight: 400;
font-size: 26px;
line-height: 100%;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__nav a {
font-weight: 400;
font-size: 18px;
line-height: 100%;

}

.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__phone {
   display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

.footer__socials {
   display: flex;
      align-items: center;
      gap: 10px;
}

.footer__contact {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
  }

  .footer__contact svg {
    grid-row: 1 / 3;
  }

  .footer__contact a,
  .footer__contact p {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
  }

  .footer__bottom {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
  }

  .footer__bottom a,
  .footer__bottom p {
font-weight: 400;
font-size: 18px;
line-height: 100%;
  }

  .footer__social {
    width: 24px;
    height: 24px;
  }

  .footer__social img {
    width: 100%;
    height: auto;
  }

  @media (max-width: 1080px) {
    .footer__bottom a,
  .footer__bottom p {
font-size: 16px;
  }

    .footer__inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .footer__col {
      max-width: 100%;
      width: 100%;
    }

    .footer__bottom {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      width: 100%;
    }

    .footer__bottom p,
    .footer__bottom a {
      justify-self: center;
      text-align: center;
    }

    .footer__bottom p {
      order: 10;
    }

    .footer__info {
      max-width: 100%;
    }
  }

  @media (max-width: 768px) {
    .footer__info {
      grid-column: 1 / 3;
      order: 1;
    }

    .footer__logo {
      width: 100%;
      max-width: 340px;
    }

    .footer__text {
      font-size: 14px;
    }

    .footer__title {
      font-size: 20px;
    }

    .footer__nav a {
      font-size: 16px;
    }

    .footer__phone {
      font-size: 16px;
    }

    .footer__contact a,
    .footer__contact p {
      font-size: 16px;
    }

    .footer__social {
    width: 44px;
    height: 44px;
  }

  .footer__nav ul {
    gap: 10px;
  }

  .footer__col:nth-child(2) {
    order: 3;
  }
  .footer__col:nth-child(3) {
    order: 2;
  }

  .footer__col:last-child {
    grid-column: 1 / 3;
    order: 4;
  }
  }