.contacts {
  overflow: hidden;
}
@media (max-width: 992px) {
  .contacts .flex-row {
    flex-direction: column;
    align-items: flex-start !important;
    row-gap: 32px;
  }
}
.contacts .flex-row .map-block {
  width: 650px;
  padding: 16px;
  position: relative;
}
.contacts .flex-row .map-block .map-bottom-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.contacts .flex-row .map-block .map-bottom-border:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 64px;
  border-left: 1px solid #35364E;
  border-bottom: 1px solid #35364E;
  border-bottom-left-radius: 8px;
}
.contacts .flex-row .map-block .map-bottom-border:after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 64px;
  height: 64px;
  border-right: 1px solid #35364E;
  border-bottom: 1px solid #35364E;
  border-bottom-right-radius: 8px;
}
.contacts .flex-row .map-block:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border-left: 1px solid #35364E;
  border-top: 1px solid #35364E;
  border-top-left-radius: 8px;
}
.contacts .flex-row .map-block:after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border-right: 1px solid #35364E;
  border-top: 1px solid #35364E;
  border-top-right-radius: 8px;
}
.contacts .flex-row .map-block iframe {
  width: 100%;
  height: 368px;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 16px;
}
@media (max-width: 1180px) {
  .contacts .flex-row .map-block {
    width: 550px;
  }
}
@media (max-width: 992px) {
  .contacts .flex-row .map-block {
    width: 100%;
    padding: 8px;
  }
}
.contacts .flex-row .content {
  width: calc(100% - 782px);
}
@media (max-width: 1180px) {
  .contacts .flex-row .content {
    width: calc(100% - 620px);
  }
}
@media (max-width: 1080px) {
  .contacts .flex-row .content {
    width: calc(100% - 574px);
  }
}
@media (max-width: 992px) {
  .contacts .flex-row .content {
    width: 100%;
  }
}
.contacts .flex-row .content .contacts-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 21.11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contacts .flex-row .content .rows {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
.contacts .flex-row .content .rows .row p {
  color: rgba(53, 54, 78, 0.64);
}
.contacts .flex-row .content .rows .row a {
  position: relative;
  color: #35364E;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
}
.contacts .flex-row .content .rows .row a:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  height: 2px;
  width: 0;
  transition: 0.3s;
  background: #A87D3D;
}
.contacts .flex-row .content .rows .row a:hover {
  color: #A87D3D;
}
.contacts .flex-row .content .rows .row a:hover:after {
  width: 100%;
}