/**
 * 沁馥有限公司外贸官网 — 共用样式
 *
 * 设计体系（对标 Chanel / Givaudan 成熟站）：
 * - 底色：纯白 + 中性浅灰交替，避免泛黄奶油色叠暗纹
 * - 金色：仅作点缀（线、按钮、数字），不铺背景
 * - 区块：大留白 + 细灰分隔线，内容区纯白
 */

:root {
  --color-gold: #D4AF37;
  --color-gold-dark: #B8962E;
  --color-gold-light: #F5E6B8;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-bg: #ffffff;
  --page-surface: #f7f7f7;
  --page-cream: #ffffff;
  --page-cream-deep: #f5f5f5;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-light: rgba(0, 0, 0, 0.05);
  --color-border-gold: rgba(212, 175, 55, 0.32);
  /* 仅首屏可选的极淡纹理（全站底纹已移除） */
  --spice-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='0.5' opacity='0.18'%3E%3Cpath d='M60 120c20-35 55-35 75 0s-20 55-37.5 55S40 155 60 120z'/%3E%3Cpath d='M360 80c18-30 48-30 66 0s-18 48-33 48-33-18-33-48z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='0.6' opacity='0.12'%3E%3Cpath d='M0 240 Q120 180 240 240 T480 240'/%3E%3C/g%3E%3C/svg%3E");
  --font-display: 'Noto Serif SC', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Noto Sans SC', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-top-height: 3.65rem;
  --nav-menu-bar-height: 2.45rem;
  --nav-height: calc(var(--nav-top-height) + var(--nav-menu-bar-height) + 2px + 0.4rem);
  --transition: 0.25s ease;
  --shadow-soft: 0 8px 32px rgba(26, 26, 26, 0.06);
  --shadow-gold: 0 12px 36px rgba(212, 175, 55, 0.14);
  /* 内页统一内容宽度（品牌资质 / 产品展示 / 企业历程等 Tab 切换保持一致） */
  --content-max: 1200px;
  --content-pad-x: 1.25rem;
  /* 内页统一字号（各 Tab 页头、副标题一致，避免切换时「忽大忽小」） */
  --page-title-size: clamp(1.48rem, 2.2vw, 1.72rem);
  --page-subtitle-size: 0.92rem;
  --page-header-padding: 1.65rem var(--content-pad-x) 1.25rem;
  --brand-block-title-size: clamp(1.1rem, 1.75vw, 1.32rem);
  --brand-block-desc-size: 0.88rem;
  /* 奢华暗色面（全站 Tab 暗色带共用） */
  --surface-dark: #14110e;
  --surface-dark-mid: #1a1612;
  --luxury-gold-line: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.72), transparent);
}

/* === i18n：译文未就绪前隐藏正文/页脚（与 lang-prime.js 守卫一致，切换时先藏后显） === */
html:not(.i18n-ready) .page-main [data-i18n],
html:not(.i18n-ready) .page-main [data-i18n-html],
html:not(.i18n-ready) .site-footer [data-i18n],
html:not(.i18n-ready) .site-footer [data-i18n-html],
html:not(.i18n-ready) .site-footer [data-company-name],
html:not(.i18n-ready) .site-footer [data-contact-whatsapp] {
  visibility: hidden;
}

html.i18n-ready .page-main [data-i18n],
html.i18n-ready .page-main [data-i18n-html],
html.i18n-ready .site-footer [data-i18n],
html.i18n-ready .site-footer [data-i18n-html],
html.i18n-ready .site-footer [data-company-name],
html.i18n-ready .site-footer [data-contact-whatsapp] {
  visibility: visible;
}

