/*
Theme Name: HEROCHU 恒储机械
Theme URI: https://www.herochu.cn/
Author: HEROCHU
Description: 恒储机械企业官网主题
Version: 2.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2
Text Domain: herochu
*/

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Skip-to-content link */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #fff; padding: 12px 24px;
  z-index: 10000; border-radius: var(--radius); font-weight: 600;
  font-size: var(--text-sm); text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }


/* ===== Fonts ===== */
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dmsans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dmsans-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg-primary:   #ffffff;
  --bg-secondary: #f5f7fa;
  --bg-card:      #ffffff;
  --bg-card-hover:#f8faff;
  --accent:       #1a6dff;
  --accent-strong:#1554cc;
  --accent-soft:  #f0f4ff;
  --accent-glow:  rgba(26, 109, 255, .08);
  --ink-strong:   #0a1628;
  --text-primary: #0a1628;
  --text-secondary:#5a6a7e;
  --text-tertiary:#66768c;
  --border:       #eaecf0;
  --overlay-soft: rgba(10,22,40,.45);
  --overlay-base: rgba(10,22,40,.82);
  --overlay-strong: rgba(10,22,40,.88);
  --surface-inverse: #ffffff;
  --radius:       4px;
  --space-2xs:    0.5rem;
  --space-xs:     0.75rem;
  --space-sm:     1rem;
  --space-md:     1.5rem;
  --space-lg:     2rem;
  --space-xl:     3rem;
  --space-2xl:    4rem;
  --section-gap:  clamp(5.5rem, 8vw, 7.5rem);
  --section-header-gap: clamp(2.75rem, 4vw, 4.5rem);
  --text-xs:      0.8125rem;
  --text-sm:      0.9375rem;
  --text-base:    1rem;
  --text-lg:      1.125rem;
  --text-xl:      1.25rem;
  --text-ui-min:  0.8125rem;
  --leading-tight: 1.2;
  --leading-copy: 1.8;
  --measure-copy: 62ch;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.04);
  --shadow-md:    0 4px 20px rgba(0,0,0,.06);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.1);
  --transition:   .35s cubic-bezier(.22,1,.36,1);
  --font-cn:      'DM Sans','Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;
  --font-en:      'DM Sans',sans-serif;
  /* Legacy aliases kept while templates still reference old names. */
  --accent2:      var(--accent-strong);
  --accent-light: var(--accent-soft);
}

html { scroll-behavior: smooth; font-size: 16px; touch-action: manipulation; }
body {
  font-family: var(--font-cn);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--leading-copy);
  overflow-x: hidden;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom);
}
/* Touch-friendly: bigger tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
  .nav-links > li > a { min-height: 44px; display: flex; align-items: center; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .hero-arrow { min-width: 44px; min-height: 44px; }
  .series-nav-item { min-height: 44px; display: flex; align-items: center; }
  .tab-primary-item { min-height: 44px; display: flex; align-items: center; }
  .btn { min-height: 44px; }
  .dot { width: 16px; height: 16px; }
  .footer-links a { padding: 6px 0; display: block; min-height: 36px; line-height: 36px; }
}
/* 英文数字专用字族 */
.hero-title, .section-tag, .st-num, .st-unit, .ms-num, .ms-unit,
.hero-desc, .footer-en, .btn, .news-tag, .news-date, .pc-link, .sc-link, .news-link {
  font-family: var(--font-en);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== Safari 兼容修复 ===== */
/* Safari border-radius + overflow:hidden 裁剪失效：子元素 transform 时会溢出圆角 */
.product-card--home, .product-card, .product-card-inner, .product-card-img,
.grid-expanded .product-card, .grid-expanded .product-card .product-card-inner,
body.page-news .news-card-img, body.page-news .news-featured,
body.single-herochu_product .related-card, body.single-herochu_product .related-card-img,
body.single-herochu_product .feature-icon, body.page-about .honor-slide,
body.page-services .oem-img-item, body.page-about .factory-item {
  isolation: isolate;
}
/* iOS 平滑滚动 */
.service-subnav ul, .series-nav {
  -webkit-overflow-scrolling: touch;
}

.container { max-width: 1360px; margin: 0 auto; padding: 0 40px; }

/* ========== Navbar ========== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 12px 0;
  background: transparent !important;
  transition: all .35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 6px 0;
}
.navbar.scrolled::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, #f4f6f9 0%, #ebeff4 35%, #f0f3f7 70%, #f8f9fb 100%);
}
.navbar.scrolled::after {
  content: ''; position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(26,109,255,0.05), transparent 70%);
  top: -280px; right: -80px; border-radius: 50%;
  pointer-events: none; z-index: -1;
}
.nav-container {
  max-width: 1360px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; display: block; transition: height var(--transition); }
.navbar.scrolled .logo-img { height: 36px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--text-primary); }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  font-size: .88rem; color: rgba(255,255,255,.88);
  padding: 10px 18px; border-radius: var(--radius);
  transition: all var(--transition);
  font-weight: 500;
  position: relative;
}
.navbar.scrolled .nav-links > li > a { color: var(--text-primary); }
.nav-links > li > a .arrow { font-size: .55rem; transition: transform var(--transition); opacity: .6; }
.nav-links > li > a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
  transition: all var(--transition); transform: translateX(-50%);
}
.nav-links > li:hover > a { color: var(--accent); }
.nav-links > li:hover > a::after { width: 24px; }
.nav-links > li:hover > a .arrow { transform: rotate(180deg); opacity: 1; }
.nav-links > li > a.active { color: var(--accent); font-weight: 700; }
.nav-links > li > a.active::after { width: 24px; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(0,0,0,0.06);
  border-radius: 12px; padding: 8px 0; min-width: 170px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06); z-index: 1001;
}
.nav-links > li:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown li { list-style: none; }
.dropdown li a {
  display: block; padding: 10px 24px; font-size: .82rem;
  color: var(--text-secondary); transition: all var(--transition);
}
.dropdown li a:hover { color: var(--accent); background: var(--accent-light); }

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; height: 100dvh;
    flex-direction: column; background: rgba(255,255,255,.98);
    padding: 80px 24px; gap: 4px;
    padding-top: max(80px, calc(env(safe-area-inset-top) + 20px));
    padding-bottom: env(safe-area-inset-bottom);
    transition: right .4s ease; z-index: 999; align-items: stretch;
    box-shadow: -4px 0 24px rgba(10,22,40,.08);
  }
  .nav-links.open { right: 0; }
  .nav-links > li > a { padding: 14px 16px; }
  .nav-links > li > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 16px;
    display: none;
  }
  .nav-links > li.open .dropdown { display: block; }
  /* Mobile nav backdrop */
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,22,40,.45);
    z-index: 998; opacity: 0; pointer-events: none;
    transition: opacity .35s ease;
  }
  .nav-backdrop.show { opacity: 1; pointer-events: all; }
}

/* ========== 1. Hero / Banner轮播 ========== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.6) 0%, var(--overlay-base) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100dvh;
  padding: 0 clamp(24px, 5vw, 60px);
}
.hero-title {
  font-family: 'DM Sans', 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
  opacity: 0; animation: fadeUp .8s .3s cubic-bezier(.22,1,.36,1) forwards;
  letter-spacing: -.02em;
  max-width: 900px;
}
.hero-desc {
  font-family: 'DM Sans', 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: 1.125rem; color: rgba(255,255,255,.84);
  max-width: 560px; margin: 0 auto 44px;
  line-height: 1.75; letter-spacing: .01em;
  opacity: 0; animation: fadeUp .8s .6s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s .9s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; border-radius: var(--radius); font-size: .9rem; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-100%);
  transition: transform .4s ease;
}
.btn:hover::after { transform: translateX(0); }
.btn-primary {
  background: var(--surface-inverse); color: var(--accent-strong);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,22,40,.18); }
.btn-outline { border: 2px solid rgba(255,255,255,.56); color: var(--surface-inverse); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #ffffff; transform: translateY(-3px); }
.btn-full { width: 100%; }

/* Dots */
.hero-dots {
  position: absolute; bottom: 80px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px; z-index: 2;
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: #ffffff; box-shadow: 0 0 16px rgba(255,255,255,.4); transform: scale(1.2); }
.dot:hover { background: rgba(255,255,255,.5); }

/* Arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); font-size: 1.6rem; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.hero-arrow:hover { background: rgba(255,255,255,.18); color: #ffffff; border-color: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.1); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }
@media (max-width: 768px) {
  .hero-arrow { display: none; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 32px; left: 0; right: 0;
  z-index: 1; text-align: center; color: rgba(255,255,255,.8); font-size: var(--text-ui-min);
  letter-spacing: 3px; text-transform: uppercase; animation: fadeUp .8s 1.2s forwards; opacity: 0;
}
.scroll-arrow {
  width: 18px; height: 18px; margin: 8px auto 0;
  border-right: 2px solid rgba(255,255,255,.8);
  border-bottom: 2px solid rgba(255,255,255,.8);
  transform: rotate(45deg); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: .3; }
  50% { transform: rotate(45deg) translate(5px,5px); opacity: .8; }
}

/* ========== Page-level token modifiers — single source of truth ========== */
/* Pages that suppress the eyebrow section-tag (they use their own sub-nav) */
body.page-about .section-tag,
body.page-services .section-tag { display: none; }

/* Pages that suppress the section-title blue underline */
body.page-about .section-title::after,
body.page-services .section-title::after,
body.page-news .section-title::after { display: none; }

body.page-about .section-divider,
body.page-services .section-divider { display: none; }

/* Detail-single: clean section-tag for product/news post headers */
body.single-herochu_product .section-tag,
body.single-herochu_news .section-tag {
  background: none; padding: 0; border-radius: 0;
}
body.single-herochu_product .section-title::after,
body.single-herochu_news .section-title::after { display: none; }

/* ========== Sections通用 ========== */
.section { padding: var(--section-gap) 0; position: relative; }
.section-alt { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto var(--section-header-gap);
}
.section-tag {
  display: inline-block; font-size: var(--text-ui-min); letter-spacing: 5px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border-radius: 20px;
  padding: 5px 18px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px;
  color: var(--text-primary);
  position: relative; display: inline-block; line-height: 1.18; text-wrap: balance;
}
.section-title::after {
  content: ''; display: block; width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px; margin: 16px auto 0;
}
.section-sub {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-copy);
  max-width: var(--measure-copy);
  margin: 0 auto;
  text-wrap: pretty;
}

