.contacts {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  grid-auto-rows: max-content;

  h2 {
    grid-column: span 2;
    padding-bottom: clamp(1px, 0.556dvw, 8px);
  }

  a {
    display: contents;

    &:first-of-type svg {
      align-self: baseline;
    }
  }

  svg {
    color: var(--colorprimarymain);
  }

  span {
    line-height: 22px;
    font-size: clamp(14px, 1.111dvw, 16px);
    color: var(--black-2);
  }
}

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;

  label {
    margin: 0;
  }

  textarea {
    height: 140px;
    resize: none;
  }

  .form-action-button {
    --form-action-bg: var(--colorprimarymain);

    max-width: 210px;
    height: 40px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: none;
    outline: none;
    background-color: var(--form-action-bg);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    font-family: var(--font-family);
    cursor: pointer;

    width: 100%;

    &:hover {
      opacity: 0.88;
    }

    &:disabled {
      pointer-events: none;
      --form-action-bg: var(--button-disabled);
    }

    @media screen and (max-width: 768px) {
      max-width: unset;
    }
  }
}