/* =========================================================
   速达软件 sdv3 模版 · 现代设计系统
   纯原生 CSS：Custom Properties / Grid / Flex / clamp /
   scroll-snap / :focus-visible / prefers-reduced-motion
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  color-scheme: light;
  --c-brand: #c8102e;          /* 品牌红 */
  --c-brand-dark: #a50d24;
  --c-green: #00582e;          /* LOGO 绿 */
  --c-ink: #1a1f27;            /* 主文字 */
  --c-ink-2: #4b5563;          /* 次级文字 */
  --c-ink-3: #8b93a1;          /* 弱文字 */
  --c-line: #e6e9ef;
  --c-bg: #f6f7f9;
  --c-card: #ffffff;
  --c-brand-soft: #fdf1f3;
  --radius: 12px;
  --radius-s: 8px;
  --shadow-1: 0 1px 3px rgb(16 24 40 / .07), 0 1px 2px rgb(16 24 40 / .05);
  --shadow-2: 0 8px 24px rgb(16 24 40 / .10);
  --w-page: min(1200px, 100% - 2.5rem);
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: clamp(14px, .35vw + 13px, 16px);
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-brand); }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 通用布局 ---------- */
.container { width: var(--w-page); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--c-brand); color: #fff; padding: 8px 16px; border-radius: 6px;
}
.skip-link:focus { left: 8px; color: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* 区块标题 */
.sec { padding-block: clamp(2.5rem, 5vw, 4rem); content-visibility: auto; contain-intrinsic-size: auto 480px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.sec-title { font-size: clamp(1.35rem, 2vw + .6rem, 1.8rem); font-weight: 800; position: relative; padding-left: .9em; }
.sec-title::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--c-brand), #e8556d);
}
.sec-more { flex-shrink: 0; font-size: .9rem; color: var(--c-ink-3); }
.sec-more:hover { color: var(--c-brand); }

/* 面包屑 */
.crumbs { font-size: .85rem; color: var(--c-ink-3); padding-block: 1rem; }
.crumbs a { color: var(--c-ink-3); }
.crumbs a:hover { color: var(--c-brand); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .65em 1.6em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; transition: all .25s var(--ease); cursor: pointer;
}
.btn-primary { background: var(--c-brand); color: #fff; box-shadow: 0 4px 14px rgb(200 16 46 / .30); }
.btn-primary:hover { background: var(--c-brand-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--c-brand); color: var(--c-brand); background: transparent; }
.btn-ghost:hover { background: var(--c-brand); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, #fff 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--c-line);
}
.header-bar {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name b { font-size: 1.15rem; font-weight: 900; letter-spacing: .02em; }
.brand-name small { font-size: .6rem; letter-spacing: .16em; color: var(--c-ink-3); font-weight: 600; }

.main-nav { flex: 1; }
.main-nav > ul { display: flex; align-items: center; gap: clamp(.2rem, 1vw, .9rem); }
.nav-item > a {
  display: inline-block; padding: .55em .85em; border-radius: 8px;
  font-weight: 600; color: var(--c-ink); transition: color .2s, background .2s;
}
.nav-item > a:hover, .nav-item > a[aria-expanded="true"] { color: var(--c-brand); background: var(--c-brand-soft); }
.nav-item.is-current > a { color: var(--c-brand); }
/* 下拉面板 */
.nav-drop {
  position: absolute; left: 50%; translate: -50% 0; top: calc(100% + 10px);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 1.2rem 1.4rem;
  display: grid; grid-auto-flow: column; gap: 2rem;
  opacity: 0; visibility: hidden; translate: -50% 6px;
  transition: opacity .22s var(--ease), translate .22s var(--ease), visibility .22s;
}
.nav-item { position: relative; }
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; translate: -50% 0; }
.nav-drop h3 { font-size: .95rem; margin-bottom: .4rem; color: var(--c-ink); }
.nav-drop h3 span { color: var(--c-ink-3); font-weight: 400; font-size: .78rem; margin-left: .3em; }
.nav-drop li a { display: block; padding: .28em 0; font-size: .88rem; color: var(--c-ink-2); white-space: nowrap; }
.nav-drop li a:hover { color: var(--c-brand); }

.header-tel { flex-shrink: 0; text-align: right; line-height: 1.3; }
.header-tel small { display: block; font-size: .72rem; color: var(--c-ink-3); }
.header-tel strong { font-size: 1.1rem; color: var(--c-brand); font-variant-numeric: tabular-nums; }

/* 移动端菜单按钮 */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .header-tel { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s var(--ease); }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff;
    max-height: calc(100dvh - 68px); overflow: auto;
    border-bottom: 1px solid var(--c-line);
    translate: 0 -8px; opacity: 0; visibility: hidden;
    transition: .25s var(--ease);
  }
  .main-nav.open { translate: 0 0; opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: .8rem 1.2rem 1.4rem; gap: 0; }
  .nav-item > a { display: block; padding: .8em .4em; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav-drop {
    position: static; translate: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: .2rem 0 .6rem; grid-auto-flow: row; gap: .8rem;
    display: none;
  }
  .nav-item.open .nav-drop { display: grid; }
}