/* ========== 2. 公司介绍 ========== */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 88px; align-items: center;
  margin-bottom: 84px;
}
.about-text p {
  color: var(--text-secondary); margin-bottom: var(--space-sm); font-size: var(--text-base); line-height: 1.85; max-width: var(--measure-copy);
}
.about-highlights { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.highlight {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-card); border-radius: var(--radius); padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  min-height: 100%;
}
.highlight:hover { transform: translateX(8px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.highlight-icon { font-size: 1.8rem; flex-shrink: 0; }
.highlight strong { display: block; font-size: var(--text-base); margin-bottom: 4px; line-height: 1.4; }
.highlight span { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.7; }

/* 右侧工厂图片 */
.about-visual { display: flex; align-items: center; justify-content: center; }
.about-photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-photo img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4/3; object-fit: cover;
  transition: transform .6s ease;
}
.about-photo:hover img { transform: scale(1.05); }
.about-photo::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid rgba(26,109,255,.15);
  border-radius: var(--radius);
  pointer-events: none;
}

/* 底部数据卡片 */
.about-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 24px; text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transition: transform .5s ease;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.st-icon { font-size: 2.5rem; margin-bottom: 16px; }
.st-num {
  font-size: 3rem; font-weight: 800; color: var(--accent);
  display: inline; font-variant-numeric: tabular-nums;
}
.st-unit { font-size: 1rem; color: var(--accent); font-weight: 600; }
.stat-card > p { font-size: var(--text-sm); color: var(--text-secondary); margin-top: 8px; line-height: 1.7; }

/* ========== 3. 产品介绍 ========== */
.product-vertical-title { text-align: center; }
.pvt-cn {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px;
  color: var(--text-primary); position: relative; display: inline-block;
}
.pvt-cn::after {
  content: ''; display: block; width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px; margin: 16px auto 0;
}
.product-slogan {
  margin-top: 18px;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: .02em;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.products-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  align-items: stretch;
}
.product-card--home {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 380px; cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}
.product-card--home:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(10,22,40,.12);
}
.pc-img {
  width: 100%; height: 260px;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.product-card--home:hover .pc-img img { transform: scale(1.06); }
.pc-link-wrap {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.pc-link-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.pc-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  background: var(--bg-card);
  font-size: .95rem; font-weight: 700; color: var(--text-primary);
  text-align: center;
  border-top: 1px solid var(--border);
  transition: opacity .3s ease;
  z-index: 2;
}
.product-card--home:hover .pc-name { opacity: 0; }
.pc-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, var(--overlay-strong));
  padding: 64px 20px 24px;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 3;
}
.product-card--home:hover .pc-overlay { transform: translateY(0); }
.pc-overlay h3 {
  font-size: 1.1rem; color: #ffffff; margin-bottom: 8px; font-weight: 700;
  transform: translateY(10px); opacity: 0;
  transition: all .4s ease .05s;
}
.product-card--home:hover .pc-overlay h3 { transform: translateY(0); opacity: 1; }
.pc-overlay p {
  font-size: var(--text-sm); color: rgba(255,255,255,.86); line-height: 1.78; margin-bottom: 12px;
  transform: translateY(10px); opacity: 0;
  transition: all .4s ease .1s;
}
.product-card--home:hover .pc-overlay p { transform: translateY(0); opacity: 1; }
.pc-link {
  font-size: var(--text-ui-min); color: var(--accent); font-weight: 600;
  opacity: 0; transition: all .4s ease .15s;
  display: inline-block;
}
.product-card--home:hover .pc-link { opacity: 1; }
.pc-link:hover { text-decoration: underline; padding-left: 4px; }

/* ========== 4. 市场布局 ========== */
.market-wrapper {
  position: relative;
  border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.market-bg {
  width: 100%;
}
.market-bg img {
  width: 100%; height: auto; display: block;
  object-fit: cover;
}
.market-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin-top: -64px;
  padding: 0 28px 20px;
  position: relative; z-index: 2;
}
.market-stat-card {
  background: rgba(255,255,255,.92);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,.72);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  cursor: default;
}
.market-stat-card:hover {
  background: rgba(255,255,255,.98);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10,22,40,.1);
}
.ms-icon { font-size: 1.6rem; margin-bottom: 8px; }
.ms-num {
  font-size: 2.4rem; font-weight: 800; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.ms-unit { font-size: .88rem; color: var(--accent); font-weight: 600; margin-bottom: 2px; }
.market-stat-card > p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.65; }

/* ========== 5. 解决方案 — 手风琴挤压 ========== */
.solutions-accordion {
  display: flex;
  gap: 8px;
  height: 420px;
  width: 100%;
}
/* 手风琴整体入场动画（整块淡入，不干预子项 flexGrow） */
@media (prefers-reduced-motion: no-preference) {
  .solutions-accordion.reveal-ready {
    opacity: 0; transform: translateY(32px);
    transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
  }
  .solutions-accordion.reveal-ready.visible {
    opacity: 1; transform: translateY(0);
  }
}
.solution-accordion-item {
  flex: 1 1 0%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transform: translateZ(0);
}
.solution-accordion-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
/* 用伪元素遮罩替代 filter，性能好 10 倍 */
.solution-accordion-item::after {
  content: '';
  position: absolute; inset: 0; z-index: 3;
  background: rgba(10,22,40,0);
  pointer-events: none;
  transition: background .4s ease;
}
.solutions-accordion.is-hovering .solution-accordion-item:not(.is-active)::after {
  background: var(--overlay-soft);
}

.sai-link-wrap { position: absolute; inset: 0; z-index: 1; display: block; cursor: pointer; }
.sai-link-wrap:focus-visible {
  outline: 2px solid rgba(255,255,255,.95);
  outline-offset: -3px;
}
.sai-link-wrap .sai-img { position: absolute; inset: 0; }
.sai-img { position: absolute; inset: 0; }
.sai-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.33,1,.68,1);
}
.solution-accordion-item.is-active .sai-img img {
  transform: scale(1.05);
}

.sai-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(transparent 10%, var(--overlay-strong) 70%);
  padding: 80px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
}

/* 序号 */
.sai-num {
  font-family: var(--font-en);
  font-size: var(--text-ui-min); font-weight: 700; color: var(--accent);
  letter-spacing: 2px; margin-bottom: 6px;
  opacity: 0; transform: translateY(8px);
  transition: all .35s ease .04s;
}
.solution-accordion-item.is-active .sai-num {
  opacity: 1; transform: translateY(0);
}

/* 标题 — 始终横排，hover 收缩时减淡 */
.sai-overlay h3,
.sai-num,
.sai-overlay p,
.sai-link {
  pointer-events: auto;
}
.sai-overlay h3 {
  color: #fff; font-size: .95rem; font-weight: 700;
  line-height: 1.3;
  transform: translateY(0) scale(1);
  transform-origin: left bottom;
  transition: opacity .3s ease, transform .35s ease;
  white-space: nowrap;
}
.solutions-accordion.is-hovering .solution-accordion-item:not(.is-active) .sai-overlay h3 {
  opacity: .55;
  transform: translateY(1px) scale(.92);
}

/* 描述 & 链接 — 收缩时高度为0不占空间，保证标题横向对齐 */
.sai-overlay p,
.sai-link {
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s cubic-bezier(.33,1,.68,1), transform .5s cubic-bezier(.33,1,.68,1);
  height: 0;
  overflow: hidden;
  margin: 0 !important;
}
.sai-overlay p {
  font-size: var(--text-sm); color: rgba(255,255,255,.86);
  line-height: 1.8;
  max-width: 320px;
}
.sai-link {
  display: inline-block;
  font-size: var(--text-ui-min); color: var(--accent); font-weight: 600;
}
.sai-link:hover { text-decoration: underline; padding-left: 4px; }

.solution-accordion-item.is-active .sai-overlay p {
  opacity: 1; transform: translateY(0);
  height: auto;
  margin: 10px 0 12px !important;
  transition-delay: .12s;
}
.solution-accordion-item.is-active .sai-link {
  opacity: 1; transform: translateY(0);
  height: auto;
  transition-delay: .18s;
}

/* ========== 6. 合作伙伴 ========== */
.partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}
.partners-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary), transparent);
}
.section-alt .partners-marquee::before {
  background: linear-gradient(90deg, var(--bg-secondary), transparent);
}
.section-alt .partners-marquee::after {
  background: linear-gradient(-90deg, var(--bg-secondary), transparent);
}
.partners-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-card {
  flex-shrink: 0;
  width: 200px; height: 120px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.partner-card:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(10,22,40,.1);
  z-index: 1;
}
.partner-card img {
  max-height: 70px; max-width: 100%;
  object-fit: contain;
  transition: all var(--transition);
  opacity: .8;
}
.partner-card:hover img { opacity: 1; }

