/* ============================================================
   四川商舟实业有限公司 — 主题样式
   设计风格：工业矿石 · 深邃大气 · 专业展示型
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS 变量 & 主题色
   ============================================================ */
:root {
  /* 主色系 */
  --c-bg:          #0d0f12;        /* 深矿石黑 */
  --c-bg2:         #141720;        /* 次级背景 */
  --c-bg3:         #1c2130;        /* 卡片背景 */
  --c-surface:     #232a3a;        /* 表面层 */
  --c-border:      rgba(78,180,160,0.15);

  --c-accent:      #3ec9a7;        /* 磷矿蓝绿 */
  --c-accent2:     #1a9e82;        /* 深磷绿 */
  --c-gold:        #c8a96e;        /* 矿石金 */
  --c-glow:        rgba(62,201,167,0.12);

  --c-text:        #d4dde8;        /* 主文字 */
  --c-text2:       #8a9ab5;        /* 次文字 */
  --c-heading:     #eef2f7;        /* 标题 */
  --c-white:       #ffffff;

  /* 字体 */
  --font-serif:    'Noto Serif SC', 'SimSun', serif;
  --font-display:  'Rajdhani', 'Impact', sans-serif;
  --font-body:     'Noto Serif SC', 'Microsoft YaHei', sans-serif;

  /* 间距 */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  /* 动效 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   全局重置
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-white); }
ul { list-style: none; }

/* ============================================================
   辅助类
   ============================================================ */
.pt30 { height: 30px; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   纹理层（全局矿石纹理叠加）
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   导航栏
   ============================================================ */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(13, 15, 18, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s, background .3s;
}

.nav-wrapper.scrolled {
  background: rgba(13, 15, 18, 0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
}
.logo img {
  height: 46px;
  width: auto;
  filter: brightness(1.1);
}

/* 顶部导航 */
.top-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.top-nav li {
  position: relative;
}

.top-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--c-text2);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.top-nav li.active > a,
.top-nav > ul > li > a:hover {
  color: var(--c-accent);
  background: var(--c-glow);
}

.top-nav li.active > a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}

/* 下拉菜单 */
.nav-dropdown {
  position: absolute;
  top: 100%;            /* 紧贴父项底部，消除悬停缝隙 */
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: rgba(20, 23, 32, 0.98);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 12px 0 8px; /* 顶部 12px 内边距替代 top 偏移，视觉效果不变 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(62,201,167,0.08);
  backdrop-filter: blur(20px);
}

.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.88rem;
  color: var(--c-text2);
  white-space: nowrap;
  border-left: 2px solid transparent;
  transition: all .2s;
}

.nav-dropdown a:hover {
  color: var(--c-accent);
  border-left-color: var(--c-accent);
  background: var(--c-glow);
  padding-left: 24px;
}

.top-nav li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown--empty { display: none; }
.fa-angle-down { font-size: 0.75em; transition: transform .25s; }
.top-nav li:hover .fa-angle-down { transform: rotate(180deg); }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 10px;
}

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all .3s var(--ease-out);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单 */
.mobile-nav {
  position: fixed;
  top: 72px; right: -100%;
  width: 280px; height: calc(100vh - 72px);
  background: rgba(14, 17, 24, 0.99);
  border-left: 1px solid var(--c-border);
  backdrop-filter: blur(20px);
  z-index: 999;
  overflow-y: auto;
  transition: right .35s var(--ease-out);
  padding: 20px 0;
}

.mobile-nav.open { right: 0; }

.mobile-nav ul { padding: 0; }
.mobile-nav li a {
  display: block;
  padding: 14px 28px;
  color: var(--c-text);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all .2s;
}
.mobile-nav li.active a,
.mobile-nav li a:hover {
  color: var(--c-accent);
  background: var(--c-glow);
  padding-left: 36px;
}

/* ============================================================
   返回顶部
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 36px; right: 32px;
  width: 46px; height: 46px;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-accent);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease-out);
  z-index: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
#back-to-top.show {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--c-accent);
  color: var(--c-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(62,201,167,0.3);
}

/* ============================================================
   首页 Banner 轮播
   ============================================================ */
.banner-swiper {
  position: relative;
  width: 100%;
  height: 620px;
  margin-top: 72px;
  overflow: hidden;
}

.banner-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.banner-swiper .swiper-slide img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.banner-swiper .swiper-slide-active img {
  transform: scale(1);
}

/* Banner 渐变遮罩 */
.banner-swiper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,15,18,0.7) 0%,
    rgba(13,15,18,0.2) 60%,
    transparent 100%
  ),
  linear-gradient(
    to top,
    rgba(13,15,18,0.8) 0%,
    transparent 40%
  );
  z-index: 2;
  pointer-events: none;
}