/* 英文版优先西文衬线，避免 Noto 与 Cormorant 切换造成字重跳变 */
html[lang="en"] {
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .section-title,
html[lang="en"] .hero-title,
html[lang="en"] .raw-hero-title,
html[lang="en"] .product-name,
html[lang="en"] .stat-value,
html[lang="en"] .footer-tagline,
html[lang="en"] .nav-logo-name {
  font-synthesis: none;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color-scheme: light;
  font-size: 16px;
  overflow-x: hidden;
  /* 避免短页→长页切换时滚动条出现导致整页左右「跳动放大」 */
  scrollbar-gutter: stable;
}

/* 桌面端：独立页保留滚动条槽；壳层/嵌入页单独处理 */
@media (min-width: 769px) {
  html:not(.wyf-shell-doc):not(.wyf-embed) {
    overflow-y: scroll;
  }
}

#contact-section {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
.section-title,
.hero-title,
.raw-hero-title,
.product-name,
.stat-value,
.footer-tagline {
  font-family: var(--font-display);
}

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

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

/* ---------- 导航栏（居中品牌 · 水平菜单 · 轻奢编辑式排版） ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* 全站统一实心底：避免首页 page-main 暗纹透过透明导航，与子页视觉不一致 */
  background: var(--color-bg);
  transform: translateZ(0);
}

#site-header-root {
  background: var(--color-bg);
  /* 顶栏为 fixed，让位仅由 .page-main 的 padding-top 负责；此处勿再加 min-height，否则会与子页叠出一段白条 */
}

.nav-shell {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 顶栏：居中品牌 + 右侧工具区（对标高端官网 utility 区） */
.nav-top-bar {
  min-height: var(--nav-top-height);
  display: flex;
  align-items: center;
  padding: 0.4rem 0 0.2rem;
}

.nav-top-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 移动端：汉堡 + EN 贴右上；桌面端仅保留汉堡占位（默认隐藏） */
.nav-top-tools {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.nav-menu-row .btn-lang--desktop {
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 0.42rem;
}

.btn-lang--mobile {
  display: none;
}

/* 居中品牌标识 */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  text-decoration: none;
  padding: 0.1rem 0;
  transition: opacity var(--transition);
}

.nav-logo:hover {
  opacity: 0.88;
}

.nav-logo img,
.nav-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  /* 默认隐藏，加载成功加 .is-ready 后再显示，避免破损图标闪现 */
  opacity: 0;
  visibility: hidden;
}

.nav-logo img.is-ready,
.nav-logo-img.is-ready {
  opacity: 1;
  visibility: visible;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  font-synthesis: none;
  color: #1a1a1a;
  letter-spacing: 0.2em;
  line-height: 1.3;
  white-space: nowrap;
}

/* 英文商号纯拉丁字母，固定西文衬线避免 Noto 与 Cormorant 切换导致字重跳变 */
html[lang="en"] .nav-logo-name {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* Logo 副行：中文「商号 · 眉标」合并一行；英文仅眉标 */
.nav-logo-subline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.38rem 0.45rem;
  line-height: 1.35;
  max-width: min(100%, 28rem);
}

/* 默认显示英文眉标行；未设置 lang 时也不露出中文行的 CHINFLEUR LTD */
.nav-logo-subline--zh {
  display: none;
}

.nav-logo-subline--zh:not([hidden]) {
  display: inline-flex;
}

.nav-logo-subline--en[hidden] {
  display: none;
}

html[lang="zh-CN"] .nav-logo-subline--zh:not([hidden]) {
  display: inline-flex;
}

html[lang="zh-CN"] .nav-logo-subline--en {
  display: none;
}

html[lang="en"] .nav-logo-subline--zh {
  display: none !important;
}

.nav-logo-meta-sep {
  display: inline-block;
  margin: 0 0.35rem;
  width: 0.4rem;
  height: 1em;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  position: relative;
  user-select: none;
}

.nav-logo-meta-sep::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: rgba(168, 132, 40, 0.55);
}

.nav-logo-en {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(168, 132, 40, 0.78);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-logo-tagline {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(168, 132, 40, 0.58);
  white-space: nowrap;
}

html[lang="en"] .nav-logo-tagline {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(168, 132, 40, 0.62);
}

/* 菜单区：仅保留导航链接 */
.nav-menu-bar {
  min-height: var(--nav-menu-bar-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0 0.2rem;
}

.nav-menu-wrap {
  display: flex;
  justify-content: center;
  flex: 0 1 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: #3d3d3d;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.1rem 0.55rem;
  position: relative;
  display: inline-block;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--color-gold-dark);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.25s ease, transform 0.25s ease, height 0.25s ease;
  pointer-events: none;
}

.nav-link:hover {
  color: var(--color-gold-dark);
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(0.55);
}

.nav-link-active {
  color: #1a1a1a;
  font-weight: 500;
}

.nav-link-active::after {
  opacity: 1;
  transform: scaleX(1);
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
}

/* 底部分割金线 */
.nav-gold-rule {
  flex-shrink: 0;
  height: 2px;
  margin: 0.15rem -1.5rem 0;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0) 0%,
    rgba(212, 175, 55, 0.45) 15%,
    rgba(212, 175, 55, 0.9) 50%,
    rgba(212, 175, 55, 0.45) 85%,
    rgba(212, 175, 55, 0) 100%
  );
}