/* ========== 7. 新闻资讯 ========== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
}
.news-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transition: transform var(--transition);
}
.news-card:hover::after { transform: scaleX(1); }
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,109,255,.24);
  box-shadow: 0 10px 28px rgba(10,22,40,.1);
}
.news-tag {
  display: inline-block; font-size: var(--text-ui-min); font-weight: 600;
  color: var(--accent); background: var(--accent-light);
  border-radius: var(--radius); padding: 3px 12px; margin-bottom: 14px;
}
.news-card h3 { font-size: var(--text-lg); margin-bottom: 10px; line-height: 1.45; font-weight: 700; text-wrap: balance; }
.news-date { font-size: var(--text-xs); color: var(--text-secondary); margin-bottom: 14px; }
.news-card > p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.75; margin-bottom: 18px; }
.news-link { font-size: var(--text-ui-min); color: var(--accent); font-weight: 600; transition: all var(--transition); margin-top: auto; }
.news-link:hover { text-decoration: underline; padding-left: 4px; }

/* ========== Contact ========== */
.contact-grid { display: flex; flex-direction: column; gap: 56px; }
.contact-info { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0; }
.ci-item {
  display: flex; gap: 12px; margin-bottom: 0;
  align-items: flex-start;
  flex: 1 1 0; min-width: 0;
  padding: 16px; border-radius: var(--radius);
  transition: all var(--transition);
}
.ci-item:hover { background: var(--accent-light); }
.ci-icon { font-size: 1.5rem; margin-top: 2px; flex-shrink: 0; }
.ci-item h4 { font-size: var(--text-base); margin-bottom: 6px; color: var(--accent); line-height: 1.4; }
.ci-item p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.75; }
.ci-item a {
  color: var(--text-primary);
  font-weight: 600;
  transition: color var(--transition);
}
.ci-item p,
.ci-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ci-item a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  width: 100%;
}
.contact-form:hover { box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -.01em; line-height: 1.25; text-wrap: balance; }
.contact-form-benefit { font-size: .82rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.form-submit-row { text-align: center; }
.form-assurance { font-size: .72rem; color: var(--text-tertiary); margin-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 18px; margin-bottom: 16px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary); font-size: var(--text-base);
  transition: all var(--transition);
  font-family: inherit; line-height: 1.7;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-tertiary);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* 表单反馈 — 全局复用 */
.contact-feedback {
  margin-bottom: 20px; padding: 14px 16px; border-radius: 4px;
  font-size: .9375rem; line-height: 1.7; border: 1px solid transparent;
}
.contact-feedback.is-success {
  background: #eef8f1; color: #135c2b; border-color: #b7e1c1;
}
.contact-feedback.is-error {
  background: #fff1f1; color: #8a1f1f; border-color: #f2c1c1;
}

/* ========== Footer ========== */
.footer {
  background: var(--ink-strong); border-top: none;
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-logo-img { height: 38px; width: auto; margin-bottom: 12px; }
.footer-en { font-size: var(--text-ui-min); color: rgba(255,255,255,.78); margin-bottom: 16px; }
.footer-desc { font-size: var(--text-base); color: rgba(255,255,255,.82); line-height: 1.85; max-width: 36ch; }
.footer-links h4 { font-size: .9rem; margin-bottom: 18px; color: #ffffff; position: relative; padding-bottom: 12px; }
.footer-links h4::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 24px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.footer-links a {
  display: block; font-size: .9375rem; color: rgba(255,255,255,.82);
  margin-bottom: 10px; transition: all var(--transition);
}
.footer-links a:hover { color: #ffffff; padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px;
  text-align: center; font-size: .875rem; color: rgba(255,255,255,.76);
}
.footer-icp { margin-top: 8px; font-size: .8125rem; color: rgba(255,255,255,.5); }
.footer-icp a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-icp a:hover { color: rgba(255,255,255,.76); }

/* ========== Animations on scroll ========== */
/* Default: content is always visible. Animation bootstraps only when JS runs. */

@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal-ready {
    opacity: 0; transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
  }
  .reveal.reveal-ready.visible { opacity: 1; transform: translateY(0); }
  .reveal.reveal-ready:nth-child(2) { transition-delay: .1s; }
  .reveal.reveal-ready:nth-child(3) { transition-delay: .2s; }
  .reveal.reveal-ready:nth-child(4) { transition-delay: .3s; }
  .reveal.reveal-ready:nth-child(5) { transition-delay: .35s; }
  .reveal.reveal-ready:nth-child(6) { transition-delay: .4s; }
  .reveal.reveal-ready:nth-child(7) { transition-delay: .45s; }
  .reveal.reveal-ready:nth-child(8) { transition-delay: .5s; }

  /* ===== 通用滚动渐入 ===== */
  .reveal-in.reveal-ready {
    opacity: 0; transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  }
  .reveal-in.reveal-ready.visible { opacity: 1; transform: translateY(0); }
}

/* Accessibility: skip all reveal animations */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-in {
    opacity: 1; transform: none; transition: none;
  }
}

/* ========== Page transition ========== */
.page-transition-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10,22,40,.85); z-index: 99999;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.page-transition-overlay.active {
  opacity: 1; pointer-events: all;
}

