/* ============================================
   SHPACK 主题 - 天蓝色制造业风格
   ============================================ */

:root {
  /* 品牌色 - 天蓝色系 */
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;   /* 主色 */
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;   /* 深海蓝 */
  --sky-900: #0c4a6e;

  --accent: #f97316;    /* 橙色点缀 */
  --accent-dark: #ea580c;

  /* 中性色 */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;

  /* 字体 */
  --font-display: 'Barlow', 'Noto Sans SC', -apple-system, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;

  /* 容器 */
  --container-max: 1280px;
  --container-padding: 24px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(7, 89, 133, 0.06);
  --shadow-md: 0 4px 16px rgba(7, 89, 133, 0.08);
  --shadow-lg: 0 16px 40px rgba(7, 89, 133, 0.14);

  --radius: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sky-800); }
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-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================
   布局工具
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--sky-100);
  color: var(--sky-700);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-500), var(--sky-700));
  margin: 20px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  color: var(--gray-600);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--sky-500);
  color: var(--white);
  border-color: var(--sky-500);
}
.btn-primary:hover {
  background: var(--sky-700);
  border-color: var(--sky-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--sky-800);
}
.btn-dark {
  background: var(--sky-800);
  color: var(--white);
  border-color: var(--sky-800);
}
.btn-dark:hover {
  background: var(--sky-900);
  border-color: var(--sky-900);
  color: var(--white);
}

/* ============================================
   顶部信息条
   ============================================ */
.top-bar {
  background: var(--sky-900);
  color: var(--gray-200);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar a { color: var(--gray-200); }
.top-bar a:hover { color: var(--sky-300); }
.top-bar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-info span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================
   主导航
   ============================================ */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-main {
  padding: 18px 0;
}
.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--sky-800);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.site-logo .accent { color: var(--sky-500); }

.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 0;
  position: relative;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--sky-500);
  transition: all var(--transition);
  transform: translateX(-50%);
}
.main-nav > ul > li:hover > a::after,
.main-nav .current-menu-item > a::after { width: 100%; }

/* 二级菜单 */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--sky-500);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.main-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li { display: block; }
.main-nav .sub-menu a {
  padding: 10px 20px;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.main-nav .sub-menu a:hover {
  background: var(--sky-50);
  color: var(--sky-700);
  padding-left: 26px;
}
.main-nav .sub-menu li:last-child a { border-bottom: none; }

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

/* 语言切换 */
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a {
  padding: 6px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--sky-500);
  color: var(--white);
  border-color: var(--sky-500);
}

/* 移动端汉堡 */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--gray-800);
  transition: all var(--transition);
}

/* ============================================
   Hero 主视觉
   ============================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--sky-900) 0%, var(--sky-700) 50%, var(--sky-500) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content { max-width: 760px; }
.hero-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--sky-100);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 .highlight {
  display: inline-block;
  position: relative;
  color: var(--sky-200);
}
.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* ============================================
   信任徽章 / Logo 滚动
   ============================================ */
.trust-strip {
  background: var(--gray-50);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-strip-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.logo-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.logo-grid img {
  max-height: 48px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition);
}
.logo-grid img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ============================================
   产品/能力 卡片网格
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-200);
}
.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-image img { transform: scale(1.05); }
.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-300));
  color: var(--sky-800);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.card-body { padding: 28px; }
.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-600);
  font-weight: 600;
  margin-bottom: 8px;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--gray-900);
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--sky-600); }
.card-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sky-600);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-link::after {
  content: '→';
  transition: transform var(--transition);
}
.card-link:hover::after { transform: translateX(4px); }

/* ============================================
   行业图标网格
   ============================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.industry-item {
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
  border-radius: var(--radius);
  border: 2px solid var(--gray-100);
  transition: all var(--transition);
  cursor: pointer;
}
.industry-item:hover {
  border-color: var(--sky-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-700);
  font-size: 1.75rem;
  transition: all var(--transition);
}
.industry-item:hover .industry-icon {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: var(--white);
  transform: scale(1.1);
}
.industry-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
}

/* ============================================
   流程步骤
   ============================================ */
