/* ============================================================
   中鸿致远企业官网 - 样式表
   设计参考：ctax.com.cn（中国税务报/财税行业门户）风格
   技术：Bootstrap 5 + jQuery + 自定义 CSS（响应式）
   ============================================================ */

:root {
  /* 蓝色系主色（改版：原中国红主色改为品牌蓝） */
  --zh-primary: #1e5594;          /* 主色：品牌蓝 */
  --zh-primary-dark: #163f6e;     /* 主色深：hover / 激活态 */
  --zh-primary-bright: #3a8fe6;   /* 点缀亮蓝：链接 hover / 轻交互 */
  /* 强调红：保留用于党建引领、重要提示、表单报错 */
  --zh-accent: #c4161c;
  --zh-accent-dark: #9e1116;
  --zh-navy: #172a3f;             /* 深色：页脚 / 导航底 / 卡片底 */
  --zh-navy-2: #243049;
  --zh-gold: #c9a063;             /* 点缀金 */
  --zh-gray: #f4f6f8;             /* 浅灰背景 */
  --zh-text: #2b2b2b;             /* 正文 */
  --zh-muted: #6b7280;
  --zh-line: #e6e8eb;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--zh-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: var(--zh-primary-bright); }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }

/* ---------- 站点头部（红色导航条滚动吸顶跟随） ---------- */
/* 让 #site-header 不生成盒子，使 .navbar-zh 的 sticky 父级提升为 body，全局生效 */
#site-header { display: contents; }

.navbar-zh {
  position: sticky;
  top: 0;
  z-index: 1090;
  transition: box-shadow .2s ease;
}
.navbar-zh.nav-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.16); }

