/* === 基础变量 === */
:root {
  --brand: #EB6637;
  --brand-dark: #D14F21;
  --brand-light: #FF8A61;
  --black: #0F0F0F;
  --black-soft: #181818;
  --gray-900: #1A1A1A;
  --gray-800: #2A2A2A;
  --gray-700: #444444;
  --gray-500: #666666;
  --gray-300: #AAAAAA;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --ivory: #FAF8F6;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.14);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(92%, 1280px);
  margin: 0 auto;
}

.text-accent {
  color: var(--brand);
}

/* === 按钮 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(235, 102, 55, 0.35);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(235, 102, 55, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.25);
}

.btn-outline:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.45);
}

.btn-large {
  padding: 18px 48px;
  font-size: 17px;
}

/* === 导航（白底毛玻璃） === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  /* 毛玻璃白底：压在深色 Hero 上也能拉开层次，不再整片黑 */
  background: #FFF; /*rgba(255, 255, 255, 0.92);*/
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.09);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

.scrolled .brand-logo {
  height: 38px;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  color: #2B2B2B;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  background: var(--brand);
  color: var(--white);
  font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(235, 102, 55, 0.34);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2B2B2B;
  transition: var(--transition);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* 浅暖橘底替代沉重黑底，首屏更明亮通透 */
  background: linear-gradient(135deg, #FFF9F6 0%, #FFEFE6 55%, #FFE4D5 100%);
  color: var(--black);
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(235,102,55,0.18) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(235,102,55,0.08) 0%, transparent 40%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* 浅底不再需要压黑蒙版，仅保留极淡的方向光 */
  background: linear-gradient(105deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 55%);
}

/* 左右分栏：文案在左、产品在右，整体在容器内居中，互不遮挡 */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 0 1 560px;
  padding-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(235,102,55,0.5);
  border-radius: 100px;
  font-size: 14px;
  color: var(--brand);
  margin-bottom: 32px;
  background: rgba(235,102,55,0.08);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-600);
}

.hero-image {
  position: relative;
  flex: 1 1 0;
  max-width: 600px;
  z-index: 1;
  /* 分栏后图片独立成块，用圆角 + 深投影提升质感 */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.48);
}

.hero-image img {
  width: 100%;
  display: block;
}

/* === 信任条 === */
.trust-bar {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
}

.trust-item img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.trust-icon {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--brand);
  border: 1px solid rgba(235,102,55,0.4);
  padding: 4px 8px;
  border-radius: 4px;
}

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

.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(235,102,55,0.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--black);
}

/* 主标题下方的副标题 */
.section-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 1px;
  margin-top: -8px;
  margin-bottom: 18px;
}

/* 品牌简介长文本（about.html） */
.brand-intro {
  max-width: 900px;
  margin: 0 auto;
}

.brand-intro p {
  font-size: 16px;
  line-height: 2;
  color: var(--gray-700);
  margin-bottom: 18px;
}

.brand-intro p:last-child {
  margin-bottom: 0;
}

.section-lead {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
}

.section-text {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.9;
  margin-top: 18px;
}

