@charset "UTF-8";
/* 联系我们 · contact.css
   布局参考老站：深蓝 hero → 上浮四列联系信息条 → 地图 / 留言表单两栏 → 流程 → FAQ */

/* ---------- Hero ---------- */
.ct-hero .sx-phero-in { padding-bottom: 96px; }
.ct-hero-eyebrow { display: block; margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #FF8339; }
.ct-hero h1 { margin-top: 12px; }
.ct-hero-rule { display: block; width: 34px; height: 3px; margin-top: 20px; background: var(--sx-accent); }
.ct-hero .sx-phero-lead { margin-top: 20px; }

/* ---------- 上浮联系信息条 ---------- */
.ct-quick-wrap { position: relative; z-index: 3; margin-top: -44px; }
.ct-quick {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--sx-line); border-radius: 14px;
  box-shadow: 0 14px 32px rgba(14, 26, 38, .09); overflow: hidden;
}
.ct-quick-item { display: flex; align-items: center; gap: 16px; min-height: 106px; min-width: 0; padding: 22px 22px; }
.ct-quick-item + .ct-quick-item { border-left: 1px solid var(--sx-line); }
.ct-quick-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sx-navy); color: #fff; }
.ct-quick-ico svg { width: 20px; height: 20px; }
.ct-quick-txt { min-width: 0; }
.ct-quick-txt b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--sx-muted); }
.ct-quick-txt a, .ct-quick-addr { display: block; margin-top: 4px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--sx-navy); word-break: break-word; }
.ct-quick-txt a:hover { color: var(--sx-blue); }
.ct-quick-addr { font-size: 14px; }
.ct-quick-txt em { display: block; margin-top: 4px; font-size: 11.5px; font-style: normal; color: var(--sx-muted); }

/* ---------- 主体 ---------- */
.ct-main { padding-top: 58px; }
.ct-main-head { max-width: 780px; margin-bottom: 34px; }
.ct-main-head h2 { margin-top: 12px; font-size: clamp(24px, 2.4vw, 34px); }
.ct-main-head p { margin-top: 12px; font-size: 14.5px; line-height: 1.9; color: var(--sx-body); }
.ct-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.ct-left, .ct-right { display: grid; gap: 22px; min-width: 0; }

