/* ================================
   Contact
   ================================ */
.contact {
  background: var(--gray);
  z-index: 101;
  position: relative;
  padding: 90px 20px;
}

.contact__main {
  row-gap: 85px;
  display: flex;
  flex-direction: column;
}

.contact .label {
  margin-bottom: 33px;
}

.contact__title {
  font-size: 37px;
  font-weight: 400;
  line-height: 42px;
}

.contact__intro {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  margin-top: 24px;
}

.contact__button {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  border: 2px solid var(--black);
  color: var(--white);
  background-color: var(--black);
  padding: 16px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 50px;

  &:hover {
    background-color: var(--gray);
    transition: background-color 0.3s ease;
    color: var(--black);
  }
}

.contact__form {
  display: flex;
  flex-direction: column;
}

.contact__field {
  margin-bottom: 40px;
}

.contact__field--last {
  margin-bottom: 38px;
}

.contact__field input,
.contact__field textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-light);
  font-family: var(--font);
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  padding-bottom: 25px;
  border-radius: 0;
  -webkit-appearance: none;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: var(--black);
  opacity: 1;
}

.contact__field textarea { resize: none; }

.contact__field input:focus-visible,
.contact__field textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

@media (min-width: 1024px) {
  .contact {
    padding: 230px 0;
  }

  .contact__main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 200px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 30px;
  }

  .contact__column--intro {
    width: 55%;
  }

  .contact__title {
    width: 100%;
    font-size: 55px;
    font-weight: 400;
    line-height: 60px;
    letter-spacing: 0;
  }

  .contact__intro {
    max-width: 600px;
    font-size: 16px;
    line-height: 22px;
  }

  .contact__column--form {
    width: 45%;
  }

  .contact__field { margin-bottom: 40px; }
  .contact__field--last { margin-bottom: 80px; }
}