/* === 关于品牌 === */
.about {
  background: var(--ivory);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.grid-2.reverse {
  direction: rtl;
}

.grid-2.reverse > * {
  direction: ltr;
}

.about-media {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* 市场/展会多图横向滚动 */
.gallery-marquee {
  overflow: hidden;
  margin-top: 56px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-track img {
  width: 260px;
  height: 178px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.gallery-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 资质证书展示（核心优势页） */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}

.cert-card {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  /* 证书质感：细边框 + 内描边 + 柔和投影 */
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 4px rgba(235, 102, 55, 0.08), 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: var(--transition);
  cursor: zoom-in;
}

.cert-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(235, 102, 55, 0.18);
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 4px rgba(235, 102, 55, 0.16), 0 18px 40px rgba(0, 0, 0, 0.3);
}

/* 证书上的圆形印章 */
.cert-seal {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.cert-img {
  height: 260px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.cert-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.cert-card:hover .cert-img img {
  transform: scale(1.03);
}

.cert-info {
  padding: 16px 18px 18px;
  position: relative;
  z-index: 1;
}

.cert-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
}

.cert-info p {
  font-size: 12px;
  color: var(--gray-500);
}

/* 资质补充标签 */
.cert-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.cert-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  padding: 8px 16px;
  transition: var(--transition);
}

.cert-tag:hover {
  background: rgba(235, 102, 55, 0.16);
  border-color: rgba(235, 102, 55, 0.45);
  color: var(--white);
}

.cert-tag-more {
  background: rgba(235, 102, 55, 0.18);
  border-color: rgba(235, 102, 55, 0.5);
  color: var(--brand-light);
  font-weight: 600;
}

/* 品牌文化标签卡（首页品牌故事） */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.brand-card {
  border-radius: 16px;
  padding: 22px 24px;
  transition: var(--transition);
}

.brand-card.big {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(235, 102, 55, 0.28);
}

.brand-card:not(.big) {
  grid-column: span 2;
  background: #FFF3EC;
  border: 1px solid rgba(235, 102, 55, 0.15);
}

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

.brand-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0 8px;
}

.brand-card.big h4 { color: var(--white); }
.brand-card:not(.big) h4 { color: var(--black); }

.brand-card p {
  font-size: 14px;
  line-height: 1.65;
}

.brand-card.big p { color: rgba(255, 255, 255, 0.92); }
.brand-card:not(.big) p { color: var(--gray-600); }

.bc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card.big .bc-icon { background: rgba(255, 255, 255, 0.22); }
.brand-card:not(.big) .bc-icon { background: var(--brand); }

.bc-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bc-main {
  font-size: 17px;
  font-weight: 700;
}

.bc-sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}

/* 展会图片轮播（制造实力页） */
.img-carousel {
  position: relative;
  height: 520px;
}

.img-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.img-carousel img.active { opacity: 1; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.carousel-dots .dot.active {
  width: 24px;
  background: var(--white);
}

/* 企业文化四标签（品牌故事页） */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.culture-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: var(--transition);
}

.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(235, 102, 55, 0.3);
}

.culture-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(235, 102, 55, 0.1);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.culture-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.5;
}

.culture-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* 品牌故事页 banner：把「品牌故事」做成设计化标识压在图片上 */
.story-banner-mark {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 8px;
  text-indent: 8px;
  color: var(--white);
  background: rgba(235, 102, 55, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 9px 20px 9px 24px;
  border-radius: 100px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 品牌简介：标题缩一档并排成一行，整体高度更紧凑 */
.brand-intro-title {
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.45;
  margin-bottom: 18px;
}

/* 品牌简介区块：图片跟随标题压缩后的高度，不再撑满整列 */
#origin .about-image-main {
  height: auto;
}

#origin .about-image-main img {
  height: 470px;
  min-height: 470px;
}

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

.about-card {
  position: absolute;
  /* 移到图片左下角 */
  left: -24px;
  bottom: -24px;
  background: var(--brand);
  color: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.about-card-text {
  font-size: 15px;
  font-weight: 500;
}

.about-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

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

.feature h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.feature p {
  font-size: 14px;
  color: var(--gray-500);
}

/* === 产品系列 === */
.products {
  background: var(--white);
}

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

/* 首页产品系列：四大类别一行四列，不影响产品页图鉴（仍 3 列） */
#products .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

/* 整块卡片可点击的透明覆盖链接 */
.card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.product-card:hover h3 {
  color: var(--brand);
}

.product-card h3 {
  transition: var(--transition);
}

.product-image {
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-info {
  padding: 26px;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
}

.product-info p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.7;
}

.product-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(235,102,55,0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

/* === 核心优势 === */
.strength {
  background: var(--black);
  color: var(--white);
}

.strength .section-title,
.strength .section-lead {
  color: var(--white);
}

.strength .section-lead {
  opacity: 0.7;
}

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

.strength-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 40px 34px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.strength-card:hover {
  border-color: rgba(235,102,55,0.3);
  transform: translateY(-6px);
}

.strength-card:hover::before {
  transform: scaleX(1);
}

.strength-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: rgba(235,102,55,0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.strength-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.strength-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 22px;
}

.strength-card ul {
  list-style: none;
}

.strength-card li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.strength-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* === 工厂实力 === */
.factory {
  background: var(--ivory);
}

.factory-content .section-text {
  margin-top: 22px;
}

/* 制造实力：左图 + 右六大工艺，两列严格等高 */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.factory-list {
  display: grid;
  /* 6 项排成 2 列 × 3 行，行高按列高均分，与左侧图片等高 */
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}

.factory-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand);
  transition: var(--transition);
}