.process-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--sky-500);
}
.process-step-num {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--sky-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}
.process-step h4 {
  margin-bottom: 12px;
  color: var(--sky-800);
}
.process-step p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ============================================
   优势 / 数据展示
   ============================================ */
.why-us {
  background: linear-gradient(135deg, var(--sky-800) 0%, var(--sky-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
}
.why-us .container { position: relative; z-index: 1; }
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255, 255, 255, 0.8); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--sky-300);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* ============================================
   案例展示
   ============================================ */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
}
.case-image img,
.case-image .case-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.case-placeholder {
  background: linear-gradient(135deg, var(--sky-300), var(--sky-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}
.case-card:hover .case-image img,
.case-card:hover .case-placeholder { transform: scale(1.06); }
.case-body { padding: 24px 28px; }
.case-industry {
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 8px;
}
.case-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.case-desc {
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* ============================================
   团队介绍
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.team-card {
  text-align: center;
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-300), var(--sky-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  border: 4px solid var(--sky-100);
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.team-role {
  color: var(--sky-600);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team-bio {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   评价/客户证言
   ============================================ */
.testimonials {
  background: var(--gray-50);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--sky-100);
  line-height: 1;
}
.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}
.testimonial-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.95rem;
}
.testimonial-meta {
  color: var(--gray-500);
  font-size: 0.82rem;
}

/* ============================================
   CTA 区块
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--sky-600), var(--sky-800));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 20px; }
.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   页面 Hero（非首页）
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--sky-800), var(--sky-600));
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--sky-200); }

/* ============================================
   内容主体
   ============================================ */
.content-main { padding: 60px 0; }
.content-main p { margin-bottom: 1.2rem; }
.content-main h2 { margin: 2rem 0 1rem; color: var(--sky-800); }
.content-main h3 { margin: 1.5rem 0 0.8rem; color: var(--sky-700); }
.content-main ul, .content-main ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.content-main ul li, .content-main ol li {
  margin-bottom: 0.5rem;
  list-style: disc;
}
.content-main ol li { list-style: decimal; }

/* ============================================
   博客 / 新闻列表
   ============================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post-image {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  overflow: hidden;
}
.post-image img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px 28px; }
.post-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.post-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.post-excerpt {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ============================================
   底部 Footer
   ============================================ */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sky-700);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-col a:hover {
  color: var(--sky-300);
  padding-left: 4px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-logo .accent { color: var(--sky-400); }
.footer-about {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--gray-400);
}
.footer-contact-item .icon {
  color: var(--sky-400);
  flex-shrink: 0;
  margin-top: 3px;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--sky-500);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .main-nav > ul { gap: 20px; }
  .main-nav a { font-size: 0.85rem; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 80px 24px 24px;
    transition: right var(--transition);
    overflow-y: auto;
  }
  .main-nav.active { right: 0; }
  .main-nav > ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--gray-100); }
  .main-nav a { padding: 14px 0; }
  .main-nav .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 12px 16px;
    background: var(--gray-50);
  }
  .top-bar-info { gap: 12px; font-size: 0.78rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 56px 0; }
}

@media (max-width: 600px) {
  .hero { min-height: 520px; padding: 60px 0; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .top-bar-info { display: none; }
}

/* ============================================
   动画
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease-out forwards; }

/* ============================================
   WordPress 默认 class 兼容
   ============================================ */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--gray-500); text-align: center; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* 评论 */
.comment-list { list-style: none; padding: 0; }
.comment { background: var(--gray-50); padding: 20px; border-radius: var(--radius); margin-bottom: 16px; }
.comment-meta { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 8px; }

/* ============================================
   产品中心 - 列表页 + 详情页
   ============================================ */

/* 顶部主分类导航 */
.product-categories-nav {
  background: #fff;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}
.main-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1024px) {
  .main-cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .main-cats-grid { grid-template-columns: repeat(2, 1fr); }
}
.main-cat-item {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--gray-700);
}
.main-cat-item:hover {
  border-color: var(--sky-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--sky-700);
}
.main-cat-item.active {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  border-color: var(--sky-700);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.main-cat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  line-height: 1;
}
.main-cat-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.main-cat-desc {
  font-size: 0.78rem;
  opacity: 0.85;
}
.main-cat-item.active .main-cat-desc { color: rgba(255,255,255,0.9); }