/* ========== Back to top ========== */
.back-to-top {
  position: fixed; bottom: 40px; right: 40px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(26,109,255,.3);
  z-index: 999; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(26,109,255,.4); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-accordion { height: 360px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .market-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-card--home { height: 340px; }
  .pc-img { height: 230px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-highlights { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card--home { height: 280px; }
  .pc-img { height: 190px; }
  .pc-overlay { padding: 40px 14px 16px; }
  .solutions-accordion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    gap: 12px;
  }
  .solution-accordion-item {
    height: 200px;
    flex: none !important;
    filter: none !important;
  }
  .solutions-accordion.is-hovering .solution-accordion-item { flex: none !important; filter: none !important; }
  .solutions-accordion.is-hovering .solution-accordion-item.is-active { flex: none !important; }
  .sai-overlay h3 { writing-mode: horizontal-tb !important; font-size: .95rem !important; }
  .sai-overlay p, .sai-link { opacity: 1 !important; transform: none !important; height: auto !important; margin: 10px 0 12px !important; }
  .sai-num { opacity: 1 !important; transform: none !important; }
  .sai-overlay { padding: 60px 16px 16px !important; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .contact-info { gap: 16px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .product-slogan::before, .product-slogan::after { display: none; }
  .market-wrapper { border-radius: var(--radius); }
  .market-stats { grid-template-columns: 1fr; position: static; transform: none; margin-top: 0; padding: 20px 16px 0; }
  .market-stat-card { border-top: none; border-left: 3px solid var(--accent); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .back-to-top { bottom: 24px; right: 24px; width: 42px; height: 42px; font-size: 1rem; }
  .partner-card { width: 160px; height: 100px; }
  .partners-track { gap: 16px; }
}

/* ========== Homepage polish (merged from index.php inline) ========== */
body.home .btn-primary:hover,
body.home .btn-outline:hover { transform: translateY(-2px); }

body.home .highlight {
  box-shadow: 0 1px 8px rgba(0,0,0,.02); border-color: transparent; border-radius: 4px;
}
body.home .highlight:hover {
  transform: translateX(4px); border-color: var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
body.home .highlight-icon img { display: block; width: 1.8rem; height: 1.8rem; object-fit: contain; }

body.home .stat-card,
body.home .market-stat-card {
  border-radius: 4px; border-color: transparent;
  box-shadow: 0 1px 6px rgba(0,0,0,.03);
}
body.home .st-icon img { display: block; width: 2.5rem; height: 2.5rem; object-fit: contain; margin: 0 auto; }
body.home .ms-icon img { display: block; width: 1.6rem; height: 1.6rem; object-fit: contain; margin: 0 auto 8px; }
body.home .ci-icon img { display: block; width: 1.5rem; height: 1.5rem; object-fit: contain; }
body.home .stat-card:hover,
body.home .market-stat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
body.home .stat-card:hover { transform: translateY(-2px); }
body.home .market-stat-card:hover { transform: translateY(-2px); }

body.home .pc-overlay { background: linear-gradient(180deg, transparent 30%, var(--overlay-strong) 100%); }

body.home .news-card {
  border-radius: 4px; border: 1px solid transparent;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.02);
  transition: all .4s cubic-bezier(.22,1,.36,1);
}
body.home .news-card:hover {
  border-color: var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.04); transform: none;
}
body.home .news-card .news-tag { border-radius: 3px; font-size: var(--text-ui-min); padding: 2px 8px; }
body.home .news-card h3 { font-size: .95rem; font-weight: 600; line-height: 1.6; }

body.home .solution-accordion-item { border-radius: 4px; }
body.home .sai-overlay { border-radius: 4px; }

body.home .contact-grid {
  display: flex !important; flex-direction: column; gap: 56px; align-items: center;
}
body.home .contact-info {
  display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0; width: 100%;
}
body.home .ci-item {
  flex: 1 1 0; min-width: 0; max-width: none;
  padding: 20px 28px; text-align: left;
  border: none; border-radius: 0; background: none; box-shadow: none; margin: 0;
}
body.home .ci-item + .ci-item { border-left: 1px solid var(--border); }
body.home .ci-item:hover { background: var(--accent-soft); }
body.home .ci-item .ci-icon { font-size: 1.3rem; margin-bottom: 8px; display: block; }
body.home .ci-item h4 { font-size: .88rem; font-weight: 600; margin-bottom: 4px; color: var(--accent); }
body.home .ci-item p { font-size: .9rem; line-height: 1.7; color: var(--text-secondary); }
body.home .ci-item p,
body.home .ci-item a { overflow-wrap: anywhere; word-break: break-word; }
body.home .ci-item a { color: var(--text-primary); text-decoration: none; }
body.home .contact-form {
  background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; width: 100%;
}
body.home .contact-form h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
body.home .contact-form input,
body.home .contact-form textarea {
  padding: 14px 0; border: none; border-bottom: 1px solid var(--border);
  border-radius: 0; font-size: 1rem; background: transparent; width: 100%;
  transition: all var(--transition);
}
body.home .contact-form input:focus,
body.home .contact-form textarea:focus {
  outline: none; border-bottom-color: var(--accent);
  border-bottom-width: 2px; box-shadow: none;
}
body.home .contact-form textarea {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 16px; min-height: 100px;
}
body.home .contact-form textarea:focus {
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
body.home .contact-form .btn { background: var(--text-primary); color: #fff; border: none; width: 100%; }
body.home .contact-form .btn:hover { background: var(--accent); }

body.home .partner-card {
  border: 1px solid transparent; border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0,0,0,.03); transition: all .3s ease;
}
body.home .partner-card:hover { border-color: var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.05); }

@media (max-width: 1024px) {
  body.home .contact-info { flex-direction: column; align-items: center; }
  body.home .ci-item { max-width: 100%; min-width: 0; width: 100%; }
  body.home .ci-item + .ci-item { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 768px) {
  body.home .section { padding: 56px 0; }
  body.home .about-grid { gap: 40px; margin-bottom: 48px; }
  body.home .contact-grid { gap: 32px; }
}

/* ========== page-contact.php ========== */
/* 对齐首页联系我们：三卡片 + 表单 */
body.page-contact .contact-main-grid { max-width: 1360px; margin: 0 auto; }
body.page-contact .contact-form .btn { background: var(--text-primary); color: #fff; border: none; width: 100%; }
body.page-contact .contact-form .btn:hover { background: var(--accent); }
@media (max-width: 768px) {
  body.page-contact .contact-banner { height: 60vh; height: 60dvh; min-height: 400px; }
  body.page-contact .contact-info { flex-direction: column; }
  body.page-contact .ci-item + .ci-item { border-left: none; border-top: 1px solid rgba(0,0,0,0.06); }
  body.page-contact .section { padding: 60px 0; }
}

/* ========== page-news.php ========== */
/* ===== Layout overrides ===== */
body.page-news .section { padding: 80px 0; }
body.page-news .section-alt { background: var(--bg-secondary); }
body.page-news .container { max-width: 1360px; margin: 0 auto; padding: 0 2rem; }
body.page-news .section-header { text-align: center; margin-bottom: 56px; }
body.page-news .section-tag { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; background: none; padding: 0; border-radius: 0; }
body.page-news .section-title { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
body.page-news .section-title::after { display: none; }
body.page-news .section-title span { color: var(--accent); }
body.page-news .section-sub { font-size: 1rem; color: var(--text-secondary); max-width: 60ch; margin: 0 auto; line-height: 1.8; }
body.page-news .section-divider { width: 48px; height: 3px; background: var(--accent); margin: 1rem auto 0; border-radius: 2px; }
/* ===== Banner ===== */
body.page-news .news-banner { position: relative; height: 75vh; height: 75dvh; min-height: 520px; background: var(--ink-strong); overflow: hidden; display: flex; align-items: center; }
body.page-news .news-banner-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
body.page-news .news-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.72) 45%, rgba(10,22,40,.3) 100%); }
body.page-news .news-banner-content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 2rem; }
body.page-news .news-banner-tag { display: none; }
body.page-news .news-banner-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 1rem; }
body.page-news .news-banner-title span { color: inherit !important; }
body.page-news .news-banner-desc { font-size: 1rem; color: rgba(255,255,255,0.88); max-width: 58ch; line-height: 1.85; }
/* ===== 分类标签 ===== */
body.page-news .news-tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 56px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
body.page-news .news-tab { padding: 12px 28px; font-size: .88rem; font-weight: 500; color: var(--text-secondary); background: none; border: none; cursor: pointer; transition: all var(--transition); font-family: var(--font-cn); position: relative; border-bottom: 2px solid transparent; margin-bottom: -1px; }
body.page-news .news-tab:hover { color: var(--text-primary); }
body.page-news .news-tab.active { color: var(--text-primary); font-weight: 700; border-bottom-color: var(--accent); }
/* ===== 新闻网格 ===== */
body.page-news .news-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
body.page-news .news-featured { grid-column: 1 / 3; grid-row: 1 / 3; display: grid; grid-template-rows: 1fr auto; border-radius: 4px; overflow: hidden; background: var(--bg-card); cursor: pointer; transition: all .45s cubic-bezier(.22,1,.36,1); border: 1px solid transparent; }
body.page-news .news-featured:hover { border-color: var(--border); box-shadow: 0 2px 20px rgba(0,0,0,.04); }
body.page-news .news-featured .news-card-img { position: relative; overflow: hidden; min-height: 360px; }
body.page-news .news-featured .news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
body.page-news .news-featured:hover .news-card-img img { transform: scale(1.03); }
body.page-news .news-featured .news-card-body { padding: 28px 32px 32px; }
body.page-news .news-featured .news-card-title { font-size: 1.25rem; font-weight: 700; line-height: 1.45; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--transition); }
body.page-news .news-featured:hover .news-card-title { color: var(--accent); }
body.page-news .news-featured .news-card-excerpt { font-size: .95rem; color: var(--text-secondary); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.page-news .news-card { display: flex; flex-direction: column; background: var(--bg-card); cursor: pointer; transition: all .4s cubic-bezier(.22,1,.36,1); border-radius: 4px; border: 1px solid transparent; border-bottom: 1px solid var(--border); }
body.page-news .news-card:hover { border-color: var(--border); box-shadow: 0 2px 16px rgba(0,0,0,.03); }
body.page-news .news-card:last-of-type { border-bottom-color: transparent; }
body.page-news .news-card-img { height: 200px; overflow: hidden; position: relative; border-radius: 4px 4px 0 0; }
body.page-news .news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
body.page-news .news-card:hover .news-card-img img { transform: scale(1.04); }
body.page-news .news-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
body.page-news .news-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
body.page-news .news-card-tag { display: inline-block; padding: 1px 8px; font-size: 0.8125rem; font-weight: 600; border-radius: 3px; letter-spacing: .04em; }
body.page-news .tag-company { background: #e0f2fe; color: #0284c7; }
body.page-news .tag-industry { background: #f0fdf4; color: #16a34a; }
body.page-news .tag-knowledge { background: #faf5ff; color: #9333ea; }
body.page-news .tag-video { background: #fef2f2; color: #dc2626; }
body.page-news .news-card-date { font-size: 0.8125rem; color: var(--text-secondary); }
body.page-news .news-card-title { font-size: 1rem; font-weight: 600; line-height: 1.55; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--transition); }
body.page-news .news-card:hover .news-card-title,
body.page-news .news-featured:hover .news-card-title { color: var(--accent); }
body.page-news .news-card-excerpt { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
/* 视频播放按钮 */
body.page-news .news-card-img .video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.2); opacity: 0; transition: opacity var(--transition); }
body.page-news .news-card:hover .video-play,
body.page-news .news-featured:hover .video-play { opacity: 1; }
body.page-news .video-play-icon { width: 48px; height: 48px; background: rgba(255,255,255,.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
body.page-news .video-play-icon::after { content: ''; display: block; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid var(--accent); margin-left: 2px; }
/* ===== 分页 ===== */
body.page-news .news-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 64px; }
body.page-news .page-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4px; font-size: .85rem; font-weight: 500; color: var(--text-secondary); background: none; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
body.page-news .page-btn:hover { color: var(--text-primary); }
body.page-news .page-btn.active { color: #fff; background: var(--accent); }
body.page-news .page-btn-arrow { font-size: .65rem; }
body.page-news .page-btn-arrow:hover { color: var(--accent); }
/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  body.page-news .news-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  body.page-news .news-banner { height: 60vh; height: 60dvh; min-height: 400px; }
  body.page-news .news-grid { grid-template-columns: 1fr; gap: 20px; }
  body.page-news .news-tabs { flex-wrap: wrap; border-bottom: none; gap: 6px; }
  body.page-news .news-tab { padding: 8px 16px; font-size: .82rem; border-bottom: none; margin-bottom: 0; }
  body.page-news .news-tab.active { background: var(--accent); color: #fff; border-radius: 4px; }
  body.page-news .section { padding: 60px 0; }
}

/* ========== page-services.php ========== */
/* ===== Layout overrides ===== */
body.page-services .section { padding: 80px 0; }
body.page-services .section-alt { background: var(--bg-secondary); }
body.page-services .container { max-width: 1360px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); }
body.page-services .section-header { text-align: center; margin-bottom: 56px; }
body.page-services .section-title { display: block; font-family: var(--font-cn); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; letter-spacing: -.01em; }
body.page-services .section-title span { color: inherit; }
body.page-services .section-sub { font-size: 1rem; color: var(--text-secondary); max-width: 60ch; margin: 0 auto; line-height: 1.8; }

/* ===== Banner ===== */
body.page-services .service-banner {
  position: relative; height: 75vh; height: 75dvh; min-height: 520px;
  background: var(--ink-strong);
  overflow: hidden;
  display: flex; align-items: center;
}
body.page-services .service-banner-bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
}
body.page-services .service-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.72) 45%, rgba(10,22,40,.3) 100%);
}
body.page-services .service-banner-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
body.page-services .service-banner-left { padding-bottom: 60px; }
body.page-services .service-banner-tag { display: none; }
body.page-services .service-banner-title {
  font-family: var(--font-cn);
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; color: #fff;
  line-height: 1.12; margin-bottom: 1rem; letter-spacing: -.02em;
}
body.page-services .service-banner-title span { color: inherit !important; }
body.page-services .service-banner-desc { font-size: 1rem; color: rgba(255,255,255,.86); max-width: 58ch; line-height: 1.85; }

/* 服务承诺徽标 */
body.page-services .service-pledge-badge {
  position: absolute; top: 24px; right: 24px; z-index: 3;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 10px 18px;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.page-services .service-pledge-badge .pledge-num {
  font-family: var(--font-en); font-size: 1.4rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
body.page-services .service-pledge-badge .pledge-text {
  font-size: .72rem; color: rgba(255,255,255,.78);
  line-height: 1.3; letter-spacing: .04em;
}

/* Sub-nav */
body.page-services .service-subnav {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--overlay-base);
  z-index: 3; width: 100%;
}
body.page-services .service-subnav ul {
  width: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; list-style: none; gap: 0; justify-content: center;
}
body.page-services .service-subnav a {
  display: block; padding: 16px 32px;
  color: rgba(255,255,255,0.84); font-size: 0.9375rem; font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
body.page-services .service-subnav a:hover,
body.page-services .service-subnav li.active a { color: #fff; border-bottom-color: var(--accent); }

/* ===== 客户服务 三列卡片 ===== */
body.page-services #service-customer { background: var(--bg-card); }
body.page-services .service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
body.page-services .service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 36px 40px;
  transition: all 0.45s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
}
body.page-services .service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
}
body.page-services .service-card:hover::before { transform: scaleX(1); }
body.page-services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(26,109,255,.08);
  border-color: rgba(26,109,255,.15);
}
body.page-services .service-card-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 28px;
  transition: all 0.45s cubic-bezier(.22,1,.36,1);
}
body.page-services .service-card:hover .service-card-icon {
  background: var(--accent);
  transform: scale(1.08) rotate(-3deg);
}
body.page-services .service-card-icon img { width: 32px; height: 32px; object-fit: contain; }
body.page-services .service-card-step {
  font-size: 0.8125rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 8px;
}
body.page-services .service-card-title {
  font-size: 1.5rem; font-weight: 700;
  color: var(--ink-strong); margin-bottom: 20px; letter-spacing: 0.02em;
}
body.page-services .service-card-text {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.85;
}