/* ---------- Hero 轮播（scroll-snap 原生实现） ---------- */
.hero { position: relative; }
.hero-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: var(--radius);
  box-shadow: var(--shadow-1); background: #fff;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  flex: 0 0 100%; scroll-snap-align: center; position: relative;
  aspect-ratio: 1200 / 380; overflow: hidden;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots {
  position: absolute; bottom: 14px; left: 50%; translate: -50% 0;
  display: flex; gap: 8px; z-index: 5;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgb(255 255 255 / .55); transition: .25s;
  box-shadow: 0 0 4px rgb(0 0 0 / .25);
}
.hero-dots button[aria-current="true"] { background: #fff; width: 26px; border-radius: 5px; }

/* ---------- 热销产品卡 ---------- */
.pro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.pro-card {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pro-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.pro-card-media { position: relative; aspect-ratio: 16 / 9; background: #f0f2f5; overflow: hidden; }
.pro-card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.pro-card:hover .pro-card-media img { scale: 1.05; }
.pro-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.pro-card-title { font-size: 1.02rem; font-weight: 800; }
.pro-card-title a::after { content: ""; position: absolute; inset: 0; }
.pro-card-desc {
  color: var(--c-ink-2); font-size: .86rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pro-card-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.tag {
  font-size: .72rem; padding: .18em .7em; border-radius: 999px;
  background: #f1f3f6; color: var(--c-ink-2);
}
.tag-hot { background: var(--c-brand-soft); color: var(--c-brand); }
.pro-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.1rem; border-top: 1px dashed var(--c-line);
}
.pro-price { color: var(--c-brand); font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.pro-price i { font-style: normal; font-size: .78em; margin-right: 2px; }
.pro-price small { color: var(--c-ink-3); font-weight: 400; font-size: .72rem; }
.pro-card { position: relative; }

/* ---------- 文章列表条 ---------- */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: baseline;
  padding: .85rem .4rem; border-bottom: 1px dashed var(--c-line);
  transition: background .2s;
}
.news-item:hover { background: #fff; }
.news-item .n-title {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .95rem; min-width: 0;
}
.news-item time { font-size: .8rem; color: var(--c-ink-3); font-variant-numeric: tabular-nums; }

/* 标签云 */
.cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.cloud a {
  padding: .3em 1em; border-radius: 999px; font-size: .85rem;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-ink-2);
  transition: .2s;
}
.cloud a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

/* 双栏（资讯/案例） */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-1); }
.panel .sec-head { margin-bottom: .6rem; }
.panel .sec-title { font-size: 1.1rem; }

/* ---------- 列表页布局 ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.6rem; align-items: start; }
@media (max-width: 980px) { .page-layout { grid-template-columns: 1fr; } }
.side { display: grid; gap: 1.3rem; position: sticky; top: 88px; }
@media (max-width: 980px) { .side { position: static; } }

/* 栏目 tab（root-walk 高亮） */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.filter-bar a {
  padding: .42em 1.2em; border-radius: 999px; background: #fff;
  border: 1px solid var(--c-line); font-size: .9rem; color: var(--c-ink-2); transition: .2s;
}
.filter-bar a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.filter-bar a.is-active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; font-weight: 700; }

/* 产品列表页卡片 */
.list-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.3rem;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.2rem; transition: .25s var(--ease);
}
.list-card + .list-card { margin-top: 1.1rem; }
.list-card:hover { box-shadow: var(--shadow-2); }
.list-card-media { aspect-ratio: 1; background: #f0f2f5; border-radius: var(--radius-s); overflow: hidden; }
.list-card-media img { width: 100%; height: 100%; object-fit: cover; }
.list-card h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.list-card h2 a { color: var(--c-ink); }
.list-card h2 a:hover { color: var(--c-brand); }
.list-card .meta { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; color: var(--c-ink-2); font-size: .86rem; margin: .35rem 0; }
.list-card .meta b { color: var(--c-ink-3); font-weight: 600; }
.list-card .desc { color: var(--c-ink-2); font-size: .88rem; }
.list-card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-top: .7rem; }
@media (max-width: 620px) { .list-card { grid-template-columns: 1fr; } .list-card-media { max-width: 260px; } }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: .4rem; padding: 2rem 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .6em; border-radius: 10px; background: #fff; border: 1px solid var(--c-line);
  font-size: .9rem; color: var(--c-ink-2); font-variant-numeric: tabular-nums;
}
.pagination a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pagination .active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; font-weight: 700; }
.pagination .disabled { opacity: .45; pointer-events: none; }

