/* ==========================================================================
   千山芝 · 野生灵芝水 —— 站点样式
   调色板改 :root 就够了，其余全部走变量
   ========================================================================== */

:root {
  /* 色板：宣纸、墨、赤芝 */
  --bg:             #fbf8f2;
  --bg-soft:        #f3ece0;
  --bg-dark:        #1d1109;
  --bg-ink:         #efe7d8;
  --surface:        #ffffff;

  --ink:            #241a12;
  --ink-soft:       #6b5949;
  --ink-invert:     #f7efe3;
  --ink-invert-soft:#c6ae92;

  --brand:          #8a3a16;   /* 赤芝 */
  --brand-deep:     #5a230c;
  --brand-light:    #c47a3d;
  --gold:           #b08c2c;

  --line:           #e5d8c5;
  --line-dark:      #45291a;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(36,26,18,.05), 0 8px 24px rgba(36,26,18,.07);
  --shadow-lg: 0 2px 4px rgba(36,26,18,.06), 0 20px 50px rgba(36,26,18,.13);

  --wrap: 1160px;
  --header-h: 68px;

  --font-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC",
                "Hiragino Mincho ProN", "Yu Mincho", "Nanum Myeongjo", Georgia, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                "Hiragino Sans", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic",
                "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* 非中文语种的衬线体在中文字库下会串味，标题统一改用无衬线 */
:root[data-lang="en"] h1, :root[data-lang="en"] h2, :root[data-lang="en"] h3, :root[data-lang="en"] h4,
:root[data-lang="ko"] h1, :root[data-lang="ko"] h2, :root[data-lang="ko"] h3, :root[data-lang="ko"] h4 {
  font-family: var(--font-sans);
  letter-spacing: 0;
}
:root[data-lang="en"] .hero h1 { letter-spacing: -.01em; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.32; margin: 0; letter-spacing: .02em; }
p { margin: 0; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 4px; }

/* ---------- 通用 ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: .2em; color: var(--brand); font-weight: 600; margin-bottom: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(138,58,22,.26); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.18); transform: translateY(-2px); }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink  { background: var(--bg-ink) url("../images/ink-bg.jpg") right bottom / cover no-repeat; }
.section--dark { background: var(--bg-dark); color: var(--ink-invert); }
.section--dark .eyebrow { color: var(--gold); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(27px, 3.8vw, 40px); }
.section-sub { color: var(--ink-soft); margin-top: 16px; font-size: 17px; }
.section--dark .section-sub { color: var(--ink-invert-soft); }

.sub-head {
  font-size: clamp(19px, 2.4vw, 24px); margin: 64px 0 28px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.section--dark .sub-head { border-bottom-color: var(--line-dark); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,242,.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(36,26,18,.05); }

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
/* 品牌印章。原图是 306×498 的透明 PNG，这里按高度定尺寸，宽度自适应 */
.brand-mark { height: 42px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-serif); font-size: 17px; letter-spacing: .08em; }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: .18em; color: var(--ink-soft); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: 15px; color: var(--ink-soft); position: relative; white-space: nowrap; transition: color .18s ease; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--brand); transition: right .25s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--brand); }
.site-nav a.is-active::after { right: 0; }
.site-nav .nav-cta { background: var(--brand); color: #fff; padding: 9px 20px; border-radius: 999px; }
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--brand-deep); color: #fff; }
/* 高亮态不能沿用 is-active 的棕色文字，否则棕底棕字看不见 */
.site-nav .nav-cta.is-active { color: #fff; background: var(--brand-deep); }

.header-right { display: flex; align-items: center; gap: 8px; order: 3; }

/* 语言切换 */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-family: inherit; white-space: nowrap;
  transition: border-color .18s ease, color .18s ease;
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }
.lang-globe { font-size: 13px; }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 148px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: block; width: 100%; text-align: left;
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 14px; border-radius: 9px; font-size: 15px; font-family: inherit; color: var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button.is-current { color: var(--brand); font-weight: 600; background: rgba(138,58,22,.07); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between;
  /* WebKit 给 button 默认加了 align-items:center，会盖掉 stretch，必须显式写回来 */
  align-items: stretch;
}
/* 三条线是空 span，宽度只能靠拉伸得到。WebKit 下 stretch 失效会塌成 0 宽而"消失"，
   所以这里再显式给一个 width 兜底，两道保险。 */
