/* ==========================================================
   创佳全品类服饰 - 官网样式
   ========================================================== */

:root {
  --ink: #1c1915;
  --ink-soft: #4a443c;
  --muted: #7d766b;
  --bg: #faf8f4;
  --bg-soft: #f3efe7;
  --card: #ffffff;
  --gold: #c9a45c;
  --gold-deep: #a9833e;
  --line: #e8e2d7;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(28, 25, 21, 0.08);
  --shadow-lg: 0 26px 60px rgba(28, 25, 21, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section { padding: 96px 0; }

/* ---------- 通用标题 ---------- */
.section-head { margin-bottom: 52px; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.section-head h2 em {
  font-style: normal;
  color: var(--gold-deep);
  font-family: var(--font-serif);
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.section-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.section-lead { color: var(--muted); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, #d8b46e, var(--gold) 45%, var(--gold-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(169, 131, 62, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(169, 131, 62, 0.42); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.32; }
.brand-text strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}
.brand-text small {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.55); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 14px; }

/* 滚动后的导航 */
.site-header.scrolled {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(28, 25, 21, 0.08);
  height: 68px;
}
.site-header.scrolled .brand-text strong { color: var(--ink); }
.site-header.scrolled .brand-text small { color: var(--muted); }
.site-header.scrolled .brand-mark { background: var(--ink); color: var(--gold); }
.site-header.scrolled .nav-link { color: var(--ink-soft); }
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active { color: var(--ink); }

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  border-radius: 8px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.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 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 12% 8%, rgba(201, 164, 92, 0.15) 0%, rgba(201, 164, 92, 0) 42%),
    linear-gradient(140deg, #1e2d44 0%, #172435 48%, #101720 100%);
}
/* 牛仔斜纹质感（纯 CSS，无需图片） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(22deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
}
/* 主图照片（替换 images/hero.jpg 即可换图；加载失败时显示上面的渐变兜底） */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(18, 15, 12, 0.68) 0%,
    rgba(18, 15, 12, 0.44) 46%,
    rgba(18, 15, 12, 0.78) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-content {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 90px;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
  max-width: 680px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}
.hero-scroll span {
  width: 4px; height: 9px;
  margin-top: 7px;
  border-radius: 4px;
  background: #fff;
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 数据条 ---------- */
.stats {
  background: #101720;
  color: #fff;
  padding: 54px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-text {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.stat-label { font-size: 14px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.72); }

/* ---------- 关于我们 ---------- */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  right: -22px;
  bottom: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 128px;
}
.about-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--gold);
  line-height: 1.1;
}
.about-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.08em; }
.about-body p { color: var(--ink-soft); margin-bottom: 18px; }
.about-list { margin: 24px 0 34px; display: grid; gap: 12px; }
.about-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 15px;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.16);
  border: 1.5px solid var(--gold);
}
.about-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 10px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg);
}

/* ---------- 产品中心 ---------- */
.products { background: var(--bg-soft); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img { overflow: hidden; aspect-ratio: 4 / 3.2; }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.07); }
.product-info { padding: 24px 26px 26px; }
.product-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.product-info p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.product-card:hover .product-link { color: var(--gold-deep); }
.product-link { transition: padding-left 0.3s var(--ease); }
.product-card:hover .product-link { padding-left: 6px; }

/* ---------- 品牌优势 ---------- */
.advantages { background: var(--bg); }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.advantage-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.advantage-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.adv-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(201, 164, 92, 0.14);
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.adv-icon svg { width: 26px; height: 26px; }
.advantage-card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: 0.04em; }
.advantage-card p { font-size: 14px; color: var(--muted); }

