/* 羽畅科技官网 —— 全站样式（无构建，直接部署） */
:root {
  color-scheme: light;
  --ink: #15233a;
  --ink-2: #47586a;
  --ink-3: #7a8894;
  --paper: #f2f5f4;
  --surface: #ffffff;
  --line: #dbe3e1;
  --line-2: #e9eeec;
  --teal: #0a7c6e;
  --teal-ink: #075f54;
  --teal-soft: #e0f0ec;
  --red: #d33f2a;
  --red-soft: #fbebe7;
  --amber: #f0a92e;
  --wx: #07c160;
  --wx-ink: #06a552;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", var(--font);

  --wrap: 1160px;
  --gutter: 20px;
  --r-lg: 18px;
  --r: 12px;
  --r-sm: 8px;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px;
  background: var(--teal); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--teal-ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-line:hover { background: var(--surface); border-color: var(--ink-3); }
.btn-wx { background: var(--wx); }
.btn-wx:hover { background: var(--wx-ink); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { color: var(--teal); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 顶栏 ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 34px; height: 34px; }
.logo b { font-size: 18px; letter-spacing: .02em; }
.logo small { display: block; font-size: 11px; line-height: 1.2; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.logo span { line-height: 1.25; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.hdr-tel { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; }
.hdr-tel svg { width: 16px; height: 16px; color: var(--teal); }
.hdr-tel b { font-family: var(--font-num); font-size: 17px; color: var(--ink); letter-spacing: .02em; }
.hdr .btn { height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 1199px) { .hdr-tel { display: none; } }
.menu-btn { display: none; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1023px) {
  .hdr-in { gap: 12px; }
  .hdr-tel, .hdr .btn { display: none; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -16px rgba(21,35,58,.18);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
  .nav a:hover { background: transparent; }
  .nav .nav-tel { display: flex; justify-content: space-between; border-bottom: 0; color: var(--ink); }
}
@media (min-width: 1024px) { .nav .nav-tel { display: none; } }

/* ---------- 通用区块 ---------- */
.sec { padding: 72px 0; }
.sec-tight { padding: 48px 0; }
.sec-white { background: var(--surface); }
.sec-hd { max-width: 640px; margin-bottom: 36px; }
.sec-hd h2 { font-size: 28px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.sec-hd p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 767px) {
  .sec { padding: 52px 0; }
  .sec-hd { margin-bottom: 26px; }
  .sec-hd h2 { font-size: 23px; }
}

/* ---------- 首页首屏 ---------- */
.hero { overflow-x: clip; padding: 56px 0 72px; background:
  linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 100% 40px,
  var(--paper); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { display: block; word-break: keep-all; }
/* 两栏布局的最窄区间（1024–1199px）左栏不足 500px，46px 放不下一整行 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero h1 { font-size: 40px; }
}
.hero-lead { margin-top: 20px; max-width: 30em; font-size: 17px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--ink-2); font-size: 14px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
@media (max-width: 1023px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 767px) {
  .hero { padding: 36px 0 52px; }
  .hero h1 { font-size: 29px; }
  .hero-lead { font-size: 15.5px; margin-top: 14px; }
  .hero-cta { margin-top: 22px; }
  .hero-cta .btn { flex: 1; }
  .hero-facts { margin-top: 24px; gap: 8px 18px; font-size: 13px; }
}

/* ---------- 报价单（首页主视觉） ---------- */
/* 遮罩会裁掉 box-shadow，阴影放在外层用 drop-shadow，跟随锯齿边缘 */
.quote-wrap { filter: drop-shadow(0 22px 28px rgba(21,35,58,.16)) drop-shadow(0 2px 4px rgba(21,35,58,.08)); }
.quote {
  position: relative; background: var(--surface); border-radius: 6px 6px 0 0;
  padding: 26px 28px 30px;
  --zig: 10px;
  -webkit-mask: radial-gradient(var(--zig) at 50% 100%, #0000 98%, #000) 50% / calc(var(--zig) * 2) 100%;
          mask: radial-gradient(var(--zig) at 50% 100%, #0000 98%, #000) 50% / calc(var(--zig) * 2) 100%;
  padding-bottom: calc(30px + var(--zig));
}
.quote-top { padding: 0 96px 14px 0; border-bottom: 2px solid var(--ink); }
.quote-top h2 { font-size: 21px; letter-spacing: .06em; line-height: 1.5; }
.quote-top span { display: block; font-size: 12.5px; color: var(--ink-3); }
.quote-top span span { display: inline; }
.quote-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 18px 0 6px; padding: 4px; border-radius: 10px; background: var(--paper); }
.quote-tabs button { height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.quote-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(21,35,58,.12); }
.quote-tiers { display: flex; gap: 6px; margin: 14px 0 4px; }
.quote-tiers button { flex: 1; padding: 8px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; text-align: center; line-height: 1.35; }
.quote-tiers button b { display: block; font-size: 14px; }
.quote-tiers button span { font-size: 12.5px; color: var(--ink-3); }
.quote-tiers button[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.quote-tiers button[aria-pressed="true"] span { color: var(--teal-ink); }
.quote-lines { margin-top: 10px; }
.quote-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.quote-lines li > span:first-child { color: var(--ink-3); flex: none; }
.quote-lines li > span:last-child { text-align: right; }
.quote-lines label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); }
.quote-lines input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--teal); margin: 0; }
.quote-total { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; }
.quote-total > span { font-size: 14px; color: var(--ink-2); padding-bottom: 6px; }
.quote .btn { margin-top: 20px; }
.quote-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.stamp {
  position: absolute; top: 14px; right: 22px; width: 78px; height: 78px; border-radius: 50%;
  border: 3px solid var(--red); color: var(--red); display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 16px; line-height: 1.2; letter-spacing: .14em; text-indent: .14em;
  transform: rotate(-14deg); opacity: .85; pointer-events: none;
  box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 5px var(--red);
}
.stamp small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .2em; margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: stamp .5s cubic-bezier(.2,.9,.3,1.3) .35s both; }
  @keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.8); } to { opacity: .85; transform: rotate(-14deg) scale(1); } }
}
@media (max-width: 767px) {
  .quote { padding: 20px 18px calc(24px + var(--zig)); }
  .quote-top { padding-right: 80px; }
  .stamp { width: 66px; height: 66px; font-size: 14px; top: 12px; right: 14px; }
}

