/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #c3002f;
  --secondary-color: #1c8ee0;
  --dark-color: #222d35;
  --light-bg: #f6f7fc;
  --text-color: #333;
  --text-light: #666;
  --text-muted: #999;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Header 样式 */
.header {
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item {
  position: relative;
  padding: 10px 15px;
  font-size: 16px;
  color: #282828;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-color);
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
  transform-origin: right;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  transition: background 0.3s;
}

.nav-dropdown a:hover {
  background: var(--primary-color);
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-tel img {
  width: 32px;
  height: 32px;
}

.header-tel-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.4;
}

.header-tel-text span {
  display: block;
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
}

/* Mobile 菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s;
}

/* Mobile 导航 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 999;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.show {
  display: block;
}

.mobile-nav-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  color: #333;
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-item a {
  display: block;
}

/* Banner 轮播 - banner-inner 宽度与 header-inner 完全一致 */
.banner {
  margin-top: 80px;
}

.banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.banner-slides-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 192 / 65;
  overflow: hidden;
}

.banner-slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.banner-slide {
  min-width: 100%;
  height: 100%;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  width: 50px;
  height: 80px;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.banner-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.banner-prev {
  left: 5%;
}

.banner-next {
  right: 5%;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-dot {
  width: 20px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  border-radius: 1px;
  transition: all 0.3s;
}

.banner-dot.active {
  width: 60px;
  background: var(--primary-color);
}

.banner-counter {
  position: absolute;
  bottom: 20px;
  right: 5%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.banner-counter .current {
  color: var(--primary-color);
  font-weight: bold;
}

/* Search Bar */
.search-bar {
  background: var(--light-bg);
  padding: 15px 0;
}

.search-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-hot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}

.search-hot i {
  font-style: normal;
  color: var(--primary-color);
}

.search-hot a {
  color: var(--text-light);
}

.search-hot a:hover {
  color: var(--primary-color);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form input {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  width: 250px;
}

.search-form button {
  padding: 10px 20px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.search-form button:hover {
  background: #8b001f;
}

/* Section 标题 */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h1 {
  font-size: 36px;
  color: #222;
  margin: 0 0 5px 0;
  font-weight: bold;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
  margin: 0;
  letter-spacing: 2px;
}

/* 产品推荐 */
.products-section {
  padding: 60px 0;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-category {
  margin-bottom: 40px;
}

.product-category-title {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid var(--primary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--light-bg);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-card-info {
  padding: 15px;
}

.product-card-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 页面Banner */
.page-banner {
  margin-top: 80px;
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page-banner-title {
  font-size: 42px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 4px;
}

.page-banner-crumb {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.page-banner-crumb a {
  color: rgba(255, 255, 255, 0.8);
}

.page-banner-crumb a:hover {
  color: #ffc300;
}

/* 关于我们页面 */
.about-hero {
  padding: 60px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text-header {
  margin-bottom: 30px;
}

.about-text-header i {
  display: block;
  font-size: 18px;
  color: var(--primary-color);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-text-header h1 {
  font-size: 36px;
  color: #222;
  margin-bottom: 10px;
}

.about-text-body {
  line-height: 1.8;
  color: var(--text-light);
  font-size: 15px;
}

.about-text-body p {
  margin-bottom: 15px;
}

.about-text-btn {
  display: inline-block;
  padding: 12px 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 30px;
  font-size: 16px;
  transition: background 0.3s;
  margin-top: 20px;
}

.about-text-btn:hover {
  background: #8b001f;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* Statistics */
.stats-section {
  background: var(--light-bg);
  padding: 60px 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.stat-card {
  background: #fff;
  border-radius: 5px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 15px;
}

.stat-number {
  font-size: 36px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-text {
  font-size: 14px;
  color: var(--text-light);
}

/* 企业文化 */
.culture-section {
  padding: 60px 0;
}

.culture-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.culture-card {
  background: var(--light-bg);
  border-radius: 5px;
  padding: 40px 30px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.culture-card-num {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 50px;
  font-weight: bold;
  color: rgba(195, 0, 47, 0.1);
}

.culture-card h2 {
  font-size: 22px;
  color: #222;
  margin-bottom: 15px;
}

.culture-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* 资质荣誉 */
.honor-section {
  background: var(--light-bg);
  padding: 60px 0;
}

.honor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.honor-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.honor-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

.honor-img img {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.5s;
}

.honor-card:hover .honor-img img {
  transform: scale(1.1);
}

.honor-info {
  padding: 15px;
  text-align: center;
  background: #fff;
}

.honor-info h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

.honor-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* 产品列表页 */
.products-page {
  padding: 40px 0;
}

.products-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
}

.products-sidebar {
  width: 240px;
  flex-shrink: 0;
}

.sidebar-box {
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 15px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebar-list-item {
  padding: 12px 15px;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.sidebar-list-item:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.sidebar-list-item.active {
  background: var(--primary-color);
  color: #fff;
}

.products-main {
  flex: 1;
  min-width: 0;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.products-sort {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-label {
  font-size: 15px;
  color: var(--text-light);
}

.sort-btn {
  font-size: 15px;
  color: #555;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: color 0.2s;
  background: none;
  border: none;
}

.sort-btn:hover,
.sort-btn.active {
  color: var(--primary-color);
  font-weight: bold;
}

.products-count {
  font-size: 14px;
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 30px 0;
}

.pagination-btn,
.pagination-num {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.pagination-btn:hover,
.pagination-num:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pagination-num.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.pagination-btn.disabled {
  color: #ccc;
  cursor: not-allowed;
  border-color: #eee;
}

/* 新闻页面 */
.news-page {
  padding: 40px 0;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-list {
  background: #fff;
  border-radius: 5px;
  padding: 20px 30px;
  box-shadow: var(--shadow);
}

.news-item {
  display: flex;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px dashed #eee;
  gap: 20px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item-img {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 4px;
}

.news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-item:hover .news-item-img img {
  transform: scale(1.05);
}

.news-item-date {
  width: 100px;
  flex-shrink: 0;
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
}

.news-item-content {
  flex: 1;
  min-width: 0;
}

.news-item-content h4 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
  font-weight: bold;
  transition: color 0.2s;
}

.news-item:hover .news-item-content h4 {
  color: var(--primary-color);
}

.news-item-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 24px;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more-btn {
  display: inline-block;
  padding: 6px 20px;
  background: var(--primary-color);
  color: #fff;
  font-size: 14px;
  border-radius: 3px;
  transition: background 0.2s;
}

.news-more-btn:hover {
  background: #8b001f;
  color: #fff;
}

/* 新闻详情 */
.news-detail {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.news-detail-box {
  background: #fff;
  border-radius: 5px;
  padding: 40px 50px;
  box-shadow: var(--shadow);
}

.news-detail-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.news-detail-header h1 {
  font-size: 30px;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.4;
}

.news-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-detail-date {
  font-size: 14px;
  color: var(--text-muted);
}

.news-back-btn {
  color: var(--primary-color);
  font-size: 14px;
}

.news-detail-cover {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 5px;
  overflow: hidden;
}

.news-detail-cover img {
  width: 100%;
  height: auto;
}

.news-detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.news-detail-body h2 {
  font-size: 22px;
  color: #222;
  margin: 25px 0 15px;
}

.news-detail-body h3 {
  font-size: 20px;
  color: #222;
  margin: 20px 0 10px;
}

.news-detail-body p {
  margin-bottom: 15px;
}

.news-detail-body ul,
.news-detail-body ol {
  padding-left: 25px;
  margin-bottom: 15px;
}

.news-detail-body li {
  margin-bottom: 8px;
  list-style: disc;
}

.news-detail-body ol li {
  list-style: decimal;
}

.news-detail-body strong {
  color: var(--primary-color);
}

/* 工程案例 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.case-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.case-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.case-info {
  padding: 15px 20px;
  text-align: center;
}

.case-info span {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

/* 联系我们 */
.contact-section {
  padding: 40px 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.contact-info-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-info-card h4 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 16px;
  color: var(--text-light);
}

.contact-form {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 28px;
  color: #222;
  text-align: center;
  margin-bottom: 10px;
}

.contact-form-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-group label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 15px;
}

.contact-form-group label .required {
  color: #ff4d4f;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-submit-btn:hover {
  background: #8b001f;
}

/* Footer - 纯 float 布局，缩放后保持比例 */
.footer {
  background: #222d35;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 60px;
  width: 100%;
  overflow: hidden;
}

.footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer .wrap {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* ---------- footer-header: logo + 服务热线 ---------- */
.footer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.footer-header .fh-left {
  float: left;
  width: 75%;
}

.footer-header .fh-left img {
  height: 48px;
}

.footer-header .fh-right {
  float: right;
  width: 25%;
  text-align: right;
  padding-top: 4px;
}

.footer-header .fh-right p {
  color: #666;
  font-size: 13px;
  margin: 0 0 2px 0;
}

.footer-header .fh-right span {
  color: #c3002f;
  font-size: 25px;
  font-weight: bold;
  font-family: Bahnschrift, Arial, sans-serif;
}

/* ---------- footer-main: 导航 + 二维码 ---------- */
.footer-main {
  padding: 24px 0;
}

.footer-main .fm-left {
  float: left;
  width: 83.33%;
}

.footer-main .fm-left ul {
  float: left;
  padding: 0 3%;
  margin: 0;
  list-style: none;
}

.footer-main .fm-left ul:first-of-type {
  width: 25%;
  padding-left: 0;
}

.footer-main .fm-left ul:first-of-type li {
  width: 50%;
  float: left;
  box-sizing: border-box;
}

.footer-main .fm-left ul:last-of-type {
  width: 45%;
}

.footer-main .fm-left ul li {
  line-height: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
}

.footer-main .fm-left ul li.tit {
  font-size: 18px;
  color: #fff;
  width: 100% !important;
  position: relative;
  height: 40px;
  margin-bottom: 10px;
  line-height: 40px;
}

.footer-main .fm-left ul li.tit:before {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  height: 2px;
  background: #c3002f;
  width: 30px;
  transition: 0.3s;
}

.footer-main .fm-left ul:hover li.tit:before {
  width: 60px;
}

.footer-main .fm-left ul li i {
  float: left;
  color: #c3002f;
  margin-right: 8px;
  font-style: normal;
  width: 16px;
}

.footer-main .fm-right {
  float: right;
  width: 16.67%;
  text-align: right;
}

.footer-main .fm-right img {
  max-width: 100%;
}

/* ---------- footer-copyright ---------- */
.footer-copyright {
  background: #1e2830;
  padding: 10px 0;
  line-height: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  clear: both;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .stats-grid,
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .honor-grid,
  .products-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .products-page-container {
    flex-direction: column;
  }
  
  .products-sidebar {
    width: 100%;
  }
  
  .products-sort {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .header-inner {
    padding: 0 15px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .header-tel {
    display: none;
  }
  
  .banner {
    aspect-ratio: auto;
    height: 200px;
  }
  
  .banner-btn {
    width: 40px;
    height: 50px;
    font-size: 18px;
  }
  
  .banner-counter {
    font-size: 12px;
    padding: 3px 8px;
  }
  
  .search-bar-inner {
    flex-direction: column;
    gap: 15px;
  }
  
  .search-hot {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .search-form input {
    width: 180px;
  }
  
  .section-title h1 {
    font-size: 28px;
  }
  
  .products-section,
  .about-hero,
  .stats-section,
  .culture-section,
  .honor-section {
    padding: 40px 0;
  }
  
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .stats-grid,
  .culture-grid,
  .honor-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  
  .news-item {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .news-item-img {
    width: 100%;
    height: 180px;
  }
  
  .news-item-date {
    width: auto;
  }
  
  .news-detail-box {
    padding: 25px 20px;
  }
  
  .news-detail-header h1 {
    font-size: 24px;
  }
  
  .news-detail-body {
    font-size: 15px;
  }
  
  .page-banner {
    height: 200px;
  }
  
  .page-banner-title {
    font-size: 28px;
    letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  .container,
  .products-container,
  .products-page-container,
  .news-container,
  .about-container,
  .contact-container {
    padding: 0 15px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card-info {
    padding: 12px;
  }
  
  .product-card-title {
    font-size: 16px;
  }
  
  .news-list,
  .news-detail-box,
  .contact-form {
    padding: 20px 15px;
  }
  
  .contact-form-group input,
  .contact-form-group textarea {
    font-size: 14px;
  }
}