.section-response {
  .container {
    padding: 0 56px;
  }
}

.response__inner {
  padding: 56px 0;
  display: flex;
  width: 100%;
  gap: 16px;
}

.response__text {
  display: flex;
  flex-direction: column;
  max-width: 456px;
}

.response__title {
  color: #1b1b1b;
  font-family: Halvar Breitschrift;
  font-size: 46px;
  font-style: normal;
  font-weight: 700;
}

.response__description {
  color: #1b1b1b;
  font-family: Onest;
  font-size: 24px;
  font-style: normal;
  margin-top: 16px;
  max-width: 336px;
}

.response__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  margin-left: auto;
  max-width: 928px;
}

.response__form__row {
  display: flex;
  gap: 72px;
}

.response__form__row input {
  width: 100%;
  background: none;
  color: #1b1b1b;
  border-bottom: 1px solid rgba(27, 27, 27, 0.2);
  padding-bottom: 16px;
  outline: none;
  font-family: Onest;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
  letter-spacing: -0.18px;
}

.response__form__row input::placeholder {
  color: rgba(27, 27, 27, 0.6);
}

.response__form__file {
  margin: 16px 0;
}

.response__form__file__area {
  border: 2px dashed rgba(27, 27, 27, 0.3);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.response__form__file__area:hover {
  border-color: rgba(27, 27, 27, 0.5);
}

.response__form__file__label {
  display: block;
  cursor: pointer;
  color: rgba(27, 27, 27, 0.6);
  font-family: Onest;
  font-size: 18px;
  font-weight: 400;
}

.response__form__textarea {
  margin: 16px 0;
}

.response__form__textarea textarea {
  width: 100%;
  background: none;
  color: #1b1b1b;
  border-bottom: 1px solid rgba(27, 27, 27, 0.2);
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 0 0 16px 0;
  outline: none;
  font-family: Onest;
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.18px;
  resize: none;
  min-height: auto;
  height: 44px;
}

.response__form__textarea textarea::placeholder {
  color: rgba(27, 27, 27, 0.6);
}

.response__form__checkbox {
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.response__form__checkbox input[type="checkbox"] {
  margin: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: 1px solid rgba(27, 27, 27, 0.6);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.response__form__checkbox input[type="checkbox"]:checked {
  background: #4a90e2;
  border-color: #4a90e2;
}

.response__form__checkbox input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1b1b1b;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.response__form__checkbox label {
  color: rgba(27, 27, 27, 0.8);
  font-family: Onest;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  cursor: pointer;
}

.response__form__checkbox label a {
  color: #4a90e2;
  text-decoration: underline;
}

.response__form__checkbox label a:hover {
  color: #357abd;
}

.response__form__submit {
  background: #008dd2;
  color: #1b1b1b;
  border: none;
  border-radius: 64px;
  padding: 16px 112px;
  font-family: Onest;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.response__form__submit:hover {
  background: #357abd;
}

.response__form__submit:disabled {
  background: rgba(74, 144, 226, 0.5);
  cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .response__inner {
    flex-direction: column;
    gap: 32px;
  }

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

  .response__text {
    max-width: 100%;
  }

  .response__title {
    font-size: 28px;
  }

  .response__description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .response__title {
    font-size: 18px;
  }

  .response__description {
    font-size: 14px;
  }

  .response__text {
    gap: 8px;
  }

  .response__form__row {
    gap: 10px;
  }

  .response__form__row input {
    font-size: 12px;
    padding-bottom: 6px;
  }

  .response__form__textarea textarea {
    font-size: 12px;
    padding-bottom: 6px;
    height: 32px;
  }

  .response__form__checkbox {
    gap: 8px;
  }

  .response__form__file__area {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .response__form__file__label {
    font-size: 12px;
  }

  .response__form__checkbox label {
    font-size: 12px;
  }

  .response__form__submit {
    font-size: 12px;
    padding: 12px 64px;
  }

  .response__inner {
    padding: 32px 0;
  }
}

@media (max-width: 550px) {
  .response__description {
    font-size: 12px;
  }
}