/* 列表页布局 */
.product-archive-main { padding: 48px 0 80px; }
.product-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
}
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
}

/* 侧栏 - 父级分类 + hover 弹出子分类 */
.product-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.sidebar-cat-block {
  background: #f1f5f9;
  margin-bottom: 4px;
  border-radius: 4px;
  position: relative;
  transition: background 0.2s;
}

.sidebar-cat-block:hover {
  background: #e2e8f0;
}

.sidebar-cat-block.has-children:hover {
  background: var(--sky-500);
}

.sidebar-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
}

.sidebar-cat-title {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--gray-900);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-cat-title:hover,
.sidebar-cat-title.active {
  color: var(--sky-700);
}

.sidebar-cat-block.has-children:hover .sidebar-cat-title {
  color: #fff;
}

/* 右侧箭头指示有子菜单 */
.sidebar-cat-toggle {
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  color: var(--gray-500);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.sidebar-cat-block.has-children:hover .sidebar-cat-toggle {
  color: #fff;
  transform: translateX(3px);
}

/* 子菜单 - 浮出层（桌面）*/
.sidebar-sub-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(7, 89, 133, 0.15);
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: all 0.25s ease;
  z-index: 50;
  border: 1px solid var(--gray-200);
}

/* 添加一个透明的"过渡区域"防止鼠标移动时菜单消失 */
.sidebar-sub-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 100%;
}

/* 桌面 hover 时显示 */
.sidebar-cat-block.has-children:hover .sidebar-sub-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* 移动端：开关展开（用 .expanded class） */
.sidebar-cat-block.expanded .sidebar-sub-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sidebar-sub-list li {
  margin: 0;
  list-style: none !important;
}

.sidebar-sub-list li a {
  display: block;
  padding: 10px 18px;
  color: var(--gray-700);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid var(--gray-100);
}

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

.sidebar-sub-list li a:hover {
  background: var(--sky-50);
  color: var(--sky-700);
  padding-left: 24px;
}

.sidebar-sub-list li a.active {
  background: var(--sky-50);
  color: var(--sky-700);
  font-weight: 700;
}

/* === 移动端：改回点击展开（hover 在触屏上不好用）=== */
@media (max-width: 900px) {
  .sidebar-sub-list {
    position: static;
    box-shadow: none;
    border: none;
    margin-left: 0;
    margin-top: 4px;
    transform: none !important;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 4px 4px;
  }

  .sidebar-cat-block.has-children:hover .sidebar-sub-list {
    opacity: 0;
    visibility: hidden;
  }

  .sidebar-cat-block.expanded .sidebar-sub-list {
    opacity: 1;
    visibility: visible;
  }

  .sidebar-cat-block.has-children:hover {
    background: #e2e8f0;
  }
  .sidebar-cat-block.has-children:hover .sidebar-cat-title {
    color: var(--sky-700);
  }
}

