.footer {
  margin-bottom: 0.64rem;
}

.footer_item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: var(--rounded-20);
  background-color: var(--secondary);
  padding: 2.43rem 3.04rem;
  gap: 2rem;
}

.footer_item_left {
  display: flex;
  gap: 7.67rem;
}

.footer_item_contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer_item_contact > a {
  font-weight: 600;
}

.footer_item_contact > button {
  width: fit-content;
}

.footer_item_social {
  display: flex;
  gap: 0.6rem;
}

.footer_item_social > a > img {
  width: 3.47rem;
}

.footer_callback_button {
  display: inline-block;
  border: 0.06rem solid var(--dark);
  border-radius: var(--rounded-10);
  background-color: transparent;
  color: var(--text-dark);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.6rem 1.46rem;
}

.footer_item_menu > ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.48rem;
  padding: 0;
}

.footer_item_menu > ul > li {
  margin-right: 7rem;
  transition: transform 0.3s ease;
}

.footer_item_menu > ul > li:hover {
  transform: scale(1.05);
}

.footer_item_menu > ul > li > a {
  color: var(--text-dark);
}

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

.footer_item_right > img {
  width: 10rem;
}

.footer_down {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.64rem;
  text-align: end;
}

.footer_down > div {
  border: transparent;
  background-color: var(--flat);
  font-size: 0.793rem;
  line-height: 1;
}

@media (max-width: 1024px) {
  .footer_item {
    flex-direction: column;
    gap: 3rem;
  }

  .footer_item_left {
    flex-direction: column;
  }

  .footer_item_menu > ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer_item_right {
    width: 100%;
  }

  .footer_item_right > img {
    width: 14rem;
  }

  .footer_down {
    gap: 1.64rem;
  }

  .footer_down > div {
    font-size: 1.793rem;
  }
}
