/* ===========================================================
   HAISHENGWAN 海盛湾 · 跨境综合服务门户
   Design System / Prototype v1.0
   =========================================================== */

:root {
  /* 深海军蓝（取自标志暗部 #132537 / #18334f） */
  --navy-900: #0a1a28;
  --navy-800: #12283c;
  --navy-700: #183449;
  --navy-600: #1e4257;
  --brand: #17364e;
  --brand-600: #12293c;
  /* 香槟金（取自标志亮部 #a28d68 / #dfcfab） */
  --azure: #b18a57;
  --azure-600: #8c6536;
  --azure-050: #f8f2e6;
  --amber: #c9a86e;
  --amber-050: #fbf4e8;
  --on-gold: #0f2231;
  --ink: #1a2430;
  --ink-2: #3a4653;
  --muted: #6c7883;
  --muted-2: #94a0aa;
  --line: #e5e2db;
  --line-2: #efede8;
  --bg: #f7f6f3;
  --bg-2: #fbfaf8;
  --white: #ffffff;
  --ok: #1f8a5b;
  --ok-bg: #eaf7f0;
  --warn: #b7791f;
  --warn-bg: #fdf6e3;
  --danger: #c0392b;
  --danger-bg: #fbeeec;
  --info-bg: #f2f1ed;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --sh-1: 0 1px 2px rgba(16, 38, 58, .04), 0 2px 8px rgba(16, 38, 58, .04);
  --sh-2: 0 4px 14px rgba(16, 38, 58, .07), 0 12px 32px rgba(16, 38, 58, .06);
  --sh-3: 0 18px 48px rgba(8, 30, 50, .14);

  --max: 1220px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; }

/* ---------------- header ---------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar-l { display: flex; gap: 22px; align-items: center; }
.topbar-r { display: flex; gap: 20px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.3); }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { height: 33px; width: auto; display: block; }
.brand-sep { width: 1px; height: 26px; background: var(--line); flex: none; }
.brand-txt { display: block; }
.brand-cn { display: block; font-size: 13.5px; font-weight: 800; letter-spacing: .03em; line-height: 1.2; color: var(--navy-800); white-space: nowrap; }
.brand-sub { display: block; font-size: 9.5px; letter-spacing: .16em; color: var(--muted-2); font-weight: 600; margin-top: 1px; white-space: nowrap; }
.f-logo { height: 32px; width: auto; display: block; margin-bottom: 6px; }

.mainnav { display: flex; gap: 2px; align-items: center; margin-left: 4px; }
.mainnav a {
  position: relative; padding: 8px 10px; border-radius: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.mainnav a:hover { background: var(--line-2); color: var(--navy-700); }
.mainnav a.active { color: var(--brand-600); font-weight: 600; }
.mainnav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.mobile-nav { display: none; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; cursor: pointer;
  color: var(--ink-2); transition: .16s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .14s ease, box-shadow .18s ease, background .16s, border-color .16s, color .16s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #1e4257, var(--navy-800)); color: #fff; box-shadow: 0 2px 10px rgba(7,22,36,.20); }
.btn-primary:hover { background: linear-gradient(180deg, #24506b, var(--navy-700)); box-shadow: 0 8px 22px rgba(7,22,36,.26); }
.btn-azure { background: linear-gradient(180deg, #d9c093, var(--azure)); color: var(--on-gold); box-shadow: 0 2px 10px rgba(177,138,87,.32); }
.btn-azure:hover { background: linear-gradient(180deg, #c4a06c, var(--azure-600)); box-shadow: 0 8px 20px rgba(177,138,87,.34); }
.btn-accent { background: var(--amber); color: var(--on-gold); }
.btn-accent:hover { filter: brightness(.95); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-quiet { background: var(--line-2); color: var(--ink-2); border-color: transparent; }
.btn-quiet:hover { background: #eceae4; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.cart-pill {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 15px; border-radius: 9px;
  background: var(--azure-050); color: var(--azure-600); font-weight: 600; font-size: 13.5px;
  border: 1px solid rgba(177,138,87,.18);
}
.cart-pill .badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--azure); color: var(--on-gold); font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 420px at 86% -8%, rgba(205,174,120,.26), transparent 60%),
    radial-gradient(520px 320px at 62% 6%, rgba(150,120,72,.16), transparent 66%),
    radial-gradient(680px 440px at 4% 112%, rgba(18,52,79,.60), transparent 68%),
    linear-gradient(158deg, #071624 0%, #102a3e 46%, #17415a 100%);
  color: #fff;
  padding: 62px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(circle at 50% 20%, #000 40%, transparent 88%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -120px; height: 260px;
  background: radial-gradient(ellipse at center, rgba(177,138,87,.16), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 46px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 9px; border-radius: 100px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  font-size: 12.5px; color: rgba(255,255,255,.88); letter-spacing: .02em;
}
.hero-badge .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #d3ae74;
  box-shadow: 0 0 0 3px rgba(211,174,116,.22);
}
.hero h1 {
  color: #fff; font-size: 46px; line-height: 1.22; letter-spacing: -.02em;
  margin: 22px 0 0; max-width: 800px; font-weight: 800;
}
.hero h1 .hl {
  background: linear-gradient(96deg, #efdcb8, #c9a86e 55%, #f8f0de);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 18px; max-width: 660px; font-size: 15.5px; line-height: 1.8;
  color: rgba(255,255,255,.72);
}
.hero-search {
  margin-top: 30px; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 13px; padding: 7px 7px 7px 16px;
  max-width: 720px; box-shadow: 0 20px 50px rgba(2,14,26,.34);
}
.hero-search .s-ico { color: var(--muted-2); flex: none; }
.hero-search input {
  flex: 1; border: 0; outline: 0; font-size: 14.5px; color: var(--ink);
  background: transparent; height: 40px; font-family: inherit;
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search .btn { height: 42px; padding: 0 24px; border-radius: 9px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.hero-chips .lbl { font-size: 12.5px; color: rgba(255,255,255,.45); margin-right: 2px; }
.chip {
  padding: 5px 12px; border-radius: 100px; font-size: 12.5px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8); cursor: pointer; transition: .16s;
}
.chip:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.3); }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 26px 0 30px;
}
.hero-stats .st { padding: 0 4px; }
.hero-stats .st + .st { border-left: 1px solid rgba(255,255,255,.1); padding-left: 26px; }
.hero-stats .num { font-size: 30px; font-weight: 800; letter-spacing: -.01em; color: #fff; line-height: 1.1; }
.hero-stats .num small { font-size: 15px; font-weight: 600; margin-left: 2px; color: #efdcb8; }
.hero-stats .cap { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 5px; letter-spacing: .04em; }

/* ---------------- sections ---------------- */
.section { padding: 62px 0; }
.section.tight { padding: 42px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--azure-600);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--azure); border-radius: 2px; }
.sec-head h2 { font-size: 28px; margin-top: 9px; letter-spacing: -.02em; }
.sec-head .desc { margin-top: 9px; color: var(--muted); font-size: 14px; max-width: 640px; }
.sec-head .more { font-size: 13.5px; color: var(--brand); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; padding-bottom: 4px; }
.sec-head .more:hover { color: var(--navy-800); }