/* Banner 文字叠加（通过伪元素+CSS可选渲染） */
.banner-caption {
  position: absolute;
  bottom: 90px; left: 0;
  width: 50%;
  padding: 0 60px;
  z-index: 5;
}
.banner-caption h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--c-white);
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  margin-bottom: 16px;
}
.banner-caption p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}
.banner-caption .btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  border-radius: var(--radius-sm);
  transition: all .3s;
}
.banner-caption .btn-primary-outline:hover {
  background: var(--c-accent);
  color: var(--c-bg);
  box-shadow: 0 0 30px rgba(62,201,167,0.4);
}

/* Swiper 控件 */
.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
  color: var(--c-accent);
  background: rgba(13,15,18,0.5);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  transition: all .2s;
}
.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: bold;
}
.banner-swiper .swiper-button-prev:hover,
.banner-swiper .swiper-button-next:hover {
  background: var(--c-accent);
  color: var(--c-bg);
}

.banner-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
  width: 28px; height: 3px;
  border-radius: 2px;
  transition: all .3s;
}
.banner-swiper .swiper-pagination-bullet-active {
  background: var(--c-accent);
  width: 48px;
  box-shadow: 0 0 8px var(--c-accent);
}

/* ============================================================
   统计数字条（首页Banner下方）
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 10;
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: 1px solid var(--c-border);
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--c-border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-item .unit {
  font-size: 0.85rem;
  color: var(--c-accent);
}
.stat-item .label {
  font-size: 0.82rem;
  color: var(--c-text2);
  margin-top: 6px;
  letter-spacing: 0.08em;
}

/* ============================================================
   版块标题
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 0;
}

.section-title > :first-child, /* 兼容DedeCMS输出的字段 */
.section-title-cn {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--c-heading);
  letter-spacing: 0.1em;
  display: block;
}

.section-title p,
.section-title-en {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--c-text2);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 8px 0 20px;
  display: block;
}

.section-title-line {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--c-accent);
  margin: 0 auto;
  box-shadow: 0 0 12px var(--c-accent);
}

/* ============================================================
   首页 — 企业文化版块
   ============================================================ */
.main1 {
  background: var(--c-bg2);
  padding: 60px 0;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 40px;
}

.culture-item {
  background: var(--c-bg3);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all .4s var(--ease-out);
  overflow: hidden;
}

.culture-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}

.culture-item:hover { background: var(--c-surface); transform: translateY(-4px); }
.culture-item:hover::before { transform: scaleX(1); }

.culture-item .icon {
  width: 60px; height: 60px;
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--c-accent);
  transition: all .4s;
}
.culture-item:hover .icon {
  border-color: var(--c-accent);
  background: var(--c-glow);
  box-shadow: 0 0 20px rgba(62,201,167,0.3);
}

.culture-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--c-heading);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.culture-item p {
  font-size: 0.82rem;
  color: var(--c-text2);
  line-height: 1.8;
}

/* ============================================================
   首页 — 公司简介版块
   ============================================================ */
.main2 {
  padding: 80px 0;
  position: relative;
  background: var(--c-bg);
}

.main2::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(62,201,167,0.03) 100%);
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 50px;
}

