/* ============================================================
   LongDe Yizhi 官网 - 样式（V3）
   定位：Clean & Professional B2B Manufacturer Website
   配色：Warm White + Deep Navy 为主，Soft Blue / Sage Green 少量点缀
   ============================================================ */

:root {
  --navy: #16324F;
  --navy-deep: #0F2438;
  --navy-tint: #E9EEF4;
  --softblue: #5B9BD5;
  --softblue-tint: #E8F1FA;
  --cream: #F7F6EF;
  --surface: #FFFFFF;
  --mist: #F0EFE6;
  --sage: #8BAF9B;
  --sage-deep: #6E947F;
  --sage-tint: #EDF2EC;
  --ink: #1F2A36;
  --ink-soft: #6B7684;
  --line: #E3E5E0;
  --shadow-sm: 0 2px 8px rgba(22, 50, 79, 0.05);
  --shadow-md: 0 14px 34px rgba(22, 50, 79, 0.09);
  --shadow-lg: 0 28px 60px rgba(22, 50, 79, 0.13);
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Hiragino Maru Gothic ProN", "Noto Sans SC",
    "Noto Sans JP", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(91, 155, 213, 0.3); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--softblue);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(22, 50, 79, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo { width: 44px; height: 44px; border-radius: 10px; }
.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
/* 拉丁字母品牌名：更宽字距 */
.brand-name-latin {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: var(--navy-tint); color: var(--navy); }

/* ---------- 右上角：Request a Quote ---------- */
.header-quote {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 14px;
}

/* ---------- 语言切换：圆形图标 ---------- */
.lang-switch { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.lang-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.lang-icon-btn:hover { border-color: var(--softblue); color: var(--navy); }
.lang-icon-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 50, 79, 0.3);
}

/* ---------- 汉堡菜单 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.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); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 50, 79, 0.18);
}
.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 8px 22px rgba(22, 50, 79, 0.28); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(22, 50, 79, 0.35);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy-tint); }
.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--navy-tint); }
.btn-block { width: 100%; }

/* ---------- 首页主视觉 ---------- */
.hero {
  position: relative;
  padding: 96px 0 110px;
  background: var(--cream);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; }
.blob-1 { width: 520px; height: 520px; background: var(--navy-tint); top: -180px; right: -120px; opacity: 0.9; }
.blob-2 { width: 400px; height: 400px; background: var(--sage-tint); bottom: -220px; left: -140px; opacity: 0.9; }
.blob-3 { width: 240px; height: 240px; background: var(--softblue-tint); top: 30%; left: 55%; opacity: 0.8; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 440px; }
.hero-card {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--surface);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.card-a { width: 64%; height: 62%; top: 0; right: 0; z-index: 2; }
.card-b { width: 46%; height: 46%; bottom: 6%; left: 0; z-index: 1; }
.card-c { width: 40%; height: 40%; bottom: 0; right: 8%; z-index: 3; box-shadow: var(--shadow-lg); }

/* ---------- 通用区块 ---------- */
.section { padding: 104px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.section-sub { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- 产品分类卡片 ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.category-card:hover { box-shadow: var(--shadow-md); border-color: var(--softblue); transform: translateY(-4px); }
.category-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover .category-media img { transform: scale(1.04); }
.category-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.category-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--softblue);
  margin-bottom: 8px;
}
.category-name { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.category-intro { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.7; flex: 1; }
.category-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy-tint);
  width: fit-content;
  transition: gap 0.2s, background 0.2s;
}
.category-cta:hover { gap: 10px; background: var(--softblue-tint); }

/* ---------- 具体产品展示 ---------- */
.category-products { margin-top: 88px; display: grid; gap: 64px; }
.cat-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cat-block-title { font-size: 21px; font-weight: 700; color: var(--navy); }
.cat-block-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--softblue);
  white-space: nowrap;
}
.cat-block-link:hover { color: var(--navy); }
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.p-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.p-card:hover { box-shadow: var(--shadow-sm); border-color: var(--sage); }
.p-media { aspect-ratio: 4 / 3; background: var(--mist); }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-body { padding: 18px 20px 20px; }
.p-name { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.p-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

.products-more { text-align: center; margin-top: 56px; }
.products-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 12px 26px;
  border-radius: 999px;
  transition: gap 0.2s, background 0.2s;
}
.products-more a:hover { gap: 13px; background: var(--softblue-tint); }

