/*
Theme Name: 登士柏企业官网主题
Theme URI: https://densply.cn
Description: 登士柏节能科技无锡有限公司企业官网 WordPress 主题（denspar-wp-theme v1.0.7）。原生 PHP 模板 + CSS 变量系统 + FontAwesome。
Version: 1.1.1
Author: 登士柏技术团队
License: GPL-2.0-or-later
Text Domain: denspar
*/

/* ============================================================
   一、设计令牌（CSS 变量系统）—— 来源：规范包 v1.0 第三节
   ============================================================ */
:root {
  /* 主色 */
  --primary: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #3399FF;
  --primary-bg: #E6F2FF;
  /* 辅助色 */
  --secondary: #00A878;
  --secondary-dark: #007A56;
  /* 文字 */
  --dark: #1A1A2E;
  --gray-700: #4A4A5A;
  --gray-500: #6B6B7B;
  --gray-300: #B8B8C8;
  --gray-100: #F0F0F5;
  --white: #FFFFFF;
  /* 圆角 */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 28px rgba(0,102,204,0.14);
  /* 布局 */
  --container: 1200px;
  --header-h: 88px;
  /* 字体 */
  --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-en: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   二、基础重置
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-cn);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cn);
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { line-height: 1.7; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section { padding: 84px 0; }
.section--gray { background: var(--gray-100); }
.section--primary-bg { background: var(--primary-bg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================================================
   三、按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 16px; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); line-height: 1; letter-spacing: .01em;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn--secondary { background: var(--secondary); color: #fff; }
.btn--secondary:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--primary-bg); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ============================================================
   四、区块标题
   ============================================================ */
.section-title {
  text-align: center; font-size: 32px; letter-spacing: -0.01em; margin-bottom: 12px;
}
.section-subtitle {
  text-align: center; color: var(--gray-500); font-size: 16px; max-width: 720px;
  margin: 0 auto 48px; line-height: 1.7;
}
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 12px;
}

/* ============================================================
   五、顶部导航
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-logo img { height: 72px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 16px; color: #666666; font-weight: 600; font-size: 16px;
  border-radius: var(--radius-sm); position: relative;
}
.main-nav a:hover, .main-nav li.current-menu-item > a { color: var(--primary); background: var(--primary-bg); }
.main-nav .has-children { position: relative; }
.main-nav .has-children > a::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: 6px; font-size: 12px; }
.main-nav ul.sub-menu {
  display: block !important;
  flex-direction: column !important;
  position: absolute !important; top: 100% !important; left: 0 !important;
  min-width: 180px !important; background: #fff !important;
  border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px !important; opacity: 0; visibility: hidden; transform: translateY(4px); transition: var(--transition);
  gap: 0 !important; list-style: none !important;
}
.main-nav ul.sub-menu li {
  display: block !important; width: 100% !important;
}
.main-nav .sub-menu li { position: static; }
.main-nav .sub-menu li a {
  display: block; padding: 10px 14px; font-weight: 500; font-size: 14px;
  border-radius: 6px; color: #333; white-space: nowrap;
}
.main-nav .sub-menu li a:hover { background: var(--primary-bg); color: var(--primary); }
.main-nav .has-children:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { padding: 9px 14px; font-weight: 500; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--primary);
  font-size: 18px; font-family: var(--font-en);
}
.header-phone i { font-size: 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: var(--transition); }

/* 移动端全屏导航 */
.mobile-nav {
  position: fixed; inset: 0; background: #fff; z-index: 1100; padding: 80px 24px 24px;
  transform: translateX(100%); transition: transform var(--transition); overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav .close { position: absolute; top: 24px; right: 24px; font-size: 28px; background: none; border: 0; cursor: pointer; color: var(--dark); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--gray-100); }
.mobile-nav a { display: block; padding: 16px 4px; font-size: 18px; font-weight: 700; color: var(--dark); }
.mobile-nav .sub-menu { padding-left: 16px; }
.mobile-nav .sub-menu a { font-size: 16px; font-weight: 500; color: var(--gray-700); }
.mobile-social { display: flex; gap: 18px; margin-top: 28px; font-size: 22px; color: var(--primary); }
.mobile-nav .header-phone { font-size: 22px; margin-top: 20px; }

/* ============================================================
   六、Hero 轮播
   ============================================================ */
.hero { position: relative; height: 640px; overflow: hidden; background: var(--primary-dark); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,40,90,.15) 0%, rgba(0,40,90,.3) 40%, rgba(0,40,90,.5) 70%); }
.hero-slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-content .eyebrow { color: #cfe6ff; }
.hero-content h1 { color: #fff; font-size: 46px; margin-bottom: 14px; }
.hero-content p { font-size: 18px; color: #e6f0ff; margin-bottom: 26px; }
.hero-content .hero-stats { display: flex; gap: 28px; margin: 18px 0 28px; }
.hero-content .hero-stats b { font-size: 30px; color: #fff; display: block; font-family: var(--font-en); }
.hero-content .hero-stats span { font-size: 13px; color: #bcd8ff; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots button.active { background: #fff; width: 26px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; cursor: pointer; transition: var(--transition); }
.hero-arrow:hover { background: rgba(255,255,255,.34); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ============================================================
   七、数据带 / 实力数据
   ============================================================ */
.stats-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; padding: 46px 0; }
.stats-grid .num { font-size: 40px; font-weight: 800; font-family: var(--font-en); color: #fff; letter-spacing: -0.02em; }
.stats-grid .num small { font-size: 20px; font-weight: 700; }
.stats-grid .label { font-size: 14px; color: #cfe6ff; margin-top: 4px; }

/* ============================================================
   八、卡片通用
   ============================================================ */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* 产品分类入口（首页4卡） */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 26px; transition: var(--transition); border: 1px solid var(--gray-100); }
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary-light); }
.cat-card .cat-ico { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.cat-card h3 { font-size: 20px; margin-bottom: 10px; }
.cat-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.cat-card ul li { color: var(--gray-500); font-size: 14px; padding: 4px 0; border-bottom: 1px dashed var(--gray-100); }
.cat-card .cat-rate { display: inline-block; background: var(--secondary); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }

/* 技术优势 4 卡 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 26px; border-top: 4px solid var(--primary); }
.adv-card .adv-num { font-size: 34px; font-weight: 800; color: var(--primary); font-family: var(--font-en); }
.adv-card h3 { font-size: 19px; margin: 10px 0 8px; }
.adv-card p { font-size: 14px; color: var(--gray-500); margin: 0; }
.adv-card .adv-ico { font-size: 28px; color: var(--primary); margin-bottom: 8px; }

/* 案例预览 4 卡 */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: var(--transition); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .case-thumb { position: relative; aspect-ratio: 4/3; background: var(--primary-bg); }
.case-card .case-rate { position: absolute; top: 14px; right: 14px; background: var(--secondary); color: #fff; font-weight: 800; padding: 6px 12px; border-radius: 20px; font-size: 14px; }
.case-card .case-body { padding: 18px 20px; }
.case-card h3 { font-size: 17px; margin-bottom: 6px; }
.case-card .case-meta { font-size: 13px; color: var(--gray-500); }
.case-card .case-cat { display: inline-block; font-size: 12px; color: var(--primary); background: var(--primary-bg); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }

/* 服务承诺 6 卡 */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px; text-align: center; }
.service-card .sv-ico { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; font-size: 26px; }
.service-card h4 { font-size: 17px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* ============================================================
   九、产品网格（列表页 auto-fill minmax 280px）
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .pc-img { aspect-ratio: 4/3; background: var(--gray-100); position: relative; overflow: hidden; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-cat { font-size: 12px; color: var(--primary); background: var(--primary-bg); padding: 3px 10px; border-radius: 20px; align-self: flex-start; margin-bottom: 10px; }
.product-card h3 { font-size: 17px; margin-bottom: 6px; }
.product-card .pc-model { font-family: var(--font-en); font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.product-card .pc-spec { font-size: 13px; color: var(--gray-700); margin-bottom: 14px; }
.product-card .pc-spec b { color: var(--secondary-dark); }
.product-card .pc-foot { margin-top: auto; }

/* 新闻网格 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card .nc-img { aspect-ratio: 16/9; background: var(--primary-bg); }
.news-card .nc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card .nc-cat { font-size: 12px; color: var(--primary); background: var(--primary-bg); padding: 3px 10px; border-radius: 20px; align-self: flex-start; margin-bottom: 10px; }
.news-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.45; }
.news-card .nc-meta { font-size: 13px; color: var(--gray-500); margin-top: auto; }

/* ============================================================
   十、面包屑 & Banner（内页）
   ============================================================ */
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.85); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }
.page-banner {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.07); }
.page-banner .eyebrow { color: #cfe6ff; }
.page-banner h1 { color: #fff; font-size: 38px; margin: 8px 0 10px; }
.page-banner p { color: #d6e8ff; max-width: 720px; margin: 0; }

/* ============================================================
   十一、产品详情（左图右文）
   ============================================================ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--gray-100); aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs .thumb { width: 84px; height: 84px; border-radius: var(--radius-sm); background: var(--gray-100); cursor: pointer; border: 2px solid transparent; overflow: hidden; }
.gallery-thumbs .thumb.active { border-color: var(--primary); }
.info-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.info-panel .ip-cat { font-size: 13px; color: var(--primary); background: var(--primary-bg); padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 14px; }
.info-panel h1 { font-size: 28px; margin-bottom: 6px; }
.info-panel .ip-model { font-family: var(--font-en); color: var(--gray-500); margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.spec-table th { width: 110px; color: var(--gray-500); font-weight: 600; background: var(--gray-100); }
.spec-table td { color: var(--dark); font-weight: 600; }
.ip-features { list-style: none; padding: 0; margin: 0 0 22px; }
.ip-features li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; }
.ip-features li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--secondary); position: absolute; left: 0; top: 8px; }
.ip-actions { display: flex; gap: 12px; }

/* ============================================================
   十二、案例/新闻详情
   ============================================================ */
.detail-hero-img { border-radius: var(--radius); overflow: hidden; background: var(--gray-100); aspect-ratio: 16/9; box-shadow: var(--shadow); }
.key-data { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 32px 0; }
.key-data .kd { background: var(--primary-bg); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.key-data .kd b { display: block; font-size: 26px; color: var(--primary); font-family: var(--font-en); }
.key-data .kd span { font-size: 13px; color: var(--gray-500); }
.prose { max-width: 860px; }
.prose h2 { font-size: 24px; margin-top: 1.4em; }
.prose h3 { font-size: 19px; margin-top: 1.2em; }
.prose img { border-radius: var(--radius); margin: 22px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gallery-grid .g-item { aspect-ratio: 4/3; border-radius: var(--radius-sm); background: var(--gray-100); overflow: hidden; }

/* 上一篇/下一篇 */
.post-nav { display: flex; justify-content: space-between; gap: 18px; margin: 36px 0; }
.post-nav a { flex: 1; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.post-nav a:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.post-nav .pn-dir { font-size: 13px; color: var(--gray-500); }
.post-nav .pn-title { font-weight: 700; color: var(--dark); }
.post-nav .next { text-align: right; }

/* 相关推荐 */
.related { background: var(--gray-100); border-radius: var(--radius-lg); padding: 36px; margin-top: 40px; }
.related h3 { font-size: 20px; margin-bottom: 22px; }

/* 分享 */
.share-bar { display: flex; gap: 12px; align-items: center; margin: 28px 0; }
.share-bar span { font-size: 14px; color: var(--gray-500); }
.share-bar a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 16px; }
.share-bar .wx { background: #07c160; } .share-bar .wb { background: #e6162d; } .share-bar .in { background: #0a66c2; }

/* ============================================================
   十三、表单 & 转化栏
   ============================================================ */
.lead-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.lead-form h3 { font-size: 22px; margin-bottom: 6px; }
.lead-form p.hint { color: var(--gray-500); font-size: 14px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.field label .req { color: #e6162d; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: var(--font-cn); font-size: 16px; color: var(--dark); background: #fff; transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 6px; }

.cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: #d6e8ff; margin-bottom: 24px; }
.cta-band .cta-phone { font-size: 30px; font-weight: 800; font-family: var(--font-en); color: #fff; display: inline-flex; align-items: center; gap: 10px; }

.consult-bar { background: var(--primary-bg); border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; }
.consult-bar .cb-text h3 { margin: 0 0 4px; font-size: 20px; }
.consult-bar .cb-text p { margin: 0; color: var(--gray-500); font-size: 14px; }

/* ============================================================
   十四、SEO 内容块 / 分类简介
   ============================================================ */
.intro { font-size: 16px; color: var(--gray-700); line-height: 1.8; max-width: 860px; }
.seo-block { background: var(--gray-100); border-radius: var(--radius); padding: 36px; margin-top: 48px; }
.seo-block h6 { font-size: 18px; color: var(--dark); margin: 0 0 14px; }
.seo-block p { font-size: 16px; color: var(--gray-700); margin: 0 0 12px; }

/* ============================================================
   十五、关于我们 / 通用内容
   ============================================================ */
.timeline { position: relative; padding-left: 28px; margin: 30px 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--primary-light); }
.timeline .tl-item { position: relative; padding: 0 0 28px 22px; }
.timeline .tl-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: var(--shadow); }
.timeline .tl-year { font-weight: 800; color: var(--primary); font-family: var(--font-en); font-size: 18px; }
.timeline .tl-item h4 { margin: 4px 0 6px; font-size: 17px; }
.timeline .tl-item p { font-size: 14px; color: var(--gray-500); margin: 0; }

.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; text-align: center; border: 1px solid var(--gray-100); }
.honor-card .hn-ico { font-size: 34px; color: var(--primary); margin-bottom: 12px; }
.honor-card h4 { font-size: 16px; margin-bottom: 6px; }
.honor-card p { font-size: 13px; color: var(--gray-500); margin: 0; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 4px solid var(--secondary); }
.value-card h4 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray-500); margin: 0; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); height: 90px; display: grid; place-items: center; font-weight: 700; color: var(--gray-500); box-shadow: var(--shadow-sm); transition: var(--transition); }
.partner-card:hover { border-color: var(--primary-light); color: var(--primary); }

/* 联系页 */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-100); }
.contact-info .ci-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-info .ci-item h4 { margin: 0 0 4px; font-size: 16px; }
.contact-info .ci-item p { margin: 0; color: var(--gray-700); font-size: 16px; }
.map-box { border-radius: var(--radius); overflow: hidden; height: 320px; background: var(--gray-100); box-shadow: var(--shadow); }

/* ============================================================
   十六、页脚
   ============================================================ */
.site-footer { background: #0f1b2d; color: #aab6c8; padding: 56px 0 0; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { padding: 6px 0; }
.footer-col ul a { color: #aab6c8; font-size: 14px; }
.footer-col ul a:hover { color: #fff; }
.footer-brand img { height: 64px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; font-size: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); }
.footer-contact p { font-size: 14px; margin: 6px 0; }
.footer-contact .fc-phone { font-size: 22px; font-weight: 800; color: #fff; font-family: var(--font-en); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 20px 0; font-size: 13px; }
.footer-copyright { color: #7e8aaa; font-size: 13px; }
.footer-links-bottom { display: flex; gap: 12px; }
.footer-bottom a { color: #aab6c8; margin: 0 6px; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   十七、滚动揭示动画
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   十八、响应式
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid, .adv-grid, .case-grid, .stats-grid, .key-data { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   技术优势全宽板块 v1.1.1
   ============================================================ */
.tech-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
    position: relative;
}
.tech-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.tech-icon-wrap {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    margin-bottom: 12px;
}
.tech-content { flex: 1; }
.tech-title { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tech-desc { color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.5; }
.tech-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-top: 10px;
}
@media (max-width: 992px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .tech-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  /* 移动端隐藏CTA区块 */
  .cta-band, .consult-bar { display: none !important; }
  /* ============================
   * v1.5.6 — 移动端优化
   * 修复：汉堡图标缩小、菜单关闭、Logo压缩
   * ============================ */

  /* == Header == */
  .site-header {
    position: fixed !important; top: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
  }
  .header-inner { padding: 6px 10px !important; height: auto !important; }
  :root { --header-h: 52px; }
  body { padding-top: 52px !important; overflow-x: hidden; }
  .site-logo img { height: 36px !important; width: 36px !important; }
  .site-logo { margin-left: 0 !important; gap: 6px !important; }
  .site-logo a:last-child { font-size: 14px !important; }
  .main-nav, .header-cta .btn { display: none !important; }

  /* == 汉堡图标 — 精简小巧 == */
  .nav-toggle {
    display: flex !important; flex-direction: column; gap: 3px;
    cursor: pointer; padding: 5px 3px; background: none; border: 0;
  }
  .nav-toggle span {
    display: block; width: 18px; height: 1.5px;
    background: #333; border-radius: 1px; transition: all 0.25s;
  }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); width: 18px; }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 18px; }

  .header-phone { font-size: 13px !important; white-space: nowrap !important; flex-shrink: 0 !important; }

  /* == 全局 == */
  .container { padding: 0 12px !important; max-width: 100% !important; }
  .section { padding: 12px 0 !important; }
  .section-head { margin-bottom: 6px !important; }
  .section-title { font-size: 1.15rem !important; line-height: 1.3 !important; }
  .section-subtitle { font-size: 0.78rem !important; }

  /* == 轮播 == */
  .hero { min-height: 45vh !important; height: auto !important; }
  .hero-slide { min-height: 45vh !important; }
  .hero-content { padding: 16px 12px !important; }
  .hero-content h1 { font-size: 1.3rem !important; margin-bottom: 8px !important; }
  .hero-content p { font-size: 0.8rem !important; margin-bottom: 12px !important; }
  .hero-arrow { width: 32px !important; height: 32px !important; font-size: 12px !important; }
  .hero-dots { bottom: 12px !important; }

  /* == Hero按钮 — 缩小字号与上下文对齐 == */
  .hero-content .btn { padding: 9px 20px !important; font-size: 13px !important; font-weight: 600 !important; border-width: 1.5px !important; gap: 5px !important; }
  .btn { padding: 10px 22px !important; font-size: 13px !important; }

  /* == 网格2列 == */
  .cat-grid, .case-grid, .product-grid, .news-grid, .service-grid {
    grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important;
  }

  /* == 产品领域卡片 == */
  .cat-card { padding: 8px 6px !important; text-align: center !important; }
  .cat-ico { width: 32px !important; height: 32px !important; font-size: 16px !important; margin: 0 auto 6px !important; border-radius: 6px !important; }
  .cat-card h3 { font-size: 14px !important; margin-bottom: 4px !important; }
  .cat-card ul li { font-size: 11px !important; padding: 2px 0 !important; }

  /* == 案例卡片 == */
  .case-card { padding: 0 !important; overflow: hidden !important; }
  .case-thumb { height: 80px !important; }
  .case-body { padding: 8px !important; }
  .case-body h3 { font-size: 13px !important; margin-bottom: 4px !important; }
  .case-cat { font-size: 10px !important; padding: 2px 6px !important; margin-bottom: 4px !important; }
  .case-rate { font-size: 11px !important; padding: 3px 6px !important; }

  /* == 技术优势/数据统计 - 隐藏 == */
  .tech-section, .tech-wrap, .stats-band { display: none !important; }

  /* == 产品/新闻卡片 == */
  .product-card .pc-body { padding: 8px !important; }
  .product-card h3 { font-size: 13px !important; }
  .product-card .pc-cat { font-size: 10px !important; }
  .news-card .nc-body { padding: 8px !important; }
  .news-card h3 { font-size: 13px !important; }

  /* == 服务卡片 == */
  .service-card { padding: 10px 8px !important; text-align: center !important; }
  .sv-ico { width: 32px !important; height: 32px !important; font-size: 16px !important; }
  .service-card h4 { font-size: 13px !important; margin-bottom: 4px !important; }
  .service-card p { font-size: 11px !important; }

  /* == CTA == */
  .cta-full { padding: 20px 0 !important; }
  .cta-full h2 { font-size: 18px !important; margin-bottom: 6px !important; }
  .cta-full p { font-size: 12px !important; margin-bottom: 10px !important; }
  .cta-full .cta-phone { font-size: 20px !important; margin-bottom: 12px !important; }
  .cta-full .btn { font-size: 13px !important; padding: 9px 22px !important; }

  /* ============================================
   * mobile-nav — 深色复刻老版设计
   * ============================================ */
  .mobile-nav {
    background: #0d1b2a !important;
    color: #e0e0e0 !important;
    width: 85% !important;
    max-width: 360px !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    inset: 0 0 0 auto !important;
    transform: translateX(100%) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    transition: transform 0.3s ease !important;
    padding: 0 !important;
    overflow-y: auto !important;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3) !important;
    z-index: 1100 !important;
  }
  .mobile-nav.is-open { transform: translateX(0) !important; top: 52px !important; }

  /* 顶栏 */
  .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    min-height: 44px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    background: rgba(0,0,0,0.15) !important;
  }
  .mobile-nav-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  .mobile-nav-brand img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
  }
  .mobile-nav .close {
    position: static !important;
    top: auto !important;
    right: auto !important;
    font-size: 24px !important;
    color: rgba(255,255,255,0.7) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 社交图标行 */
  .mobile-social-row {
    display: flex !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    overflow-x: auto !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .mobile-social-row a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.8) !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
  }
  .mobile-social-row a:hover { background: rgba(255,255,255,0.15) !important; }
  .mobile-social-row img { width: 20px !important; height: 20px !important; display: block !important; }

  /* 双列菜单 */
  .mobile-nav-cols {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .mobile-nav-col {
    padding: 14px 16px !important;
  }
  .mobile-nav-col:first-child {
    border-right: 1px solid rgba(255,255,255,0.06) !important;
  }
  .mobile-nav-col-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.45) !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
  }
  .mobile-nav-col a {
    display: block !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .mobile-nav-col a:last-child { border-bottom: none !important; }
  .mobile-nav-col a:hover { color: #60a5fa !important; }

  /* 联系我们 */
  .mobile-nav-contact {
    padding: 16px 20px !important;
  }
  .mobile-nav-contact-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.45) !important;
    margin-bottom: 10px !important;
  }
  .mobile-nav-contact a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 0 !important;
    font-size: 16px !important;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .mobile-nav-contact a:last-child { border-bottom: none !important; }
  .mobile-nav-contact a i {
    color: rgba(255,255,255,0.5) !important;
    width: 20px !important;
    text-align: center !important;
  }

  /* 隐藏旧的ul/li结构（base层样式不影响新结构） */
  .mobile-nav > ul { display: none !important; }
  .mobile-nav .header-phone { display: none !important; }
  .mobile-nav .mobile-social { display: none !important; }  /* ============================================
   * Footer — 双栏等宽 + Logo对齐
   * ============================================ */
  .site-footer { padding: 16px 0 0 !important; }
  .footer-cols {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 12px !important;
  }
  .footer-col { min-width: 0 !important; padding: 0 !important; }
  /* 品牌区：跨满两列 */
  .footer-brand {
    grid-column: 1 / -1 !important;
    order: 1 !important;
    margin-bottom: 4px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  /* == 任务1：Footer品牌区 Logo+公司名水平对齐（768px内隔离） == */
  .footer-brand-row,
  .footer-brand > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
  }
  .footer-brand-logo,
  .footer-brand img {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer-brand-name,
  .footer-brand > div:first-child > span {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* 隐藏footer内的社交图标（mobile-nav已有） */
  .footer-social { display: none !important; }
  /* 产品中心 */
  .footer-col:nth-child(2) { order: 2 !important; }
  /* 快速链接 */
  .footer-col:nth-child(3) { order: 3 !important; }
  /* 联系方式：跨满两列 */
  .footer-contact {
    grid-column: 1 / -1 !important;
    order: 4 !important;
    margin-top: 4px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }
  .footer-col h4 {
    font-size: 13px !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
  }
  .footer-col ul li { padding: 2px 0 !important; }
  .footer-col ul a {
    font-size: 11px !important;
    color: rgba(255,255,255,0.7) !important;
  }
  .footer-col ul a:hover { color: #fff !important; }
  /* footer联系方式图标统一 */
  .footer-contact i {
    width: 16px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }
  /* 底部版权 */
  .footer-bottom {
    margin-top: 10px !important;
    padding: 8px 0 !important;
    flex-direction: column !important;
    gap: 4px !important;
    border-top: none !important;
    text-align: center !important;
  }
  .footer-copyright { font-size: 10px !important; }
  .footer-links-bottom { font-size: 10px !important; }

  /* == CTA蓝条+咨询栏 字号缩小 == */
  .cta-band { padding: 16px 14px !important; }
  .cta-band h2 { font-size: 15px !important; margin-bottom: 6px !important; }
  .cta-band p { font-size: 12px !important; margin-bottom: 10px !important; }
  .cta-band .cta-phone { font-size: 15px !important; }
  .consult-bar { padding: 14px 16px !important; margin-top: 20px !important; }
  .consult-bar .cb-text h3 { font-size: 14px !important; }
  .consult-bar .cb-text p { font-size: 12px !important; }

  /* == 卡片精致化 == */
  .cat-card, .case-card, .service-card, .product-card, .news-card {
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    border: 1px solid #f0f0f0 !important;
  }
  .cat-card:hover, .case-card:hover, .service-card:hover {
    transform: none !important;
  }
}


@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .stats-grid .num { font-size: 32px; }
}

/* ============================================================
