/* ==========================================================================
   航力紧固件 · 企业站样式
   --------------------------------------------------------------------------
   设计语言：深钢蓝 + 镀锌银灰 + 安全橙
   无外部字体与框架依赖，首屏仅需本文件一个 CSS 请求。
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --ink: #0b1626;
  --ink-2: #13233a;
  --ink-3: #1b2f4a;
  --text: #2a374b;
  --muted: #64748b;
  --muted-2: #8b9bb0;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --bg: #f5f7fa;
  --bg-2: #eef2f7;
  --white: #ffffff;
  --brand: #0e5aa7;
  --brand-dark: #0a4278;
  --brand-deep: #072e55;
  --brand-light: #e8f1fa;
  --accent: #f5a524;
  --accent-dark: #dc8d0d;
  --steel: #c9d6e5;
  --ok: #128a5a;
  --danger: #c0392b;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 38, .06), 0 2px 8px rgba(11, 22, 38, .04);
  --shadow: 0 8px 30px -12px rgba(11, 22, 38, .18);
  --shadow-lg: 0 24px 60px -24px rgba(11, 22, 38, .28);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 74px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }

ul, ol { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 700; }

svg { width: 1.15em; height: 1.15em; flex: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--brand); --btn-fg: #fff; box-shadow: 0 10px 24px -14px rgba(14, 90, 167, .9); }
.btn--primary:hover { --btn-bg: var(--brand-dark); color: #fff; }

.btn--accent { --btn-bg: var(--accent); --btn-fg: #23180a; box-shadow: 0 12px 26px -14px rgba(245, 165, 36, .95); }
.btn--accent:hover { --btn-bg: var(--accent-dark); color: #23180a; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bg: var(--bg); border-color: var(--steel); color: var(--ink); }

.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- 提示条 ---------- */
.flash-stack { display: grid; gap: 10px; margin-top: 18px; }

