/* ===================================
   CSS 变量 & Reset
   =================================== */
:root {
  --primary: #0f172a;
  --primary-dark: #020617;
  --primary-light: #f1f5f9;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #e2e8f0;
  --border: rgba(37,99,235,0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --nav-height: 80px;
  --container: 1300px;
  --font: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ===================================
   布局工具类
   =================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

/* ===================================
   标题系统
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ===================================
   按钮
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-dark-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-dark-outline:hover {
  background: var(--accent);
  color: #fff;
}

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

.btn-white:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ===================================
   导航栏
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
/* 鼠标悬停（仅当未滚动时生效）：白色毛玻璃 */
.navbar:not(.scrolled):hover {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
/* 滚动后 / 子页面：纯白不透明，禁用 hover 渐变 */
.navbar.scrolled,
.navbar.scrolled:hover {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo img {
  height: 38px;
  width: auto;
}
/* 页脚中仍使用文字 logo */
.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--accent);
  text-shadow: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.35s ease;
}
/* hover 毛玻璃时去掉阴影 */
.navbar:not(.scrolled):hover .nav-links a { text-shadow: none !important; }
/* scrolled 保持深色 */
.navbar.scrolled .nav-links a {
  color: var(--text) !important;
  text-shadow: none !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
  background: rgba(37,99,235,0.12);
}
/* scrolled 时蓝色高亮 */
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--accent) !important;
  background: rgba(37,99,235,0.07);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border: 1.5px solid rgba(37,99,235,0.35);
  border-radius: var(--radius);
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-phone:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.nav-phone svg {
  width: 15px;
  height: 15px;
}

/* 联系方式列 */
.nav-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.nav-contact-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 10px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-contact-item:hover {
  background: rgba(37,99,235,0.08);
  border-color: var(--accent);
}

/* 社交媒体链接 */
.nav-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  flex-shrink: 0;
}
.nav-social .nav-social-link:nth-child(3) {
  grid-column: 1 / -1;
}
.nav-social-link {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 10px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.nav-social-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  box-shadow: none;
  border-radius: 2px;
  transition: all 0.35s ease;
}
.navbar:not(.scrolled):hover .hamburger span { box-shadow: none; }
.navbar.scrolled .hamburger span {
  background: var(--primary) !important;
  box-shadow: none !important;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  padding: 8px 24px 24px;
  z-index: 998;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color var(--transition);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

.mobile-phone {
  margin-top: 16px;
  padding: 12px 0;
  color: var(--accent) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  border-bottom: none !important;
}

/* ===================================
   Hero
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 12s ease;
}

.hero-bg.loaded {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* 无图时的几何背景纹理 */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(37,99,235,0.04) 12%, transparent 12.5%, transparent 87%, rgba(37,99,235,0.04) 87.5%),
    linear-gradient(150deg, rgba(37,99,235,0.04) 12%, transparent 12.5%, transparent 87%, rgba(37,99,235,0.04) 87.5%),
    linear-gradient(30deg, rgba(37,99,235,0.04) 12%, transparent 12.5%, transparent 87%, rgba(37,99,235,0.04) 87.5%),
    linear-gradient(150deg, rgba(37,99,235,0.04) 12%, transparent 12.5%, transparent 87%, rgba(37,99,235,0.04) 87.5%);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 100px;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 44px;
  line-height: 1.85;
  max-width: 520px;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bobUp 2.4s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

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

/* ===================================
   优势特色
   =================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: #fff;
}

.feature-icon svg { width: 32px; height: 32px; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===================================
   产品卡片
   =================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(37,99,235,0.2);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

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

.product-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
}

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

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

.product-img-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.2;
  pointer-events: none;
}

.product-img-ph svg { width: 56px; height: 56px; }

/* 有真实图片时隐藏占位图标 */
.product-img:has(.product-img-inner) .product-img-ph { display: none; }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.product-info {
  padding: 20px 22px 22px;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.product-info p {
  font-size: 0.855rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-price strong {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 700;
}

.product-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition);
}

.product-card:hover .product-arrow {
  color: var(--accent-dark);
  gap: 8px;
}

/* ===================================
   统计数字
   =================================== */
.stats {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 64px 0;
}

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

.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* ===================================
   CTA 区域
   =================================== */
.cta-section { padding: 80px 0; }

