.contacts-section {
  padding: 80px 0;
}
.contacts-section__grid {
  /* display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 16px;
  row-gap: 32px; */
  display: flex;
  flex-wrap: wrap;
}
.contacts-section__items {
  padding: 30px 38px 38px;
  border: 2px solid #f5f6fa;
  box-sizing: border-box;
  border-radius: 14px;
  background: #fff;
  width: calc(100% / 3 - 32px);
  margin: 0 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.contacts-section__title-block {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  width: 100%;
  justify-content: space-between;
}
.contacts-section__title {
  flex: 1 0 1%;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: -0.1px;
  color: #000000;
}
.contacts-section__worktime {
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #212121;
  margin-bottom: 20px;
}
.contacts-section__phone-title {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #909090;
}
.contacts-section__phone {
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #212121;
  margin-bottom: 24px;
}
.contacts-section__link {
  letter-spacing: -0.1px;
  color: #000000;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
  padding: 23px 38px;
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  border: 2px solid #0099ff;
  box-sizing: border-box;
  border-radius: 96px;
  justify-content: center;
  align-items: center;
  font-weight: 450;
  margin-top: auto;
  transition: all 0.2s;
}
.contacts-section__link:hover {
  border: 2px solid #0099ff;
  box-shadow: 0px 8px 16px rgba(7, 122, 147, 0.25);
}
.contacts-section__img {
  margin-right: 5px;
}
.contacts-section__title-block-city {
  width: 100%;
  display: flex;
  margin-bottom: 7px;
  align-items: center;
}
.contacts-section__title-img {
  width: 24px;
  height: 24px;
  margin-right: 16px;
}
.contacts-section__name-city {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #000000;
  text-decoration: underline;
}
.contacts-section__desc-office {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #909090;
  margin-bottom: 24px;
}
.contacts-section__desc-office:first-child {
  margin: 16px 0 40px;
}
.bx {
  display: flex;
  background: #f8f8f8;
  border-radius: 50%;
  box-sizing: border-box;
  flex: none;
  justify-content: center;
  align-items: center;
  /* width: 48px; */
  /* height: 48px; */
}
.contacts-section__social-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
}
.contacts-section__social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #0099ff;
  margin-bottom: 16px;
}
.contacts-section__social-link:last-child {
  margin-bottom: 0;
}
.contacts-section__social-link:hover {
  transform: translateY(-2px);
}
.contacts-section__social-img {
  margin-right: 8px;
  width: 40px;
  height: 40px;
  background-color: rgb(193, 132, 208);
  border-radius: 30px;
}
.grayy {
  background: #fbfbfb;
}
.contacts-section__title-form {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  letter-spacing: -0.1px;
  color: #333333;
}
.contacts-section__mark-star {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: red;
}
.contacts-section__input {
  background: #fff;
  border: 2px solid #e1e1e1;
  box-sizing: border-box;
  border-radius: 8px;
  height: 48px;
  width: 100%;
  padding: 0 16px;
  outline: none;
  margin-bottom: 16px;
}
.contacts-section__textarea {
  padding: 16px;
  height: 136px;
  background: #fff;
  border: 2px solid #e1e1e1;
  box-sizing: border-box;
  border-radius: 8px;
  width: 100%;
  outline: none;
}
.contacts-section__btn-submit {
  background: linear-gradient(180deg, #47c634 0%, #2dbf60 100%);
  border: 1px solid #2fc05f;
  box-shadow: 0px 8px 12px rgba(45, 191, 96, 0.30025);
  border-radius: 48px;
  width: 100%;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  letter-spacing: -0.1px;
  color: #ffffff;
  padding: 19px;
  cursor: pointer;
  margin-top: 24px;
  transition: 0.3 all;
}
.contacts-section__btn-submit:hover {
  background: linear-gradient(180deg, #51d53d 0%, #2dbf60 100%);
  box-shadow: 0px 8px 12px rgba(45, 191, 96, 0.30025);
}
@media (max-width: 1000px) {
  .contacts-section__grid {
    display: grid;
    column-gap: 15px;
    row-gap: 24px;
    grid-template-columns: 1fr 1fr;
  }
  .contacts-section__items {
    width: 100%;
    margin: 0;
    border: 2px solid #f5f6fa;
    box-sizing: border-box;
    border-radius: 14px;
    background: #fff;
    padding: 22px;
  }
  .contacts-section__title {
    font-size: 22px;
  }
  .contacts-section__worktime {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.1px;
    color: #212121;
    margin-bottom: 8px;
  }
  .contacts-section__phone-title {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.1px;
    color: #909090;
  }
  .contacts-section__link {
    font-size: 16px;
    line-height: 24px;
    padding: 18px 0;
  }
  .contacts-section__desc-office{
    margin-top: 16px;
  }
}
@media(max-width:500px){
  .contacts-banner{
    padding: 84px 0 24px;
  }
  .contacts-section__grid{
    grid-template-columns: 1fr;
  }
  .contacts-banner__h1{
    font-size: 28px;
  }
  .contacts-section{
    padding: 32px 0;
  }
}