.site-nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.1);
}

.site-nav.nav-scrolled .nav-gold-rule {
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0) 0%,
    rgba(212, 175, 55, 0.55) 15%,
    var(--color-gold) 50%,
    rgba(212, 175, 55, 0.55) 85%,
    rgba(212, 175, 55, 0) 100%
  );
}

/* 语言切换：浅金胶囊，西非采购商一眼可辨 */
.btn-lang {
  min-width: 42px;
  min-height: 32px;
  padding: 0.32rem 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.62);
  background: linear-gradient(180deg, rgba(252, 246, 228, 0.95) 0%, rgba(245, 236, 212, 0.75) 100%);
  color: var(--color-gold-dark);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(212, 175, 55, 0.18);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-lang:hover {
  transform: translateY(-1px);
  color: #8f7320;
  border-color: var(--color-gold);
  background: linear-gradient(180deg, rgba(255, 250, 238, 1) 0%, rgba(232, 200, 74, 0.35) 100%);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.22);
}

.btn-lang.btn-lang--en-active {
  color: #fff;
  border-color: var(--color-gold-dark);
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  box-shadow: 0 2px 8px rgba(184, 150, 46, 0.35);
}

.btn-lang.btn-lang--en-active:hover {
  background: linear-gradient(180deg, #e0bc42 0%, #9a7b1e 100%);
  box-shadow: 0 3px 12px rgba(154, 123, 30, 0.32);
}

/* 汉堡按钮 — 默认隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #3d3d3d;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* 桌面端：菜单常显，汉堡隐藏 */
@media (min-width: 769px) {
  .nav-toggle {
    display: none !important;
  }

  .nav-menu-wrap {
    display: flex;
  }

  .nav-menu {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    flex-direction: row;
  }
}

/* ---------- 主内容区（避开固定导航，保证页脚不顶入首屏） ---------- */
.page-main {
  padding-top: var(--nav-height);
  min-height: 100vh;
  background-color: var(--color-bg);
}

/* 产品页 JS 渲染前：轻量占位（原 55vh 会造成明显白屏） */
#product-groups:empty {
  min-height: 3rem;
}

/* ---------- 首页 Hero Banner（轻奢产业出海氛围） ---------- */
.hero-banner {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* 首屏极淡中性渐变（无暖黄铺底） */
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 55%,
    rgba(247, 247, 247, 0.88) 100%
  );
  pointer-events: none;
}

/* 首屏可选底纹：极低透明度，有实拍图时几乎不可见 */
.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: var(--spice-pattern);
  background-size: 480px 480px;
  background-repeat: repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 2.5rem 1.5rem;
}

/* 全幅主视觉模式（上传 hero-banner.jpg 后自动启用） */
.hero-banner.hero-banner--cover {
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

.hero-banner.hero-banner--cover::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.32) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-banner.hero-banner--cover::after {
  display: none;
}

.hero-banner.hero-banner--cover .hero-title {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.38);
}

.hero-banner.hero-banner--cover .hero-subtitle {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.32);
}

.hero-banner.hero-banner--cover .cta-jump {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  color: #141414;
  margin: 0 0 1.25rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: clamp(0.875rem, 2vw, 1.05rem);
  color: var(--color-gold-dark);
  margin: 0 0 2.5rem;
  line-height: 1.9;
  letter-spacing: 0.14em;
  font-weight: 500;
}

