/* ==========================================================================
   万德菲 WONDEFEEL — Official Website Stylesheet
   感受天然香气之源 Feel the source of natural aroma
   ========================================================================== */

:root {
  --brand: #9ab122;
  --brand-600: #7f9319;
  --brand-300: #c3d45f;
  --brand-050: #f2f7e0;
  --leaf-900: #14210e;
  --leaf-800: #1e2b16;
  --leaf-700: #2c3d22;
  --leaf-500: #4e6b3d;
  --ink: #1d2a15;
  --ink-2: #46503f;
  --ink-3: #6f7869;
  --line: #e4e8dd;
  --paper: #ffffff;
  --paper-2: #f7f8f3;
  --cream: #fbfaf6;
  --shadow-s: 0 1px 2px rgba(29, 42, 21, .05), 0 2px 8px rgba(29, 42, 21, .05);
  --shadow-m: 0 6px 18px rgba(29, 42, 21, .07), 0 2px 6px rgba(29, 42, 21, .04);
  --shadow-l: 0 18px 48px rgba(29, 42, 21, .12);
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
}

body[data-lang="en"] { font-size: 16px; line-height: 1.8; }
body[data-lang="en"] .zh-only { display: none !important; }
body[data-lang="zh"] .en-only { display: none !important; }

img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; overflow-wrap: break-word; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--paper { background: var(--paper-2); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--leaf-800); color: #cfd8c6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: var(--brand-300); }

.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 40px; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--brand-300); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: 1.05rem; color: var(--ink-3); margin-bottom: 0; }
.section--dark .section-head p { color: #a9b69e; }
.section-head h2 { margin-bottom: .5em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: .96rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(154, 177, 34, .28); }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(154, 177, 34, .34); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-600); }
.btn--sm { padding: 9px 18px; font-size: .87rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; letter-spacing: .04em; color: var(--ink); font-size: 1.02rem; }
.brand-sub { font-size: .72rem; color: var(--ink-3); letter-spacing: .12em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px; border-radius: 999px; font-size: .93rem; font-weight: 500;
  color: var(--ink-2); white-space: nowrap;
}
.nav a:hover { background: var(--brand-050); color: var(--brand-600); }
.nav a.is-active { color: var(--brand-600); font-weight: 700; background: var(--brand-050); }

