/* 沐丰农家果园 - 全站共享样式 */
:root {
  --green: #2d5016;
  --green-light: #4a7c2a;
  --green-pale: #eaf3e2;
  --earth: #3d2914;
  --earth-light: #6b4423;
  --gold: #c9a227;
  --bg: #ffffff;
  --bg-alt: #f7f5ef;
  --text: #2c2c2c;
  --text-muted: #666;
  --border: #e5e2d8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700; color: var(--green);
}
.brand:hover { text-decoration: none; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--text); font-size: .95rem; }
.site-nav a:hover { color: var(--green); text-decoration: none; }
.header-phone {
  display: inline-block; padding: 8px 18px; border-radius: 24px;
  background: var(--green); color: #fff; font-size: .9rem; font-weight: 600;
}
.header-phone:hover { background: var(--green-light); text-decoration: none; color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(45,80,22,.88), rgba(61,41,20,.82)),
              url("../images/apple_product_01.jpg") center/cover no-repeat;
  background-blend-mode: normal;
  color: #fff;
  padding: 110px 20px 90px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.35;
  max-width: 820px; margin: 0 auto 18px;
}
.hero .sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .95; max-width: 700px; margin: 0 auto 10px;
}
.hero .slogan {
  display: inline-block; margin-top: 18px;
  padding: 10px 26px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 30px; font-size: .95rem; letter-spacing: 2px;
}
.hero-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 30px;
  font-size: 1rem; font-weight: 600; transition: all .25s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--earth); }
.btn-primary:hover { color: var(--earth); }
.btn-ghost { border: 1.5px solid #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ===== 数据条 ===== */
.stats { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 34px 20px; }
.stats-inner { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; text-align: center; }
.stat b { display: block; font-size: 2rem; color: var(--green); }
.stat span { color: var(--text-muted); font-size: .92rem; }

/* ===== 通用区块 ===== */
section.section { padding: 72px 20px; }
section.section:nth-of-type(even) { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker {
  display: inline-block; color: var(--green-light); font-size: .9rem;
  letter-spacing: 4px; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--earth); }
.section-head p { color: var(--text-muted); margin-top: 8px; }

/* ===== 品牌故事 ===== */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.story-text h3 { color: var(--green); font-size: 1.3rem; margin-bottom: 14px; }
.story-text p { margin-bottom: 12px; color: #444; }
.story-quote {
  border-left: 4px solid var(--gold); padding: 10px 16px; margin: 16px 0;
  background: var(--green-pale); border-radius: 0 8px 8px 0; color: var(--green);
  font-style: italic;
}
.story-img img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

/* ===== 六大保障 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 28px 24px; transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); transform: translateY(-4px); }
.feature-card .icon { font-size: 2rem; margin-bottom: 10px; }
.feature-card h3 { font-size: 1.1rem; color: var(--green); margin-bottom: 8px; }
.feature-card p { font-size: .92rem; color: var(--text-muted); }

/* ===== 产品 ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); transform: translateY(-4px); }
.product-card .badge {
  display: inline-block; margin: 14px 20px 0; padding: 3px 12px;
  background: var(--green-pale); color: var(--green); border-radius: 14px; font-size: .8rem;
}
.product-card h3 { margin: 8px 20px 0; color: var(--earth); }
.product-card p { margin: 8px 20px 20px; font-size: .92rem; color: var(--text-muted); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }

/* ===== 资讯列表 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); transform: translateY(-4px); }
.news-card > a { color: inherit; display: flex; flex-direction: column; flex: 1; }
.news-card > a:hover { text-decoration: none; }
.news-card img { width: 100%; height: 170px; object-fit: cover; }
.news-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { font-size: .8rem; color: var(--text-muted); margin-bottom: 6px; }
.news-card .meta .cat { color: var(--green-light); font-weight: 600; margin-right: 8px; }
.news-card h3 { font-size: 1.02rem; line-height: 1.5; margin-bottom: 8px; }
.news-card p { font-size: .88rem; color: var(--text-muted); }
.news-card .more { margin-top: auto; padding-top: 12px; color: var(--green); font-size: .88rem; font-weight: 600; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px 24px; margin-bottom: 14px; }
.faq-item h3 { font-size: 1.02rem; color: var(--earth); margin-bottom: 8px; }
.faq-item p { color: var(--text-muted); font-size: .95rem; }

/* ===== 承诺 ===== */
.promise { text-align: center; }
.promise .badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.promise .badges span {
  padding: 10px 22px; background: #fff; border: 1px solid var(--border);
  border-radius: 30px; font-size: .95rem;
}

/* ===== 页脚 ===== */
.site-footer { background: var(--earth); color: rgba(255,255,255,.85); padding: 56px 20px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h3 { color: #fff; margin-bottom: 12px; font-size: 1.1rem; }
.site-footer .desc { font-size: .9rem; opacity: .85; margin-bottom: 14px; }
.site-footer ul { list-style: none; font-size: .92rem; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px;
  font-size: .82rem; opacity: .65; text-align: center;
}

/* ===== 文章页 ===== */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 50px 20px 70px; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--green); }
.article-wrap h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: var(--earth); line-height: 1.4; margin-bottom: 14px; }
.article-meta { font-size: .88rem; color: var(--text-muted); margin-bottom: 30px; display: flex; gap: 18px; flex-wrap: wrap; }
.article-cover { border-radius: 12px; margin-bottom: 34px; }
.article-body h2 { font-size: 1.3rem; color: var(--green); margin: 34px 0 14px; }
.article-body h3 { font-size: 1.1rem; color: var(--earth); margin: 26px 0 10px; }
.article-body p { margin-bottom: 14px; color: #3a3a3a; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; color: #3a3a3a; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  border-left: 4px solid var(--gold); background: var(--green-pale);
  padding: 12px 18px; margin: 18px 0; border-radius: 0 8px 8px 0;
  color: var(--green); font-style: italic;
}
.article-body strong { color: var(--earth); }
.article-footer-nav {
  margin-top: 44px; padding-top: 24px; border-top: 1px dashed var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .92rem;
}
.contact-box {
  margin-top: 40px; background: var(--green-pale); border-radius: 12px;
  padding: 24px 28px; text-align: center;
}
.contact-box h2 { font-size: 1.15rem; color: var(--green); margin-bottom: 8px; }
.contact-box p { color: var(--text-muted); font-size: .95rem; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid, .product-grid, .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .feature-grid, .product-grid, .news-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .stats-inner { gap: 28px; }
}
