.marketing-contact {
  margin: 6rem auto;
  text-align: center;

  @media (width >= 768px) {
    margin: 12rem auto;
  }

  & h1 {
    font-family: Georgia, serif;
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 1rem;

    @media (width >= 768px) {
      font-size: 3rem;
    }
  }
}

.marketing-contact-subtitle {
  font-size: 1.125rem;
  color: #d2d2d2;
  margin-bottom: 2.5rem;

  @media (width >= 768px) {
    font-size: 1.25rem;
  }
}

.marketing-contact-alert {
  background: rgb(220 38 38 / 0.15);
  border: 1px solid rgb(220 38 38 / 0.3);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  font-size: 0.875rem;
}

.marketing-contact-form {
  max-width: 32rem;
  margin: 6rem auto 0;
  text-align: left;
}

.marketing-contact-field {
  margin-bottom: 1.25rem;

  & label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d2d2d2;
    margin-bottom: 0.375rem;
  }

  & input,
  & textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0.25rem;
    color: #fff;
    box-sizing: border-box;

    &:focus {
      outline: none;
      border-color: #157dfb;
      box-shadow: 0 0 0 2px rgb(21 125 251 / 0.25);
    }

    &::placeholder {
      color: #666;
    }
  }

  & textarea {
    resize: vertical;
  }
}

.marketing-contact-name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.marketing-contact-submit {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 0.5rem;

  &:hover {
    background: #e5e5e5;
  }

  &:focus-visible {
    outline: 2px solid #157dfb;
    outline-offset: 2px;
  }
}

.marketing-contact-back {
  margin-top: 2rem;

  & a {
    color: #157dfb;
    text-decoration: none;
    font-weight: 600;

    &:hover {
      text-decoration: underline;
    }
  }
}