/* ---------- 全站跳转按钮（克制金调，Hero 可加强） ---------- */
.cta-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.88rem 1.85rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.45;
  color: #fff;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(154, 125, 36, 0.5);
  border-radius: 999px;
  background: linear-gradient(155deg, #c4a032 0%, #b8962e 52%, #967820 100%);
  box-shadow: 0 4px 18px rgba(184, 150, 46, 0.22);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.cta-jump:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(184, 150, 46, 0.65);
  box-shadow: 0 10px 28px rgba(184, 150, 46, 0.32);
}

/* 行内金色分隔点（CSS 绘制，避免 HTML · 编码损坏） */
.wyf-dot-sep,
.home-brands-sep,
.bespoke-gallery-brands-sep {
  display: inline-block;
  margin: 0 0.65rem;
  width: 0.55rem;
  height: 1em;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  position: relative;
}

.wyf-dot-sep::before,
.home-brands-sep::before,
.bespoke-gallery-brands-sep::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.82;
}

.cta-jump-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1rem;
  flex-shrink: 0;
  margin-left: 0.12rem;
  font-size: 0;
  line-height: 0;
  color: rgba(255, 255, 255, 0.94);
  overflow: visible;
}

/* 双 chevron：前箭稳定、后箭流光，替代粗边框单箭头 */
.cta-jump-arrow::before,
.cta-jump-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center center;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.cta-jump-arrow::before {
  left: 0.14rem;
  opacity: 1;
}

.cta-jump-arrow::after {
  left: 0.5rem;
  opacity: 0.38;
  animation: cta-arrow-glide 2.1s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes cta-arrow-glide {
  0%,
  100% {
    opacity: 0.26;
    transform: translateY(-50%) translateX(-5px) rotate(-45deg);
  }

  50% {
    opacity: 0.92;
    transform: translateY(-50%) translateX(4px) rotate(-45deg);
  }
}

.cta-jump:hover .cta-jump-arrow::before {
  transform: translateY(-50%) translateX(6px) rotate(-45deg);
}

.cta-jump:hover .cta-jump-arrow::after {
  animation-play-state: paused;
  opacity: 0.78;
  transform: translateY(-50%) translateX(11px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .cta-jump-arrow::after {
    animation: none;
    opacity: 0.5;
  }
}

/* 产品展开 / 收起箭头 */
.product-expand-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  color: inherit;
  transition: transform 0.25s ease;
}

.product-expand-arrow::before {
  content: '';
  display: block;
  width: 0.38rem;
  height: 0.38rem;
  margin-top: -0.1rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.product-expand-btn.is-expanded .product-expand-arrow {
  transform: rotate(180deg);
}

/* 图片放大提示：圆圈内的 + 号 */
.ip-zoom-hint,
.story-img-zoom-hint {
  font-size: 0;
  line-height: 0;
}

.ip-zoom-hint::before,
.ip-zoom-hint::after,
.story-img-zoom-hint::before,
.story-img-zoom-hint::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ip-zoom-hint::before,
.story-img-zoom-hint::before {
  width: 0.55rem;
  height: 1.5px;
}

.ip-zoom-hint::after,
.story-img-zoom-hint::after {
  width: 1.5px;
  height: 0.55rem;
}

/* 长文案跳转（历程页资质引导等） */
.cta-jump--wide {
  max-width: 38rem;
  width: 100%;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.cta-jump--outline {
  background: transparent;
  color: var(--color-gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: none;
}

.cta-jump--outline:hover {
  color: var(--color-gold-dark);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.12);
}

.cta-jump--outline .cta-jump-arrow {
  color: var(--color-gold-dark);
}

/* 首页 Hero 主 CTA：略大一号 */
.hero-cta.cta-jump {
  min-height: 52px;
  padding: 1rem 2.35rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* ---------- 首页数据信任条 ---------- */
.stats-bar {
  background: var(--page-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 2.75rem 1.25rem;
}

.stats-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 0.5rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.35), transparent);
}

.stat-value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-gold-dark);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* ---------- 首页四大品牌标识条 ---------- */
.home-brands-strip {
  padding: 2.25rem 1.25rem;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.home-brands-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.home-brands-eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  opacity: 0.9;
}

.home-brands-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.home-brands-list li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #141414;
}