.factory-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.factory-step {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
}

.factory-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.factory-item p {
  font-size: 13px;
  color: var(--gray-500);
}

.factory-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.factory-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.factory-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  padding: 22px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.factory-badge-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 4px;
}

.factory-badge-num span {
  font-size: 16px;
  color: var(--gray-700);
  font-weight: 600;
}

.factory-badge-text {
  font-size: 13px;
  color: var(--gray-500);
}

/* === 渠道 === */
.channels {
  background: var(--white);
}

/* 品牌故事页「愿景使命」三卡片：等宽三列、整体居中、左右对齐容器边缘 */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 48px auto 0;
}

.vision-grid .channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  /* 说明文字两端对齐，末行居中，多行时左右边缘齐平 */
  text-align: justify;
  text-align-last: center;
}

.vision-grid .channel-card h3 {
  text-align: center;
  width: 100%;
}

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

.channel-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.channel-card:hover {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.channel-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.channel-icon svg {
  width: 26px;
  height: 26px;
}

.channel-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
}

.channel-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* === CTA === */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-section > .cta-inner > p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.cta-phone:hover {
  opacity: 0.85;
}

.cta-phone svg {
  width: 26px;
  height: 26px;
}

.cta-person {
  font-size: 16px;
  opacity: 0.85;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cta-section .btn-primary:hover {
  background: var(--ivory);
  color: var(--brand-dark);
}

/* === 页脚 === */
.site-footer {
  /* 深暖棕替代纯黑 */
  background: #1E1611;
  color: var(--white);
  padding-top: 80px;
}

.footer-inner {
  display: grid;
  /* 右侧链接区放四栏，给它更多宽度 */
  grid-template-columns: 1fr 1.8fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 46px;
  width: auto;
  /* 与头部 logo 统一的圆角处理 */
  border-radius: 11px;
  margin-bottom: 16px;
}

/* --- 页脚联系方式（带图标） --- */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list .ci {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(235, 102, 55, 0.14);
  border: 1px solid rgba(235, 102, 55, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: var(--transition);
}

.contact-list li:hover .ci {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-list .ci svg {
  width: 15px;
  height: 15px;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.contact-list a:hover {
  color: var(--brand-light);
}

/* logo 下方的品牌一句话介绍（含核心关键词） */
.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.85;
  max-width: 420px;
  margin-top: 4px;
}

.footer-links {
  display: grid;
  /* 品牌 / 产品 / 实力 / 联系 四栏 */
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* === 子页面通用样式 === */
.page-banner {
  position: relative;
  /* 橘色主色调：品牌色渐变，替代原来的沉重黑底 */
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  padding: 200px 0 100px;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: grayscale(0.3);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  /* 深色蒙版压低到 0.35，保留橘色底的同时保证白字可读 */
  background: linear-gradient(135deg, rgba(60, 22, 8, 0.35) 0%, rgba(60, 22, 8, 0.1) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--brand-light);
}

.breadcrumb .sep {
  opacity: 0.4;
}

.breadcrumb .current {
  color: var(--white);
}

.page-banner h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-banner .lead {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
}

.content-block {
  padding: 100px 0;
}

.content-block + .content-block {
  padding-top: 0;
}

.content-block h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--black);
  line-height: 1.25;
}

.content-block h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.content-block p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.content-block ul {
  list-style: none;
  margin: 16px 0;
}

.content-block ul li {
  font-size: 15px;
  color: var(--gray-700);
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.8;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.bg-ivory {
  background: var(--ivory);
}

.bg-dark {
  /* 深暖棕替代纯黑：保留白字可读性，去掉压抑感 */
  background: linear-gradient(160deg, #2B1C15 0%, #1D120C 100%);
  color: var(--white);
}

.bg-dark h2,
.bg-dark h3 {
  color: var(--white);
}

.bg-dark p {
  color: rgba(255,255,255,0.7);
}

/* 浅色模块主题：将指定模块从深色改为浅暖色底，正文与卡片同步转深色
   仅作用于带 .bg-soft 的区块，不影响其他 .bg-dark 区块（如证书墙） */
.bg-soft {
  background: linear-gradient(160deg, #FBF5F0 0%, #F4E8DD 100%) !important;
  color: var(--black) !important;
}

.bg-soft .section-tag {
  background: rgba(235, 102, 55, 0.12) !important;
  color: var(--brand) !important;
}

.bg-soft .section-title,
.bg-soft .section-subtitle,
.bg-soft h2,
.bg-soft h3,
.bg-soft h4 {
  color: var(--black) !important;
}

.bg-soft .section-lead,
.bg-soft p {
  color: #6b5d55 !important;
}

.bg-soft .section-lead {
  opacity: 1 !important;
}

/* 卡片在浅底上改为白底深色字，覆盖深色语境下的内联白字 */
.bg-soft .strength-card,
.bg-soft .channel-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: var(--black) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
}

.bg-soft .strength-card h3,
.bg-soft .channel-card h3 {
  color: var(--black) !important;
}

.bg-soft .strength-card p,
.bg-soft .channel-card p {
  color: #6b5d55 !important;
}

.bg-soft .strength-card li {
  color: var(--gray-700) !important;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(235,102,55,0.2) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand);
}

.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--black);
}

.timeline-item p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* 产品tab切换 */
.product-tabs {
  margin-top: 40px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 12px 26px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tab-btn.active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

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

.tab-panel-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* 主力爆款左图：子系列标签 + 轮播 */
.subseries-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.sub-btn {
  padding: 8px 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}

.sub-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.sub-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.sub-panel {
  display: none;
}

.sub-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.tab-panel-image .img-carousel {
  height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #faf6f1;
}

.tab-panel-image .img-carousel img {
  border-radius: var(--radius);
  object-fit: contain;
}

/* 产品轮播圆点：改用品牌色，避免与浅色图底同色看不见 */
.tab-panel-image .carousel-dots .dot {
  background: rgba(235, 102, 55, 0.4);
}

.tab-panel-image .carousel-dots .dot.active {
  background: var(--brand);
}

/* 产品轮播左右切换按钮 */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 3;
  transition: var(--transition);
}

.carousel-nav:hover {
  background: var(--white);
  color: var(--brand-dark);
}

.carousel-nav.prev { left: 16px; }
.carousel-nav.next { right: 16px; }

.tab-panel-content h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tab-panel-content .tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(235,102,55,0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tab-panel-content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.tab-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.spec {
  background: var(--gray-100);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
}

.spec-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

/* 优势详情卡 */
.advantage-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.advantage-detail.reverse {
  direction: rtl;
}

.advantage-detail.reverse > * {
  direction: ltr;
}

.advantage-detail-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.advantage-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.advantage-detail-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.advantage-detail-content h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--black);
}