/* 114 服务承诺 */
body.page-services .service-promise {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #f8faff 100%);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}
body.page-services .service-promise-title {
  font-size: 1rem; font-weight: 700;
  color: var(--accent); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
body.page-services .service-promise-items {
  display: flex; flex-direction: column; gap: 8px;
}
body.page-services .promise-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7;
}
body.page-services .promise-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px;
  border-radius: 8px; background: var(--accent);
  color: #fff; font-size: 0.875rem; font-weight: 800; flex-shrink: 0;
}

/* ===== OEM/ODM 定制 ===== */
body.page-services #service-oem { background: var(--bg-card); }
body.page-services .oem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
body.page-services .oem-text .section-tag { text-align: left; display: block; }
body.page-services .oem-text .section-title { text-align: left; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
body.page-services .oem-text .section-divider { margin: 0.75rem 0 1.5rem; }
body.page-services .oem-text p {
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 1.2rem;
}
body.page-services .oem-text p:last-child { margin-bottom: 0; }
body.page-services .oem-steps { margin-top: 8px; display: flex; flex-direction: column; gap: 18px; }
body.page-services .oem-step { display: flex; align-items: flex-start; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); }
body.page-services .oem-step-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: var(--accent);
  flex-shrink: 0; margin-top: 2px;
}
body.page-services .oem-step-content h4 {
  font-size: 1.05rem; font-weight: 700; color: var(--ink-strong);
  margin-bottom: 6px;
}
body.page-services .oem-step-content p {
  font-size: 0.875rem; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 0;
}