.home-brands-list li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 1.35rem;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.65;
  transform: rotate(45deg);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  width: 100%;
  max-width: min(var(--content-max), calc(100% - 2 * var(--content-pad-x)));
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0.85rem auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 1.15rem auto 2.5rem;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* 信任指标条（品牌资质页等复用） */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
}

.trust-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 5.5rem;
  text-align: center;
}

.trust-strip-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-gold-dark);
  line-height: 1.2;
}

.trust-strip-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.trust-strip-divider {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

html[lang="en"] .trust-strip-label {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  max-width: 7.5rem;
}

@media (max-width: 768px) {
  .trust-strip-divider {
    display: none;
  }
}

/* 内页标题区（品牌资质 / 产品展示 / 企业历程等 Tab 共用同一字号与留白） */
.page-header {
  padding: var(--page-header-padding);
  text-align: center;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
}

.page-header .section-title {
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  font-size: var(--page-title-size);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.page-header .section-title::after {
  margin-top: 0.65rem;
}

.page-header .section-subtitle {
  margin-bottom: 0;
  margin-top: 0.85rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  font-size: var(--page-subtitle-size);
  letter-spacing: 0.1em;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* 交替浅灰区块（Givaudan 式节奏） */
.section-alt {
  background: var(--page-surface);
}

/* ---------- 知识产权 / 品牌资质板块 ---------- */
.section-ip {
  position: relative;
  background-color: var(--color-bg);
  overflow: hidden;
}

.section-ip .section-inner {
  position: relative;
  z-index: 1;
}

.section-ip .section-subtitle {
  margin-bottom: 1.75rem;
}

/* 板块导语 */
.ip-intro {
  max-width: 880px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 2;
  color: var(--color-text);
  letter-spacing: 0.03em;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

/* PC 双列 / 移动单列，四枚商标同等规格 */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

/* 统一细金色边框卡片 */
.ip-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-soft);
}

.ip-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-gold);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
}

.ip-card-brand {
  margin: 0;
  padding: 1.1rem 1rem 0.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold-dark);
  background: var(--color-bg);
}

/* 完整展示原图，不裁剪 */
.ip-card-image-wrap {
  flex: 1;
  padding: 0.5rem 1.25rem 0.75rem;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ip-card-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.ip-card-caption {
  margin: 0;
  padding: 1.15rem 1.35rem 1.35rem;
  min-height: 4.5rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  text-align: center;
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg);
  letter-spacing: 0.02em;
}

/* ---------- 优势卡片 ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.advantage-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-top: 2px solid rgba(212, 175, 55, 0.55);
  border-radius: 0;
  padding: 2rem 1.35rem 2.15rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  box-shadow: 0 6px 24px rgba(26, 26, 26, 0.04);
}

.advantage-card:hover {
  box-shadow: 0 14px 36px rgba(26, 26, 26, 0.08);
  transform: translateY(-3px);
  border-top-color: var(--color-gold);
  border-color: rgba(212, 175, 55, 0.28);
}

.advantage-icon {
  width: auto;
  height: auto;
  margin: 0 auto 1rem;
  border: none;
  border-radius: 0;
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.28em;
  color: rgba(212, 175, 55, 0.85);
  background: transparent;
}

.advantage-card h3 {
  font-size: 1.08rem;
  margin: 0 0 0.85rem;
  color: var(--color-text);
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ---------- 联系区 ---------- */
.contact-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2.75rem 2.25rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
  box-shadow: 0 10px 36px rgba(26, 26, 26, 0.06);
  position: relative;
}

.contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.contact-item {
  margin: 1.25rem 0;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}

.contact-value a:hover {
  text-decoration: underline;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
  color: #b8b8b8;
  padding: 3.25rem 1.25rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
  pointer-events: none;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--color-gold);
  letter-spacing: 0.22em;
  margin: 0 0 1.75rem;
  font-weight: 500;
  font-family: var(--font-display);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.footer-nav a {
  color: #ccc;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-gold);
}

.footer-company {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: #888;
}

/* ---------- 首页企业简介 ---------- */
.section-about {
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.section-about-inner {
  position: relative;
  z-index: 1;
}

.about-copy {
  max-width: 46rem;
  margin: 2.5rem auto 0;
}

.about-headline {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--color-gold-dark);
  text-align: center;
  letter-spacing: 0.15em;
  line-height: 2;
  margin: 0 0 3rem;
}

