/* ============================================================
   天吉生物 · 现代化视觉优化层 (theme.css)
   在 style.css 之后加载，做增强与覆盖；不改原站的 class 命名与 DOM 结构。
   设计目标：更现代的排版、统一的间距与色彩、卡片化内容、流畅的微交互、完善响应式。
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色：医药生物领域的科技蓝 + 青色点缀 */
  --brand:        #1668dc;
  --brand-dark:   #0b4ba0;
  --brand-soft:   #eaf3ff;
  --accent:       #00a8c8;
  --accent-soft:  #e6f7fb;

  /* 中性色 */
  --ink:          #141821;
  --ink-2:        #4c5566;
  --ink-3:        #8b93a3;
  --line:         #e7ebf1;
  --line-soft:    #f0f3f7;
  --surface:      #ffffff;
  --surface-soft: #f6f9fc;

  /* 布局 */
  --maxw:         1200px;
  --gutter:       24px;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    18px;

  /* 阴影 */
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --sh-2: 0 4px 12px rgba(16, 24, 40, .06), 0 12px 28px rgba(16, 24, 40, .08);
  --sh-3: 0 18px 44px rgba(16, 24, 40, .12);
  --sh-brand: 0 10px 28px rgba(22, 104, 220, .22);

  /* 动效 */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --fast: .18s var(--ease);
  --base: .28s var(--ease);
  --slow: .5s var(--ease);

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", sans-serif;
}

/* ---------- 2. 全局基础 ---------- */
*, *::before, *::after { 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(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 600; line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color var(--fast); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
ul, ol { padding-left: 1.4em; }

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

/* 统一区块容器留白（注意：.type-list-w 是通栏色带，不参与此处限宽） */
.index-main01, .index-main02, .index-main03, .index-main04,
.pro-main, .news-list, .show-top, .show-cons, .loca-w {
  max-width: var(--maxw);
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- 3. 顶部导航 ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
  transition: box-shadow var(--base);
}
.header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: auto;
}
.logo img { max-height: 52px; width: auto; transition: transform var(--base); }
.logo a:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav > p {
  position: relative;
  margin: 0;
  padding: 0;
}
.nav > p > a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--fast), background var(--fast);
}
.nav > p > a:hover { color: var(--brand); background: var(--brand-soft); }
.nav > p:hover > a { color: var(--brand); }

/* 当前页高亮（由 render.js 加 .on） */
.nav > p.on > a { color: var(--brand); font-weight: 600; }
.nav > p.on > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* 二级下拉 */
.nav > p > span {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 148px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden;
  transition: opacity var(--base), transform var(--base), visibility var(--base);
  z-index: 30;
}
.nav > p:hover > span { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav > p > span > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--fast), color var(--fast);
}
.nav > p > span > a:hover { background: var(--brand-soft); color: var(--brand); }

/* 移动端汉堡按钮 */
.nav-bar { display: none; }

/* ---------- 4. Banner 轮播 ---------- */
.banner { position: relative; overflow: hidden; background: var(--surface-soft); }
.banner .slider8 { margin: 0; padding: 0; }
.banner img { width: 100%; display: block; }

/* ---------- 5. 区块标题 ---------- */
.index-title {
  max-width: var(--maxw);
  margin: 56px auto 26px;
  padding: 0 var(--gutter);
  text-align: center;
}
.index-title p.t1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
}
.index-title p.t2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.index-title p.t3 { margin: 0; }
.index-title p.t3 img { opacity: .8; }

/* ---------- 6. 首页：关于我们 ---------- */
.index-main01 {
  margin: 40px auto 56px;
  padding: 32px 36px;
  background: linear-gradient(180deg, var(--surface-soft), #fff);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.index-main01 .left { width: 100%; }
.index-main01 p.t1, .index-main01 .left p.t1 {
  font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 14px;
}
.index-main01 p.t3, .index-main01 .left p.t3 {
  color: var(--ink-2); line-height: 1.9; margin: 0;
}
.index-main01 p.t4 {
  color: var(--ink-2); line-height: 1.9; margin-top: 12px;
}

/* ---------- 7. 首页：产品卡片区 ---------- */
.index-main02 { margin: 30px auto 56px; display: flex; gap: 20px; flex-wrap: wrap; }
.index-main02 .list {
  flex: 1 1 260px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--base), box-shadow var(--base);
}
.index-main02 .list:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.index-main02 .list img.pic { width: 100%; display: block; transition: transform var(--slow); }
.index-main02 .list:hover img.pic { transform: scale(1.06); }

/* ---------- 8. 首页：研发中心 ---------- */
.index-main03 { margin: 30px auto 56px; }
.index-main03 a { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-1); }
.index-main03 img { width: 100%; display: block; transition: transform var(--slow); }
.index-main03 a:hover img { transform: scale(1.03); }

