/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* 品牌色取自 logo：J 的深林绿 + L 的柠檬绿 */
  --brand-900: #06251A;
  --brand-800: #0A3526;
  --brand-700: #0E4A31;
  --brand-600: #14603D;
  --brand-500: #1E7F4E;
  --brand-400: #A8D46A;
  --brand-100: #E7F3DC;
  --brand-50: #F4FAEC;
  --lime: #A3D63B;
  --lime-deep: #7CB024;
  --gray-900: #1A1A1A;
  --gray-800: #2D2D2D;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #A3A3A3;
  --gray-300: #D4D4D4;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --gray-50: #FAFAFA;
  --cream: #FBFDF8;
  --white: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
}
.btn-primary:hover {
  background: var(--brand-500);
  border-color: var(--brand-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== Section Shared ===== */
.section-label {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
/* Logo 与导航必须待在同一个 1200px 居中容器里，
   否则 .header 的 flex 会把 .container 压成内容宽度，整条导航就飘出正文中轴 */
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.logo-image {
  height: 72px;
  width: auto;
  object-fit: contain;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-right: auto;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--brand-600);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.logo-text {
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--gray-800);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* 每个导航项用同一种盒模型，否则 inline 与 flex 混排会让两组文字差 4px 高低 */
.nav-menu > li {
  display: flex;
  align-items: center;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--brand-600); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-600);
  transition: width var(--transition);
}
.nav-menu a:hover::after { width: 100%; }

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--gray-100);
  border-radius: 20px;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  background: transparent;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--brand-600);
}

.lang-btn.active {
  background: var(--brand-600);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 52%, var(--brand-700) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 82%, rgba(163,214,59,0.10) 0%, transparent 52%),
    radial-gradient(circle at 82% 16%, rgba(255,255,255,0.07) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(163,214,59,0.14);
  border: 1px solid rgba(163,214,59,0.45);
  border-radius: 30px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
}

/* ===== Hero visual column (logo + product carousel) ===== */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  /* logo 独占右上角，轮播至少沉到它下方 60px；左栏文案更高时继续往下沉，
     底边和 PET/彩印/瓦楞 那排对齐，max-height 兜住上限免得两者被撑开一大段 */
  align-self: stretch;
  max-height: 540px;
}

/* logo 走透明底 + 深灰部分已翻白，直接压在深色首屏上，不再套白卡 */
.hero-logo img {
  display: block;
  height: 76px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* 轮播：图片绝对定位在最底层，遮罩和文字浮在上面 */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide.is-linked { cursor: pointer; }
.hero-slide img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: 55%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.62) 100%);
}
.hero-slide-caption {
  position: absolute;
  left: 20px; right: 20px; bottom: 16px;
  z-index: 2;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-car-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--gray-900);
  cursor: pointer;
  transition: background .2s ease;
}
.hero-car-nav:hover { background: var(--white); }
.hero-car-nav.prev { left: 12px; }
.hero-car-nav.next { right: 12px; }
.hero-car-dots {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  display: none;
  gap: 7px;
}
/* 只有一张图时不显示箭头和圆点，避免演示版看起来像坏了 */
.hero-carousel.has-many .hero-car-nav,
.hero-carousel.has-many .hero-car-dots { display: flex; }
.hero-car-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.hero-car-dot.is-active { background: var(--white); }

/* ===== Advantages ===== */
.advantages {
  padding: 0;
  margin-top: -48px;
  position: relative;
  z-index: 10;
}

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

.advantage-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--brand-50);
  border-radius: var(--radius-md);
  color: var(--brand-600);
}

.advantage-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}

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

/* ===== Workshop / Factory Equipment Marquee ===== */
.clients {
  padding: 72px 0;
  text-align: center;
  background: var(--cream);
}

.clients .section-label {
  margin-bottom: 24px;
}

