.automation-contact {
  overflow: hidden;
  background: linear-gradient(110deg, #e7f2ff 0%, #dceaff 55%, #d1e2fd 100%);
  color: #162034;
}

.automation-contact-inner {
  width: min(100%, 1660px);
  margin: 0 auto;
  padding: 0 5% 0 190px;
}

.automation-contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 36px;

}

.automation-contact-copy {
  min-width: 0;
  padding: 76px 0 80px;
}

.automation-contact-eyebrow {
  margin: 0 0 20px;
  color: #526177;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .15em;
}

.automation-contact h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.automation-contact h2 span {
  color: #1769ff;
}

.automation-contact-description {
  max-width: 670px;
  margin: 20px 0 0;
  color: #4b5563;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.automation-contact-note {
  margin: 20px 0 0;
  color: #556a84;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.automation-contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.automation-contact-actions a,
.automation-contact-actions button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.automation-contact-form,
.automation-contact-write {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid #d9e4f3;
  border-radius: 7px;
  cursor: pointer;
}

.automation-contact-form {
  background: #fff;
  color: #1769ff;
}

.automation-contact-write {
  border-color: #1769ff;
  background: #1769ff;
  color: #fff;
  box-shadow: 0 6px 16px rgb(23 105 255 / 15%);
}

.automation-contact-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1769ff;
  white-space: nowrap;
}

.automation-contact-form:hover {
  background: #f5f9ff;
}

.automation-contact-write:hover {
  background: #155eef;
}

.automation-contact-phone:hover {
  text-decoration: underline;
}

.automation-contact-actions :focus-visible {
  outline: 2px solid #155eef;
  outline-offset: 4px;
}

.automation-contact-mentor {
  display: block;
  align-self: end;
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (max-width: 1250px) {
  .automation-contact-content {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    margin-left: 0;
  }
}

@media (max-width: 1000px) {
  .automation-contact-content {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .automation-contact-copy {
    padding: 52px 0;
  }
}

@media (max-width: 768px) {
  .automation-contact-inner {
    padding: 0 24px;
  }

  .automation-contact-content {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0;
  }

  .automation-contact-copy {
    width: 100%;
    padding: 52px 0 28px;
  }

  .automation-contact h2 {
    font-size: 28px;
  }

  .automation-contact-mentor {
    width: min(78%, 300px);
  }
}

@media (max-width: 480px) {
  .automation-contact-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .automation-contact-phone {
    align-self: center;
  }
}