/* OEM 右侧图片 */
body.page-services .oem-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 16px;
}
body.page-services .oem-img-item {
  position: relative; overflow: hidden; border-radius: 12px;
  background: var(--bg-secondary); cursor: pointer;
}
body.page-services .oem-img-item:first-child { grid-column: 1/2; grid-row: 1/3; }
body.page-services .oem-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #d0dce8, #b0c4d8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; transition: transform 0.5s ease;
}
body.page-services .oem-img-placeholder .fp-icon { font-size: 2.5rem; opacity: 0.4; }
body.page-services .oem-img-placeholder .fp-text { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
body.page-services .oem-img-item:hover .oem-img-placeholder { transform: scale(1.05); }
body.page-services .oem-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.8) 100%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px;
}
body.page-services .oem-img-item:hover .oem-img-overlay { opacity: 1; }
body.page-services .oem-img-overlay span { color: #fff; font-size: 0.95rem; font-weight: 600; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  body.page-services .service-banner-content { grid-template-columns: 1fr; text-align: center; }
  body.page-services .service-banner-left { padding-bottom: 80px; }
  body.page-services .service-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  body.page-services .service-card { padding: 32px 24px; }
  body.page-services .oem-layout { grid-template-columns: 1fr; gap: 40px; }
  body.page-services .oem-text .section-title { text-align: center; }
  body.page-services .oem-text .section-tag { text-align: center; }
  body.page-services .oem-text .section-divider { margin: 1rem auto 1.5rem; }
  body.page-services .oem-text p { text-align: center; }
  body.page-services .oem-images { grid-template-rows: 200px 200px; }
}
@media (max-width: 768px) {
  body.page-services .service-banner { height: 60vh; height: 60dvh; min-height: 400px; }
  body.page-services .service-subnav ul { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  body.page-services .service-subnav a { padding: 14px 16px; white-space: nowrap; }
  body.page-services .service-cards { grid-template-columns: 1fr; gap: 20px; }
  body.page-services .service-card { padding: 28px 24px; }
  body.page-services .oem-images { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  body.page-services .oem-img-item:first-child { grid-column: span 2; grid-row: span 1; }
  body.page-services .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  body.page-services .oem-images { grid-template-columns: 1fr; grid-template-rows: repeat(3, 200px); }
  body.page-services .oem-img-item:first-child { grid-column: span 1; }
}

/* ========== single-herochu_news.php ========== */
body.single-herochu_news .detail-banner { position: relative; min-height: 55vh; min-height: 55dvh; background: #0a1628; overflow: hidden; display: flex; align-items: flex-end; }
body.single-herochu_news .detail-banner-bg { position: absolute; inset: 0; background: var(--bg-image) center/cover no-repeat; }
body.single-herochu_news .detail-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,.3) 0%, var(--overlay-strong) 70%); }
body.single-herochu_news .detail-banner-content { position: relative; z-index: 2; max-width: 1360px; width: 100%; margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px) 56px; }
body.single-herochu_news .breadcrumb { padding-top: 100px; font-size: .875rem; color: rgba(255,255,255,.82); letter-spacing: .03em; margin-bottom: 20px; }
body.single-herochu_news .breadcrumb a { color: rgba(255,255,255,.88); transition: color .25s; }
body.single-herochu_news .breadcrumb a:hover { color: #fff; }
body.single-herochu_news .breadcrumb .sep { margin: 0 8px; opacity: .4; }
body.single-herochu_news .detail-banner-tag { display: inline-block; padding: 4px 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; margin-bottom: 16px; }
body.single-herochu_news .detail-banner-tag.tag-company { background: rgba(2,132,199,.15); color: #38bdf8; border: 1px solid rgba(2,132,199,.25); }
body.single-herochu_news .detail-banner-tag.tag-industry { background: rgba(22,163,74,.15); color: #4ade80; border: 1px solid rgba(22,163,74,.25); }
body.single-herochu_news .detail-banner-tag.tag-knowledge { background: rgba(147,51,234,.15); color: #c084fc; border: 1px solid rgba(147,51,234,.25); }
body.single-herochu_news .detail-banner-tag.tag-video { background: rgba(220,38,38,.15); color: #f87171; border: 1px solid rgba(220,38,38,.25); }
body.single-herochu_news .detail-banner-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.35; margin-bottom: 14px; letter-spacing: -.01em; max-width: 780px; }
body.single-herochu_news .detail-banner-meta { font-size: .9375rem; color: rgba(255,255,255,.86); display: flex; align-items: center; gap: 14px; }
body.single-herochu_news .detail-banner-meta .sep { opacity: .3; }
body.single-herochu_news .article-main { padding: 88px 0 0; }
body.single-herochu_news .container { max-width: 1360px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); }
body.single-herochu_news .article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
body.single-herochu_news .article-body { font-size: 1rem; color: var(--text-secondary); line-height: 1.95; max-width: 68ch; }
body.single-herochu_news .article-intro { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.9; margin: 0 0 1.75rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--border); }
body.single-herochu_news .article-body p { margin-bottom: 1.5rem; }
body.single-herochu_news .article-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin: 2.2rem 0 .9rem; padding-left: 14px; border-left: 3px solid var(--accent); }
body.single-herochu_news .article-body h2 { font-size: 1.45rem; font-weight: 800; color: var(--text-primary); line-height: 1.3; margin: 2.5rem 0 1rem; }
body.single-herochu_news .article-body img { width: 100%; border-radius: var(--radius); margin: 1.8rem 0 .6rem; }
body.single-herochu_news .article-body .img-caption { font-size: .875rem; color: var(--text-secondary); text-align: center; margin-bottom: 1.5rem; line-height: 1.5; }
body.single-herochu_news .article-body blockquote { margin: 1.5rem 0; padding: 16px 20px; background: var(--bg-secondary); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; font-size: .9rem; color: var(--text-secondary); line-height: 1.8; }
body.single-herochu_news .article-body ul, body.single-herochu_news .article-body ol { margin: 0 0 1.2rem 0; padding-left: 1.2rem; }
body.single-herochu_news .article-body li { margin-bottom: .5rem; line-height: 1.85; }
body.single-herochu_news .article-body ol { list-style: decimal; }
body.single-herochu_news .article-body ul { list-style: disc; }
body.single-herochu_news .article-body strong { color: var(--text-primary); }
body.single-herochu_news .article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
body.single-herochu_news .article-tag-link { display: inline-block; padding: 4px 14px; font-size: .875rem; border-radius: 4px; background: var(--bg-secondary); color: var(--text-secondary); transition: all .2s; text-decoration: none; }
body.single-herochu_news .article-tag-link:hover { background: var(--accent-light); color: var(--accent); }
body.single-herochu_news .back-to-list { display: inline-flex; align-items: center; gap: 6px; margin-top: 2rem; padding: 10px 20px; font-size: .9375rem; color: var(--text-secondary); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); transition: all .2s; text-decoration: none; }
body.single-herochu_news .back-to-list:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
body.single-herochu_news .back-to-list .arrow { font-size: .7rem; }
body.single-herochu_news .article-sidebar { position: sticky; top: 100px; }
body.single-herochu_news .sidebar-card { background: var(--bg-card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); margin-bottom: 20px; box-shadow: 0 1px 4px rgba(10,22,40,.03); }
body.single-herochu_news .sidebar-card h4 { font-size: .875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; }
body.single-herochu_news .sidebar-card h4::before { content: ''; width: 3px; height: 14px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
body.single-herochu_news .sidebar-news-item { display: block; padding: 10px 0; border-bottom: 1px solid #f1f3f6; font-size: .875rem; color: var(--text-secondary); line-height: 1.7; transition: all .2s; text-decoration: none; }
body.single-herochu_news .sidebar-news-item:last-child { border-bottom: none; }
body.single-herochu_news .sidebar-news-item:hover { color: var(--accent); padding-left: 4px; }
body.single-herochu_news .sidebar-news-item .sn-date { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .75rem; color: var(--text-tertiary); margin-bottom: 6px; }
body.single-herochu_news .sidebar-news-item .sn-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; margin-right: 0; }
body.single-herochu_news .sn-tag.tag-company { background: rgba(2,132,199,.08); color: #0369a1; }
body.single-herochu_news .sn-tag.tag-industry { background: rgba(22,163,74,.08); color: #15803d; }
body.single-herochu_news .sn-tag.tag-knowledge { background: rgba(147,51,234,.08); color: #7e22ce; }
body.single-herochu_news .sn-tag.tag-video { background: rgba(220,38,38,.08); color: #b91c1c; }
body.single-herochu_news .sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
body.single-herochu_news .sidebar-tag { padding: 5px 12px; font-size: 0.75rem; border-radius: 999px; background: var(--bg-secondary); color: var(--text-tertiary); transition: all .2s; border: 1px solid transparent; text-decoration: none; cursor: pointer; }
body.single-herochu_news .sidebar-tag:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }
body.single-herochu_news .article-nav { padding: 56px 0 88px; border-top: 1px solid var(--border); margin-top: 32px; }
body.single-herochu_news .article-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
body.single-herochu_news .article-nav-link { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); text-decoration: none; }
body.single-herochu_news .article-nav-link:hover { border-color: var(--accent); background: #fafbfc; }
body.single-herochu_news .article-nav-label { font-size: .8125rem; font-weight: 600; color: var(--text-secondary); letter-spacing: .08em; text-transform: uppercase; }
body.single-herochu_news .article-nav-title { font-size: .9rem; font-weight: 600; color: var(--text-primary); line-height: 1.55; }
body.single-herochu_news .article-nav-link:hover .article-nav-title { color: var(--accent); }
body.single-herochu_news .article-nav-link.next { text-align: right; align-items: flex-end; }
body.single-herochu_news .article-nav-link.disabled { opacity: .5; cursor: default; pointer-events: none; }
body.single-herochu_news .article-nav-link.disabled .article-nav-title { color: var(--text-tertiary); font-style: italic; font-weight: 400; }
@media (max-width: 1024px) {
  body.single-herochu_news .article-grid { grid-template-columns: 1fr; gap: 40px; }
  body.single-herochu_news .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  body.single-herochu_news .detail-banner { min-height: 45vh; min-height: 45dvh; }
  body.single-herochu_news .detail-banner-content { padding-bottom: 40px; }
  body.single-herochu_news .article-nav-grid { grid-template-columns: 1fr; }
  body.single-herochu_news .article-body h3 { padding-left: 0; border-left: none; }
}

/* ========== single-herochu_product.php ========== */
body.single-herochu_product .breadcrumb { padding-top: 120px; font-size: .875rem; color: rgba(255,255,255,.82); letter-spacing: .03em; }
body.single-herochu_product .breadcrumb a { color: rgba(255,255,255,.88); text-decoration: none; transition: color .25s; }
body.single-herochu_product .breadcrumb a:hover { color: #fff; }
body.single-herochu_product .detail-banner { position: relative; min-height: 75vh; min-height: 75dvh; background: #0a1628; overflow: hidden; display: flex; align-items: center; }
body.single-herochu_product .detail-banner-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
body.single-herochu_product .detail-banner-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,22,40,.93) 0%, rgba(10,22,40,.72) 48%, rgba(10,22,40,.28) 100%); }
body.single-herochu_product .detail-banner-content { position: relative; z-index: 2; max-width: 1360px; width: 100%; margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); }
body.single-herochu_product .detail-banner-left { max-width: 640px; }
body.single-herochu_product .detail-banner-tag { display: inline-block; padding: 4px 12px; background: var(--accent-soft); color: var(--accent-strong); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 3px; margin-bottom: 20px; border: 1px solid rgba(26,109,255,.18); }
body.single-herochu_product .detail-banner-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: 16px; letter-spacing: -.02em; }
body.single-herochu_product .detail-banner-title span { color: var(--accent); }
body.single-herochu_product .detail-banner-desc { font-size: 1rem; color: rgba(255,255,255,.86); line-height: 1.85; max-width: 58ch; }
body.single-herochu_product .detail-main { padding: 64px 0 48px; }
body.single-herochu_product .detail-main .container { padding: 0; }
body.single-herochu_product .detail-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
body.single-herochu_product .detail-image { position: sticky; top: 100px; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.04); }
body.single-herochu_product .detail-image img { width: 100%; display: block; }
body.single-herochu_product .spec-card { background: #fff; border-radius: 4px; padding: 24px 32px; border: 1px solid var(--border); }
body.single-herochu_product .spec-card-title { font-size: .92rem; font-weight: 700; color: var(--text-primary); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
body.single-herochu_product .spec-card-title::before { content: ''; width: 3px; height: 16px; background: var(--accent); border-radius: 2px; }
body.single-herochu_product .spec-card p { font-size: .95rem; color: var(--text-secondary); line-height: 1.8; }
body.single-herochu_product .detail-overview-text { font-size: .95rem; color: var(--text-secondary); line-height: 1.85; margin: 0; }
body.single-herochu_product .detail-cta { display: flex; gap: 12px; margin-top: 24px; }
body.single-herochu_product .btn-cta { padding: 13px 32px; background: var(--text-primary); color: #fff; border: none; border-radius: 4px; font-size: .9375rem; font-weight: 600; cursor: pointer; transition: all .25s cubic-bezier(.22,1,.36,1); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
body.single-herochu_product .btn-cta:hover { background: var(--accent); transform: translateX(3px); }
body.single-herochu_product .btn-cta-outline { padding: 13px 32px; background: #fff; color: var(--accent); border: 1px solid #e0e7ff; border-radius: 4px; font-size: .9375rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .25s cubic-bezier(.22,1,.36,1); display: inline-flex; align-items: center; gap: 6px; }
body.single-herochu_product .btn-cta-outline:hover { background: #f5f7ff; border-color: var(--accent); }
body.single-herochu_product .features-section { padding: 64px 0; background: var(--bg-secondary); }
body.single-herochu_product .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
body.single-herochu_product .feature-card { background: #fff; border-radius: 4px; padding: 28px 22px; border: 1px solid transparent; border-bottom: 1px solid var(--border); transition: all .3s cubic-bezier(.22,1,.36,1); }
body.single-herochu_product .feature-card:hover { border-color: var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.03); }
body.single-herochu_product .feature-icon { width: 40px; height: 40px; border-radius: 3px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; overflow: hidden; }
body.single-herochu_product .feature-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.single-herochu_product .feature-title { font-size: .95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
body.single-herochu_product .feature-desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; }
body.single-herochu_product .related-section { padding: 64px 0 64px; }
body.single-herochu_product .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.single-herochu_product .related-card { border-radius: 4px; overflow: hidden; border: 1px solid transparent; transition: all .35s cubic-bezier(.22,1,.36,1); display: block; text-decoration: none; background: #fff; border-bottom: 1px solid var(--border); }
body.single-herochu_product .related-card:hover { border-color: var(--border); box-shadow: 0 2px 16px rgba(0,0,0,.03); }
body.single-herochu_product .related-card-img { height: 200px; background: #f5f7fa; overflow: hidden; }
body.single-herochu_product .related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
body.single-herochu_product .related-card:hover .related-card-img img { transform: scale(1.03); }
body.single-herochu_product .related-card-body { padding: 18px 22px 22px; }
body.single-herochu_product .related-card-name { font-size: .9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
body.single-herochu_product .related-card-model { font-size: .875rem; color: var(--text-secondary); font-family: 'DM Sans', sans-serif; }
body.single-herochu_product .showcase-section { padding: 64px 0; }
body.single-herochu_product .showcase-section .container { max-width: 1360px; }
body.single-herochu_product .detail-content { font-size: 1rem; color: var(--text-secondary); line-height: 1.9; max-width: 1360px; margin-left: auto; margin-right: auto; }
body.single-herochu_product .detail-content h1, body.single-herochu_product .detail-content h2, body.single-herochu_product .detail-content h3, body.single-herochu_product .detail-content h4, body.single-herochu_product .detail-content h5, body.single-herochu_product .detail-content h6 { color: var(--text-primary); margin: 2em 0 .6em; font-weight: 700; }
body.single-herochu_product .detail-content h2 { font-size: 1.6rem; border-bottom: 2px solid var(--accent); padding-bottom: .3em; }
body.single-herochu_product .detail-content h3 { font-size: 1.35rem; line-height: 1.3; }
body.single-herochu_product .detail-content p { margin: 0 0 1.2em; }
body.single-herochu_product .detail-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1.5em 0; }
body.single-herochu_product .detail-content ul, body.single-herochu_product .detail-content ol { margin: 0 0 1.2em; padding-left: 1.5em; }
body.single-herochu_product .detail-content li { margin-bottom: .4em; }
body.single-herochu_product .detail-content blockquote { border-left: 4px solid var(--accent); padding: 16px 24px; margin: 1.5em 0; background: var(--bg-secondary); border-radius: 0 4px 4px 0; color: var(--text-secondary); }
body.single-herochu_product .detail-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9375rem; }
body.single-herochu_product .detail-content th, body.single-herochu_product .detail-content td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
body.single-herochu_product .detail-content th { background: #f5f7fa; font-weight: 700; }
body.single-herochu_product .detail-content .alignleft { float: left; margin: 0 24px 16px 0; max-width: 50%; }
body.single-herochu_product .detail-content .alignright { float: right; margin: 0 0 16px 24px; max-width: 50%; }
body.single-herochu_product .detail-content .aligncenter { display: block; margin: 1.5em auto; text-align: center; }
body.single-herochu_product .detail-content .alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
body.single-herochu_product .detail-content .alignfull { max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
body.single-herochu_product .detail-content .alignfull img { width: 100%; }
body.single-herochu_product .detail-content .wp-block-gallery { margin: 2em 0; }
body.single-herochu_product .detail-content .wp-block-gallery .blocks-gallery-grid { gap: 12px; }
body.single-herochu_product .detail-content .wp-block-media-text { margin: 2em 0; }
body.single-herochu_product .detail-content .wp-block-image figcaption { text-align: center; font-size: .875rem; color: var(--text-secondary); margin-top: 8px; }
body.single-herochu_product .detail-content .wp-block-separator { margin: 2.5em 0; border: none; border-top: 1px solid var(--border); }
body.single-herochu_product .model-compare { width: 100%; border-collapse: collapse; font-size: .9375rem; }
body.single-herochu_product .model-compare thead th { text-align: left; padding: 12px 16px; background: #f5f7fa; font-weight: 700; font-size: .875rem; color: var(--text-primary); border-bottom: 2px solid var(--accent); }
body.single-herochu_product .model-compare thead th:first-child { border-radius: 4px 0 0 0; }
body.single-herochu_product .model-compare td { padding: 12px 16px; border-bottom: 1px solid #f1f3f6; color: var(--text-secondary); }
body.single-herochu_product .model-compare tr:hover td { background: #fafbfc; }
body.single-herochu_product .model-compare td:first-child { font-weight: 600; color: var(--text-primary); min-width: 90px; }
body.single-herochu_product .spec-table { width: 100%; border-collapse: collapse; }
body.single-herochu_product .spec-table tr { border-bottom: 1px solid #f1f3f6; }
body.single-herochu_product .spec-table tr:last-child { border-bottom: none; }
body.single-herochu_product .spec-table tr:hover { background: #fafbfc; }
body.single-herochu_product .spec-table td { padding: 14px 0; }
body.single-herochu_product .spec-table .spec-label { font-size: .875rem; color: var(--text-secondary); width: 120px; }

/* --- single 模板 layout overrides --- */
body.single-herochu_product .container,
body.single-herochu_news .container { max-width: 1360px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); }
body.single-herochu_product .section-title,
body.single-herochu_news .section-title { display: block; }
body.single-herochu_product .spec-table .spec-value { font-size: .95rem; font-weight: 600; color: var(--text-primary); }
@media (max-width: 1024px) {
  body.single-herochu_product .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  body.single-herochu_product .detail-image { position: static; }
  body.single-herochu_product .features-grid { grid-template-columns: repeat(2, 1fr); }
  body.single-herochu_product .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.single-herochu_product .features-grid, body.single-herochu_product .related-grid { grid-template-columns: 1fr; }
  body.single-herochu_product .detail-cta { flex-direction: column; }
}

/* ========== page-about.php ========== */
/* ===== Layout overrides ===== */
body.page-about .section { padding: 80px 0; }
body.page-about .section-alt { background: var(--bg-secondary); }
body.page-about .container { max-width: 1360px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 60px); }
body.page-about .section-header { text-align: center; margin-bottom: 56px; }
body.page-about .section-title { display: block; font-family: var(--font-cn); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; letter-spacing: -.01em; }
body.page-about .section-title span { color: inherit; }
body.page-about .section-sub { font-size: 1rem; color: var(--text-secondary); max-width: 60ch; margin: 0 auto; line-height: 1.8; }
/* Banner */
body.page-about .about-banner {
  position: relative; height: 75vh; height: 75dvh; min-height: 520px;
  background: var(--ink-strong);
  overflow: hidden;
  display: flex; align-items: center;
}
body.page-about .about-banner-tag { display: none; }
body.page-about .about-banner-bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
}
body.page-about .about-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.72) 45%, rgba(10,22,40,.3) 100%);
}
body.page-about .about-banner-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 2rem;
}
body.page-about .about-banner-left {
  max-width: 640px;
  padding-bottom: 100px;
}
body.page-about .about-banner-title {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: 1rem;
}
body.page-about .about-banner-title span { color: inherit !important; }
body.page-about .about-banner-desc { font-size: 1rem; color: rgba(255,255,255,0.88); max-width: 58ch; line-height: 1.85; }

/* Banner grid overlay */
body.page-about .about-banner-grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(26,109,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,109,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 70%);
}

/* Subnav */
body.page-about .about-subnav {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--overlay-base);
  z-index: 3; width: 100%;
}
body.page-about .about-subnav ul {
  width: 100%; margin: 0 auto;
  padding: 0 40px;
  display: flex; list-style: none; gap: 0;
  justify-content: center;
}
body.page-about .about-subnav a {
  display: block; padding: 16px 32px;
  color: rgba(255,255,255,0.84); font-size: 0.9375rem; font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
body.page-about .about-subnav a:hover,
body.page-about .about-subnav li.active a {
  color: #fff; border-bottom-color: var(--accent);
}

/* Intro */
body.page-about #about-intro {
  position: relative; overflow: hidden;
  padding: 140px 0;
  min-height: 950px;
  display: flex;
  align-items: center;
}
body.page-about .about-intro-bg {
  position: absolute; inset: 0;
  background: var(--theme-uri) center/cover no-repeat;
  opacity: 1;
  pointer-events: none; user-select: none; z-index: 0;
}
body.page-about .about-intro-content {
  position: relative; z-index: 1;
  width: 100%;
}
body.page-about .about-watermark {
  position: absolute; right: -40px; bottom: 40px;
  font-size: clamp(100px, 14vw, 200px); font-weight: 900;
  color: rgba(10,22,40,.04); line-height: 1;
  user-select: none; pointer-events: none;
  white-space: nowrap; letter-spacing: -0.02em;
  z-index: 0;
  transition: opacity 0.8s ease, transform 1.2s ease;
}
body.page-about .about-watermark.visible { opacity: 1; transform: translateY(0); }
body.page-about .about-watermark.hidden { opacity: 0; transform: translateY(20px); }
body.page-about .about-intro-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: start;
}
body.page-about .about-intro-text .section-tag { text-align: left; display: block; }
body.page-about .about-intro-text .section-title { text-align: left; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
body.page-about .about-intro-text p {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 1.4rem; max-width: 62ch;
}
body.page-about .about-intro-text p:last-of-type { margin-bottom: 0; }

/* Stats panel */
body.page-about .about-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
  padding-top: 6.5rem;
  align-self: start;
  align-content: start;
}
body.page-about .stat-item {
  text-align: left;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
body.page-about .stat-item:hover { transform: translateY(-4px); }
body.page-about .stat-num {
  font-family: 'DM Sans',sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem); font-weight: 800; color: var(--ink-strong);
  line-height: 1.05; transition: color .3s;
}
body.page-about .stat-unit { font-size: 1rem; font-weight: 700; color: var(--accent); }
body.page-about .stat-label { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }
body.page-about .stat-divider {
  width: 32px; height: 2px; background: var(--accent);
  margin: 8px 0; transition: width .35s cubic-bezier(.22,1,.36,1);
}
body.page-about .stat-item:hover .stat-divider { width: 48px; }

/* Culture */
body.page-about #about-culture {
  position: relative;
  height: 950px;
  overflow: hidden;
}
body.page-about .culture-bg-img {
  position: absolute; inset: 0;
  background: var(--culture-bg) center/cover no-repeat;
  z-index: 0;
}
body.page-about .culture-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.72) 0%, rgba(10,22,40,.85) 100%);
  z-index: 1;
}
body.page-about .culture-grid {
  position: absolute; inset: 0;
  z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1360px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}