/* 视口：只裁左右（overflow-x: clip 不影响上下），
   放大的图可以向上/下浮出盖住相邻内容，无需预留大片空白 */
.workshop-marquee {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 24px 0;
}
/* 两端淡出，滚动更自然 */
.workshop-marquee::before,
.workshop-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 4;
  pointer-events: none;
}
.workshop-marquee::before { left: 0; background: linear-gradient(90deg, var(--cream), rgba(251,253,248,0)); }
.workshop-marquee::after { right: 0; background: linear-gradient(270deg, var(--cream), rgba(251,253,248,0)); }

/* 轨道 = 两份等长图片并排，整体向左滚到 -50% 无缝循环 */
.workshop-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation-name: workshop-marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
  will-change: transform;
}
@keyframes workshop-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* 鼠标移到任意一张上，整条暂停滚动，方便看清放大的图 */
.workshop-marquee:hover .workshop-marquee-track {
  animation-play-state: paused;
}

.workshop-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  height: 150px;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.workshop-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 悬停：这张放大并浮到相邻图之上 */
.workshop-thumb:hover {
  transform: scale(2.4);
  z-index: 5;
  box-shadow: var(--shadow-lg);
}
.workshop-thumb-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 100%);
  border-top-right-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity .3s ease;
}
.workshop-thumb:hover .workshop-thumb-cap { opacity: 1; }

@media (max-width: 640px) {
  .workshop-thumb { width: 160px; height: 120px; }
  .workshop-thumb:hover { transform: scale(1.25); }
}

/* ===== Products ===== */
.products {
  padding: 96px 0;
  background: var(--gray-50);
}

.products-grid {
  display: grid;
  /* 商品名/描述现在来自后台录入，长单词会顶开 1fr 轨道造成整页横向拖动，
     所以轨道下限必须是 0 */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* 卡片结构照设计稿：米色瓷片里放【标题 + 细分隔线 + 两行描述 + 产品图】，白底价格行留在下面 */
/* 首页默认那排行业卡（一级分类）用的是同一套版式，只是内容换成图标 + 行业名 + 类目图 + 商品数 */
.product-card,
.industry-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}

.product-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  padding: 26px 22px 0;
  background: linear-gradient(180deg, #F8FCEF 0%, #EAF5DB 100%);
  text-align: center;
}

.tile-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
  overflow-wrap: break-word;
}

.tile-rule {
  flex: 0 0 auto;
  width: 62%;
  height: 1px;
  margin: 12px 0 10px;
  background: #D6E9BE;
}

.tile-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 190px;
  margin-top: 16px;
  overflow: hidden;
}
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 16px 22px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-600);
}

.product-moq {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 行业卡（首页产品区默认那一排），白底那一行只留右侧「查看产品」 */
.industry-go {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-600);
  white-space: nowrap;
}

/* ===== Process ===== */
.process {
  padding: 96px 0;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--lime);
  color: var(--brand-800);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.process-connector {
  width: 40px;
  height: 2px;
  background: var(--brand-100);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq {
  padding: 96px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--brand-600); }
.faq-question > span { min-width: 0; overflow-wrap: break-word; }

.faq-icon {
  flex-shrink: 0;
  color: var(--brand-600);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 300px; }

/* ===== Contact ===== */
.contact {
  padding: 96px 0;
}

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

.contact-info p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--brand-600);
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 15px;
  color: var(--gray-500);
}

.inquiry-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(20,96,61,0.15);
  background: var(--white);
}

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

/* ===== 多选下拉（表面处理）===== */
.msel { position: relative; }

.msel-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.msel-trigger:hover { border-color: var(--gray-400); }

.msel-trigger:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(20,96,61,0.15);
  background: var(--white);
}

.msel-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msel.has-value .msel-text { color: var(--gray-900); font-weight: 600; }

.msel-arrow {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg);
  margin: -4px 2px 0 0;
  transition: transform var(--transition);
}
.msel.open .msel-arrow { transform: rotate(-135deg); margin: 2px 2px 0 0; }

