.contact-section {
  padding: 100px 120px;
  background: #0d0d0d;
}

.contact-inner {
  max-width: 999px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.contact-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 787px;
}

.contact-title {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.contact-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.contact-form-wrap {
  width: 100%;
  max-width: 544px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.form-field input,
.form-field textarea {
  background: #161616;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #858585;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #f9671a;
  box-shadow: 0 0 0 3px rgba(249, 103, 26, 0.15);
}

.form-field input.is-error,
.form-field textarea.is-error {
  border-color: #ed1c24;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 154px;
}

.form-checkbox-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #f9671a;
  padding: 0;
  box-shadow: none;
}

.form-checkbox-row label {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 22px;
  padding: 18px 32px;
}

.contact-thankyou {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 48px 32px;
}

.thankyou-icon {
  display: flex;
  justify-content: center;
}

.thankyou-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.thankyou-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 440px;
}

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

  .contact-title {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 20px;
  }

  .contact-title {
    font-size: 40px;
  }

  .contact-subtitle {
    font-size: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
