/* ===== HAWKON 豪康电器 企业官网样式 ===== */
/* 主色调：深蓝 #1a2b4a，金色 #e8a020，白 #fff，浅灰 #f5f7fa */

:root {
  --primary: #1a2b4a;
  --accent: #e8a020;
  --accent-dark: #c8880f;
  --white: #ffffff;
  --light: #f5f7fa;
  --gray: #888;
  --text: #333;
  --border: #e0e0e0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: all .3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== 容器 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-2 { width: 50%; padding: 0 15px; }
.col-3 { width: 33.333%; padding: 0 15px; }
.col-4 { width: 25%; padding: 0 15px; }

/* ===== 顶部导航 ===== */
#header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; transition: all .4s; }
#header.scrolled { background: var(--primary); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
#header.top-white { background: transparent; }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 75px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 45px; }
.logo-text { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.logo-sub { color: var(--accent); font-size: 11px; letter-spacing: 3px; display: block; margin-top: -4px; }

nav.main-nav ul { display: flex; gap: 5px; }
nav.main-nav ul li { position: relative; }
nav.main-nav ul li a {
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  display: block;
}
nav.main-nav ul li a:hover,
nav.main-nav ul li.active a { color: var(--accent); }
nav.main-nav ul li.active a::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  margin: 2px auto 0;
  border-radius: 2px;
}

.header-right { display: flex; align-items: center; gap: 15px; }
.lang-switch a { color: rgba(255,255,255,.7); font-size: 13px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; }
.lang-switch a:hover, .lang-switch a.active { color: #fff; border-color: var(--accent); background: var(--accent); }
.lang-switch span { color: rgba(255,255,255,.4); margin: 0 3px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ===== Banner 轮播 ===== */
.banner-section { position: relative; }
.swiper-container { width: 100%; }
.swiper-slide { position: relative; overflow: hidden; }
.swiper-slide img { width: 100%; height: 600px; object-fit: cover; }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,43,74,.75) 0%, rgba(26,43,74,.3) 100%); }
.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 700px;
}
.banner-content h1 { font-size: 46px; font-weight: 700; letter-spacing: 4px; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.banner-content p { font-size: 18px; opacity: .85; margin-bottom: 30px; }
.btn-primary-gold {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 36px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all .3s;
  border: none;
  cursor: pointer;
}
.btn-primary-gold:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,.4); }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 34px;
  border-radius: 30px;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,.6);
  margin-left: 12px;
  transition: all .3s;
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }

