.contacts__section {
  width: 100%;
  display: flex;
  background-color: var(--light_gray1);
}

.contacts__contentContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 120px 184px;
}

.contacts__block {
  max-width: 485px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 16px;
  border: 1px solid var(--dark);
}

.contacts__blockTopContent {
  display: flex;
  flex-direction: column;
}

.contacts__topImage {
  width: 32px;
  height: 32px;
}

.contacts__title {
  margin-top: 24px;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 28.06px;
  color: var(--black);
  text-transform: uppercase;
}

.contacts__subtitle {
  margin-top: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--black);
}

.contacts__address {
  margin-top: 56px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--black);
}

.contacts__button {
  width: fit-content;
  padding: 17.5px 24px;
  margin-top: 65px;
  text-decoration: none;
  border: 1px solid var(--black);
  border-radius: 3px;
}

.contacts__button:hover {
  background-color: var(--accent);
}

.contacts__button:active {
  background-color: var(--light_gray1);
  box-shadow: 0 0 8px 0 var(--blue);
}

.contacts__buttonText {
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0.7px;
  color: var(--black);
  text-align: center;
  text-transform: uppercase;
}

.contacts__block .social-icons {
  display: flex;
  word-break: break-word;
  margin-top: 48px;
  margin-right: -4px;
  margin-left: -4px;
}

.contacts__block .social-link {
  width: 44px;
  height: 44px;
  padding: 4px;
  margin-right: 8px;
  overflow: hidden;
  line-height: 1.8;
  vertical-align: top;
}

.contacts__block .social-link:last-child {
  margin-right: 0;
}

.contacts__block .social-link svg {
  width: 36px;
  height: 36px;
  border-radius: 100%;
  transition: background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contacts__block .social-icons-dark-light .social-link {
  color: var(--black);
}

.contacts__block .social-icons-dark-light .social-link svg {
  background-color: var(--light_gray2);
}

@media (max-width: 1440px) {
  .contacts__contentContainer {
    margin: 120px 40px;
  }
}

@media (max-width: 1150px) {
  .contacts__contentContainer {
    margin: 80px 160px;
    flex-direction: column;
  }

  .contacts__block {
    max-width: 100%;
    margin: 16px 0;
  }

  .contacts__button {
    margin-top: 54px;
  }
}

@media (max-width: 767px) {
  .contacts__contentContainer {
    margin: 64px 24px;
  }

  .contacts__block {
    padding: 24px !important;
  }

  .contacts__block .social-icons {
    margin-top: 56px;
  }

  .contacts__button {
    margin-top: 65px;
  }
}