/* ---------- 9. 首页：新闻卡片（3 列） ---------- */
.index-main04 {
  margin: 30px auto 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.index-main04 .list {
  width: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--base), box-shadow var(--base), border-color var(--base);
}
.index-main04 .list:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.index-main04 .list > a { display: block; padding: 0 0 6px; }
.index-main04 .list p.t1 {
  margin: 0;
  padding: 14px 18px 0;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .5px;
}
.index-main04 .list p.t2 {
  height: auto;
  min-height: 58px;
  margin: 6px 18px 10px;
  padding: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--fast);
}
.index-main04 .list:hover p.t2 { color: var(--brand); }
.index-main04 .list p.t3 {
  margin: 0 18px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.index-main04 .list p.t4 {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
}
.index-main04 .list p.t4 img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--slow);
}
.index-main04 .list:hover p.t4 img { transform: scale(1.06); }

/* ---------- 10. 栏目 Tab / 面包屑 ---------- */
/* 产品中心栏目切换【有意不做胶囊化】，直接沿用 style.css 的原站样式：
   · 一级 .type-list-w        → 通栏橙黄带 #f08c34 + 白字 18px / 行高 70px
                                （原料药 · 制剂产品 · 其他），当前项灰底 #cccccc
   · 二级 .type-list-w.two    → 通栏浅灰带 #f4f4f4 + 灰字（其他 下的
                                定制合成 / CRO&CDMO / 美容多肽），每项固定 120px
   此处不再重复声明，以免覆盖 style.css 里针对小屏的媒体查询
   （小屏会切到 48% / 25% 换行排布）。 */

/* hover / active 背景必须充满整条色带：把 p 与 a 改成 flex 撑满，
   避免 a 的 line-height 与容器实际高度不一致时出现橙色缝隙。 */
.type-list { align-items: stretch; }
.type-list p {
  display: flex;
  align-items: stretch;
  margin: 0;
}
.type-list p a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70px;
  line-height: normal;
}