/* ---------- 详情页 ---------- */
.article-wrap { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2.2rem); }
.article-head h1 { font-size: clamp(1.3rem, 2.4vw + .4rem, 1.9rem); margin-bottom: .6rem; }
.article-head .art-meta { color: var(--c-ink-3); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); margin-bottom: 1.4rem; }
.art-body { font-size: 1rem; overflow-wrap: break-word; }
.art-body p { margin: 0 0 1em; }
.art-body img { border-radius: var(--radius-s); margin: .6em auto; }
.art-body table { border: 1px solid var(--c-line); }
.art-body td, .art-body th { border: 1px solid var(--c-line); padding: .45em .8em; }

/* 上一篇/下一篇 */
.art-nav { display: grid; gap: .5rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line); font-size: .92rem; }
.art-nav a { color: var(--c-brand); }

/* 相关产品内链 */
.relpro {
  margin-top: 1.8rem; padding: 1.1rem 1.3rem;
  background: var(--c-brand-soft); border: 1px solid #f5c9d1; border-radius: var(--radius);
}
.relpro-hd { font-weight: 800; color: var(--c-brand); margin-bottom: .6rem; }
.relpro ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.relpro ul a {
  display: inline-block; padding: .35em 1em; background: #fff; border: 1px solid #f0d4da;
  border-radius: 8px; font-size: .88rem; transition: .2s;
}
.relpro ul a:hover { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.relpro-cta { margin-top: .8rem; }

/* 产品详情页 */
.pd-layout { display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .pd-layout { grid-template-columns: 1fr; } }
.pd-gallery { position: sticky; top: 88px; }
@media (max-width: 860px) { .pd-gallery { position: static; } }
.pd-main-img {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--c-line); aspect-ratio: 4 / 3;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; transition: scale .3s var(--ease); }
.pd-main-img:hover img { scale: 1.04; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.pd-thumbs img {
  width: 72px; height: 54px; object-fit: contain; background: #fff;
  border: 2px solid var(--c-line); border-radius: 8px; cursor: zoom-in; transition: border-color .2s;
}
.pd-thumbs img:hover, .pd-thumbs img.is-active { border-color: var(--c-brand); }
.pd-info h1 { font-size: clamp(1.25rem, 2vw + .5rem, 1.7rem); margin-bottom: .5rem; }
.pd-lead { color: var(--c-ink-2); margin-bottom: 1rem; }
.pd-price-box {
  background: linear-gradient(120deg, var(--c-brand-soft), #fff);
  border: 1px solid #f5c9d1; border-radius: var(--radius); padding: 1rem 1.3rem; margin: 1rem 0;
}
.pd-price { color: var(--c-brand); font-size: 1.9rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.pd-price i { font-style: normal; font-size: .55em; }
.pd-price small { color: var(--c-ink-3); font-size: .8rem; font-weight: 400; margin-left: .5em; }
.pd-specs { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .9rem; margin: 1rem 0; }
.pd-specs dt { color: var(--c-ink-3); }
.pd-specs dd { margin: 0; }
.pd-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.2rem 0; }

/* 部署能力徽章 */
.deploy-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  padding: .3em 1em; border-radius: 999px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--c-line); color: var(--c-ink-3); background: #fff;
}
.badge.on { border-color: var(--c-green); color: var(--c-green); background: #eef6f1; }

/* 下载中心表格 */
.dl-table { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.dl-table table { min-width: 640px; }
.dl-table th {
  background: #f3f5f8; font-size: .85rem; color: var(--c-ink-2);
  padding: .7em .9em; text-align: left; white-space: nowrap;
}
.dl-table td { padding: .7em .9em; border-top: 1px solid var(--c-line); font-size: .9rem; }
.dl-table tbody tr { transition: background .15s; }
.dl-table tbody tr:hover { background: #fdf6f7; }
.dl-table .dl-link { color: var(--c-brand); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* 单页 / 帮助页布局 */
.help-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.6rem; align-items: start; }
@media (max-width: 860px) { .help-layout { grid-template-columns: 1fr; } }
.side-nav { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.side-nav-t { padding: .8em 1.2em; font-weight: 800; background: #f3f5f8; border-bottom: 1px solid var(--c-line); }
.side-nav a { display: block; padding: .65em 1.2em; border-bottom: 1px solid var(--c-line); font-size: .92rem; color: var(--c-ink-2); transition: .15s; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { color: var(--c-brand); background: var(--c-brand-soft); }
.side-nav a.is-active { color: var(--c-brand); background: var(--c-brand-soft); font-weight: 700; }

/* 弹窗 <dialog> */
dialog.apply-dialog {
  border: 0; border-radius: var(--radius); padding: 0; width: min(440px, calc(100vw - 2rem));
  box-shadow: var(--shadow-2);
}
dialog.apply-dialog::backdrop { background: rgb(10 14 20 / .55); backdrop-filter: blur(3px); }
.dialog-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.3rem; border-bottom: 1px solid var(--c-line);
}
.dialog-head h3 { font-size: 1.05rem; }
.dialog-close { font-size: 1.4rem; line-height: 1; color: var(--c-ink-3); padding: .1em .3em; }
.dialog-close:hover { color: var(--c-brand); }
.dialog-body { padding: 1.2rem 1.3rem 1.4rem; }
.dialog-tip { font-size: .85rem; color: var(--c-ink-2); margin-bottom: 1rem; }
.form-field { display: grid; gap: .3rem; margin-bottom: .9rem; }
.form-field label { font-size: .88rem; font-weight: 600; }
.form-field label em { color: var(--c-brand); font-style: normal; margin-left: 2px; }
.form-field input, .form-field textarea {
  border: 1px solid var(--c-line); border-radius: 8px; padding: .55em .8em; background: #fbfcfe;
  transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--c-brand); outline: 0; background: #fff; }
.form-actions { display: flex; gap: .8rem; margin-top: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; background: #10151c; color: #aeb6c2; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem 2rem; padding: 2.8rem 0 2rem;
}
.footer-grid h3 { color: #fff; font-size: .95rem; margin-bottom: .7rem; }
.footer-grid li a { display: block; padding: .2em 0; font-size: .85rem; color: #aeb6c2; }
.footer-grid li a:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid rgb(255 255 255 / .08); padding: 1.2rem 0 1.6rem;
  font-size: .8rem; color: #7c8494; text-align: center;
}
.footer-bar a { color: #aeb6c2; }
.footer-bar a:hover { color: #fff; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .2em 0; margin-bottom: .4rem; }
.footer-links a { padding: 0 .8em; border-right: 1px solid rgb(255 255 255 / .12); }
.footer-links a:last-child { border-right: 0; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-2);
  display: grid; place-items: center; font-size: 1.1rem; color: var(--c-ink-2);
  opacity: 0; visibility: hidden; translate: 0 10px;
  transition: .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { color: var(--c-brand); border-color: var(--c-brand); }

/* 浮动咨询条 */
.float-cta {
  position: fixed; right: 24px; bottom: 80px; z-index: 90;
  writing-mode: initial;
  display: inline-flex; align-items: center; gap: .4em;
  padding: .6em 1.1em; border-radius: 999px;
  background: var(--c-brand); color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 6px 18px rgb(200 16 46 / .35);
  transition: .25s var(--ease);
}
.float-cta:hover { background: var(--c-brand-dark); color: #fff; transform: translateY(-2px); }

/* 渐入动画 */
.reveal { opacity: 0; translate: 0 14px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: none; } }

/* 空状态 */
.empty-tip { padding: 3rem 1rem; text-align: center; color: var(--c-ink-3); background: var(--c-card); border: 1px dashed var(--c-line); border-radius: var(--radius); }

/* 详情页正文内自适应图片 */
.art-body img { max-width: 100%; }

/* ---------- 兼容旧正文结构（应用服务 /service.html 栏目 body 老版 HTML） ---------- */
.art-body .main-center { display: grid; gap: 1rem; margin: 1.2rem 0; }
.art-body .main-content {
  display: grid; grid-template-columns: 220px 1fr 130px; align-items: center; gap: 1.2rem;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1rem 1.2rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.art-body .main-content:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.art-body .content-name { text-align: center; }
.art-body .content-name img { display: inline-block; max-width: 100%; height: auto; }
.art-body .content-main1 { font-size: .95rem; color: var(--c-ink-2); }
.art-body .content-right { text-align: center; }
.art-body .content-right img { display: inline-block; transition: translate .2s var(--ease); }
.art-body .main-content:hover .content-right img { translate: 3px 0; }
@media (max-width: 720px) {
  .art-body .main-content { grid-template-columns: 1fr; text-align: center; }
}