body.page-about .culture-col {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-start;
  text-align: center; padding: 330px 16px 60px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  cursor: default; overflow: hidden;
  box-sizing: border-box;
}
body.page-about .culture-col:last-child { border-right: none; }
body.page-about .culture-col-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  position: relative; z-index: 1;
}
body.page-about .culture-col::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,109,255,0) 0%, rgba(26,109,255,0.35) 100%);
  opacity: 0; transition: opacity .5s cubic-bezier(.22,1,.36,1); z-index: 0;
}
body.page-about .culture-col:hover::before { opacity: 1; }
body.page-about .culture-col-icon {
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  margin: 0 auto 1.8rem;
  font-size: 2.2rem;
  overflow: hidden;
  transition: all .4s cubic-bezier(.22,1,.36,1);
}
body.page-about .culture-col-icon img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
body.page-about .culture-col:hover .culture-col-icon {
  background: rgba(255,255,255,0.2); transform: scale(1.12);
  border-color: rgba(255,255,255,0.3); box-shadow: 0 0 32px rgba(26,109,255,.25);
}
body.page-about .culture-col-title {
  font-family: var(--font-cn);
  font-size: 1.4rem; font-weight: 700; color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: .04em;
}
body.page-about .culture-col-sub {
  font-size: 0.8125rem; color: var(--accent); font-weight: 600;
  letter-spacing: 0.15em; margin-bottom: 0;
  text-transform: uppercase;
}
body.page-about .culture-col-line {
  display: inline-block;
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.25);
  margin: 1.5rem 0;
  vertical-align: middle;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.5s cubic-bezier(.22,1,.36,1);
}
body.page-about .culture-col:hover .culture-col-line {
  opacity: 1;
  transform: scaleX(1);
  width: 48px; background: var(--accent);
}
body.page-about .culture-col-text {
  font-size: 0.95rem; color: rgba(255,255,255,0.9);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.5s cubic-bezier(.22,1,.36,1);
}
body.page-about .culture-col:hover .culture-col-text {
  opacity: 1;
  transform: translateY(0);
}
body.page-about .culture-col-text span {
  display: block; padding: 2px 0;
}