.loca-w { margin: 18px auto 6px; }
.loca {
  font-size: 13px;
  color: var(--ink-3);
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.loca a { color: var(--ink-3); }
.loca a:hover { color: var(--brand); }

/* ---------- 11. 产品列表（卡片网格） ---------- */
.pro-main-w { background: #ffffff; padding: 26px 0 56px; }
.pro-main {
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pro-main .list {
  width: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;   /* 卡片四周留白：图片上下均有间隔，不再顶到边框 */
  overflow: hidden;
  transition: transform var(--base), box-shadow var(--base), border-color var(--base);
}
.pro-main .list:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.pro-main .list .pic {
  position: relative;    /* 配合图片绝对定位，保证 height:100% 可靠解析 */
  width: 36%;
  height: auto;          /* 覆盖 style.css 的固定 180px，改由 4:3 决定高度 */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
  flex: 0 0 36%;
  align-self: center;    /* 不被文字高度拉伸，保持比例并垂直居中 */
  border-radius: var(--radius-sm);
}
.pro-main .list .pic img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;   /* 完整显示，不裁剪，等比缩放适应图位 */
  display: block;
  transition: transform var(--slow);
}
.pro-main .list:hover .pic img { transform: scale(1.06); }
.pro-main .list .text {
  width: auto;
  flex: 1 1 auto;
  padding: 8px 6px 8px 18px;   /* 卡片已有内边距，此处只做与图片的间距 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pro-main .list .text.maleft { margin-left: 0; }
.pro-main .list .text p.t1 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--fast);
}
.pro-main .list:hover .text p.t1 { color: var(--brand); }
.pro-main .list .text p.t1 span {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
  vertical-align: 2px;
}
.pro-main .list .text p.t2 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pro-main .list .text p.t3 {
  margin: 0;
  width: 30px; height: 30px;
  line-height: 28px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 50%;
  transition: all var(--base);
}
.pro-main .list:hover .text p.t3 {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: rotate(90deg);
}

/* ---------- 12. 新闻列表（卡片网格） ---------- */
.news-list {
  margin: 22px auto 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-list .list {
  width: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--base), box-shadow var(--base), border-color var(--base);
}
.news-list .list:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.news-list .list .pic {
  position: relative;    /* 与产品卡片同理，保证图片 height:100% 可靠解析 */
  width: 42%;
  flex: 0 0 42%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
}
.news-list .list .pic img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--slow);
}
.news-list .list:hover .pic img { transform: scale(1.06); }
.news-list .list .text {
  flex: 1 1 auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-list .list .text p.t1 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .5px;
}
.news-list .list .text p.t2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--fast);
}
.news-list .list:hover .text p.t2 { color: var(--brand); }
.news-list .list .text p.t3 {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 13. 详情页 ---------- */
.pro-main-w#productDetail { background: transparent; padding-bottom: 40px; }
.show-top {
  max-width: var(--maxw);
  margin: 26px auto 18px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--brand-soft), #fff 65%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.show-top .pic {
  flex: 0 0 240px;
  height: 180px;
  overflow: hidden;
  padding: 8px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--sh-1);
}
.show-top .pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.show-top .text { flex: 1 1 auto; }
.show-top .text h1 { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.show-top .text p.t2 { margin: 0 0 4px; color: var(--ink-3); font-size: 15px; }
.show-top .text p.t3 { margin: 0; }
.show-top .text.news { padding-left: 0 !important; }
.show-top .text.news h1 { font-size: 27px; line-height: 1.45; }
.show-top .text.news p.t2 { color: var(--ink-3); font-size: 14px; }

.show-cons {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  padding: 30px 34px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-1);
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
}
.show-cons h3 {
  margin: 26px 0 10px;
  padding-left: 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand);
  border-left: 3px solid var(--brand);
  line-height: 1.4;
}
.show-cons h3:first-child { margin-top: 0; }
.show-cons p { margin: 0 0 12px; }
.show-cons img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 10px 0; }
.show-cons table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.show-cons table td, .show-cons table th {
  border: 1px solid var(--line); padding: 8px 12px; font-size: 14px;
}
.show-cons a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 14. 单页内容（关于我们 / 研发 / 联系） ---------- */
.about-main, .about02, .about03, .yanfa-main, .contact-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px var(--gutter);
}
.about-main p, .yanfa-main p, .contact-main p { line-height: 1.95; }