.msel-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: min(340px, 62vh);
  overflow-y: auto;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.msel.open .msel-panel { display: block; }

/* .form-group label 的优先级比 .msel-item 高，所以这里要带上 .form-group 才压得住 */
.form-group .msel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.form-group .msel-item:hover { background: var(--brand-50); }
.form-group .msel-item input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  accent-color: var(--brand-600);
  cursor: pointer;
}
.form-group .msel-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}
.msel-name { min-width: 0; }

.msel-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 10px 6px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.msel-count { font-size: 12px; color: var(--gray-500); }

.msel-confirm {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--brand-600);
  border: 1px solid var(--brand-600);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.msel-confirm:hover { background: var(--brand-700); }

/* ===== 盒子类型：自绘下拉，鼠标停在名字上时右边出图 ===== */
.boxpick { position: relative; }

.boxpick-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.boxpick-trigger:hover { border-color: var(--gray-400); }
.boxpick-trigger:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(20,96,61,0.15);
  background: var(--white);
}
.boxpick.has-value .boxpick-trigger { color: var(--gray-900); font-weight: 600; }
.boxpick-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.boxpick-arrow {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg);
  margin: -4px 2px 0 0;
  transition: transform var(--transition);
}
.boxpick.open .boxpick-arrow { transform: rotate(-135deg); margin: 2px 2px 0 0; }

.boxpick-pop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.boxpick.open .boxpick-pop { display: block; }
.boxpick-row { display: flex; align-items: flex-start; gap: 12px; }

.boxpick-list { flex: 1; min-width: 0; max-height: 264px; overflow-y: auto; }
.boxpick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.boxpick-item:hover,
.boxpick-item.is-hover { background: var(--brand-50); color: var(--brand-700); }
.boxpick-item.is-picked { background: var(--brand-50); color: var(--brand-700); font-weight: 700; }
.boxpick-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 名字后面那个小方块 = 这一项有图，客户一眼知道悬停会出东西 */
.boxpick-haspic { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--brand-400); }

.boxpick-view { flex: none; width: 46%; display: flex; gap: 8px; padding-left: 12px; border-left: 1px solid var(--gray-200); }
.boxpick-view[hidden] { display: none; }
.boxpick-fig { flex: 1; min-width: 0; margin: 0; }
.boxpick-fig[hidden] { display: none; }
.boxpick-fig img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: contain;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.boxpick-fig figcaption { margin-top: 4px; font-size: 11px; color: var(--gray-500); text-align: center; }

.boxpick-tip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
}
.boxpick-tip[hidden] { display: none; }

.boxpick-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-200);
}
.boxpick-foot[hidden] { display: none; }
.boxpick-done {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--brand-600);
  border: 1px solid var(--brand-600);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.boxpick-done:hover { background: var(--brand-700); }

@media (max-width: 768px) {
  /* 窄屏放不下「名字在左、图在右」，图改成排在名字下面 */
  .boxpick-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .boxpick-list { max-height: 190px; }
  .boxpick-view { width: 100%; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--gray-200); }
  .boxpick-fig img { height: 132px; }
  .boxpick-tip { min-height: 132px; }
}

.form-note {
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--brand-900);
  color: var(--gray-400);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}
/* 这张已经是反白版，再叠 brightness(0) invert(1) 会把灰色那半压成纯白 */
.footer-brand .logo-image {
  height: 56px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-info {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}
.footer-info li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-info-key {
  color: var(--brand-400);
  font-weight: 600;
  flex: 0 0 auto;
}
.footer-info-val { min-width: 0; }
a.footer-info-val { transition: color var(--transition); }
a.footer-info-val:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--gray-400);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--brand-600);
  color: var(--white);
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== Dropdown Navigation ===== */
.nav-dropdown {
  position: relative;
}
/* 小三角单独成元素，把 ::after 还给所有导航项共用的橙色下划线 */
.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  flex-shrink: 0;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu li {
  padding: 0;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--gray-600);
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}
.dropdown-menu a::after {
  display: none;
}

