.contact__wrapper {
  display: flex;
  max-width: 1280px;
  margin: 7rem auto 6rem auto;
  padding: 0 2%;
}

.contact__form-container {
  width: 50%;
  border-right: 1px solid #ccc;
}

.contact__title {
  margin-bottom: 3rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact__form-group-row {
  display: flex;
  gap: 1.125rem;
}

.contact__form-group-row .contact__form-group {
  flex: 1;
}

.contact__label {
  display: none;
}

.contact__input,
.contact__textarea {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 0.6rem 0;
  font-size: 1rem;
  outline: none;
  width: 90%;
}

.contact__input90 {
  width: 80% !important;
}

.contact__textarea {
  resize: none;
  min-height: 200px;
}

.contact__button {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.contact__button:hover {
  background-color: #dc2626;
}

.contact__aside {
  width: 50%;
  padding-left: 3.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.contact__aside-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.contact__aside-text {
  font-size: 1rem;
  color: #555;
  max-width: 400px;
}

.contact__aside-link {
  color: #ef4444;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .contact__input,
  .contact__textarea {
    width: 100% !important;
  }

  .contact__button {
    align-self: center;
  }

  .contact__wrapper {
    flex-direction: column;
  }

  .contact__form-container {
    width: 100%;
    padding: 0;
    border: none;
  }

  .contact__form-group-row {
    flex-direction: column;
  }

  .contact__aside {
    display: none;
  }

  .contact__wrapper {
    margin: 3rem auto;
  }

  .contact__title {
    text-align: center;
  }
}