/* ---------- 15. 页脚 ---------- */
footer {
  background: linear-gradient(180deg, #2c3038, #1c2028);
  padding: 52px 0 0;
  color: #c3c9d4;
}
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 34px;
  display: grid;
  /* 页脚共 6 个链接组（总部 / 联系方式 / 关注我们 / 关于我们 / 研发 / 产品中心），
     必须 6 列才能一行排完；minmax(0,1fr) 防止长英文单词撑破等分 */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
/* 6 列下每组变窄，标题与链接字号同步收敛，避免长条目折成三行 */
.footer .list p.t1 { font-size: 14px; letter-spacing: .5px; margin-bottom: 12px; }
.footer .list p.t2 a { font-size: 13px; margin-bottom: 6px; line-height: 1.6; }
.footer .list p.t3 { font-size: 13px; line-height: 1.75; word-break: break-word; }
.footer .list p.t4 img { width: 96px; height: 96px; }
.footer .list { margin: 0; }
.footer .list p.t1 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}
.footer .list p.t2 a {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  color: #aeb5c2;
  transition: color var(--fast), transform var(--fast);
}
.footer .list p.t2 a:hover { color: #fff; transform: translateX(3px); }
.footer .list p.t3 { font-size: 13.5px; line-height: 1.9; color: #aeb5c2; margin: 0; }
.footer .list p.t4 { margin: 0; }
.footer .list p.t4 img {
  width: 108px; height: 108px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 5px;
}
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 16px var(--gutter);
  text-align: center;
  font-size: 13px;
  color: #8b93a3;
}
.footer-copy a { color: #aeb5c2; }
.footer-copy a:hover { color: #fff; }

/* ---------- 16. 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1200px) {
  .index-main04 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pro-main, .news-list { gap: 18px; }
  /* 覆盖 style.css：恢复被隐藏的页脚第 1/4/5/6 组，保证 6 组完整显示 */
  .footer { width: auto; flex-wrap: nowrap; gap: 16px; }
  .footer .list,
  .footer .list:nth-child(1),
  .footer .list:nth-child(4),
  .footer .list:nth-child(5),
  .footer .list:nth-child(6) { display: block; width: auto; margin: 0; }
  .footer .list p.t2 a { font-size: 12.5px; }
}

/* 1100px 以下 6 列过窄，降为 3 列（两行 3+3） */
@media (max-width: 1100px) {
  .footer { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
}

@media (max-width: 992px) {
  .index-main04 { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  .show-top { flex-direction: column; align-items: flex-start; }
  .show-top .pic { width: 100%; flex: none; height: 220px; }
  .index-title p.t1 { font-size: 26px; }
  /* 栏目色带：小屏等分三格，避免沿用 48% 导致第三项被裁切；
     同时压缩行高，但让 a 撑满 p 以避免 hover 背景留缝 */
  .type-list p, .type-list-w.two p { width: 33.333%; }
  .type-list p a { font-size: 16px; min-height: 56px; }
}

@media (max-width: 768px) {
  /* 移动端导航：汉堡 + 折叠 */
  .header { padding: 10px 16px; }
  .nav-bar {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    order: 3;
  }
  .nav-bar span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--base), opacity var(--base);
  }
  .nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  .nav.open { display: flex; }
  .nav > p { width: 100%; }
  .nav > p > a { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  .nav > p > span {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; border: 0;
    min-width: 0; padding: 0 0 6px 10px;
    background: var(--surface-soft);
    display: none;
  }
  .nav > p.open > span { display: block; }
  .nav > p > span > a { padding: 8px 12px; }
  .nav > p.on > a::after { display: none; }

  /* 内容单列 */
  .index-main04 { grid-template-columns: 1fr; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .pro-main, .news-list { grid-template-columns: 1fr; }
  .index-main01 { padding: 22px 20px; }
  .index-main02 { flex-direction: column; }
  .show-top { padding: 20px; }
  .show-top .text h1 { font-size: 21px; }
  .show-cons { padding: 22px 18px; font-size: 15px; }
  .index-title { margin: 36px auto 18px; }
  .index-title p.t1 { font-size: 22px; }
  .pro-main .list .pic { flex: 0 0 32%; width: 32%; }
  .news-list .list .pic { flex: 0 0 40%; width: 40%; }
  .pro-main .list .text { padding: 6px 6px 6px 18px; }
  .news-list .list .text { padding: 16px 18px; }
}

@media (max-width: 520px) {
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .pro-main .list, .news-list .list { flex-direction: column; }
  .pro-main .list .pic, .news-list .list .pic { width: 100%; flex: none; aspect-ratio: 16/9; }
  .logo img { max-height: 42px; }
  .show-top .pic { height: 180px; }
  /* 栏目色带：进一步压缩行高，三格仍保持一排；a 撑满容器 */
  .type-list p, .type-list-w.two p { width: 33.333%; }
  .type-list p a { font-size: 14px; min-height: 46px; }
}

/* ---------- 19. 列表分页 ---------- */
.pages {
  max-width: var(--maxw);
  width: auto;
  margin: 10px auto 56px;
  padding: 0 var(--gutter);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pagination > a,
.pagination > p {
  min-width: 42px;
  height: 42px;
  line-height: 40px;
  padding: 0 14px;
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all var(--fast);
}
.pagination > a { cursor: pointer; }
.pagination > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--sh-brand);
}
.pagination > p { color: var(--ink-3); background: var(--surface-soft); cursor: not-allowed; }
.pagination > a.cur {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  box-shadow: var(--sh-brand);
}
.pagination .pg-gap { padding: 0 2px; color: var(--ink-3); letter-spacing: 1px; }
.pagination p.pageRemark {
  min-width: auto;
  height: auto;
  line-height: 1.6;
  padding: 0 0 0 8px;
  background: transparent;
  border: 0;
  color: var(--ink-3);
  cursor: default;
}
.pagination p.pageRemark b { color: var(--brand); font-weight: 600; padding: 0 3px; }

/* ---------- 20. 关于我们 · 卡片化 ---------- */
/* 企业风采：图片卡片 */
.about-m02 { gap: 26px; }
.about-m02 .list {
  width: calc(33.333% - 18px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--fast), box-shadow var(--fast);
}
.about-m02 .list img { border-radius: var(--radius); transition: transform .55s var(--ease); }
.about-m02 .list:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.about-m02 .list:hover img { transform: scale(1.05); }

/* 企业风采 · 顶部导语（卡片式，与“社会责任”一致：白底卡片 + 内容居中） */
.about-m02-intro {
  width: 1200px;
  margin: 0 auto 30px;
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-2);
  box-sizing: border-box;
  text-align: center;
}
.about-m02-intro .lead {
  max-width: 920px;
  margin: 0 auto 18px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: .3px;
  text-align: center;
}
.about-m02-intro p {
  max-width: 920px;
  margin: 0 auto 14px;
  font-size: 15px;
  line-height: 1.9;
  color: #b7b4b2;
  text-align: left;
}
.about-m02-intro p:last-child { margin-bottom: 0; }
.about-m02-intro .closing {
  max-width: 920px;
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--brand-dark);
  font-weight: 600;
  text-align: center;
}

/* 三张内容卡片的公共外壳 */
.about-m03,
.about-m04,
.about-m05 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh-2);
  padding: 44px;
  margin: 0 auto 30px;
  align-items: center;
  gap: 44px;
}
.about-m03 .left .index-title,
.about-m04 .left .index-title,
.about-m05 .left .index-title {
  width: auto;
  padding: 0 0 18px;
  background: transparent;
  margin-bottom: 0;
}
.about-m03 .left .desc,
.about-m04 .left .desc,
.about-m05 .left .desc { padding-right: 0; }

