:root {
  --ink: #20211f;
  --muted: #6b655d;
  --line: #e8ded0;
  --paper: #f6f3ea;
  --surface: #ffffff;
  --warm: #a76425;
  --warm-dark: #6f3f18;
  --green: #2f644d;
  --deep: #1f342c;
  --sage: #dfe8d8;
  --steel: #2b3d4f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(109, 73, 37, 0.14);
  background: rgba(246, 243, 234, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--warm);
  border-radius: 50%;
  color: var(--warm-dark);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--warm-dark);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.language-switch i {
  margin: 0 7px;
  color: #c8b7a5;
  font-style: normal;
}

.language-switch .active {
  color: var(--warm-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--warm-dark);
}

.button.secondary {
  color: var(--warm-dark);
  border: 1px solid var(--warm);
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.hero-v2 {
  position: relative;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(31, 52, 44, 0.94), rgba(47, 100, 77, 0.86)),
    url("./assets/posters/factory-intro-poster.jpg") center / cover;
}

.hero-v2::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.hero-v2 .hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-v2 .eyebrow {
  color: #eac17e;
}

.hero-v2 h1 {
  max-width: 780px;
}

.hero-v2 .hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-v2 .button.primary {
  background: #e3ad65;
  color: #1f342c;
}

.hero-v2 .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.3;
}

.hero-copy > p:not(.eyebrow),
.section-heading p,
.download-section p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hero-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.hero-v2 .hero-meta div {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.hero-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-v2 .hero-meta dt {
  color: rgba(255, 255, 255, 0.62);
}

.hero-meta dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.hero-board {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hero-board-main,
.hero-board-grid a {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.hero-board-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.hero-board-main img,
.hero-board-grid img {
  width: 100%;
  object-fit: cover;
}

.hero-board-main img {
  aspect-ratio: 4 / 3;
}

.hero-board-main div {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: #fff;
}

.hero-board-main span {
  color: #eac17e;
  font-size: 12px;
  font-weight: 800;
}

.hero-board-main strong {
  font-size: 26px;
  line-height: 1.2;
}

.hero-board-main small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-board-grid a {
  display: grid;
}

.hero-board-grid img {
  aspect-ratio: 5 / 4;
}

.hero-board-grid span {
  padding: 12px 14px;
  color: #fff;
  font-weight: 800;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--deep);
}

.proof-strip div {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.proof-strip strong {
  color: #eac17e;
  font-size: 18px;
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-visual,
.video-card,
.download-section > *,
.contact-section > * {
  min-width: 0;
}

.section {
  padding: clamp(42px, 7vw, 78px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.product-series-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0), rgba(242, 234, 223, 0.55));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.series-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(78, 47, 22, 0.08);
}

.series-card a,
.series-card img,
.series-body,
.series-body small {
  display: block;
}

.series-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.series-body {
  padding: 20px;
}

.series-label {
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
}

.series-body h3 {
  margin: 8px 0;
}

.series-body p {
  margin-bottom: 14px;
  color: var(--muted);
}

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.flavor-tags span {
  padding: 5px 11px;
  border: 1px solid #dccbb6;
  border-radius: 999px;
  color: var(--warm-dark);
  background: #fff8ec;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.series-body small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.supplement-line {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.supplement-line strong {
  color: var(--warm-dark);
}

.supplement-line span {
  color: var(--muted);
}

.seo-section {
  background: #fffaf3;
  border-top: 1px solid var(--line);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.seo-grid a {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.seo-grid strong,
.seo-grid span {
  display: block;
}

.seo-grid strong {
  color: var(--warm-dark);
  font-size: 18px;
  line-height: 1.35;
}

.seo-grid span {
  margin-top: 10px;
  color: var(--muted);
}

.guide-teaser-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: var(--surface);
}

.guide-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  background: #efe5d8;
}

.guide-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.guide-card strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
}

.guide-more {
  margin-top: 22px;
}

.guide-page .site-header {
  border-bottom: 1px solid var(--line);
}

.article-hero {
  padding: clamp(44px, 7vw, 92px) clamp(20px, 6vw, 72px);
  background: #fffaf3;
}

.article-hero h1 {
  max-width: 900px;
}

.article-hero > p:not(.eyebrow),
.article-hero-split p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.article-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.article-hero-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #efe5d8;
}

.guide-list-section {
  background: #fff;
}

.article-body {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
}

.article-body h2 {
  margin-top: 34px;
  font-size: 26px;
}

.article-body p {
  color: #34322e;
  font-size: 18px;
  line-height: 1.9;
}

.guide-callout {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid rgba(47, 100, 77, 0.24);
  border-radius: 8px;
  background: #f4f7ef;
}

.guide-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 20px;
}