/* ===== Certifications Section ===== */
.certifications {
  padding: 48px 0;
  background: var(--cream);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.cert-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand-400);
}
.cert-card:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}
.cert-arrow {
  margin-left: auto;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.cert-card:hover .cert-arrow {
  transform: translateX(3px);
  color: var(--brand-600);
}
.cert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cert-icon-fsc {
  background: #E8F5E9;
  color: #2E7D32;
}
.cert-icon-gmi {
  background: var(--brand-100);
  color: var(--brand-600);
}
.cert-icon-lowes {
  background: #E3F2FD;
  color: #1565C0;
}
.cert-icon-cb {
  background: #E0F2F1;
  color: #00695C;
}
.cert-text {
  min-width: 0;
}
.cert-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.cert-text p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ===== Certificate Modal ===== */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cert-modal.active {
  opacity: 1;
  visibility: visible;
}
.cert-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.cert-modal-content {
  position: relative;
  background: var(--cream);
  border-radius: 20px;
  max-width: 720px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.cert-modal.active .cert-modal-content {
  transform: translateY(0) scale(1);
}
.cert-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
  z-index: 1;
}
.cert-modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}
.cert-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cert-modal-image {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 20px 0 0 20px;
}
.cert-modal-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}
.cert-modal-info {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cert-modal-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  width: fit-content;
}
.cert-modal-badge-fsc { background: #E8F5E9; color: #2E7D32; }
.cert-modal-badge-gmi { background: var(--brand-100); color: var(--brand-600); }
.cert-modal-badge-lowes { background: #E3F2FD; color: #1565C0; }
.cert-modal-badge-cb { background: #E0F2F1; color: #00695C; }
.cert-modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}
.cert-modal-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}
.cert-modal-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--brand-600);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  width: fit-content;
}
.cert-modal-download:hover {
  background: var(--brand-500);
  transform: translateY(-1px);
}
/* 后台还没传产品组合图：左边那栏保留并换成虚线占位框，弹窗版式不随有没有图跳变 */
.cert-modal-image.is-empty { margin: 24px; padding: 16px; border: 1px dashed var(--gray-300); border-radius: 12px; }
.cert-modal-image.is-empty img { display: none; }
.cert-modal-image-empty { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 240px; color: var(--gray-400); font-size: 14px; }
.cert-modal-image.is-empty .cert-modal-image-empty { display: flex; }
/* 「联系我们」跳 WhatsApp，按钮换绿色并换聊天图标，铺满右栏做成横条 */
.cert-modal-icon-wa { display: none; }
.cert-modal-download.is-contact .cert-modal-icon-dl { display: none; }
.cert-modal-download.is-contact .cert-modal-icon-wa { display: inline-block; }
.cert-modal-download.is-contact { background: #25D366; width: 100%; justify-content: center; }
.cert-modal-download.is-contact:hover { background: #1EB855; }

/* ===== About Us Section ===== */
.about-us {
  /* 上边距单独比下方窄：认证带下面已有 48px，两边都留 96 会空出一屏 */
  padding: 26px 0 96px;
  background: var(--gray-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 360px;
  background:
    radial-gradient(120% 90% at 85% 15%, rgba(163,214,59,0.28) 0%, rgba(163,214,59,0) 55%),
    linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 60%, var(--brand-500) 100%);
  color: var(--white);
  cursor: pointer;
  transition: transform var(--transition);
}
.video-placeholder:hover {
  transform: scale(1.02);
}
.video-placeholder svg {
  opacity: 0.9;
}
.video-placeholder p {
  font-size: 16px;
  font-weight: 600;
}
/* 后台没填视频链接时这块只是个图片位，不该装作能点 */
.video-placeholder.is-inert {
  cursor: default;
}
.video-placeholder.is-inert:hover {
  transform: none;
}
.video-placeholder.is-inert .video-play {
  display: none;
}
.video-placeholder.has-poster {
  background-size: cover;
  background-position: center;
}
.video-modal {
  max-width: 900px;
  background: #000;
  overflow: hidden;
}
.video-frame iframe,
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.about-content .section-title {
  margin-bottom: 20px;
}
.about-content > p:not(.section-label) {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}
/* 后台「公司介绍」是文本域，换行会带下来；HTML 默认把换行当空格吞掉，
   所以这段单独保留换行，后台分了几段首页就显示几段 */
.about-content .section-title + p {
  white-space: pre-line;
}
/* 四个一排横着摆（不再是 2×2）；格子等宽，长词靠 break-word 自己折行，
   后台填超过 4 个时按每排 4 个往下排 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 12px;
  margin-bottom: 24px;
}
.about-stat {
  text-align: center;
}
/* 手机那一档 4 个一排会把说明挤成一竖条，这里退回 2×2 */
@media (max-width: 480px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
}
.about-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-600);
  overflow-wrap: break-word;
}
.about-stat-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== About Facilities ===== */
.about-facilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.facility-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-200);
}
.facility-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.facility-card:hover .facility-img {
  transform: scale(1.04);
}
.facility-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.45) 45%, rgba(26,26,26,0) 100%);
}
.facility-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}

