@charset "utf-8";
/* ============================================================
   恒备工业 MRO 站 · 主样式
   设计基准：1200 栅格 / 15px 正文 / 深蓝 + 橙 工业风
   ============================================================ */

:root {
  --navy: #0b2e4f;
  --navy-2: #123f68;
  --navy-3: #1b527f;
  --blue: #0d5aa7;
  --blue-soft: #e8f1fa;
  --accent: #e2791f;
  --accent-soft: #fdf1e6;
  --bg: #f5f7fa;
  --white: #ffffff;
  --line: #e3e9f0;
  --line-2: #eef2f7;
  --text: #1b2a3a;
  --text-2: #44586c;
  --muted: #6b7d90;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(16, 42, 67, .05);
  --shadow: 0 10px 30px rgba(16, 42, 67, .09);
  --shadow-lg: 0 22px 60px rgba(11, 46, 79, .16);
  --wrap: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

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

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; border: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: .2px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .22s ease;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(13, 90, 167, .22); }
.btn--primary:hover { background: #0a4c8d; color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(226, 121, 31, .24); }
.btn--accent:hover { background: #cf6a12; color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--text-2); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- 顶部通栏 ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__slogan { font-size: 13px; letter-spacing: .3px; }
.topbar__meta { display: flex; gap: 24px; }
.topbar__item strong { color: #fff; font-weight: 600; letter-spacing: .5px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-2);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--navy), var(--navy-3));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__text strong { font-size: 18px; color: var(--navy); letter-spacing: 1px; }
.logo__text em { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text em { color: rgba(255, 255, 255, .55); }
.logo--light .logo__mark { background: linear-gradient(140deg, #2b6fa8, #16486f); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__item > a {
  display: block;
  padding: 0 14px;
  line-height: 76px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.nav__item > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 20px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.nav__item:hover > a::after,
.nav__item.is-active > a::after { transform: scaleX(1); }
.nav__item.is-active > a { color: var(--blue); font-weight: 600; }

.nav__sub {
  position: absolute;
  top: 76px; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 258px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
}
.nav__item--has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__sub li a {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.nav__sub li a span { font-size: 11.5px; font-weight: 400; color: var(--muted); letter-spacing: .3px; }
.nav__sub li a:hover { background: var(--blue-soft); color: var(--blue); }

.nav__search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); overflow: hidden; }
.nav__search input {
  width: 132px;
  height: 38px;
  padding: 0 4px 0 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: none;
}
.nav__search input::placeholder { color: #9aa9b8; font-size: 13.5px; }
.nav__search button {
  width: 40px; height: 38px;
  display: grid; place-items: center;
  border: 0; background: transparent;
  color: var(--muted);
}
.nav__search button:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% 12%, rgba(46, 122, 190, .38), transparent 62%),
    linear-gradient(135deg, #0a2a48 0%, #103f6a 52%, #0d3357 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 80%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 84px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .86);
  margin-bottom: 22px;
}
.hero__eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #54c08a; box-shadow: 0 0 0 3px rgba(84, 192, 138, .22); }
.hero__title { font-size: 44px; line-height: 1.22; letter-spacing: 1px; }
.hero__title span { color: #7fc0f5; }
.hero__desc { margin-top: 20px; max-width: 560px; color: rgba(255, 255, 255, .76); font-size: 15.5px; line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats { display: flex; gap: 44px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__stat strong { display: block; font-size: 26px; letter-spacing: .5px; }
.hero__stat strong em { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .6); margin-left: 2px; }
.hero__stat span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }

.hero__panel {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__panel-title { font-size: 13px; letter-spacing: .8px; color: rgba(255, 255, 255, .62); margin-bottom: 14px; }
.hero__brands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__brand {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: all .2s ease;
}
.hero__brand:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-2px); }
.hero__brand strong { display: block; font-size: 14px; letter-spacing: .2px; }
.hero__brand span { font-size: 11.5px; color: rgba(255, 255, 255, .58); }
.hero__panel-foot { margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .58); display: flex; justify-content: space-between; }

/* ---------- 区块通用 ---------- */
.section { padding: 76px 0; }
.section--tight { padding: 54px 0; }
.section--bg { background: var(--bg); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section__eyebrow { font-size: 12.5px; letter-spacing: 2px; color: var(--accent); font-weight: 600; text-transform: uppercase; }
.section__title { font-size: 30px; margin-top: 8px; color: var(--navy); }
.section__desc { margin-top: 10px; color: var(--muted); font-size: 14.5px; max-width: 620px; }
.section__more { font-size: 14px; color: var(--blue); font-weight: 600; white-space: nowrap; }
.section__more::after { content: " →"; }

/* ---------- 品牌网格 ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .24s ease;
  overflow: hidden;
}
.brand-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--navy-3));
  opacity: 0;
  transition: opacity .24s;
}
.brand-card:hover { border-color: #cfe0f0; box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-card:hover::before { opacity: 1; }
.brand-card__name { font-size: 18px; color: var(--navy); letter-spacing: .3px; }
.brand-card__sub { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: .4px; }
.brand-card__intro { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-top: 4px; }
.brand-card__link { margin-top: 10px; font-size: 13px; color: var(--blue); font-weight: 600; }

/* ---------- 产品卡片 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .24s ease;
}
.product-card:hover { border-color: #cfe0f0; box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__badge {
  position: absolute; left: 12px; top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3px;
}
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__model { font-size: 12px; color: var(--blue); font-weight: 600; letter-spacing: .3px; word-break: break-all; }
.product-card__name { font-size: 15px; color: var(--text); font-weight: 600; line-height: 1.5; }
.product-card__desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.product-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.product-card__foot em { font-style: normal; color: var(--accent); font-weight: 600; }

/* ---------- 优势 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .24s ease;
}
.feature:hover { box-shadow: var(--shadow-sm); border-color: #d8e5f1; }
.feature__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 关于块 ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-split__text h2 { font-size: 30px; color: var(--navy); }
.about-split__text p { margin-top: 16px; color: var(--text-2); font-size: 14.5px; line-height: 1.95; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 26px; }
.about-points li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-2); }
.about-points li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--accent);
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, #0b2e4f, #17507d 60%, #1d6296);
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow);
}
.about-visual__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-visual__item { padding: 18px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.about-visual__item strong { display: block; font-size: 24px; letter-spacing: .5px; }
.about-visual__item span { font-size: 12.5px; color: rgba(255, 255, 255, .66); }
.about-visual__note { margin-top: 20px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .24s ease;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d8e5f1; }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.news-card__tag { padding: 2px 9px; border-radius: 4px; background: var(--accent-soft); color: #b3600f; font-weight: 600; }
.news-card__title { font-size: 15.5px; line-height: 1.6; color: var(--navy); }
.news-card__summary { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ---------- 内页头部 ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(46, 122, 190, .34), transparent 60%),
    linear-gradient(120deg, #0a2a48, #123f68 70%, #0e3557);
  color: #fff;
  padding: 54px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.4), transparent 70%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.4), transparent 70%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: 32px; letter-spacing: 1px; }
.page-hero__sub { margin-top: 12px; max-width: 720px; color: rgba(255, 255, 255, .74); font-size: 14.5px; }
.crumb { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.crumb a { color: rgba(255, 255, 255, .78); }
.crumb a:hover { color: #fff; }
.crumb__sep { opacity: .5; }

/* ---------- 列表页布局 ---------- */
.page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-card__head {
  padding: 14px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .5px;
}
.side-card__body { padding: 8px; }
.side-card__body li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--text-2);
}
.side-card__body li a:hover { background: var(--bg); color: var(--blue); }
.side-card__body li a.is-active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.side-card__body li a em { font-style: normal; font-size: 12px; color: var(--muted); }
.side-contact { padding: 18px; font-size: 13.5px; color: var(--text-2); }
.side-contact p { margin-bottom: 8px; }
.side-contact strong { color: var(--navy); }
.side-contact .btn { width: 100%; margin-top: 8px; height: 40px; }

/* ---------- 产品列表工具条 ---------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.toolbar strong { color: var(--navy); }
.toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 分页 ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 34px; }
.pager__link {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13.5px;
  color: var(--text-2);
}
.pager__link:hover { border-color: var(--blue); color: var(--blue); }
.pager__link--active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager__info { margin-left: 6px; font-size: 12.5px; color: var(--muted); }

/* ---------- 产品详情 ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.detail__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--navy); }
.detail__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.detail__info h1 { font-size: 27px; color: var(--navy); line-height: 1.4; }
.detail__model { margin-top: 10px; font-size: 14px; color: var(--muted); }
.detail__model b { color: var(--blue); font-weight: 600; letter-spacing: .3px; }
.detail__short { margin-top: 16px; padding: 14px 16px; background: var(--bg); border-left: 3px solid var(--accent); border-radius: 6px; font-size: 14px; color: var(--text-2); }
.detail__facts { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: 13.5px; }
.detail__facts div { display: flex; gap: 6px; }
.detail__facts dt { color: var(--muted); flex: 0 0 62px; }
.detail__facts dd { margin: 0; color: var(--text); font-weight: 500; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.detail__tip { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

.panel { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.panel__head { display: flex; gap: 26px; padding: 0 24px; border-bottom: 1px solid var(--line); background: #fafcfe; }
.panel__tab { padding: 15px 2px; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.panel__tab.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.panel__body { padding: 26px 24px; }
.panel__body h3 { font-size: 16px; color: var(--navy); margin: 22px 0 10px; }
.panel__body h3:first-child { margin-top: 0; }
.rich-text { font-size: 14.5px; color: var(--text-2); line-height: 2; }
.rich-text p { margin-bottom: 14px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table tr:nth-child(odd) { background: #fafcfe; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.spec-table th { width: 190px; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--text); }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.form-row label i { color: #d9534f; font-style: normal; }
.form-row input, .form-row textarea, .form-row select {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-row textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13, 90, 167, .1); background: #fff; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #a3b0bd; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; }
.form-actions small { color: var(--muted); font-size: 12.5px; }
.notice { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.notice--ok { background: #eaf7f0; color: #1c7d4d; border: 1px solid #c7e9d8; }
.notice--err { background: #fdeeee; color: #b3403c; border: 1px solid #f3cfcd; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item__icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.contact-item p { font-size: 15px; color: var(--navy); font-weight: 600; }
.contact-item p small { font-weight: 400; color: var(--muted); font-size: 12.5px; }

/* ---------- 关于页 ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.stat-strip div { padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.stat-strip strong { display: block; font-size: 28px; color: var(--navy); }
.stat-strip strong em { font-style: normal; font-size: 14px; color: var(--accent); margin-left: 2px; }
.stat-strip span { font-size: 13px; color: var(--muted); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #e8f1fa; }
.timeline strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.timeline p { font-size: 14px; color: var(--muted); }

/* ---------- 新闻列表 ---------- */
.news-list { display: grid; gap: 16px; }
.news-item { display: grid; grid-template-columns: 232px 1fr; gap: 22px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .22s ease; }
.news-item:hover { box-shadow: var(--shadow-sm); border-color: #d8e5f1; }
.news-item__media { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__body { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.news-item__meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.news-item__meta .news-card__tag { padding: 2px 9px; }
.news-item__title { font-size: 17px; color: var(--navy); line-height: 1.55; }
.news-item__summary { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 文章详情 ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article__head { text-align: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article__title { font-size: 28px; color: var(--navy); line-height: 1.45; }
.article__meta { margin-top: 14px; display: flex; justify-content: center; gap: 18px; font-size: 13px; color: var(--muted); }
.article__body { font-size: 15.5px; color: var(--text-2); line-height: 2.05; }
.article__body p { margin-bottom: 18px; }
.article__nav { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.article__nav a { color: var(--text-2); }
.article__nav a:hover { color: var(--blue); }

/* ---------- CTA 条 ---------- */
.cta-band { background: linear-gradient(120deg, #0b2e4f, #14466f 62%, #0e3557); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 0; }
.cta-band__text h2 { font-size: 24px; letter-spacing: .5px; }
.cta-band__text p { margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: #08243d; color: rgba(255, 255, 255, .66); font-size: 13.5px; }
.site-footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 56px 0 44px; }
.site-footer__intro { margin-top: 16px; line-height: 1.9; font-size: 13px; color: rgba(255, 255, 255, .55); max-width: 380px; }
.site-footer__col h3 { font-size: 14px; color: #fff; margin-bottom: 16px; letter-spacing: .5px; }
.site-footer__col ul { display: grid; gap: 9px; }
.site-footer__col a { color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col--contact p { margin-bottom: 9px; display: flex; gap: 10px; font-size: 13.5px; }
.site-footer__col--contact p span { color: rgba(255, 255, 255, .42); flex: 0 0 34px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.site-footer__links { display: flex; gap: 16px; }
.site-footer__links a { color: rgba(255, 255, 255, .5); }
.site-footer__links a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 30px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 17px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 80;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 空状态 ---------- */
.empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; background: var(--bg); border-radius: var(--radius); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 58px 0 62px; }
  .hero__title { font-size: 36px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 18px; }
  .topbar__meta .topbar__item:last-child { display: none; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .about-split, .about-hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .news-item { grid-template-columns: 1fr; }
  .news-item__media { aspect-ratio: 16 / 7; }
}

@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .topbar__slogan { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__meta { gap: 12px; }
  .site-header__inner { height: 64px; gap: 12px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 102px; left: 0; right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 102px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all .22s ease;
    z-index: 88;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item > a { line-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line-2); }
  .nav__item > a::after { display: none; }
  .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    min-width: 0;
    padding: 4px 0 10px 12px;
  }
  .nav__sub li a { padding: 8px 6px; font-size: 14px; }
  .nav__search { margin-top: 12px; }
  .nav__search input { width: 100%; flex: 1; }

  .hero__title { font-size: 28px; }
  .hero__desc { font-size: 14px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .hero__stat strong { font-size: 21px; }
  .hero__brands { grid-template-columns: 1fr; }
  .hero__panel { padding: 18px; }

  .section { padding: 52px 0; }
  .section__title { font-size: 23px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
  .brands-grid, .products-grid, .news-grid, .feature-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .form-row input, .form-row textarea { height: 42px; font-size: 15px; }
  .form-row textarea { height: auto; }
  .page-hero { padding: 38px 0 32px; }
  .page-hero__title { font-size: 24px; }
  .site-footer__main { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 32px; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .article__title { font-size: 21px; }
  .spec-table th { width: 120px; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .to-top { right: 16px; bottom: 20px; }
  .cta-band__inner { padding: 34px 0; }
  .cta-band__text h2 { font-size: 20px; }
}

/* ============================================================
   品牌中心（brands.php 专用，独立命名空间 .bc-*，不影响其他页面）
   ============================================================ */
.bc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.bc-top__title { font-size: 22px; color: var(--navy); }
.bc-top__desc { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.bc-top__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.bc-top__count strong { color: var(--accent); font-size: 18px; margin-right: 2px; }

/* 字母索引条 */
.bc-index { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 16px 18px; margin-bottom: 34px; }
.bc-index__label { font-size: 12.5px; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.bc-index__letters { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-index__letters li a,
.bc-index__letters li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 7px;
  font-size: 14px; font-weight: 600;
  letter-spacing: .5px;
}
.bc-index__letters li a { background: var(--blue-soft); color: var(--blue); border: 1px solid #d5e6f6; }
.bc-index__letters li a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.bc-index__letters li span { color: #c3cfdb; background: #f7f9fc; border: 1px solid var(--line-2); }

/* 品牌分组 */
.bc-group { display: grid; grid-template-columns: 92px 1fr; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.bc-group:first-child { border-top: 0; padding-top: 0; }
.bc-group__letter {
  font-size: 44px; line-height: 1; font-weight: 800;
  color: #dde6ef; letter-spacing: 2px;
  position: sticky; top: 100px; align-self: start;
}
.bc-group__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.bc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .22s ease;
}
.bc-item:hover { border-color: #cfe0f0; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.bc-item__mark {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--navy), var(--navy-3));
  color: #fff; font-size: 14px; font-weight: 800;
}
.bc-item__text { min-width: 0; flex: 1; }
.bc-item__name { display: block; font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.4; word-break: break-word; }
.bc-item__sub { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .3px; }
.bc-item__meta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 12.5px; color: var(--muted); }
.bc-item__meta em { font-style: normal; color: var(--accent); font-weight: 600; }
.bc-item__arrow { color: #c3cfdb; font-size: 15px; transition: color .2s, transform .2s; }
.bc-item:hover .bc-item__arrow { color: var(--blue); transform: translateX(2px); }

@media (max-width: 1100px) {
  .bc-group__list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bc-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bc-index { padding: 14px; margin-bottom: 24px; }
  .bc-index__letters li a, .bc-index__letters li span { width: 30px; height: 30px; font-size: 13px; }
  .bc-group { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .bc-group__letter { position: static; font-size: 28px; }
  .bc-item { padding: 13px 14px; }
  .bc-item__meta { flex-direction: column; align-items: flex-end; gap: 2px; }
}

/* ============================================================
   品牌内页（brand.php 专用 .bf-*，版式参照 celiss 品牌页）
   ============================================================ */
.bf-crumb { background: #fff; border-bottom: 1px solid var(--line-2); }
.bf-crumb__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; font-size: 13px; color: var(--muted); }
.bf-crumb__inner a { color: var(--text-2); }
.bf-crumb__inner a:hover { color: var(--blue); }
.bf-crumb__sep { color: #c3cfdb; }
.bf-crumb__current { color: var(--navy); font-weight: 600; }

.bf-layout { display: grid; grid-template-columns: 214px 1fr; gap: 30px; align-items: start; }

/* 左侧栏 */
.bf-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.bf-side__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bf-side__head {
  padding: 13px 18px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .5px;
  color: #fff; background: var(--navy);
}
.bf-side__list { padding: 6px; }
.bf-side__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.bf-side__list a:hover { background: var(--bg); color: var(--blue); }
.bf-side__list a.is-active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.bf-side__list a em { font-style: normal; font-size: 11.5px; color: var(--muted); flex: 0 0 auto; }
.bf-side__banner {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 170 / 390;
  background:
    radial-gradient(420px 260px at 80% 6%, rgba(70, 140, 200, .5), transparent 62%),
    linear-gradient(160deg, #0a2a48, #124570 58%, #0e3557);
  color: #fff;
  padding: 22px 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.bf-side__banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 100% 26px;
  pointer-events: none;
}
.bf-side__banner strong { font-size: 17px; line-height: 1.5; letter-spacing: .5px; }
.bf-side__banner span { font-size: 12px; color: rgba(255, 255, 255, .66); line-height: 1.8; }
.bf-side__banner .bf-side__tel { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .5px; }

/* 右侧主体 */
.bf-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.bf-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bf-card__hd {
  padding: 13px 20px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  background: #fafcfe;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.bf-card__hd em { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.bf-card__bd { padding: 20px; }

/* 品牌简介 */
.bf-intro { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: start; }
.bf-intro__logo {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  overflow: hidden;
}
.bf-intro__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bf-intro__text { font-size: 14px; color: var(--text-2); line-height: 1.95; }
.bf-intro__text p { margin-bottom: 12px; }
.bf-intro__text p:last-child { margin-bottom: 0; }
.bf-intro__text strong { color: var(--navy); }

/* 标签页 */
.bf-tabs__head { display: flex; gap: 28px; padding: 0 20px; border-bottom: 1px solid var(--line-2); background: #fafcfe; }
.bf-tabs__tab {
  padding: 14px 0;
  font-size: 15px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  user-select: none;
}
.bf-tabs__tab:hover { color: var(--blue); }
.bf-tabs__tab.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.bf-tabs__body { padding: 20px; }
.bf-series { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-series a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-2);
  background: #fff;
}
.bf-series a:hover { border-color: var(--blue); color: var(--blue); }
.bf-series a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.bf-tabs__empty { font-size: 13.5px; color: var(--muted); }

/* 产品网格 */
.bf-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bf-product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; transition: all .22s ease; background: #fff; }
.bf-product:hover { border-color: #cfe0f0; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.bf-product__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.bf-product__media img { width: 100%; height: 100%; object-fit: cover; }
.bf-product__body { padding: 12px 14px 14px; }
.bf-product__model { font-size: 11.5px; color: var(--blue); font-weight: 600; word-break: break-all; margin-bottom: 3px; }
.bf-product__name {
  font-size: 13.5px; color: var(--text); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bf-product__foot { margin-top: 8px; font-size: 12px; color: var(--muted); }

@media (max-width: 1100px) {
  .bf-layout { grid-template-columns: 1fr; }
  .bf-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .bf-side__box { flex: 1 1 260px; }
  .bf-side__banner { display: none; }
  .bf-products { grid-template-columns: repeat(3, 1fr); }
  .bf-intro { grid-template-columns: 160px 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .bf-crumb__inner { padding-top: 11px; padding-bottom: 11px; font-size: 12.5px; }
  .bf-intro { grid-template-columns: 1fr; }
  .bf-intro__logo { max-width: 200px; }
  .bf-tabs__head { gap: 18px; padding: 0 14px; }
  .bf-tabs__tab { font-size: 14px; padding: 12px 0; }
  .bf-card__bd, .bf-tabs__body { padding: 15px; }
  .bf-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bf-side { flex-direction: column; }
}

/* 品牌内页 · 左侧竖幅内容 */
.bf-side__points { display: grid; gap: 10px; margin: 4px 0; }
.bf-side__points li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.5;
}
.bf-side__points li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   富文本内容（后台编辑器输出）
   仅作用于 .rich-text 内部，不影响既有布局
   ============================================================ */
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.5;
  margin: 26px 0 12px;
}
.rich-text h1 { font-size: 22px; }
.rich-text h2 { font-size: 19px; }
.rich-text h3 { font-size: 17px; }
.rich-text h4 { font-size: 15.5px; }

.rich-text ul,
.rich-text ol {
  margin: 14px 0 16px;
  padding-left: 22px;
}
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin: 7px 0; padding-left: 2px; }
.rich-text li > ul,
.rich-text li > ol { margin: 7px 0; }

.rich-text blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  color: var(--text-2);
}

.rich-text hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.rich-text a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rich-text a:hover { color: var(--accent); }

.rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 14px auto;
}

.rich-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.rich-text th,
.rich-text td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.rich-text th {
  background: var(--bg);
  color: var(--navy);
  font-weight: 700;
}
.rich-text strong,
.rich-text b { color: var(--navy); }

/* 深色背景下（首屏副标题、页脚）修正文字与链接颜色 */
.hero__desc.rich-text,
.hero__desc.rich-text p { color: rgba(255, 255, 255, .76); }
.hero__desc.rich-text strong { color: #fff; }
.hero__desc.rich-text a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }

.site-footer__intro.rich-text,
.site-footer__intro.rich-text p { color: rgba(255, 255, 255, .55); }
.site-footer__intro.rich-text strong { color: rgba(255, 255, 255, .8); }
.site-footer__intro.rich-text a { color: rgba(255, 255, 255, .8); }

/* 文章摘要块 */
.article__lead.rich-text p { margin-bottom: 8px; }
.article__lead.rich-text > :last-child { margin-bottom: 0; }

/* ============================================================
   品牌中心：首字母筛选
   ============================================================ */
.bc-index__letters li a {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.bc-index__letters li a.bc-index__all {
  width: auto;
  min-width: 34px;
  padding: 0 13px;
  font-size: 13px;
  letter-spacing: 0;
}
.bc-index__all-item { margin-right: 8px; }
.bc-index__letters li a.is-active,
.bc-index__letters li a.is-active:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ============================================================
   404 页面
   ============================================================ */
.err { padding: 76px 0 46px; text-align: center; }
.err__inner { max-width: 720px; margin-left: auto; margin-right: auto; }
.err__code {
  font-size: 96px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 6px;
  color: #e6edf5;
}
.err__title { margin-top: 10px; font-size: 27px; color: var(--navy); }
.err__desc { margin-top: 14px; font-size: 14.5px; line-height: 2; color: var(--text-2); }

.err__search { display: flex; gap: 10px; max-width: 460px; margin: 28px auto 0; }
.err__search input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}
.err__search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13, 90, 167, .1); }
.err__search button {
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color .18s ease;
}
.err__search button:hover { background: #0a4c8d; }

.err__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.err__links { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.err__links-title { font-size: 12.5px; letter-spacing: 1px; color: var(--muted); }
.err__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.err__chips a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  color: var(--text-2);
  transition: all .18s ease;
}
.err__chips a:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 760px) {
  .err { padding: 48px 0 34px; }
  .err__code { font-size: 68px; letter-spacing: 4px; }
  .err__title { font-size: 22px; }
  .err__desc { font-size: 14px; }
  .err__search { flex-direction: column; }
  .err__search input,
  .err__search button { width: 100%; }
}
