/* ============================================================
   华林同创建材 - 企业官网改版
   主色调：#288ce2 | 辅助色：#1a6fc0 / #0d4a8a / #0a2f5c
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --primary: #288ce2;
  --primary-dark: #1a6fc0;
  --primary-darker: #0d4a8a;
  --primary-bg: #0a2f5c;
  --accent: #e8b84b;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --border: #e8ecf1;
  --bg: #fff;
  --bg-light: #f6f8fb;
  --bg-gray: #f0f3f7;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
  --font: 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
  --max-width: 1240px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }

/* ============================================================
   HEADER - 导航
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0);
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
  height: 90px;
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
  height: 72px;
}
.header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  z-index: 10;
}
.logo-img {
  width: 270px;
  height: 70px;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s;
}
.header.scrolled .logo-img {
  width: 216px;
  height: 56px;
}



/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav > li {
  position: relative;
}
.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  height: 90px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}
.header.scrolled .main-nav > li > a { color: var(--text); }
.main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 26px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.header.scrolled .main-nav > li > a::after { bottom: 20px; }
.main-nav > li:hover > a::after,
.main-nav > li.active > a::after { transform: scaleX(1); }
.main-nav > li.active > a { color: #fff !important; }
.header.scrolled .main-nav > li.active > a { color: var(--primary) !important; }

/* 下拉箭头 */
.nav-arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
  transition: transform 0.3s, opacity 0.3s;
}
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* ---------- 通栏 Mega Menu ---------- */
.mega-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 3px solid var(--primary);
  z-index: 999;
}
.main-nav > li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 没有子栏目时隐藏下拉（通过JS控制has-dropdown类） */
.main-nav > li:not(.has-dropdown) .mega-menu {
  display: none;
}
.mega-inner {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  height: 300px;
}
.mega-left {
  border-right: 1px solid var(--border-light);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}
