/* ============================================
   示例 官网样式
   ============================================ */

:root {
  --primary: #334d8a;
  --primary-dark: #243662;
  --primary-light: #4a68b0;
  --accent: #cd776f;
  --accent-dark: #b55f57;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg-light: #f7f7f7;
  --bg-gray: #efefef;
  --footer-bg: #151515;
  --border: #e5e5e5;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

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

ul,
ol {
  list-style: none;
}

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

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

/* ============ 顶部信息条 ============ */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 6px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
}

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

.topbar-right {
  display: flex;
  gap: 20px;
}

/* ============ 头部导航 ============ */
.header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
}

.logo-text p {
  font-size: 12px;
  color: var(--text-lighter);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  border-radius: 4px;
}

.nav > li > a:hover,
.nav > li.active > a {
  color: var(--primary);
  background: rgba(51, 77, 138, 0.08);
}

.nav > li > a.has-dropdown::after {
  content: "▾";
  font-size: 10px;
  margin-left: 5px;
  color: var(--text-lighter);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 200;
}

.nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
}

.dropdown a:hover {
  background: rgba(51, 77, 138, 0.08);
  color: var(--primary);
  padding-left: 26px;
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-light);
}

.header-search input {
  border: none;
  outline: none;
  background: transparent;
  padding: 7px 14px;
  font-size: 13px;
  width: 150px;
  color: var(--text);
}

.header-search button {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.3s;
}

.header-search button:hover {
  background: var(--primary-dark);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ============ 轮播横幅 ============ */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 24, 48, 0.88) 0%, rgba(15, 24, 48, 0.55) 45%, rgba(15, 24, 48, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-content .tagline {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-content h2 {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero-content h2 span {
  color: #ffd9a0;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--primary);
  color: #fff;
}

.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* 轮播指示器 */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dots span.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s;
}

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

/* ============ 通用区块 ============ */
.section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head .sub-title {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-head h2 {
  font-size: 32px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
}

.section-head .line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-head p {
  color: var(--text-light);
  margin-top: 14px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ 产品中心 ============ */
.product-section {
  background: var(--white);
}

.product-layout {
  display: flex;
  gap: 30px;
}

.product-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px 0;
  align-self: flex-start;
}

.product-sidebar h3 {
  font-size: 16px;
  color: var(--white);
  background: var(--primary);
  padding: 14px 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.product-sidebar ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid transparent;
}

.product-sidebar ul li a:hover,
.product-sidebar ul li.active a {
  background: rgba(51, 77, 138, 0.08);
  color: var(--primary);
  border-left-color: var(--accent);
  padding-left: 24px;
}

.product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card .thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-light);
}

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

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

.product-card .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 3px;
}

.product-card .info {
  padding: 18px 20px 20px;
}

.product-card .info h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  height: 42px;
  overflow: hidden;
  margin-bottom: 14px;
}

.product-card .actions {
  display: flex;
  gap: 10px;
}

