:root {
  --ink: #2a241d;
  --green: #173b32;
  --green-soft: #315d4f;
  --gold: #b88a36;
  --gold-deep: #8d6827;
  --ivory: #fffaf1;
  --paper: #f7efe2;
  --rose: #8f4b3f;
  --line: rgba(42, 36, 29, 0.14);
  --shadow: 0 20px 50px rgba(42, 36, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 250, 241, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(42, 36, 29, 0.74);
  font-size: 15px;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #f4e4c7;
}

.hero picture,
.hero img {
  width: 100%;
  min-height: calc(100vh - 72px);
}

.hero img {
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 59, 50, 0.58), rgba(23, 59, 50, 0.05) 45%, rgba(255, 250, 241, 0));
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  left: clamp(22px, 5vw, 78px);
  bottom: clamp(36px, 8vw, 88px);
  z-index: 2;
  width: min(560px, calc(100% - 44px));
  color: #fffaf1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: clamp(18px, 2vw, 28px);
}

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

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 26px rgba(141, 104, 39, 0.25);
}

.button.ghost {
  color: #fffaf1;
  border-color: rgba(255, 250, 241, 0.68);
  background: rgba(255, 250, 241, 0.08);
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.story {
  background: linear-gradient(135deg, var(--green), #20332f);
  color: #fffaf1;
}

.story-grid,
.science {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

.story p,
.section-heading p,
.science-copy p,
.contact p {
  margin: 22px 0 0;
  max-width: 720px;
  color: rgba(42, 36, 29, 0.72);
  font-size: 17px;
  line-height: 1.9;
}

.story p {
  color: rgba(255, 250, 241, 0.78);
}

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

.benefit-list span,
.science-tags span {
  border: 1px solid rgba(184, 138, 54, 0.5);
  border-radius: 4px;
  padding: 14px 16px;
  background: rgba(255, 250, 241, 0.07);
  color: #fffaf1;
  font-family: "Microsoft YaHei", sans-serif;
}

.products {
  background: #fffaf1;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-heading p {
  max-width: 390px;
  margin: 0;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(42, 36, 29, 0.08);
}

.product-image {
  display: grid;
  place-items: center;
  flex: 0 0 280px;
  height: 280px;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(150deg, #f8efe2, #ffffff 58%, rgba(49, 93, 79, 0.12));
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 22px;
  background: #fff;
}

.product-info h3 {
  margin: 0;
  min-height: 58px;
  font-size: 23px;
  line-height: 1.25;
}

.product-subtitle,
.product-desc {
  margin: 0;
  color: rgba(42, 36, 29, 0.68);
  font-family: "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.product-price {
  color: var(--gold-deep);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
}

.detail-button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.science {
  background: var(--paper);
}

.science-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.science-tags span {
  background: #fffaf1;
  color: var(--green);
}

.ingredient-board {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 138, 54, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fffaf1;
}

.ingredient-board img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.proof-item {
  min-height: 180px;
  padding: 34px 20px;
  background: var(--green);
  color: #fffaf1;
  text-align: center;
}

.proof-item strong {
  display: block;
  color: var(--gold);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 12px;
  font-family: "Microsoft YaHei", sans-serif;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: #fffaf1;
}

.contact-intro {
  position: sticky;
  top: 100px;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.phone-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), #25463d);
  color: #fffaf1;
  box-shadow: var(--shadow);
}

.phone-card span,
.phone-card small,
.qr-card p {
  font-family: "Microsoft YaHei", sans-serif;
}

.phone-card span {
  color: var(--gold);
  font-weight: 700;
}

.phone-card strong {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.phone-card small {
  color: rgba(255, 250, 241, 0.7);
}

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

.qr-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(42, 36, 29, 0.08);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.qr-card h3 {
  margin: 16px 16px 4px;
  font-size: 20px;
}

.qr-card p {
  margin: 0 16px 18px;
  color: rgba(42, 36, 29, 0.68);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 250, 241, 0.72);
  font-family: "Microsoft YaHei", sans-serif;
}

.product-dialog {
  width: min(1100px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #fffaf1;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.product-dialog::backdrop {
  background: rgba(23, 59, 50, 0.62);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.dialog-content {
  padding: 0;
}

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #fffaf1, #f2e4ce);
  border-bottom: 1px solid var(--line);
}

.detail-hero img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.dialog-content h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.dialog-content p {
  color: rgba(42, 36, 29, 0.72);
  font-family: "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}

.dialog-content ul {
  padding-left: 20px;
  color: var(--green);
  font-family: "Microsoft YaHei", sans-serif;
  line-height: 1.9;
}

.detail-gallery {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #f8f0e4;
}

.detail-gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(42, 36, 29, 0.1);
  background: #fff;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .science,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }

  .qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .hero picture,
  .hero img {
    min-height: 680px;
  }

  .hero img {
    object-position: 43% center;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(23, 59, 50, 0.06), rgba(23, 59, 50, 0.78));
  }

  .hero-copy {
    bottom: 28px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .product-grid,
  .proof {
    grid-template-columns: 1fr;
  }

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

  .product-card {
    min-height: auto;
  }

  .product-image {
    flex-basis: 220px;
    height: 220px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .detail-hero img {
    height: 280px;
  }

  .site-footer {
    flex-direction: column;
  }
}