.guide-callout p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}

.product-card {
  border: 1px solid var(--line);
  background: var(--surface);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(111, 63, 24, 0.92), rgba(32, 33, 31, 0.92)),
    #6f3f18;
}

.product-placeholder span,
.product-placeholder strong {
  display: block;
  text-align: center;
}

.product-placeholder span {
  margin-bottom: 8px;
  color: #f6d9a9;
  font-size: 13px;
  font-weight: 800;
}

.product-placeholder strong {
  font-size: 24px;
  line-height: 1.2;
}

.card-body {
  padding: 18px;
}

.card-body span {
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
}

.card-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.factory-focus-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(223, 232, 216, 0.8), rgba(255, 255, 255, 0.95));
}

.factory-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.factory-points span {
  padding: 7px 12px;
  border: 1px solid rgba(47, 100, 77, 0.24);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.video-copy {
  max-width: 560px;
}

.video-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.video-copy .button {
  margin-top: 8px;
}

.video-card {
  padding: 10px;
  border: 1px solid var(--line);
  background: #fffaf3;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #20211f;
}

.product-video-section {
  border-top: 0;
}

.scene-section {
  background: #f2eadf;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.scene-grid div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid #dfd1c1;
  background: rgba(255, 255, 255, 0.55);
}

.scene-grid strong,
.scene-grid span {
  display: block;
}

.scene-grid span {
  margin-top: 10px;
  color: var(--muted);
}

.cooperation-section {
  background: #fffaf3;
  border-bottom: 1px solid var(--line);
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cooperation-grid div {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.cooperation-grid strong,
.cooperation-grid span {
  display: block;
}

.cooperation-grid strong {
  color: var(--warm-dark);
}

.cooperation-grid span {
  margin-top: 10px;
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-grid div {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.process-grid em {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.process-grid strong,
.process-grid span {
  display: block;
}

.process-grid strong {
  font-size: 19px;
  color: var(--warm-dark);
}

.process-grid span {
  margin-top: 10px;
  color: var(--muted);
}

.download-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 42px;
  align-items: start;
}

.download-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-panel p {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.contact-panel p:last-child {
  border-bottom: 0;
}

.contact-panel span {
  color: var(--muted);
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.inquiry-form h3 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.2;
}

.inquiry-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffaf3;
  font: inherit;
}

.inquiry-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.site-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.wechat-modal[hidden] {
  display: none;
}

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(32, 33, 31, 0.48);
}

.wechat-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(360px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 50px rgba(70, 43, 20, 0.18);
}

.wechat-card img {
  width: min(220px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
}

.wechat-card p {
  display: grid;
  gap: 4px;
  margin: 0;
  text-align: center;
}

.wechat-card span {
  color: var(--muted);
  font-size: 13px;
}

.wechat-card strong {
  font-size: 22px;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fffaf3;
  font-size: 22px;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.product-page .hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 150px;
  color: var(--warm-dark);
  background: #fbf2e5;
}

@media (max-width: 980px) {
  .hero,
  .video-section,
  .factory-focus-section,
  .download-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-v2 {
    min-height: auto;
  }

  .proof-strip,
  .product-grid,
  .series-grid,
  .seo-grid,
  .scene-grid,
  .cooperation-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supplement-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .brand small {
    font-size: 11px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .language-switch {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }

  .language-switch i {
    margin: 0 5px;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    gap: 28px;
    padding-top: 36px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.16;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy > p:not(.eyebrow),
  .section-heading p,
  .download-section p,
  .contact-section p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 140px;
    padding: 0 12px;
  }

  .hero-visual img {
    width: 100%;
    max-width: 100%;
  }

  .hero-meta,
  .proof-strip,
  .product-grid,
  .series-grid,
  .seo-grid,
  .guide-grid,
  .scene-grid,
  .cooperation-grid,
  .process-grid,
  .form-pair,
  .article-hero-split {
    grid-template-columns: 1fr;
  }

  .hero-board-grid {
    grid-template-columns: 1fr;
  }

  .series-body {
    padding: 18px;
  }

  .flavor-tags span {
    font-size: 12px;
  }

  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
    margin-bottom: 8px;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 28px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
