/* ============================================================
   金舜达 · 数字科技服务平台  统一样式表
   适配：桌面端 / 移动端 H5
   ============================================================ */

:root {
  --brand: #6d28d9;
  --brand-2: #9b6cf0;
  --brand-deep: #4c1d95;
  --brand-soft: #f2ecff;
  --accent: #e2543a;
  --accent-soft: #fdeeea;
  --ok: #14a06b;
  --ok-soft: #e6f7f0;
  --warn: #cf7a12;
  --warn-soft: #fdf3e4;
  --bg: #f9f7fd;
  --card: #ffffff;
  --line: #e9e3f4;
  --ink: #241b33;
  --ink-2: #574a6b;
  --ink-3: #9187a5;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 1px 8px rgba(60, 32, 110, .07);
  --shadow-lg: 0 12px 34px rgba(60, 32, 110, .14);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 6px 16px rgba(109, 40, 217, .24);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--brand); border-color: #d9cbf5; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 8px; }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 6px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------- 顶部导航（细边框 · 顶部色线） ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 0 var(--brand);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 66px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(109, 40, 217, .3);
}
.logo-text strong { display: block; font-size: 16px; letter-spacing: .3px; line-height: 1.2; white-space: nowrap; }
.logo-text em {
  display: block; font-style: normal; font-size: 11px;
  color: var(--ink-3); letter-spacing: 1.5px; line-height: 1.4;
}
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 15px; border-radius: 6px; font-size: 15px;
  color: var(--ink-2); font-weight: 500; transition: .18s;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav a.active { color: var(--brand); background: var(--brand-soft); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-tel {
  font-size: 14px; color: var(--ink-2); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.header-tel::before { content: "☎"; color: var(--brand); }
.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  font-size: 18px; color: var(--ink-2); cursor: pointer;
}

/* ---------------- 公共区块 ---------------- */
.section { padding: 52px 0; }
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-deep);
  background: var(--brand-soft); padding: 4px 11px; border-radius: 4px; margin-bottom: 12px;
  border-left: 3px solid var(--brand);
  letter-spacing: .5px;
}
.section-title { font-size: 28px; font-weight: 800; margin: 0 0 10px; letter-spacing: .3px; }
.section-desc { color: var(--ink-2); font-size: 15px; margin: 0; max-width: 760px; }
.section-head.center .section-desc { margin: 0 auto; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------------- Hero（左右分栏款） ---------------- */
.hero {
  background:
    radial-gradient(560px 320px at 96% 2%, rgba(226, 84, 58, .10), transparent 64%),
    radial-gradient(700px 420px at 2% 98%, rgba(109, 40, 217, .12), transparent 66%),
    linear-gradient(180deg, #f6f2ff 0%, #fbfaff 100%);
  color: var(--ink);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(109, 40, 217, .16) 1.2px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(96deg, transparent 44%, #000 100%);
  mask-image: linear-gradient(96deg, transparent 44%, #000 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #ddd0f7;
  padding: 6px 15px; border-radius: 6px; font-size: 13px; margin-bottom: 18px;
  color: var(--brand-deep);
}
.hero h1 { font-size: 41px; line-height: 1.24; margin: 0 0 16px; font-weight: 800; letter-spacing: .5px; }
.hero h1 span { color: var(--brand); box-shadow: inset 0 -10px 0 var(--accent-soft); }
.hero p.lead { font-size: 16px; color: var(--ink-2); margin: 0 0 26px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--accent); font-weight: 800; }

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-panel::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 10px 10px 0 0;
}
.hero-panel h3 { margin: 0 0 16px; font-size: 15px; font-weight: 700; letter-spacing: .5px; color: var(--ink); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat {
  background: var(--brand-soft); border-radius: 8px; padding: 14px 16px;
  border-left: 3px solid var(--brand);
}
.hero-stat b { display: block; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--brand-deep); }
.hero-stat small { font-size: 12.5px; color: var(--ink-2); }

/* ---------------- 信任条 ---------------- */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-top: -32px;
  position: relative; z-index: 5; box-shadow: var(--shadow-lg);
}
.trust-item { background: #fff; padding: 20px 18px; text-align: center; }
.trust-item .ti-icon { font-size: 22px; margin-bottom: 6px; }
.trust-item b { display: block; font-size: 15px; margin-bottom: 3px; }
.trust-item small { color: var(--ink-3); font-size: 13px; }

/* ---------------- 服务卡片 ---------------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 20px; display: flex; flex-direction: column; transition: .2s;
  box-shadow: var(--shadow); position: relative;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d9cbf5; }
.svc-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; padding-right: 78px; }
.svc-ico {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid #e4d9fa;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.svc-cat { font-size: 12.5px; color: var(--ink-3); }
.svc-name { font-size: 17px; font-weight: 700; margin: 2px 0 0; line-height: 1.45; }
.svc-brief { color: var(--ink-2); font-size: 13.8px; flex: 1; margin: 0 0 16px; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  font-size: 12.5px; padding: 3px 10px; border-radius: 4px;
  background: #f4f0fb; color: var(--ink-2);
}
.chip.ok { background: var(--ok-soft); color: #0f8a5d; }
.chip.hot { background: var(--accent-soft); color: #c9432c; font-weight: 700; }
.svc-price-row {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--line); padding-top: 14px; gap: 10px;
}
.price { color: var(--accent); font-weight: 800; }
.price .cur { font-size: 14px; }
.price .num { font-size: 25px; letter-spacing: -.5px; }
.price .unit { font-size: 12.5px; color: var(--ink-3); font-weight: 500; margin-left: 2px; }
.svc-sales { font-size: 12.5px; color: var(--ink-3); }
/* 右上角价格角标 */
.svc-price-badge {
  position: absolute; top: 0; right: 0; z-index: 2;
  background: linear-gradient(135deg, var(--accent), #c9432c);
  color: #fff; font-size: 15.5px; font-weight: 800;
  padding: 8px 13px 8px 15px; border-radius: 0 var(--radius) 0 10px;
  letter-spacing: -.3px; line-height: 1.15;
}
.svc-price-badge i { font-style: normal; font-size: 11.5px; font-weight: 500; opacity: .92; margin-left: 1px; }

/* ---------------- 办理流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; text-align: center; box-shadow: var(--shadow); }
.flow-num {
  width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.flow-step b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.flow-step small { color: var(--ink-3); font-size: 12.6px; line-height: 1.55; display: block; }

/* ---------------- 保障区 ---------------- */
.guarantee { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.g-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.g-item { display: flex; gap: 12px; }
.g-item .g-ico { font-size: 20px; line-height: 1.4; }
.g-item b { display: block; font-size: 15px; margin-bottom: 2px; }
.g-item p { margin: 0; color: var(--ink-2); font-size: 13.8px; }

/* ---------------- 页头（内页 · 浅色细边框款） ---------------- */
.page-hero {
  background: linear-gradient(180deg, #f6f2ff, #fbfaff);
  color: var(--ink); padding: 34px 0 32px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 0 0 8px; font-size: 27px; font-weight: 800; color: var(--brand-deep); }
.page-hero p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.crumb a { color: var(--brand); }

/* ---------------- 筛选 ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-bar button {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 8px 18px; border-radius: 6px; font-size: 14px; cursor: pointer;
  font-family: inherit; font-weight: 500; transition: .18s;
}
.filter-bar button:hover { border-color: #d9cbf5; color: var(--brand); }
.filter-bar button.active {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 6px 14px rgba(109, 40, 217, .22);
}

/* ---------------- 详情页 ---------------- */
.detail-wrap { display: grid; grid-template-columns: 1.6fr .9fr; gap: 26px; align-items: start; }
.detail-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.detail-title { font-size: 25px; font-weight: 800; margin: 0 0 10px; line-height: 1.4; }
.detail-sub { color: var(--ink-2); margin: 0 0 18px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.block-title { font-size: 17px; font-weight: 700; margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); line-height: 1.2; }
.block-title:first-of-type { margin-top: 6px; }
.detail-main p { color: var(--ink-2); }
.dl-list { display: grid; gap: 10px; }
.dl-list li {
  background: #faf7fe; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 14.2px; display: flex; gap: 10px; align-items: flex-start;
}
.dl-list li::before { content: "▸"; color: var(--brand); font-weight: 800; }
.dl-list li b { color: var(--ink); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.2px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.spec-table th { background: #faf7fe; font-weight: 700; color: var(--ink); width: 130px; }
.spec-table td { color: var(--ink-2); }

/* 侧边购买卡 */
.buy-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-lg); position: sticky; top: 84px;
}
.buy-card .price { color: #d9422c; }
.buy-card .price .num { font-size: 34px; }
.buy-price-box { background: linear-gradient(135deg,#fdf3f0,#fff); border: 1px solid #f3d6cf; border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.buy-price-box small { color: var(--ink-3); font-size: 12.5px; }
.buy-note { font-size: 13.2px; color: var(--ink-2); margin: 0 0 16px; }
.buy-list { display: grid; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: var(--ink-2); }
.buy-list li { display: flex; gap: 8px; }
.buy-list li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.buy-card .mini { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }

/* ---------------- 表单 / 订单 ---------------- */
.order-wrap { display: grid; grid-template-columns: 1.55fr .95fr; gap: 26px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel h2 { font-size: 19px; font-weight: 800; margin: 0 0 20px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-row label .req { color: #d9422c; margin-left: 3px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink);
  background: #fff; transition: .18s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(109,40,217,.13);
}
.form-row textarea { resize: vertical; min-height: 84px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-hint { font-size: 12.5px; color: var(--ink-3); margin: 6px 0 0; }

.qty { display: flex; align-items: center; gap: 0; }
.qty button {
  width: 38px; height: 40px; border: 1px solid var(--line); background: #fff;
  font-size: 17px; cursor: pointer; color: var(--ink-2); font-family: inherit;
}
.qty button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qty input { width: 64px; text-align: center; border-radius: 0; border-left: none; border-right: none; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 84px; }
.summary h3 { font-size: 17px; margin: 0 0 18px; font-weight: 800; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.2px; padding: 8px 0; color: var(--ink-2); }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 16px; font-size: 15px; color: var(--ink); font-weight: 700; align-items: baseline; }
.sum-row.total .price .num { font-size: 27px; }
.sum-svc { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.sum-svc .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.sum-svc b { font-size: 14.8px; display: block; }
.sum-svc small { color: var(--ink-3); font-size: 12.5px; }

.pay-methods { display: grid; gap: 12px; }
.pay-method {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: .18s;
}
.pay-method:hover { border-color: #d9cbf5; }
.pay-method.active { border-color: var(--brand); background: var(--brand-soft); }
.pay-method .pm-ico { width: 34px; height: 34px; border-radius: 9px; background: #e6f7f0; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pay-method b { font-size: 14.5px; display: block; }
.pay-method small { color: var(--ink-3); font-size: 12.5px; }
.pay-method .pm-radio { margin-left: auto; width: 19px; height: 19px; border-radius: 50%; border: 2px solid #cfc4e0; }
.pay-method.active .pm-radio { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 0 5px, #fff 6px 100%); }

/* ---------------- 售后 / 客服页 ---------------- */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.policy-card .p-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.policy-card h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 700; }
.policy-card p { margin: 0; color: var(--ink-2); font-size: 13.8px; }

.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 118px 1fr; gap: 18px; position: relative; padding-bottom: 24px; }
.tl-item::before { content: ""; position: absolute; left: 133px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-time { text-align: right; font-weight: 700; color: var(--brand); font-size: 14px; padding-top: 2px; }
.tl-body { position: relative; padding-left: 26px; }
.tl-body::before { content: ""; position: absolute; left: -3px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px #e4d9fa; }
.tl-body b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.tl-body p { margin: 0; color: var(--ink-2); font-size: 13.9px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.contact-card .cc-ico { font-size: 26px; margin-bottom: 8px; }
.contact-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-card span { color: var(--ink-2); font-size: 14px; font-weight: 600; word-break: break-all; }
.contact-card small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 6px; }

/* ---------------- 关于我们 ---------------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 14.3px; }
.info-table th, .info-table td { border-bottom: 1px solid var(--line); padding: 13px 14px; text-align: left; vertical-align: top; }
.info-table th { color: var(--ink-3); font-weight: 600; width: 170px; background: #faf7fe; }
.info-table td { color: var(--ink); }
.qual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.qual-item { border: 1px dashed #d9cbf5; border-radius: var(--radius); padding: 20px; background: #fcfaff; }
.qual-item b { display: block; margin-bottom: 4px; font-size: 14.8px; }
.qual-item code { display: inline-block; font-size: 13px; color: var(--brand-deep); background: var(--brand-soft); padding: 2px 8px; border-radius: 6px; margin-top: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.qual-item small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 8px; }

/* ---------------- 悬浮客服 ---------------- */
.float-cs { position: fixed; right: 22px; bottom: 26px; z-index: 80; display: grid; gap: 10px; }
.float-cs a {
  width: 52px; height: 52px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; transition: .18s; position: relative;
}
.float-cs a:hover { transform: translateY(-3px); }
.float-cs a.primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; border-color: transparent; }
.float-cs a .tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 12.5px; padding: 5px 11px;
  border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .18s;
}
.float-cs a:hover .tip { opacity: 1; }

/* ---------------- 底部 ---------------- */
.site-footer { background: #241b33; color: rgba(255,255,255,.72); padding: 42px 0 24px; margin-top: 60px; font-size: 13.6px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: #fff; }
.footer-about p { margin: 0 0 10px; line-height: 1.75; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.55); font-size: 12.8px; }
.footer-bottom a { color: rgba(255,255,255,.68); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo strong { color: #fff; font-size: 16px; }

/* ---------------- 支付结果 ---------------- */
.pay-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow-lg); text-align: center; }
.pay-amount { font-size: 40px; font-weight: 800; color: #d9422c; letter-spacing: -1px; margin: 6px 0 4px; }
.pay-amount small { font-size: 20px; }
.pay-order { color: var(--ink-3); font-size: 13.4px; margin-bottom: 24px; }
.qr-box { width: 190px; height: 190px; margin: 0 auto 16px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.pay-tip { background: var(--warn-soft); border: 1px solid #f6e0bb; color: #8a5a12; border-radius: 10px; padding: 12px 16px; font-size: 13.4px; text-align: left; margin-top: 20px; }
.pay-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 26px; }
.pay-step { flex: 1; text-align: center; font-size: 12.6px; color: var(--ink-3); position: relative; }
.pay-step .dot { width: 26px; height: 26px; border-radius: 50%; background: #f2eefa; color: var(--ink-3); display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-size: 13px; font-weight: 700; }
.pay-step.done .dot { background: var(--ok); color: #fff; }
.pay-step.now .dot { background: var(--brand); color: #fff; }
.pay-step.now { color: var(--brand); font-weight: 700; }

/* ---------------- 提示 / 空态 ---------------- */
.notice { border-radius: var(--radius); padding: 16px 20px; font-size: 14px; border: 1px solid; margin-bottom: 22px; }
.notice.info { background: var(--brand-soft); border-color: #ddd0f7; color: #4c1d95; }
.notice.ok { background: var(--ok-soft); border-color: #c2ead9; color: #0f8a5d; }
.notice.warn { background: var(--warn-soft); border-color: #f6e0bb; color: #8a5a12; }
.notice b { font-weight: 700; }

.toast {
  position: fixed; left: 50%; top: 76px; transform: translate(-50%, -14px);
  background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 10px;
  font-size: 14px; z-index: 200; opacity: 0; pointer-events: none; transition: .25s;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .detail-wrap, .order-wrap { grid-template-columns: 1fr; }
  .buy-card, .summary { position: static; }
  .policy-grid, .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .main-nav {
    position: absolute; top: 66px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 18px 18px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .header-tel { display: none; }
  .header-actions .btn { display: none; }
  .hero h1 { font-size: 27px; }
  .hero p.lead { font-size: 15px; }
  .section { padding: 36px 0; }
  .section-title { font-size: 22px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .g-list, .form-grid, .qual-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .tl-item { grid-template-columns: 84px 1fr; gap: 12px; }
  .tl-item::before { left: 99px; }
  .detail-main, .panel, .summary, .buy-card { padding: 20px; }
  .float-cs { right: 14px; bottom: 18px; }
  .float-cs a { width: 46px; height: 46px; font-size: 19px; }
}
