.contacts-hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.contacts-hero .about-hero-text p:last-child {
  margin-top: 0;
  font-weight: 500;
  font-size: 17px;
  color: rgba(196, 197, 201, 1);
}

.contacts-hero .about-hero-mark {
  width: 160px;
  height: 160px;
}

.contacts-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.contacts-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(21, 22, 24, 1);
}

.contacts-group h2 {
  margin: 0;
  font-family: Onest;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: #FFFFFF;
}

.contacts-group-text {
  margin: 0 0 12px;
  font-family: Onest;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(130, 131, 135, 1);
}

.contacts-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(29, 30, 33, 1);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color .2s, background-color .2s;
}

.contacts-item:hover {
  border-color: rgba(255, 141, 40, 0.4);
  background: rgba(33, 34, 37, 1);
}

.contacts-item-link {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.contacts-item-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 141, 40, 0.12);
  position: relative;
}

.contacts-item-icon::after {
  background: rgba(255, 141, 40, 1);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.contacts-item-icon::after {
  content: '';
  position: absolute;
  inset: 11px;
}

.contacts-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Onest;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: #FFFFFF;
}

.contacts-item-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
}

button.contacts-item-action {
  cursor: pointer;
  transition: background-color .2s;
}

button.contacts-item-action:hover {
  background: rgba(255, 141, 40, 0.12);
}

.contacts-copy-icon,
.contacts-copy-done,
.contacts-item-arrow {
  display: block;
  width: 18px;
  height: 18px;
}

.contacts-copy-icon {
  color: rgba(255, 141, 40, 1);
}

.contacts-item-arrow {
  color: rgba(108, 109, 112, 1);
  transition: color .2s;
}

.contacts-item:hover .contacts-item-arrow {
  color: rgba(255, 141, 40, 1);
}

.contacts-copy-done {
  display: none;
  width: 20px;
  height: 20px;
  color: rgba(76, 217, 100, 1);
}

.contacts-copy.is-copied .contacts-copy-icon {
  display: none;
}

.contacts-copy.is-copied .contacts-copy-done {
  display: block;
}

@media (max-width: 1200px) {
  .contacts-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .contacts-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .contacts-hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .contacts-hero .about-hero-text p:last-child {
    font-size: 15px;
  }

  .contacts-group {
    padding: 20px;
    border-radius: 20px;
  }

  .contacts-group h2 {
    font-size: 19px;
  }
}
