/* ========================================
   宿城区行路广告制作厂 - 全站样式
   配色方案：商务深蓝
   主色：#003399  辅色：#3366CC  强调：#FFCC00
   ======================================== */

/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }
input, textarea, button { font-family: inherit; outline: none; }

/* ===== 通用容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
  background: #003399;
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-left span { margin-right: 20px; }
.top-bar-right a { margin-left: 20px; }
.top-bar-right a:hover { color: #FFCC00; }

/* ===== 头部导航 ===== */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #003399, #3366CC);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFCC00;
  font-size: 24px;
  font-weight: bold;
}
.logo-text h1,
.logo-text strong {
  font-size: 20px;
  color: #003399;
  white-space: nowrap;
  font-weight: 700;
  display: block;
}
.logo-text p {
  font-size: 12px;
  color: #666;
  letter-spacing: 2px;
}
.nav {
  display: flex;
  gap: 8px;
}
.nav > li {
  position: relative;
}
.nav > li > a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  border-radius: 4px;
}
.nav > li > a:hover,
.nav > li.active > a {
  color: #003399;
  background: rgba(0, 51, 153, 0.08);
}
.nav > li.active > a {
  color: #003399;
  border-bottom: 2px solid #FFCC00;
  border-radius: 0;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 8px 0;
}
.nav > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
}
.nav-dropdown li a:hover {
  color: #003399;
  background: rgba(0, 51, 153, 0.06);
  padding-left: 24px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: #003399;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Banner 轮播 ===== */
.banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #003399;
}
.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 51, 153, 0.85) 0%, rgba(51, 102, 204, 0.4) 100%);
  z-index: 1;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}
.banner-content h2 {
  font-size: 42px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.banner-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
}
.banner-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #FFCC00;
  color: #003399;
  font-weight: 600;
  border-radius: 30px;
  font-size: 16px;
}
.banner-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}
.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.banner-dots span.active {
  background: #FFCC00;
  width: 36px;
  border-radius: 6px;
}

/* ===== 通用区块标题 ===== */
.section {
  padding: 70px 0;
}
.section-gray { background: #f7f9fc; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 32px;
  color: #003399;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #FFCC00;
  border-radius: 2px;
}
.section-title p {
  color: #666;
  font-size: 15px;
  margin-top: 20px;
}