/* ---------- 价格 ---------- */
.price { display: inline-flex; align-items: baseline; gap: 2px; color: var(--red); font-weight: 700; line-height: 1; }
.price i { font-style: normal; font-size: .5em; font-weight: 700; margin-right: 2px; }
.price b { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 1em; }
.price small { font-size: .38em; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.price-xl { font-size: 46px; }
.price-lg { font-size: 34px; }
.price-md { font-size: 24px; }
.price-sm { font-size: 18px; }
.strike { color: var(--ink-3); text-decoration: line-through; font-size: 13px; }

/* ---------- 首页三项服务 ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc-pic { order: 2; }
.svc-pic { border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.svc-pic img { width: 100%; height: auto; }
.svc h3 { font-size: 26px; line-height: 1.3; }
.svc-sum { margin-top: 12px; color: var(--ink-2); }
.svc-list { margin-top: 20px; display: grid; gap: 10px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; }
.svc-list svg { width: 18px; height: 18px; margin-top: 4px; color: var(--teal); flex: none; }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.svc-foot .price { font-size: 30px; }
.svc-foot .grow { flex: 1; }
.svc-tiers { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 899px) {
  .svc { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .svc:nth-child(even) .svc-pic { order: 0; }
  .svc h3 { font-size: 22px; }
  .svc-foot .btn { flex: 1; }
}

/* ---------- 流程（真实先后顺序，用编号） ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; }
.flow li { position: relative; padding: 0 18px 0 0; counter-increment: step; }
.flow li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--teal); color: var(--teal); font-family: var(--font-num); font-weight: 700; font-size: 16px;
  position: relative; z-index: 1;
}
.flow li::after { content: ""; position: absolute; left: 36px; right: 0; top: 17px; height: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow h4 { margin-top: 14px; font-size: 16px; }
.flow p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
@media (min-width: 900px) { .flow-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding: 0 0 22px; }
  .flow li::before { grid-row: span 2; }
  .flow li::after { left: 17px; top: 36px; bottom: 0; right: auto; width: 2px; height: auto; }
  .flow h4 { margin-top: 6px; }
}

/* ---------- 保障 / 售后 摘要 ---------- */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.assure > div { background: var(--surface); padding: 28px 26px; }
.assure svg { width: 28px; height: 28px; color: var(--teal); }
.assure h3 { margin-top: 14px; font-size: 18px; }
.assure p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.assure a { display: inline-block; margin-top: 12px; font-size: 14px; }
@media (max-width: 899px) { .assure { grid-template-columns: 1fr; } }

/* ---------- 适用场景 ---------- */
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scene { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); }
.scene svg { width: 26px; height: 26px; color: var(--teal); }
.scene h3 { margin-top: 12px; font-size: 16px; }
.scene p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.scene em { display: block; margin-top: 12px; font-style: normal; font-size: 13px; color: var(--teal-ink); }
@media (max-width: 1023px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .scenes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 46em; }