/* 英文版无标题句时隐藏 */
html[lang="en"] .about-headline:empty {
  display: none;
  margin: 0;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-para {
  color: #454545;
  font-size: 1.05rem;
  line-height: 2.05;
  margin: 0 0 1.65rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.about-para:last-child {
  margin-bottom: 0;
}

/* 核心数据金色高亮 */
.about-highlight {
  color: var(--color-gold-dark);
  font-weight: 700;
}

/* ---------- 历程页 · 时间轴 + 图文交替 ---------- */
.section-story-body {
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}

.section-story-inner {
  max-width: 1080px;
}

.story-timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 2px solid rgba(212, 175, 55, 0.28);
}

/* 每个历程板块统一上下间距 */
.story-block {
  margin-bottom: 4rem;
}

.story-block:last-of-type {
  margin-bottom: 3rem;
}

/* 时间轴节点：圆点与标题框垂直居中对齐 */
.story-milestone {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  margin: 0 0 1.75rem;
}

.story-milestone::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 6px);
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
  z-index: 1;
}

.story-milestone span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.08);
}

/* 图文分栏主体 */
.story-block-body {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.story-block--text-only {
  grid-template-columns: 1fr;
}

.story-block--img-right {
  grid-template-columns: 1fr 1fr;
}

.story-block--img-left {
  grid-template-columns: 1fr 1fr;
}

.story-text {
  min-width: 0;
}

.story-para {
  font-size: 1.02rem;
  line-height: 2.15;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  text-align: justify;
  letter-spacing: 0.02em;
}

.story-para:last-child {
  margin-bottom: 0;
}

.story-img-placeholder {
  visibility: hidden;
}

/* 配图统一规格：等高、圆角、细金边 */
.story-figure {
  margin: 0;
  min-width: 0;
}

.story-figure-media {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: var(--page-surface);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.story-figure:hover .story-figure-media {
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.14);
  transform: translateY(-3px);
}

.story-figure-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.story-figure figcaption {
  text-align: center;
  font-size: 0.86rem;
  color: var(--color-gold-dark);
  margin-top: 0.9rem;
  padding: 0 0.5rem;
  letter-spacing: 0.06em;
  line-height: 1.65;
  font-family: var(--font-display);
}

/* 文末引导至首页知识产权板块 */
.story-cta-module {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.story-cta-module .cta-jump--wide {
  margin: 0 auto;
}

/* ---------- 核心原料页 · 顶部横幅 ---------- */
.raw-hero-banner {
  width: 100%;
  min-height: 280px;
  height: clamp(280px, 42vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f8f6f0;
  /* 静态写入路径，避免 JS 注入后图片迟载闪黑 */
  background-image: url('../images/raw-material/linalool.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* 文字居中区域：浅米色柔光遮罩，左右虚化融入背景，无实体方框 */
.raw-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.raw-hero-content::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 40rem);
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  /* 径向 + 横向双层渐变：中心略提亮，四向自然消散 */
  background:
    radial-gradient(
      ellipse 72% 88% at 50% 50%,
      rgba(252, 248, 240, 0.78) 0%,
      rgba(255, 251, 245, 0.42) 48%,
      rgba(255, 253, 248, 0.12) 68%,
      transparent 82%
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(252, 248, 240, 0.22) 14%,
      rgba(255, 253, 248, 0.5) 50%,
      rgba(252, 248, 240, 0.22) 86%,
      transparent 100%
    );
}

.raw-hero-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #111111;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 0 1px rgba(255, 255, 255, 0.6);
}

.raw-hero-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.75rem auto 0;
}

.raw-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: #1c1c1c;
  margin: 1.25rem 0 0;
  line-height: 1.75;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85), 0 0 1px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .raw-hero-content::before {
    width: min(100%, 26rem);
    background:
      radial-gradient(
        ellipse 78% 85% at 50% 50%,
        rgba(252, 248, 240, 0.82) 0%,
        rgba(255, 251, 245, 0.45) 50%,
        transparent 78%
      ),
      linear-gradient(
        90deg,
        transparent 0%,
        rgba(252, 248, 240, 0.18) 12%,
        rgba(255, 253, 248, 0.48) 50%,
        rgba(252, 248, 240, 0.18) 88%,
        transparent 100%
      );
  }
}