.header { background: #fff; }
.header .container { display: flex; align-items: center; padding: 16px 15px; gap: 16px; }
.header .logo { height: 80px; width: auto; }
.header .brand { display: flex; flex-direction: column; }
.header .brand .name { font-size: 26px; font-weight: 700; color: #000; letter-spacing: 1px; }
.header .brand .name b { color: var(--zh-primary); }
.header .brand .en { font-size: 13px; color: var(--zh-muted); letter-spacing: 2px; }
.header .hotline { margin-left: auto; text-align: right; }
.header .hotline .t { font-size: 13px; color: var(--zh-muted); }
.header .hotline .p { font-size: 22px; font-weight: 700; color: var(--zh-primary); line-height: 1.2; }
.header .hotline .p small { font-size: 14px; color: var(--zh-muted); font-weight: 400; }

/* ---------- 导航 ---------- */
.navbar-zh { background: var(--zh-primary); }
.navbar-zh .container { display: flex; align-items: stretch; }
.nav-zh { display: flex; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav-zh > li { position: relative; }
.nav-zh > li > a {
  display: flex; align-items: center; height: 52px; padding: 0 22px;
  color: #fff; font-size: 16px; font-weight: 500; position: relative;
}
.nav-zh > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background: var(--zh-gold); transition: .25s; transform: translateX(-50%);
}
.nav-zh > li:hover > a, .nav-zh > li.active > a { background: var(--zh-primary-dark); }
.nav-zh > li:hover > a::after, .nav-zh > li.active > a::after { width: 60%; }
.nav-zh .dropdown-menu-zh {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  list-style: none; margin: 0; padding: 6px 0; display: none; z-index: 50;
  border-top: 2px solid var(--zh-gold);
}
.nav-zh > li:hover .dropdown-menu-zh { display: block; }
.nav-zh .dropdown-menu-zh a { display: block; padding: 9px 20px; color: var(--zh-text); font-size: 15px; }
.nav-zh .dropdown-menu-zh a:hover { background: var(--zh-gray); color: var(--zh-primary); padding-left: 26px; }

/* 移动端汉堡 */
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 0 12px; }

/* ---------- 轮播 Banner ---------- */
.hero { position: relative; }
.hero .carousel-item { height: 460px; position: relative; overflow: hidden; }
/* 背景拆为两层：::before 图片层（可做 Ken Burns），::after 渐变遮罩层，文字在渐变之上 */
.hero .carousel-item::before { content: ""; position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; transform: scale(1.15); transition: transform 7.5s linear; }
.hero .carousel-item::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hero .slide-1::before { background-image: url('../assets/banners/banner-1.jpg'); }
.hero .slide-2::before { background-image: url('../assets/banners/banner-2.jpg'); }
.hero .slide-3::before { background-image: url('../assets/banners/banner-3.jpg'); }
.hero .slide-1::after { background: linear-gradient(120deg, rgba(23,42,63,.88), rgba(30,85,148,.82) 60%, rgba(58,143,230,.78)); }
.hero .slide-2::after { background: linear-gradient(120deg, rgba(28,37,54,.90), rgba(44,62,99,.85) 70%, rgba(58,90,140,.80)); }
.hero .slide-3::after { background: linear-gradient(120deg, rgba(23,42,63,.88), rgba(30,85,148,.82) 55%, rgba(58,143,230,.78)); }
.hero .slide-4::before { background-image: url('../assets/banners/banner-4.jpg'); }
.hero .slide-4::after { background: linear-gradient(120deg, rgba(28,37,54,.90), rgba(44,62,99,.85) 70%, rgba(58,90,140,.80)); }
.hero .carousel-item.active::before { transform: scale(1.0); }
.hero .carousel-caption {
  bottom: auto; top: 52%; left: 50%; right: auto; z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center; max-width: 760px; width: 90%;
}
/* 标题：切换瞬间直接显示，无入场动画/无延迟 */
.hero .carousel-caption > * { opacity: 1; transform: none; }
.hero .carousel-caption .eyebrow { display: inline-block; background: rgba(255,255,255,.18); padding: 4px 14px; border-radius: 20px; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.hero .carousel-caption h2 { font-size: 40px; font-weight: 800; margin: 0 0 14px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero .carousel-caption p { font-size: 18px; opacity: .95; }
.hero .btn-ghost { margin-top: 18px; border: 1px solid #fff; color: #fff; padding: 10px 26px; border-radius: 30px; display: inline-block; background: rgba(255,255,255,.05); }
.hero .btn-ghost:hover { background: #fff; color: var(--zh-primary); }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section.gray { background: var(--zh-gray); }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title .en { font-size: 14px; letter-spacing: 4px; color: var(--zh-gold); text-transform: uppercase; }
.section-title h2 { font-size: 33px; font-weight: 700; color: var(--zh-navy); margin: 6px 0 10px; position: relative; display: inline-block; }
.section-title h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--zh-primary); margin: 14px auto 0; }
.section-title .sub { color: var(--zh-muted); font-size: 16px; }

/* 面包屑 */
.crumb { background: var(--zh-gray); font-size: 13px; color: var(--zh-muted); }
.crumb .container { padding: 12px 15px; }
.crumb a:hover { color: var(--zh-primary-bright); }

/* ---------- 首页：关于简介 ---------- */
.about-home { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.about-home .txt { flex: 1 1 480px; }
.about-home .txt p { color: #555; margin-bottom: 16px; }
.about-home .stats { flex: 1 1 320px; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.stat-card { background: var(--zh-navy); color: #fff; border-radius: 10px; padding: 26px; text-align: center; }
.stat-card .num { font-size: 44px; font-weight: 800; color: #f0c040; }
.stat-card .num span { font-size: 30px; }
.stat-card .lab { font-size: 17px; color: #e8eef5; margin-top: 6px; letter-spacing: .5px; }

/* ---------- 卡片：核心服务 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; padding: 30px 24px; transition: .25s; border-top: 3px solid var(--zh-primary); display: flex; flex-direction: column; }
.svc-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-4px); }
.svc-card .ico { width: 54px; height: 54px; border-radius: 12px; background: rgba(30,85,148,.10); color: var(--zh-primary); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.svc-card h4 { font-size: 18px; margin: 0 0 10px; color: var(--zh-navy); }
.svc-card p { color: var(--zh-muted); font-size: 15px; margin: 0 0 14px; flex: 1; }
.svc-card a.more { color: var(--zh-primary); font-size: 14px; font-weight: 600; margin-top: auto; }

/* 税收规划服务卡片：税种徽章 + 列表优化 */
.tax-card { padding: 26px 10px 28px; }
.tax-card .ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zh-navy) 0%, var(--zh-primary) 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(30,85,148,.22);
  margin-bottom: 18px;
}
.tax-card ul {
  list-style: none;
  padding-left: 0;
  font-size: 14px;
  color: var(--zh-muted);
  margin: 0;
}
.tax-card ul li {
  position: relative;
  padding-left: 14px;
  line-height: 1.75;
  margin-bottom: 6px;
  word-break: break-all;
}
.tax-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--zh-primary);
}

/* ---------- 拳头产品列表 ---------- */
.product-list { display: flex; flex-direction: column; gap: 0; }
.product-item { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px dashed var(--zh-line); align-items: flex-start; }
.product-item:last-child { border-bottom: 0; }
.product-item .idx { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--zh-primary); color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.product-item .body { flex: 1; }
.product-item h4 { font-size: 19px; margin: 0 0 8px; color: var(--zh-navy); }
.product-item h4 small { color: var(--zh-gold); font-weight: 400; margin-left: 8px; font-size: 14px; }
.product-item .body p { color: #555; margin: 0 0 10px; }
.product-item .body p { color: #555; margin: 0 0 10px; }
.product-item .body ul.hl { list-style: none; margin: 0 0 12px; padding: 0; }
.product-item .body ul.hl li { position: relative; padding-left: 18px; margin-bottom: 5px; color: #555; font-size: 14.5px; line-height: 1.75; }
.product-item .body ul.hl li::before { content: ""; position: absolute; left: 1px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--zh-gold); transform: rotate(45deg); }
.product-item .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-item .tags span { background: var(--zh-gray); color: var(--zh-muted); font-size: 13px; padding: 3px 12px; border-radius: 20px; }

/* 首页拳头产品：交互质感型特效（仅作用于首页，不影响 services.html） */
.home-products .section-title h2::after { width: 0; transition: width .7s cubic-bezier(.22,.61,.36,1) .15s; }
.home-products .section-title.reveal.in h2::after { width: 56px; }
/* 用 left 位移（非 transform）避免与滚动入场 reveal 的 transform 冲突 */
.home-products .product-item { position: relative; transition: left .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, background .3s ease; }
.home-products .product-item::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 4px; background: var(--zh-primary); transform: scaleY(0); transform-origin: center; transition: transform .3s ease; }
.home-products .product-item:hover { background: #fff; box-shadow: 0 16px 38px rgba(30,85,148,.16); left: 6px; }
.home-products .product-item:hover::before { transform: scaleY(1); }
.home-products .product-item .idx { transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease; }
.home-products .product-item:hover .idx {  box-shadow: 0 10px 22px rgba(30,85,148,.4); }
.home-products .product-item .tags span { transition: background .25s ease, color .25s ease; }
.home-products .product-item .tags span:hover { background: var(--zh-primary); color: #fff; }

/* ---------- 团队 ---------- */
.team-featured { display: flex; gap: 36px; background: #fff; border: 1px solid var(--zh-line); border-radius: 12px; overflow: hidden; margin-bottom: 36px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.team-featured .photo { flex: 0 0 320px; background: linear-gradient(135deg, var(--zh-navy), var(--zh-navy-2)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.team-featured .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-featured .body { flex: 1; padding: 32px 32px 32px 0; }
.team-featured .body h3 { margin: 0 0 10px; font-size: 24px; color: var(--zh-navy); }
.team-featured .body h3 span { font-size: 15px; color: var(--zh-primary); font-weight: 600; margin-left: 10px; }
.team-featured .body .creds { color: var(--zh-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.7; }
.team-featured .body .desc { color: #444; font-size: 15px; line-height: 1.9; }
.team-featured .body .desc p { margin-bottom: 10px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.team-card:hover { box-shadow: 0 18px 42px rgba(30,85,148,.18); }
.team-card .avatar { height: 440px; background: linear-gradient(135deg, var(--zh-navy), var(--zh-navy-2)); display: flex; align-items: center; justify-content: center; color: var(--zh-gold); font-size: 46px; font-weight: 800; overflow: hidden; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-card .info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.team-card .info h4 { margin: 0 0 4px; font-size: 18px; color: var(--zh-navy); }
.team-card .info .role { color: var(--zh-primary); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.team-card .info .creds { color: var(--zh-muted); font-size: 13px; min-height: 34px; }
.team-card .info .desc { color: #555; font-size: 14px; margin-top: 8px; flex: 1; }
.team-card .info .desc ul { margin: 0; padding-left: 18px; list-style: disc; }
.team-card .info .desc ul li { margin-bottom: 6px; line-height: 1.7; }
.team-card .info .desc ul li:last-child { margin-bottom: 0; }
.team-card .info .desc ul li b { color: var(--zh-navy); font-weight: 600; }
.team-featured .body .desc ul { margin: 0; padding-left: 20px; list-style: disc; }
.team-featured .body .desc ul li { margin-bottom: 10px; line-height: 1.9; }
.team-featured .body .desc ul li:last-child { margin-bottom: 0; }
.team-featured .body .desc ul li b { color: var(--zh-navy); font-weight: 600; }


/* ---------- 新闻 ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; }
.news-tabs { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.news-tabs button { border: 1px solid var(--zh-line); background: #fff; padding: 8px 18px; border-radius: 30px; cursor: pointer; font-size: 14px; color: var(--zh-text); }
.news-tabs button.active, .news-tabs button:hover { background: var(--zh-primary); color: #fff; border-color: var(--zh-primary); }
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--zh-line); align-items: center; }
.news-row .date { flex: 0 0 64px; text-align: center; background: var(--zh-gray); border-radius: 8px; padding: 8px 0; }
.news-row .date .d { font-size: 22px; font-weight: 800; color: var(--zh-primary); line-height: 1; }
.news-row .date .y { font-size: 13px; color: var(--zh-muted); }
.news-row .meta { flex: 1; }
.news-row .meta a { font-size: 17px; font-weight: 600; color: var(--zh-navy); display: block; }
.news-row .meta a:hover { color: var(--zh-primary-bright); }
.news-row .meta .tag { font-size: 13px; color: var(--zh-gold); margin-right: 8px; }
.news-row .meta .brief { color: var(--zh-muted); font-size: 14px; margin-top: 4px; }
.side-box { background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; overflow: hidden; }
.side-box .hd { background: var(--zh-navy); color: #fff; padding: 12px 16px; font-weight: 700; }
.side-box .bd { padding: 8px 16px; }
.side-box .bd li { list-style: none; padding: 10px 0; border-bottom: 1px dashed var(--zh-line); font-size: 15px; display: flex; align-items: baseline; white-space: nowrap; }
.side-box .bd li:last-child { border-bottom: 0; }
.side-box .bd li a { color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.side-box .bd li a:hover { color: var(--zh-primary-bright); }
.side-box .bd li .dot { color: var(--zh-primary); margin-right: 6px; flex-shrink: 0; }

/* ---------- 首页新闻 图文卡片 ---------- */
.news-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--zh-line); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit;
  /* 入场初始态：透明 + 下移 + 轻微缩小 */
  opacity: 0;
  transform: translateY(42px) scale(.96);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1),
              box-shadow .3s ease, border-color .3s ease;
  will-change: opacity, transform;
}
.news-card.in { opacity: 1; transform: translateY(0) scale(1); }
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20,40,80,.14);
  border-color: var(--zh-primary);
}
.news-thumb {
  position: relative; height: 164px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-thumb-ph {
  font-size: 26px; font-weight: 800; color: rgba(255,255,255,.92); letter-spacing: 2px;
}
.news-thumb.cat-company  { background: linear-gradient(135deg, #2a6cb0, #1e5594); }
.news-thumb.cat-policy   { background: linear-gradient(135deg, #243049, #172a3f); }
.news-thumb.cat-industry { background: linear-gradient(135deg, #d9b277, #c9a063); }
.news-cat {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255,255,255,.92); color: var(--zh-primary);
  font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 20px;
}
.news-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 12px; color: var(--zh-muted); margin-bottom: 8px; }
.news-title {
  font-size: 16px; line-height: 1.5; color: var(--zh-navy); font-weight: 700;
  margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card:hover .news-title { color: var(--zh-primary); }
.news-summary {
  font-size: 13px; color: #666; line-height: 1.7; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more {
  margin-top: auto; font-size: 13px; font-weight: 600; color: var(--zh-primary);
  transition: letter-spacing .2s ease;
}
.news-card:hover .news-more { letter-spacing: 1.5px; }
@media (max-width: 992px) { .news-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-cards { grid-template-columns: 1fr; } }

/* ---------- 党建引领 ---------- */
.party-hero { background: linear-gradient(120deg, var(--zh-primary-dark), var(--zh-primary)); color: #fff; border-radius: 12px; padding: 40px; margin-bottom: 36px; }
.party-hero h3 { font-size: 26px; margin: 0 0 10px; }
.party-hero p { opacity: .95; max-width: 760px; }
.party-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.party-card { background: #fff; border: 1px solid var(--zh-line); border-left: 4px solid var(--zh-primary); border-radius: 8px; padding: 22px; }
.party-card h4 { color: var(--zh-navy); margin: 0 0 8px; font-size: 17px; }
.party-card .when { color: var(--zh-gold); font-size: 13px; margin-bottom: 8px; }
.party-card p { color: #555; font-size: 15px; margin: 0; }

/* 党建活动 tab（区别于全局 .news-tabs，避免与 main.js 冲突） */
.party-tabs { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.party-tabs button { border: 1px solid var(--zh-line); background: #fff; padding: 8px 18px; border-radius: 30px; cursor: pointer; font-size: 14px; color: var(--zh-text); }
.party-tabs button.active, .party-tabs button:hover { background: var(--zh-primary); color: #fff; border-color: var(--zh-primary); }
.party-empty { text-align: center; color: var(--zh-muted); padding: 40px 0; }

/* ---------- 党建活动 详情页 ---------- */
.d-hero { background: linear-gradient(120deg, var(--zh-accent-dark), var(--zh-accent)); color: #fff; border-radius: 12px; padding: 30px 36px; margin-bottom: 28px; }
.d-hero .d-cat { display: inline-block; background: rgba(255,255,255,.18); padding: 4px 14px; border-radius: 20px; font-size: 14px; letter-spacing: 1px; margin-bottom: 12px; }
.d-hero h1 { font-size: 31px; font-weight: 800; margin: 0 0 10px; }
.d-hero .d-meta { font-size: 14px; opacity: .92; }
.d-hero .d-meta #d-source { margin-left: 16px; }
.d-article { background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; padding: 30px 34px; }
.d-article .d-lead { font-size: 17px; color: #444; background: var(--zh-gray); border-left: 3px solid var(--zh-accent); padding: 14px 16px; border-radius: 6px; margin-bottom: 22px; line-height: 1.9; }
.d-article p { color: #444; line-height: 1.9; margin-bottom: 16px; }
.d-article .d-sub { font-size: 19px; color: var(--zh-navy); font-weight: 700; margin: 26px 0 10px; }
/* Markdown 正文（新闻详情，由 marked.js 渲染进 #na-content） */
.d-article h2 { font-size: 20px; color: var(--zh-navy); font-weight: 700; margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--zh-accent); }
.d-article h3 { font-size: 18px; color: var(--zh-navy); font-weight: 700; margin: 20px 0 10px; }
.d-article ul, .d-article ol { color: #444; line-height: 1.9; margin: 0 0 16px 22px; }
.d-article li { margin-bottom: 8px; }
.d-article blockquote { background: var(--zh-gray); border-left: 3px solid var(--zh-gold); padding: 12px 16px; border-radius: 6px; color: #555; margin: 0 0 18px; }
.d-article strong { color: var(--zh-navy); }
.d-article a { color: var(--zh-accent); text-decoration: underline; }
.news-empty { padding: 40px 0; text-align: center; color: var(--zh-muted); }

/* 列表翻页控件（新闻动态 / 党建引领 共用） */
.pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0 6px; flex-wrap: wrap; }
.pager button { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--zh-line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--zh-text); transition: all .15s ease; }
.pager button:hover:not(:disabled):not(.active) { border-color: var(--zh-primary); color: var(--zh-primary); }
.pager button.active { background: var(--zh-primary); color: #fff; border-color: var(--zh-primary); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .pg-ellipsis { min-width: 24px; height: 38px; border: 0; background: transparent; color: var(--zh-muted); cursor: default; display: inline-flex; align-items: center; justify-content: center; padding: 0; }

/* 新闻详情页与党建详情页均使用网站蓝色主题 */
.news-detail .d-hero,
.party-detail .d-hero { background: linear-gradient(120deg, var(--zh-primary-dark), var(--zh-primary)); }
.news-detail .d-article .d-lead,
.party-detail .d-article .d-lead { border-left-color: var(--zh-primary); }
.news-detail .d-article h2,
.party-detail .d-article h2 { border-left-color: var(--zh-primary); }
.news-detail .d-article a,
.party-detail .d-article a { color: var(--zh-primary); }
.party-detail .d-nav a:hover { color: var(--zh-primary); }
.d-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--zh-line); }
.d-nav .d-prev, .d-nav .d-next { flex: 1; }
.d-nav .d-next { text-align: right; }
.d-nav a { display: block; color: var(--zh-navy); text-decoration: none; }
.d-nav a:hover { color: var(--zh-accent); }
.d-nav .nav-lab { display: block; font-size: 12px; color: var(--zh-muted); margin-bottom: 4px; }
.d-nav .nav-tit { font-size: 15px; font-weight: 600; }
.d-nav .nav-disabled { color: var(--zh-muted); font-size: 14px; }

/* 详情页内按钮/导航链接去掉下划线（.d-article a 有 underline） */
.d-article .btn, .d-nav a { text-decoration: none; }

/* ---------- 产品与服务页 ---------- */
.svc-overview-intro { max-width: 900px; margin: 0 auto 46px; text-align: center; color: #555; font-size: 16px; line-height: 1.9; }

/* 总经理寄语 */
.gm-quote { background: linear-gradient(120deg, var(--zh-primary-dark), var(--zh-primary)); color: #fff; border-radius: 12px; padding: 38px 40px; position: relative; overflow: hidden; }
.gm-quote .qmark { position: absolute; right: 24px; top: 4px; font-size: 120px; line-height: 1; opacity: .14; font-family: Georgia, serif; }
.gm-quote .q-en { font-size: 12px; letter-spacing: 3px; opacity: .8; text-transform: uppercase; }
.gm-quote .q-title { font-size: 24px; font-weight: 800; margin: 6px 0 18px; }
.gm-quote .q-body p { color: rgba(255,255,255,.92); line-height: 2; margin-bottom: 14px; font-size: 16px; }
.gm-quote .q-sign { margin-top: 18px; text-align: right; font-size: 15px; }
.gm-quote .q-sign b { font-size: 17px; }
.gm-quote .q-sign span { opacity: .85; margin-left: 8px; }

/* 企业荣誉卡片 */
.honor-card { height: 100%; min-height: 150px; background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: .2s; }
.honor-card:hover { box-shadow: 0 8px 22px rgba(20,40,80,.08); transform: translateY(-2px); border-color: var(--zh-primary); }
.honor-card .honor-icon { font-size: 32px; line-height: 1; margin-bottom: 10px; }
.honor-card h6 { font-size: 15px; font-weight: 700; color: var(--zh-navy); margin: 0; line-height: 1.5; }

/* 荣誉证书图片卡片 */
.honor-card-img { cursor: pointer; padding: 12px; overflow: hidden; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s; }
.honor-card-img.is-visible { opacity: 1; transform: translateY(0); }
.honor-card-img img { width: 100%; max-height: 200px; object-fit: contain; border-radius: 6px; margin-bottom: 12px; transition: transform .35s ease; }
.honor-card-img:hover img { transform: scale(1.06); }
.honor-card-img h6 { font-size: 13px; color: var(--zh-primary); line-height: 1.5; }

/* Lightbox 弹层 */
.honor-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.78); display: none; align-items: center; justify-content: center; padding: 20px; animation: lb-fade .3s ease; }
.honor-lb.is-open { display: flex; }
@keyframes lb-fade { from{opacity:0} to{opacity:1} }
.honor-lb-inner { position: relative; max-width: 860px; width: 100%; max-height: 90vh; background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.4); animation: lb-zoom .3s ease; }
@keyframes lb-zoom { from{transform:scale(.92)} to{transform:scale(1)} }
.honor-lb-inner img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; display: block; }
.honor-lb-caption { text-align: center; color: var(--zh-navy); font-size: 15px; font-weight: 600; margin-top: 12px; }
.honor-lb-close { position: absolute; top: -12px; right: -12px; width: 38px; height: 38px; border-radius: 50%; background: var(--zh-primary); color: #fff; border: none; font-size: 22px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(30,85,148,.4); transition: background .2s; }
.honor-lb-close:hover { background: var(--zh-primary-dark); }
@media (max-width: 767px) {
  .honor-card { min-height: 120px; padding: 18px 12px; }
  .honor-card .honor-icon { font-size: 28px; }
  .honor-card h6 { font-size: 15px; }
}

/* 长期合作伙伴 / logo 墙 */
.partner-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.partner-wall .pc { background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; padding: 12px 10px; min-height: 82px; display: flex; align-items: center; justify-content: center; transition: .2s; }
.partner-wall .pc:hover { box-shadow: 0 8px 22px rgba(20,40,80,.08); transform: translateY(-2px); border-color: var(--zh-primary); }
.partner-wall .pc img { width: auto; height: 44px; max-width: 130px; object-fit: contain; }
.partner-wall .pc.text-only { flex-direction: column; text-align: center; }
.partner-wall .pc .pn { font-size: 14px; font-weight: 700; color: var(--zh-navy); line-height: 1.3; }
.partner-wall .pc .pe { font-size: 10px; letter-spacing: .5px; color: var(--zh-muted); margin-top: 3px; text-transform: uppercase; }
@media (max-width: 991px) {
  .partner-wall { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .partner-wall .pc { min-height: 74px; padding: 10px 8px; }
  .partner-wall .pc img { height: 38px; max-width: 120px; }
}
@media (max-width: 575px) {
  .partner-wall { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .partner-wall .pc { min-height: 68px; padding: 8px 6px; border-radius: 8px; }
  .partner-wall .pc img { height: 32px; max-width: 110px; }
  .partner-wall .pc .pn { font-size: 12px; }
}

/* 左侧滚动目录（默认隐藏，滚动后滑出；大屏展示，避免与主内容重叠） */
.svc-sidebar { display: none; position: fixed; left: 0; top: 50%; transform: translate(-120%, -50%); opacity: 0; transition: transform .35s ease, opacity .25s; z-index: 100; }
@media (min-width: 1440px) { .svc-sidebar { display: block; } }
.svc-sidebar.show { transform: translate(0, -50%); opacity: 1; }
.svc-sidebar-inner { background: #fff; border: 1px solid var(--zh-line); border-left: 0; border-radius: 0 12px 12px 0; padding: 16px 12px; box-shadow: 0 8px 30px rgba(0,0,0,.1); width: 180px; }
.svc-sidebar-title { font-size: 14px; font-weight: 700; color: var(--zh-navy); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--zh-line); }
.svc-sidebar ul { list-style: none; margin: 0; padding: 0; }
.svc-sidebar li { margin-bottom: 2px; }
.svc-sidebar li.sub a { padding-left: 18px; font-size: 12px; color: #777; }
.svc-sidebar a { display: block; padding: 6px 10px; border-radius: 6px; font-size: 13px; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-sidebar a:hover, .svc-sidebar li.active a { background: var(--zh-primary); color: #fff; }

/* 拳头产品详情 */
.product-detail { background: #fff; border: 1px solid var(--zh-line); border-radius: 12px; padding: 34px; margin-bottom: 30px; box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.product-detail:last-child { margin-bottom: 0; }
.product-header { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--zh-line); }
.product-header .idx { flex: 0 0 56px; height: 56px; border-radius: 12px; background: var(--zh-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.product-header .title-wrap { flex: 1; min-width: 0; }
.product-header h3 { font-size: 22px; color: var(--zh-navy); margin: 0 0 6px; font-weight: 700; }
.product-header .tagline { font-size: 14px; color: var(--zh-muted); }
.product-header .tagline b { color: var(--zh-primary); font-size: 16px; }
.product-body { margin-bottom: 18px; }
.product-card-inner { background: var(--zh-gray); border-radius: 10px; padding: 22px; height: 100%; }
/* 专项财税服务：四张卡片底纹等高 */
#special .product-detail { display: flex; flex-direction: column; }
#special .product-body { flex: 1 1 auto; display: flex; margin-bottom: 0; }
#special .product-card-inner { width: 100%; }
.product-card-inner h4 { font-size: 16px; color: var(--zh-primary); margin: 0 0 14px; font-weight: 700; }
.product-card-inner ul { margin: 0; padding-left: 18px; color: #555; font-size: 15px; line-height: 1.9; }
.product-card-inner ul ul { margin-top: 6px; }
.product-card-inner li { margin-bottom: 8px; }
.product-card-inner li b { color: var(--zh-navy); }
.product-highlight { background: linear-gradient(135deg, #f3f8fd, #fff); border: 1px solid rgba(30,85,148,.12); }
.product-highlight h4 { color: var(--zh-navy); }
.three-col { column-count: 2; column-gap: 24px; }
.product-footer { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px dashed var(--zh-line); }
.badge-svc { display: inline-block; background: rgba(30,85,148,.10); color: var(--zh-primary); font-size: 13px; padding: 5px 14px; border-radius: 20px; font-weight: 600; }

/* 服务价值 */
.value-card { background: #fff; border: 1px solid var(--zh-line); border-top: 3px solid var(--zh-primary); border-radius: 10px; padding: 24px; text-align: center; height: 100%; }
.value-card .num { font-size: 32px; font-weight: 800; color: var(--zh-primary); line-height: 1; }
.value-card .lab { font-size: 14px; color: #555; margin-top: 8px; }
.value-item { background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; padding: 24px; height: 100%; }
.value-item h4 { font-size: 17px; color: var(--zh-navy); margin: 0 0 10px; font-weight: 700; }
.value-item p { color: #666; font-size: 15px; line-height: 1.8; margin: 0; }

/* ---------- 时间线（企业历程） ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--zh-line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 16px 40px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item .dot { position: absolute; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--zh-primary); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--zh-primary); }
.tl-item:nth-child(odd) .dot { right: -8px; }
.tl-item:nth-child(even) .dot { left: -8px; }
.tl-year { font-size: 26px; font-weight: 800; color: var(--zh-primary); }
.tl-card { background: #fff; border: 1px solid var(--zh-line); border-radius: 10px; padding: 18px; margin-top: 8px; }
.tl-card h4 { margin: 0 0 6px; color: var(--zh-navy); }
.tl-card p { color: #555; font-size: 15px; margin: 0;text-align: left; }

/* ---------- 数字化研发系统管理 · 视频展示 ---------- */
.rnd-video-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;          /* 始终 16:9，替换视频后无需改样式 */
  border-radius: 12px;
  overflow: hidden;
  background: var(--zh-navy);
  border: 1px solid var(--zh-line);
}
.rnd-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  background: linear-gradient(120deg, var(--zh-primary-dark), var(--zh-primary) 60%, var(--zh-primary-bright));
  color: #fff;
  text-align: center;
}
.video-placeholder .vp-play {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 2px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1; padding-left: 6px;   /* 视觉居中三角 */
  transition: transform .25s ease, background .25s ease;
}
.rnd-video-wrap:hover .vp-play { transform: scale(1.08); background: rgba(255,255,255,.26); }
.video-placeholder .vp-text { font-size: 16px; opacity: .92; letter-spacing: 1px; }
@media (max-width: 768px) {
  .video-placeholder .vp-play { width: 60px; height: 60px; font-size: 22px; }
  .video-placeholder .vp-text { font-size: 14px; }
}

/* ---------- 联系我们 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info .item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--zh-line); }
.contact-info .item .ic { flex: 0 0 42px; height: 42px; border-radius: 50%; background: rgba(30,85,148,.10); color: var(--zh-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-info .item .t { font-weight: 700; color: var(--zh-navy); }
.contact-info .item .v { color: #555; }
.qr-row { display: flex; gap: 24px; margin-top: 20px; }
.qr-row figure { margin: 0; text-align: center; }
.qr-row img { width: 130px; height: 130px; border: 1px solid var(--zh-line); border-radius: 8px; }
.qr-row figcaption { font-size: 13px; color: var(--zh-muted); margin-top: 6px; }

/* 固定地图图片 */
.map-img-wrap { width: 100%; height: 340px; border: 1px solid var(--zh-line); border-radius: 10px; overflow: hidden; background: #f5f6f8; }
.map-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }

/* 交通指引 */
.traffic-guide { background: var(--zh-gray); border-radius: 10px; padding: 18px 20px; }
.traffic-item { display: flex; gap: 14px; align-items: flex-start; }
.traffic-item + .traffic-item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--zh-line); }
.traffic-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.traffic-item > div { font-size: 15px; color: var(--zh-text); line-height: 1.6; }
.traffic-item strong { color: var(--zh-navy); font-weight: 700; }

/* 表单 */
.contact-form .form-control { margin-bottom: 6px; border-radius: 8px; border-color: #e0e3e9; }
.contact-form .form-control:focus { border-color: var(--zh-primary); box-shadow: 0 0 0 0.2rem rgba(30,85,148,.15); }
.contact-form label { font-size: 14px; color: var(--zh-navy); font-weight: 600; margin-top: 10px; margin-bottom: 6px; }
.contact-form .invalid-feedback { display: none; color: var(--zh-accent); font-size: 12px; margin-bottom: 8px; }
.contact-form .is-invalid ~ .invalid-feedback[data-field] { display: block; }
.contact-form .is-invalid { border-color: var(--zh-accent); }
.cf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--zh-primary); display: inline-block; }
/* 蜜罐字段：屏幕外隐藏，真实用户不可见 */
.cf-hp { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* 提交按钮 loading */
#contact-submit { position: relative; min-height: 42px; transition: .2s; }
#contact-submit .btn-spinner {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%;
  animation: cf-spin .8s linear infinite; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -9px;
}
#contact-submit.is-loading .btn-text { opacity: 0; }
#contact-submit.is-loading .btn-spinner { display: inline-block; }
@keyframes cf-spin { to { transform: rotate(360deg); } }

/* 提交结果反馈卡片 */
.cf-result {
  display: none; text-align: center; padding: 28px 20px;
}
.cf-result.is-visible { display: block; animation: cf-fade .35s ease; }
@keyframes cf-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cf-result-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.cf-result.success .cf-result-icon { background: #e8f5e9; color: #2e7d32; }
.cf-result.success .cf-result-icon::before { content: "✓"; }
.cf-result.error .cf-result-icon { background: #ffebee; color: var(--zh-accent); }
.cf-result.error .cf-result-icon::before { content: "!"; }
.cf-result h6 { font-weight: 700; color: var(--zh-navy); margin-bottom: 6px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--zh-navy); color: #cbd2dc; padding: 48px 0 0; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 30px; }
.footer h5 { color: #fff; font-size: 16px; margin: 0 0 16px; position: relative; padding-left: 12px; text-align: left; }
.footer h5::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; background: var(--zh-gold); }
.footer a { color: #cbd2dc; display: block; padding: 5px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .f-about img { height: 80px; margin-bottom: 14px; }
.footer .f-about p { font-size: 14px; line-height: 1.9; }
.footer .f-qr { text-align: center; }
.footer .f-qr img { width: 110px; height: 110px; border-radius: 6px; background: #fff; padding: 4px; margin: 0 auto 6px; }
.footer .f-qr span { font-size: 12px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding: 16px 0; text-align: center; font-size: 13px; color: #8b93a3; }
.footer .bottom a { display: inline; color: #8b93a3; }

/* 返回顶部 */
#toTop { position: fixed; right: 22px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%; background: var(--zh-primary); color: #fff; border: 0; font-size: 20px; cursor: pointer; display: none; z-index: 99; box-shadow: 0 6px 18px rgba(30,85,148,.4); }

/* ---------- 品牌按钮（替代 Bootstrap btn-danger 红色） ---------- */
.btn-brand {
  background: var(--zh-primary); color: #fff; border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-brand:hover { background: var(--zh-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,85,148,.3); }
.btn-brand:active { background: var(--zh-primary) !important; transform: none; }

.btn-outline-brand {
  background: transparent; color: var(--zh-primary);
  border: 1.5px solid var(--zh-primary);
  transition: all .2s;
}
.btn-outline-brand:hover { background: var(--zh-primary); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,85,148,.2); }
.btn-outline-brand:active { background: var(--zh-primary-dark) !important; }

/* ---------- 滚动渐入动效 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* 仅淡入变体：用于带 :hover 位移的卡片，避免与悬停 transform 冲突 */
.reveal-fade { opacity: 0; }
.reveal-fade.in { opacity: 1; }

/* CTA 按钮呼吸脉冲，引导点击 */
.cta-pulse { animation: ctaPulse 2.6s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(30,85,148,.18); transform: translateY(0); }
  50% { box-shadow: 0 12px 30px rgba(30,85,148,.40); transform: translateY(-3px); }
}

/* 工具类：防止中文孤字换行 */
.no-break { white-space: nowrap; }

/* ---------- 首页 数字化研发 推广横幅 ---------- */
.digital-rnd-cta { padding: 0 0 60px; }
.drnd-banner {
  display: flex; align-items: center; gap: 40px;
  background: linear-gradient(120deg, #1c2536 0%, #2c3e63 55%, #3a5a8c 100%);
  border-radius: 18px; overflow: hidden;
  padding: 44px 48px; color: #fff;
  box-shadow: 0 18px 50px rgba(28,37,54,.22);
}
.drnd-text { flex: 1; min-width: 0; }
.drnd-tag {
  display: inline-block; font-size: 13px; letter-spacing: 2px;
  color: #e6b422; border: 1px solid rgba(230,180,34,.5);
  padding: 3px 12px; border-radius: 20px; margin-bottom: 14px;
}
.drnd-text h2 { color: #fff; font-size: 30px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.drnd-text p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.85; margin-bottom: 22px; }
.drnd-text p strong { color: #ffd87a; font-weight: 700; }
.drnd-text .btn-brand { background: #e6b422 !important; border-color: #e6b422 !important; color: #1c2536 !important; font-weight: 700; }
.drnd-text .btn-brand:hover { background: #f1c84e !important; border-color: #f1c84e !important; color: #1c2536 !important; }
.drnd-media {
  flex: 0 0 600px; position: relative; display: block;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: #000;
}
.drnd-media video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .drnd-banner { flex-direction: column; padding: 32px 24px; text-align: center; }
  .drnd-media { flex: none; width: 100%; max-width: 360px; margin: 0 auto; }
  .drnd-text h2 { font-size: 24px; }
}

/* 尊重「减少动态」偏好 */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cta-pulse { animation: none; }
  .hero .carousel-item::before { transition: none; transform: none; }
  .hero .carousel-caption > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .svc-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-featured { flex-direction: column; }
  .team-featured .photo { flex: 0 0 360px; }
  .team-featured .body { padding: 24px; }
  .news-layout { grid-template-columns: 1fr; }
  .party-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .about-home .stats { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 768px) {
  .header .container { flex-wrap: wrap; padding: 12px 15px; }
  .header .logo { height: 64px; }
  .header .brand .name { font-size: 18px; }
  .header .hotline { width: 100%; text-align: left; margin: 6px 0 0; }
  .nav-toggle { display: block; }
  .navbar-zh .container { flex-wrap: wrap; position: relative; }
  .nav-zh { display: none; flex-direction: column; width: 100%; background: var(--zh-primary-dark); }
  .nav-zh.open { display: flex; }
  .nav-zh > li { width: 100%; }
  .nav-zh > li > a { height: 46px; justify-content: space-between; }
  .nav-zh > li > a::after { display: none; }
  .nav-zh .dropdown-menu-zh { position: static; box-shadow: none; display: none; width: 100%; border-top: 0; }
  .nav-zh > li.open .dropdown-menu-zh { display: block; }
  .nav-zh .dropdown-menu-zh a { color: #fff; background: rgba(0,0,0,.15); padding-left: 40px; }
  .hero .carousel-item { height: 300px; }
  .hero .carousel-caption { left: 50%; right: auto; width: 92%; top: 52%; }
  .hero .carousel-caption h2 { font-size: 26px; }
  .hero .carousel-caption p { font-size: 15px; }
  .section { padding: 44px 0; }
  .section-title h2 { font-size: 26px; }
  .about-home .stats { grid-template-columns: repeat(2,1fr); }
  .svc-grid, .team-grid, .party-grid { grid-template-columns: 1fr; }
  .team-featured .photo { flex: 0 0 300px; }
  .team-featured .body h3 { font-size: 20px; }
  .team-featured .body h3 span { display: block; margin: 6px 0 0; }
  .contact-wrap { grid-template-columns: 1fr; }
  .timeline::before { left: 18px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 12px 0 12px 46px; }
  .tl-item .dot { left: 10px !important; right: auto !important; }
  .footer .container { grid-template-columns: 1fr; }
  .d-hero { padding: 24px 20px; }
  .d-hero h1 { font-size: 24px; }
  .d-article { padding: 22px 18px; }
  .d-nav { flex-direction: column; }
  .d-nav .d-next { text-align: left; }
  .product-detail { padding: 22px 18px; }
  .product-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-header h3 { font-size: 18px; }
  .three-col { column-count: 1; }
  .value-card .num { font-size: 26px; }
}