/* ---------- 地图卡 ---------- */
.ct-map { background: #fff; border: 1px solid var(--sx-line); border-radius: 14px; box-shadow: var(--sx-shadow); overflow: hidden; }
.ct-map-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; }
.ct-map-head > div > span { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--sx-accent); }
.ct-map-head h3 { margin-top: 6px; font-size: 20px; }
.ct-map-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--sx-navy); }
.ct-map-mark svg { width: 24px; height: 24px; }
.ct-map-canvas { position: relative; height: 320px; overflow: hidden; background: #F6F8FB; border-top: 1px solid var(--sx-line); border-bottom: 1px solid var(--sx-line); }
.ct-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-map-pin { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.ct-map-dot { width: 22px; height: 22px; border: 5px solid #fff; border-radius: 50%; background: var(--sx-navy); box-shadow: 0 4px 14px rgba(14, 26, 38, .35); }
.ct-map-label { margin-top: 12px; min-width: 250px; max-width: 82%; padding: 12px 18px; background: #fff; border-radius: 10px; box-shadow: 0 8px 22px rgba(14, 26, 38, .14); text-align: center; }
.ct-map-label strong { display: block; font-size: 14px; color: var(--sx-navy); }
.ct-map-label span { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: var(--sx-body); }
.ct-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 24px 22px; }
.ct-map-foot p { font-size: 12px; color: var(--sx-muted); }
.ct-map-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 到厂路线 ---------- */
.ct-visit { padding: 24px 26px 22px; border: 1px solid var(--sx-line); border-radius: 14px; background: var(--sx-bg); }
.ct-visit h3 { font-size: 15.5px; }
.ct-visit > p { margin-top: 9px; font-size: 13.5px; line-height: 1.9; }
.ct-visit ul { margin-top: 14px; display: grid; gap: 7px; }
.ct-visit li { position: relative; padding-left: 16px; font-size: 13px; color: var(--sx-body); }
.ct-visit li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--sx-accent); }

/* ---------- 留言表单 ---------- */
.ct-form-card { background: #fff; border: 1px solid var(--sx-line); border-radius: var(--sx-r); box-shadow: var(--sx-shadow); padding: 34px 34px 30px; }
.ct-form-head h2 { font-size: 22px; }
.ct-form-head p { margin-top: 10px; font-size: 13.5px; line-height: 1.8; }
.ct-form { margin-top: 24px; }
.ct-form .sx-form-foot { justify-content: space-between; }
.ct-form-note { margin-top: 14px; font-size: 12px; color: var(--sx-muted); line-height: 1.7; }
.ct-form-note a { color: var(--sx-blue); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* ---------- 验证码弹窗（点击提交后才出现，不占表单高度） ---------- */
.ct-cap-modal {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(4, 26, 56, .58); backdrop-filter: blur(2px);
}
.ct-cap-modal[hidden] { display: none; }
.ct-cap-box {
  position: relative; width: 100%; max-width: 372px; padding: 28px 26px 24px;
  background: #fff; border-radius: 14px; box-shadow: 0 26px 60px rgba(4, 26, 56, .3);
  animation: ctCapIn .18s ease-out;
}
@keyframes ctCapIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.ct-cap-close {
  position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; padding: 0;
  border: 0; background: none; font-size: 22px; line-height: 1; color: var(--sx-muted); cursor: pointer;
}
.ct-cap-close:hover { color: var(--sx-navy); }
.ct-cap-box h3 { font-size: 18px; }
.ct-cap-desc { margin-top: 9px; font-size: 12.5px; line-height: 1.75; color: var(--sx-body); }
.ct-cap-media { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.ct-cap-img {
  flex: none; display: grid; place-items: center; width: 122px; height: 42px; padding: 0;
  border: 1px solid var(--sx-line); border-radius: 8px; background: #F7F9FB;
  overflow: hidden; cursor: pointer; transition: border-color var(--sx-tr);
}
.ct-cap-img:hover { border-color: var(--sx-blue-3); }
.ct-cap-img img { display: block; width: 120px; height: 40px; object-fit: contain; }
.ct-cap-img.is-loading { background: repeating-linear-gradient(110deg, #F6F8FB 0 12px, #F7F9FC 12px 24px); }
.ct-cap-img.is-loading img { opacity: 0; }
.ct-cap-change {
  flex: none; padding: 4px 2px; border: 0; background: none; font-family: inherit;
  font-size: 12.5px; color: var(--sx-blue); cursor: pointer;
}
.ct-cap-change:hover { color: var(--sx-navy); text-decoration: underline; }
.ct-cap-input {
  width: 100%; margin-top: 14px; padding: 11px 14px; border: 1px solid var(--sx-line); border-radius: 9px;
  background: #fff; font-size: 14px; color: var(--sx-ink); letter-spacing: .12em;
  transition: border-color var(--sx-tr), box-shadow var(--sx-tr);
}
.ct-cap-input:focus { outline: none; border-color: var(--sx-blue-3); box-shadow: 0 0 0 3px rgba(28, 93, 168, .12); }
.ct-cap-err { min-height: 18px; margin-top: 8px; font-size: 12.5px; color: #B4432E; }
.ct-cap-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.ct-cap-actions .sx-btn { min-width: 104px; justify-content: center; }
body.ct-modal-open { overflow: hidden; }

/* ---------- 隐私协议勾选 ---------- */
.ct-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; cursor: pointer; }
.ct-consent input { flex: none; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--sx-navy); cursor: pointer; }
.ct-consent span { font-size: 12.5px; line-height: 1.75; color: var(--sx-body); }
.ct-consent span i { font-style: normal; color: #C0392B; margin-left: 2px; }
.ct-consent a { color: var(--sx-blue); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ct-form .sx-btn[disabled] { opacity: .6; cursor: wait; }
.ct-form .sx-form-tip { flex: 1 1 220px; }

/* ---------- 微信二维码 ---------- */
.ct-qr { display: flex; align-items: center; gap: 20px; padding: 22px 24px; background: #fff; border: 1px solid var(--sx-line); border-radius: 14px; }
.ct-qr-img { flex: none; width: 104px; height: 104px; object-fit: contain; border: 1px solid var(--sx-line); border-radius: 10px; }
.ct-qr-txt > span { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--sx-accent); }
.ct-qr-txt h3 { margin-top: 6px; font-size: 18px; }
.ct-qr-txt p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--sx-body); }
.ct-qr-copy { margin-top: 12px; padding: 0; border: 0; background: none; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--sx-blue); cursor: pointer; }
.ct-qr-copy em { font-style: normal; text-decoration: underline dotted; }
.ct-qr-copy:hover { color: var(--sx-navy); }

/* ---------- 流程 ---------- */
.ct-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ct-flow-item { position: relative; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--sx-line); border-radius: 12px; }
.ct-flow-no { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--sx-accent); }
.ct-flow-item h3 { margin-top: 10px; font-size: 16.5px; }
.ct-flow-item p { margin-top: 8px; font-size: 13px; line-height: 1.8; }
.ct-flow-item::after { content: ""; position: absolute; right: -13px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid #F0F5F9; border-right: 1.5px solid #F0F5F9; transform: translateY(-50%) rotate(45deg); }
.ct-flow-item:last-child::after { display: none; }

/* ---------- FAQ ---------- */
.ct-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.ct-faq-copy h2 { font-size: clamp(24px, 2.4vw, 34px); margin-top: 14px; }
.ct-faq-copy p { margin-top: 14px; font-size: 14px; line-height: 1.9; }
.ct-faq-copy .sx-btn { margin-top: 22px; }
.ct-faq-list { display: grid; gap: 10px; }
.ct-faq-item { border: 1px solid var(--sx-line); border-radius: 10px; background: #fff; overflow: hidden; }
.ct-faq-item summary { position: relative; padding: 17px 52px 17px 20px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--sx-navy); list-style: none; }
.ct-faq-item summary::-webkit-details-marker { display: none; }
.ct-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: var(--sx-blue); line-height: 1; }
.ct-faq-item[open] summary::after { content: "−"; }
.ct-faq-item[open] summary { color: var(--sx-blue); }
.ct-faq-item p { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.95; color: var(--sx-body); }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .ct-quick-item { padding: 18px 16px; gap: 12px; }
  .ct-quick-txt a { font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .ct-grid { grid-template-columns: 1fr; gap: 24px; }
  .ct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-quick-item:nth-child(3) { border-left: 0; }
  .ct-quick-item:nth-child(n+3) { border-top: 1px solid var(--sx-line); }
  .ct-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-flow-item:nth-child(2)::after { display: none; }
  .ct-faq-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .ct-hero .sx-phero-in { padding-bottom: 76px; }
  .ct-quick-wrap { margin-top: -32px; }
  .ct-quick { grid-template-columns: 1fr; }
  .ct-quick-item { min-height: 0; padding: 16px 18px; }
  .ct-quick-item + .ct-quick-item { border-left: 0; border-top: 1px solid var(--sx-line); }
  .ct-main { padding-top: 44px; }
  .ct-main-head { margin-bottom: 26px; }
  .ct-form-card { padding: 24px 20px 22px; }
  .ct-consent { margin-top: 16px; }
  .ct-cap-box { padding: 24px 20px 20px; }
  .ct-cap-actions .sx-btn { flex: 1; min-width: 0; }
  .ct-map-head { padding: 18px 20px 16px; }
  .ct-map-canvas { height: 250px; }
  .ct-map-label { min-width: 0; max-width: 88%; padding: 10px 14px; }
  .ct-map-label span { font-size: 11.5px; }
  .ct-map-foot { flex-direction: column; align-items: flex-start; padding: 16px 20px 20px; }
  .ct-visit { padding: 20px 18px 16px; }
  .ct-qr { flex-direction: column; align-items: flex-start; padding: 20px; }
  .ct-flow-grid { grid-template-columns: 1fr; }
  .ct-flow-item::after { display: none; }
}