/* 有图 → 左文右图 */
.about-m03 .left { flex: 1 1 500px; width: auto; }
.about-m03 .right {
  flex: 0 1 470px;
  width: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.about-m03 .right img { width: 100%; display: block; border-radius: var(--radius); }

/* 无图 → 整体居中 */
.about-m04,
.about-m05 { justify-content: center; text-align: center; }
.about-m04 .left,
.about-m05 .left {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  align-items: center;
}
.about-m04 .left .index-title,
.about-m05 .left .index-title { text-align: center; }
.about-m05 .left .desc { text-align: left; }

/* 资质荣誉徽章 */
.honor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-top: 6px;
}
.honor-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 15px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--fast);
}
.honor-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  flex: none;
}
.honor-badge:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--sh-2);
}

/* ---------- 21. 研发页 · 标题块垂直居中 ---------- */
.yanfa-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  align-items: stretch;
  /* 加了边框后 300+900 会溢出换行，这里禁止换行并让右侧自适应 */
  flex-wrap: nowrap;
}
.yanfa-list .left {
  flex: 0 0 300px;
  width: 300px;
  height: auto;
  min-height: 200px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--brand), var(--accent));
}
.yanfa-list .right {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 46px 50px;
  color: var(--ink-2);
}
.yanfa-list .right.three { padding: 46px 50px; }
.yanfa-list .left .index-title {
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.yanfa-list .left .index-title p.t1 { color: #fff; }
.yanfa-list .left .index-title p.t2 { color: rgba(255, 255, 255, .72); }
.yanfa-list .left .index-title p.t3 img { filter: brightness(0) invert(1); opacity: .8; }

/* 新增模块的响应式 */
@media (max-width: 1200px) {
  .yanfa-list { flex-wrap: wrap; }
  .yanfa-list .left, .yanfa-list .right { flex: none; width: 100%; }
  .yanfa-list .left.wap { display: flex; align-items: center; }
  .about-m03 { flex-direction: column; align-items: stretch; }
  .about-m03 .left, .about-m03 .right { flex: none; width: 100%; }
  .about-m03 .right { order: -1; }
  .about-m02-intro { width: 96%; }
}

@media (max-width: 768px) {
  .about-m02 { gap: 16px; }
  .about-m02 .list { width: 100%; }
  .about-m02-intro { padding: 26px 20px; }
  .about-m02-intro .lead { font-size: 18px; }
  .about-m02-intro p { font-size: 14.5px; }
  .about-m03, .about-m04, .about-m05 { padding: 26px 20px; gap: 24px; }
  .about-m04 .left, .about-m05 .left { align-items: stretch; }
  .honor-badge { padding: 10px 16px; font-size: 14px; }
  .yanfa-list .right, .yanfa-list .right.three { padding: 24px 20px; }
  .yanfa-list .left { min-height: 130px; padding: 0 20px; }
  .pagination p.pageRemark { width: 100%; padding-left: 0; }
}

@media (max-width: 520px) {
  .pagination > a, .pagination > p {
    min-width: 36px;
    height: 36px;
    line-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* ---------- 18. 打印 ---------- */
@media print {
  header, footer, .banner, .loca-w { display: none !important; }
  .show-cons, .pro-main, .news-list { box-shadow: none; border: 0; }
}