.about-text {
  position: relative;
}

.about-text .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--c-glow);
  border: 1px solid var(--c-border);
  border-radius: 30px;
  font-size: 0.78rem;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.about-text .tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px var(--c-accent);
}

/* 修改后：简介区域自适应高度 */
.jj {
  font-size: 0.93rem;
  color: var(--c-text2);
  line-height: 2;
  /* max-height: 280px;    ← 移除最大高度限制 */
  /* overflow: hidden;     ← 移除溢出隐藏，内容完全可见 */
  position: relative;
}

/* 移除渐变遮罩层（不再需要截断效果） */
.jj::after {
  display: none;
}

.about-visual {
  position: relative;
}

.about-visual .video-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(62,201,167,0.1);
}

.about-visual video {
  width: 100%;
  display: block;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border-top: 2px solid var(--c-accent);
  border-right: 2px solid var(--c-accent);
  border-radius: 0 var(--radius-md) 0 0;
  opacity: 0.4;
  pointer-events: none;
}

.about-visual::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 80px; height: 80px;
  border-bottom: 2px solid var(--c-gold);
  border-left: 2px solid var(--c-gold);
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   首页 — 产品展示版块
   ============================================================ */
.main3 {
  padding: 80px 0;
  background: var(--c-bg2);
  position: relative;
  overflow: hidden;
}

.main3::before {
  content: 'PRODUCT';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 18vw;
  font-weight: 700;
  color: rgba(255,255,255,0.015);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.prod-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .4s var(--ease-out);
  position: relative;
}

.prod-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color .4s;
  pointer-events: none;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(62,201,167,0.1);
}

.prod-card:hover::after {
  border-color: var(--c-accent);
}

.prod-card .img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.prod-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.prod-card:hover img { transform: scale(1.06); }

.prod-card h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--c-text);
  padding: 14px 16px;
  text-align: center;
  transition: color .2s;
  line-height: 1.6;
}

.prod-card:hover h3 { color: var(--c-accent); }

/* ============================================================
   首页 — 新闻版块
   ============================================================ */
.main4 {
  padding: 80px 0;
  background: var(--c-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 50px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.news-card {
  padding: 28px 32px;
  border-bottom: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  background: var(--c-bg2);
  position: relative;
  transition: all .3s;
  overflow: hidden;
}

.news-card:nth-child(even) { border-right: none; }
.news-card:nth-last-child(1),
.news-card:nth-last-child(2) { border-bottom: none; }

.news-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c-accent);
  transform: scaleY(0);
  transition: transform .4s var(--ease-out);
  transform-origin: bottom;
}

.news-card:hover {
  background: var(--c-bg3);
}

.news-card:hover::before { transform: scaleY(1); }

.news-card h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-heading);
  margin-bottom: 10px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card h3 a { color: inherit; transition: color .2s; }
.news-card h3 a:hover { color: var(--c-accent); }

.news-card .desc {
  font-size: 0.82rem;
  color: var(--c-text2);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.news-card .meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--c-text2);
}

.news-card .meta span { display: flex; align-items: center; gap: 5px; }
.news-card .meta i { color: var(--c-accent); font-size: 0.75rem; }

/* ============================================================
   通用按钮
   ============================================================ */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 38px;
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
  transition: all .3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
  z-index: 0;
}

.btn-more span, .btn-more i { position: relative; z-index: 1; }

.btn-more:hover {
  color: var(--c-bg);
  box-shadow: 0 0 24px rgba(62,201,167,0.35);
}
.btn-more:hover::before { transform: scaleX(1); }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  padding: 60px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c-accent) 50%, transparent 100%);
  opacity: 0.4;
}

.footer .row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer dl dt {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--c-heading);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
  position: relative;
}

.footer dl dt::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 24px; height: 1px;
  background: var(--c-accent);
}

.footer dl dt a { color: var(--c-heading); }

.footer dl dd {
  margin-bottom: 10px;
}

