﻿/* ============ 基础 ============ */
:root {
  --primary: #8a6d3b;
  --primary-dark: #6c522c;
  --primary-light: #c6a96f;
  --ink: #201d19;
  --muted: #6e655c;
  --bg: #ffffff;
  --bg-warm: #f8f6f3;
  --line: #e9e2dc;
  --shadow: 0 12px 32px rgba(38, 34, 31, 0.09);
  --radius: 14px;
  --container: 1200px;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

.desktop-only {
  display: inline;
}

/* ============ 顶部导航 ============ */
.topbar {
  position: relative;
  z-index: 101;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.topbar-mail {
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: color 0.25s;
}

.topbar-mail:hover {
  color: #e6cda2;
}

.topbar-welcome {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(38, 34, 31, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
  flex-wrap: nowrap;
}

.header-wide {
  width: min(1400px, 96%);
  max-width: min(1400px, 96%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 24px;
  flex-shrink: 0;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: 2px;
  color: var(--primary-dark);
  white-space: nowrap;
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
}

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

.main-nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink);
  padding: 8px 0;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s;
}

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

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

/* 自有品牌下拉 */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav .nav-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  padding: 8px 0;
  letter-spacing: 1px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
}

.main-nav .nav-parent:hover,
.main-nav .has-dropdown.open .nav-parent {
  color: var(--primary);
}

.main-nav .nav-caret {
  display: inline-flex;
  color: var(--muted);
  transition: transform 0.2s;
}

.main-nav .nav-caret svg {
  display: block;
}

.main-nav .has-dropdown.open .nav-caret {
  transform: rotate(180deg);
}

.main-nav .nav-collapse {
  display: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.5);
}

.nav-overlay[hidden] {
  display: none;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  z-index: 90;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  display: block;
}

.main-nav .nav-drop-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav .nav-drop-link::after {
  display: none;
}

.main-nav .nav-drop-link:hover {
  background: var(--bg-warm);
  color: var(--primary);
}

.main-nav .nav-drop-link img {
  width: 36px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.header-tel {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* 语言切换 */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.lang-btn .lang-flag {
  width: 16px;
  height: 12px;
  flex-shrink: 0;
  margin-right: 0;
}

.topbar .lang-btn {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  font-size: 13px;
}

.lang-btn:hover,
.lang-switch.open .lang-btn {
  border-color: var(--primary);
  color: var(--primary);
}

.topbar .lang-btn:hover,
.topbar .lang-switch.open .lang-btn {
  border-color: #e6cda2;
  color: #e6cda2;
}

.lang-flag {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border: 1px solid #ccc;
  display: block;
}

.lang-option .lang-flag {
  margin-right: 0;
}

.lang-caret {
  font-size: 10px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 128px;
  display: none;
  z-index: 60;
}

.lang-switch.open .lang-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 8px;
  color: var(--ink);
  white-space: nowrap;
}

.lang-option:hover {
  background: var(--bg-warm);
}

.lang-option.is-active {
  color: var(--primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: #fff;
  border: 1.5px solid rgba(138, 109, 59, 0.55);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ 首屏轮播 ============ */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 980px;
  color: #fff;
  overflow: hidden;
}

.slider-track {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.08);
  transition: transform 6s ease;
}

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

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 13, 11, 0.72) 0%, rgba(15, 13, 11, 0.46) 48%, rgba(15, 13, 11, 0.12) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: var(--container);
}

.slide-eyebrow {
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 4px;
  color: #e6cda2;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.slide.is-active .slide-eyebrow {
  opacity: 1;
  transform: none;
}

.slide-content h1,
.slide-content h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease 0.25s, transform 0.7s ease 0.25s;
}

.slide.is-active h1,
.slide.is-active h2 {
  opacity: 1;
  transform: none;
}