/* 询价 CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--sky-700), var(--sky-900));
  color: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 24px;
}
.sidebar-cta h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.sidebar-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* 产品网格 */
.product-meta-bar {
  margin-bottom: 20px;
  color: var(--gray-500);
  font-size: 0.9rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 桌面 4 列 × 3 行 = 12 个/页 */
  gap: 20px;
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (max-width: 800px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

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

/* 无限滚动加载指示器 */
.shpack-load-more-sentinel {
  padding: 50px 0;
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  letter-spacing: 1px;
  grid-column: 1 / -1;
}
.shpack-load-more-sentinel.is-done {
  color: var(--sky-600);
  font-weight: 600;
}
.shpack-load-more-sentinel .loading-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--sky-500);
  border-radius: 50%;
  margin-right: 8px;
  animation: shpack-load-pulse 1s ease-in-out infinite;
}
@keyframes shpack-load-pulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-200);
}
.product-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-200), var(--sky-500));
  color: var(--sky-900);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  padding: 16px;
}
.product-placeholder span { line-height: 1.3; }
.product-card-body { padding: 16px 20px 20px; }
.product-sku {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-family: monospace;
  margin-bottom: 6px;
}
.product-card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card-title a { color: var(--gray-900); }
.product-card-title a:hover { color: var(--sky-600); }
.product-card-tagline {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-link {
  color: var(--sky-600);
  font-weight: 600;
  font-size: 0.85rem;
}
.product-card-link:hover { color: var(--sky-800); }

/* 分页 */
.pagination-wrap {
  margin-top: 48px;
  text-align: center;
}
.pagination-wrap .nav-links { display: inline-flex; gap: 6px; }
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background: var(--sky-500);
  color: #fff;
  border-color: var(--sky-500);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.empty-state h2 { margin-bottom: 12px; }
.empty-state p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* ============================================
   产品详情页
   ============================================ */
.single-product { padding: 30px 0 80px; }

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 画廊 */
.product-gallery { position: relative; }
.product-main-image {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
}
.product-main-image .main-image,
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-placeholder-large {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-300), var(--sky-700));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 40px;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}
.product-thumb {
  background: #fff;
  border: 2px solid var(--gray-200);
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: all var(--transition);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb:hover { border-color: var(--sky-300); }
.product-thumb.active {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

/* 产品信息 */
.product-categories-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.product-cat-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--sky-100);
  color: var(--sky-700);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.product-cat-tag:hover {
  background: var(--sky-500);
  color: #fff;
}
.product-title {
  font-size: 1.85rem;
  margin-bottom: 12px;
  line-height: 1.25;
  color: var(--gray-900);
}
.product-tagline {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
}
.product-quick-info {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.quick-info-item { flex: 1; min-width: 100px; }
.quick-info-label {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.quick-info-value {
  font-weight: 700;
  color: var(--sky-800);
  font-family: var(--font-display);
}
.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}
.product-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.trust-item {
  font-size: 0.85rem;
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.trust-item::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--sky-100);
  color: var(--sky-700);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 18px;
}

/* 标签页 */
.product-tabs {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
  overflow: hidden;
}
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-100);
  background: var(--gray-50);
}
.tab-btn {
  padding: 16px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--sky-600); }
.tab-btn.active {
  color: var(--sky-700);
  border-bottom-color: var(--sky-500);
  background: #fff;
}
.tabs-content { padding: 32px 36px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeInUp 0.3s ease-out; }
.tab-pane h2, .tab-pane h3 { color: var(--sky-800); margin-bottom: 12px; }
.tab-pane p { margin-bottom: 1rem; }

/* 规格表 */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table th,
.specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
}
.specs-table th {
  width: 35%;
  background: var(--gray-50);
  color: var(--sky-800);
  font-weight: 600;
  font-size: 0.92rem;
}
.specs-table td {
  color: var(--gray-700);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* 定制说明 */
.custom-info h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--sky-800);
}
.custom-features {
  list-style: none;
  padding: 0;
}
.custom-features li {
  padding: 14px 18px;
  background: var(--gray-50);
  border-left: 4px solid var(--sky-500);
  border-radius: 0 6px 6px 0;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  list-style: none !important;
}
.custom-features li strong { color: var(--sky-800); margin-right: 4px; }

/* 相关产品 */
.related-products { margin-top: 48px; }
.related-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}
.related-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--sky-500);
  margin: 12px auto 0;
  border-radius: 2px;
}


/* === 产品详情右栏 - 正文区 === */
.product-description {
  padding: 18px 0;
  margin: 18px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}
.product-description p { margin-bottom: 1rem; }
.product-description p:last-child { margin-bottom: 0; }
.product-description h2,
.product-description h3,
.product-description h4 {
  color: var(--sky-800);
  margin: 1.2rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.product-description ul,
.product-description ol {
  padding-left: 22px;
  margin-bottom: 1rem;
}
.product-description li {
  margin-bottom: 6px;
  line-height: 1.6;
  list-style: disc;
}
.product-description ol li { list-style: decimal; }
.product-description strong { color: var(--sky-900); }
.product-description a { color: var(--sky-600); text-decoration: underline; }

/* === 服务保障列表（2x2 网格，带图标）=== */
.product-services {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 0;
}
.product-services li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  list-style: none !important;
}
/* 最后一行（第3、4个）去掉底边线 */
.product-services li:nth-last-child(-n+2) { border-bottom: none; }
.service-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
@media (max-width: 480px) {
  .product-services { grid-template-columns: 1fr; }
  .product-services li:nth-last-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .product-services li:last-child { border-bottom: none; }
}