/* ---------------- journey cards ---------------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jcard {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px 22px; transition: .2s ease;
  box-shadow: var(--sh-1);
}
.jcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #d7d3c9; }
.jcard::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--azure-050); opacity: .8;
}
.jcard:nth-child(2)::after { background: var(--info-bg); }
.jcard:nth-child(3)::after { background: var(--amber-050); }
.jcard .ico {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--navy-800); color: #fff; margin-bottom: 16px;
}
.jcard:nth-child(2) .ico { background: var(--brand); }
.jcard:nth-child(3) .ico { background: var(--amber); }
.jcard h3 { font-size: 18px; }
.jcard .sub { font-size: 12.5px; color: var(--muted-2); letter-spacing: .04em; margin-top: 3px; }
.jcard p.t { color: var(--muted); font-size: 13.5px; margin-top: 12px; line-height: 1.75; }
.jcard .links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.jcard .links a { font-size: 13px; color: var(--brand-600); font-weight: 500; }
.jcard .links a:hover { text-decoration: underline; }

/* ---------------- category grid ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat {
  display: flex; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px; transition: .18s ease;
}
.cat:hover { border-color: var(--azure); box-shadow: 0 6px 20px rgba(177,138,87,.1); transform: translateY(-2px); }
.cat .cic {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--azure-050); color: var(--azure-600); display: grid; place-items: center;
}
.cat:nth-child(3n+2) .cic { background: var(--info-bg); color: var(--brand); }
.cat:nth-child(3n) .cic { background: var(--amber-050); color: var(--amber); }
.cat .ct { display: flex; align-items: baseline; gap: 8px; }
.cat h4 { font-size: 15px; }
.cat .cnt { font-size: 11.5px; color: var(--muted-2); }
.cat p { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.cat .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.cat .tags span { font-size: 11.5px; color: var(--ink-2); background: var(--bg); border-radius: 5px; padding: 1px 7px; }

/* ---------------- service card ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.svc {
  display: flex; flex-direction: column; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 18px 15px; transition: .18s ease; min-height: 176px;
}
.svc:hover { border-color: #d7d3c9; box-shadow: var(--sh-2); transform: translateY(-2px); }
.svc .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.svc h4 { font-size: 15.5px; line-height: 1.5; letter-spacing: -.01em; }
.svc .cat-tag {
  flex: none; font-size: 11px; padding: 2px 7px; border-radius: 4px;
  background: var(--bg); color: var(--muted); letter-spacing: .02em; white-space: nowrap;
}
.svc p { font-size: 12.8px; color: var(--muted); line-height: 1.7; margin-top: 8px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc .foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line);
}
.svc .lead { font-size: 12px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 5px; }
.svc .go { font-size: 12.5px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 3px; }
.svc:hover .go { color: var(--azure-600); }
.hot-flag {
  display: inline-block; font-size: 10px; letter-spacing: .08em; vertical-align: 2px;
  background: linear-gradient(135deg, var(--amber), #9a7434); color: var(--on-gold);
  padding: 1px 6px; border-radius: 4px; font-weight: 700; margin-right: 6px;
}
.svc .badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tag {
  font-size: 11px; padding: 2px 7px; border-radius: 4px;
  background: var(--azure-050); color: var(--azure-600); border: 1px solid rgba(177,138,87,.14);
}
.tag.grey { background: var(--bg); color: var(--muted); border-color: var(--line); }
.tag.amber { background: var(--amber-050); color: #8a6535; border-color: rgba(201,168,110,.2); }

/* ---------------- package / solution ---------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pkg {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  transition: .2s; overflow: hidden;
}
.pkg:hover { box-shadow: var(--sh-2); border-color: #d7d3c9; }
.pkg .pk-tag { font-size: 11px; letter-spacing: .12em; color: var(--azure-600); font-weight: 700; }
.pkg h3 { font-size: 20px; margin-top: 6px; }
.pkg p { color: var(--muted); font-size: 13.5px; margin-top: 9px; line-height: 1.75; max-width: 460px; }
.pkg .items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.pkg .items span { font-size: 12px; background: var(--bg); color: var(--ink-2); padding: 3px 9px; border-radius: 5px; }
.pkg .price { text-align: right; }
.pkg .price .v { font-size: 24px; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; }
.pkg .price .v small { font-size: 13px; font-weight: 600; color: var(--muted); }
.pkg .price .n { font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.pkg .price .btn { margin-top: 12px; }

/* ---------------- mode strip ---------------- */
.mode-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mode {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 17px 16px;
  transition: .18s;
}
.mode:hover { border-color: var(--navy-600); box-shadow: var(--sh-1); }
.mode .code { font-size: 19px; font-weight: 800; color: var(--navy-800); letter-spacing: -.01em; }
.mode .nm { font-size: 13px; font-weight: 600; margin-top: 4px; }
.mode .ds { font-size: 11.8px; color: var(--muted); margin-top: 5px; line-height: 1.6; }