.slide-divider {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 2px;
  margin-bottom: 26px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.slide.is-active .slide-divider {
  opacity: 1;
  transform: scaleX(1);
}

.slide-desc {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.slide.is-active .slide-desc {
  opacity: 1;
  transform: none;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
}

.slide.is-active .slide-actions {
  opacity: 1;
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* 轮播指示器（进度条样式） */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 14px;
}

.dot {
  width: 56px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.dot-fill {
  position: absolute;
  inset: 0;
  background: #e6cda2;
  transform: scaleX(0);
  transform-origin: left;
}

.dot.is-active .dot-fill {
  animation: dotProgress 5s linear forwards;
}

@keyframes dotProgress {
  to {
    transform: scaleX(1);
  }
}

/* ============ 数据 ============ */
.stats {
  background: var(--ink);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 42px 0;
}

.stat-item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

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

.stat-item strong {
  display: block;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 1px;
  color: #e6cda2;
}

.stat-item strong small {
  font-size: 0.5em;
  font-weight: 400;
  margin-left: 3px;
}

.stat-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 1px;
}

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

.section-tag {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(25px, 2.8vw, 36px);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

/* 滚动出现动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============ 公司简介 ============ */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 400px;
}

.about-img-main {
  width: 84%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-img-side {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: 56%;
  border-radius: var(--radius);
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 20px;
}

.about-points {
  margin: 26px 0 32px;
}

.about-points li {
  position: relative;
  padding: 7px 0 7px 30px;
  color: var(--ink);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.25;
}

.about-points li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============ 生产设备 ============ */
.equipment {
  background: var(--bg-warm);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.equipment-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(38, 34, 31, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.equipment-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.equipment-body {
  padding: 28px 26px;
}

.equipment-body h3 {
  font-size: 19px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.equipment-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

.section-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ============ 工艺流程 ============ */
.process {
  background: var(--ink);
  color: #fff;
}

.process .section-tag {
  color: #e6cda2;
}

.process .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: none;
  list-style: none;
}

.process-step {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px 22px;
  transition: background 0.3s, transform 0.3s;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.process-step h3 em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: #e6cda2;
  letter-spacing: 1px;
  margin-top: 4px;
}

.process-step p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* ============ 核心工艺优势 ============ */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.craft-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.craft-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.craft-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.craft-body {
  padding: 22px 20px 24px;
  text-align: center;
}

.craft-card h3 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.craft-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* ============ 品控体系 ============ */
.qc {
  background: var(--bg-warm);
}

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

.qc-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(38, 34, 31, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.qc-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.qc-body {
  position: relative;
  padding: 34px 22px 24px;
}

.qc-num {
  position: absolute;
  top: -18px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 3px #fff;
}

.qc-body-plain {
  padding: 22px 24px 26px;
}

.qc-body-plain .qc-num {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  margin-bottom: 14px;
  box-shadow: none;
}

.qc-item h3 {
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.qc-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============ 产品 ============ */
.products {
  background: var(--bg-warm);
}

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

.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(38, 34, 31, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(15, 13, 11, 0.72));
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  text-align: center;
}

/* ============ 车间 ============ */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.workshop-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 18px rgba(38, 34, 31, 0.07);
}

.workshop-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s;
}

.workshop-item:hover img {
  transform: scale(1.05);
}

.workshop-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(15, 13, 11, 0.7));
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  text-align: center;
}

/* ============ 认证专利 ============ */
.cert {
  background: var(--bg);
}

.cert-group-title {
  font-size: 20px;
  letter-spacing: 2px;
  margin: 8px 0 22px;
  color: var(--primary-dark);
}

.cert-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 0 40px;
}

.cert-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px 12px;
  min-width: 118px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.cert-icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cert-icon img {
  height: 36px;
  width: auto;
  max-width: 136px;
  object-fit: contain;
}

.cert-icon span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-align: center;
}

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