.footer dl dd a {
  font-size: 0.82rem;
  color: var(--c-text2);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer dl dd a:hover { color: var(--c-accent); padding-left: 4px; }

.contact-col dd {
  font-size: 0.82rem;
  color: var(--c-text2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-col dd i { color: var(--c-accent); margin-top: 3px; flex-shrink: 0; }

.footer-links {
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--c-text2);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links img {
  height: 28px;
  width: auto;
  filter: grayscale(0.5) opacity(0.7);
  transition: filter .2s;
}
.footer-links img:hover { filter: grayscale(0) opacity(1); }

.footer-copy {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--c-border);
  padding: 16px 0;
  font-size: 0.78rem;
  color: var(--c-text2);
  text-align: center;
}

.footer-copy a { color: var(--c-text2); }
.footer-copy a:hover { color: var(--c-accent); }

/* ============================================================
   内页公共 — Banner
   ============================================================ */
.page-banner {
  position: relative;
  margin-top: 72px;
  height: 300px;
  overflow: hidden;
}

.page-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.7);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(62,201,167,0.08) 0%,
    transparent 60%
  );
  z-index: 1;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--c-bg) 0%, transparent 100%);
  z-index: 2;
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb-bar {
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  padding: 12px 0;
}

.breadcrumb-bar,
.breadcrumb-bar a,
.breadcrumb-bar span {
  font-size: 0.82rem;
  color: var(--c-text2);
}

.breadcrumb-bar a:hover { color: var(--c-accent); }

.breadcrumb-bar .position a:last-of-type,
.breadcrumb-bar a.active { color: var(--c-accent); }

/* DedeCMS position 输出的样式修正 */
.breadcrumb-bar .position { display: flex; align-items: center; gap: 6px; }

/* ============================================================
   内页 — 内容区公共布局
   ============================================================ */
.news-section {
  padding: 50px 0 70px;
  background: var(--c-bg);
}

/* ── 左侧内容 ── */
.news_left {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 36px;
}

/* ── 右侧边栏 ── */
.news_right {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 88px;
}

/* 侧边栏搜索 */
.sidebar-search {
  display: flex;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-search .ipt {
  flex: 1;
  padding: 10px 14px;
  background: var(--c-bg3);
  border: none;
  color: var(--c-text);
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-body);
}

.sidebar-search .ipt::placeholder { color: var(--c-text2); }

.sidebar-search .btn-search {
  padding: 10px 16px;
  background: var(--c-accent);
  border: none;
  color: var(--c-bg);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background .2s;
}
.sidebar-search .btn-search:hover { background: var(--c-accent2); }

/* 侧边栏标题 */
.sidebar-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--c-heading);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
  position: relative;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 20px; height: 1px;
  background: var(--c-accent);
}

.news_right ul li {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.news_right ul li a {
  display: block;
  padding: 9px 0;
  font-size: 0.82rem;
  color: var(--c-text2);
  transition: all .2s;
  padding-left: 12px;
  border-left: 2px solid transparent;
}

.news_right ul li a:hover {
  color: var(--c-accent);
  border-left-color: var(--c-accent);
  padding-left: 16px;
}

/* 侧边栏子栏目 */
.news_menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news_menu a {
  display: block;
  padding: 9px 16px;
  font-size: 0.85rem;
  color: var(--c-text2);
  background: var(--c-bg3);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all .2s;
}

.news_menu a:hover,
.news_menu a.on {
  color: var(--c-accent);
  border-color: var(--c-border);
  background: var(--c-glow);
}

/* ============================================================
   文章详情页
   ============================================================ */
.article-wrap h1 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--c-heading);
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}

.hdwz {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hdwz span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--c-text2);
}
.hdwz i { color: var(--c-accent); }

.body-content {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--c-text);
}

.body-content h2, .body-content h3 {
  font-family: var(--font-serif);
  color: var(--c-heading);
  margin: 28px 0 14px;
}

.body-content p { margin-bottom: 16px; }

