.rs-b24-form-section {
  width: 100%;
  padding: 0 0 120px;
}

.rs-b24-form-container {
  width: 1276px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.rs-b24-form-con {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: 48px 56px;
  border-radius: 20px;
  background: #f4f5fe;
}

.rs-b24-form-text {
  flex: 1 1 48%;
}

.rs-b24-form-title {
  margin: 0;
  max-width: 520px;
  font-size: 40px;
  font-weight: 500;
  line-height: 42px;
}

.rs-b24-form-desc {
  margin: 24px 0 0;
  max-width: 460px;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.rs-b24-form {
  flex: 1 1 44%;
}

.rs-b24-form input[type="text"],
.rs-b24-form input[type="tel"] {
  width: 100%;
  margin: 0 0 16px;
  padding: 18px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  line-height: 20px;
  background: #fff;
}

.rs-b24-form input[type="text"]::placeholder,
.rs-b24-form input[type="tel"]::placeholder {
  color: #9e9e9e;
}

.rs-b24-form input[type="text"]:focus,
.rs-b24-form input[type="tel"]:focus {
  outline: none;
  border-color: #0f3ae7;
}

.rs-b24-input-error {
  border-color: #dc2626 !important;
}

.rs-b24-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 18px;
}

.rs-b24-checkbox-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
}

.rs-b24-checkbox-row label {
  margin: 0;
  color: #4f4f4f;
  font-size: 12px;
  line-height: 16px;
}

.rs-b24-checkbox-row a {
  color: inherit;
  text-decoration: underline;
}

.rs-b24-submit {
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 10px;
  background: #0f3ae7;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.rs-b24-submit:hover {
  background: #000;
}

.rs-b24-submit:disabled {
  cursor: default;
  opacity: 0.9;
}

.rs-b24-error {
  min-height: 18px;
  margin: 0 0 10px;
  color: #dc2626;
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 1399px) {
  .rs-b24-form-container {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .rs-b24-form-con {
    padding: 40px 32px;
  }

  .rs-b24-form-title {
    max-width: 100%;
    font-size: 34px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {
  .rs-b24-form-section {
    padding: 0 0 64px;
  }

  .rs-b24-form-container {
    max-width: 100%;
    padding: 0 24px;
  }

  .rs-b24-form-con {
    gap: 20px;
    padding: 30px 24px;
    border-radius: 20px;
  }

  .rs-b24-form-text,
  .rs-b24-form {
    flex: 1 1 100%;
  }

  .rs-b24-form-title {
    font-size: 28px;
    line-height: 32px;
  }

  .rs-b24-form-desc {
    margin-top: 18px;
    max-width: 100%;
    font-size: 16px;
    line-height: 22px;
  }

  .rs-b24-form input[type="text"],
  .rs-b24-form input[type="tel"] {
    padding: 16px;
  }

  .rs-b24-submit {
    min-height: 52px;
    font-size: 16px;
    line-height: 18px;
  }
}