/* ===== 产品展示 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 51, 153, 0.15);
}
.product-card-img {
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.08);
}
.product-card-body {
  padding: 18px;
}
.product-card-body h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card:hover .product-card-body h3 {
  color: #003399;
}
.product-card-body p {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card-body .more {
  font-size: 13px;
  color: #003399;
  font-weight: 500;
}
.product-card-body .more:hover {
  color: #FFCC00;
}
.more-btn {
  text-align: center;
  margin-top: 40px;
}
.more-btn a {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid #003399;
  color: #003399;
  border-radius: 30px;
  font-weight: 500;
}
.more-btn a:hover {
  background: #003399;
  color: #fff;
}

/* ===== 优势特性 ===== */
.features {
  background: linear-gradient(135deg, #003399 0%, #3366CC 100%);
  color: #fff;
}
.features .section-title h2 { color: #fff; }
.features .section-title p { color: rgba(255, 255, 255, 0.8); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #FFCC00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.feature-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.7;
}

/* ===== 新闻列表 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 51, 153, 0.12);
}
.news-card-img {
  height: 180px;
  overflow: hidden;
  background: #f0f0f0;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.06);
}
.news-card-body {
  padding: 20px;
}
.news-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.news-card-body h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-card:hover .news-card-body h3 {
  color: #003399;
}
.news-card-body p {
  font-size: 13px;
  color: #888;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== 案例展示 ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: 280px;
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover img {
  transform: scale(1.1);
}
.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 51, 153, 0.9));
  color: #fff;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.case-card:hover .case-overlay {
  transform: translateY(0);
}
.case-overlay h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.case-overlay p {
  font-size: 13px;
  opacity: 0.9;
}

/* ===== 关于我们 首页 ===== */
.about-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-home-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 51, 153, 0.15);
  height: 380px;
}
.about-home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-home-text h2 {
  font-size: 30px;
  color: #003399;
  margin-bottom: 20px;
}
.about-home-text h2 span {
  color: #FFCC00;
}
.about-home-text p {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.stat-item h4 {
  font-size: 28px;
  color: #003399;
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* ===== CTA 联系 ===== */
.cta-section {
  background: linear-gradient(135deg, #003399 0%, #3366CC 100%);
  padding: 60px 0;
  color: #fff;
  text-align: center;
}
.cta-section h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
.cta-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}
.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #FFCC00;
  color: #003399;
  font-weight: 600;
  border-radius: 30px;
  font-size: 16px;
}
.cta-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

/* ===== 页脚 ===== */
.footer {
  background: #000033;
  color: #ccc;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #FFCC00;
}
.footer-about p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #003399, #3366CC);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFCC00;
  font-size: 20px;
  font-weight: bold;
}
.footer-logo-text h4 {
  color: #fff;
  font-size: 16px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links li a {
  font-size: 13px;
  color: #aaa;
}
.footer-links li a:hover {
  color: #FFCC00;
  padding-left: 4px;
}
.footer-contact li {
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #aaa;
}
.footer-contact li strong {
  color: #ddd;
  display: block;
  margin-bottom: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #888;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: #FFCC00; }

/* ===== 内页 Banner ===== */
.page-banner {
  height: 260px;
  background: linear-gradient(135deg, #003399 0%, #3366CC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 30,0 0,30" fill="rgba(255,255,255,0.03)"/><polygon points="100,100 70,100 100,70" fill="rgba(255,255,255,0.03)"/></svg>');
}
.page-banner h1,
.page-banner .banner-title {
  font-size: 36px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-weight: 700;
  color: #fff;
}
.page-banner p {
  font-size: 15px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

/* 面包屑 */
.breadcrumb {
  background: #f7f9fc;
  padding: 14px 0;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #eee;
}
.breadcrumb a { color: #003399; }
.breadcrumb a:hover { color: #FFCC00; }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* ===== 列表页 ===== */
.list-main {
  padding: 50px 0;
}
.list-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}
.list-content .product-grid,
.list-content .news-grid,
.list-content .case-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* 侧边栏 */
.sidebar { }
.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.sidebar-widget h3 {
  font-size: 18px;
  color: #003399;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #FFCC00;
  display: inline-block;
}
.sidebar-cat li {
  margin-bottom: 10px;
}
.sidebar-cat li a {
  display: block;
  padding: 10px 15px;
  background: #f7f9fc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}
.sidebar-cat li a:hover,
.sidebar-cat li.active a {
  background: #003399;
  color: #fff;
  padding-left: 20px;
}
.sidebar-hot li {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
}
.sidebar-hot li:last-child { border-bottom: none; }
.sidebar-hot li a {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sidebar-hot li a:hover { color: #003399; }
.hot-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #ccc;
  color: #fff;
  font-size: 11px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.sidebar-hot li:nth-child(1) .hot-num { background: #CC0000; }
.sidebar-hot li:nth-child(2) .hot-num { background: #FF6600; }
.sidebar-hot li:nth-child(3) .hot-num { background: #FFCC00; }
.sidebar-contact {
  background: linear-gradient(135deg, #003399 0%, #3366CC 100%);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}
.sidebar-contact h3 {
  color: #fff;
  border-bottom-color: #FFCC00;
}
.sidebar-contact p {
  font-size: 13px;
  margin-bottom: 10px;
  opacity: 0.9;
}
.sidebar-contact .phone {
  font-size: 24px;
  font-weight: 700;
  color: #FFCC00;
  margin: 10px 0;
}

/* 分页 */
.pagination {
  text-align: center;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #666;
  background: #fff;
}
.pagination a:hover {
  border-color: #003399;
  color: #003399;
}
.pagination .current {
  background: #003399;
  color: #fff;
  border-color: #003399;
}

/* ===== 详情页 ===== */
.detail-main { padding: 50px 0; }
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}
.detail-content {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
.detail-title {
  text-align: center;
  padding-bottom: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}
.detail-title h1 {
  font-size: 26px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}
.detail-meta {
  font-size: 13px;
  color: #999;
}
.detail-meta span { margin: 0 10px; }
.detail-body {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
.detail-body h2 {
  font-size: 20px;
  color: #003399;
  margin: 30px 0 15px;
  padding-left: 12px;
  border-left: 4px solid #FFCC00;
}
.detail-body h3 {
  font-size: 17px;
  color: #333;
  margin: 25px 0 12px;
}
.detail-body p { margin-bottom: 16px; }
.detail-body img {
  max-width: 100%;
  border-radius: 6px;
  margin: 20px auto;
  display: block;
}
.detail-body ul,
.detail-body ol {
  margin-bottom: 16px;
  padding-left: 20px;
}
.detail-body ul li {
  list-style: disc;
  margin-bottom: 8px;
}
.detail-body ol li {
  list-style: decimal;
  margin-bottom: 8px;
}
.detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.detail-body th,
.detail-body td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
}
.detail-body th {
  background: #f7f9fc;
  color: #003399;
  font-weight: 600;
}
.detail-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.detail-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f4fa;
  color: #003399;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.detail-tags a:hover {
  background: #003399;
  color: #fff;
}
.detail-nav {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.detail-nav a {
  flex: 1;
  font-size: 13px;
  color: #666;
  padding: 10px 15px;
  background: #f7f9fc;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-nav a:hover {
  background: #003399;
  color: #fff;
}

/* 产品详情参数表 */
.product-params {
  margin: 30px 0;
}
.product-params table {
  width: 100%;
  border-collapse: collapse;
}
.product-params th,
.product-params td {
  border: 1px solid #e8e8e8;
  padding: 12px 20px;
  text-align: left;
  font-size: 14px;
}
.product-params th {
  background: #f7f9fc;
  color: #003399;
  font-weight: 600;
  width: 120px;
}

/* ===== 关于我们页 ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}
.about-hero-img {
  border-radius: 10px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 10px 40px rgba(0, 51, 153, 0.15);
}
.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-hero-text h2 {
  font-size: 28px;
  color: #003399;
  margin-bottom: 20px;
}
.about-hero-text p {
  color: #666;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 15px;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
}
.value-card {
  text-align: center;
  padding: 35px 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 51, 153, 0.12);
}
.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #003399, #3366CC);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #FFCC00;
}
.value-card h3 {
  font-size: 18px;
  color: #003399;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* 发展历程 */
.timeline {
  position: relative;
  padding: 30px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #e0e6f0;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}
.timeline-year {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #003399;
  background: #fff;
  z-index: 1;
  position: relative;
}
.timeline-year::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #FFCC00;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #003399;
  z-index: -1;
}
.timeline-content {
  background: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}
.timeline-content h4 {
  color: #003399;
  margin-bottom: 8px;
  font-size: 16px;
}
.timeline-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}
.timeline-item:nth-child(odd) .timeline-year {
  grid-column: 2;
}
.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
}
.timeline-item:nth-child(even) .timeline-year {
  grid-column: 2;
}

/* ===== 联系我们页 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.contact-info h2 {
  font-size: 28px;
  color: #003399;
  margin-bottom: 25px;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px dashed #e0e0e0;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #003399, #3366CC);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFCC00;
  font-size: 18px;
}
.contact-info-text h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 4px;
}
.contact-info-text p {
  font-size: 14px;
  color: #666;
}
.contact-form {
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}
.contact-form h3 {
  font-size: 22px;
  color: #003399;
  margin-bottom: 25px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #003399;
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #003399, #3366CC);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.submit-btn:hover {
  background: linear-gradient(135deg, #3366CC, #003399);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 51, 153, 0.3);
}

/* 地图占位 */
.contact-map {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #e8edf5, #d4deee);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}
.contact-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 51, 153, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 51, 153, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
}
.contact-map-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contact-map-content .pin {
  font-size: 40px;
  margin-bottom: 10px;
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #003399;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 51, 153, 0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #FFCC00;
  color: #003399;
  transform: translateY(-3px);
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .list-layout,
  .detail-layout { grid-template-columns: 1fr; }
  .about-home,
  .about-hero,
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .list-content .product-grid,
  .list-content .news-grid,
  .list-content .case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { font-size: 12px; }
  .top-bar-left span { margin-right: 10px; }
  .header .container { height: 64px; }
  .logo-text h1, .logo-text strong { font-size: 16px; }
  .logo-text p { display: none; }
  .logo-icon { width: 38px; height: 38px; font-size: 18px; }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
    gap: 0;
  }
  .nav.show { transform: translateY(0); }
  .nav > li > a {
    padding: 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav > li.active > a {
    border-bottom: 1px solid #f0f0f0;
    border-left: 3px solid #FFCC00;
    background: rgba(0, 51, 153, 0.05);
  }
  .mobile-menu-btn { display: flex; }
  .nav-dropdown { display: none; }

  .banner { height: 320px; }
  .banner-content h2 { font-size: 26px; }
  .banner-content p { font-size: 14px; margin-bottom: 20px; }
  .banner-btn { padding: 10px 28px; font-size: 14px; }

  .section { padding: 45px 0; }
  .section-title h2 { font-size: 24px; }
  .section-title { margin-bottom: 35px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .product-card-img { height: 150px; }
  .product-card-body { padding: 14px; }
  .product-card-body h3 { font-size: 14px; height: 38px; }

  .news-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { height: 220px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .feature-item { padding: 20px 15px; }
  .feature-icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 14px; }
  .feature-item h3 { font-size: 15px; }

  .about-home { gap: 30px; }
  .about-home-img { height: 250px; }
  .about-home-text h2 { font-size: 22px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .stat-item h4 { font-size: 22px; }

  .cta-section { padding: 40px 0; }
  .cta-section h2 { font-size: 22px; }
  .cta-btn { padding: 12px 32px; font-size: 14px; }

  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }

  .page-banner { height: 180px; }
  .page-banner h1 { font-size: 26px; }

  .list-main,
  .detail-main { padding: 30px 0; }
  .detail-content { padding: 25px 20px; }
  .detail-title h1 { font-size: 20px; }
  .detail-body { font-size: 14px; }
  .detail-body h2 { font-size: 18px; }

  .about-hero-img { height: 260px; }
  .about-values { grid-template-columns: 1fr; }
  .timeline::before { left: 30px; }
  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 15px;
  }
  .timeline-year {
    grid-column: 1 !important;
    font-size: 16px;
    writing-mode: vertical-rl;
    padding: 10px 0;
  }
  .timeline-content {
    grid-column: 2 !important;
    text-align: left !important;
  }
  .timeline-year::before {
    top: 30px;
    left: auto;
    right: -23px;
    transform: none;
  }

  .contact-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-map { height: 250px; }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card-img { height: 130px; }
  .banner { height: 260px; }
  .banner-content h2 { font-size: 20px; }
}