.nav-toggle span {
  display: block; width: 100%; height: 2px; flex: none;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(96px, 14vw, 168px) 0 clamp(72px, 10vw, 116px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(20,10,4,.86) 0%, rgba(20,10,4,.62) 46%, rgba(20,10,4,.28) 100%),
    linear-gradient(180deg, rgba(20,10,4,.45), transparent 40%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.22; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero h1 .accent {
  background: linear-gradient(100deg, #eab765, #c47a3d 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin-top: 26px; font-size: clamp(15.5px, 1.8vw, 18px); color: rgba(255,255,255,.86); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 56px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.22);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--font-serif); font-size: 21px; color: #ecc98a; }
.hero-facts span { font-size: 13.5px; color: rgba(255,255,255,.72); }

/* ---------- 关于灵芝 ---------- */
.classics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.classic {
  margin: 0; padding: 28px 30px;
  background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(2px);
}
.classic p { font-family: var(--font-serif); font-size: 17px; line-height: 1.85; }
.classic cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--brand); }

.comps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.comp {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .25s ease, border-color .25s ease;
}
.comp:hover { transform: translateY(-4px); border-color: var(--brand-light); }
.comp-tag {
  display: inline-block; font-size: 11.5px; letter-spacing: .1em; padding: 4px 10px;
  border-radius: 999px; background: rgba(138,58,22,.09); color: var(--brand); margin-bottom: 12px;
}
.comp h4 { font-size: 19px; margin-bottom: 10px; }
.comp p { font-size: 14.5px; color: var(--ink-soft); }

.disclaimer-inline {
  margin-top: 32px; padding: 16px 20px; border-left: 3px solid var(--brand-light);
  background: rgba(255,255,255,.6); font-size: 13.5px; color: var(--ink-soft); line-height: 1.8;
}

/* ---------- 野生 vs 养殖 ---------- */
.versus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.vs-card { border-radius: var(--radius-lg); padding: 32px 30px; border: 1px solid var(--line); }
.vs-card h3 { font-size: 22px; margin-bottom: 22px; }
.vs-card dl > div { padding: 13px 0; border-top: 1px solid var(--line); }
.vs-card dt { font-size: 12.5px; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 5px; }
.vs-card dd { margin: 0; font-size: 15px; }

.vs-card--wild {
  background: linear-gradient(165deg, #fffaf2, #f6e7d2);
  border-color: var(--brand-light); box-shadow: var(--shadow);
}
.vs-card--wild h3 { color: var(--brand-deep); }
.vs-card--wild dl > div { border-top-color: rgba(138,58,22,.18); }
.vs-card--farm { background: var(--surface); color: var(--ink-soft); }
.vs-card--farm h3 { color: var(--ink-soft); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.data-table {
  width: 100%; min-width: 620px; border-collapse: collapse;
  background: var(--surface); font-size: 15px;
}
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th {
  background: var(--bg-soft); font-family: var(--font-serif); font-size: 15px;
  white-space: nowrap; border-bottom: 2px solid var(--line);
}
.data-table tbody th { font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.data-table .hl { background: rgba(196,122,61,.09); color: var(--brand-deep); font-weight: 600; }
.data-table thead .hl { background: rgba(196,122,61,.2); color: var(--brand-deep); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

.table-note { margin-top: 16px; font-size: 13px; color: var(--ink-soft); line-height: 1.75; }

/* ---------- 源头 ---------- */
.origin-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.origin-item { padding: 24px 0; border-top: 1px solid var(--line-dark); }
.origin-item:first-child { border-top: 0; padding-top: 0; }
.origin-no { font-family: var(--font-serif); font-size: 13px; letter-spacing: .18em; color: var(--gold); display: block; margin-bottom: 10px; }
.origin-item h3 { font-size: 20px; margin-bottom: 8px; }
.origin-item p { color: var(--ink-invert-soft); font-size: 15px; }

.origin-figure { margin: 0; }
.origin-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.origin-figure figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-invert-soft); text-align: center; }

/* ---------- 产品 ---------- */
.product-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.product-shot { margin: 0; }
.product-shot img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); background: var(--surface);
}
.product-lead { font-size: 17px; color: var(--ink-soft); }

.spec { margin: 28px 0 0; border-top: 1px solid var(--line); }
.spec > div { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { flex: none; width: 74px; color: var(--ink-soft); font-size: 14px; }
.spec dd { margin: 0; }

.product-foot { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.product-more { font-size: 13.5px; color: var(--ink-soft); }
.product-more--block { margin-top: 16px; }

/* 京东购买：描边款，避免和主按钮抢视觉 */
.btn-jd { border-color: #e1251b; color: #c81e15; background: transparent; }
.btn-jd:hover { background: #e1251b; color: #fff; transform: translateY(-2px); }
.jd-mark {
  font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .04em; padding: 2px 6px; border-radius: 4px;
  background: #e1251b; color: #fff;
}
.btn-jd:hover .jd-mark { background: #fff; color: #e1251b; }

.sub-head--first { margin-top: 0; }

/* 灵芝液的图和视频排在规格下面，跟生产区共用 .gallery / .videos */
.gallery--2 { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
.gallery--2 img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface); padding: 12px; }
#product .videos { margin-top: 24px; }

/* 照抄包装上的标注。条目较长，用列表而不是胶囊标签 */
.credits {
  margin-top: 26px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
}
.credits-title {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; color: var(--ink-soft); margin-bottom: 14px;
}
.credits ul { display: grid; gap: 9px; }
.credits li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-soft);
}
.credits li::before {
  content: ""; flex: none; width: 5px; height: 5px; margin-top: .55em;
  border-radius: 50%; background: var(--brand-light);
}
.credit-mark {
  flex: none; font-family: Arial, Helvetica, sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .04em; padding: 2px 6px; border-radius: 4px;
  background: #c0392b; color: #fff;
}
.credit-mark--picc { background: #d0021b; }

/* ---------- 生产 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step { padding-top: 24px; border-top: 1px solid var(--line); }
.step-no { font-family: var(--font-serif); font-size: 13px; letter-spacing: .18em; color: var(--brand-light); display: block; margin-bottom: 12px; }
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery figcaption, .videos figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }

.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand-light); }
.card-icon { font-size: 24px; color: var(--brand-light); line-height: 1; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 饮用建议 ---------- */
.notice {
  margin-top: 40px; padding: 30px 32px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.notice h3 { font-size: 19px; margin-bottom: 16px; }
.notice ul { display: grid; gap: 10px; }
.notice li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-soft); }
.notice li::before {
  content: ""; position: absolute; left: 4px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-light);
}

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.about-figure { margin: 0; }
.about-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-copy h2 { font-size: clamp(24px, 3.4vw, 34px); }
.about-slogan {
  margin-top: 28px; font-family: var(--font-serif); font-size: 19px; color: var(--gold); letter-spacing: .08em;
}

/* ---------- 联系 ---------- */
.section--contact { background: linear-gradient(170deg, var(--bg-soft), #ecdcc4); }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.office {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.office:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* 总部这张描一圈品牌色，一眼分得出主次 */
.office--hq { border-color: var(--brand-light); }

.office-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.office-head h3 { font-size: 22px; }
.office-badge {
  font-size: 11.5px; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px;
  background: rgba(138,58,22,.1); color: var(--brand);
}

.office-list { border-top: 1px solid var(--line); }
.office-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ci-label { flex: none; width: 76px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.ci-value { font-family: var(--font-serif); font-size: 16.5px; color: var(--brand-deep); overflow-wrap: anywhere; }
.ci-value--addr { font-size: 15px; line-height: 1.6; }
a.ci-value:hover { text-decoration: underline; }

.office-wa {
  margin-top: auto; padding-top: 20px;
  font-size: 14px; font-weight: 600; color: var(--brand);
}
.office-wa:hover { text-decoration: underline; }

.qr-row { display: flex; justify-content: center; margin-top: 40px; }
.qr-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-lg); text-align: center; width: 100%; max-width: 300px;
}
.qr-card img { border-radius: var(--radius); }
.qr-placeholder {
  aspect-ratio: 1; border: 2px dashed var(--line); border-radius: var(--radius);
  display: grid; place-content: center; gap: 6px; color: var(--ink-soft); background: var(--bg-soft);
}
.qr-placeholder small { font-size: 12px; opacity: .7; }
.qr-tip { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-dark); color: var(--ink-invert); padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand strong { font-family: var(--font-serif); font-size: 17px; letter-spacing: .08em; }
.footer-brand p { font-size: 13px; color: var(--ink-invert-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-size: 14px; color: var(--ink-invert-soft); }
.footer-nav a:hover { color: var(--ink-invert); }
.footer-legal {
  grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--ink-invert-soft); display: flex; flex-wrap: wrap; gap: 6px 26px;
}
.footer-legal a:hover { text-decoration: underline; }
.footer-legal .disclaimer { width: 100%; opacity: .78; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 18px;
  box-shadow: 0 8px 22px rgba(138,58,22,.32);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-deep); }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1120px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 14px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .comps { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .origin-grid, .product-hero, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid .about-figure { order: 2; }
  .offices { grid-template-columns: 1fr 1fr; }
  .offices .office--hq { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 20px 40px rgba(36,26,18,.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
}

@media (max-width: 760px) {
  .classics, .versus, .gallery, .gallery--2, .videos { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { gap: 16px 30px; }
  .hero-facts li { min-width: 40%; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .steps, .cards, .cards--4, .comps { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .office { padding: 26px 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
  .lang-btn { padding: 7px 11px; }
  .vs-card, .notice { padding: 24px 22px; }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .to-top, .qr-card, .hero-actions, .videos { display: none; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
  .hero { color: var(--ink); }
  .hero-media { display: none; }
}
