.footer {
  background-color: #1f1f1f;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #fff;
}

div:has(.footer__contacts) {
  border-color: #585858;
  border-width: 1px 0 0 0;
  border-style: solid;
  width: 100%;
}

.footer__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.footer__contacts > * {
  padding: 20px;
}
.footer__contacts > *:last-child {
  border-left: 1px solid #585858;
}

.footer__title {
  margin: 0;
  line-height: 1.4;
}
.footer__title:last-child {
  color: #dfb673;
}

.footer__contacts-title {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer__contacts-wrapper._soc {
  padding-block: 10px 20px;
}
.footer__contacts-wrapper._rekv {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__social-link img {
  width: 32px;
  height: 32px;
}

.footer__rights {
  margin: 0;
  font-size: 12px;
  line-height: 14px;
  color: #9c9c9c;
  padding-block: 15px;

  display: flex;
  column-gap: 10px;
  flex-wrap: wrap;

  border-color: #585858;
  border-width: 1px 0 0 0;
  border-style: solid;
  width: 100%;
}
.footer__rights a {
  text-decoration: underline;
}

@media (width < 700px) {
  .footer__contacts {
    grid-template-columns: 1fr;
  }
  .footer__contacts > * {
    padding: 15px 0;
  }
  .footer__contacts > *:last-child {
    border-left: none;
  }
}
