:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #1e3a5f;
  --primary-600: #1a3352;
  --primary-700: #162d47;
  --primary-800: #0f1e2e;
  --primary-900: #0a1420;

  --accent-400: #f97316;
  --accent-500: #ea580c;
  --accent-600: #c2410c;

  --surface: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --black: #000000;

  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --max-w-7xl: 1280px;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
  /* 显式允许水平溢出可见，防止祖先 overflow-x:hidden 裁剪 position:fixed 元素（如客服条） */
  overflow-x: visible;
}

/* 允许 body 自身处理水平溢出，但不要影响 fixed 定位元素的可见性 */
body {
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-500);
}

.container {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}

.section-article {
  padding: 3rem 0 1.5rem;
}

@media (min-width: 1024px) {
  .section-article {
    padding: 4rem 0 2rem;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--accent-400);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 1.875rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title h2 {
    font-size: 3rem;
  }
}

.section-title-line {
  width: 4rem;
  height: 4px;
  background: var(--accent-400);
  margin: 1.25rem auto 0;
  border-radius: 9999px;
}

.section-desc {
  color: var(--gray-500);
  margin-top: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-400);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-500);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-500);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

#nav-logo-img {
  height: 56px;
  width: auto;
  min-width: 200px;
  max-height: 56px;
  object-fit: contain;
}

.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
}

.nav-logo-text {
  display: none;
}

@media (min-width: 640px) {
  .nav-logo-text {
    display: block;
  }
}

.nav-logo-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--white);
}

.nav-logo-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.nav-menu {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    gap: 2.25rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-400);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-400);
  border-radius: 1px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--accent-400);
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 180px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

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

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--gray-700);
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.nav-dropdown-item:hover {
  background: var(--gray-50);
  color: var(--accent-400);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex !important;
  }
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}

.nav-phone svg {
  width: 1rem;
  height: 1rem;
}

.nav-cta {
  background: var(--accent-400);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent-500);
  box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.25);
}

.nav-toggle {
  display: block;
  padding: 0.5rem;
  color: var(--white);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: var(--primary-500);
  z-index: 60;
  transition: right 0.3s ease;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--white);
  padding: 0.5rem;
}

.mobile-menu-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-400);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hero-content-inner {
  max-width: 56rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease forwards;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-btn {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero-nav svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hero-nav.prev {
  left: 1rem;
}

.hero-nav.next {
  right: 1rem;
}

@media (min-width: 640px) {
  .hero-nav.prev {
    left: 2rem;
  }
  .hero-nav.next {
    right: 2rem;
  }
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.75rem;
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
  background: var(--accent-400);
  width: 2rem;
  border-radius: 9999px;
}

.hero-scroll {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
}

.hero-scroll-dot {
  width: 0.25rem;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  margin-top: 0.5rem;
  animation: bounce 2s infinite;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

.intro-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent-400);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.intro-badge-num {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
}

.intro-badge-text {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.intro-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .intro-content h3 {
    font-size: 1.875rem;
  }
}

.intro-content-line {
  width: 3rem;
  height: 4px;
  background: var(--accent-400);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.intro-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.intro-stat {
  text-align: center;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
}

.intro-stat-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-400);
}

.intro-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.products {
  background: var(--surface);
}

.products-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 新闻详情页两栏布局：左侧文章 + 右侧侧边栏 */
.news-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.news-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .news-layout {
    flex-direction: row;
    gap: 2.5rem;
  }

  .news-main {
    flex: 1;
  }

  .news-sidebar {
    width: 280px;
    flex-shrink: 0;
  }
}

/* 文章推荐列表 */
.sidebar-articles {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-articles li {
  margin-bottom: 0.25rem;
}

.sidebar-articles li:last-child {
  margin-bottom: 0;
}

.sidebar-articles a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.625rem 0;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s ease;
}

.sidebar-articles li:last-child a {
  border-bottom: none;
}

.sidebar-articles a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  flex-shrink: 0;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

.sidebar-articles a:hover {
  color: var(--accent-500);
}

.sidebar-articles a:hover::before {
  background: var(--accent-400);
}

/* 产品页两栏布局：左侧产品列表 + 右侧分类侧边栏 */
.products-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.products-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .products-layout {
    flex-direction: row;
    gap: 2.5rem;
  }

  .products-main {
    flex: 1;
  }

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

.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-400);
}

.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  margin-bottom: 0.25rem;
}

.sidebar-categories li:last-child {
  margin-bottom: 0;
}

.sidebar-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s ease;
}

.sidebar-categories li:last-child a {
  border-bottom: none;
}

