.block_contacts {
  width: 100%;
  margin: 80px 0 120px 0;
}

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

.block_contacts_row {
  display: flex;
  justify-content: space-between;
  gap: 80px 140px;
}

.block_contacts .block_form {
  padding: 0;
  border: none;
  text-align: left;
  background-color: transparent;
  position: sticky;
  top: 80px;
  left: 0;
  height: 100%;
}

.block_contacts .block_form_title b {
  color: var(--Dark-blue);
  text-align: left;
  font-size: 24px;
}

.block_contacts .block_form_title {
  text-align: left;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 130%;
}

.block_contacts .srm {
  gap: 16px;
  flex-wrap: wrap;
  flex-direction: row;
}

.block_contacts .form-group {
  width: 100%;
}

.block_contacts div.form-group:nth-of-type(-n + 2) {
  width: calc(100% / 2 - (16px / 2));
}

.block_contacts .form_submit {
  padding: 13px;
  align-items: center;
  width: 100%;
}

.block_contacts .main_btn svg {
  height: 24px;
}

.block_contacts .form-group input {
  padding: 17px 25px 16px 20px;
  font-size: 12px;
}

.block_contacts .form-group label {
  left: 20px;
  font-size: 12px;
}

.block_contacts_items {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.block_contacts_item {
  padding: 40px;
  border-radius: 20px;
  background: var(--Gray);
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.block_contacts_item.first {
  flex-direction: column;
  gap: 25px;
}

.block_contacts_element {
  display: flex;
  gap: 40px;
  width: 100%;
  padding-bottom: 25px;
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="631" height="1" viewBox="0 0 631 1" fill="none"><line x1="0.5" y1="0.5" x2="630.5" y2="0.5" stroke="%23868686" stroke-width="1" stroke-linecap="round" stroke-dasharray="6 6"/></svg>'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="631" height="1" viewBox="0 0 631 1" fill="none"><line x1="0.5" y1="0.5" x2="630.5" y2="0.5" stroke="%23868686" stroke-width="1" stroke-linecap="round" stroke-dasharray="6 6"/></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 2px;
}

.block_contacts_element .block_contacts_wrap {
  color: var(--Dark-blue);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.block_contacts_element ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.block_contacts_element ul.first {
  gap: 25px;
}

.block_contacts_element li,
.block_contacts_element span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  transition: all 0.3s ease;
}


.block_contacts_element li.hover:hover {
  opacity: 0.8;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.block_contacts_element a:not(.email) {
  color: var(--Dark-blue);
}

.block_contacts_wrap {
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: max-content;
  position: sticky;
  top: 80px;
  left: 0;
}

.block_contacts_wrap img {
  object-fit: contain;
}

.block_contacts_lists {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.block_contacts_list {
  padding-bottom: 15px;
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="631" height="1" viewBox="0 0 631 1" fill="none"><line x1="0.5" y1="0.5" x2="630.5" y2="0.5" stroke="%23868686" stroke-width="1" stroke-linecap="round" stroke-dasharray="6 6"/></svg>'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="631" height="1" viewBox="0 0 631 1" fill="none"><line x1="0.5" y1="0.5" x2="630.5" y2="0.5" stroke="%23868686" stroke-width="1" stroke-linecap="round" stroke-dasharray="6 6"/></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 2px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--Dark-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
}

.block_contacts_list:last-of-type,
.block_contacts_element:last-of-type {
  padding-bottom: 0;
  background-image: none;
}

.block_contacts_list .addreses {
  text-decoration: underline;
  color: var(--Dark-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
}

.block_contacts_list a {
  color: var(--Dark-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
}

.block_contacts_item_block {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--Black);
  line-height: 100%;
}

.block_contacts_list.messangers {
  flex-direction: column;
  gap: 12px;
}

.block_contacts_messanger {
  display: flex;
  align-items: center;
  gap: 5px;
}

.block_contacts_item_row {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
}

.block_contacts_item svg {
  min-width: 20px;
  aspect-ratio: 1 / 1;
}

.block_contacts_item_row span {
  min-width: 15px;
  position: relative;
  top: 1px;
  aspect-ratio: 1 / 1;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1300px) {
  .block_contacts_row {
    gap: 80px 25px;
  }
}

@media (max-width: 1200px) {
  .block_contacts .block_form {
    max-width: 325px;
  }

  .block_contacts div.form-group:nth-of-type(-n + 2) {
    width: 100%;
  }

  .block_contacts_item {
    padding: 30px 20px;
    gap: 40px 10px;
  }
}

@media (max-width: 992px) {
  .block_contacts {
    width: 100%;
    margin: 80px 0;
  }

  .block_contacts_item {
    flex-direction: column;
  }

  .block_contacts_wrap {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    position: static;
  }

  .block_contacts_element {
    flex-direction: column;
    gap: 15px;
  }

  .block_contacts_element ul.first li {
    flex-direction: column;
    align-items: flex-start;
  }

  .block_contacts_list {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .block_contacts {
    width: 100%;
    margin: 80px 0;
  }

  .block_contacts h2 {
    text-align: center;
  }

  .block_contacts_row {
    flex-direction: column;
  }

  .block_contacts .block_form {
    max-width: 407px;
    margin: 0 auto;
  }

  .block_contacts_wrap img {
    display: none;
  }

  .block_contacts_wrap {
    max-width: 100%;
  }

  .block_contacts_list {
    flex-direction: column;
    gap: 6.5px;
  }
}