.alert {
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  border: 1px solid transparent;
}
.alert--success { background: #e9f7f0; color: #0d6b46; border-color: #bfe8d5; }
.alert--error { background: #fdecea; color: #a52f22; border-color: #f6cfc9; }
.alert--info { background: var(--brand-light); color: var(--brand-dark); border-color: #c8ddf3; }

/* ==========================================================================
   顶部信息条
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.topbar__slogan {
  margin: 0;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__meta { display: flex; align-items: center; gap: 18px; flex: none; }
.topbar__link, .topbar__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
}
.topbar__link:hover, .topbar__lang:hover { color: #fff; }
.topbar__link svg, .topbar__lang svg { width: 1em; height: 1em; opacity: .75; }
.topbar__lang {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  font-weight: 600;
  color: var(--accent);
}
.topbar__lang:hover { color: #ffc46a; }

/* ==========================================================================
   页头与导航
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 30px -18px rgba(11, 22, 38, .35); border-color: transparent; }

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { width: auto; height: 40px; max-width: 132px; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__text strong {
  font-size: 1.06rem;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__text em {
  font-style: normal;
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text em { color: rgba(255, 255, 255, .5); }
.footer .brand__text strong,
.footer .brand__text em {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.footer .brand__text em { line-height: 1.5; letter-spacing: .1em; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-light); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 18px; height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--accent);
}
.nav__chevron { width: .8em; height: .8em; opacity: .55; transition: transform .2s; }
.nav__item--has-sub:hover .nav__chevron { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  left: 0; top: calc(100% + 10px);
  min-width: 236px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--has-sub:hover .nav__drop,
.nav__item--has-sub:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__drop-list { display: grid; gap: 2px; }
.nav__drop-list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .92rem;
}
.nav__drop-list a:hover { background: var(--bg); color: var(--brand); }
.nav__drop-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.nav__drop-foot a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--brand);
  border-radius: var(--radius-sm);
}
.nav__drop-foot a:hover { background: var(--brand-light); }
.nav__drop-foot svg { width: 1em; height: 1em; }

.nav__search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 188px;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.nav__search:focus-within { background: #fff; border-color: var(--steel); }
.nav__search svg { width: 1em; height: 1em; color: var(--muted); }
.nav__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .88rem;
  color: var(--text);
  outline: none;
}
.nav__search input::placeholder { color: var(--muted-2); }

.nav__mobile-extra { display: none; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 12px;
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #071120 0%, #0b2038 46%, #0e3a63 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(760px 420px at 78% 8%, rgba(245, 165, 36, .16), transparent 62%),
    radial-gradient(900px 520px at 12% 92%, rgba(14, 90, 167, .5), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, auto, 62px 62px, 62px 62px;
  mask-image: radial-gradient(circle at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 56px;
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(88px, 10vw, 132px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 16px 7px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .86);
}
.hero__badge svg { width: 1em; height: 1em; color: var(--accent); }

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 4.4vw, 3.55rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
  color: #fff;
}
.hero__title span { color: var(--accent); }

.hero__desc {
  max-width: 34em;
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .74);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .26); }
.hero .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}
.hero__note svg { width: 1em; height: 1em; color: #5fd39b; }

.hero__panel {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}
.hero__panel-title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hero__specs { display: grid; gap: 14px; margin: 0; }
.hero__spec { display: grid; gap: 3px; }
.hero__spec dt { font-size: .76rem; letter-spacing: .06em; color: var(--accent); }
.hero__spec dd {
  margin: 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .92);
  font-variant-numeric: tabular-nums;
}
.hero__panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
  font-weight: 600;
  color: #fff;
}
.hero__panel-link svg { width: 1em; height: 1em; transition: transform .2s; }
.hero__panel-link:hover { color: var(--accent); }
.hero__panel-link:hover svg { transform: translate(2px, -2px); }

/* ==========================================================================
   信任条
   ========================================================================== */
.trust { position: relative; margin-top: -64px; z-index: 2; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 22px;
  border-left: 1px solid var(--line-2);
}
.trust__item:first-child { border-left: 0; }
.trust__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-light);
  color: var(--brand);
}
.trust__icon svg { width: 20px; height: 20px; }
.trust__text { display: grid; gap: 2px; }
.trust__text strong { font-size: .95rem; color: var(--ink); }
.trust__text em {
  font-style: normal;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding-block: clamp(58px, 7vw, 96px); }
.section--muted { background: var(--bg); }
.section--tight { padding-block: clamp(28px, 4vw, 44px); }
.section--why {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(140deg, #071120, #0c2340 55%, #0d3358);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.section__kicker::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.section__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.section__desc {
  max-width: 46em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .96rem;
}
.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding-bottom: 4px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid transparent;
}
.section__link svg { width: 1em; height: 1em; transition: transform .2s; }
.section__link:hover { border-color: currentColor; }
.section__link:hover svg { transform: translateX(3px); }

.section__head--light .section__kicker { color: var(--accent); }
.section__head--light .section__title { color: #fff; }

/* ==========================================================================
   产品分类卡
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.cat-card {
  position: relative;
  display: block;
  min-height: 236px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  color: #fff;
  isolation: isolate;
}
.cat-card__media { position: absolute; inset: 0; z-index: -2; }
.cat-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 17, 32, .05) 0%, rgba(7, 17, 32, .55) 48%, rgba(7, 17, 32, .95) 100%);
}
.cat-card:hover { color: #fff; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }

.cat-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
  padding: 70px 22px 20px;
  background: linear-gradient(180deg, rgba(7, 17, 32, 0) 22%, rgba(7, 17, 32, .48) 56%, rgba(7, 17, 32, .9) 100%);
}
.cat-card__title { font-size: 1.08rem; font-weight: 700; line-height: 1.4; text-shadow: 0 1px 10px rgba(4, 10, 20, .75); }
.cat-card__desc {
  max-width: 32em;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
  text-shadow: 0 1px 8px rgba(4, 10, 20, .7);
}
.cat-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.cat-card__more svg { width: 1em; height: 1em; }
.cat-card:hover .cat-card__more { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   产品卡
   ========================================================================== */
.p-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.p-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.p-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.04); }