.sidebar-categories a:hover {
  color: var(--accent-500);
}

.sidebar-categories a.active {
  color: var(--accent-500);
  font-weight: 600;
}

.sidebar-cat-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-cat-name::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  transition: background 0.2s ease;
}

.sidebar-categories a:hover .sidebar-cat-name::before,
.sidebar-categories a.active .sidebar-cat-name::before {
  background: var(--accent-400);
}

.sidebar-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 9999px;
  background: var(--accent-500);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.5s ease;
  cursor: pointer;
  display: block;
}

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

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 32, 0.6) 0%, transparent 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-tags {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.5s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-card:hover .product-tags {
  opacity: 1;
  transform: translateY(0);
}

.product-tag {
  font-size: 0.75rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.product-info {
  padding: 1.25rem;
}

.product-category {
  color: var(--accent-400);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-500);
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: var(--accent-400);
}

.product-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products-more {
  text-align: center;
  margin-top: 3rem;
}

.advantages {
  background: var(--white);
}

.advantages-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-2xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.advantage-item-reverse {
  flex-direction: row-reverse;
}

.advantage-item-no-image {
  justify-content: center;
  text-align: center;
}

.advantage-item-content {
  flex: 1;
}

.advantage-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.advantage-icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
}

.advantage-item-image {
  flex-shrink: 0;
  max-width: 300px;
}

.advantage-item-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

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

@media (max-width: 768px) {
  .advantage-item {
    flex-direction: column !important;
    text-align: center;
  }
  .advantage-icon-wrap {
    margin: 0 auto 1.25rem;
  }
  .advantage-item-image {
    max-width: 100%;
  }
}

.advantage-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-2xl);
  transition: all 0.3s ease;
}

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

.advantage-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.advantage-icon svg {
  width: 2rem;
  height: 2rem;
}

.advantage-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-500);
  margin-bottom: 0.75rem;
}

.advantage-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.news {
  background: var(--surface);
}

.news-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.news-featured {
  display: block;
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.news-featured:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-3px);
}

.news-featured-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

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

.news-featured-content {
  padding: 1.5rem;
}

.news-featured-date {
  color: var(--accent-400);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.news-featured-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-500);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.news-featured:hover .news-featured-title {
  color: var(--accent-400);
}

.news-featured-desc {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(5px);
}

.news-item-image {
  width: 6rem;
  height: 6rem;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.news-item-date {
  color: var(--gray-400);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.news-item-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-500);
  margin-bottom: 0.25rem;
  line-height: 1.4;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item:hover .news-item-title {
  color: var(--accent-400);
}

.news-item-desc {
  color: var(--gray-500);
  font-size: 0.8125rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  text-align: center;
  margin-top: 3rem;
}

.cta {
  position: relative;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
  }
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.footer-links-row span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links-row a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-row a:hover {
  color: var(--accent-400);
}

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-400);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  width: 50%;
  margin-bottom: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--accent-400);
}

.footer-qrcode-col {
  text-align: center;
}

.footer-qrcode-col .footer-qrcode {
  background: var(--white);
  padding: 10px;
  border-radius: 8px;
  display: inline-block;
}

.footer-qrcode-col .footer-qrcode img {
  width: 100px;
  height: 100px;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 兜底：加载完成后显示，JS 里也会显式改 inline opacity 双保险 */
.footer-qrcode-col .footer-qrcode img.loaded {
  opacity: 1 !important;
}

.footer-qrcode-col p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

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

.page-banner {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .page-banner {
    margin-top: 5rem;
  }
}

.page-banner img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-banner img.loaded {
  opacity: 1;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: none;
}

.page-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 1rem;
}

.page-banner-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .page-banner-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .page-banner-title {
    font-size: 3rem;
  }
}

.page-banner-breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-banner-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.page-banner-breadcrumb a:hover {
  color: var(--accent-400);
}

.page-banner-breadcrumb span {
  margin: 0 0.5rem;
}

/* 面包屑导航条（banner下方） */
.breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.8rem 0;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.breadcrumb-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #666;
}

.breadcrumb-bar-inner a {
  color: #1e3a5f;
  transition: color 0.2s;
  text-decoration: none;
}

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

.breadcrumb-bar-inner .sep {
  color: #aaa;
  margin: 0 0.2rem;
}

.breadcrumb-bar-inner .current {
  color: #888;
}

@media (max-width: 768px) {
  .breadcrumb-bar-inner {
    padding: 0 1rem;
    font-size: 0.8rem;
  }
}

.about-content {
  background: var(--white);
}