/* ---------------- process ---------------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.pstep { position: relative; padding-right: 18px; }
.pstep::before {
  content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 1px;
  background: repeating-linear-gradient(to right, #dfdbd2 0 6px, transparent 6px 12px);
}
.pstep:last-child::before { display: none; }
.pstep .n {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--brand); color: var(--brand);
  font-weight: 800; font-size: 14px; position: relative; z-index: 1;
}
.pstep h4 { font-size: 14.5px; margin-top: 14px; }
.pstep p { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.7; }

/* ---------------- trust ---------------- */
.trust { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.trust-list { display: grid; gap: 10px; }
.tl-item { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 15px 17px; }
.tl-item .tl-ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--azure-050); color: var(--azure-600); display: grid; place-items: center; }
.tl-item h5 { font-size: 14px; }
.tl-item p { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.65; }

.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.logo-wall div {
  min-height: 46px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 11.5px; color: var(--muted);
  text-align: center; padding: 6px 7px; line-height: 1.35;
}

/* ---------------- cases ---------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: .2s;
}
.case:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.case .thumb {
  height: 8px; background: linear-gradient(90deg, var(--navy-800), var(--azure));
}
.case:nth-child(2) .thumb { background: linear-gradient(90deg, var(--navy-700), #5c7f97); }
.case:nth-child(3) .thumb { background: linear-gradient(90deg, var(--amber), #e8d3ac); }
.case .in { padding: 18px; }
.case .k { font-size: 11.5px; color: var(--azure-600); font-weight: 700; letter-spacing: .06em; }
.case h4 { font-size: 15.5px; margin-top: 7px; line-height: 1.5; }
.case p { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.case .res { display: flex; gap: 16px; margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line); }
.case .res b { display: block; font-size: 16px; color: var(--navy-800); }
.case .res span { font-size: 11px; color: var(--muted-2); }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(120deg, #071624, #16374d 52%, #1d4a66 100%);
  color: #fff; padding: 44px 46px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(177,138,87,.20), transparent 68%);
}
.cta-band h2 { color: #fff; font-size: 26px; letter-spacing: -.02em; }
.cta-band p { color: rgba(255,255,255,.68); font-size: 13.8px; margin-top: 9px; max-width: 560px; }
.cta-band .acts { display: flex; gap: 10px; flex: none; position: relative; z-index: 1; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.6); padding: 54px 0 26px; margin-top: 0; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 34px; }
.f-brand p { font-size: 12.5px; line-height: 1.8; margin-top: 16px; color: rgba(255,255,255,.5); max-width: 300px; }
.f-col h5 { color: #fff; font-size: 13px; letter-spacing: .04em; margin-bottom: 14px; }
.f-col a { display: block; font-size: 12.5px; color: rgba(255,255,255,.56); padding: 4px 0; transition: .15s; }
.f-col a:hover { color: #fff; }
.f-contact div { font-size: 12.5px; margin-bottom: 9px; line-height: 1.7; }
.f-contact b { color: #fff; font-weight: 600; }
.f-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: rgba(255,255,255,.38);
}

/* ---------------- page head ---------------- */
.page-head {
  background:
    radial-gradient(680px 300px at 88% -20%, rgba(205,174,120,.20), transparent 62%),
    linear-gradient(150deg, #071624, #102a3e 52%, #163f57 100%);
  color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-head .wrap { position: relative; z-index: 1; }
.crumb { font-size: 12.5px; color: rgba(255,255,255,.5); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb a:hover { color: #fff; }
.crumb .sep { opacity: .4; }
.page-head h1 { color: #fff; font-size: 32px; margin-top: 14px; letter-spacing: -.02em; }
.page-head .pdesc { color: rgba(255,255,255,.66); font-size: 14px; margin-top: 10px; max-width: 720px; line-height: 1.75; }

/* ---------------- marketplace layout ---------------- */
.market { display: grid; grid-template-columns: 252px 1fr; gap: 26px; align-items: start; padding: 32px 0 64px; }
.filters { position: sticky; top: 88px; }
.f-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 12px; }
.f-block h5 { font-size: 12px; letter-spacing: .1em; color: var(--muted-2); font-weight: 700; text-transform: uppercase; margin-bottom: 11px; }
.f-opt { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.f-opt:hover { color: var(--brand); }
.f-opt input { accent-color: var(--brand); width: 14px; height: 14px; }
.f-opt .c { margin-left: auto; font-size: 11.5px; color: var(--muted-2); }
.f-reset { width: 100%; margin-top: 4px; }

.market-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search-box {
  flex: 1; min-width: 240px; display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px; height: 42px;
}
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,54,78,.10); }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 13.8px; height: 40px; }
.sortsel {
  height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  padding: 0 30px 0 12px; font-family: inherit; font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c8c' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.result-line { font-size: 12.8px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-line b { color: var(--ink); }
.active-filter { display: inline-flex; align-items: center; gap: 5px; background: var(--azure-050); color: var(--azure-600); border-radius: 100px; padding: 2px 9px; font-size: 12px; cursor: pointer; }

/* ---------------- detail page ---------------- */
.detail-layout { display: grid; grid-template-columns: 1fr 350px; gap: 28px; align-items: start; padding: 32px 0 70px; }
.d-main > .card { margin-bottom: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.card.tight { padding: 20px; }
.card h3.blk { font-size: 17px; display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.card h3.blk::before { content: ""; width: 3px; height: 16px; border-radius: 2px; background: var(--azure); }
.card h3.blk .cnt { margin-left: auto; font-size: 12px; color: var(--muted-2); font-weight: 400; }
.card p.lead-p { font-size: 14px; color: var(--ink-2); line-height: 1.85; }

.svc-head-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.svc-head-card .ttl-row { display: flex; align-items: flex-start; gap: 16px; }
.svc-head-card h1 { font-size: 26px; letter-spacing: -.02em; line-height: 1.35; }
.svc-head-card .lead-p { margin-top: 14px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.kv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 18px; }
.kv { background: #fff; padding: 14px 16px; }
.kv .k { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; }
.kv .v { font-size: 15px; font-weight: 700; color: var(--navy-800); margin-top: 4px; }
.kv .v small { font-size: 11.5px; font-weight: 500; color: var(--muted); }

.inc-list { display: grid; gap: 9px; }
.inc-list li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.inc-list li .ck { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--azure-050); color: var(--azure-600); display: grid; place-items: center; margin-top: 3px; }

.steps { position: relative; padding-left: 4px; }
.step-i { position: relative; padding: 0 0 26px 40px; }
.step-i::before {
  content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 1.5px;
  background: linear-gradient(to bottom, #ddd8cf, #eef2f7);
}
.step-i:last-child { padding-bottom: 0; }
.step-i:last-child::before { display: none; }
.step-i .num {
  position: absolute; left: 0; top: 0; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--brand); color: var(--brand);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 800;
}
.step-i h5 { font-size: 14.5px; padding-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.step-i .t { font-size: 11.5px; color: var(--amber); background: var(--amber-050); padding: 1px 7px; border-radius: 4px; font-weight: 600; }
.step-i p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.75; }

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.doc-item {
  display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px;
}
.doc-item .di { flex: none; color: var(--muted-2); margin-top: 1px; }
.doc-item .req { color: var(--danger); font-size: 10.5px; margin-left: auto; flex: none; }

.faq-i { border-bottom: 1px solid var(--line-2); }
.faq-i:last-child { border-bottom: 0; }
.faq-q {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: 0; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; font-family: inherit;
}
.faq-q .ar { margin-left: auto; color: var(--muted-2); transition: transform .2s; flex: none; }
.faq-i.open .faq-q .ar { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 16px 0; font-size: 13.2px; color: var(--muted); line-height: 1.8; }
.faq-i.open .faq-a { display: block; }

/* sidebar */
.side-sticky { position: sticky; top: 88px; display: grid; gap: 14px; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.quote-card .qc-top { padding-bottom: 15px; border-bottom: 1px dashed var(--line); margin-bottom: 15px; }
.quote-card .price-now { font-size: 26px; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; }
.quote-card .price-now small { font-size: 13px; font-weight: 600; color: var(--muted); }
.quote-card .price-note { font-size: 11.8px; color: var(--muted-2); margin-top: 3px; }
.quote-card .acts { display: grid; gap: 9px; margin-top: 4px; }
.quote-card .mini { font-size: 11.8px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 13px; }
.advisor { display: flex; gap: 12px; align-items: center; background: var(--bg-2); border-radius: 10px; padding: 12px; margin-top: 14px; }
.advisor .av {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--brand), var(--azure)); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.advisor .nm { font-size: 13.5px; font-weight: 600; }
.advisor .rl { font-size: 11.5px; color: var(--muted-2); }

.rel-list { display: grid; gap: 2px; }
.rel-list a { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.rel-list a:last-child { border-bottom: 0; }
.rel-list a:hover { color: var(--brand); }
.rel-list a .ar { flex: none; white-space: nowrap; margin-left: auto; color: var(--muted-2); }

/* ---------------- cart / order ---------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; padding: 32px 0 70px; }
.cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.cart-item:last-child { border-bottom: 0; }
.ci-box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line);
  display: grid; place-items: center; flex: none; margin-top: 2px; cursor: pointer; background: #fff; color: transparent;
}
.ci-box.on { background: var(--azure); border-color: var(--azure); color: var(--on-gold); }
.ci-main { flex: 1; }
.ci-main h4 { font-size: 15px; }
.ci-main p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.ci-side { text-align: right; flex: none; }
.ci-side .p { font-size: 14.5px; font-weight: 700; color: var(--navy-800); }
.ci-side .rm { font-size: 11.8px; color: var(--muted-2); cursor: pointer; margin-top: 6px; }
.ci-side .rm:hover { color: var(--danger); }

.summary { position: sticky; top: 88px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; color: var(--ink-2); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 14px; }
.sum-row.total b { font-size: 22px; color: var(--navy-800); letter-spacing: -.02em; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px;
  font-family: inherit; font-size: 13.5px; color: var(--ink); background: #fff; outline: 0;
  transition: border-color .16s, box-shadow .16s; width: 100%;
}
.field textarea { height: 92px; padding: 10px 12px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c8c' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,54,78,.10); }
.field .hint { font-size: 11.5px; color: var(--muted-2); }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-card {
  flex: 1; min-width: 130px; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px;
  cursor: pointer; font-size: 13px; color: var(--ink-2); background: #fff; transition: .16s;
}
.radio-card b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.radio-card span { font-size: 11.5px; color: var(--muted-2); }
.radio-card.on { border-color: var(--azure); background: var(--azure-050); color: var(--azure-600); }

.success-box { text-align: center; padding: 64px 24px; }
.success-box .ok-ic {
  width: 66px; height: 66px; border-radius: 50%; background: var(--ok-bg); color: var(--ok);
  display: grid; place-items: center; margin: 0 auto 20px;
}
.success-box h2 { font-size: 24px; }
.success-box p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.success-box .no { font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: 8px; display: inline-block; padding: 8px 16px; margin-top: 16px; font-weight: 600; letter-spacing: .04em; }

/* ---------------- account ---------------- */
.acct-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; padding: 30px 0 70px; }
.acct-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: sticky; top: 88px; }
.acct-user { padding: 18px; border-bottom: 1px solid var(--line-2); display: flex; gap: 11px; align-items: center; }
.acct-user .av { width: 38px; height: 38px; border-radius: 9px; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 700; }
.acct-user .nm { font-size: 13.5px; font-weight: 600; }
.acct-user .co { font-size: 11.5px; color: var(--muted-2); }
.acct-nav a { display: flex; align-items: center; gap: 9px; padding: 11px 18px; font-size: 13.5px; color: var(--ink-2); border-left: 2px solid transparent; }
.acct-nav a:hover { background: var(--bg-2); }
.acct-nav a.active { background: var(--azure-050); color: var(--azure-600); border-left-color: var(--azure); font-weight: 600; }
.acct-nav a .n { margin-left: auto; font-size: 11px; background: var(--bg); border-radius: 100px; padding: 1px 7px; color: var(--muted); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tab { padding: 11px 16px; font-size: 13.5px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; font-weight: 500; }
.tab.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.order-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; background: #fff; }
.oc-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.oc-head .no { font-weight: 600; color: var(--ink-2); letter-spacing: .03em; }
.oc-head .st { margin-left: auto; }
.st-pill { font-size: 11.5px; padding: 2px 9px; border-radius: 100px; font-weight: 600; }
.st-pill.doing { background: var(--info-bg); color: var(--brand); }
.st-pill.wait { background: var(--warn-bg); color: var(--warn); }
.st-pill.done { background: var(--ok-bg); color: var(--ok); }
.oc-body { padding: 16px 18px; display: flex; gap: 18px; align-items: center; }
.oc-body .nm { font-size: 15px; font-weight: 600; }
.oc-body .ds { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.oc-body .acts { margin-left: auto; display: flex; gap: 8px; flex: none; }

.track { display: flex; gap: 0; padding: 18px; background: var(--bg-2); border-top: 1px solid var(--line-2); }
.tk { flex: 1; position: relative; text-align: center; }
.tk::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.tk:first-child::before { display: none; }
.tk.done::before { background: var(--azure); }
.tk .c { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin: 0 auto; position: relative; z-index: 1; }
.tk.done .c { background: var(--azure); border-color: var(--azure); }
.tk.cur .c { border-color: var(--azure); box-shadow: 0 0 0 4px rgba(177,138,87,.14); }
.tk .l { font-size: 11.5px; color: var(--muted-2); margin-top: 6px; }
.tk.done .l, .tk.cur .l { color: var(--ink-2); font-weight: 600; }

/* ---------------- workbench ---------------- */
.wb-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.kpi .k { font-size: 12px; color: var(--muted); }
.kpi .v { font-size: 26px; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; margin-top: 6px; }
.kpi .d { font-size: 11.5px; margin-top: 4px; }
.kpi .d.up { color: var(--ok); }
.kpi .d.dn { color: var(--danger); }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11.5px; letter-spacing: .06em; color: var(--muted-2); font-weight: 700; padding: 11px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; }
.table tr:hover td { background: var(--bg-2); }
.table .t-strong { font-weight: 600; color: var(--ink); }

.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kcol { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.kcol h5 { font-size: 12.5px; display: flex; justify-content: space-between; margin-bottom: 10px; }
.kcol h5 .c { color: var(--muted-2); font-weight: 500; }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; margin-bottom: 8px; }
.kcard .n { font-size: 12.8px; font-weight: 600; }
.kcard .m { font-size: 11.2px; color: var(--muted); margin-top: 4px; }
.kcard .b { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

/* ---------------- misc ---------------- */
.notice {
  display: flex; gap: 10px; align-items: flex-start; background: var(--info-bg);
  border: 1px solid #e6dcc8; border-radius: 10px; padding: 13px 15px; font-size: 12.8px; color: #3a4a58; line-height: 1.7;
}
.notice.amber { background: var(--amber-050); border-color: #ecdfc6; color: #7d5a28; }
.notice .ni { flex: none; margin-top: 1px; }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--navy-800); color: #fff; font-size: 13.5px; padding: 12px 20px;
  border-radius: 10px; box-shadow: var(--sh-3); opacity: 0; pointer-events: none;
  transition: .26s ease; z-index: 999; display: flex; align-items: center; gap: 9px;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.divider { height: 1px; background: var(--line-2); margin: 22px 0; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.flex { display: flex; } .between { justify-content: space-between; } .aic { align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.wrap-gap { display: flex; flex-wrap: wrap; gap: 8px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted-2); }
.empty h4 { font-size: 15px; color: var(--muted); margin-bottom: 6px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .hero h1 { font-size: 38px; }
  .svc-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
  .f-contact { grid-column: 1 / -1; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .market { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.show { display: block; }
  .mode-strip { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pstep::before { display: none; }
  .acct-layout, .cart-layout { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; }
  .acct-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .acct-user { display: none; }
  .trust { grid-template-columns: 1fr; gap: 26px; }
  .wb-kpi { grid-template-columns: repeat(2, 1fr); }
  .kanban { grid-template-columns: repeat(2, 1fr); }
}

/* 中等屏：收紧头部，避免品牌名变长后导航换行 */
@media (max-width: 1180px) {
  .site-header .wrap { gap: 12px; }
  .brand-logo { height: 28px; }
  .brand-cn { font-size: 12.5px; letter-spacing: .01em; }
  .mainnav { margin-left: 0; }
  .mainnav a { padding: 7px 8px; font-size: 13px; }
  .cart-pill { height: 36px; padding: 0 10px; font-size: 0; gap: 0; }
  .cart-pill .badge { position: static; }
  .header-right { gap: 7px; }
  .header-right .btn-ghost { padding: 0 10px; }
  .header-right .btn-primary { padding: 0 12px; }
}

@media (max-width: 380px) {
  .brand-cn { display: none; }
  .brand-logo { height: 21px; }
  .header-right .btn-primary { padding: 0 10px; font-size: 12px; }
  .cart-pill { padding: 0 9px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .topbar { display: none; }
  .mainnav { display: none; }
  .site-header .wrap { height: 58px; gap: 8px; }
  .site-header .brand { gap: 7px; }
  .brand-logo { height: 20px; }
  .brand-sep { display: none; }
  .brand-cn { font-size: 12px; letter-spacing: 0; }
  .brand-sub { display: none; }
  .header-right { gap: 6px; }
  .header-right .icon-btn { display: none; }
  .header-right .btn-ghost { display: none; }
  .header-right .btn-primary { height: 34px; padding: 0 12px; font-size: 12.5px; }
  .cart-pill { position: relative; height: 34px; padding: 0 11px; font-size: 0; gap: 0; }
  .cart-pill .badge { position: absolute; top: -6px; right: -6px; min-width: 16px; height: 16px; font-size: 10px; }
  .mobile-nav {
    display: flex; gap: 2px; overflow-x: auto; padding: 7px 14px 8px;
    border-top: 1px solid var(--line-2); background: #fff;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a {
    flex: none; padding: 5px 11px; border-radius: 100px; font-size: 13px;
    color: var(--ink-2); background: var(--bg); white-space: nowrap;
  }
  .mobile-nav a.active { background: var(--azure-050); color: var(--azure-600); font-weight: 600; }
  .hero { padding: 40px 0 0; }
  .hero h1 { font-size: 29px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; padding: 22px 0; }
  .hero-stats .st:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-search { flex-wrap: wrap; padding: 10px; }
  .hero-search input { height: 34px; width: auto; flex: 1 1 100%; min-width: 0; }
  .hero-search .btn { width: 100%; }
  .section { padding: 40px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head h2 { font-size: 22px; }
  .journey, .cat-grid, .svc-grid, .pkg-grid, .case-grid, .doc-grid, .kv-grid, .form-grid { grid-template-columns: 1fr; }
  .mode-strip { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .cta-band .acts { width: 100%; }
  .pkg { grid-template-columns: 1fr; }
  .pkg .price { text-align: left; }
  .page-head h1 { font-size: 24px; }
  .card { padding: 20px; }
  .oc-body { flex-direction: column; align-items: flex-start; }
  .oc-body .acts { margin-left: 0; }
  .track { overflow-x: auto; }
  .tk { min-width: 76px; }
  .f-bottom { flex-direction: column; }
  .kanban { grid-template-columns: 1fr; }
  .table { font-size: 12px; }
  .table-scroll { overflow-x: auto; }
}

/* ===========================================================
   v2 模块：产品矩阵 / 场景自测 / 生态平台 / 咨询工单
   =========================================================== */

/* ---- 产品矩阵 ---- */
.mode-block {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 30px 32px; margin-bottom: 18px;
}
.mode-block::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--azure), var(--brand));
}
.mode-block.alt::before { background: linear-gradient(180deg, var(--amber), #9a7434); }
.mb-head { display: flex; align-items: flex-start; gap: 15px; flex-wrap: wrap; }
.mb-idx {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(160deg, var(--brand), var(--navy-800)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .02em;
}
.mode-block.alt .mb-idx { background: linear-gradient(160deg, #d4b077, #a67f45); }
.mb-name { font-size: 22px; letter-spacing: -.02em; line-height: 1.3; }
.mb-en { font-size: 10.5px; letter-spacing: .16em; color: var(--muted-2); font-weight: 700; margin-top: 3px; }
.mb-tag {
  margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--azure-600);
  background: var(--azure-050); border-radius: 100px; padding: 4px 12px; white-space: nowrap;
}
.mode-block.alt .mb-tag { color: #8a6535; background: var(--amber-050); }
.mb-tagline { font-size: 14.5px; font-weight: 700; color: var(--brand); margin-top: 16px; }
.mode-block.alt .mb-tagline { color: #8a6535; }
.mb-desc { font-size: 13.5px; color: var(--muted); line-height: 1.9; margin-top: 8px; max-width: 920px; }
.mb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.mb-cell { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 15px; }
.mb-cell b { font-size: 13.5px; display: flex; align-items: center; gap: 6px; color: var(--ink); }
.mb-cell b::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--azure); flex: none; }
.mb-cell p { font-size: 12px; color: var(--muted); line-height: 1.75; margin-top: 6px; }
.mb-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) 208px; gap: 28px;
  align-items: start; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line);
}
.mb-fit { min-width: 0; }
.mb-fit h6 { font-size: 11.5px; letter-spacing: .1em; color: var(--muted-2); font-weight: 700; margin-bottom: 9px; }
.mb-fit li { display: flex; gap: 8px; font-size: 12.8px; color: var(--ink-2); padding: 3px 0; line-height: 1.6; }
.mb-fit li i { color: var(--azure-600); font-style: normal; flex: none; margin-top: 1px; }
.mb-acts { display: flex; flex-direction: column; gap: 8px; }
.mb-acts .btn { width: 100%; justify-content: center; }
.mb-deliver {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.mb-deliver::before {
  content: '交付物'; font-size: 11px; letter-spacing: .1em; color: var(--muted-2);
  font-weight: 700; margin-right: 4px;
}

.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.sub-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg-2); }
.sub-card h5 { font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sub-badge {
  font-size: 10.5px; font-weight: 700; color: var(--azure-600); background: #fff;
  border: 1px solid rgba(177,138,87,.22); border-radius: 100px; padding: 2px 8px;
}
.sub-list { margin-top: 12px; }
.sub-item { display: flex; gap: 9px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sub-item:last-child { border-bottom: 0; }
.sub-item .si { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; color: var(--azure-600); display: grid; place-items: center; margin-top: 2px; }
.sub-item b { font-size: 12.8px; font-weight: 600; }
.sub-item p { font-size: 11.8px; color: var(--muted); line-height: 1.65; margin-top: 2px; }
.flow { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 12px; }
.flow span { font-size: 11.5px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; color: var(--ink-2); }
.flow i { font-style: normal; color: var(--muted-2); font-size: 10px; }
.sub-notes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.sub-notes span { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }

/* ---- 场景自测卡 ---- */
.scn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scn {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; transition: .18s ease; position: relative;
}
.scn:hover { border-color: rgba(177,138,87,.45); box-shadow: var(--sh-2); transform: translateY(-2px); }
.scn .s-tag { font-size: 11px; color: var(--azure-600); font-weight: 700; letter-spacing: .08em; }
.scn h4 { font-size: 16px; margin-top: 7px; letter-spacing: -.01em; }
.scn .s-en { font-size: 10.5px; color: var(--muted-2); letter-spacing: .1em; margin-top: 2px; }
.scn p { font-size: 12.6px; color: var(--muted); line-height: 1.75; margin-top: 9px; flex: 1; }
.scn .s-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.scn .s-meta .n { font-size: 11.5px; color: var(--muted-2); }
.scn .s-meta .go { font-size: 12.5px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 3px; }
.scn .s-mode {
  position: absolute; top: 18px; right: 18px; font-size: 10.5px; padding: 2px 8px;
  border-radius: 100px; background: var(--bg); color: var(--muted); border: 1px solid var(--line);
}

/* ---- 场景详情 ---- */
.trait-list { display: grid; gap: 9px; }
.trait-item {
  display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 9px; font-size: 13.2px; color: var(--ink-2); line-height: 1.7;
}
.trait-item { cursor: pointer; transition: background .16s, border-color .16s; }
.trait-item:hover { border-color: rgba(177,138,87,.42); }
.trait-item .bx {
  flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2);
  background: #fff; display: grid; place-items: center; color: transparent; margin-top: 2px;
  transition: background .16s, border-color .16s, color .16s;
}
.trait-item.on { background: var(--azure-050); border-color: rgba(177,138,87,.42); }
.trait-item.on .bx { background: var(--azure); border-color: var(--azure); color: var(--on-gold); }
.trait-item.on > span:last-child { color: var(--ink); font-weight: 600; }
.cnt-done { color: var(--ok); font-weight: 700; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pain-item { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; line-height: 1.6; }
.pain-item .pi { flex: none; color: var(--amber); margin-top: 1px; }
.svc-mini { display: grid; gap: 2px; }
.svc-mini a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.svc-mini a:last-child { border-bottom: 0; }
.svc-mini .nm { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.svc-mini .ct { font-size: 11.5px; color: var(--muted-2); margin-left: 8px; font-weight: 400; }
.svc-mini .ar { margin-left: auto; color: var(--muted-2); }
.svc-mini a:hover .nm { color: var(--brand); }

/* ---- 生态平台 ---- */
.plat {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 34px; margin-bottom: 18px;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 36px; align-items: stretch; transition: .2s;
}
.plat:hover { box-shadow: var(--sh-2); border-color: #d7d3c9; }
.plat-idx { font-size: 11.5px; letter-spacing: .2em; color: var(--muted-2); font-weight: 700; }
.plat h2 { font-size: 26px; letter-spacing: -.02em; margin-top: 8px; }
.plat .p-en { font-size: 10.5px; letter-spacing: .18em; color: var(--muted-2); font-weight: 700; margin-top: 4px; }
.plat .p-tagline { font-size: 14.5px; font-weight: 700; color: var(--brand); margin-top: 14px; }
.plat .p-desc { font-size: 13.4px; color: var(--muted); line-height: 1.9; margin-top: 9px; }
.plat .p-feat { display: grid; gap: 7px; margin-top: 16px; }
.plat .p-feat li { display: flex; gap: 9px; font-size: 12.8px; color: var(--ink-2); line-height: 1.65; }
.plat .p-feat li i { color: var(--azure-600); font-style: normal; flex: none; }
.plat-side {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px;
  background:
    radial-gradient(420px 240px at 85% -10%, rgba(201,168,110,.45), transparent 62%),
    linear-gradient(150deg, #071624, #16374d 60%, #1d4a66 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px;
}
.plat-side::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.plat-side .ps-top { position: relative; z-index: 1; }
.plat-side .ps-tag { font-size: 11px; letter-spacing: .16em; color: #e2c9a0; font-weight: 700; }
.plat-side .ps-name { font-size: 19px; font-weight: 800; margin-top: 8px; }
.plat-side .ps-line { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 8px; line-height: 1.7; }
.plat-side .ps-for {
  position: relative; z-index: 1; margin-top: auto; font-size: 11.8px; line-height: 1.8;
  color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px;
}
.plat-side .ps-acts { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 18px; }
.plat-side .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); color: #fff; }
.plat-side .btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.4); }

/* ---- 咨询工单 ---- */
.consult-layout { display: grid; grid-template-columns: 1fr 350px; gap: 24px; align-items: start; padding: 32px 0 70px; }
.chip-check { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check label {
  position: relative; cursor: pointer; font-size: 12.8px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; background: #fff; transition: .15s;
}
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check input:checked + span { color: var(--azure-600); }
.chip-check label:has(input:checked) { border-color: var(--azure); background: var(--azure-050); color: var(--azure-600); font-weight: 600; }
.steps-side { display: grid; gap: 0; }
.ss-item { display: flex; gap: 12px; padding-bottom: 18px; position: relative; }
.ss-item:last-child { padding-bottom: 0; }
.ss-item .n {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white);
  border: 1.5px solid var(--azure); color: var(--azure); display: grid; place-items: center;
  font-size: 11.5px; font-weight: 800;
}
.ss-item b { font-size: 13px; display: block; padding-top: 2px; }
.ss-item p { font-size: 11.8px; color: var(--muted); line-height: 1.7; margin-top: 3px; }

@media (max-width: 1080px) {
  .mb-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-grid { grid-template-columns: 1fr; }
  .plat { grid-template-columns: 1fr; gap: 22px; }
  .scn-grid { grid-template-columns: repeat(2, 1fr); }
  .consult-layout { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .mode-block { padding: 22px 20px; }
  .mb-name { font-size: 19px; }
  .mb-grid { grid-template-columns: 1fr; }
  .mb-tag { margin-left: 0; }
  .scn-grid { grid-template-columns: 1fr; }
  .plat { padding: 22px; }
  .plat h2 { font-size: 21px; }
  .plat-side { min-height: 240px; padding: 18px; }
  .mb-foot { grid-template-columns: 1fr; gap: 16px; }
  .mb-acts { width: 100%; }
  .mb-acts .btn { width: 100%; }
}

/* 窄屏防溢出：网格子项默认 min-width:auto，长内容会把页面撑宽 */
@media (max-width: 760px) {
  .detail-layout > *, .acct-layout > *, .consult-layout > *, .cart-layout > * { min-width: 0; }
  .acct-nav { min-width: 0; }
  .svc-head-card, .d-main, .card { max-width: 100%; }
  .card h3.blk { flex-wrap: wrap; row-gap: 5px; }
  .card h3.blk > .cnt { flex: 1 0 100%; margin-left: 12px; }
  .trait-item { font-size: 13px; }
}