.swiper-button-prev, .swiper-button-next { color: #fff !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 24px !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }

/* ===== 节标题 ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { font-size: 13px; color: var(--accent); letter-spacing: 4px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; display: block; }
.section-title { font-size: 34px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.section-line { width: 50px; height: 3px; background: var(--accent); margin: 0 auto 15px; border-radius: 2px; }
.section-desc { color: var(--gray); font-size: 15px; max-width: 600px; margin: 0 auto; }

/* ===== 关于我们（首页简介） ===== */
.about-section { padding: 90px 0; background: #fff; }
.about-img { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.about-img img { width: 100%; height: 380px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 25px;
  right: -20px;
  background: var(--accent);
  color: #fff;
  padding: 20px 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(232,160,32,.4);
}
.about-badge .num { font-size: 40px; font-weight: 700; line-height: 1; }
.about-badge .label { font-size: 13px; opacity: .9; margin-top: 4px; }
.about-content { padding-left: 50px; display: flex; flex-direction: column; justify-content: center; }
.about-content h2 { font-size: 32px; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.about-content p { color: #555; line-height: 1.9; margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 25px 0 30px; }
.feature-item { display: flex; align-items: center; gap: 10px; }
.feature-icon { width: 36px; height: 36px; background: rgba(232,160,32,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 15px; flex-shrink: 0; }
.feature-item span { font-size: 14px; color: var(--text); font-weight: 500; }

/* ===== 数据统计条 ===== */
.stats-bar { background: var(--primary); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { color: #fff; border-right: 1px solid rgba(255,255,255,.15); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-unit { font-size: 18px; font-weight: 400; color: var(--accent); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 8px; letter-spacing: 1px; }

/* ===== 产品中心 ===== */
.products-section { padding: 90px 0; background: var(--light); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: all .35s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,.14); }
.product-img { position: relative; overflow: hidden; height: 220px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,74,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.product-card:hover .product-overlay { opacity: 1; }
.overlay-btn {
  color: #fff;
  border: 2px solid #fff;
  padding: 9px 24px;
  border-radius: 25px;
  font-size: 13px;
  transition: all .3s;
}
.overlay-btn:hover { background: var(--accent); border-color: var(--accent); }
.product-info { padding: 18px 20px; }
.product-info h3 { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.product-info p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.product-tag { display: inline-block; background: rgba(232,160,32,.12); color: var(--accent); font-size: 11px; padding: 2px 10px; border-radius: 10px; margin-top: 10px; }

.view-all { text-align: center; margin-top: 45px; }
.btn-more {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s;
}
.btn-more:hover { background: var(--primary); color: #fff; }

/* ===== 为什么选择我们 ===== */
.why-section { padding: 90px 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all .35s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .35s;
}
.why-card:hover { box-shadow: 0 10px 35px rgba(0,0,0,.1); transform: translateY(-5px); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { width: 70px; height: 70px; background: linear-gradient(135deg, rgba(26,43,74,.08), rgba(26,43,74,.04)); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--primary); transition: all .35s; }
.why-card:hover .why-icon { background: var(--primary); color: #fff; }
.why-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; font-weight: 600; }
.why-card p { color: var(--gray); font-size: 14px; line-height: 1.8; }

/* ===== 新闻动态 ===== */
.news-section { padding: 90px 0; background: var(--light); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,.06); transition: all .35s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0,0,0,.12); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 22px 24px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-date { font-size: 12px; color: var(--gray); }
.news-cat { font-size: 11px; background: rgba(26,43,74,.08); color: var(--primary); padding: 2px 10px; border-radius: 10px; }
.news-body h3 { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 10px; line-height: 1.5; }
.news-body h3 a:hover { color: var(--accent); }
.news-body p { font-size: 13px; color: var(--gray); line-height: 1.7; }
.news-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 13px; margin-top: 15px; font-weight: 500; }
.news-link:hover { gap: 10px; }

/* ===== 合作客户 ===== */
.clients-section { padding: 60px 0; background: #fff; border-top: 1px solid var(--border); }
.clients-title { text-align: center; font-size: 14px; color: var(--gray); letter-spacing: 2px; margin-bottom: 35px; text-transform: uppercase; }
.clients-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.client-logo { opacity: .4; transition: opacity .3s; filter: grayscale(1); }
.client-logo:hover { opacity: 1; filter: grayscale(0); }
.client-logo img { height: 36px; width: auto; }

/* ===== 页脚 ===== */
#footer { background: var(--primary); color: rgba(255,255,255,.75); }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo img { height: 42px; margin-bottom: 16px; }
.footer-about { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,.7);
  transition: all .3s;
}
.social-btn:hover { background: var(--accent); color: #fff; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 20px; font-weight: 600; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); border-radius: 2px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .3s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 13px; }
.footer-contact i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== 内页 Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #2a4a7a 100%);
  padding: 130px 0 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/page-banner-bg.jpg') center/cover no-repeat;
  opacity: .15;
}
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; position: relative; }
.page-banner .breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); position: relative; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.6); }
.page-banner .breadcrumb a:hover { color: var(--accent); }
.page-banner .breadcrumb span { margin: 0 8px; }

/* ===== 产品列表页 ===== */
.prodlist-section { padding: 70px 0; }
.sort-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.sort-tab { padding: 8px 22px; border-radius: 25px; border: 1px solid var(--border); font-size: 14px; color: var(--text); cursor: pointer; transition: all .3s; }
.sort-tab:hover, .sort-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.prod-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ===== 产品详情 ===== */
.product-detail { padding: 70px 0; }
.product-detail-main { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-gallery .main-img { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.product-gallery .main-img img { width: 100%; height: 400px; object-fit: contain; padding: 20px; background: var(--light); }
.product-info-detail h1 { font-size: 28px; color: var(--primary); margin-bottom: 16px; font-weight: 700; }
.product-params { background: var(--light); border-radius: 8px; padding: 25px; margin: 25px 0; }
.product-params table { width: 100%; font-size: 14px; }
.product-params td { padding: 8px 12px; border-bottom: 1px solid rgba(0,0,0,.06); }
.product-params td:first-child { color: var(--gray); width: 40%; }
.product-content { padding: 50px 0; border-top: 1px solid var(--border); }
.product-content h2 { font-size: 22px; color: var(--primary); margin-bottom: 25px; }

/* ===== 新闻列表 ===== */
.news-list-section { padding: 70px 0; }
.news-list-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
.news-list-item:hover { padding-left: 10px; }
.news-list-img { width: 240px; height: 160px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.news-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-list-item:hover .news-list-img img { transform: scale(1.06); }
.news-list-body { flex: 1; }
.news-list-body h2 { font-size: 18px; color: var(--primary); margin-bottom: 10px; font-weight: 600; }
.news-list-body h2 a:hover { color: var(--accent); }
.news-list-body p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 15px; }
.news-list-footer { display: flex; justify-content: space-between; align-items: center; }
.news-more-link { color: var(--accent); font-size: 13px; font-weight: 500; }

/* ===== 关于我们页 ===== */
.about-page { padding: 70px 0; }
.about-page-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.about-page-intro img { width: 100%; border-radius: 10px; box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -35px; top: 5px; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }
.timeline-item h3 { font-size: 16px; color: var(--primary); font-weight: 600; }
.timeline-item span { font-size: 13px; color: var(--accent); }
.timeline-item p { font-size: 14px; color: var(--gray); margin-top: 6px; }
.team-section { padding: 50px 0; background: var(--light); border-radius: 10px; padding: 50px 40px; }

/* ===== 联系我们页 ===== */
.contact-section { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--primary); color: #fff; border-radius: 10px; padding: 25px 28px; }
.contact-card-icon { width: 48px; height: 48px; background: rgba(232,160,32,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent); margin-bottom: 15px; }
.contact-card h3 { font-size: 15px; margin-bottom: 8px; opacity: .7; font-weight: 400; }
.contact-card p { font-size: 16px; font-weight: 600; }
.contact-form { background: var(--light); border-radius: 10px; padding: 40px; }
.contact-form h2 { font-size: 24px; color: var(--primary); margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--text); margin-bottom: 8px; font-weight: 500; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: border-color .3s;
  outline: none;
  font-family: inherit;
}
.form-control:focus { border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
textarea.form-control { height: 130px; resize: vertical; }
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  letter-spacing: 1px;
}
.btn-submit:hover { background: var(--accent); }
.map-section { padding: 0 0 70px; }
.map-section iframe { width: 100%; height: 380px; border-radius: 10px; border: none; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  transition: all .3s;
}
.pagination a:hover, .pagination span.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== 首页底部合作表单 ===== */
.home-contact-section { padding: 90px 0; background: linear-gradient(135deg, var(--primary) 0%, #2a4a7a 100%); position: relative; overflow: hidden; }
.home-contact-section::before { content: ''; position: absolute; inset: 0; background: url('../images/page-banner-bg.jpg') center/cover no-repeat; opacity: .08; }
.home-contact-section .container { position: relative; z-index: 1; }
.home-contact-section .section-title { color: #fff; }
.home-contact-section .section-line { background: var(--accent); }
.home-contact-section .section-desc { color: rgba(255,255,255,.7); }
.home-contact-section .section-tag { color: var(--accent); }
.home-contact-form { max-width: 800px; margin: 0 auto; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border-radius: 16px; padding: 45px 50px; border: 1px solid rgba(255,255,255,.12); }
.home-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.home-contact-form .form-group { margin-bottom: 0; }
.home-contact-form .form-group.full { grid-column: 1 / -1; }
.home-contact-form label { display: block; color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.home-contact-form .form-control { width: 100%; padding: 13px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; font-size: 14px; background: rgba(255,255,255,.1); color: #fff; transition: all .3s; outline: none; font-family: inherit; }
.home-contact-form .form-control::placeholder { color: rgba(255,255,255,.4); }
.home-contact-form .form-control:focus { border-color: var(--accent); background: rgba(255,255,255,.15); }
.home-contact-form textarea.form-control { height: 110px; resize: vertical; }
.home-contact-form .btn-submit { width: 100%; background: var(--accent); color: #fff; border: none; padding: 15px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .3s; letter-spacing: 1px; margin-top: 10px; }
.home-contact-form .btn-submit:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(232,160,32,.3); }
.home-contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; text-align: center; }
.home-contact-info-item { color: rgba(255,255,255,.8); }
.home-contact-info-item i { font-size: 28px; color: var(--accent); margin-bottom: 12px; display: block; }
.home-contact-info-item h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.home-contact-info-item p { font-size: 13px; color: rgba(255,255,255,.6); }
@media (max-width: 768px) { .home-contact-form { padding: 30px 25px; } .home-contact-form .form-row { grid-template-columns: 1fr; } .home-contact-info { grid-template-columns: 1fr; gap: 20px; } }

/* ===== 返回顶部 ===== */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s;
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
  z-index: 998;
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--accent); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 65px; }
  nav.main-nav { display: none; position: fixed; top: 65px; left: 0; width: 100%; background: var(--primary); padding: 20px; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; }
  nav.main-nav ul li a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu-toggle { display: flex; }
  .swiper-slide img { height: 380px; }
  .banner-content h1 { font-size: 28px; }
  .banner-content p { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 20px; }
  .about-section .row { flex-direction: column; }
  .col-2 { width: 100%; }
  .about-content { padding-left: 0; padding-top: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-page-intro { grid-template-columns: 1fr; }
  .product-detail-main { grid-template-columns: 1fr; }
  .news-list-item { flex-direction: column; }
  .news-list-img { width: 100%; }
  .section-title { font-size: 26px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .banner-content h1 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
}
