/* 联系表单 */
.contact-form-section {
  width: 100%;
  float: left;
  background-color: #f3f3f3;
  padding: 0.8rem 0 1.2rem 0;
}

.form-card {
  max-width: 9rem;
  width: 91%;
  margin: 0 auto;
  background: #fff;
  border-radius: 0.12rem;
  padding: 0.6rem 0.7rem;
  box-sizing: border-box;
  box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.06);
}

.form-card .form-title {
  text-align: center;
  font-size: 0.34rem;
  color: #222;
  font-weight: bold;
  margin-bottom: 0.1rem;
}

.form-card .form-title::after {
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.04rem;
  background: #d70c19;
  margin: 0.15rem auto 0;
  border-radius: 0.02rem;
}

.form-card .form-desc {
  text-align: center;
  font-size: 0.16rem;
  color: #999;
  margin-bottom: 0.4rem;
}

/* 行业选择 */
.industry-selector {
  display: flex;
  align-items: center;
  margin-bottom: 0.35rem;
}
.industry-selector .label {
  font-size: 0.16rem;
  color: #555;
  margin-right: 0.2rem;
  white-space: nowrap;
}
.industry-selector ul {
  display: flex;
  gap: 0.12rem;
}
.industry-selector ul li {
  padding: 0.1rem 0.28rem;
  border-radius: 0.32rem;
  font-size: 0.15rem;
  color: #666;
  background: #f5f5f5;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.industry-selector ul li:hover {
  border-color: #d70c19;
  color: #d70c19;
}
.industry-selector ul li.current {
  background: #d70c19;
  color: #fff;
  border-color: #d70c19;
}

/* 表单字段 */
.form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 3%;
}
.form-fields .field {
  width: 31.3%;
}
.form-fields .field label {
  display: block;
  font-size: 0.15rem;
  color: #444;
  margin-bottom: 0.08rem;
  font-weight: 500;
}
.form-fields .field label .req {
  color: #d70c19;
  margin-left: 0.04rem;
}
.form-fields .field input {
  width: 100%;
  height: 0.48rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.06rem;
  padding: 0 0.14rem;
  box-sizing: border-box;
  font-size: 0.15rem;
  font-family: "微软雅黑";
  color: #333;
  background: #fafafa;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-fields .field input:focus {
  border-color: #d70c19;
  box-shadow: 0 0 0 0.04rem rgba(215, 12, 25, 0.08);
  background: #fff;
  outline: none;
}
.form-fields .field input::placeholder {
  color: #bbb;
}

/* 提交按钮 */
.form-submit {
  text-align: center;
  margin-top: 0.4rem;
}
.form-submit button {
  width: 2.6rem;
  height: 0.54rem;
  background: #d70c19;
  border: none;
  border-radius: 0.27rem;
  font-size: 0.18rem;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.06rem;
  transition: background 0.25s, transform 0.15s;
}
.form-submit button:hover {
  background: #b80a15;
  transform: translateY(-0.02rem);
}
.form-submit button:active {
  transform: scale(0.97);
}

@media screen and (max-width: 750px) {
  .form-card {
    padding: 0.4rem 0.3rem;
  }
  .form-fields .field {
    width: 100%;
  }
  .industry-selector {
    flex-direction: column;
    align-items: flex-start;
  }
  .industry-selector .label {
    margin-bottom: 0.12rem;
  }
  .industry-selector ul {
    flex-wrap: wrap;
  }
}