.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-toggle {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; background: #fff;
}
.lang-toggle button,
.lang-toggle a {
  border: 0; background: transparent; font-family: inherit; font-size: .82rem; font-weight: 600;
  padding: 7px 13px; cursor: pointer; color: var(--ink-3); transition: all .2s ease;
  text-decoration: none; line-height: 1.4;
}
.lang-toggle button.is-active,
.lang-toggle a.is-active { background: var(--brand); color: #fff; }
.header-tel { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.header-tel svg { width: 15px; height: 15px; color: var(--brand); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--leaf-900); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15, 26, 10, .93) 0%, rgba(15, 26, 10, .82) 42%, rgba(15, 26, 10, .48) 100%);
}
.hero-inner { position: relative; padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 118px); }
.hero h1 { color: #fff; max-width: 15em; margin-bottom: .35em; }
.hero-en { display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(.95rem, 1.7vw, 1.35rem); color: var(--brand-300); letter-spacing: .01em; margin-top: .5em; }
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: #d5ddcc; max-width: 40em; margin-bottom: 2em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.2em; }
.hero-tags span {
  padding: 6px 15px; border: 1px solid rgba(195, 212, 95, .45); border-radius: 999px;
  font-size: .82rem; color: var(--brand-300); background: rgba(154, 177, 34, .1);
}
.hero-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden;
  margin-top: clamp(40px, 6vw, 64px);
}
.hero-stats div { background: rgba(20, 33, 14, .72); padding: 24px 22px; }
.hero-stats b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: #fff; line-height: 1.1; }
.hero-stats small { font-size: .82rem; color: #a9b69e; }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--brand-300); }
.cat-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-media--tone { display: flex; align-items: center; justify-content: center; }
.cat-media--tone svg { width: 62px; height: 62px; color: rgba(255, 255, 255, .92); }
.cat-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { margin-bottom: .3em; font-size: 1.22rem; }
.cat-body .cat-en { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); font-weight: 700; margin-bottom: 12px; }
.cat-body p { font-size: .93rem; color: var(--ink-3); margin-bottom: 16px; }
.chip-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.chip-list li {
  margin: 0; padding: 4px 11px; border-radius: 999px; background: var(--paper-2);
  border: 1px solid var(--line); font-size: .8rem; color: var(--ink-2);
}
.cat-more { margin-top: auto; font-size: .88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.cat-more::after { content: "→"; transition: transform .2s ease; }
.cat-card:hover .cat-more::after { transform: translateX(4px); }

/* category tone backgrounds */
.tone-flower { background: linear-gradient(135deg, #f6d7e4, #e7a8c6); }
.tone-tea { background: linear-gradient(135deg, #cfe0b4, #9dbb6d); }
.tone-citrus { background: linear-gradient(135deg, #ffe08a, #f7b733); }
.tone-coffee { background: linear-gradient(135deg, #c69c7b, #8a5a3b); }
.tone-herb { background: linear-gradient(135deg, #bcd9c1, #7aa987); }
.tone-fruit { background: linear-gradient(135deg, #ffc0a8, #f07a63); }
.tone-grain { background: linear-gradient(135deg, #ecd9a6, #c9a86a); }

/* ---------- feature / value cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand-050);
  margin-bottom: 16px;
}
.card--plain { background: var(--paper-2); box-shadow: none; border-color: transparent; }
.card--plain:hover { transform: none; box-shadow: none; border-color: var(--brand-300); }

/* icon feature */
.ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand-050);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.ico svg { width: 26px; height: 26px; color: var(--brand-600); }
.section--dark .ico { background: rgba(154, 177, 34, .16); }
.section--dark .ico svg { color: var(--brand-300); }

/* ---------- split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split--media-right .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-m); }
.split-media .badge-float {
  position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-m); border-left: 4px solid var(--brand);
}
.split-media .badge-float b { display: block; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.split-media .badge-float small { font-size: .8rem; color: var(--ink-3); }
.split h2 { margin-bottom: .55em; }
.split ul { padding-left: 0; list-style: none; }
.split ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.split ul li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px;
  background: var(--brand); border-radius: 2px;
}

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -19px; left: 0; background: var(--brand); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .06em;
}
.step h4 { margin-bottom: .45em; }
.step p { font-size: .93rem; color: var(--ink-3); margin-bottom: 0; }

/* ---------- cert list ---------- */
.certs { display: flex; flex-wrap: wrap; gap: 12px; }
.certs span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink);
}
.certs span::before {
  content: "✓"; color: #fff; background: var(--brand); width: 19px; height: 19px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700;
}
.section--dark .certs span { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #e5ebdd; }

/* ---------- application cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.app-card {
  position: relative; border-radius: var(--radius-l); overflow: hidden; color: #fff;
  min-height: 260px; display: flex; align-items: flex-end; box-shadow: var(--shadow-m);
}
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 10, .1) 0%, rgba(15, 26, 10, .88) 100%);
}
.app-card-body { position: relative; padding: 24px; }
.app-card-body h4 { color: #fff; margin-bottom: .3em; }
.app-card-body p { font-size: .87rem; color: #cfd8c6; margin: 0; }

/* ---------- product page ---------- */
.anchor-nav {
  position: sticky; top: 74px; z-index: 30; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0;
}
.anchor-nav-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-nav a {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .85rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.anchor-nav a:hover { border-color: var(--brand); color: var(--brand-600); }

.cat-block { padding: clamp(48px, 6vw, 76px) 0; border-bottom: 1px solid var(--line); }
.cat-block:last-child { border-bottom: 0; }
.cat-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: 40px; }
.cat-head-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.cat-head-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-head-media--tone { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.cat-head-media--tone svg { width: 84px; height: 84px; color: rgba(255, 255, 255, .93); }
.cat-head h2 { margin-bottom: .3em; }
.cat-head .cat-en { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); font-weight: 700; margin-bottom: 14px; }
.cat-head p { color: var(--ink-3); }
.cat-block--rev .cat-head-media { order: 2; }

.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: .9rem; color: var(--ink);
}
.item small { color: var(--ink-3); font-size: .74rem; letter-spacing: .04em; white-space: nowrap; }
.item:hover { border-color: var(--brand-300); background: var(--brand-050); }

details.more-items { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
details.more-items > summary {
  cursor: pointer; padding: 16px 22px; font-weight: 600; color: var(--ink); font-size: .94rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
}
details.more-items > summary::-webkit-details-marker { display: none; }
details.more-items > summary::after { content: "＋"; color: var(--brand-600); font-weight: 700; }
details.more-items[open] > summary::after { content: "－"; }
details.more-items .more-body { padding: 4px 22px 22px; }
details.more-items .more-body ul { columns: 4; column-gap: 22px; margin: 0; padding: 0; list-style: none; }
details.more-items .more-body li { font-size: .87rem; color: var(--ink-2); break-inside: avoid; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); font-weight: 700; color: var(--ink); font-size: .85rem; letter-spacing: .03em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--brand-050); }
td.en, th.en { color: var(--ink-3); font-size: .85rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { width: 42px; height: 42px; margin: 0; flex-shrink: 0; border-radius: 12px; }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.info-list span { font-size: .93rem; color: var(--ink-2); }

.qr-box {
  display: flex; gap: 20px; align-items: center; padding: 22px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius); margin-top: 22px;
}
.qr-box img { width: 130px; height: 130px; border-radius: 10px; background: #fff; flex-shrink: 0; }
.qr-box b { display: block; color: var(--ink); margin-bottom: 4px; }
.qr-box p { font-size: .86rem; color: var(--ink-3); margin: 0; }

form .field { margin-bottom: 18px; }
form label { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
form input, form textarea, form select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(154, 177, 34, .16);
}
form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-3); margin-top: 12px; }
.form-ok {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  background: var(--brand-050); border: 1px solid var(--brand-300); color: var(--brand-600);
  font-size: .9rem; font-weight: 600;
}
.form-ok.is-visible { display: block; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--leaf-800); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero-inner { position: relative; padding: clamp(56px, 8vw, 96px) 0; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .35em; }
.page-hero p { color: #cfd8c6; margin-bottom: 0; font-size: 1.03rem; }
.breadcrumb { display: flex; gap: 8px; font-size: .82rem; color: #9fae94; margin-bottom: 14px; }
.breadcrumb a { color: var(--brand-300); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: #6e7d64; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; background: linear-gradient(120deg, var(--leaf-800), var(--leaf-700));
  border-radius: var(--radius-l); padding: clamp(34px, 4.6vw, 56px); color: #fff;
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(154, 177, 34, .34), transparent 68%);
}
.cta-band > div { position: relative; max-width: 46em; }
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
.cta-band p { color: #bcc9b0; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--leaf-900); color: #9fae94; padding: clamp(48px, 6vw, 72px) 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 18px; }
.site-footer a { color: #9fae94; }
.site-footer a:hover { color: var(--brand-300); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.footer-slogan { color: #7f8f74; font-size: .86rem; margin-top: 6px; font-family: var(--serif); font-style: italic; }
/* 备案号链接：法规要求可点击跳转工信部 */
.footer-icp {
  color: inherit; text-decoration: none;
  transition: color .2s ease;
}
.footer-icp:hover { color: #a9bb96; text-decoration: underline; }

/* 公安备案链接（与备案号同款样式） */
.footer-police { color: inherit; text-decoration: none; transition: color .2s ease; }
.footer-police:hover { color: #a9bb96; text-decoration: underline; }

.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem; color: #76866b;
  /* 法规要求：备案号须位于底部居中位置 */
  text-align: center;
}
/* 底部法务信息：版权 + 备案号，居中排列，窄屏自动换行 */
.footer-legal {
  margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: center; justify-content: center; line-height: 1.7;
}
.footer-legal > span { white-space: nowrap; }

/* ---------- reveal animation (progressive enhancement only) ----------
   Content is visible by default; it is hidden ONLY once JS confirms
   IntersectionObserver support, so the site still works without JS. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- series blocks (超高倍 / 高倍) ---------- */
.series-block {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(26px, 3.6vw, 56px);
  align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--shadow-s); margin-bottom: 30px;
}
.series-block:nth-of-type(2) { background: var(--paper-2); }
.series-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.series-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.series-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(29, 42, 21, .22);
}
.series-body h2 { margin-bottom: .25em; }
.series-tagline {
  font-size: 1.02rem; color: var(--brand-600); font-weight: 600; margin-bottom: 18px;
}
.series-points { list-style: none; padding: 0; margin: 0; }
.series-points li {
  position: relative; padding-left: 28px; margin-bottom: 12px;
  font-size: .95rem; color: var(--ink-2);
}
.series-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 16px; height: 2px; background: var(--brand); border-radius: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 9px 10px; font-size: .88rem; }
  .header-tel { display: none; }
  .item-grid { grid-template-columns: repeat(3, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 20px;
    box-shadow: var(--shadow-m); transform: translateY(-120%); transition: transform .3s ease;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 13px 12px; border-radius: 10px; font-size: .98rem; }
  .cat-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .cat-head, .series-block { grid-template-columns: 1fr; }
  .split--media-right .split-media { order: 0; }
  .cat-block--rev .cat-head-media { order: 0; }
  .split-media .badge-float { left: 16px; bottom: -14px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  details.more-items .more-body ul { columns: 2; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .cat-grid, .grid-2, .grid-3, .grid-4, .item-grid, .app-grid { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 24px; }
  .qr-box { flex-direction: column; text-align: center; }
  details.more-items .more-body ul { columns: 1; }
  .item-grid { grid-template-columns: 1fr; }
  .header-inner { height: 66px; }
  .nav { inset: 66px 0 auto 0; max-height: calc(100vh - 66px); }
}

/* ==========================================================
   language toggle animation —— 语言按钮动画
   只做按钮本身的效果：
     ① 高亮块（.lang-pill）在「中文」和「EN」之间平滑滑动，带轻微回弹
     ② 悬停时高亮块跟随鼠标预览
     ③ 按下时轻微缩放反馈
   不做整页切换动画（按需求只保留按钮动画）。
   ========================================================== */

.lang-toggle { position: relative; }

/* 高亮块：由 JS 定位与移动 */
.lang-pill {
  position: absolute; top: 0; left: 0; z-index: 0;
  opacity: 0;
  border-radius: 999px;
  background: var(--brand);
  pointer-events: none;
  will-change: transform, width;
  transition: transform .36s cubic-bezier(.34, 1.42, .5, 1),
              width .28s ease,
              height .28s ease;
}
.lang-toggle.is-pill-ready .lang-pill { opacity: 1; }
.lang-toggle.is-pill-ready a { position: relative; z-index: 1; }
.lang-toggle.is-pill-ready a.is-active { background: transparent !important; color: #fff; }
.lang-toggle.is-pill-ready a:not(.is-active):hover { color: var(--brand-600); }

/* 按钮文字 */
.lang-toggle a { transition: color .22s ease, background .22s ease; }

/* 整个按钮是一个开关：悬停/按下时整体反馈，而不是只有单个文字缩小 */
.lang-toggle { transition: transform .18s ease, box-shadow .22s ease; }
.lang-toggle:hover { box-shadow: 0 3px 12px rgba(29, 42, 21, .10); }
.lang-toggle:active { transform: scale(.955); }

/* 无障碍：关闭动画 */
@media (prefers-reduced-motion: reduce) {
  .lang-pill { transition: none; }
  .lang-toggle a { transition: none; }
}

/* ---------- plant cert layout —— 合作工厂与资质区块 ----------
   左侧是证书标签组（较矮），右侧是工厂照片（较高）。
   原先照片按原始比例撑高整行，align-items:center 让左侧文字上下空出一大截。
   这里把照片高度压到文字块的自然高度，两边就齐平了。 */
.media-fit { align-self: stretch; display: flex; align-items: center; }

.fit-media {
  width: 100%;
  height: auto;
  max-height: 330px;          /* 与左侧证书标签组的高度相当 */
  object-fit: cover;
  object-position: center 40%; /* 偏上取景，保住楼体主体 */
  display: block;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}

/* 窄屏时不再限制高度，避免照片被压得看不清 */
@media (max-width: 900px) {
  .fit-media { max-height: none; }
}

/* ---------- certs-align-fix —— 合作工厂与资质：对齐微调 ---------- */
/* 中文标签较短（4 行），英文标签较长（7 行）。
   行内改为顶部对齐后，中文/英文的标签都从图片上沿开始排，不再上下悬空。 */
@media (max-width: 900px) {
  /* 窄屏时左右堆叠，恢复居中看起来更自然 */
  .grid-2[style*="align-items:start"] { align-items: center !important; }
}

/* ---------- enquiry form checkboxes —— 留言表单的多选框 ---------- */
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 2px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
  user-select: none;
}
.check:hover { border-color: var(--brand-300); }
.check input {
  width: 15px; height: 15px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
  flex: none;
}
/* 选中后整颗胶囊高亮 */
.check:has(input:checked) {
  background: var(--brand-050);
  border-color: var(--brand);
  color: var(--ink);
  font-weight: 600;
}
.check input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 提交中的按钮状态 */
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* 提交失败提示 */
.form-err {
  display: none;
  margin-top: 14px; padding: 12px 16px;
  border-radius: 10px;
  background: #fdf1f0; border: 1px solid #f3c9c5; color: #a4362c;
  font-size: .87rem; font-weight: 600;
}
.form-err.is-visible { display: block; }

/* ---------- map-figure —— 通栏资源分布图 ---------- */
/* 这张图信息量大（16 州市的地名与小字），半栏显示根本看不清，
   所以改为通栏展示，并支持点击放大。 */
.map-figure {
  margin: 34px 0 0;
  text-align: center;
}
.map-figure img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-m);
  cursor: zoom-in;
  transition: box-shadow .22s ease, transform .22s ease;
}
.map-figure img:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }
/* 与 split-media 同时使用时（如 GC-MS 图谱）
   注意：figure 默认是 static，角标 .badge-float 会相对整个页面定位而跑到左下角，
   所以这里必须显式设 position: relative，让角标贴着图片。 */
.map-figure.split-media {
  position: relative;
  display: inline-block;
  text-align: center;
  margin-top: 34px;
}
.map-figure.split-media img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  margin: 0 auto;
}
.map-figure.split-media .badge-float {
  bottom: 52px;   /* 抬高，避开下方的说明文字 */
  left: -14px;
}
/* 分栏里的 GC-MS 图谱也支持点击放大，光标记号要一致 */
.split-media img[src*="gcms"] {
  cursor: zoom-in;
  transition: box-shadow .22s ease, transform .22s ease;
}
.split-media img[src*="gcms"]:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-2px);
}

.map-figure.split-media figcaption {
  max-width: 900px;
  margin: 14px auto 0;
  line-height: 1.65;
  text-align: left;
}
.map-figure figcaption {
  margin-top: 12px;
  font-size: .86rem;
  color: var(--ink-3);
}

/* 居中的要点列表（横向排列，更紧凑） */
.inline-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.inline-points li {
  position: relative;
  padding-left: 20px;
  margin: 0;
  font-size: .93rem;
  color: var(--ink-2);
}
.inline-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 14px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ---------- image lightbox —— 点击图片放大 ---------- */
.img-zoom {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 26, 10, .9);
  cursor: zoom-out;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.img-zoom.is-open { display: flex; animation: zoomIn .22s ease; }
@keyframes zoomIn { from { opacity: 0 } to { opacity: 1 } }
.img-zoom img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #fff;
  cursor: zoom-out;
}
.img-zoom-hint {
  position: fixed;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #e8eddf;
  font-size: .82rem;
  pointer-events: none;
}
body.is-zoomed { overflow: hidden; }

/* ---------- map-embed —— 联系我们页的高德地图 ---------- */
.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-m);
  overflow: hidden;
}

/* iframe 按 16:9 自适应，手机上也不会变形 */
.map-embed iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 42vw, 520px);
  border: 0;
  background: #eef2e6;
}

/* 地图下方的地址条 */
.map-embed-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper-2, #fafbf7);
}
.map-embed-addr {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.map-embed-addr svg {
  width: 18px; height: 18px;
  flex: none;
  color: var(--brand);
}
.map-embed-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.map-embed-link:hover { color: var(--brand); text-decoration: underline; }

@media (max-width: 640px) {
  .map-embed-bar { padding: 14px 16px; }
  .map-embed-addr { font-size: .86rem; }
}