/* ===== Product Card Clickable ===== */
.product-card,
.industry-card {
  cursor: pointer;
}
.product-card:hover .product-image,
.industry-card:hover .product-image {
  transform: scale(1.02);
}

/* ===== Product Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--white);
  border-radius: 24px;
  max-width: 1100px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  z-index: 10;
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}
.modal-body {
  padding: 40px;
}
/* 行业列表弹窗顶部：整行「大标题 + 小字说明」。两段文字取的是后台
   「商品管理 → 分类」里这一条行业的名称三栏和说明三栏，运营改文案不用动代码；
   说明留空时那一行由 JS 藏掉，不会留一个空段落。 */
.modal-product-info {
  margin-bottom: 28px;
  padding-right: 48px;
}
.modal-product-info h2 {
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.modal-product-info p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 0;
  max-width: 820px;
}
/* 商品详情弹窗顶部：左侧大图 + 右侧文字 */
.detail-info {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 0;
  padding-right: 48px;
}
.detail-info.no-photo { grid-template-columns: minmax(0, 1fr); }
.detail-photo { margin: 0; }
.detail-photo[hidden] { display: none; }
.detail-photo img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
}
.detail-text h2 {
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.detail-text > p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 18px;
}
/* 商品详情弹窗：盖在行业列表那一层上面 */
.detail-overlay { z-index: 2100; }
.detail-content { max-width: 900px; }
.modal-price-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.modal-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-600);
}
.modal-moq {
  font-size: 14px;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 6px 14px;
  border-radius: 20px;
}
/* 商品详情弹窗：墨绿色底 */
.detail-content-dark {
  background: #1a5632;
}
.detail-content-dark .modal-close {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.detail-content-dark .modal-close:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.detail-text-light h2 {
  color: #fff;
}
.detail-text-light > p {
  color: rgba(255,255,255,0.8);
}
.modal-price-light {
  color: #fff;
}
.modal-moq-light {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
}
/* 弹窗提示文字 */
.detail-notes {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.detail-note {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 6px 0;
  line-height: 1.6;
}
.detail-note-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
/* 电商平台按钮 */
.detail-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.platform-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}
.platform-btn svg {
  flex-shrink: 0;
}
/* 商城链接撤掉后这里只剩一个 WhatsApp 联系我们，做成实心按钮挑出来 */
.platform-btn-wa {
  background: #25D366;
  border-color: #25D366;
  color: #06251A;
  font-weight: 700;
  padding: 9px 20px;
}
.platform-btn-wa:hover {
  background: #1dbe5a;
  border-color: #1dbe5a;
  color: #06251A;
}
.modal-showcase h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 18px;
}
/* 相关商品沿用首页那张卡的皮肤，只是尺寸收紧 */
.modal-showcase {
  margin-bottom: 30px;
}
/* 弹窗里的二级分类标签：只出「同一条产品线下面、真的有在售商品」的那几类。
   样式照设计稿——白底细描边方角，选中那项描边和文字转橙。 */