.p-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.p-card__tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.p-card__title { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.45; }
.p-card__title a { color: var(--ink); }
.p-card__title a:hover { color: var(--brand); }
.p-card__desc {
  margin: 0 0 16px;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--muted);
}
.p-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.p-card__spec {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
}
.p-card__more svg { width: .95em; height: .95em; transition: transform .2s; }
.p-card:hover .p-card__more svg { transform: translateX(3px); }

/* ==========================================================================
   优势 / 流程
   ========================================================================== */
.why__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(640px 320px at 88% 0%, rgba(245, 165, 36, .14), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.why__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.why__item {
  padding: 26px 22px 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.why__item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(245, 165, 36, .4); transform: translateY(-3px); }
.why__no {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
}
.why__title { margin: 0 0 8px; font-size: 1.06rem; color: #fff; }
.why__text { margin: 0; font-size: .86rem; line-height: 1.72; color: rgba(255, 255, 255, .64); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.steps__item {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.steps__item:hover { border-color: var(--steel); box-shadow: var(--shadow-sm); }
.steps__item::after {
  content: "";
  position: absolute;
  right: -18px; top: 46px;
  width: 18px; height: 1px;
  background: var(--line);
}
.steps__item:last-child::after { display: none; }
.steps__no {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.steps__title { display: block; margin-bottom: 4px; font-size: .98rem; color: var(--ink); }
.steps__text { display: block; font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   新闻卡
   ========================================================================== */
.n-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.n-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.n-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.n-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.n-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.n-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.n-card:hover .n-card__media img { transform: scale(1.04); }
.n-card__date {
  position: absolute;
  left: 14px; bottom: 14px;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(11, 22, 38, .82);
  backdrop-filter: blur(4px);
  color: #fff;
  line-height: 1.1;
  text-align: center;
}
.n-card__date strong { display: block; font-size: 1.16rem; font-weight: 700; }
.n-card__date span { font-size: .62rem; letter-spacing: .06em; color: var(--accent); }

.n-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.n-card__cat {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}
.n-card__title { margin: 0 0 8px; font-size: 1.04rem; line-height: 1.5; }
.n-card__title a { color: var(--ink); }
.n-card__title a:hover { color: var(--brand); }
.n-card__desc { margin: 0 0 16px; font-size: .86rem; line-height: 1.65; color: var(--muted); }
.n-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
}
.n-card__more svg { width: .95em; height: .95em; transition: transform .2s; }
.n-card:hover .n-card__more svg { transform: translateX(3px); }

/* ==========================================================================
   CTA 区块
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0a2a4d, #0e5aa7 60%, #1272bf);
  color: #fff;
}
.cta-band__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 82% 20%, rgba(245, 165, 36, .3), transparent 62%),
    radial-gradient(600px 300px at 6% 100%, rgba(255, 255, 255, .1), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: clamp(36px, 5vw, 58px);
}
.cta-band__title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: #fff;
  letter-spacing: -.02em;
}
.cta-band__desc { max-width: 40em; margin: 0; font-size: .94rem; color: rgba(255, 255, 255, .78); }
.cta-band__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.cta-band__phone:hover { color: #fff; }
.cta-band__phone svg { width: 1.3em; height: 1.3em; color: var(--accent); }
.cta-band__phone span { display: grid; line-height: 1.2; }
.cta-band__phone em { font-style: normal; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.cta-band__phone strong { font-size: 1.06rem; letter-spacing: .01em; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: #060f1c;
  color: rgba(255, 255, 255, .66);
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr .9fr 1.2fr;
  gap: 44px;
  padding-block: clamp(44px, 6vw, 68px);
}
.footer__desc { margin: 18px 0 20px; max-width: 32em; font-size: .86rem; line-height: 1.75; color: rgba(255, 255, 255, .54); }
.footer__contact { display: grid; gap: 9px; }
.footer__contact a, .footer__contact span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
  line-height: 1.5;
}
.footer__contact a:hover { color: var(--accent); }
.footer__contact svg { width: 1em; height: 1em; margin-top: .32em; color: var(--accent); opacity: .9; }

.footer__title {
  margin: 0 0 16px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
}
.footer__list { display: grid; gap: 9px; }
.footer__list a { color: rgba(255, 255, 255, .62); font-size: .86rem; }
.footer__list a:hover { color: #fff; }

.footer__cta-text { margin: 0 0 18px; font-size: .86rem; line-height: 1.7; color: rgba(255, 255, 255, .58); }
.footer__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.footer__hours svg { width: 1em; height: 1em; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 20px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .42);
}
.footer__bottom-inner p { margin: 0; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255, 255, 255, .42); }
.footer__legal a:hover { color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   移动端悬浮操作条 / 回到顶部
   ========================================================================== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: #fff;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px -12px rgba(11, 22, 38, .25);
}
.mobile-cta__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px 8px;
  font-size: .72rem;
  color: var(--text);
}
.mobile-cta__item svg { width: 20px; height: 20px; }
.mobile-cta__item--accent { color: var(--brand); font-weight: 600; }

.to-top {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ==========================================================================
   内页头部 / 面包屑
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #071120, #0c2340 60%, #10406b);
  color: #fff;
}
.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(520px 260px at 88% 0%, rgba(245, 165, 36, .16), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  padding-block: clamp(40px, 6vw, 68px) 26px;
}
.page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.page-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  color: #fff;
  letter-spacing: -.02em;
}
.page-hero__desc {
  max-width: 48em;
  margin: 14px 0 0;
  font-size: .98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .68);
}

.crumbs { margin-top: 22px; }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}
.crumbs__item { display: inline-flex; align-items: center; gap: 6px; }
.crumbs__item + .crumbs__item::before {
  content: "/";
  color: rgba(255, 255, 255, .25);
}
.crumbs__item a { color: rgba(255, 255, 255, .62); }
.crumbs__item a:hover { color: #fff; }
.crumbs__item span { color: rgba(255, 255, 255, .82); }

.subhead { background: var(--bg); border-bottom: 1px solid var(--line); }
.subhead .crumbs { padding-block: 16px; margin-top: 0; }
.subhead .crumbs__list { color: var(--muted); }
.subhead .crumbs__item + .crumbs__item::before { color: var(--steel); }
.subhead .crumbs__item a { color: var(--muted); }
.subhead .crumbs__item a:hover { color: var(--brand); }
.subhead .crumbs__item span { color: var(--ink); }

/* ==========================================================================
   侧栏布局 / 侧栏卡片
   ========================================================================== */
.layout-with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.layout-with-side__aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 18px); }

/* 侧栏在左（产品列表） */
.layout-with-side--reverse { grid-template-columns: 260px minmax(0, 1fr); }
.layout-with-side--reverse .layout-with-side__aside { grid-column: 1; grid-row: 1; }
.layout-with-side--reverse .layout-with-side__main { grid-column: 2; grid-row: 1; }

.aside-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.aside-card__title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  font-size: .96rem;
  font-weight: 700;
  color: var(--ink);
}
.aside-card__text { margin: 0 0 16px; font-size: .85rem; line-height: 1.65; color: var(--muted); }
.aside-card--dark {
  background: linear-gradient(150deg, #0a2440, #123a63);
  border-color: transparent;
  color: #fff;
}
.aside-card--dark .aside-card__title { color: #fff; border-color: rgba(255, 255, 255, .12); }
.aside-card--dark .aside-card__text { color: rgba(255, 255, 255, .66); }
.aside-card__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.aside-card__phone svg { width: 1.05em; height: 1.05em; color: var(--accent); }

.aside-nav { display: grid; gap: 2px; }
.aside-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  transition: background .2s, color .2s;
}
.aside-nav a em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted-2);
}
.aside-nav a:hover { background: var(--bg); color: var(--brand); }
.aside-nav a.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.aside-nav a.is-active em { color: rgba(255, 255, 255, .7); }

.aside-links { display: grid; gap: 2px; }
.aside-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .88rem;
}
.aside-links a svg { width: .9em; height: .9em; opacity: 0; transition: opacity .2s, transform .2s; }
.aside-links a:hover { background: var(--bg); color: var(--brand); }
.aside-links a:hover svg { opacity: 1; transform: translateX(2px); }