/* ---------- 核心原料页 · 正文板块 ---------- */
.raw-content {
  max-width: 800px;
  margin: 0 auto;
  min-height: 45vh;
}

.raw-figure {
  margin: 0 0 3rem;
}

.raw-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #f0ebe0;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.raw-figure figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

.raw-section {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.raw-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.raw-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin: 0 0 1.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.raw-item {
  margin-bottom: 1.5rem;
}

.raw-item:last-child {
  margin-bottom: 0;
}

.raw-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.raw-item-desc,
.raw-section-desc {
  font-size: 1.02rem;
  line-height: 2.1;
  color: #4a4a4a;
  margin: 0;
  text-align: justify;
  letter-spacing: 0.02em;
}

/* ---------- 产品网格 ---------- */
.product-brand-group {
  margin-bottom: 3.5rem;
}

.product-brand-group:last-child {
  margin-bottom: 0;
}

.product-brand-heading {
  text-align: center;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.product-brand-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.12em;
  margin: 0 0 0.35rem;
}

.product-brand-heading p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  letter-spacing: 0.1em;
}

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

.product-card {
  text-align: center;
}

.product-img-wrap {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: #f8f6f0;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-soft);
}

.product-card:hover .product-img-wrap {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.15);
}

.product-img-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  /* 图片缺失时显示占位底色 */
  background: var(--page-surface);
}

.product-info {
  margin-top: 0.875rem;
  padding: 0 0.25rem;
  text-align: center;
}

/* 第一层：产品名称 — 加粗深黑 */
.product-name {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.45;
}

/* 第二层：品牌名 — 金色品牌色 */
.product-brand {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  letter-spacing: 0.04em;
}

/* 第三层：系列归属 — 小号浅棕 */
.product-series {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 400;
  color: #8b7355;
  line-height: 1.4;
}

/* ---------- 滚动淡入（仅首页可选使用，默认始终可见） ---------- */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

html.js-reveal-ready .reveal-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

