/* ===== 朱碌科杂粮 - 共用样式 ===== */
:root {
  --earth: #5C3D2E;
  --earth-dark: #3E281B;
  --gold: #D4943A;
  --gold-light: #E8B96A;
  --olive: #6B7A4F;
  --cream: #F7F3EC;
  --paper: #FFFFFF;
  --ink: #2D1F14;
  --ink-soft: #6B5D4F;
  --line: #E2D9CB;
  --serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(62, 40, 27, 0.95);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: #fff; letter-spacing: 2px; display: flex; align-items: center; gap: 10px;
}
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 14px; padding: 4px 0;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: none; color: #fff;
  font-size: 24px; cursor: pointer;
}

/* ===== 页面 Banner（内页顶部） ===== */
.page-banner {
  padding: 140px 0 70px;
  background: linear-gradient(rgba(46,28,15,0.75), rgba(46,28,15,0.75)),
              url('images/hero-field.jpg') center/cover no-repeat;
  color: #fff; text-align: center;
}
.page-banner h1 {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; letter-spacing: 4px; margin-bottom: 14px;
}
.page-banner p {
  font-size: 16px; color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto;
}
.banner-eyebrow {
  font-size: 13px; letter-spacing: 4px; color: var(--gold-light);
  margin-bottom: 16px;
}

/* ===== 区块通用 ===== */
section { padding: 80px 0; }
.section-eyebrow {
  font-size: 13px; letter-spacing: 3px; color: var(--gold);
  font-weight: 500; margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 38px);
  font-weight: 700; color: var(--ink); margin-bottom: 16px; line-height: 1.3;
}
.section-lead { font-size: 16px; color: var(--ink-soft); max-width: 680px; line-height: 1.9; }

/* ===== 内容排版 ===== */
.prose { max-width: 800px; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); line-height: 1.9; }
.prose h3 {
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid var(--gold);
}
.prose ul { margin: 0 0 18px 20px; color: var(--ink-soft); line-height: 2; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.two-col img { border-radius: 4px; box-shadow: 0 16px 48px rgba(92,61,46,0.15); width: 100%; height: 380px; object-fit: cover; }

/* ===== 卡片网格 ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.card {
  background: var(--paper); border-radius: 4px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(92,61,46,0.12); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.tag {
  display: inline-block; margin-top: 12px; padding: 3px 10px; font-size: 12px;
  background: rgba(107,122,79,0.12); color: var(--olive); border-radius: 2px;
}

/* ===== 数据条 ===== */
.stats {
  background: linear-gradient(135deg, var(--earth) 0%, var(--earth-dark) 100%);
  color: #fff;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: 40px; text-align: center;
}
.stat-num {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 52px);
  font-weight: 900; color: var(--gold-light); line-height: 1; margin-bottom: 10px;
}
.stat-num span { font-size: 22px; font-weight: 400; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ===== 时间线 ===== */
.timeline { position: relative; margin-top: 50px; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--gold), var(--olive));
}
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -38px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
}
.history-page .tl-item::before { border-color: var(--cream); }
.tl-year { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.tl-text { color: var(--ink-soft); font-size: 15px; line-height: 1.9; max-width: 700px; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 1100px; margin: 40px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  align-items: start;
}
.faq-item {
  background: var(--paper); border-radius: 4px;
  overflow: hidden; border: 1px solid var(--line);
}
.faq-q {
  padding: 20px 24px; font-weight: 500; font-size: 16px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; user-select: none;
}
.faq-q:hover { color: var(--earth); }
.faq-q .arrow { transition: transform 0.25s; font-size: 14px; color: var(--gold); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }

/* ===== 页脚 ===== */
footer {
  background: var(--earth-dark); color: rgba(255,255,255,0.7);
  padding: 60px 0 30px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-logo { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-about { font-size: 14px; line-height: 1.8; max-width: 360px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ===== 首页 Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(rgba(46,28,15,0.55), rgba(46,28,15,0.65)),
              url('images/hero-field.jpg') center/cover no-repeat;
  color: #fff; padding-top: 64px;
}
.hero-content { max-width: 800px; }
.hero-eyebrow { font-size: 14px; letter-spacing: 4px; color: var(--gold-light); margin-bottom: 20px; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 7vw, 76px);
  font-weight: 900; line-height: 1.15; margin-bottom: 24px; letter-spacing: 4px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); line-height: 1.8;
  color: rgba(255,255,255,0.9); margin-bottom: 36px; max-width: 600px; font-weight: 300;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.badge {
  padding: 6px 16px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 2px; font-size: 13px; color: rgba(255,255,255,0.9);
}
.btn {
  display: inline-block; padding: 14px 36px; font-size: 15px;
  font-weight: 500; letter-spacing: 2px; cursor: pointer; transition: all 0.25s; border: none;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ===== 首页入口卡片 ===== */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.entry-card {
  position: relative; border-radius: 4px; overflow: hidden; height: 280px;
  display: flex; align-items: flex-end; color: #fff; transition: transform 0.3s;
}
.entry-card:hover { transform: translateY(-4px); }
.entry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entry-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,18,10,0.85), rgba(30,18,10,0.1));
}
.entry-info { position: relative; z-index: 1; padding: 24px; }
.entry-info h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.entry-info p { font-size: 13px; color: rgba(255,255,255,0.8); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .two-col img { height: 280px; }
  .card-grid, .entry-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { display: none; }
  .nav-links.show {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--earth-dark); flex-direction: column; padding: 20px 24px; gap: 16px;
  }
  .nav-toggle { display: block; }
  section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .card-grid, .entry-grid { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--cream);
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb .container {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span.sep { color: var(--line); }
.breadcrumb span.current { color: var(--ink); }

/* ===== 来源标注 ===== */
.source-note {
  margin-top: 40px; padding: 16px 20px;
  background: rgba(107,122,79,0.08); border-left: 3px solid var(--olive);
  font-size: 13px; color: var(--ink-soft); line-height: 1.8;
}
.source-note a { color: var(--gold); }
.source-note a:hover { text-decoration: underline; }

/* ===== 产品详情页 ===== */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--gold); margin-bottom: 24px; font-weight: 500;
}
.back-link:hover { text-decoration: underline; }
.recipe-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.recipe-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px; padding: 28px;
}
.recipe-card h4 {
  font-family: var(--serif); font-size: 18px; margin-bottom: 12px; color: var(--earth);
}
.recipe-card ol { margin-left: 20px; color: var(--ink-soft); line-height: 2; font-size: 14px; }
.recipe-card ol li { margin-bottom: 4px; }
.nutri-table {
  width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--paper);
}
.nutri-table th, .nutri-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px;
}
.nutri-table th { background: var(--earth); color: #fff; font-weight: 500; }
.nutri-table td:first-child { font-weight: 500; color: var(--ink); }
.nutri-table td { color: var(--ink-soft); }
.prod-hero-img {
  border-radius: 4px; overflow: hidden; box-shadow: 0 16px 48px rgba(92,61,46,0.15);
}
.prod-hero-img img { width: 100%; height: 400px; object-fit: cover; }
@media (max-width: 800px) {
  .recipe-list { grid-template-columns: 1fr; }
  .prod-hero-img img { height: 260px; }
  .faq-list { grid-template-columns: 1fr; max-width: 700px; }
}