.aside-contact { display: grid; gap: 14px; margin-bottom: 18px; }
.aside-contact li { display: flex; gap: 10px; font-size: .88rem; line-height: 1.55; }
.aside-contact svg { width: 1.05em; height: 1.05em; margin-top: .25em; color: var(--brand); }
.aside-contact span { display: grid; }
.aside-contact em { font-style: normal; font-size: .74rem; color: var(--muted-2); }

/* 列表工具条 */
.list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.list-bar__count { margin: 0; font-size: .86rem; color: var(--muted); }
.list-bar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.list-bar__search svg { width: 1em; height: 1em; color: var(--muted); }
.list-bar__search input {
  width: 100%; min-width: 0;
  border: 0; background: none;
  font: inherit; font-size: .86rem;
  outline: none;
}

/* 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pager__link {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  transition: border-color .2s, background .2s, color .2s;
}
.pager__link:hover { border-color: var(--brand); color: var(--brand); }
.pager__link.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* 空状态 */
.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 64px 24px;
  background: var(--bg);
  border: 1px dashed var(--steel);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
.empty svg { width: 34px; height: 34px; color: var(--steel); }
.empty p { margin: 0; font-size: .94rem; }
.empty__tip { font-size: .86rem; color: var(--muted-2); }

/* 单页封面 */
.page-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.page-cover img { width: 100%; }