/* ---------- 新闻资讯 ---------- */
.news { background: var(--bg-soft); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 24px 26px 28px; }
.news-body time {
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.news-body h3 { font-size: 17px; line-height: 1.5; margin: 8px 0 10px; }
.news-body h3 a { transition: color 0.3s var(--ease); }
.news-body h3 a:hover { color: var(--gold-deep); }
.news-body p { font-size: 14px; color: var(--muted); }

/* ---------- 联系我们 ---------- */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact-lead { color: var(--muted); margin-bottom: 34px; }
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(201, 164, 92, 0.14);
  color: var(--gold-deep);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-list span { font-size: 14px; color: var(--muted); }

.contact-form-wrap {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form > p { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.16);
}
.form-row input.invalid,
.form-row textarea.invalid { border-color: #c9503c; }
.form-tip { margin-top: 14px; font-size: 14px; min-height: 22px; }
.form-tip.ok { color: #2e7d4f; }
.form-tip.err { color: #c9503c; }

/* ---------- 页脚 ---------- */
.site-footer { background: #16130f; color: rgba(255, 255, 255, 0.72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand p { font-size: 14px; margin-top: 20px; max-width: 340px; }
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--gold);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); font-size: 14px; }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
}

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

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media img { height: 440px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(23, 20, 16, 0.98);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 20px; color: #fff; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 8px; }
  .hero-title { letter-spacing: 0.04em; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .section { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .product-grid, .news-grid, .advantage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 36px; }
  .about-media img { height: 360px; }
  .about-badge { right: 8px; bottom: 18px; }
  .contact-form-wrap { padding: 28px 22px; }
  .br-desktop { display: none; }
  .brand-text strong { font-size: 15px; letter-spacing: 0.06em; white-space: nowrap; }
  .brand-text small { font-size: 8px; letter-spacing: 0.18em; }
  .lang-btn { padding: 6px 7px; font-size: 11.5px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.22em; line-height: 1.9; }
  .hero-title { font-size: clamp(34px, 12vw, 48px); }
  .hero-sub { font-size: 14px; line-height: 1.85; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(16, 14, 11, 0.72) 0%,
      rgba(16, 14, 11, 0.62) 40%,
      rgba(16, 14, 11, 0.86) 100%);
  }
}

/* ---------- 泰文排版适配 ---------- */
html[lang="th"] {
  --font: "Noto Sans Thai", "Sukhumvit Set", "Thonburi", "Leelawadee UI", "Tahoma", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Sans Thai", "Sukhumvit Set", "Thonburi", "Leelawadee UI", "Tahoma", sans-serif;
}
/* 泰文连写字不可加字距，且上下伸展更高需留行高 */
html[lang="th"] body * { letter-spacing: normal; }
html[lang="th"] body { line-height: 1.9; }
html[lang="th"] .hero-title { line-height: 1.45; }
html[lang="th"] .section-head h2 { line-height: 1.55; }
html[lang="th"] .stat-text { line-height: 1.45; }
html[lang="th"] .about-badge strong { line-height: 1.5; }
html[lang="th"] .hero-sub { line-height: 1.9; }
html[lang="th"] .hero-eyebrow { font-size: 13px; }

/* ---------- 语言切换（中 / EN / ไทย） ---------- */
.lang-switch {
  position: relative;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-btn.active {
  background: var(--gold);
  color: #1c1915;
}
.site-header.scrolled .lang-switch {
  border-color: var(--line);
  background: #fff;
}
.site-header.scrolled .lang-btn { color: var(--ink-soft); }
.site-header.scrolled .lang-btn.active { background: var(--gold); color: #1c1915; }

@media (max-width: 860px) {
  .lang-switch { margin-right: 2px; }
  .lang-btn { padding: 7px 8px; font-size: 12px; }
  .lang-btn { padding: 8px 12px; font-size: 14px; }
}

/* ---------- 联系区可点击信息 ---------- */
.contact-list a {
  color: inherit;
  transition: color 0.3s var(--ease);
}
.contact-list a:hover { color: var(--gold-deep); }
.footer-contact a { transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }

/* ==========================================================
   产品系列详情弹层
   ========================================================== */
.pd-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.pd-modal[hidden] { display: none; }

.pd-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 21, 0.56);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.pd-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 372px) minmax(0, 1fr);
  width: min(1020px, 100%);
  max-height: min(90vh, 880px);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  overscroll-behavior: contain;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease);
}
.pd-modal.open .pd-backdrop { opacity: 1; }
.pd-modal.open .pd-dialog { opacity: 1; transform: none; }