.body-content img {
  max-width: 100% !important; /* 覆盖编辑器内联 style="width:Xpx" */
  width: auto !important;     /* 让宽度随容器收缩，不固定像素 */
  height: auto !important;    /* 覆盖 CMS 内联 height，保持等比 */
  display: block;
  border-radius: var(--radius-sm);
  margin: 16px auto;
  border: 1px solid var(--c-border);
}

.body-content a { color: var(--c-accent); }

/* ============================================================
   列表页 — 文章列表
   ============================================================ */
.left_con li {
  display: flex;
  align-items: flex-start;  /* 图片顶部对齐，不随内容拉伸 */
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-border);
  transition: all .3s;
}

.left_con li:last-child { border-bottom: none; }
.left_con li:hover { transform: translateX(4px); }

.media_img {
  flex-shrink: 0;
}

.media_img .img1 {
  width: 160px;           /* 固定宽度，高度随图片比例自动撑开 */
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--c-border);
  flex-shrink: 0;
}

.media_img .img1 img {
  width: 100%;
  height: auto !important;  /* 强制等比：覆盖 DedeCMS 输出的行内 height 属性 */
  display: block;
  object-fit: unset;
  transition: transform .5s;
}

.left_con li:hover .img1 img { transform: scale(1.05); }

.media_con { flex: 1; min-width: 0; }

.media_con h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-heading);
  margin-bottom: 8px;
  line-height: 1.5;
}

.media_con h3 a { color: inherit; transition: color .2s; }
.media_con h3 a:hover { color: var(--c-accent); }

.media_con p {
  font-size: 0.83rem;
  color: var(--c-text2);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.media_con .meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--c-text2);
}
.media_con .meta span { display: flex; align-items: center; gap: 4px; }
.media_con .meta i { color: var(--c-accent); font-size: 0.75rem; }

/* ============================================================
   产品网格（list_shop）
   ============================================================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shop-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .4s var(--ease-out);
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--c-accent);
}

.shop-card a { display: block; color: inherit; }

.shop-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s;
}

.shop-card:hover img { transform: scale(1.05); }

.shop-card h3 {
  font-size: 0.88rem;
  color: var(--c-text);
  padding: 16px;
  text-align: center;
  transition: color .2s;
}

.shop-card:hover h3 { color: var(--c-accent); }

/* ============================================================
   顶部搜索栏（list_shop 内）
   ============================================================ */
.search-bar-top {
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 0;
}

.search-bar-top .inner {
  display: flex;
  max-width: 500px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.search-bar-top input {
  flex: 1;
  padding: 10px 16px;
  background: var(--c-bg3);
  border: none;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.search-bar-top input::placeholder { color: var(--c-text2); }

.search-bar-top button {
  padding: 10px 18px;
  background: var(--c-accent);
  border: none;
  color: var(--c-bg);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background .2s;
}
.search-bar-top button:hover { background: var(--c-accent2); }

/* ============================================================
   分页样式（修复当前页无块状边框问题）
   ============================================================ */
.page2 ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 20px 0;
  list-style: none;
}

.page2 li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);   /* 圆角边框 */
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--c-text2);
  background: var(--c-bg3);
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

/* 内部链接（如果有）继承样式 */
.page2 li a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 悬停效果（仅对可点击的 li 生效） */
.page2 li:hover:not(.thisclass) {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: var(--c-glow);
}

/* 当前页码 - 高亮块状标签 */
.page2 li.thisclass {
  background: var(--c-accent);
  color: var(--c-bg);
  border-color: var(--c-accent);
  font-weight: 600;
  cursor: default;
  pointer-events: none;      /* 不可点击 */
  box-shadow: 0 0 6px rgba(62, 201, 167, 0.3);
}

/* 确保当前页悬停样式不变 */
.page2 li.thisclass:hover {
  background: var(--c-accent);
  color: var(--c-bg);
  border-color: var(--c-accent);
  transform: none;
  box-shadow: 0 0 8px rgba(62, 201, 167, 0.5);
}