.cta-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: rgba(37,99,235,0.07);
  border-radius: 50%;
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-phone-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
}

.cta-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ===================================
   页脚
   =================================== */
.footer {
  background: #f1f5f9;
  color: var(--text);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text { font-size: 1.35rem; }

.footer-tagline {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.footer-col h4 {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-light);
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.footer-qr {
  margin-top: 20px;
}

.qr-box {
  width: 88px;
  height: 88px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
}

.qr-box img { width: 100%; height: 100%; object-fit: cover; }

.qr-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===================================
   内页 Page Header
   =================================== */
.page-header {
  background-color: #0f172a;
  background-size: cover;
  background-position: center 75%;
  padding: calc(var(--nav-height) + 120px) 0 180px;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .container { width: 100%; position: relative; z-index: 2; }
.page-header h1,
.page-header p {
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
}

.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb span { color: var(--text); }

/* 页面头部（深色遮罩）中的面包屑保持白色 */
.page-header .breadcrumb,
.page-header .breadcrumb a,
.page-header .breadcrumb .sep { color: rgba(255,255,255,0.55); }
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-header .breadcrumb span { color: var(--accent); }

/* ===================================
   产品列表页 筛选栏
   =================================== */
.filter-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.filter-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar .container::-webkit-scrollbar { display: none; }

.filter-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 4px;
}

.filter-btn {
  flex-shrink: 0;
  padding: 7px 20px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
}

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

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ===================================
   产品列表页 全部产品网格
   =================================== */
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card[data-hidden="true"] { display: none; }

/* ===================================
   首页产品展示（大图 + 描述 + Explore More）
   =================================== */
.showcase-row {
  display: flex;
  align-items: center;
  gap: 96px;
  padding: 72px 0;
  position: relative;
  transition: background 0.35s ease;
  border: 1.5px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 32px;
  padding: 48px 32px;
}
.showcase-row:first-child { padding-top: 48px; margin-top: 16px; }
.showcase-row:last-child { padding-bottom: 48px; }
.showcase-row:first-child { padding-top: 72px; }
.showcase-row:last-child { padding-bottom: 72px; }

/* 分界线：与变色区域同宽 */

/* 悬停金色带：与分界线同宽 */
.showcase-row::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.showcase-row:hover::after { opacity: 1; }

.showcase-row.showcase-reverse { flex-direction: row-reverse; }

.showcase-img {
  flex: 0 0 52%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border);
  position: relative;
}
.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.showcase-row:hover .showcase-img img { transform: scale(1.04); }

.showcase-row:hover .showcase-cat { color: #fff; }
.showcase-row:hover .showcase-name,
.showcase-row:hover .showcase-model,
.showcase-row:hover .showcase-material,
.showcase-row:hover .showcase-desc,
.showcase-row:hover .showcase-price { color: #fff; }
.showcase-row:hover .btn-primary { background: #fff; color: var(--accent); border-color: #fff; }

.showcase-row .showcase-img,
.showcase-row .showcase-body { position: relative; z-index: 1; }

.showcase-name, .showcase-model, .showcase-material, .showcase-desc,
.showcase-cat, .showcase-price {
  transition: color 0.35s ease;
}

.showcase-body { flex: 1; min-width: 0; padding: 12px 0; }

.showcase-cat {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.showcase-name {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.15;
}

.showcase-model {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 0 10px;
}

.showcase-material {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 18px;
  line-height: 1.6;
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  margin: 0 0 24px;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.showcase-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 768px) {
  .showcase-row,
  .showcase-row.showcase-reverse {
    flex-direction: column;
    gap: 28px;
    padding: 40px 0;
  }
  .showcase-img { flex: none; width: 100%; }
}

/* ===================================
   产品详情页
   =================================== */
.detail-section { padding: 60px 0 80px; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid var(--border);
  cursor: zoom-in;
  position: relative;
}

.gallery-main img {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  object-position: center;
  background: var(--bg);
  transition: transform 0.4s ease;
}

.gallery-main:hover img { transform: scale(1.02); }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--bg); }

.detail-info h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.detail-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-light);
}

.detail-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.85;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.specs-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 0.9rem;
}

.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 10px 8px;
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 110px;
  font-weight: 500;
}

.specs-table td:last-child {
  color: var(--text);
  font-weight: 600;
}

.detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ===================================
   关于我们
   =================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid var(--border);
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-img-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.12;
}

.about-img-ph svg { width: 96px; height: 96px; }

.about-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.about-text p:last-of-type { margin-bottom: 0; }

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

.cert-item {
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}

.cert-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cert-item svg {
  color: var(--accent);
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
}

.cert-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.cert-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cert-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  cursor: zoom-in;
  transition: transform var(--transition);
}

.cert-item:hover img { transform: scale(1.02); }

/* 用户分享 */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.community-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.community-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.community-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.community-card-body {
  padding: 16px 20px 20px;
}
.community-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.community-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.community-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}
.community-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.community-imgs img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* 详情弹窗 */
.detail-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,0.7); align-items: center; justify-content: center;
  padding: 20px;
}
.detail-modal-overlay.open { display: flex; }

.detail-modal-dialog {
  background: #fff; border-radius: var(--radius-xl); max-width: 680px;
  width: 100%; max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.detail-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.5); color: #fff; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.detail-modal-img {
  width: 100%; aspect-ratio: 16/10; overflow: hidden;
  background: var(--bg-light);
}
.detail-modal-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.detail-modal-body {
  padding: 24px 28px 28px;
}
.detail-modal-body h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--text);
  margin-bottom: 8px; line-height: 1.4;
}
.detail-modal-body .community-date {
  font-size: 0.82rem; color: var(--text-muted);
  display: block; margin-bottom: 14px;
}
.detail-modal-body p {
  font-size: 0.95rem; color: var(--text-light);
  line-height: 1.8;
}

/* 视频展示 */
.video-gallery {
  max-width: 960px;
  margin: 0 auto;
}
.video-card-lg {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}
.video-card-lg video {
  width: 100%;
  display: block;
  max-height: 540px;
  object-fit: contain;
  background: #000;
}
.video-card-lg h4 {
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid var(--border);
}
.video-card video {
  width: 100%;
  display: block;
}
.video-card h4 {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* 图片集（工厂实景 / 效果图）响应式网格：桌面 3 列 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-cell {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-light);
  cursor: zoom-in;
  transition: box-shadow var(--transition), transform var(--transition);
}

.gallery-cell img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-cell:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-cell:hover img { transform: scale(1.04); }

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

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===================================
   图集轮播（工厂 / 资质 / 效果图）单页大图 + 两侧露边
   由 js/carousel.js 就地把 .gallery-grid / .cert-grid 升级为轮播
   =================================== */
.gallery-grid.carousel,
.cert-grid.carousel {
  display: block;            /* 取消原网格布局 */
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  align-items: center;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 auto;            /* 宽度由 JS 按视口比例设置 */
  box-sizing: border-box;
  opacity: 0.4;
  transform: scale(0.88);
  transition: opacity .5s ease, transform .5s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* 轮播内部的单元放大、图片完整居中显示（覆盖原网格小尺寸） */
.carousel-slide .cert-item,
.carousel-slide .gallery-cell {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: none;
  box-shadow: none;
}

.carousel-slide .cert-item img,
.carousel-slide .gallery-cell img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 auto;
}

.carousel-slide .cert-item:hover img,
.carousel-slide .gallery-cell:hover img { transform: none; }

.carousel-slide .cert-item h4 {
  margin-top: 14px;
  font-size: 0.95rem;
}

/* 左右翻页按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.carousel-btn:hover { background: var(--accent, #c0392b); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* 圆点指示器 */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border, #d8d8d8);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.is-active {
  background: var(--accent, #c0392b);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .carousel-slide .cert-item img,
  .carousel-slide .gallery-cell img { max-height: 48vh; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.4rem; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
}

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

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

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 2.5rem;
  font-weight: 700;
  overflow: hidden;
}

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

.team-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===================================
   联系页
   =================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--text);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(37,99,235,0.04);
  border-radius: 50%;
}

.contact-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  color: var(--primary);
}

.contact-card .sub {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 36px;
  position: relative;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(37,99,235,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-detail-body h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-detail-body p {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
}

.contact-detail-body .sub-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

.contact-wechat {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  position: relative;
}

.contact-wechat h4 {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.qr-lg {
  width: 130px;
  height: 130px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.qr-lg img { width: 100%; height: 100%; object-fit: cover; }

.contact-right h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-right .sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.info-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.info-box svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
}

.info-box h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.info-box p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.info-box .note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-light);
}

.map-static {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-light);
}
.map-static-inner {
  padding: 48px 24px;
  text-align: center;
}
.map-static-inner h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 16px 0 6px;
}
.map-static-inner p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.map-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.map-btns .btn { font-size: 0.85rem; padding: 10px 20px; }