/* ---------- 联系条 ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px 44px; display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.cta-band h2 { font-size: 26px; line-height: 1.35; }
.cta-band p { margin-top: 8px; color: rgba(255,255,255,.72); }
.cta-band .tel { font-family: var(--font-num); font-size: 34px; font-weight: 700; letter-spacing: .03em; }
.cta-band .tel-sub { font-size: 13px; color: rgba(255,255,255,.6); text-align: right; }
.cta-band .btns { display: flex; gap: 12px; margin-top: 14px; justify-content: flex-end; }
.cta-band .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 767px) {
  .cta-band { grid-template-columns: 1fr; padding: 28px 22px; }
  .cta-band h2 { font-size: 21px; }
  .cta-band .tel { font-size: 28px; }
  .cta-band .tel-sub { text-align: left; }
  .cta-band .btns { justify-content: stretch; }
  .cta-band .btns .btn { flex: 1; }
}

/* ---------- 页脚 ---------- */
.ftr { margin-top: 0; background: #0f1b2d; color: rgba(255,255,255,.7); font-size: 14px; }
.ftr-in { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding: 52px 0 36px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.ftr li { margin-bottom: 8px; }
.ftr a:hover { color: #fff; }
.ftr .logo b { color: #fff; }
.ftr .logo small { color: rgba(255,255,255,.55); }
.ftr-about { margin-top: 16px; line-height: 1.85; max-width: 22em; }
.ftr-tel { font-family: var(--font-num); font-size: 22px; color: #fff; letter-spacing: .02em; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: rgba(255,255,255,.55); }
.ftr-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .ftr-in { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; }
  .ftr-in > div:first-child { grid-column: 1 / -1; }
}

/* ---------- 子页面标题 ---------- */
.page-hd { padding: 36px 0 32px; background: var(--surface); border-bottom: 1px solid var(--line-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); }
.crumbs a:hover { color: var(--teal); }
.crumbs span[aria-hidden] { color: var(--line); }
.page-hd h1 { margin-top: 12px; font-size: 32px; line-height: 1.3; }
.page-hd p { margin-top: 10px; max-width: 42em; color: var(--ink-2); }
@media (max-width: 767px) { .page-hd { padding: 24px 0; } .page-hd h1 { font-size: 25px; } }

/* ---------- 服务详情：图集 + 购买区 ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: start; padding: 32px 0 64px; }
.gallery-main { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; }
.gallery-main img { width: 100%; height: auto; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--teal); }
.gallery-thumbs img { width: 100%; height: auto; }
.gallery-cap { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.buy { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; }
.buy h1 { font-size: 28px; line-height: 1.3; }
.buy-sum { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
.buy-price { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--red-soft); }
.buy-price .meta { font-size: 13px; color: var(--ink-2); padding-bottom: 4px; }
.opt-label { display: flex; justify-content: space-between; margin: 22px 0 10px; font-size: 14px; font-weight: 600; }
.opt-label span { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip { position: relative; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; text-align: center; line-height: 1.35; }
.chip b { display: block; font-size: 15px; }
.chip span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); font-family: var(--font-num); }
.chip[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.chip[aria-pressed="true"] span { color: var(--teal-ink); }
.chip em { position: absolute; top: -9px; right: 6px; padding: 0 6px; border-radius: 6px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; line-height: 18px; }
.tier-feats { margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: var(--paper); font-size: 13.5px; color: var(--ink-2); display: grid; gap: 6px; }
.tier-feats li { display: flex; gap: 8px; }
.tier-feats li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .75em; border-radius: 50%; background: var(--teal); }
.tier-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.tier-meta b { color: var(--ink); font-weight: 600; }
.addons { display: grid; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.addon input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; flex: none; }
.addon div { flex: 1; min-width: 0; line-height: 1.45; }
.addon b { display: block; font-size: 14px; font-weight: 600; }
.addon small { display: block; font-size: 12.5px; color: var(--ink-3); }
.addon .num { font-size: 15px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.addon:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.addon.is-included { cursor: default; background: var(--paper); border-style: dashed; }
.addon.is-included .num { color: var(--teal-ink); font-family: var(--font); font-size: 13px; }
.buy-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 22px; }
.buy-tip { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.buy-tip a { color: var(--teal); }
@media (max-width: 1023px) {
  .pd { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .buy { position: static; padding: 22px 18px; }
}

/* 移动端底部下单条 */
.buy-bar { display: none; }
@media (max-width: 1023px) {
  .buy-bar {
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(21,35,58,.18);
  }
  .buy-bar .grow { flex: 1; min-width: 0; line-height: 1.3; }
  .buy-bar small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { height: 44px; padding: 0 20px; }
  .has-buy-bar .ftr { padding-bottom: 72px; }
}

/* ---------- 详情正文 ---------- */
.detail-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.detail-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.detail-nav .wrap::-webkit-scrollbar { display: none; }
.detail-nav a { flex: none; padding: 14px 14px; font-size: 14.5px; color: var(--ink-2); border-bottom: 2px solid transparent; }
.detail-nav a:hover { color: var(--teal); }
.detail-nav a.on { color: var(--teal); border-bottom-color: var(--teal); font-weight: 600; }
.block { padding: 56px 0; border-bottom: 1px solid var(--line-2); }
.block:last-child { border-bottom: 0; }
.block > h2 { font-size: 24px; line-height: 1.35; }
.block > .lead { margin-top: 10px; max-width: 44em; color: var(--ink-2); }
.block-body { margin-top: 28px; }
@media (max-width: 767px) { .block { padding: 40px 0; } .block > h2 { font-size: 21px; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); }
.feature svg { width: 26px; height: 26px; color: var(--teal); }
.feature h3 { margin-top: 12px; font-size: 16px; }
.feature p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 899px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .feature-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split-pic { border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line-2); }
.split h3 { font-size: 21px; line-height: 1.4; }
.split p { margin-top: 10px; color: var(--ink-2); }
.split ul { margin-top: 16px; display: grid; gap: 10px; }
.split li { display: flex; gap: 10px; }
.split li svg { width: 18px; height: 18px; margin-top: 5px; color: var(--teal); flex: none; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* 规格对比表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.cmp thead th { background: var(--paper); font-size: 15px; }
.cmp thead th .price { display: flex; margin-top: 6px; font-size: 22px; }
.cmp tbody th { width: 22%; color: var(--ink-2); font-weight: 500; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp .hot { background: var(--teal-soft); }
.cmp .yes { color: var(--teal-ink); font-weight: 600; }
.cmp .no { color: var(--ink-3); }

.deliver { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.deliver li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.deliver svg { width: 20px; height: 20px; margin-top: 3px; color: var(--teal); flex: none; }
.deliver b { display: block; }
.deliver span { display: block; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 767px) { .deliver { grid-template-columns: 1fr; } }

/* 售后摘要（服务页内） */
.policy-sum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.policy-card { padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); }
.policy-card h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.policy-card h3 svg { width: 22px; height: 22px; color: var(--teal); }
.policy-card ul { margin-top: 12px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.policy-card li { display: flex; gap: 8px; }
.policy-card li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .75em; border-radius: 50%; background: var(--ink-3); }
.policy-card .link { display: inline-block; margin-top: 14px; font-size: 14px; }
@media (max-width: 767px) { .policy-sum { grid-template-columns: 1fr; } }

/* ---------- 价格页 ---------- */
.plan-group { padding: 48px 0; border-bottom: 1px solid var(--line); }
.plan-group:last-of-type { border-bottom: 0; }
.plan-group-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.plan-group-hd h2 { font-size: 24px; }
.plan-group-hd p { margin-top: 6px; color: var(--ink-2); max-width: 40em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan.hot { border: 2px solid var(--teal); }
.plan .tag { position: absolute; top: -12px; left: 22px; padding: 2px 10px; border-radius: 6px; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 600; }
.plan h3 { font-size: 19px; }
.plan .desc { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.plan .price { margin-top: 18px; font-size: 40px; }
.plan .meta { margin-top: 10px; font-size: 13px; color: var(--ink-2); display: grid; gap: 2px; }
.plan ul { margin: 18px 0 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 9px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 9px; }
.plan li svg { width: 16px; height: 16px; margin-top: 5px; color: var(--teal); flex: none; }
.addon-table { margin-top: 18px; }
.addon-table h3 { font-size: 15px; margin-bottom: 10px; }
.addon-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.addon-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; }
.addon-rows li span:last-child { font-family: var(--font-num); font-weight: 600; white-space: nowrap; }
@media (max-width: 899px) { .plans { grid-template-columns: 1fr; } }

.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: #fff8e8; border: 1px solid #f3dfae; font-size: 14px; color: #6b5414; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--amber); }

/* ---------- 下单 / 收银台 ---------- */
.steps-bar { display: flex; gap: 8px; margin-top: 18px; counter-reset: s; font-size: 14px; }
.steps-bar li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--line); color: var(--ink-3); counter-increment: s; }
.steps-bar li::before { content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: #fff; font-size: 12px; font-family: var(--font-num); flex: none; }
.steps-bar li.done, .steps-bar li.on { border-top-color: var(--teal); color: var(--ink); }
.steps-bar li.done::before, .steps-bar li.on::before { background: var(--teal); }
.steps-bar li.on { font-weight: 600; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding: 28px 0 72px; }
.panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 26px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel h2 a { font-size: 13.5px; font-weight: 400; }
.panel-sub { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.sum-rows { margin-top: 16px; display: grid; gap: 10px; font-size: 14px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 16px; }
.sum-rows dt { color: var(--ink-3); flex: none; }
.sum-rows dd { text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
@media (max-width: 1023px) {
  .checkout { grid-template-columns: 1fr; padding-bottom: 96px; }
  .summary { position: static; }
  .panel { padding: 20px 18px; }
}

.field { display: grid; gap: 6px; margin-top: 18px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field label i, .field .label i { color: var(--red); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field .err { display: none; font-size: 13px; color: var(--red); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 559px) { .field-row { grid-template-columns: 1fr; } }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 13.5px; color: var(--ink-2); }
.agree input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--teal); flex: none; }
.agree a { color: var(--teal); }
.agree.invalid { color: var(--red); }

.paymethod { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-top: 16px; border: 1.5px solid var(--wx); border-radius: 12px; background: #f2fbf6; }
.paymethod svg.wx { width: 34px; height: 34px; flex: none; }
.paymethod div { flex: 1; line-height: 1.5; }
.paymethod b { display: block; }
.paymethod small { color: var(--ink-3); font-size: 13px; }
.paymethod .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--wx); color: #fff; display: grid; place-items: center; flex: none; }
.paymethod .tick svg { width: 14px; height: 14px; }
.order-no { font-family: var(--font-num); letter-spacing: .03em; }
.empty { padding: 64px 20px; text-align: center; }
.empty h2 { font-size: 20px; justify-content: center; }
.empty p { margin-top: 8px; color: var(--ink-2); }
.empty .btn { margin-top: 22px; }

/* ---------- 对话框 ---------- */
.dlg { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(15,27,45,.45); }
.dlg::backdrop { background: rgba(15,27,45,.5); }
.dlg-body { padding: 28px 26px 24px; }
.dlg h2 { font-size: 19px; }
.dlg p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.dlg .dlg-tel { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--paper); display: grid; gap: 4px; font-size: 14px; }
.dlg .dlg-tel b { font-family: var(--font-num); font-size: 22px; letter-spacing: .03em; }
.dlg-actions { display: flex; gap: 10px; margin-top: 22px; }
.dlg-actions .btn { flex: 1; }
.dlg-close { display: block; margin: 14px auto 0; padding: 6px 12px; border: 0; background: none; color: var(--ink-3); font-size: 14px; cursor: pointer; }
.text-btn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--teal); font-weight: 600; font-size: inherit; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translateX(-50%); padding: 10px 18px; border-radius: 10px; background: rgba(15,27,45,.92); color: #fff; font-size: 14px; pointer-events: none; }

/* ---------- 文档类页面（协议、售后政策） ---------- */
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 36px 0 72px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: 14px; display: grid; gap: 2px; }
.doc-toc a { padding: 6px 12px; border-left: 2px solid var(--line); color: var(--ink-2); }
.doc-toc a:hover { color: var(--teal); border-left-color: var(--teal); }
.doc { max-width: 760px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 36px 40px; }
.doc h2 { font-size: 20px; margin: 36px 0 12px; padding-top: 4px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.doc p + p { margin-top: 10px; }
.doc ol, .doc ul.dot { margin: 8px 0; padding-left: 1.4em; }
.doc ol { list-style: decimal; }
.doc ul.dot { list-style: disc; }
.doc li + li { margin-top: 4px; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper); }
.doc .updated { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.doc .tbl-wrap { overflow-x: auto; }
@media (max-width: 899px) {
  .doc-layout { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .doc-toc { display: none; }
  .doc { padding: 24px 20px; }
}

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; }
.info-list { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 8px 24px; }
.info-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { color: var(--ink-3); }
.info-list dd { word-break: break-all; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; } }