.about-text-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--primary);
}

.about-text-section-alt {
  border-left-color: var(--accent);
}

.about-text-inner h3 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.about-text-inner p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}

.about-text-inner p:last-child {
  margin-bottom: 0;
}

.about-images-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-images-title {
  font-size: 1.5rem;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-images-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .about-images-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

.about-image-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: aboutImageReveal 0.5s ease forwards;
}

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

.about-image-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.about-image-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .about-image-item img {
    height: 180px;
  }
}

@media (min-width: 1024px) {
  .about-image-item img {
    height: 200px;
  }
}

.about-section {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .about-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-section.reverse .about-text {
  order: 2;
}

@media (min-width: 1024px) {
  .about-section.reverse .about-text {
    order: 1;
  }
  .about-section.reverse .about-image {
    order: 2;
  }
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .about-text h3 {
    font-size: 1.875rem;
  }
}

.about-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.culture-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.culture-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
}

.culture-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: var(--accent-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.culture-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.culture-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.culture-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 10rem;
  height: 10rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--surface);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-500);
}

.team-position {
  font-size: 0.875rem;
  color: var(--accent-400);
  margin-top: 0.25rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: var(--accent-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-2xl);
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

/* ===== 联系我们页面专用样式 ===== */
.contact .contact-content {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact .contact-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-info-text h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 0.25rem 0;
}

.contact-info-text p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.contact .contact-form {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .contact .contact-form {
    padding: 3rem;
  }
}

.contact .contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact .contact-form input[type="text"],
.contact .contact-form input[type="tel"],
.contact .contact-form input[type="email"],
.contact .contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
  box-sizing: border-box;
}

.contact .contact-form input[type="text"]:focus,
.contact .contact-form input[type="tel"]:focus,
.contact .contact-form input[type="email"]:focus,
.contact .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.contact .contact-form textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.contact .contact-form .btn-block {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  color: var(--white);
  margin-top: 0.5rem;
}

.contact .contact-form .btn-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.contact .contact-form .btn-block:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-submit {
  width: 100%;
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-top: 3rem;
  background: var(--surface);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.news-page-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .news-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.news-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

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

.news-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-400);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.news-card-content {
  padding: 1.25rem;
}

.news-card-date {
  color: var(--gray-400);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-500);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card-title {
  color: var(--accent-400);
}

.news-card-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  border-color: var(--accent-400);
  color: var(--accent-400);
}

.pagination-btn.active {
  background: var(--accent-400);
  border-color: var(--accent-400);
  color: var(--white);
}