/* 兼容没有链接的“首页”“末页”等项（保持与普通页码相同外观） */
.page2 li:not(.thisclass):not(:has(a)) {
  cursor: default;
  opacity: 0.7;
}

/* ============================================================
   单页内容（index_article）
   ============================================================ */
.danye-section {
  padding: 50px 0 70px;
  background: var(--c-bg);
}

/* Tab 横向滑动 */
.tab-swiper-wrap {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 16px;
}

.tab-swiper .swiper-slide {
  width: auto;
}

.tab-swiper a {
  display: inline-block;
  padding: 8px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--c-text2);
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}

.tab-swiper a.on,
.tab-swiper a:hover {
  color: var(--c-accent);
  border-color: var(--c-border);
  background: var(--c-glow);
}

.danye-content {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--c-text);
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 40px;
}

.danye-content h2, .danye-content h3 {
  font-family: var(--font-serif);
  color: var(--c-heading);
  margin: 24px 0 12px;
}

.danye-content p { margin-bottom: 14px; }
.danye-content img { border-radius: var(--radius-sm); border: 1px solid var(--c-border); margin: 12px auto; }
.danye-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.88rem; }
.danye-content th { background: var(--c-bg3); color: var(--c-heading); padding: 12px 16px; border: 1px solid var(--c-border); }
.danye-content td { padding: 10px 16px; border: 1px solid var(--c-border); color: var(--c-text2); }
.danye-content tr:hover td { background: var(--c-glow); }

/* ============================================================
   Bootstrap Grid 覆盖（保留栅格用于 DedeCMS 布局）
   ============================================================ */
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .row { grid-template-columns: 2fr 1fr; }
}

/* 偶数列产品 */
.row .col-lg-9 { grid-column: 1; }
.row .col-lg-3 { grid-column: 2; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .about-layout { gap: 40px; }
  .footer .row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .top-nav, .nav-dropdown { display: none; }
  .hamburger { display: flex; }

  .banner-swiper { height: 420px; }
  .banner-swiper .swiper-slide img { height: 420px; }
  .banner-caption { width: 80%; padding: 0 30px; bottom: 60px; }
  .banner-caption h2 { font-size: 1.8rem; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }

  .about-layout { grid-template-columns: 1fr; }
  .about-visual { display: none; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }

  .news-grid { grid-template-columns: 1fr; }
  .news-card { border-right: none; }
  .news-card:nth-last-child(2) { border-bottom: 1px solid var(--c-border); }

  .footer .row { grid-template-columns: repeat(2, 1fr); }

  .row { grid-template-columns: 1fr; }
  .row .col-lg-9, .row .col-lg-3 { grid-column: 1; }
}

@media (max-width: 600px) {
  .banner-swiper { height: 280px; }
  .banner-swiper .swiper-slide img { height: 280px; }
  .banner-caption h2 { font-size: 1.3rem; }
  .banner-caption p { display: none; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 10px; }
  .stat-item .num { font-size: 1.8rem; }

  .culture-grid { grid-template-columns: 1fr 1fr; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-grid { grid-template-columns: 1fr 1fr; }

  .news_left { padding: 20px; }
  .news_right { display: none; }

  .footer .row { grid-template-columns: 1fr 1fr; }
  .contact-col { grid-column: 1 / -1; }

  .left_con li { flex-direction: column; }
  .media_img .img1 { width: 100%; height: auto; } /* 小屏同样等比 */

  .page-banner { height: 180px; }
}

/* ============================================================
   辅助 & 工具
   ============================================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1.5rem; }
.me-2 { margin-right: 0.5rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.col-lg-9 {}
.col-lg-3 {}
.col-md-6 {}
.col-md-8 {}
.col-md-4 {}
.col-12 { width: 100%; }

/* 列布局兼容 */
.col-lg-2, .col-md-3, .col-6 {}
.col-lg-4, .col-md-12 { }

/* DedeCMS position 标签修正 */
.position * { display: inline; }
.position { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; color: var(--c-text2); font-size: 0.82rem; }
.position a { color: var(--c-text2); }
.position a:hover { color: var(--c-accent); }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-bg3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-accent); }