.cert-item,
.patent-item {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  cursor: zoom-in;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cert-item:hover,
.patent-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cert-item img {
  width: 100%;
  aspect-ratio: 655 / 900;
  object-fit: contain;
}

.cert-item figcaption,
.patent-item figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

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

.patent-item img {
  width: 100%;
  aspect-ratio: 636 / 900;
  object-fit: contain;
}

/* 大图弹窗 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 14, 16, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(680px, 92vw);
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ============ 新闻 ============ */
.news {
  background: var(--bg-warm);
}

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

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(38, 34, 31, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-body {
  padding: 22px 24px 26px;
}

.news-body time {
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 1px;
}

.news-body h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body p {
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ 新闻中心列表页 ============ */
.news-layout {
  max-width: 1020px;
  margin: 0 auto;
}

.news-cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.news-cat {
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.news-cat:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.news-cat.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.news-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.news-featured-body {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-body h3 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.news-featured-body h3 a:hover,
.news-list-body h3 a:hover {
  color: var(--primary);
}

.news-featured-body p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
}

.news-meta time {
  font-weight: 600;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.news-list-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.news-list-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.news-list-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-list-body {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-body h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-list-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ 品牌 ============ */
.brands {
  padding: 70px 0;
  text-align: center;
}

.brands h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 2px;
  margin-bottom: 34px;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(38, 34, 31, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.brand-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 92px;
  background: var(--bg-warm);
  border-radius: 12px;
  padding: 0 16px;
}

.brand-logo img {
  height: 62px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.brand-tagline {
  font-size: 13px;
  color: var(--muted);
}

.brand-go {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
}

.brand-card:hover .brand-go {
  color: var(--primary-dark);
}

/* 自有品牌联系人 */
.brand-contact {
  margin-top: 40px;
  text-align: left;
}

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

/* ============ 合作品牌 / 全球市场 ============ */
.global {
  background:
    radial-gradient(1100px 480px at 50% 0%, rgba(198, 164, 108, 0.16), transparent 62%),
    radial-gradient(900px 420px at 88% 100%, rgba(198, 164, 108, 0.08), transparent 60%),
    #16140f;
  color: rgba(255, 255, 255, 0.82);
}

.global .section-tag {
  color: #d9b878;
}

.global .section-head h2 {
  color: #fff;
}

.global .section-desc {
  color: rgba(255, 255, 255, 0.62);
}

.global-intro {
  max-width: 1080px;
  margin: 0 auto 44px;
  text-align: center;
}

.global-lead {
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 600;
  color: #fff;
  line-height: 1.75;
  letter-spacing: 0.5px;
}

.global-body {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.68);
}

.global-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 44px;
  margin-top: 28px;
}

.global-point {
  position: relative;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #e6cda2;
  white-space: nowrap;
}

.global-point + .global-point {
  padding-left: 44px;
  border-left: 1px solid rgba(230, 205, 162, 0.3);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px 46px;
  max-width: 1160px;
  margin: 0 auto 46px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.partner-logos img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: transform 0.25s;
}

.partner-logos img:hover {
  transform: translateY(-3px);
}

.global-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
}

.global-map {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.global-map img {
  display: block;
  width: 100%;
  height: auto;
}

.global-regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.global-region {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 184, 120, 0.22);
  border-radius: 16px;
  padding: 20px 22px;
  backdrop-filter: blur(4px);
  transition: border-color 0.25s, transform 0.25s;
}

.global-region:hover {
  border-color: rgba(217, 184, 120, 0.5);
  transform: translateY(-2px);
}

.global-region h4 {
  font-size: 16px;
  letter-spacing: 1.5px;
  color: #e6cda2;
  margin-bottom: 12px;
}

.global-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.global-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(217, 184, 120, 0.10);
  border: 1px solid rgba(217, 184, 120, 0.28);
  border-radius: 999px;
  padding: 5px 12px 5px 8px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.flag-mini {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.global-chip:hover {
  background: rgba(217, 184, 120, 0.18);
  border-color: rgba(217, 184, 120, 0.55);
}

/* 分类联系人 */
.contact-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-info-plain .contact-groups {
  grid-template-columns: 1fr;
}

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

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 0;
}

.contact-meta-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmi-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--primary);
}

.cmi-label {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.cmi-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}

.contact-form-wrap {
  max-width: 680px;
  margin: 40px auto 0;
}

.contact-group {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px 8px;
}

.contact-group h4 {
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.contact-group-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 2px;
}

.contact-person {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-person:last-child {
  border-bottom: none;
}

.cp-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cp-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}

.cp-role {
  font-size: 12px;
  color: #fff;
  background: var(--primary);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.5px;
}

.cp-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.cp-phone {
  font-size: 14px;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cp-phone:hover {
  color: var(--primary);
}

.cp-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cp-email::before {
  content: none;
}

.cp-email:hover {
  color: var(--primary-dark);
}

/* 品牌页联系人 */
.brand-contact-box {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.bcb-label {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.bcb-person {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

/* ============ 品牌故事页 ============ */
.brand-page-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.brand-logo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 34px;
  text-align: center;
  position: sticky;
  top: 104px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.brand-logo-card img {
  max-width: 240px;
  height: auto;
  margin: 0 auto 22px;
}

.brand-logo-card h3 {
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.brand-logo-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.brand-logo-card .btn {
  width: 100%;
}

.brand-story h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}

.brand-story p {
  color: #47413a;
  line-height: 2;
  margin-bottom: 18px;
  font-size: 15.5px;
}

.brand-story .section-tag {
  margin-top: 34px;
}

.brand-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

/* ============ 联系 ============ */
.contact {
  background:
    linear-gradient(rgba(18, 16, 14, 0.93), rgba(18, 16, 14, 0.93)),
    url("../assets/images/workshop-weave2.webp") center/cover no-repeat;
  color: #fff;
}

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

.contact-info .section-tag {
  color: #e6cda2;
}

.contact-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 30px;
}

.contact-info ul li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info ul li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info ul strong {
  font-size: 14px;
  letter-spacing: 2px;
  color: #e6cda2;
}

.contact-info ul span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.contact-form h3 {
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-warm);
  margin-bottom: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(138, 109, 59, 0.16);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

.form-tip {
  margin-top: 12px;
  color: #2d7d46;
  text-align: center;
  font-size: 14px;
}

/* ============ 页脚 ============ */
.site-footer {
  background: #171513;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.75fr 0.9fr 0.9fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 0 46px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 9px;
  transition: color 0.25s;
}

.footer-grid > div:first-child p {
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.footer-grid > div:nth-child(4) p:last-child {
  font-size: 13px;
  line-height: 1.8;
  text-wrap: balance;
}

.footer-grid a:hover {
  color: #e6cda2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a:hover {
  color: #e6cda2;
}

/* ============ 手机端快捷栏 ============ */
.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 120;
  background: rgba(23, 21, 19, 0.97);
  border: 1px solid rgba(230, 205, 162, 0.28);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 8px 6px;
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}

.mobile-bar-btn .mb-icon {
  font-size: 19px;
  line-height: 1;
  color: #e6cda2;
}

.mobile-bar-btn:hover {
  color: #e6cda2;
}

/* ============ 微信咨询弹窗 ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 13, 11, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop[hidden] {
  display: none;
}

.wechat-box {
  width: min(360px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.wechat-box h4 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.wechat-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.wechat-id {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--bg-warm);
  border: 1px dashed rgba(138, 109, 59, 0.4);
  border-radius: 10px;
  padding: 14px 10px;
  margin-bottom: 18px;
  word-break: break-all;
}

.wechat-box .btn {
  width: 100%;
  min-height: 44px;
  margin-bottom: 10px;
}

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.3s;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  background: var(--primary-dark);
}

/* ============ 多语言排版自动适配 ============ */
html[lang="en"] body {
  letter-spacing: 0;
}

html[lang="en"] .main-nav {
  gap: 20px;
}

html[lang="en"] .main-nav a {
  font-size: 14px;
  letter-spacing: 0.3px;
}

html[lang="en"] .slide-content h1,
html[lang="en"] .slide-content h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: 0.5px;
}

html[lang="en"] .slide-desc {
  font-size: 15.5px;
}

html[lang="en"] .section-head h2,
html[lang="en"] .page-hero h1 {
  letter-spacing: 0.5px;
}

html[lang="en"] .btn {
  letter-spacing: 0.3px;
}

html[lang="en"] .product-name {
  font-size: 15px;
  letter-spacing: 1px;
}

html[lang="en"] .brand-text strong {
  letter-spacing: 1px;
}

html[lang="en"] .brand-text small {
  letter-spacing: 1.2px;
}

html[lang="en"] .topbar-welcome,
html[lang="ja"] .topbar-welcome,
html[lang="ko"] .topbar-welcome {
  letter-spacing: 0;
}

html[lang="ja"] body,
html[lang="ko"] body {
  line-height: 1.9;
}

html[lang="ja"] .main-nav a,
html[lang="ko"] .main-nav a {
  letter-spacing: 0;
}

html[lang="ja"] .slide-content h1,
html[lang="ja"] .slide-content h2,
html[lang="ko"] .slide-content h1,
html[lang="ko"] .slide-content h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: 0.5px;
}

html[lang="ja"] .slide-desc,
html[lang="ko"] .slide-desc {
  font-size: 15px;
}

html[lang="ja"] .section-head h2,
html[lang="ja"] .page-hero h1,
html[lang="ko"] .section-head h2,
html[lang="ko"] .page-hero h1 {
  letter-spacing: 0.5px;
}

/* ============ 内页通用 ============ */
.page-hero {
  padding: 74px 0 66px;
  background:
    linear-gradient(rgba(18, 16, 14, 0.86), rgba(18, 16, 14, 0.86)),
    url("../assets/images/workshop-weave2.webp") center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  letter-spacing: 1px;
}

.page-hero .breadcrumb {
  font-size: 13px;
  margin-bottom: 12px;
  color: #e6cda2;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero .breadcrumb a:hover {
  color: #e6cda2;
}

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

.section-more {
  text-align: center;
  margin-top: 40px;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.process .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

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

/* ============ 产品列表页 ============ */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: start;
}

.cat-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: sticky;
  top: 100px;
}

.cat-sidebar h3 {
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink);
  transition: background 0.2s;
}

.cat-item img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.cat-item span {
  flex: 1;
  font-size: 14.5px;
}

.cat-item em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.cat-item:hover {
  background: var(--bg-warm);
}

.cat-item.is-active {
  background: var(--primary);
  color: #fff;
}

.cat-item.is-active em {
  color: rgba(255, 255, 255, 0.8);
}

.product-search {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.product-search input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 15px;
  outline: none;
}

.product-search input:focus {
  border-color: var(--primary);
}

.product-search .btn {
  padding: 11px 26px;
}

.products-count {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.products-main .product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.products-main .product-card img {
  aspect-ratio: 1 / 1;
}

.container-wide {
  width: min(1600px, 96%);
  max-width: min(1600px, 96%);
}

.empty-tip {
  color: var(--muted);
  text-align: center;
  padding: 60px 0;
}

/* ============ 产品详情页 ============ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

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

.gallery-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

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

.gallery-thumb.is-active {
  border-color: var(--primary);
}

.product-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.product-summary {
  color: var(--muted);
  margin-bottom: 22px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.spec-table th,
.spec-table td {
  padding: 11px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 110px;
  background: var(--bg-warm);
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.feature-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 22px;
}

.feature-box ul li {
  position: relative;
  padding: 9px 0 9px 26px;
  line-height: 1.8;
}

.feature-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.endorse-box {
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 34px;
}

.endorse-box h3 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.endorse-box ul li {
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14.5px;
}

/* ============ 工艺流程详情页 ============ */
.process-timeline {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
}

.timeline-step {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  position: relative;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 30px;
  background: var(--line);
}

.timeline-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.timeline-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline-body h3 {
  font-size: 21px;
  margin: 10px 0 10px;
}

.timeline-body h3 em {
  font-style: normal;
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 1px;
  margin-left: 6px;
}

.timeline-body p {
  color: var(--muted);
  line-height: 1.9;
}

/* ============ 新闻 ============ */
.news-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--primary);
}