.advantage-detail-content > p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.advantage-list {
  list-style: none;
  margin: 0;
}

.advantage-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.advantage-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.advantage-list .text strong {
  display: block;
  font-size: 15px;
  color: var(--black);
  margin-bottom: 4px;
  font-weight: 700;
}

.advantage-list .text span {
  font-size: 13px;
  color: var(--gray-500);
}

/* 联系信息 */
/* 联系方式：一行四列的紧凑卡片（图标左 + 文字右），比原来的大卡片轻很多 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(235,102,55,0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

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

.contact-card h4 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--gray-500);
}

.contact-card p {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.5;
}

/* --- 二维码 / 官方店铺 --- */
.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.qr-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.qr-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.qr-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
  border-radius: 10px;
}

.qr-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.qr-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* 店铺卡中间的图标 */
.qr-shop-icon {
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF0036 0%, #E6002E 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
}

.qr-shop-icon strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
}

.qr-shop-icon span {
  font-size: 12px;
  opacity: 0.9;
}

.contact-card strong {
  color: var(--black);
  font-weight: 700;
}

.cooperation-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.coop-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--gray-100);
  border-left: 4px solid var(--brand);
}

.coop-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--black);
}

.coop-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* 响应式补充 */
@media (max-width: 900px) {
  .tab-panel.active,
  .advantage-detail,
  .advantage-detail.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .advantage-detail.reverse > * {
    direction: ltr;
  }
  
  .contact-grid,
  .cooperation-types {
    grid-template-columns: 1fr;
  }
  
  .page-banner {
    padding: 160px 0 80px;
  }

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

@media (max-width: 560px) {
  #products .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .content-block {
    padding: 64px 0;
  }
  
  .tab-specs {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 28px;
  }
  
  .timeline-item::before {
    left: -22px;
  }
}