.map-ph {
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 8px;
}

.map-ph svg { width: 40px; height: 40px; opacity: 0.4; }

.map-ph p { font-size: 0.85rem; }

/* ===================================
   滚动动画
   =================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===================================
   灯箱
   =================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-thumbs {
  display: flex; gap: 8px; margin-top: 16px; justify-content: center; flex-wrap: wrap;
}
.lightbox-thumb {
  width: 64px; height: 48px; border-radius: 4px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent; opacity: 0.5;
  transition: all 0.2s;
}
.lightbox-thumb:hover, .lightbox-thumb.active {
  opacity: 1; border-color: #fff;
}
.lightbox-thumb img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  max-width: none; max-height: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===================================
   返回顶部
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

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

.back-to-top svg { width: 20px; height: 20px; }

/* ===================================
   获取报价 弹窗表单（fixed 覆盖层，不影响原页面布局）
   =================================== */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.quote-modal.open { display: flex; }

.quote-dialog {
  background: var(--bg, #fff);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg, 14px);
  padding: 34px 28px 28px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  animation: quotePop 0.25s ease;
}
@keyframes quotePop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.quote-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.quote-close:hover { background: var(--border); }

#quoteTitle { font-size: 1.4rem; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.quote-sub { color: var(--text-light); font-size: 0.9rem; margin: 0 0 20px; }

.quote-field { margin-bottom: 14px; display: flex; flex-direction: column; }
.quote-field label { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius, 8px);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg, #fff);
  transition: border-color 0.2s;
}
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus { outline: none; border-color: var(--accent); }
.quote-field textarea { resize: vertical; min-height: 72px; }

.quote-row { display: flex; gap: 12px; }
.quote-cc { flex: 0 0 44%; }
.quote-phone { flex: 1; }

.quote-err { color: #d33; font-size: 0.74rem; margin-top: 4px; min-height: 1em; }
.quote-field.invalid input,
.quote-field.invalid select { border-color: #d33; }

.quote-submit { width: 100%; margin-top: 6px; justify-content: center; }
.quote-submit[disabled] { opacity: 0.7; cursor: not-allowed; }

.quote-status { text-align: center; font-size: 0.88rem; margin: 14px 0 0; min-height: 1.2em; }
.quote-status.success { color: #15803d; }
.quote-status.error { color: #d33; }

/* ===================================
   详情图弹窗
   =================================== */
.detail-gallery-overlay {
  display: none; position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
}
.detail-gallery-overlay.open { display: flex; }

.detail-gallery-dialog {
  position: relative; max-width: 90vw; max-height: 90vh;
  text-align: center; color: #fff;
}
.detail-gallery-dialog h3 {
  font-size: 1rem; margin-bottom: 16px; color: rgba(255,255,255,0.7);
}
.detail-gallery-main {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  position: relative; overflow: hidden;
}
.detail-gallery-main img {
  max-width: 80vw; max-height: 75vh; object-fit: contain;
  border-radius: 8px; margin: 0 auto;
}
.detail-gallery-nav {
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  font-size: 2rem; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
.detail-gallery-nav:hover { background: rgba(255,255,255,0.25); }
.detail-gallery-counter {
  margin-top: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.detail-gallery-thumbs {
  display: flex; gap: 10px; margin-top: 16px; justify-content: center;
}
.detail-gallery-thumb {
  width: 100px; height: 70px; border-radius: 6px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent; opacity: 0.6;
  transition: all 0.25s;
}
.detail-gallery-thumb:hover, .detail-gallery-thumb.active {
  opacity: 1; border-color: #fff;
}
.detail-gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.detail-gallery-close {
  position: absolute; top: -40px; right: 0; background: none;
  border: none; color: #fff; font-size: 1.5rem; cursor: pointer;
  padding: 8px;
}

@media (max-width: 480px) {
  .quote-row { flex-direction: column; gap: 0; }
  .quote-cc { flex: none; }
  .quote-dialog { padding: 28px 18px 22px; }
}