.product-card .actions a {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.product-card .actions a:last-child {
  background: var(--primary);
  color: #fff;
}

.product-card .actions a:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

/* ============ 公司介绍 ============ */
.about-section {
  background: var(--bg-light);
}

.about-layout {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-img {
  flex: 1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img .exp-badge {
  position: absolute;
  bottom: -20px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-img .exp-badge strong {
  font-size: 30px;
  display: block;
  line-height: 1.2;
}

.about-img .exp-badge span {
  font-size: 13px;
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 700;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 14.5px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* 数据统计 */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}

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

.stat-item strong {
  display: block;
  font-size: 40px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.stat-item strong em {
  font-style: normal;
  font-size: 22px;
  color: #ffd9a0;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  letter-spacing: 1px;
}

/* ============ 新闻中心 ============ */
.news-section {
  background: var(--white);
}

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

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.news-card .thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.news-card .thumb .date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(21, 21, 21, 0.75);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 3px;
}

.news-card .body {
  padding: 20px;
}

.news-card .body h4 {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.news-card .body h4:hover {
  color: var(--primary);
}

.news-card .body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.news-card .body .more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.news-card .body .more:hover {
  color: var(--accent);
}

/* ============ 页脚 ============ */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.footer-about p {
  line-height: 1.8;
  margin-bottom: 18px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer-contact li .icon {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-form .form-group {
  margin-bottom: 12px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-color: var(--accent);
}

.footer-form textarea {
  height: 70px;
  resize: vertical;
}

.footer-form .btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 11px;
  font-size: 14px;
}

.footer-form .btn:hover {
  background: var(--accent-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============ 内页横幅 ============ */
.page-banner {
  position: relative;
  height: 260px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.25;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h2 {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.page-banner .breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.page-banner .breadcrumb a:hover {
  color: #fff;
}

.page-banner .breadcrumb span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ 内页通用布局 ============ */
.page-layout {
  display: flex;
  gap: 30px;
  padding: 50px 0 70px;
  align-items: flex-start;
}

.page-sidebar {
  width: 230px;
  flex-shrink: 0;
}

.page-sidebar .side-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.page-sidebar .side-box h3 {
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  padding: 14px 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.page-sidebar .side-box ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid transparent;
}

.page-sidebar .side-box ul li a:hover,
.page-sidebar .side-box ul li.active a {
  background: rgba(51, 77, 138, 0.08);
  color: var(--primary);
  border-left-color: var(--accent);
  padding-left: 24px;
}

.page-sidebar .side-contact {
  background: var(--primary);
  color: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
}

.page-sidebar .side-contact h3 {
  background: none;
  padding: 0 0 12px;
  font-size: 17px;
}

.page-sidebar .side-contact p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.page-sidebar .side-contact .phone {
  font-size: 20px;
  font-weight: 700;
  color: #ffd9a0;
  margin: 10px 0;
}

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

.page-main .content-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

/* ============ 关于我们 ============ */
.about-page h3 {
  font-size: 22px;
  color: var(--primary);
  margin: 28px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.about-page h3:first-child {
  margin-top: 0;
}

.about-page p {
  color: var(--text-light);
  margin-bottom: 14px;
  text-indent: 2em;
  line-height: 1.9;
}

.about-page .about-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.about-page .about-hero-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-page .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}

.about-page .two-col img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-page .feature-list {
  margin: 16px 0;
}

.about-page .feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px dashed var(--border);
}

.about-page .feature-list li::before {
  content: "◆";
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-size: 12px;
  top: 13px;
}

/* ============ 产品详情 ============ */
.product-detail {
  display: flex;
  gap: 40px;
}

.product-detail .detail-img {
  width: 380px;
  flex-shrink: 0;
}

.product-detail .detail-img img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-detail .detail-info {
  flex: 1;
}

.product-detail .detail-info h1 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 14px;
}

.product-detail .detail-info .cat {
  display: inline-block;
  background: rgba(51, 77, 138, 0.1);
  color: var(--primary);
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.product-detail .detail-info .desc {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 20px;
}

.product-detail .detail-info .spec-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.product-detail .detail-info .spec-list li {
  display: flex;
  padding: 10px 16px;
  font-size: 14px;
}

.product-detail .detail-info .spec-list li:nth-child(odd) {
  background: var(--bg-light);
}

.product-detail .detail-info .spec-list li span:first-child {
  width: 120px;
  color: var(--text-lighter);
  flex-shrink: 0;
}

/* ============ 联系我们 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-info-box h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.contact-info-box ul li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  align-items: flex-start;
}

.contact-info-box ul li .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-info-box ul li .text {
  font-size: 14px;
  color: var(--text-light);
}

.contact-info-box ul li .text strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-form-box h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-form-box .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-form-box label {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form-box label em {
  color: var(--accent);
  font-style: normal;
}

.contact-form-box input,
.contact-form-box textarea,
.contact-form-box select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
  background: var(--white);
}

.contact-form-box input:focus,
.contact-form-box textarea:focus,
.contact-form-box select:focus {
  border-color: var(--primary);
}

.contact-form-box textarea {
  height: 120px;
  resize: vertical;
}

/* ============ 新闻列表 ============ */
.news-featured {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 30px;
  border-left: 4px solid var(--accent);
}

.news-featured .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.news-featured .gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.news-featured .gallery img:hover {
  transform: scale(1.03);
}

.news-featured h4 {
  font-size: 21px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.news-featured .meta {
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 14px;
}

.news-featured p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 12px;
  font-size: 14.5px;
}

.news-featured .highlight {
  background: rgba(205, 119, 111, 0.12);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: 14px;
  font-size: 15px;
}

.news-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.news-list li:hover {
  padding-left: 10px;
}

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

.news-list .news-thumb {
  width: 220px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.news-list .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list .news-info h4 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
}

.news-list .news-info h4:hover {
  color: var(--primary);
}

.news-list .news-info .meta {
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 8px;
}

.news-list .news-info p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ 分页 ============ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  padding: 0 8px;
}

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

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

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
  border: none;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .about-layout {
    flex-direction: column;
  }

  .about-img img {
    height: 320px;
  }

  .hero {
    height: 480px;
  }

  .hero-content h2 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .topbar-right {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 20px 30px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
    z-index: 150;
  }

  .nav.open {
    right: 0;
  }

  .nav > li {
    width: 100%;
  }

  .nav > li > a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
  }

  .nav > li.open .dropdown {
    display: block;
  }

  .header-search {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

  .hero {
    height: 420px;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-arrow {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .product-layout {
    flex-direction: column;
  }

  .product-sidebar {
    width: 100%;
  }

  .product-sidebar ul {
    display: flex;
    flex-wrap: wrap;
  }

  .product-sidebar ul li a {
    padding: 8px 14px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-layout {
    flex-direction: column;
  }

  .page-sidebar {
    width: 100%;
  }

  .page-main .content-box {
    padding: 20px;
  }

  .product-detail {
    flex-direction: column;
  }

  .product-detail .detail-img {
    width: 100%;
  }

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

  .contact-form-box .form-row {
    grid-template-columns: 1fr;
  }

  .about-page .two-col {
    grid-template-columns: 1fr;
  }

  .news-list li {
    flex-direction: column;
  }

  .news-list .news-thumb {
    width: 100%;
    height: 180px;
  }

  .news-featured .gallery {
    grid-template-columns: 1fr;
  }

  .news-featured .gallery img {
    height: 200px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}