/* ==========================================================================
   产品详情
   ========================================================================== */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.product__main {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.product__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product__thumb {
  padding: 0;
  width: 84px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color .2s, opacity .2s;
  opacity: .7;
}
.product__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product__thumb:hover { opacity: 1; }
.product__thumb.is-active { border-color: var(--brand); opacity: 1; }

.product__cat {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .76rem;
  font-weight: 600;
}
.product__title { margin: 0 0 14px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.product__summary { margin: 0 0 22px; font-size: .96rem; line-height: 1.78; color: var(--muted); }

.spec-table {
  margin: 0 0 26px;
  border-top: 1px solid var(--line);
}
.spec-table__row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line-2);
}
.spec-table__row dt { font-size: .84rem; color: var(--muted); }
.spec-table__row dd { margin: 0; font-size: .88rem; font-weight: 500; color: var(--ink); }

.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.product__points { display: grid; gap: 8px; padding-top: 20px; border-top: 1px dashed var(--line); }
.product__points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .86rem;
  color: var(--muted);
}
.product__points svg { width: 1em; height: 1em; margin-top: .3em; color: var(--ok); }

.product__content { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }

.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 1.2rem;
}
.block-title::before {
  content: "";
  width: 4px; height: 18px;
  border-radius: 2px;
  background: var(--accent);
}
.block-title span {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted-2);
}

/* ==========================================================================
   文章
   ========================================================================== */
.article__container { max-width: 840px; }
.article { padding-bottom: clamp(40px, 6vw, 76px); }
.article__head { margin-bottom: 28px; text-align: center; }
.article__cat {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .76rem;
  font-weight: 600;
}
.article__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.article__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  font-size: .82rem;
  color: var(--muted-2);
}
.article__cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.article__cover img { width: 100%; height: auto; }
.article__body { font-size: 1.02rem; }

.article__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article__nav-link {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
}
.article__nav-link span { font-size: .76rem; color: var(--muted-2); }
.article__nav-link strong { font-size: .9rem; font-weight: 500; color: var(--ink); }
.article__nav-link:hover { border-color: var(--brand); background: var(--brand-light); }
.article__nav-link:hover strong { color: var(--brand); }
.article__nav-link--next { text-align: right; }
.article__nav-link--next:only-child { grid-column: 1 / -1; text-align: left; }

/* ==========================================================================
   富文本
   ========================================================================== */