.article {
  max-width: 820px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.article-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 26px;
}

.article-content p {
  color: #3f3933;
  line-height: 2;
  margin-bottom: 18px;
}

.article .btn {
  margin-top: 20px;
}

/* ============ 联系页 ============ */
.contact-info-plain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-plain h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-info-plain > p {
  color: var(--muted);
  margin-bottom: 26px;
}

.contact-info-plain ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-plain ul li:first-child {
  border-top: 1px solid var(--line);
}

.contact-info-plain ul strong {
  display: block;
  color: var(--primary-dark);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.contact-info-plain ul span {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

/* ============ 常见问题 ============ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 46px 16px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 18px;
  color: var(--muted);
  line-height: 1.9;
}

/* ============ 404 ============ */
.notfound {
  text-align: center;
  padding: 60px 0;
}

.notfound h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.notfound p {
  color: var(--muted);
  margin-bottom: 28px;
}

.notfound-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-main .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-layout {
    grid-template-columns: 1fr;
  }

  .cat-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
  }

  .cat-sidebar h3 {
    width: 100%;
    margin-bottom: 8px;
  }

  .cat-item {
    padding: 6px 10px;
  }

  .cat-item img {
    display: none;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-card {
    grid-template-columns: 1fr 1.2fr;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .patent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .global-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

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

  .partner-logos {
    gap: 18px 28px;
    padding: 24px 20px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-images {
    max-width: 620px;
  }
}

/* 中等屏幕：导航自动收起为菜单，保证不换行 */
@media (max-width: 1439px) and (min-width: 1200px) {
  .brand-text small {
    display: none;
  }

  .header-tel {
    display: none;
  }

  html[lang="en"] .main-nav {
    gap: 18px;
  }

  html[lang="en"] .main-nav a {
    font-size: 13.5px;
  }

  html[lang="en"] .main-nav .nav-parent {
    font-size: 13.5px;
  }

  html[lang="ja"] .main-nav,
  html[lang="ko"] .main-nav {
    gap: 16px;
  }

  html[lang="ja"] .main-nav a,
  html[lang="ko"] .main-nav a,
  html[lang="ja"] .main-nav .nav-parent,
  html[lang="ko"] .main-nav .nav-parent {
    font-size: 13.5px;
  }
}

@media (max-width: 1365px) and (min-width: 1200px) {
  .brand-text {
    display: none;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 13px;
  }

  html[lang="zh-CN"] .main-nav {
    gap: 16px;
  }

  html[lang="zh-CN"] .main-nav a {
    font-size: 14px;
  }

  html[lang="zh-CN"] .main-nav .nav-parent {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  html {
    scroll-padding-top: 70px;
  }

  .header-inner {
    height: 66px;
  }

  .brand-text small {
    display: none;
  }

  .header-tel {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(23, 21, 19, 0.96);
    border-bottom: 1px solid rgba(230, 205, 162, 0.18);
    padding: 10px 6% 8px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.open {
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  .main-nav a {
    padding: 14px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #e6cda2;
  }

  .main-nav .nav-parent {
    width: 100%;
    padding: 14px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: space-between;
  }

  .main-nav .nav-parent:hover {
    color: #e6cda2;
  }

  .main-nav .nav-caret {
    color: #e6cda2;
  }

  .main-nav .nav-item {
    display: block;
  }

  .main-nav .nav-dropdown {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: none;
    padding: 6px 12px;
    margin: 4px 0 12px;
  }

  .main-nav .has-dropdown:hover .nav-dropdown {
    display: none;
  }

  .main-nav .has-dropdown.open .nav-dropdown {
    display: block;
  }

  .main-nav .nav-drop-link {
    padding: 12px 8px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav .nav-drop-link:hover {
    background: rgba(230, 205, 162, 0.12);
    color: #fff;
  }

  .main-nav .nav-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
    padding: 13px 0 6px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
  }

  .main-nav .nav-collapse:hover {
    color: #e6cda2;
  }

  .hero-slider {
    height: 76vh;
    min-height: 480px;
  }

  .page-hero {
    padding: 54px 0 48px;
  }

  .topbar-welcome {
    display: none;
  }

  .desktop-only {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 86px;
  }

  .mobile-bar {
    display: flex;
  }

  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .back-top {
    bottom: calc(92px + env(safe-area-inset-bottom));
    right: 16px;
    width: 46px;
    height: 46px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand {
    gap: 8px;
    margin-right: 8px;
  }

  .brand img {
    height: 40px;
  }

  .brand-text strong {
    font-size: 15px;
    letter-spacing: 1px;
    max-width: 52vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 8px;
    margin-left: 8px;
    padding-left: 8px;
  }

  .about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: 0;
    max-width: none;
  }

  .about-img-main,
  .about-img-side {
    position: static;
    width: 100%;
    border: none;
    box-shadow: var(--shadow);
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:first-child p {
    white-space: normal;
  }

  .brand-list {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .partner-logos {
    gap: 18px 28px;
    padding: 26px 18px;
  }

  .partner-logos img {
    height: 42px;
    max-width: 150px;
  }

  .cert-icons {
    gap: 10px;
    margin-bottom: 30px;
  }

  .cert-icon {
    min-width: 96px;
    padding: 12px 14px 10px;
  }

  .cert-icon img {
    height: 28px;
    max-width: 108px;
  }

  .global-intro {
    margin-bottom: 32px;
  }

  .global-points {
    gap: 10px 24px;
    margin-top: 22px;
  }

  .global-point {
    font-size: 14px;
  }

  .global-point + .global-point {
    padding-left: 24px;
  }

  .contact-groups,
  .brand-contact .contact-groups,
  .contact-groups-wide {
    grid-template-columns: 1fr;
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .section {
    padding: 66px 0;
  }

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

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

  .equipment-card {
    grid-template-columns: 1fr;
  }

  .equipment-card img {
    max-height: 260px;
  }

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

  .timeline-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brand-page-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .brand-logo-card {
    position: static;
    padding: 30px 22px;
  }

  .brand-highlights {
    grid-template-columns: 1fr;
  }

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

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

  .news-featured {
    grid-template-columns: 1fr;
  }

  .news-featured-img img {
    min-height: 220px;
  }

  .news-list-img img {
    min-height: 0;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-text strong {
    font-size: 13px;
  }

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

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

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

  .process-list,
  .craft-grid,
  .qc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .global-regions {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg {
    animation: none;
  }
}