.pd-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(28, 25, 21, 0.18);
  transition: transform 0.32s var(--ease), background 0.32s var(--ease);
}
.pd-close:hover { background: #fff; transform: rotate(90deg); }
.pd-close svg { width: 18px; height: 18px; }

.pd-aside {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
}
.pd-side-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 28px 32px;
}
.pd-media {
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: var(--bg-soft);
}
.pd-media img { width: 100%; height: 100%; object-fit: cover; }

.pd-perks {
  display: grid;
  gap: 13px;
}
.pd-perks li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.pd-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.pd-body {
  min-width: 0;
  min-height: 0;
  padding: 34px 42px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 25, 21, 0.22) transparent;
}
.pd-body::-webkit-scrollbar { width: 8px; }
.pd-body::-webkit-scrollbar-thumb {
  background: rgba(28, 25, 21, 0.2);
  border-radius: 999px;
}
.pd-body::-webkit-scrollbar-track { background: transparent; }
.pd-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.pd-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
}
.pd-tag {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
}
.pd-overview {
  margin-top: 15px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.pd-groups { display: grid; gap: 17px; margin-top: 22px; }
.pd-group h4 {
  position: relative;
  padding-left: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.pd-group h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--gold);
}
.pd-group ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-group li {
  padding: 5px 13px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.pd-channel {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(201, 164, 92, 0.13);
  border: 1px solid rgba(201, 164, 92, 0.32);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.pd-channel strong {
  margin-right: 10px;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.pd-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.pd-actions { margin-top: 0; }

.pd-modal :focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.pd-dialog:focus { outline: none; }

@media (max-width: 860px) {
  .pd-modal { padding: 0; align-items: flex-end; }
  .pd-dialog {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 92vh;
    grid-template-rows: none;
    overflow: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(48px);
  }
  .pd-body { overflow: visible; }
  .pd-aside { border-right: none; border-bottom: 1px solid var(--line); }
  .pd-side-body { justify-content: flex-start; gap: 18px; padding: 20px 24px 24px; }
  .pd-perks { gap: 11px; }
  .pd-body { padding: 28px 24px 36px; }
  .pd-groups { gap: 18px; margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-backdrop, .pd-dialog, .pd-close { transition: none; }
}

/* ---------- 微信二维码 ---------- */
.wx-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.wx-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--gold-deep);
  font-size: 12.5px;
  line-height: 1.45;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.wx-copy svg { width: 13px; height: 13px; }
.wx-copy em { font-style: normal; }
.wx-copy:hover { border-color: var(--gold); background: rgba(201, 164, 92, 0.12); }
.wx-copy.done { border-color: var(--gold); background: rgba(201, 164, 92, 0.2); }

.wx-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-top: 30px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wx-card:hover,
.wx-card:focus-visible { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.wx-card-qr {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.wx-card-txt { display: grid; gap: 7px; }
.wx-card-txt strong { font-size: 15.5px; }
.wx-card-txt > span { font-size: 13px; color: var(--muted); line-height: 1.65; }
.wx-card-hint { font-size: 12px; font-style: normal; color: var(--gold-deep); }

.footer-qr {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.footer-qr:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.09); }
.footer-qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
}
.footer-qr span { font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }

/* ---------- 微信二维码弹层 ---------- */
.qr-modal { z-index: 210; }
.qr-dialog {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(420px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 40px 34px 34px;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease);
}
.qr-modal.open .qr-dialog { opacity: 1; transform: none; }
.qr-dialog-img {
  width: 300px;
  height: 300px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.qr-dialog-title { font-size: 21px; }
.qr-dialog-sub { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.qr-dialog-id {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 13.5px;
  color: var(--muted);
}
.qr-dialog-id strong { color: var(--ink); font-size: 15px; letter-spacing: 0.04em; }
.qr-dialog-btn { margin-top: 2px; }
.qr-modal .pd-close { top: 12px; right: 12px; }
.qr-modal :focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.qr-dialog:focus { outline: none; }

@media (max-width: 640px) {
  .wx-card { gap: 14px; padding: 14px; margin-top: 24px; }
  .wx-card-qr { width: 120px; height: 120px; }
  .wx-card-txt strong { font-size: 14.5px; }
  .qr-dialog { width: 100%; max-height: 94vh; padding: 34px 24px 28px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .qr-dialog-img { width: 250px; height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  .qr-dialog, .wx-card, .footer-qr { transition: none; }
}