.rich-text { font-size: 1rem; line-height: 1.85; color: var(--text); }
.rich-text > * + * { margin-top: 1.1em; }
.rich-text h2 { margin-top: 2em; font-size: 1.32rem; }
.rich-text h3 { margin-top: 1.8em; font-size: 1.14rem; }
.rich-text h4 { margin-top: 1.6em; font-size: 1rem; }
.rich-text p { margin: 0; }
.rich-text ul, .rich-text ol { display: grid; gap: .55em; padding-left: 1.35em; }
.rich-text ul { list-style: none; padding-left: 0; }
.rich-text ul li { position: relative; padding-left: 1.35em; }
.rich-text ul li::before {
  content: "";
  position: absolute;
  left: .2em; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.rich-text ol { list-style: decimal; }
.rich-text ol li::marker { color: var(--brand); font-weight: 600; }
.rich-text blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg);
  color: var(--text);
}
.rich-text blockquote p { margin: 0; }
.rich-text hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.rich-text a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rich-text a:hover { color: var(--brand-dark); }
.rich-text strong { color: var(--ink); }
.rich-text code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: .88em;
}
.rich-text img { border-radius: var(--radius-sm); }
.content-figure { margin: 1.6em 0; }
.content-figure figcaption {
  margin-top: 8px;
  font-size: .8rem;
  text-align: center;
  color: var(--muted-2);
}

/* ==========================================================================
   联系页
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.contact__aside { display: grid; gap: 18px; }

.card {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card--form { box-shadow: var(--shadow); border-color: transparent; }
.card__head { margin-bottom: 24px; }
.card__title { margin: 0 0 6px; font-size: 1.24rem; }
.card__desc { margin: 0; font-size: .9rem; color: var(--muted); }

.contact-list { display: grid; gap: 18px; }
.contact-list__item { display: flex; gap: 12px; }
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
}
.contact-list__icon svg { width: 18px; height: 18px; }
.contact-list__item > span:last-child { display: grid; gap: 2px; font-size: .9rem; line-height: 1.5; }
.contact-list__item em { font-style: normal; font-size: .74rem; color: var(--muted-2); letter-spacing: .04em; }
.contact-list__item a { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.contact-list__item a:hover { color: var(--brand); }

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #0a2440, #12406e);
  color: #fff;
}
.map-card__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 30% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 78%);
}
.map-card__body { position: relative; padding: 26px; }
.map-card__title { margin: 0 0 8px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.map-card__body p { margin: 0 0 12px; font-size: .9rem; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.map-card__tip { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.map-card__tip svg { width: 1em; height: 1em; }
.map-card .btn { margin-top: 4px; }
.map-card .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .3); }
.map-card .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); color: #fff; }

/* ==========================================================================
   表单
   ========================================================================== */
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form > .field, .form > .form__grid { margin-bottom: 18px; }
.form__grid { margin-bottom: 18px; }
.form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.field { display: grid; gap: 7px; }
.field__label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
}
.field__label .req { color: var(--danger); font-weight: 700; }
.field__label .opt {
  font-size: .72rem;
  font-weight: 400;
  color: var(--muted-2);
}
.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field__input::placeholder { color: var(--muted-2); font-size: .88rem; }
.field__input:hover { border-color: var(--steel); }
.field__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 90, 167, .1);
}
.field__textarea { resize: vertical; min-height: 128px; line-height: 1.7; }
.field__error { margin: 0; font-size: .78rem; color: var(--danger); }
.field.has-error .field__input { border-color: #e8a79f; background: #fffbfa; }

.form__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.form__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: .76rem;
  color: var(--muted-2);
}
.form__privacy svg { width: 1em; height: 1em; }
.form.is-error .alert { margin-bottom: 18px; }

