.contacts-reftech {
  padding: 60px 0;
  background: #f6f8fb;
}

.contacts-reftech * {
  box-sizing: border-box;
}

.contacts-reftech__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.9fr);
  gap: 34px;
  align-items: stretch;
}

.contacts-reftech__content {
  min-width: 0;
}

.contacts-reftech .title-section {
  margin: 0 0 14px;
}

.contacts-reftech__intro {
  max-width: 720px;
  margin: 0 0 28px;
  color: #5f6b7a;
}

.contacts-reftech__grid {
  display: grid;
  gap: 16px;
}

.contacts-reftech__grid--top {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.contacts-reftech__grid--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contacts-reftech__card,
.contacts-reftech__messenger {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 118px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #edf1f6;
  box-shadow: 0 10px 28px rgba(18, 35, 60, 0.06);
  color: #1f2a37;
  text-decoration: none;
}

.contacts-reftech__card a,
.contacts-reftech__messenger span span:last-child {
  display: inline-block;
  margin-top: 10px;
  color: #2b75d6;
  text-decoration: none;
}

.contacts-reftech__icon,
.contacts-reftech__messenger-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #eef5ff;
}

.contacts-reftech__icon svg,
.contacts-reftech__messenger-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contacts-reftech__icon {
  color: #4b8ee8;
}

.contacts-reftech__messenger {
  align-items: center;
  min-height: 78px;
}

.contacts-reftech__messenger > span:last-child {
  display: flex;
  flex-direction: column;
}

.contacts-reftech__messenger-icon--wa {
  color: #23c263;
  background: #eafaf1;
}

.contacts-reftech__messenger-icon--viber {
  color: #7b3ee6;
  background: #f2ecff;
}

.contacts-reftech__messenger-icon--tg {
  color: #229ed9;
  background: #eaf7fd;
}

.contacts-reftech__image {
  min-height: 360px;
  overflow: hidden;
}

.contacts-reftech__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* adaptive */
@media (max-width: 1199px) {
  .contacts-reftech__wrap {
    grid-template-columns: 1fr;
  }

  .contacts-reftech__image {
    min-height: 320px;
  }
}

@media (max-width: 991px) {
  .contacts-reftech__grid--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-reftech__grid--bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contacts-reftech {
    padding: 42px 0;
  }

  .contacts-reftech__wrap {
    gap: 24px;
  }

  .contacts-reftech__grid--top,
  .contacts-reftech__grid--bottom {
    grid-template-columns: 1fr;
  }

  .contacts-reftech__card,
  .contacts-reftech__messenger {
    min-height: auto;
  }

  .contacts-reftech__image {
    min-height: 260px;
  }
}