.modal-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.cat-tab {
  padding: 12px 26px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
}
.cat-tab:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}
.cat-tab.is-active {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-600);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.showcase-grid .product-tile {
  padding: 20px 16px 0;
}
.showcase-grid .tile-title {
  font-size: 17px;
}
.showcase-grid .tile-desc {
  font-size: 12px;
  min-height: 40px;
}
.showcase-grid .product-image {
  height: 150px;
}
.showcase-grid .product-meta {
  padding: 12px 16px;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.modal-actions .btn {
  flex: 0 1 auto;
  min-width: 0;
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 10px;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 1500;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* ===== WhatsApp Button ===== */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===== Guide Modal ===== */
.guide-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.guide-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.guide-modal {
  background: var(--cream);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}
.guide-modal-overlay.active .guide-modal {
  transform: translateY(0);
}
.guide-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--gray-700);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}
.guide-modal-close:hover {
  background: var(--gray-100);
  transform: scale(1.1);
}
.guide-modal-body {
  padding: 40px 36px 36px;
}
.guide-modal-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-modal-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-600);
}
.guide-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.guide-modal-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}
.guide-modal-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
  margin-top: 20px;
}
.guide-modal-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--white);
  padding: 16px;
}
.guide-modal-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}
.guide-modal-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.guide-modal-list li {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 8px;
}
.guide-modal-list li strong {
  color: var(--gray-900);
}
.guide-modal-note {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.guide-modal-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.guide-code-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 8px;
}
.guide-code-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-600);
  min-width: 56px;
}
.guide-code-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
}
.guide-modal-finishes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.guide-finish-item {
  padding: 16px;
  background: var(--white);
  border-radius: 8px;
}
.guide-finish-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.guide-finish-item p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== Redesigned Contact Form ===== */
.contact {
  padding: 96px 0;
  background: var(--brand-50);
}
.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form-header {
  text-align: center;
  margin-bottom: 40px;
}
.contact-form-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.contact-form-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.contact-form-desc {
  font-size: 15px;
  color: var(--gray-500);
}
.contact .inquiry-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.btn-whatsapp-submit {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-whatsapp-submit:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.form-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.form-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
  transition: color var(--transition);
}
.form-contact-link:hover {
  color: var(--brand-600);
}
.form-contact-link svg {
  flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-facilities { gap: 16px; margin-top: 40px; }
  /* 1024 以下左右两栏都变窄，收窄间距并把轮播压矮，免得把文案挤出视线 */
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 28px; }
  .hero-carousel { height: 260px; }
  .hero-logo img { height: 56px; }
  /* 这一档轮播本身矮到 336，下沉上限跟着收紧 */
  .hero-visual { max-height: 460px; }
}