.article-content {
  max-width: 48rem;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.875rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta svg {
  width: 1rem;
  height: 1rem;
}

.article-body {
  color: var(--gray-700);
  line-height: 2;
  font-size: 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body h3 {
  font-size: 1.375rem;
  margin: 2rem 0 1rem;
}

.article-body img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  margin: 1.5rem 0;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body > *:last-child {
  margin-bottom: 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.article-tag {
  font-size: 0.8125rem;
  padding: 0.375rem 0.875rem;
  background: var(--surface);
  border-radius: 9999px;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.article-tag:hover {
  background: var(--accent-400);
  color: var(--white);
}

.product-detail {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.product-gallery {
  position: sticky;
  top: 6rem;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--accent-400);
}

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

.product-info-category {
  color: var(--accent-400);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-info h1 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .product-info h1 {
    font-size: 2.25rem;
  }
}

.product-info-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-400);
  margin-bottom: 1.5rem;
}

.product-info-desc {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-specs {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
}

.product-specs h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.product-spec-item {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
}

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

.product-spec-label {
  width: 6rem;
  color: var(--gray-500);
  flex-shrink: 0;
}

.product-spec-value {
  color: var(--gray-700);
  flex: 1;
}

.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-actions .btn {
  flex: 1;
  min-width: 140px;
}

.product-detail-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.product-detail-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-detail-section p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.product-features {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .product-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-feature {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.product-feature-icon {
  color: var(--accent-400);
  flex-shrink: 0;
}

.product-feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.product-feature-text {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

.loading-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid var(--gray-200);
  border-top-color: var(--accent-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 产品电话按钮 */
.product-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.product-phone-btn .phone-text {
  font-weight: 700;
}

.product-phone-btn .phone-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255,255,255,0.3);
}

@media (max-width: 640px) {
  .product-phone-btn .phone-label {
    display: none;
  }
}

/* 文章导航 */
.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}

.article-nav-prev,
.article-nav-next {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  text-decoration: none;
  max-width: 45%;
  transition: color 0.3s ease;
}

.article-nav-next {
  text-align: right;
  justify-content: flex-end;
}

.article-nav-prev:hover,
.article-nav-next:hover {
  color: var(--accent-400);
}

/* 产品导航 */
.product-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
}

.product-nav-prev,
.product-nav-next {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-nav-next {
  text-align: right;
}

.product-nav-prev:hover,
.product-nav-next:hover {
  color: var(--accent-400);
}

/* 右下角客服组件 - 新样式 */
.cs-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  padding: 8px 4px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cs-bar-item svg {
  width: 20px;
  height: 20px;
  margin-bottom: 4px;
}

.cs-bar-phone {
  background: #f97316;
  border-radius: 8px 0 0 0;
}

.cs-bar-phone:hover {
  background: #ea580c;
}

.cs-bar-wechat {
  background: #fff;
  color: #f97316;
  border-left: 2px solid #f97316;
}

.cs-bar-wechat:hover {
  background: #fff7ed;
}

.cs-bar-top {
  background: #f97316;
  border-radius: 0 0 0 8px;
}

.cs-bar-top:hover {
  background: #ea580c;
}

/* 展开面板 */
.cs-expand {
  position: fixed;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  z-index: 9999;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 20px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cs-expand.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.cs-expand-phone {
  margin-top: -40px;
}

.cs-expand-wechat {
  margin-top: 40px;
}

.cs-expand-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.cs-expand-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
}

.cs-expand-phone-num {
  font-size: 20px;
  font-weight: 700;
  color: #f97316;
  text-align: center;
  padding: 10px 0;
}

.cs-expand-phone-num a {
  color: #f97316;
  text-decoration: none;
}

.cs-expand-qrcode {
  text-align: center;
}

.cs-expand-qrcode img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 兜底：加载完成后显示微信二维码图片，与 JS 双重保险 */
.cs-expand-qrcode img.loaded {
  opacity: 1 !important;
}

.cs-expand-qrcode p {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

@media (max-width: 768px) {
  /* 移动端导航栏适配 - 更紧凑 */
  .nav-inner {
    height: 50px;
  }
  .navbar {
    height: 50px;
  }
  #nav-logo-img {
    height: 32px;
    min-width: auto;
    max-height: 32px;
  }
  .nav-logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
  .nav-logo-title {
    font-size: 0.8rem;
  }
  .nav-logo-subtitle {
    font-size: 0.65rem;
  }
  .nav-logo {
    gap: 0.5rem;
  }

  /* 首页轮播图适配 - 固定高度，避免vh不准 */
  .hero {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }
  .hero-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  .hero-btn {
    font-size: 0.8125rem;
    padding: 0.5rem 1.25rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .hero-nav {
    width: 2rem;
    height: 2rem;
  }
  .hero-nav svg {
    width: 0.875rem;
    height: 0.875rem;
  }
  .hero-dots {
    bottom: 0.75rem;
    gap: 0.375rem;
  }
  .hero-dot {
    width: 0.375rem;
    height: 0.375rem;
  }
  .hero-dot.active {
    width: 1.25rem;
  }

  /* 客服条适配 - 更紧凑，完全可见 */
  .cs-bar {
    right: 0;
  }
  .cs-bar-item {
    width: 40px;
    padding: 5px 2px;
    font-size: 9px;
  }
  .cs-bar-item svg {
    width: 14px;
    height: 14px;
    margin-bottom: 1px;
  }

  /* 移动端浮动按钮 */
  .mobile-float-btn {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9998;
  }
  .mobile-float-phone {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .mobile-float-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.5);
  }
  .product-phone-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .phone-text {
    display: none;
  }
  .phone-label {
    font-size: 14px;
  }
}

@media (min-width: 769px) {
  .mobile-float-btn {
    display: none;
  }
}

/* 页面预加载 - 防止闪烁 */
.page-preload {
  visibility: hidden;
  opacity: 0;
}

.page-preload body {
  visibility: hidden;
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #f97316;
  border-radius: 50%;
  animation: page-spin 0.8s linear infinite;
}

@keyframes page-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 内容淡入动画 */
body:not(.page-preload) {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.friend-links {
  background: linear-gradient(180deg, var(--primary-700) 0%, var(--primary-800) 100%);
  padding: 1.5rem 0;
}

.friend-links-header {
  margin-bottom: 0.75rem;
}

.friend-links-label {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  display: inline-block;
  border-left: 4px solid var(--accent-400);
  padding-left: 0.75rem;
  line-height: 1.2;
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.friend-link-item {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.friend-link-item:hover {
  color: var(--accent-400);
}
