/* ============================================================
   联系我们 / 商务咨询页
   命名空间 ct-，只作用于本页；配色沿用首页主视觉（深色面板 + 站点蓝）
   ============================================================ */

.ct-wrap { padding-bottom: 8px; }

/* ---------- 主视觉 ---------- */
.ct-hero {
  position: relative; overflow: hidden; margin-top: 18px;
  border-radius: 22px; padding: 44px 46px; color: #fff;
  background:
    radial-gradient(760px 340px at 88% -18%, rgba(56, 132, 255, .42), transparent 62%),
    radial-gradient(620px 320px at -8% 108%, rgba(139, 92, 246, .30), transparent 60%),
    linear-gradient(158deg, #0a1120 0%, #0d1626 52%, #101b30 100%);
}
.ct-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(80% 70% at 30% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(80% 70% at 30% 0%, #000 30%, transparent 78%);
}
.ct-hero-in {
  position: relative; display: grid; grid-template-columns: 1.22fr .78fr;
  gap: 46px; align-items: center;
}
.ct-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 1.6px; color: #7fb0ff; font-weight: 700;
  text-transform: uppercase;
}
.ct-eyebrow i { width: 18px; height: 2px; background: #3b82f6; border-radius: 2px; }
.ct-title {
  margin: 14px 0 12px; font-size: 38px; line-height: 1.24;
  font-weight: 800; letter-spacing: -.8px; color: #fff;
}
.ct-title em {
  font-style: normal;
  background: linear-gradient(96deg, #7dd3fc 0%, #93b4ff 42%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-sub { margin: 0; color: #9aa8bf; font-size: 14.5px; line-height: 1.85; max-width: 560px; }

/* 需求类型胶囊 */
.ct-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ct-pill {
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: #c7d5ec; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: all .18s;
}
.ct-pill:hover { color: #fff; background: rgba(59, 130, 246, .22); border-color: rgba(96, 165, 250, .5); }

/* 右侧流程卡 */
.ct-hero-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 16px; padding: 22px 22px 18px;
  backdrop-filter: blur(6px);
}
.ct-hc-t { font-size: 13px; font-weight: 700; color: #cfe0ff; letter-spacing: .4px; margin-bottom: 16px; }
.ct-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ct-steps li { display: flex; gap: 11px; align-items: flex-start; }
.ct-steps li span {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(59, 130, 246, .22); color: #93b4ff;
  font-size: 12px; font-weight: 700; line-height: 22px; text-align: center;
  margin-top: 1px;
}
.ct-steps li b { display: block; font-size: 13.5px; color: #e6eefc; font-weight: 600; line-height: 1.5; }
.ct-steps li em { display: block; font-style: normal; font-size: 12px; color: #7f8ea6; line-height: 1.6; margin-top: 2px; }
.ct-hc-foot {
  margin-top: 16px; padding-top: 13px; border-top: 1px dashed rgba(255, 255, 255, .12);
  font-size: 11.5px; color: #6f7d94; line-height: 1.6;
}

/* ---------- 主体两栏 ---------- */
.ct-main { margin-top: 18px; }
.ct-grid { display: grid; grid-template-columns: 1.42fr .78fr; gap: 18px; align-items: start; }

.ct-form-card, .ct-side-card {
  background: #fff; border-radius: 16px; padding: 26px 28px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04), 0 6px 16px rgba(15, 23, 42, .06);
  border: 1px solid #eef1f6;
}
.ct-card-hd { margin-bottom: 18px; }
.ct-card-hd h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #111827; letter-spacing: -.2px; }
.ct-card-hd p { margin: 0; font-size: 13px; color: #6b7280; line-height: 1.6; }
.ct-card-hd p i { font-style: normal; color: #ef4444; font-weight: 700; }

/* 表单 */
.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.ct-lb { font-size: 13px; font-weight: 600; color: #374151; }
.ct-lb i { font-style: normal; color: #ef4444; }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; box-sizing: border-box; font-family: inherit;
  border: 1px solid #dfe5ee; border-radius: 10px; background: #fbfcfe;
  font-size: 14px; color: #1f2937; outline: none;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.ct-field input, .ct-field select { height: 44px; padding: 0 13px; }
.ct-field textarea { padding: 11px 13px; min-height: 132px; line-height: 1.7; resize: vertical; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #9ca3af; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus {
  border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.ct-field.is-bad input, .ct-field.is-bad select, .ct-field.is-bad textarea {
  border-color: #ef4444; background: #fffafa;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .10);
}

/* 下拉箭头（原生箭头各浏览器不一致，统一自绘） */
.ct-select-wrap { position: relative; }
.ct-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.ct-select-ico {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  color: #94a3b8; pointer-events: none;
}

.ct-count { position: absolute; right: 12px; bottom: 9px; font-size: 11.5px; color: #9ca3af; }
.ct-count b { font-weight: 600; color: #6b7280; }

.ct-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; margin-top: 2px; border: 0; border-radius: 11px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: #fff; font-family: inherit;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .85);
  transition: opacity .16s, transform .16s;
}
.ct-submit:hover { opacity: .94; }
.ct-submit:active { transform: translateY(1px); }
.ct-submit[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.ct-submit svg { flex: 0 0 16px; }
.ct-tip { margin: 2px 0 0; font-size: 11.5px; color: #9ca3af; line-height: 1.65; }

/* 提示条 */
.ct-alert {
  border-radius: 11px; padding: 13px 16px; margin-bottom: 16px;
  font-size: 13.5px; line-height: 1.65;
}
.ct-alert b { display: block; font-size: 14px; margin-bottom: 3px; }
.ct-alert-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.ct-alert-ok b { color: #065f46; }
.ct-alert-ok span { color: #059669; }
.ct-alert-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* ---------- 侧栏 ---------- */
.ct-side { display: flex; flex-direction: column; gap: 18px; }
/* 微信二维码：横向卡片（图在左、说明在右），比纵向省约 170px 高度，
   这样侧栏才不会比表单长出太多、在左下留一大片空白 */
.ct-qr {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; margin-bottom: 20px;
  border-radius: 13px; background: #f8fafc; border: 1px solid #eef1f6;
}
.ct-qr-img {
  flex: 0 0 auto; display: block; width: 148px; height: auto;
  box-sizing: content-box; padding: 6px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}
.ct-qr-tip { min-width: 0; }
.ct-qr-tip b { display: block; font-size: 13.5px; font-weight: 700; color: #1f2937; }
.ct-qr-tip span { display: block; margin-top: 4px; font-size: 12px; color: #6b7280; line-height: 1.65; }

.ct-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ct-contacts li { display: flex; gap: 12px; align-items: flex-start; }
.ct-ct-ico {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #eff4ff; color: #2563eb;
}
.ct-ct-body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ct-ct-lb { font-size: 11.5px; color: #94a3b8; letter-spacing: .3px; }
.ct-ct-val { font-size: 14px; font-weight: 600; color: #1f2937; word-break: break-all; }
.ct-ct-val a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.ct-ct-val a:hover { color: #2563eb; border-bottom-color: #bfdbfe; }
.ct-ct-note { font-style: normal; font-size: 11.5px; color: #9ca3af; }

.ct-side-empty p { margin: 0; font-size: 13px; color: #6b7280; line-height: 1.8; }

/* 「写什么才有用」速查表 */
.ct-guides { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ct-guides li { display: flex; flex-direction: column; gap: 2px; }
.ct-guides li b {
  font-size: 12.5px; font-weight: 700; color: #2563eb;
  display: inline-flex; align-items: center; gap: 6px;
}
.ct-guides li b::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #93b4ff; flex: 0 0 5px;
}
.ct-guides li span { font-size: 12.5px; color: #5b6472; line-height: 1.7; padding-left: 11px; }

/* ---------- FAQ ---------- */
.ct-faq { margin-top: 18px; background: #fff; border-radius: 16px; padding: 28px 28px 26px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04), 0 6px 16px rgba(15, 23, 42, .06);
  border: 1px solid #eef1f6;
}
.ct-faq-hd { margin-bottom: 20px; }
.ct-faq-hd h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #111827; }
.ct-faq-hd p { margin: 0; font-size: 13px; color: #6b7280; }
.ct-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-faq-item { background: #f8fafc; border: 1px solid #eef1f6; border-radius: 12px; padding: 16px 18px; }
.ct-faq-item b { display: block; font-size: 13.5px; color: #1f2937; font-weight: 700; line-height: 1.6; margin-bottom: 7px; }
.ct-faq-item p { margin: 0; font-size: 13px; color: #5b6472; line-height: 1.78; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .ct-hero { padding: 36px 32px; }
  .ct-hero-in { grid-template-columns: 1fr; gap: 28px; }
  .ct-title { font-size: 33px; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-side { flex-direction: row; }
  .ct-side-card { flex: 1; }
}
@media (max-width: 720px) {
  .ct-hero { padding: 30px 22px; border-radius: 18px; margin-top: 12px; }
  .ct-title { font-size: 27px; letter-spacing: -.4px; }
  .ct-sub { font-size: 13.5px; }
  .ct-pills { gap: 8px; margin-top: 18px; }
  .ct-pill { padding: 7px 15px; font-size: 13px; }
  .ct-form-card, .ct-side-card, .ct-faq { padding: 20px 18px; border-radius: 14px; }
  .ct-row { grid-template-columns: 1fr; gap: 14px; }
  .ct-side { flex-direction: column; }
  /* 窄屏横向二维码会把说明挤成竖排，改回纵向 */
  .ct-qr { flex-direction: column; align-items: center; gap: 11px; padding: 15px; }
  .ct-qr-img { width: 152px; }
  .ct-qr-tip { text-align: center; }
  .ct-faq-grid { grid-template-columns: 1fr; }
  .ct-card-hd h2, .ct-faq-hd h2 { font-size: 17px; }
  .ct-field input, .ct-field select { height: 42px; }
  .ct-submit { height: 44px; font-size: 14.5px; }
}