@media (max-width: 768px) {
  /* 小标桌面是 32px，但手机上的大标题被 clamp() 压到 28px，不降一档会盖过标题 */
  .section-label { font-size: 22px; }

  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cert-card { padding: 16px 14px; gap: 12px; }
  .cert-icon { width: 40px; height: 40px; }
  .cert-text h3 { font-size: 14px; }
  .cert-text p { font-size: 12px; }

  /* 手机上一排两张全景图各只剩约 190px 宽，压不住 20px 的标题，改成一列通栏 */
  .about-facilities { grid-template-columns: 1fr; }
  .facility-card { aspect-ratio: 16 / 10; }
  .facility-name { font-size: 18px; }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu li { padding: 12px 0; }
  /* 桌面端 li 是横排 flex；竖排菜单里要让标签在上、子菜单在下 */
  .nav-menu > li { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .logo-image { height: 56px; }

  .nav-dropdown .dropdown-menu {
    position: static;
    /* 基础规则里的 translateX(-50%) 在 static 下依然生效，会把子菜单往左推出去，必须清掉 */
    transform: none;
    /* 触屏没有 hover，子菜单不能靠 :hover 才显示，否则它看不见却又占着两百多像素 */
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 8px 0 0 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-top: 8px;
  }

  .guide-modal-body { padding: 32px 24px 28px; }
  .guide-modal-title { font-size: 22px; }
  .guide-modal-codes,
  .guide-modal-finishes { grid-template-columns: 1fr; }

  .hero { padding: 130px 0 72px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .trust-badges { flex-direction: column; gap: 12px; }
  /* 窄屏收成上下两栏，右侧视觉区整块放到文案下面 */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-carousel { height: 220px; }
  .hero-logo img { height: 46px; }
  /* 上下叠放时不需要桌面那套下沉间距，收回到紧凑的 20px */
  .hero-visual { align-items: center; gap: 20px; max-height: none; }

  .advantages { margin-top: -32px; }
  .advantages-grid { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: minmax(0, 1fr); }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  .process-connector {
    width: 2px;
    height: 24px;
    margin: 0;
  }
  .process-step { padding: 0; margin-bottom: 8px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 24px; }

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

  .modal-content { width: auto; margin: 16px; max-height: calc(100vh - 32px); }
  .modal-body { padding: 28px 22px; }
  .modal-product-info { padding-right: 44px; }
  .modal-product-info h2 { font-size: 26px; }
  .detail-info { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-right: 44px; }
  .detail-text h2 { font-size: 24px; }
  .modal-price { font-size: 22px; }
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .modal-cat-tabs { gap: 8px; margin-bottom: 18px; }
  .cat-tab { padding: 9px 18px; font-size: 14px; }
  .modal-actions .btn { flex: 1 1 100%; }

  .cert-modal-body { grid-template-columns: 1fr; }
  .cert-modal-image { border-radius: 20px 20px 0 0; padding: 24px; }
  .cert-modal-image img { max-height: 260px; }
  .cert-modal-info { padding: 24px; }
  .cert-modal-title { font-size: 22px; }
}

/* 320px 这类小屏上，两列认证卡片放不下「Certification」这种长单词，
   只能靠缩小图标和内边距把一行塞进去，而不是让整页可以左右拖 */
@media (max-width: 380px) {
  .cert-grid { gap: 8px; }
  .cert-card { padding: 14px 10px; gap: 8px; }
  .cert-icon { width: 32px; height: 32px; }
  .cert-text h3 { font-size: 13px; }
  .cert-text p { font-size: 11px; }
  .about-stat-number { font-size: 26px; }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .advantage-card,
  .product-card,
  .industry-card,
  .process-step {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.6s ease forwards;
  }
  @keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
  }
  .advantage-card:nth-child(1) { animation-delay: 0.1s; }
  .advantage-card:nth-child(2) { animation-delay: 0.2s; }
  .advantage-card:nth-child(3) { animation-delay: 0.3s; }
  .advantage-card:nth-child(4) { animation-delay: 0.4s; }
  .product-card:nth-child(1) { animation-delay: 0.1s; }
  .product-card:nth-child(2) { animation-delay: 0.15s; }
  .product-card:nth-child(3) { animation-delay: 0.2s; }
  .product-card:nth-child(4) { animation-delay: 0.25s; }
  .product-card:nth-child(5) { animation-delay: 0.3s; }
  .product-card:nth-child(6) { animation-delay: 0.35s; }
}