/* === 动画 === */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* === 响应式 === */
@media (max-width: 1100px) {
  .hero-inner {
    gap: 40px;
  }

  /* 中等屏四栏太挤，回到两栏 */
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .culture-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
  }

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

  .brand-card.big,
  .brand-card:not(.big) {
    grid-column: span 1;
  }

  .contact-qr-grid {
    gap: 16px;
  }

  /* 窄屏时让文案栏收一点，保证产品图仍有足够宽度 */
  .hero-content {
    flex: 0 1 460px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .main-nav,
  .nav-cta {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    /* 白底 header 配套：下拉菜单也用浅色 */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    padding: 24px;
    gap: 0;
  }
  
  .main-nav.open a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  
  .hero {
    align-items: flex-start;
    padding-top: 140px;
  }
  
  /* 分栏在窄屏改为上下堆叠 */
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-content {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .hero-image {
    width: 100%;
    max-width: 500px;
    margin: 40px auto 0;
    opacity: 1;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-2,
  .grid-2.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .grid-2.reverse > * {
    direction: ltr;
  }
  
  .about-card {
    /* 移动端同样靠左下 */
    left: 16px;
    bottom: 16px;
  }
  
  .strength-grid {
    grid-template-columns: 1fr;
  }
  
  /* 制造实力：平板宽度仍保持左图右工艺，只把工艺改成单列避免卡片过窄 */
  .factory-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
  }

  .factory-list {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .factory-media img {
    min-height: 420px;
  }
  
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .stat-num {
    font-size: 28px;
  }
  
  .products-grid,
  .channels-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-inner {
    justify-content: flex-start;
    gap: 14px;
  }
  
  .trust-item {
    font-size: 12px;
  }
  
  .about-image-main img,
  .factory-media img {
    height: 360px;
    /* min-height 需同步下调，否则会覆盖 height */
    min-height: 360px;
  }
  
  /* 小屏六大工艺改单列 */
  .factory-list {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  
  .about-card {
    padding: 18px 22px;
  }
  
  .about-card-num {
    font-size: 32px;
  }
  
  .factory-badge {
    padding: 16px 20px;
  }
  
  .factory-badge-num {
    font-size: 28px;
  }
  
  .cta-phone {
    font-size: 22px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   右下角悬浮客服组件
   ============================================ */
.cs-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* --- 展开面板 --- */
.cs-panel {
  width: 272px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.cs-float.open .cs-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cs-panel-head {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-dark) 100%);
  padding: 20px 22px;
  color: var(--white);
  position: relative;
}

.cs-panel-head::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cs-panel-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.cs-panel-sub {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.5;
}

.cs-panel-body {
  padding: 18px 22px 20px;
}

/* --- 电话条 --- */
.cs-phone {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  background: var(--ivory);
  border-radius: 12px;
  text-decoration: none;
  color: var(--black);
  transition: var(--transition);
  border: 1px solid transparent;
}

.cs-phone:hover {
  background: rgba(235, 102, 55, 0.08);
  border-color: rgba(235, 102, 55, 0.3);
}

.cs-phone-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: csSwing 2.6s ease-in-out infinite;
}

.cs-phone-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes csSwing {
  0%, 60%, 100% { transform: rotate(0deg); }
  70% { transform: rotate(-18deg); }
  78% { transform: rotate(14deg); }
  86% { transform: rotate(-8deg); }
}

.cs-phone-label {
  display: block;
  font-size: 11px;
  color: #999;
  margin-bottom: 2px;
}

.cs-phone-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.cs-phone-info {
  flex: 1;
  min-width: 0;
}

/* --- 二维码区 --- */
.cs-qr {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cs-qr-img {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  padding: 6px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.cs-qr-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.cs-qr-tip {
  font-size: 13px;
  color: var(--black);
  line-height: 1.7;
  font-weight: 500;
}

.cs-qr-tip em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.cs-hours {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 11px;
  color: #999;
  text-align: center;
}

/* --- 圆形按钮 --- */
.cs-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-dark) 100%);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(235, 102, 55, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease;
  animation: csFloat 3.4s ease-in-out infinite;
}

.cs-btn:hover {
  transform: scale(1.09);
  box-shadow: 0 14px 36px rgba(235, 102, 55, 0.55);
}

.cs-btn:active {
  transform: scale(0.96);
}

/* 首次进入页面时的"轻弹"提示（JS 触发一次） */
.cs-btn.cs-nudge {
  animation: csNudge 0.9s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes csNudge {
  0%, 100% { transform: scale(1) rotate(0deg); }
  22% { transform: scale(1.18) rotate(-9deg); }
  50% { transform: scale(1.1) rotate(7deg); }
  76% { transform: scale(1.05) rotate(-4deg); }
}

/* 轻微上下浮动 —— "动态"感 */
@keyframes csFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

/* 脉冲扩散光环 */
.cs-btn-ring,
.cs-btn-ring-2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand);
  pointer-events: none;
  animation: csPulse 2.4s ease-out infinite;
}

.cs-btn-ring-2 {
  animation-delay: 1.2s;
}

.cs-float.open .cs-btn-ring,
.cs-float.open .cs-btn-ring-2 {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes csPulse {
  0% { transform: scale(1); opacity: 0.65; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* 图标切换 */
.cs-btn svg {
  width: 26px;
  height: 26px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.cs-ico-close {
  display: none;
}

.cs-float.open .cs-ico-service {
  display: none;
}

.cs-float.open .cs-ico-close {
  display: block;
}

.cs-float.open .cs-btn {
  animation-play-state: paused;
}

/* 小红点提示 */
.cs-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  background: #FF3B30;
  border: 2px solid var(--white);
  border-radius: 50%;
  animation: csBlink 1.8s ease-in-out infinite;
}

.cs-float.open .cs-dot {
  opacity: 0;
}

@keyframes csBlink {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

@media (max-width: 640px) {
  .cs-float {
    right: 16px;
    /* 让开移动端底部导航 */
    bottom: 74px;
  }

  .cs-btn {
    width: 54px;
    height: 54px;
  }

  .cs-btn svg {
    width: 23px;
    height: 23px;
  }

  .cs-panel {
    width: min(272px, calc(100vw - 32px));
  }
}

/* 锚点跳转时避开固定头部（如 about.html#history） */
section[id] {
  scroll-margin-top: 100px;
}

/* ============================================
   页脚微信 / 抖音小图标
   ============================================ */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   二维码弹窗
   ============================================ */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
}

.qr-modal.open {
  display: flex;
}

.qr-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.qr-modal-box {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 34px 30px 30px;
  text-align: center;
  width: 86%;
  max-width: 320px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  animation: qrPop 0.34s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes qrPop {
  from { opacity: 0; transform: scale(0.9) translateY(14px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.qr-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.qr-modal-close:hover {
  background: var(--brand);
  color: var(--white);
}

.qr-modal-close svg {
  width: 16px;
  height: 16px;
}

.qr-modal-img {
  width: 190px;
  height: 190px;
  margin: 0 auto 18px;
  padding: 10px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
}

.qr-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-modal-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.qr-modal-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   移动端底部固定导航
   ============================================ */
.mobile-bar {
  display: none;
}

@media (max-width: 900px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 7px 0 calc(7px + env(safe-area-inset-bottom, 0px));
  }

  .mb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 11px;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
  }

  .mb-item svg {
    width: 21px;
    height: 21px;
    stroke: var(--brand);
  }

  .mb-item:active {
    opacity: 0.55;
  }

  /* 给底栏留出空间，避免遮挡内容与悬浮客服 */
  body {
    padding-bottom: 62px;
  }

  .cs-float {
    bottom: 76px;
  }
}

/* 小屏：各类卡片网格收成单列 */
@media (max-width: 640px) {
  .contact-grid,
  .contact-qr-grid,
  .vision-grid,
  .culture-grid,
  .cert-grid,
  .brand-cards {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
  }

  .qr-modal-img {
    width: 158px;
    height: 158px;
  }
}

/* 首页 banner 轮播高度（复用 .img-carousel 组件） */
.hero-image .img-carousel {
  height: 520px;
}

@media (max-width: 900px) {
  .hero-image .img-carousel {
    height: 380px;
  }
  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tab-panel-image .img-carousel {
    height: 420px;
  }
}

/* 页脚备案号 */
.beian {
  margin-top: 6px;
}

.beian a {
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.beian a:hover {
  color: var(--brand-light);
}

/* ============================================
   常见问题页（左侧分类 + 右侧手风琴）
   ============================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 100px;
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 20px 14px;
}

.faq-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  padding: 0 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 10px;
}

.faq-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  background: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-cat:hover {
  background: rgba(235, 102, 55, 0.08);
  color: var(--brand);
}

.faq-cat.active {
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
}

.faq-cat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  opacity: 0.6;
}

.faq-group {
  display: none;
}

.faq-group.active {
  display: block;
  animation: faqFade 0.4s ease;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(235, 102, 55, 0.35);
}

.faq-item.open {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item.open .faq-q {
  color: var(--brand);
}

/* 加号 → 减号 */
.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: var(--transition);
}

.faq-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
}

.faq-toggle::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  margin-left: -1px;
}

.faq-item.open .faq-toggle::after {
  transform: scaleY(0);
}

/* 展开动画 */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease;
}

.faq-item.open .faq-a {
  max-height: 2500px;
}

.faq-a-inner {
  margin: 0 24px;
  padding: 16px 0 22px;
  border-top: 1px solid var(--gray-200);
}

.faq-a-inner p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.faq-a-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* 窄屏分类改为横向滑动条 */
  .faq-sidebar {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .faq-sidebar-title {
    display: none;
  }

  .faq-cat {
    width: auto;
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 14px;
  }

  .faq-q {
    padding: 17px 20px;
    font-size: 15px;
  }

  .faq-a-inner {
    margin: 0 20px;
  }
}

/* 证书图片放大灯箱 */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.cert-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cert-lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cert-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.cert-lightbox-close:hover {
  background: rgba(235, 102, 55, 0.85);
}

.cert-lightbox-close svg {
  width: 22px;
  height: 22px;
}

.cert-lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-align: center;
  max-width: 80vw;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 100px;
}

@media (max-width: 900px) {
  .cert-img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .cert-img {
    height: 280px;
  }

  .cert-lightbox {
    padding: 20px;
  }

  .cert-lightbox img {
    max-width: 94vw;
    max-height: 78vh;
  }
}