/* === 询价按钮（突出主CTA）=== */
.btn-full {
  display: flex;
  width: 100%;
  justify-content: center;
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.product-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product-actions-row .btn {
  justify-content: center;
}
@media (max-width: 480px) {
  .product-actions-row { grid-template-columns: 1fr; }
}

/* ============================================================
 *  通用简易联系表单（footer/hero/contact 各处复用）
 * ============================================================ */
.shpack-contact-section {
  padding: 60px 0;
  border-top: 1px solid var(--gray-200);
}
.shpack-contact-section--gray { background: var(--gray-50); }
.shpack-contact-section--dark {
  background: linear-gradient(135deg, var(--sky-800), var(--sky-700));
  color: var(--white);
  border-top: none;
}
.shpack-contact-section--dark .shpack-contact-form-title,
.shpack-contact-section--dark .shpack-contact-form-subtitle { color: var(--white); }
.shpack-contact-section--dark .shpack-contact-form-subtitle { opacity: 0.85; }
.shpack-contact-section--transparent { background: transparent; border: none; padding: 0; }

.shpack-contact-section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.shpack-contact-form-wrap {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(7, 89, 133, 0.08);
  border: 1px solid var(--gray-200);
  scroll-margin-top: 100px; /* 锚跳时给固定 header 留出空间 */
}
html { scroll-behavior: smooth; }
.shpack-contact-section--dark .shpack-contact-form-wrap {
  background: var(--white);
  color: var(--gray-800);
}
.shpack-contact-form-title {
  margin: 0 0 8px;
  color: var(--sky-800);
  font-size: 1.5rem;
}
.shpack-contact-form-subtitle {
  margin: 0 0 24px;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.shpack-form-alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.shpack-form-alert-success {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
  color: #065f46;
}
.shpack-form-alert-error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #991b1b;
}
.shpack-form-row { margin-bottom: 14px; }
.shpack-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.shpack-form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.shpack-form-field label .req { color: #ef4444; }
.shpack-form-field input,
.shpack-form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.shpack-form-field input:focus,
.shpack-form-field textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.shpack-form-field textarea { resize: vertical; min-height: 100px; }
.shpack-contact-submit {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .shpack-form-row-2 { grid-template-columns: 1fr; }
  .shpack-contact-form-wrap { padding: 24px; }
}

/* === Hero 区域 + 表单的左右布局（首页用） === */
.hero-with-form .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-with-form .hero-content { max-width: none; }
.hero-with-form .shpack-contact-form-wrap {
  margin-top: 0;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
@media (max-width: 900px) {
  .hero-with-form .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-with-form .shpack-contact-form-wrap { justify-self: stretch; max-width: 100%; }
}

/* ============================================================
 *  WhatsApp 浮动按钮（绿色 FAB，chatbot 上方）
 * ============================================================ */
.shpack-wa-fab {
  position: fixed;
  bottom: 150px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.3s;
  animation: shpack-wa-bob 3s ease-in-out infinite;
}
.shpack-wa-fab:hover {
  background: #1ebe57;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  animation: shpack-wa-grow 0.3s forwards;
}
.shpack-wa-fab svg {
  width: 32px;
  height: 32px;
}
.shpack-wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.25s, transform 0.25s;
}
.shpack-wa-fab:hover .shpack-wa-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}
/* 上下轻浮动 — 用 transform，纯合成层动画，性能最优 */
@keyframes shpack-wa-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes shpack-wa-grow {
  to { transform: translateY(0) scale(1.08); }
}
/* 手机端缩小 + 调整位置 */
@media (max-width: 600px) {
  .shpack-wa-fab {
    width: 48px;
    height: 48px;
    bottom: 130px;
    right: 16px;
  }
  .shpack-wa-fab svg { width: 26px; height: 26px; }
  .shpack-wa-tooltip { display: none; }
}