/* ==========================================================================
   搜索
   ========================================================================== */
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 0 40px;
  padding: 8px 8px 8px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.search-form svg { color: var(--muted); }
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .95rem;
  outline: none;
}
.result-block + .result-block { margin-top: 48px; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: 80px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(14, 90, 167, .06), transparent 70%),
    var(--bg);
}
.error-page__inner { text-align: center; }
.error-page__code {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}
.error-page__title { margin: 0 0 10px; font-size: 1.5rem; }
.error-page__desc { margin: 0 0 28px; color: var(--muted); }
.error-page__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.error-page__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: .85rem;
  color: var(--muted-2);
}
.error-page__hint svg { width: 1em; height: 1em; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1120px) {
  .nav__search { width: 150px; }
  .nav__link { padding: 10px 10px; font-size: .92rem; }
  /* 空间紧张时隐藏品牌英文行，避免出现省略号 */
  .brand__text em { display: none; }
  .hero__inner { gap: 36px; }
  .layout-with-side--reverse { grid-template-columns: 230px minmax(0, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }

  .topbar__slogan { display: none; }
  .topbar__inner { justify-content: flex-end; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 95;
    width: min(340px, 86vw);
    height: 100dvh;
    margin: 0;
    padding: 78px 22px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    background: #fff;
    box-shadow: -20px 0 60px -30px rgba(11, 22, 38, .5);
    transform: translateX(105%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 12px 14px; font-size: 1rem; border-radius: var(--radius-sm); justify-content: space-between; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--brand-light); }
  .nav__item--has-sub .nav__link svg { transition: transform .2s; }
  .nav__drop {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 6px;
    padding: 6px;
    border: 0;
    box-shadow: none;
    background: var(--bg);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item--has-sub.is-open .nav__drop { display: block; }
  .nav__item--has-sub.is-open .nav__chevron { transform: rotate(180deg); }
  .nav__search { width: 100%; order: 2; }
  .nav__mobile-extra { display: block; order: 3; margin-top: auto; }

  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 94;
    background: rgba(7, 17, 32, .45);
    backdrop-filter: blur(2px);
  }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { max-width: 100%; }

  .trust { margin-top: -40px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-left: 0; border-top: 1px solid var(--line-2); }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-top: 0; }
  .trust__item:nth-child(even) { border-left: 1px solid var(--line-2); }

  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .p-grid, .n-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__item::after { display: none; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }

  .layout-with-side,
  .layout-with-side--reverse {
    grid-template-columns: 1fr;
  }
  .layout-with-side__aside { position: static; order: 2; }
  .layout-with-side--reverse .layout-with-side__aside { grid-column: auto; grid-row: auto; order: 0; }
  .layout-with-side--reverse .layout-with-side__main { grid-column: auto; grid-row: auto; }
  .aside-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product { grid-template-columns: 1fr; }
  .product__gallery { max-width: 620px; }

  .contact { grid-template-columns: 1fr; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 12px; }

  /* 底部快捷栏只在手机宽度出现，平板不占视线 */
  .mobile-cta { display: flex; }
  body { padding-bottom: 58px; }
  .to-top { bottom: 72px; }

  .topbar__link--hide-sm { display: none; }
  .topbar__meta { gap: 14px; }
  .brand__mark { height: 32px; max-width: 108px; }
  .brand__text strong { font-size: .98rem; }
  .brand__text em { display: none; }

  .hero__title { font-size: clamp(1.85rem, 7.4vw, 2.4rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__note { font-size: .8rem; }

  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 200px; }
  .p-grid, .n-grid, .n-grid--2 { grid-template-columns: 1fr; }
  .why__grid, .steps { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; }
  .trust__item + .trust__item { border-top: 1px solid var(--line-2); }

  .form__grid { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }

  .aside-nav { grid-template-columns: 1fr; }
  .list-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .list-bar__search { width: 100%; }
  .article__nav { grid-template-columns: 1fr; }
  .article__nav-link--next { text-align: left; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }

  .search-form { flex-wrap: wrap; border-radius: var(--radius); }
  .search-form .btn { width: 100%; }
}

/* ---------- 无障碍与打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .topbar, .header, .footer, .mobile-cta, .to-top, .cta-band, .nav { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  .section { padding-block: 16px; }
}

/* 画册整页插图：居中、限宽、带描边阴影 */
.rich-text .content-figure { text-align: center; }
.rich-text .content-figure img { margin-inline: auto; }
.rich-text img[src*="/page-"] {
  width: 100%;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 34px -20px rgba(11, 22, 38, .38);
}