.contact-form {
  padding: 80px 154px;
  background-color: #131420;
}

.contact-form__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.contact-form__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #ffffff;
  line-height: normal;
  margin-bottom: 16px;
}

.contact-form__subtitle {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 24px;
  margin-bottom: 40px;
}

.contact-form__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-form__row {
  display: flex;
  gap: 16px;
}

.contact-form__row .contact-form__field {
  flex: 1;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__field label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
}

.contact-form__field input,
.contact-form__field textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: #99e007;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form__phone {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form__phone-code {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  padding: 12px 10px;
  outline: none;
  cursor: pointer;
  width: 70px;
}

.contact-form__phone-code option {
  background: #131420;
  color: #ffffff;
}

.contact-form__phone input {
  flex: 1;
  border: none;
  border-radius: 0;
  background: transparent;
}

.contact-form__phone input:focus {
  border-color: transparent;
}

.contact-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-form__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #99e007;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-form__checkbox label {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.contact-form__checkbox a {
  color: #ffffff;
  text-decoration: underline;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  gap: 0;
  font-size: 18px;
}

.contact-form__thanks {
  text-align: center;
  padding: 60px 0;
}

.contact-form__thanks-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #99e007;
  margin-bottom: 12px;
}

.contact-form__thanks-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .contact-form {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 32px 16px;
  }

  .contact-form__title {
    font-size: 26px;
  }

  .contact-form__subtitle {
    font-size: 14px;
  }

  .contact-form__form {
    gap: 16px;
  }

  .contact-form__row {
    flex-direction: column;
    gap: 16px;
  }

  .contact-form__field label {
    font-size: 13px;
  }

  .contact-form__field input,
  .contact-form__field textarea {
    font-size: 14px;
    padding: 10px 12px;
  }
}