/* Honor */
body.page-about #about-honor {
  background: #fff;
  padding: 120px 0;
}
body.page-about .honor-slider-wrap { margin-top: 40px; }
body.page-about .honor-slider { position: relative; overflow: hidden; }
body.page-about .honor-track { display: flex; transition: transform 0.5s ease; }
body.page-about .honor-slide {
  min-width: calc(20% - 16px); margin-right: 16px;
  background: var(--bg-secondary); border-radius: 4px; overflow: hidden;
  aspect-ratio: 3/4;
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
body.page-about .honor-slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
body.page-about .honor-slide-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--overlay-base); color: #fff;
  font-size: 0.8125rem; padding: 8px 10px; text-align: center;
}
body.page-about .honor-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
body.page-about .honor-btn {
  width: 40px; height: 40px; border-radius: 4px;
  border: 2px solid var(--ink-strong); background: none;
  color: var(--ink-strong); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
body.page-about .honor-btn:hover { background: var(--ink-strong); color: #fff; }
body.page-about .honor-dots-wrap { display: flex; gap: 6px; }
body.page-about .honor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); cursor: pointer; transition: var(--transition);
}
body.page-about .honor-dot.active { background: var(--ink-strong); width: 24px; border-radius: 4px; }

/* History / Timeline */
body.page-about #about-history {
  background: var(--bg-secondary);
  position: relative; overflow: hidden;
  padding: 140px 0;
}
body.page-about .history-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: clamp(80px, 12vw, 180px); font-weight: 900;
  color: rgba(10,22,40,.04); white-space: nowrap;
  user-select: none; pointer-events: none;
}
body.page-about .timeline {
  position: relative; z-index: 1;
  display: flex; gap: 0;
  border-top: 3px solid rgba(26,109,255,.15);
  padding-top: 60px;
  margin-top: 24px;
}
body.page-about .timeline::before {
  content: '';
  position: absolute;
  top: -1.5px; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(26,109,255,0.2) 100%);
  z-index: 2;
}
body.page-about .tl-item {
  flex: 1; position: relative;
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-about .tl-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-card); border: 4px solid var(--ink-strong);
  position: absolute; top: -72px; left: 50%; transform: translateX(-50%);
  z-index: 2; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-about .tl-item:hover .tl-dot,
body.page-about .tl-item.active .tl-dot {
  background: var(--accent); border-color: var(--accent);
  transform: translateX(-50%) scale(1.4);
  box-shadow: 0 0 0 12px rgba(26,109,255,0.12);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-about .tl-year {
  font-size: 0.9rem; font-weight: 700; color: var(--accent);
  margin-bottom: 12px; letter-spacing: 0.05em;
  text-align: center;
}
body.page-about .tl-card {
  background: #fff; border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,.03);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 0 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 280px;
  position: relative;
  overflow: hidden;
}
body.page-about .tl-keyword {
  font-size: 1.3rem; font-weight: 700; color: var(--ink-strong);
  text-align: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-about .tl-desc {
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8;
  max-height: 0; overflow: hidden; opacity: 0;
  margin-top: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
body.page-about .tl-item:hover .tl-card,
body.page-about .tl-item.active .tl-card {
  border-color: rgba(26,109,255,0.2);
  box-shadow: 0 4px 18px rgba(26,109,255,.06);
  padding: 20px 20px 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
body.page-about .tl-item:hover .tl-keyword,
body.page-about .tl-item.active .tl-keyword {
  font-size: 0.95rem;
  color: var(--accent);
  text-align: left;
  transform: none;
}
body.page-about .tl-item:hover .tl-desc,
body.page-about .tl-item.active .tl-desc {
  max-height: 300px; opacity: 1;
  margin-top: 12px;
}

/* Factory */
body.page-about #about-factory {
  background: #fff;
  padding: 120px 0;
}
body.page-about .factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 16px;
}
body.page-about .factory-item {
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--bg-secondary);
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.03);
}
body.page-about .factory-item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
body.page-about .factory-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
body.page-about .factory-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #d0dce8, #b0c4d8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; transition: transform 0.5s ease;
}
body.page-about .factory-placeholder .fp-icon { font-size: 2.5rem; opacity: 0.4; }
body.page-about .factory-placeholder .fp-text { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
body.page-about .factory-item:hover .factory-img,
body.page-about .factory-item:hover .factory-placeholder { transform: scale(1.05); }
body.page-about .factory-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.8) 100%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px;
}
body.page-about .factory-item:hover .factory-overlay { opacity: 1; }
body.page-about .factory-overlay span { color: #fff; font-size: 0.95rem; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  body.page-about .about-banner-left { padding-bottom: 120px; }
  body.page-about .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  body.page-about .culture-grid { grid-template-columns: repeat(2, 1fr); }
  body.page-about .culture-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  body.page-about .culture-col:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  body.page-about .timeline { padding-top: 50px; }
  body.page-about .tl-item { padding: 0 8px; }
  body.page-about .factory-grid { grid-template-rows: 260px 260px; }
  body.page-about .about-intro-bg { display: none; }
}
@media (max-width: 768px) {
  body.page-about .section { padding: 60px 0; }
  body.page-about .about-banner { height: 60vh; height: 60dvh; min-height: 400px; }
  body.page-about .about-subnav ul { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  body.page-about .about-subnav a { padding: 14px 16px; white-space: nowrap; }
  body.page-about .culture-grid { grid-template-columns: 1fr; }
  body.page-about .culture-col { border-right: none; padding: 40px 24px; }
  body.page-about .timeline { flex-direction: column; border-top: none; border-left: 3px solid var(--accent-soft); padding-top: 0; padding-left: 40px; gap: 24px; }
  body.page-about .tl-dot { top: 24px; left: -53px; transform: none; }
  body.page-about .tl-item:hover .tl-dot, body.page-about .tl-item.active .tl-dot { transform: scale(1.3); }
  body.page-about .tl-item { padding: 16px 0; }
  body.page-about .tl-year { text-align: left; }
  body.page-about .tl-item:hover .tl-card, body.page-about .tl-item.active .tl-card { align-items: flex-start; }
  body.page-about .factory-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  body.page-about .factory-item:first-child { grid-column: span 2; grid-row: span 1; }
  body.page-about .about-stats-panel { grid-template-columns: 1fr 1fr; }
  body.page-about .honor-slide { min-width: calc(50% - 12px); }
  body.page-about #about-culture { height: auto; }
  body.page-about .culture-grid { height: auto; position: relative; max-width: 100%; left: auto; transform: none; }
  body.page-about .culture-col-text { opacity: 1; transform: translateY(0); }
  body.page-about .culture-col-line { opacity: 1; transform: scaleX(1); }
}
@media (max-width: 480px) {
  body.page-about .factory-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
  body.page-about .factory-item:first-child { grid-column: span 1; }
  body.page-about .about-stats-panel { grid-template-columns: 1fr; }
  body.page-about .honor-slide { min-width: calc(100% - 12px); }
}

/* ========== 480px 补丁：合作伙伴网格单列、footer 优化 ========== */
@media (max-width: 480px) {
  .partners-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 24px; }
  .footer-brand { text-align: center; }
  .footer-logo-img { margin: 0 auto; }
}

/* ========== 大屏优化 (1280px+) ========== */
@media (min-width: 1280px) {
  .container { max-width: 1360px; }
  .hero-content { padding: 0 clamp(60px, 8vw, 120px); }
  .about-grid { gap: 100px; }
  .products-grid { gap: 32px; }
  .solutions-accordion { height: 480px; }
  .section { padding: clamp(96px, 10vw, 128px) 0; }
}

/* ========== 打印样式 ========== */
@media print {
  .navbar, .nav-toggle, .nav-backdrop, .hero-dots, .hero-arrow,
  .scroll-hint, .back-to-top, .footer, .page-transition-overlay,
  .service-subnav, .about-subnav, .news-tabs, .products-tabs-wrap,
  .series-nav { display: none !important; }
  body { font-size: 12pt; line-height: 1.5; color: #000; background: #fff; padding: 0; }
  .container { max-width: 100%; padding: 0; }
  .section { padding: 24pt 0; page-break-inside: avoid; }
  .hero { min-height: auto; }
  .hero-title { color: #000; text-shadow: none; font-size: 24pt; }
  .hero-desc { color: #333; }
  .btn { border: 2px solid #000; color: #000; background: none; box-shadow: none; }
  .hero-content { min-height: auto; padding: 24pt 0; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  .product-card--home { break-inside: avoid; height: auto; }
  .product-card--home .pc-overlay { position: static; transform: none; opacity: 1; background: none; padding: 8px 0; }
  .product-card--home .pc-overlay h3,
  .product-card--home .pc-overlay p,
  .product-card--home .pc-link { transform: none; opacity: 1; color: #000; }
  .pc-name { display: none; }
  .solution-accordion-item { break-inside: avoid; }
  .stat-card, .market-stat-card { break-inside: avoid; border: 1px solid #ccc; }
}