.mega-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.mega-title-en {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.mega-divider {
  width: 30px;
  height: 3px;
  background: var(--primary);
  margin: 12px 0 16px;
}
.mega-defs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-def {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-def-arrow {
  color: var(--primary);
  margin-right: 8px;
  font-size: 12px;
  flex-shrink: 0;
}
.mega-center {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 40px;
}
.mega-nav-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.mega-nav-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mega-nav-icon span {
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.mega-nav-icon span:nth-child(2) {
  width: 12px;
}
.mega-nav-icon span:nth-child(3) {
  width: 14px;
}
.mega-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.mega-nav-en {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.mega-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
.mega-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  transition: var(--transition);
  text-decoration: none;
}
.mega-links a::before {
  content: '>>';
  font-size: 11px;
  color: var(--primary);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.mega-links a:hover::before {
  opacity: 1;
}
.mega-links a:hover .mega-link-title {
  color: var(--primary);
}
.mega-link-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s;
}
.mega-right {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  justify-content: flex-end;
}
.mega-img {
  width: 320px;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 移动端菜单 ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--text); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-overlay.active { opacity: 1; }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  padding: 80px 24px 24px;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: var(--shadow-xl);
}
.mobile-nav.active { right: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}
/* 移动端菜单新结构 */
.mobile-nav-group { }
.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}
.mobile-nav-parent {
  cursor: pointer;
  position: relative;
  padding-right: 24px;
}
.mobile-nav-parent::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  transition: transform 0.3s;
}
.mobile-nav-parent.open::after { transform: translateY(-50%) rotate(180deg); }
.mobile-nav-parent.open::after { transform: rotate(180deg); }
.mobile-nav-parent.no-arrow::after { display: none; }
.mobile-nav-sub {
  display: none;
  padding-left: 16px;
}
.mobile-nav-sub.open { display: block; }
.mobile-nav-sub a {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   BANNER - 轮播图
   ============================================================ */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--primary-bg);
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.banner-slide.active { opacity: 1; }
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: bannerZoom 12s ease-in-out infinite alternate;
}
@keyframes bannerZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,47,92,0.7) 0%, rgba(40,140,226,0.3) 100%);
  display: flex;
  align-items: center;
}
.banner-text {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.banner-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.banner-text p {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.6s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.banner-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.banner-dots span {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.banner-dots span.active {
  background: #fff;
  width: 60px;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
}
.banner-arrow:hover { background: rgba(255,255,255,0.3); }
.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

/* ============================================================
   通用 Section 样式
   ============================================================ */
.section {
  padding: 90px 0;
}
.section-alt {
  padding: 90px 0;
  background: var(--bg-light);
}

/* Section 标题 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .en {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}
.section-header .en::before,
.section-header .en::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--primary);
}
.section-header .en::before { right: calc(100% + 12px); }
.section-header .en::after { left: calc(100% + 12px); }
.section-header h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.section-header .line {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ============================================================
   首页 - 公司简介 + 快捷按钮
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--bg-light);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content .label {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  padding-right: 42px;
  position: relative;
}
.about-content .label::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--primary);
}
.about-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.4;
}
.about-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}
/* 公司简介：摘要 */
.about-desc {
  font-size: 15px;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 14px;
  font-weight: 500;
}
/* 公司简介：富文本正文 */
.about-body {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
}
.about-body p {
  margin-bottom: 14px;
  text-indent: 2em;  /* 段首缩进两字 */
}
.about-body h2 {
  display: none;  /* 首页不显示富文本内的小标题 */
}
.about-shortcuts {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.about-shortcuts a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}
.about-shortcuts a svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.about-shortcuts a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.about-shortcuts a:hover svg { color: #fff; }
.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-image .overlay-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.about-image .overlay-badge .num {
  font-size: 36px;
  font-weight: 800;
  display: block;
  line-height: 1.1;
}

/* ============================================================
   首页 - ADVANTAGE 优势
   ============================================================ */
.advantage-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #0a2f5c 0%, #0d4a8a 40%, #1a6fc0 100%);
  position: relative;
  overflow: hidden;
}
.advantage-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(40,140,226,0.15);
}
.advantage-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(232,184,75,0.08);
}
.advantage-section .section-header h2 { color: #fff; }
.advantage-section .section-header .en { color: rgba(255,255,255,0.7); }
.advantage-section .section-header .en::before,
.advantage-section .section-header .en::after { background: rgba(255,255,255,0.4); }
.advantage-section .section-header .line { background: var(--accent); }
.advantage-section .section-header p { color: rgba(255,255,255,0.65); }

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.advantage-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.advantage-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative;
}
.advantage-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.advantage-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.advantage-item h3 {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.advantage-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ============================================================
   首页 - 产品中心（滑动门 Tab）
   ============================================================ */
.product-section {
  padding: 100px 0;
  position: relative;
  background: #eaecf2;
  overflow: hidden;
}
/* ========== 建筑蓝图背景图案 ========== */
.product-section::before {
  content: '';
  position: absolute;
  inset: -20px;
  opacity: 0.06;
  background:
    /* ── 左侧建筑群 ── */
    /* A楼 - 高层写字楼 */
    linear-gradient(to right, #1a3a5c 14px, transparent 14px) 6% 8% / 14px 200px no-repeat,
    linear-gradient(to bottom, #1a3a5c 200px, transparent 200px) 6% 8% / 14px 200px no-repeat,
    /* A楼 顶部横线 */
    linear-gradient(to right, #1a3a5c 18px, transparent 18px) 4% 8% / 18px 1px no-repeat,
    /* A楼 窗户 5排4列 */
    linear-gradient(#1a3a5c 3px, transparent 3px) 7.5% 16% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 7.5% 28% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 7.5% 40% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 7.5% 52% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 7.5% 64% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 7.5% 76% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 11% 16% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 11% 28% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 11% 40% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 11% 52% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 11% 64% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 11% 76% / 3px 3px no-repeat,
    /* B楼 - 中层 */
    linear-gradient(to right, #1a3a5c 16px, transparent 16px) 10% 18% / 16px 160px no-repeat,
    linear-gradient(to bottom, #1a3a5c 160px, transparent 160px) 10% 18% / 16px 160px no-repeat,
    linear-gradient(to right, #1a3a5c 20px, transparent 20px) 8% 18% / 20px 1px no-repeat,
    /* B楼 窗户 */
    linear-gradient(#1a3a5c 4px, transparent 4px) 11.5% 26% / 4px 4px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 11.5% 40% / 4px 4px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 11.5% 54% / 4px 4px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 11.5% 68% / 4px 4px no-repeat,
    /* C楼 - 矮楼 */
    linear-gradient(to right, #1a3a5c 22px, transparent 22px) 14% 55% / 22px 100px no-repeat,
    linear-gradient(to bottom, #1a3a5c 100px, transparent 100px) 14% 55% / 22px 100px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 15% 62% / 4px 4px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 15% 76% / 4px 4px no-repeat,
    /* D楼 - 很矮 */
    linear-gradient(to right, #1a3a5c 28px, transparent 28px) 8% 82% / 28px 60px no-repeat,
    linear-gradient(to bottom, #1a3a5c 60px, transparent 60px) 8% 82% / 28px 60px no-repeat,
    /* ── 右侧建筑群（镜像） ── */
    /* E楼 - 高楼 */
    linear-gradient(to right, #1a3a5c 14px, transparent 14px) 88% 6% / 14px 210px no-repeat,
    linear-gradient(to bottom, #1a3a5c 210px, transparent 210px) 88% 6% / 14px 210px no-repeat,
    linear-gradient(to right, #1a3a5c 18px, transparent 18px) 86% 6% / 18px 1px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 89.5% 14% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 89.5% 26% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 89.5% 38% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 89.5% 50% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 89.5% 62% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 89.5% 74% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 93% 14% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 93% 26% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 93% 38% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 93% 50% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 93% 62% / 3px 3px no-repeat,
    linear-gradient(#1a3a5c 3px, transparent 3px) 93% 74% / 3px 3px no-repeat,
    /* F楼 - 中层 */
    linear-gradient(to right, #1a3a5c 18px, transparent 18px) 84% 20% / 18px 150px no-repeat,
    linear-gradient(to bottom, #1a3a5c 150px, transparent 150px) 84% 20% / 18px 150px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 85.5% 30% / 4px 4px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 85.5% 44% / 4px 4px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 85.5% 58% / 4px 4px no-repeat,
    linear-gradient(#1a3a5c 4px, transparent 4px) 85.5% 72% / 4px 4px no-repeat,
    /* G楼 - 矮 */
    linear-gradient(to right, #1a3a5c 20px, transparent 20px) 91% 60% / 20px 90px no-repeat,
    linear-gradient(to bottom, #1a3a5c 90px, transparent 90px) 91% 60% / 20px 90px no-repeat,
    /* H楼 */
    linear-gradient(to right, #1a3a5c 24px, transparent 24px) 86% 78% / 24px 70px no-repeat,
    linear-gradient(to bottom, #1a3a5c 70px, transparent 70px) 86% 78% / 24px 70px no-repeat,
    /* ── 中间远处小楼 ── */
    linear-gradient(to right, #1a3a5c 8px, transparent 8px) 35% 35% / 8px 80px no-repeat,
    linear-gradient(to bottom, #1a3a5c 80px, transparent 80px) 35% 35% / 8px 80px no-repeat,
    linear-gradient(to right, #1a3a5c 10px, transparent 10px) 38% 40% / 10px 60px no-repeat,
    linear-gradient(to bottom, #1a3a5c 60px, transparent 60px) 38% 40% / 10px 60px no-repeat,
    linear-gradient(to right, #1a3a5c 6px, transparent 6px) 42% 38% / 6px 70px no-repeat,
    linear-gradient(to bottom, #1a3a5c 70px, transparent 70px) 42% 38% / 6px 70px no-repeat,
    linear-gradient(to right, #1a3a5c 8px, transparent 8px) 62% 30% / 8px 90px no-repeat,
    linear-gradient(to bottom, #1a3a5c 90px, transparent 90px) 62% 30% / 8px 90px no-repeat,
    linear-gradient(to right, #1a3a5c 10px, transparent 10px) 58% 36% / 10px 65px no-repeat,
    linear-gradient(to bottom, #1a3a5c 65px, transparent 65px) 58% 36% / 10px 65px no-repeat,
    linear-gradient(to right, #1a3a5c 7px, transparent 7px) 55% 42% / 7px 55px no-repeat,
    linear-gradient(to bottom, #1a3a5c 55px, transparent 55px) 55% 42% / 7px 55px no-repeat;
  pointer-events: none;
}
/* 网格+透视辅助线层 */
.product-section::after {
  content: '';
  position: absolute;
  inset: -20px;
  opacity: 0.045;
  background:
    /* 地平线 */
    linear-gradient(to right, #1a3a5c 100%, transparent 100%) 0 90% / 100% 1px no-repeat,
    /* 水平网格 */
    linear-gradient(to right, #1a3a5c 100%, transparent 100%) 3% 93% / 94% 0.5px no-repeat,
    linear-gradient(to right, #1a3a5c 100%, transparent 100%) 5% 96% / 90% 0.5px no-repeat,
    /* 透视线 左组 */
    linear-gradient(158deg, #1a3a5c 0.5px, transparent 0.5px) 12% 100% / 55% 1px no-repeat,
    linear-gradient(153deg, #1a3a5c 0.5px, transparent 0.5px) 18% 98% / 48% 1px no-repeat,
    linear-gradient(148deg, #1a3a5c 0.5px, transparent 0.5px) 24% 96% / 42% 1px no-repeat,
    /* 透视线 右组 */
    linear-gradient(202deg, #1a3a5c 0.5px, transparent 0.5px) 88% 100% / 55% 1px no-repeat,
    linear-gradient(207deg, #1a3a5c 0.5px, transparent 0.5px) 82% 98% / 48% 1px no-repeat,
    linear-gradient(212deg, #1a3a5c 0.5px, transparent 0.5px) 76% 96% / 42% 1px no-repeat,
    /* 垂直辅助线 */
    linear-gradient(to bottom, #1a3a5c 0.5px, transparent 0.5px) 25% 50% / 1px 40% no-repeat,
    linear-gradient(to bottom, #1a3a5c 0.5px, transparent 0.5px) 50% 45% / 1px 45% no-repeat,
    linear-gradient(to bottom, #1a3a5c 0.5px, transparent 0.5px) 75% 50% / 1px 40% no-repeat,
    /* 尺寸标注 - 左 */
    linear-gradient(to right, #1a3a5c 30px, transparent 30px) 4% 86% / 30px 0.5px no-repeat,
    linear-gradient(to bottom, #1a3a5c 6px, transparent 6px) 4% 85.5% / 0.5px 6px no-repeat,
    linear-gradient(to bottom, #1a3a5c 6px, transparent 6px) 8% 85.5% / 0.5px 6px no-repeat,
    /* 尺寸标注 - 右 */
    linear-gradient(to right, #1a3a5c 35px, transparent 35px) 90% 84% / 35px 0.5px no-repeat,
    linear-gradient(to bottom, #1a3a5c 6px, transparent 6px) 90% 83.5% / 0.5px 6px no-repeat,
    linear-gradient(to bottom, #1a3a5c 6px, transparent 6px) 94% 83.5% / 0.5px 6px no-repeat,
    /* 圆弧标注 */
    radial-gradient(ellipse 40px 20px at 50% 92%, transparent 60%, #1a3a5c 60%, #1a3a5c 61%, transparent 61%) 50% 88% / 40px 20px no-repeat,
    /* 虚线网格（用重复小线段模拟） */
    linear-gradient(to right, #1a3a5c 4px, transparent 8px) 20% 60% / 200px 0.5px no-repeat,
    linear-gradient(to right, #1a3a5c 4px, transparent 8px) 30% 70% / 180px 0.5px no-repeat,
    /* 十字准星 */
    linear-gradient(#1a3a5c 0.5px, transparent 0.5px) 50% 20% / 1px 12px no-repeat,
    linear-gradient(to right, #1a3a5c 12px, transparent 12px) 50% 20% / 12px 0.5px no-repeat,
    linear-gradient(#1a3a5c 0.5px, transparent 0.5px) 50% 80% / 1px 12px no-repeat,
    linear-gradient(to right, #1a3a5c 12px, transparent 12px) 50% 80% / 12px 0.5px no-repeat;
  pointer-events: none;
}
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.product-tabs a {
  padding: 12px 32px;
  font-size: 15px;
  color: var(--text-light);
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
  white-space: nowrap;
}
.product-tabs a.active,
.product-tabs a:hover {
  background: var(--primary);
  color: #fff;
}

/* 资质荣誉分类标签 - 复用产品中心样式 */
.honor-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.honor-tabs a {
  padding: 12px 32px;
  font-size: 15px;
  color: var(--text-light);
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
  white-space: nowrap;
}
.honor-tabs a.active,
.honor-tabs a:hover {
  background: var(--primary);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.product-card .img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover img { transform: scale(1.1); }
.product-card .info {
  padding: 18px 16px;
}
.product-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card p {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .link-mask {
  position: absolute;
  inset: 0;
  background: rgba(40,140,226,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .link-mask { opacity: 1; }
.product-card .link-mask span {
  color: #fff;
  font-size: 14px;
  padding: 10px 28px;
  border: 2px solid #fff;
  border-radius: var(--radius);
  letter-spacing: 2px;
}

/* ============================================================
   首页 - 工程案例
   ============================================================ */
.case-section {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
/* 几何图形装饰层 */
.case-geo-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.case-geo-decor .geo {
  position: absolute;
}
/* 大圆 - 右上角 */
.geo-circle-1 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(40,140,226,0.06);
  top: -60px;
  right: 8%;
}
/* 小圆 - 左下 */
.geo-circle-2 {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(40,140,226,0.08);
  bottom: 40px;
  left: 3%;
}
/* 六边形 - 使用 clip-path */
.geo-hex-1 {
  width: 60px;
  height: 60px;
  background: rgba(232,184,75,0.12);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 25%;
  left: 5%;
  animation: geo-float 8s ease-in-out infinite;
}
.geo-hex-2 {
  width: 45px;
  height: 45px;
  background: rgba(40,140,226,0.08);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  bottom: 20%;
  right: 4%;
  animation: geo-float 10s ease-in-out infinite reverse;
}
/* 菱形 */
.geo-diamond-1 {
  width: 35px;
  height: 35px;
  background: rgba(40,140,226,0.10);
  transform: rotate(45deg);
  top: 15%;
  right: 15%;
  animation: geo-float 7s ease-in-out infinite 1s;
}
.geo-diamond-2 {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(40,140,226,0.15);
  transform: rotate(45deg);
  bottom: 30%;
  left: 12%;
  animation: geo-float 9s ease-in-out infinite 2s;
}
/* 三角形 */
.geo-tri-1 {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 34px solid rgba(40,140,226,0.07);
  top: 40%;
  right: 6%;
  animation: geo-float 11s ease-in-out infinite 0.5s;
}
/* 小圆点 */
.geo-dot-1, .geo-dot-2, .geo-dot-3 {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(40,140,226,0.15);
}
.geo-dot-1 { top: 20%; left: 18%; }
.geo-dot-2 { top: 60%; right: 20%; }
.geo-dot-3 { bottom: 15%; right: 30%; }
/* 空心圆环 */
.geo-ring-1 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(40,140,226,0.08);
  bottom: -30px;
  right: 18%;
}
@keyframes geo-float {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-12px) rotate(45deg); }
}
.case-section .container {
  position: relative;
  z-index: 1;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  border: none;
  outline: none;
  display: block;
}
.case-card:hover img { transform: scale(1.1); }
.case-card .mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(10,47,92,0.9));
  transform: translateY(60px);
  transition: transform 0.4s ease;
}
.case-card:hover .mask { transform: translateY(0); }
.case-card .mask h3 {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}
.case-card .mask p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   首页 - 为什么选择我们（线性图标）
   ============================================================ */
.why-section {
  padding: 100px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-item {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.why-item:hover { background: var(--bg-light); transform: translateY(-4px); }
.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(40,140,226,0.08), rgba(40,140,226,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.why-item:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.why-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: var(--transition);
}
.why-item:hover .why-icon svg { color: #fff; }
.why-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.why-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   首页 - 资质荣誉（图片展示特效）
   ============================================================ */
.honor-section {
  padding: 100px 0;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}
/* ========== 荣誉 - 奖杯类几何装饰 ========== */
.honor-geo-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.honor-geo-decor .hgeo {
  position: absolute;
}
/* 奖杯 - 杯身(trapezoid clip) + 底座(rectangle) */
.hgeo-trophy-1 {
  width: 50px;
  height: 50px;
  background: rgba(212,167,44,0.10);
  clip-path: polygon(30% 0%, 70% 0%, 80% 40%, 65% 45%, 60% 55%, 75% 65%, 65% 70%, 55% 100%, 45% 100%, 35% 70%, 25% 65%, 40% 55%, 35% 45%, 20% 40%);
  top: 8%;
  right: 8%;
  animation: hgeo-float 6s ease-in-out infinite;
}
.hgeo-trophy-2 {
  width: 35px;
  height: 35px;
  background: rgba(212,167,44,0.07);
  clip-path: polygon(30% 0%, 70% 0%, 80% 40%, 65% 45%, 60% 55%, 75% 65%, 65% 70%, 55% 100%, 45% 100%, 35% 70%, 25% 65%, 40% 55%, 35% 45%, 20% 40%);
  bottom: 15%;
  left: 5%;
  animation: hgeo-float 8s ease-in-out infinite 1s;
}
.hgeo-trophy-3 {
  width: 28px;
  height: 28px;
  background: rgba(40,140,226,0.06);
  clip-path: polygon(30% 0%, 70% 0%, 80% 40%, 65% 45%, 60% 55%, 75% 65%, 65% 70%, 55% 100%, 45% 100%, 35% 70%, 25% 65%, 40% 55%, 35% 45%, 20% 40%);
  top: 50%;
  right: 3%;
  animation: hgeo-float 7s ease-in-out infinite 2s;
}
/* 奖牌 - 圆形 + 内圆镂空 */
.hgeo-medal-1 {
  width: 44px;
  height: 44px;
  background: rgba(212,167,44,0.12);
  border-radius: 50%;
  top: 12%;
  left: 10%;
  box-shadow: inset 0 0 0 8px var(--bg-light), inset 0 0 0 10px rgba(212,167,44,0.12);
  animation: hgeo-spin 20s linear infinite;
}
.hgeo-medal-2 {
  width: 30px;
  height: 30px;
  background: rgba(40,140,226,0.08);
  border-radius: 50%;
  bottom: 10%;
  right: 12%;
  box-shadow: inset 0 0 0 6px var(--bg-light), inset 0 0 0 8px rgba(40,140,226,0.08);
  animation: hgeo-spin 15s linear infinite reverse;
}
/* 星星 - 五角星 */
.hgeo-star-1 {
  width: 32px;
  height: 32px;
  background: rgba(212,167,44,0.10);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 30%;
  left: 4%;
  animation: hgeo-twinkle 3s ease-in-out infinite;
}
.hgeo-star-2 {
  width: 22px;
  height: 22px;
  background: rgba(40,140,226,0.08);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 60%;
  left: 15%;
  animation: hgeo-twinkle 4s ease-in-out infinite 0.5s;
}
.hgeo-star-3 {
  width: 18px;
  height: 18px;
  background: rgba(212,167,44,0.08);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  bottom: 25%;
  right: 6%;
  animation: hgeo-twinkle 3.5s ease-in-out infinite 1s;
}
/* 绶带 - 长条菱形 */
.hgeo-ribbon-1 {
  width: 12px;
  height: 70px;
  background: rgba(212,167,44,0.08);
  transform: rotate(-25deg);
  top: 5%;
  left: 20%;
  border-radius: 2px;
  animation: hgeo-float 9s ease-in-out infinite 0.5s;
}
.hgeo-ribbon-2 {
  width: 10px;
  height: 55px;
  background: rgba(40,140,226,0.06);
  transform: rotate(20deg);
  bottom: 8%;
  right: 18%;
  border-radius: 2px;
  animation: hgeo-float 10s ease-in-out infinite 1.5s;
}
/* 菱形 */
.hgeo-diamond-1 {
  width: 24px;
  height: 24px;
  background: rgba(212,167,44,0.09);
  transform: rotate(45deg);
  top: 70%;
  left: 8%;
  animation: hgeo-float 7s ease-in-out infinite 1s;
}
/* 大空心圆 */
.hgeo-circle-1 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(40,140,226,0.06);
  bottom: -20px;
  right: 25%;
}
/* 动画 */
@keyframes hgeo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes hgeo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes hgeo-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.honor-section .container {
  position: relative;
  z-index: 1;
}
.honor-scroll-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
}
.honor-scroll {
  display: flex;
  gap: 24px;
  animation: honorScroll 30s linear infinite;
  width: max-content;
}
.honor-scroll:hover { animation-play-state: paused; }

/* ============================================================
   首页 - 新闻中心
   ============================================================ */
.news-section {
  padding: 100px 0;
  background: #fff;
}
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.news-tabs a {
  padding: 12px 32px;
  font-size: 15px;
  color: var(--text-light);
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
  white-space: nowrap;
}
.news-tabs a.active,
.news-tabs a:hover {
  background: var(--primary);
  color: #fff;
}
.news-main {
  position: relative;
}
.news-panel {
  display: none;
}
.news-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.news-panel[data-panel="6"],
.news-panel[data-panel="7"] {
  display: none;
}
.news-panel[data-panel="6"].active,
.news-panel[data-panel="7"].active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
/* 左侧推荐新闻 */
.news-featured {
  display: block;
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.news-featured:hover {
  box-shadow: 0 8px 32px rgba(40,140,226,0.18);
  transform: translateY(-4px);
}
.news-featured:hover .feat-img img {
  transform: scale(1.04);
}
.feat-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}
.feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feat-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-weight: 500;
}
.feat-info {
  padding: 20px 24px 24px;
}
.feat-info h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s;
}
.news-featured:hover .feat-info h3 {
  color: var(--primary);
}
.feat-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}
.feat-date {
  font-size: 13px;
  color: var(--text-secondary);
}
/* 右侧新闻列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.news-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(40,140,226,0.06), transparent);
  transition: width 0.3s ease;
}
.news-item:hover::before {
  width: 100%;
}
.news-item:hover {
  padding-left: 8px;
}
.news-item:hover .item-info h4 {
  color: var(--primary);
}
.news-item:hover .item-date {
  color: var(--primary);
}
.item-info {
  flex: 1;
}
.item-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.3s;
}
.item-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}
.item-date {
  font-size: 12px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

/* ============================================================
   首页 - 为什么选择我们
   ============================================================ */
.why-section {
  padding: 100px 0;
  background: var(--bg-gray);
  position: relative;
  overflow: hidden;
}
/* 柔和线条装饰 */
.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, transparent 39.5%, rgba(40,140,226,0.04) 39.5%, rgba(40,140,226,0.04) 40%, transparent 40%),
    linear-gradient(225deg, transparent 39.5%, rgba(40,140,226,0.04) 39.5%, rgba(40,140,226,0.04) 40%, transparent 40%),
    linear-gradient(315deg, transparent 59.5%, rgba(232,184,75,0.04) 59.5%, rgba(232,184,75,0.04) 60%, transparent 60%),
    linear-gradient(45deg, transparent 59.5%, rgba(232,184,75,0.04) 59.5%, rgba(232,184,75,0.04) 60%, transparent 60%);
  background-size: 60px 60px;
  pointer-events: none;
}
/* 右上角圆形装饰 */
.why-section::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(40,140,226,0.06);
  pointer-events: none;
}
.why-section .container {
  position: relative;
  z-index: 1;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.why-item {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.why-item:hover::before {
  transform: scaleX(1);
}
.why-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(40,140,226,0.12);
}
.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.why-icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
}
.why-item:hover .why-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(40,140,226,0.3);
}
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.why-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   首页 - 合作伙伴（图片模式）
   ============================================================ */
.partner-section {
  padding: 100px 0;
  background: #fff;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.partner-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.partner-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(40,140,226,0.15);
  border-color: transparent;
}
.partner-item:hover::before {
  opacity: 1;
}
.partner-item img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}
.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ============================================================
   公共 - 友情链接
   ============================================================ */
.friend-links {
  height: 50px;
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.friend-links .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.links-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.links-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.links-wrap a {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
  position: relative;
}
.links-wrap a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s;
}
.links-wrap a:hover {
  color: var(--primary);
}
.links-wrap a:hover::after {
  width: 100%;
}

@keyframes honorScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.honor-item {
  flex-shrink: 0;
  width: 240px;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.honor-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}
.honor-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.honor-item:hover img { transform: scale(1.1); }
.honor-item .shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.honor-item:hover .shine { left: 150%; }

/* ============================================================
   关于我们 - 视频展示模块
   ============================================================ */
.video-section {
  padding: 60px 0 80px;
  background: var(--bg-light);
}
.video-wrap {
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #000;
}
.company-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  outline: none;
}
/* 视频控件主题色 */
.company-video::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

/* ============================================================
   首页 - 联系我们
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f3f7 0%, #e8ecf1 100%);
  position: relative;
}
.contact-section .section-header h2 { color: var(--text); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.contact-card:hover::before { transform: scaleX(1); }
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.contact-card:hover .contact-icon {
  border-radius: 16px;
}
.contact-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}
.contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   FOOTER - 高级灰
   ============================================================ */
.footer {
  background: #1c2331;
  color: rgba(255,255,255,0.65);
  padding: 60px 0 0;
}
/* 移动端底部导航 - 默认隐藏 */
.mobile-bottom-nav { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.footer p { font-size: 13px; line-height: 1.9; margin-bottom: 8px; }
.footer .company-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
  margin-top: 16px;
}
.footer a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  transition: var(--transition);
}
.footer a:hover { color: var(--primary); padding-left: 6px; }
.footer .contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer .contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-copyright {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  margin: 0;
}
.footer-copyright a {
  display: inline;  /* 覆盖 .footer a { display: block } */
  color: rgba(255,255,255,0.35);
}

/* 回到顶部 */
.back-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(40,140,226,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================
   内页 - Banner 通栏
   ============================================================ */
.page-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  background: linear-gradient(135deg, #0a2f5c 0%, #1a6fc0 60%, #288ce2 100%);
}
.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,47,92,0.75) 0%, rgba(40,140,226,0.45) 100%);
}
.page-banner .banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-banner h1 {
  font-size: 38px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.page-banner .subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
}

/* 面包屑 */
.breadcrumb-bar {
  background: var(--bg-gray);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ============================================================
   内页 - 内容区
   ============================================================ */
.page-content {
  padding: 60px 0;
  min-height: 500px;
}

/* ============================================================
   内页 - 筛选 Tab
   ============================================================ */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.filter-tabs a {
  padding: 10px 28px;
  font-size: 14px;
  color: var(--text-light);
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
  white-space: nowrap;
}
.filter-tabs a.active,
.filter-tabs a:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   列表页 - 产品展示样式
   ============================================================ */
.list-product .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.list-product .product-card .img-wrap {
  aspect-ratio: 1/1;
}

/* ============================================================
   列表页 - 工程案例样式
   ============================================================ */
.list-case .case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.list-case .case-card {
  aspect-ratio: 4/3;
}

/* ============================================================
   列表页 - 设备样式
   ============================================================ */
.list-equip .equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.equip-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.equip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.equip-card .img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.equip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.equip-card:hover img { transform: scale(1.08); }
.equip-card .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}
.equip-card .info {
  padding: 20px;
}
.equip-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.equip-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   列表页 - 资质荣誉样式
   ============================================================ */
.list-honor .honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.list-honor .honor-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.list-honor .honor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.list-honor .honor-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.list-honor .honor-card:hover img { transform: scale(1.05); }
.list-honor .honor-card .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 14px 14px;
  background: linear-gradient(transparent, rgba(10,47,92,0.9));
}
.list-honor .honor-card h3 {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

/* ============================================================
   列表页 - 新闻样式
   ============================================================ */
.list-news .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.news-card .img-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover img { transform: scale(1.08); }
.news-card .info {
  padding: 20px;
}
.news-card .date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.news-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   分页
   ============================================================ */
.pagebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.pagebar > span {
  display: inline-flex;
  align-items: center;
}
.pagebar > span > a,
.pagebar .page-numbar > a,
.pagebar .page-numbar > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  margin: 0 2px;
}
.pagebar > span > a:hover,
.pagebar .page-numbar > a:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(40,140,226,0.05);
}
.pagebar .page-current {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
.pagebar .page-status {
  font-size: 13px;
  color: var(--text-light);
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  padding: 0 14px;
  background: #fff !important;
  margin: 0 2px;
  transition: var(--transition);
}

/* ============================================================
   上一篇 / 下一篇导航
   ============================================================ */
.detail-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-secondary);
}
.detail-tags .tags-label {
  color: var(--text-secondary);
  font-weight: 600;
}
.detail-tags a {
  color: var(--primary);
  text-decoration: none;
  padding: 2px 10px;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: 12px;
  transition: var(--transition);
}
.detail-tags a:hover {
  background: var(--primary);
  color: #fff;
}

.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 0;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.detail-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--transition);
  text-decoration: none;
  min-height: 52px;
}
.detail-nav a:hover {
  border-color: var(--primary);
  background: rgba(40,140,226,0.03);
}
.detail-nav a:not([href]),
.detail-nav a[href=""] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}
.detail-nav .label {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* 箭头 */
.detail-nav a:first-child .label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232b7de9' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") no-repeat center/contain;
}
.detail-nav a:last-child .label {
  flex-shrink: 0;
}
.detail-nav a:last-child .label::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232b7de9' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 6 15 12 9 18'/%3E%3C/svg%3E") no-repeat center/contain;
}
.detail-nav .title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* ============================================================
   详情页
   ============================================================ */
.detail-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}
.detail-content h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
}
.detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.detail-body {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}
.detail-body img {
  max-width: 100%;
  margin: 20px 0;
  border-radius: var(--radius);
}


/* ============================================================
   单页模板 - 关于我们
   ============================================================ */
.about-page-content {
  padding: 60px 0;
}
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
/* 关于页面 - 隐藏ABOUT US左侧横线 */
.about-page-no-before::before {
  display: none !important;
}
.about-page-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}
.about-page-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 16px;
}
.about-page-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-page-image img {
  width: 100%;
  height: auto;
}

/* ============================================================
   单页模板 - 联系我们（带表单+地图）
   ============================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-info-card:hover { background: #fff; box-shadow: var(--shadow); }
.contact-info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-card .icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}
.contact-info-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 13px;
  color: var(--text-muted);
}
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  transition: var(--transition);
  background: var(--bg-light);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40,140,226,0.1);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(40,140,226,0.3); }

/* ============================================================
   动画
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .advantage-grid,
  .why-grid,
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid,
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-page-grid,
  .contact-page-grid { grid-template-columns: 1fr; }
  .list-product .product-grid,
  .list-case .case-grid,
  .list-news .news-grid,
  .list-equip .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .list-honor .honor-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .header {
    height: 70px;
    background: rgba(255,255,255,0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header.scrolled {
    height: 60px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .main-nav { display: none; }
  .menu-toggle { display: flex; background: rgba(0,0,0,0.2); border-radius: 4px; }
  .menu-toggle span { background: #fff; }
  .menu-toggle.active span { background: #fff; }
  .footer-bottom { white-space: normal; font-size: 12px; }
  .footer-copyright { white-space: normal; }
  .mobile-overlay, .mobile-nav { display: block; }
  .mobile-overlay { opacity: 0; pointer-events: none; }
  .mobile-overlay.active { opacity: 1; pointer-events: auto; }
  .mega-menu { display: none !important; }
  .logo-img { width: 180px; height: 47px; }
  .header.scrolled .logo-img { width: 160px; height: 42px; }

  .banner { height: 60vh; min-height: 400px; }
  .banner-text h1 { font-size: 28px; }
  .banner-text p { font-size: 16px; }
  .banner-arrow { width: 36px; height: 36px; font-size: 14px; }
  .banner-arrow.prev { left: 10px; }
  .banner-arrow.next { right: 10px; }

  .section { padding: 60px 0; }
  .section-alt { padding: 60px 0; }
  .section-header h2 { font-size: 26px; margin-bottom: 10px; }
  .section-header .en { font-size: 11px; }

  .advantage-grid,
  .why-grid,
  .contact-grid,
  .product-grid,
  .case-grid,
  .list-product .product-grid,
  .list-case .case-grid,
  .list-news .news-grid,
  .list-equip .equip-grid,
  .list-honor .honor-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .page-banner { height: 300px; margin-top: 0; z-index: 1; }
  .page-banner h1 { font-size: 26px; }
  .header { z-index: 1001; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "col1 col1"
      "col2 col3"
      "col4 col4";
    gap: 24px;
  }
  .footer-grid > div:nth-child(1) { grid-area: col1; }
  .footer-grid > div:nth-child(2) { grid-area: col2; }
  .footer-grid > div:nth-child(3) { grid-area: col3; }
  .footer-grid > div:nth-child(4) { grid-area: col4; }
  .footer h4 { font-size: 14px; margin-bottom: 16px; }
  .footer a { font-size: 12px; padding: 3px 0; }
  .footer .contact-item { margin-bottom: 8px; }
  .footer-bottom { padding: 16px 0; font-size: 12px; }
  .footer-copyright { white-space: normal; overflow: visible; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-form h3 { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; }

  .product-tabs { flex-wrap: wrap; }
  .filter-tabs { flex-wrap: wrap; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }

  /* 新闻中心手机端：推荐新闻横排，列表在下 */
  .news-section { padding: 60px 0; }
  .news-tabs { flex-wrap: wrap; }
  .news-tabs a { padding: 10px 20px; font-size: 14px; }
  .news-panel.active,
  .news-panel[data-panel="6"].active,
  .news-panel[data-panel="7"].active {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feat-img { height: 180px; }
  .feat-info { padding: 16px 18px 20px; }
  .feat-info h3 { font-size: 17px; }
  .news-list { gap: 0; }
  .news-item { padding: 16px 0; }
  .item-info h4 { font-size: 14px; }

  /* 移动端底部导航 */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 900;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 11px;
    gap: 4px;
    border-right: 1px solid var(--border);
  }
  .mobile-bottom-item:last-child { border-right: none; }
  .mobile-bottom-item svg {
    width: 22px;
    height: 22px;
  }
  .mobile-bottom-item span {
    white-space: nowrap;
  }
  .mobile-bottom-call {
    color: var(--primary);
    font-weight: 600;
  }

  /* 底部导航占位，防止内容被遮挡 */
  .footer { padding-bottom: 80px; }

  /* 回到顶部按钮位置 */
  .back-top { bottom: 20px; right: 16px; }

  /* 工程案例卡片 - 标题溢出处理 */
  .case-card .mask { transform: translateY(0); padding: 30px 12px 12px; }
  .case-card:hover .mask { transform: translateY(0); }
  .case-card .mask h3 {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .case-card .mask p { display: none; }

  /* 合作伙伴 - 修复错位 */
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-item {
    padding: 16px 10px;
    min-height: 80px;
  }
  .partner-item img {
    max-height: 50px;
    max-width: 100%;
  }
  .partner-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    word-break: break-word;
    line-height: 1.4;
  }

  /* 友情链接 - 手机端自适应 */
  .friend-links {
    height: auto;
    padding: 16px 0;
  }
  .friend-links .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .links-wrap {
    gap: 8px 16px;
  }
  .links-wrap a {
    white-space: normal;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .advantage-grid,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-shortcuts { flex-direction: column; }
  .about-shortcuts a { width: 100%; justify-content: center; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "col1 col1"
      "col2 col3"
      "col4 col4";
    gap: 20px;
  }
  .footer-grid > div:nth-child(1) { grid-area: col1; }
  .footer-grid > div:nth-child(2) { grid-area: col2; }
  .footer-grid > div:nth-child(3) { grid-area: col3; }
  .footer-grid > div:nth-child(4) { grid-area: col4; }
  .list-honor .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-nav { grid-template-columns: 1fr; gap: 12px; }
  .detail-nav .title { white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-item { padding: 14px 8px; min-height: 70px; }
  .partner-item img { max-height: 45px; }
  .partner-item a { font-size: 11px; }
  /* 友情链接 - 480px */
  .friend-links { padding: 12px 0; }
  .links-wrap a { font-size: 11px; }
  /* 工程案例卡片 - 480px */
  .case-card .mask { padding: 24px 10px 10px; }
  .case-card .mask h3 { font-size: 12px; }
  .back-top { bottom: 24px; right: 20px; z-index: 800; }
}