/* ---------- OEM / ODM ---------- */
.oem { background: var(--surface); }
.oem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.oem-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.oem-card:hover { border-color: var(--softblue); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.oem-card::after {
  content: "→";
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--line);
  font-size: 22px;
  z-index: 2;
  pointer-events: none;
}
.oem-card:last-child::after { display: none; }
.oem-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  background: var(--navy);
  color: #fff;
}
.oem-card:nth-child(2) .oem-num { background: var(--softblue); }
.oem-card:nth-child(3) .oem-num { background: var(--sage-deep); }
.oem-card:nth-child(4) .oem-num { background: var(--navy-deep); }
.oem-title { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.oem-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
.oem-cta-wrap { text-align: center; margin-top: 46px; }

/* ---------- 工厂 ---------- */
.factory { background: var(--mist); }
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.factory-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.factory-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.factory-tile:hover img { transform: scale(1.04); }
.factory-tile figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- 关于我们 ---------- */
.about-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.9; }
.about-values { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.value-chip {
  padding: 9px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.value-chip:nth-child(1) { background: var(--sage-tint); border-color: transparent; color: var(--sage-deep); }
.value-chip:nth-child(2) { background: var(--navy-tint); border-color: transparent; }
.value-chip:nth-child(3) { background: var(--softblue-tint); border-color: transparent; color: var(--navy); }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: grid;
  gap: 22px;
}
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 3px; }
.info-value { font-size: 15px; color: var(--ink); line-height: 1.7; }
.info-value-link { color: var(--navy); font-weight: 600; }
.info-value-link:hover { color: var(--softblue); }
.info-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--softblue);
  font-weight: 600;
  border-bottom: 1px solid rgba(91, 155, 213, 0.4);
  padding-bottom: 1px;
}
.info-link:hover { color: var(--navy); border-color: var(--navy); }
/* 客服二维码：微信 + LINE 同一行，不同方框 */
.qr-row {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  /* 微信框占 2 份（含两张二维码）、LINE 框占 1 份（一张），三个二维码横向三等分对齐 */
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}
.qr-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 14px 14px;
  background: var(--surface);
}
.qr-block-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  text-align: center;
}
.qr-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.qr-card { margin: 0; text-align: center; }
.qr-img {
  width: 92px;
  height: 92px;
  margin: 0 auto 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px;
  display: block;
}
.qr-caption { font-size: 12px; color: var(--ink-soft); }
/* 微信方框：浅蓝底 + 蓝描边 */
.qr-box-wechat {
  border-color: rgba(91, 155, 213, 0.45);
  background: var(--softblue-tint);
}
.qr-box-wechat .qr-block-title { color: var(--navy); }
/* LINE 方框：浅绿底 + 绿描边，与微信区分开 */
.qr-box-line {
  border-color: rgba(6, 199, 85, 0.35);
  background: rgba(6, 199, 85, 0.06);
}
.qr-box-line .qr-block-title { color: #0b8f4a; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 8px;
}
/* 必填项星号 */
.form-group label.req::after {
  content: " *";
  color: #c0392b;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316324F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #98A2AD; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--softblue);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(91, 155, 213, 0.18);
}
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c0392b;
  background: #FBF0EE;
}
.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
}
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* 蜜罐反垃圾字段：对真人不可见，机器人填了会被丢弃 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 提交结果弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 56, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--surface);
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  padding: 34px 30px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 36, 56, 0.25);
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}
.modal-icon.ok { background: #e8f3ec; color: #2f6b4f; }
.modal-icon.err { background: #fbeae8; color: #b03a2e; }
.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}
.modal-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 22px;
}
.modal-ok { min-width: 140px; }


/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #C7D2DE;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding: 64px 0 48px;
}
.brand-footer .brand-name { color: #fff; }
.footer-blurb { font-size: 14px; margin: 18px 0 14px; max-width: 340px; line-height: 1.8; color: #AAB8C6; }
.footer-oem {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  background: rgba(91, 155, 213, 0.16);
  color: #9FC3E4;
  padding: 6px 14px;
  border-radius: 999px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: #AAB8C6; transition: color 0.2s; font-size: 14px; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { font-size: 14px; }
.footer-link { color: #AAB8C6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 78px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: #8FA2B4;
}

/* ---------- 底部常驻联系条 ---------- */
.contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(247, 246, 239, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(22, 50, 79, 0.08);
}
.contact-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
  flex-wrap: wrap;
}
.contact-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.contact-bar-item svg { width: 18px; height: 18px; color: var(--softblue); flex-shrink: 0; }
.contact-bar-item:hover { color: var(--softblue); }
.contact-bar-divider { width: 1px; height: 20px; background: var(--line); }
.contact-bar-quote {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.2s;
}
.contact-bar-quote:hover { background: var(--softblue); }
.contact-bar-tag {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 94px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--softblue); }

/* ---------- 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  /* 导航在 1280px 以下切换为抽屉（页头含 Request a Quote 与语言图标，占宽较大） */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 78vw);
    background: var(--surface);
    flex-direction: column;
    padding: 96px 28px 30px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 90;
    border-left: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 16px; padding: 12px 16px; }
  .header-inner { min-height: 64px; gap: 16px; }
  .lang-icon-btn { width: 30px; height: 30px; font-size: 11.5px; }
  .lang-switch { gap: 4px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 15px; }
}

@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { height: 380px; max-width: 560px; margin: 0 auto; width: 100%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-card::after { display: none; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 联系区变单列后，两个二维码方框更宽，二维码恢复大尺寸 */
  .qr-img { width: 120px; height: 120px; }
  .qr-cards { gap: 16px; }
}

@media (max-width: 768px) {
  .header-quote { display: none; }
  .contact-bar-quote { display: inline-flex; }
  .contact-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 11px 0;
  }
  .contact-bar-item { font-size: 14px; }
  .contact-bar-divider,
  .contact-bar-tag { display: none; }
  .footer-bottom { padding-bottom: 104px; }
  .back-top { bottom: 106px; }
  .section { padding: 72px 0; }
  .category-grid { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr; }
  .oem-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  /* 手机端两个方框上下堆叠，避免窄屏挤压 */
  .qr-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 64px 0 84px; }
  .hero-visual { height: 320px; }
  .card-a { width: 62%; height: 60%; }
  .card-b { width: 46%; height: 44%; }
  .card-c { width: 40%; height: 38%; }
}

@media (max-width: 480px) {
  .lang-icon-btn { width: 27px; height: 27px; font-size: 10.5px; }
  .lang-switch { gap: 3px; }
}

@media (max-width: 420px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