html.js-reveal-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1024px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ---------- 响应式：手机（水平 Tab，与桌面一致） ---------- */
@media (max-width: 768px) {
  :root {
    --nav-menu-bar-height: 2.4rem;
    --nav-height: calc(var(--nav-top-height) + var(--nav-menu-bar-height) + 2px + 0.35rem);
  }

  .nav-shell {
    padding: 0 1rem;
  }

  .nav-top-inner {
    justify-content: center;
    padding-left: 2.75rem;
    padding-right: 2.75rem;
  }

  .btn-lang--desktop {
    display: none;
  }

  .btn-lang--mobile {
    display: inline-flex;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-logo img {
    width: 26px;
    height: 26px;
  }

  .nav-logo-name {
    font-size: 0.88rem;
    letter-spacing: 0.18em;
  }

  html[lang="en"] .nav-logo-name {
    letter-spacing: 0.14em;
  }

  .nav-logo-en,
  .nav-logo-tagline {
    font-size: 0.54rem;
    letter-spacing: 0.1em;
  }

  .nav-logo-subline {
    gap: 0.28rem 0.35rem;
    max-width: 100%;
  }

  /* 菜单栏常显：水平 Tab，可横向滑动 */
  .nav-menu-bar {
    min-height: var(--nav-menu-bar-height);
    height: auto;
    overflow: visible;
    padding: 0.2rem 0 0.12rem;
    width: 100%;
  }

  .nav-menu-row {
    width: 100%;
    justify-content: center;
  }

  .nav-menu-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-inline: 0.5rem;
  }

  .nav-menu-wrap::-webkit-scrollbar {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0 0.85rem;
    max-height: none;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    padding: 0 0.25rem;
    width: 100%;
    min-width: min-content;
    box-sizing: border-box;
  }

  .nav-menu::after {
    display: none;
  }

  .nav-menu li {
    width: auto;
    flex-shrink: 0;
    border-bottom: none;
  }

  .nav-link {
    display: inline-block;
    padding: 0.3rem 0.08rem 0.48rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  /* 英文手机 Tab：更紧凑，一屏排满 */
  html[lang="en"] .nav-menu {
    gap: 0 0.55rem;
    padding: 0;
  }

  html[lang="en"] .nav-link {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
    padding: 0.28rem 0.04rem 0.45rem;
  }

  html[lang="zh-CN"] .nav-link {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .nav-link:hover {
    background: transparent;
    color: var(--color-gold-dark);
  }

  .nav-link:hover::after {
    left: 0;
    right: 0;
    width: auto;
    opacity: 1;
    transform: scaleX(0.55);
  }

  .nav-link-active {
    background: transparent;
    color: #1a1a1a;
    font-weight: 500;
  }

  .nav-link-active::after {
    left: 0;
    right: 0;
    width: auto;
    transform: scaleX(1);
    opacity: 1;
    height: 2px;
  }

  .nav-gold-rule {
    margin: 0.1rem -1rem 0;
  }

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

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

  .section {
    padding: 3rem 1rem;
  }

  /* 移动端隐藏关于我们左右暗纹，保持版面简洁 */
  .section-about::before,
  .section-about::after {
    display: none;
  }

  .about-para {
    font-size: 1rem;
    line-height: 1.95;
    margin-bottom: 1.35rem;
  }

  .story-timeline {
    padding-left: 1.25rem;
  }

  .story-milestone::before {
    left: calc(-1.25rem - 5px);
    width: 8px;
    height: 8px;
  }

  .story-milestone span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
  }

  .story-block {
    margin-bottom: 3rem;
  }

  .story-block-body,
  .story-block--img-right,
  .story-block--img-left {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  /* 移动端统一：文字在上、配图在下 */
  .story-block--img-left .story-figure {
    order: 2;
  }

  .story-block--img-left .story-text {
    order: 1;
  }

  .story-figure-media {
    height: 240px;
    padding: 0.75rem;
  }

  .story-para {
    font-size: 0.98rem;
    line-height: 2;
    margin-bottom: 1.25rem;
  }

  .cta-jump--wide {
    font-size: 0.92rem;
    padding: 0.95rem 1.35rem;
    width: calc(100% - 0.5rem);
  }

  .hero-title {
    letter-spacing: 0.06em;
  }

  .hero-subtitle {
    letter-spacing: 0.08em;
  }

  .ip-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ip-intro {
    padding: 1.25rem 1rem;
    font-size: 0.92rem;
    margin-bottom: 2.25rem;
  }

  .ip-card-image-wrap {
    padding: 0.75rem 0.85rem 0.5rem;
  }

  .home-brands-list {
    gap: 0.85rem 0;
  }

  .home-brands-list li {
    width: 46%;
    justify-content: center;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
  }

  .home-brands-list li:not(:last-child)::after {
    display: none;
  }
}

/* ---------- 全站图片预览弹窗（产品 / 历程 / 资质共用） ---------- */
body.product-preview-open {
  overflow: hidden;
}

.product-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-preview-modal[hidden] {
  display: none !important;
}

.product-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 12, 0.74);
  cursor: pointer;
}

.product-preview-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 92vw);
  max-height: 92vh;
  overflow-y: auto;
  background: #fffefb;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 22px 56px rgba(26, 26, 26, 0.22);
}

.product-preview-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: rgba(255, 254, 251, 0.95);
  color: var(--color-gold-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.product-preview-zoom-viewport {
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
  max-height: min(58vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-preview-image-wrap img {
  display: block;
  width: 100%;
  max-height: min(58vh, 520px);
  object-fit: contain;
  background: #f8f6f0;
  transform-origin: center center;
}

.product-preview-meta {
  padding: 1.35rem 1.75rem 1.6rem;
  text-align: center;
}

.product-preview-name {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.product-preview-brand {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}

.product-preview-series {
  margin: 0;
  font-size: 0.82rem;
  color: #8b7355;
}

.product-preview-rule {
  width: 48px;
  height: 2px;
  margin: 1rem auto;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.product-preview-intro {
  margin: 0;
  font-size: 0.9rem;
  color: #6b6b6b;
  line-height: 1.9;
}