/* 选区颜色 */
::selection { background: rgba(62,201,167,0.25); color: var(--c-white); }

/* ============================================================
   广告推入 — 企业文化模块（title1 + ul.row）
   ============================================================ */

/* 标题区 */
.title1 {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--c-heading);
  letter-spacing: 0.1em;
  padding: 50px 0 0;
  line-height: 1.3;
}

.title1 p {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--c-text2);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 10px 0 4px;
  display: block;
}

/* 四词网格 */
ul.row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1px !important;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  ul.row { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  ul.row { grid-template-columns: 1fr 1fr !important; }
}

/* 每个条目 */
ul.row li {
  background: var(--c-bg3);
  padding: 48px 20px 40px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  cursor: default;
  /* 入场动画：从下淡入 */
  opacity: 0;
  transform: translateY(30px);
  animation: cultureItemIn .7s var(--ease-out) forwards;
}

ul.row li:nth-child(1) { animation-delay: 0.10s; }
ul.row li:nth-child(2) { animation-delay: 0.22s; }
ul.row li:nth-child(3) { animation-delay: 0.34s; }
ul.row li:nth-child(4) { animation-delay: 0.46s; }

@keyframes cultureItemIn {
  to { opacity: 1; transform: translateY(0); }
}

/* 顶部彩线 */
ul.row li::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}

ul.row li:hover { background: var(--c-surface); }
ul.row li:hover::before { transform: scaleX(1); }

/* 图标圆圈 */
ul.row li i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border);
  color: var(--c-accent);
  font-size: 2rem !important;
  /* 脉冲光晕动画 */
  animation: iconPulse 3s ease-in-out infinite;
  transition: all .4s var(--ease-out);
}

ul.row li:nth-child(2) i { animation-delay: 0.6s; }
ul.row li:nth-child(3) i { animation-delay: 1.2s; }
ul.row li:nth-child(4) i { animation-delay: 1.8s; }

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62,201,167,0); }
  50%       { box-shadow: 0 0 0 10px rgba(62,201,167,0.12); }
}

ul.row li:hover i {
  border-color: var(--c-accent);
  background: var(--c-glow);
  box-shadow: 0 0 24px rgba(62,201,167,0.35);
  transform: scale(1.1) rotate(6deg);
}

/* 汉字标题 */
ul.row li h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem !important;
  font-weight: 600;
  color: var(--c-heading);
  letter-spacing: 0.25em;
  line-height: 1;
  margin: 0 !important;
  /* 闪光扫过动画 */
  background: linear-gradient(
    90deg,
    var(--c-heading) 0%,
    var(--c-accent)  50%,
    var(--c-heading) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  animation-delay: calc(var(--i, 0) * 0.8s);
}

ul.row li:nth-child(1) h3 { --i: 0; }
ul.row li:nth-child(2) h3 { --i: 1; }
ul.row li:nth-child(3) h3 { --i: 2; }
ul.row li:nth-child(4) h3 { --i: 3; }

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
/* 强制统一：企业文化 → 和其他标题完全一致 */
.main1 .title1 {
  font-family: var(--font-serif) !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  color: var(--c-heading) !important; /* 和.section-title 中文同色 */
  letter-spacing: 0.1em !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

/* 强制统一：企业文化英文 → 和其他标题英文完全一致 */
.main1 .title1 p {
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  color: var(--c-text2) !important; /* 和.section-title 英文同色 */
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  margin: 8px 0 20px !important;
  display: block !important;
}

/* 统一其他标题，防止被旧样式覆盖（加固） */
.section-title {
  font-family: var(--font-serif) !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  color: var(--c-heading) !important;
  letter-spacing: 0.1em !important;
}

.section-title p {
  font-family: var(--font-display) !important;
  font-size: 0.82rem !important;
  color: var(--c-text2) !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
}
