/* DESMOND B 端询盘表单样式 (W1, 2026-10-12)
 * 依赖：manual.css（基础排版）、site-fix.css（导航/移动端）
 * 配色沿用站点：文字 #1d1d1f / 次级 #86868b / 强调 #0071e3 / 卡片 #f5f5f7
 */

.inq-wrap { max-width: 980px; margin: 0 auto; padding: 120px 22px 60px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif; }
.inq-wrap h1 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.inq-wrap .inq-sub { color: #6e6e73; font-size: 16px; line-height: 1.7; max-width: 720px; }
.inq-wrap .inq-meta { color: #86868b; font-size: 13px; margin: 10px 0 26px; }

.inq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; align-items: start; }
@media (max-width: 820px) { .inq-layout { grid-template-columns: 1fr; } .inq-wrap { padding-top: 100px; } }

/* 表单卡片 */
.inq-card { background: #fff; border: 1px solid #e5e5ea; border-radius: 16px; padding: 26px 24px; }

.fld { margin-bottom: 18px; }
.fld > label.lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: #1d1d1f; }
.fld .req { color: #d70015; margin-left: 3px; }
.fld .hint { font-size: 12px; color: #86868b; margin-top: 5px; }

.fld input[type="text"],
.fld input[type="email"],
.fld input[type="tel"],
.fld select,
.fld textarea {
  width: 100%; font: inherit; font-size: 15px; color: #1d1d1f;
  background: #fbfbfd; border: 1px solid #d2d2d7; border-radius: 10px;
  padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.fld textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.fld select { appearance: none; background-image: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, #86868b 50%), linear-gradient(135deg, #86868b 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0,113,227,.14); }

.fld.has-error input, .fld.has-error select, .fld.has-error textarea { border-color: #d70015; }
.fld .err { display: none; color: #d70015; font-size: 12px; margin-top: 6px; }
.fld.has-error .err { display: block; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; gap: 0; } }

/* 单选 / 多选 */
.choices { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.choices label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #3a3a3c;
  cursor: pointer; padding: 7px 12px; border: 1px solid #d2d2d7; border-radius: 999px; background: #fbfbfd; }
.choices label:hover { border-color: #b0b0b5; }
.choices input { accent-color: #0071e3; width: 15px; height: 15px; margin: 0; }
.choices label:has(input:checked) { border-color: #0071e3; background: #f0f7ff; color: #0071e3; font-weight: 600; }

.consent-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #6e6e73; line-height: 1.6; }
.consent-row input { margin-top: 3px; accent-color: #0071e3; width: 16px; height: 16px; flex: 0 0 auto; }
.consent-row a { color: #0071e3; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-inq { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 6px; padding: 14px 22px; font: inherit; font-size: 16px; font-weight: 600;
  color: #fff; background: #0071e3; border: 0; border-radius: 999px; cursor: pointer;
  transition: background .15s, transform .08s; }
.btn-inq:hover { background: #0060c7; }
.btn-inq:active { transform: scale(.99); }
.btn-inq[disabled] { background: #b9d6f5; cursor: default; }

/* 成功态 */
.inq-success { background: #f0f7ff; border: 1px solid #b9d6f5; border-radius: 16px; padding: 30px 26px; }
.inq-success h3 { font-size: 21px; font-weight: 700; color: #1d1d1f; margin-bottom: 10px; }
.inq-success h3::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: #0071e3; color: #fff; font-size: 15px; vertical-align: -4px; }
.inq-success p { color: #3a3a3c; font-size: 15px; line-height: 1.75; }
.inq-success .inq-id { margin-top: 12px; color: #6e6e73; font-size: 13px; }
.inq-success code { background: #fff; border: 1px solid #d2d2d7; border-radius: 6px; padding: 2px 7px; font-size: 13px; }

/* 侧栏 */
.inq-aside { background: #f5f5f7; border-radius: 16px; padding: 22px 20px; font-size: 14px; color: #3a3a3c; }
.inq-aside h3 { font-size: 15px; font-weight: 600; color: #1d1d1f; margin-bottom: 12px; }
.inq-aside ul { list-style: none; padding: 0; margin: 0 0 16px; }
.inq-aside li { position: relative; padding-left: 22px; margin-bottom: 9px; line-height: 1.6; }
.inq-aside li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #0071e3; font-weight: 700; }
.inq-aside .sla { background: #fff; border-radius: 10px; padding: 14px; margin-top: 14px; }
.inq-aside .sla strong { display: block; font-size: 20px; color: #1d1d1f; margin-bottom: 2px; }
.inq-aside .sla span { font-size: 12px; color: #86868b; }
.inq-aside .mail { margin-top: 14px; font-size: 13px; color: #6e6e73; line-height: 1.7; }
.inq-aside .mail a { color: #0071e3; }

/* 首页 CTA 条 */
.ds-cta { max-width: 1080px; margin: 0 auto 40px; padding: 30px 26px; border-radius: 18px;
  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%); color: #fff; text-align: center; }
.ds-cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.ds-cta p { font-size: 15px; opacity: .92; margin-bottom: 18px; line-height: 1.6; }
.ds-cta a.ds-cta-btn { display: inline-block; padding: 13px 30px; border-radius: 999px;
  background: #fff; color: #0071e3; font-weight: 700; font-size: 15px; text-decoration: none; }
.ds-cta a.ds-cta-btn:hover { background: #f0f7ff; }
.ds-cta .ds-cta-sub { display: block; margin-top: 12px; font-size: 12px; opacity: .8; }
