/* ============================================================
   云魁茶业 · 霍山黄芽企业官网
   纯静态站点样式 —— 全部本地资源，无外部依赖
   ============================================================ */

/* ---------- 本地字体（思源宋体子集，用于标题与品牌字） ---------- */
@font-face {
  font-family: "Noto Serif SC";
  src: url("../font/NotoSerifSC.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 变量 ---------- */
:root {
  --green-950: #16281f;
  --green-900: #1e352a;
  --green-800: #274234;
  --green-700: #2f5040;
  --green-600: #3d6851;
  --green-300: #9dbcaa;
  --green-100: #e2ece5;
  --gold: #b98a2f;
  --gold-dark: #96701f;
  --gold-light: #e8d5a8;
  --paper: #f8f6f0;
  --paper-dark: #efeae0;
  --ink: #2c2c26;
  --ink-soft: #5c5f55;
  --white: #ffffff;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 8px 30px rgba(30, 53, 42, 0.10);
  --shadow-lg: 0 16px 48px rgba(30, 53, 42, 0.16);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部通栏 ---------- */
.topbar {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a:hover { color: var(--gold-light); }
.topbar-right { display: flex; gap: 22px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 53, 42, 0.08);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(30, 53, 42, 0.10); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-cn {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: 4px;
}
.brand-en {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 8px; }
.main-nav a {
  padding: 8px 18px;
  font-size: 16px;
  color: var(--green-900);
  border-radius: 999px;
  transition: all 0.25s;
  position: relative;
}
.main-nav a:hover { color: var(--green-600); background: var(--green-100); }
.main-nav a.active { color: var(--white); background: var(--green-800); }

.nav-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; stroke: var(--green-900); }

/* ---------- 首页 HERO ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: url("../img/hero.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(22, 40, 31, 0.78) 0%, rgba(22, 40, 31, 0.42) 46%, rgba(22, 40, 31, 0.06) 100%);
}
.hero-content { position: relative; color: var(--white); max-width: 640px; padding: 80px 0; }
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(232, 213, 168, 0.65);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--gold-light); }
.hero-sub { font-size: 17px; opacity: 0.92; margin-bottom: 40px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 2px;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-green { background: var(--green-800); color: var(--white); }
.btn-green:hover { background: var(--green-700); transform: translateY(-2px); }
.btn-outline { border-color: var(--green-700); color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--white); }

/* ---------- 数字带 ---------- */
.stats-band { background: var(--green-900); color: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 44px 0;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1.2;
}
.stat-num span { font-size: 20px; margin-left: 2px; }
.stat-label { font-size: 14px; opacity: 0.82; letter-spacing: 2px; margin-top: 6px; }

/* ---------- 通用板块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  color: var(--green-900);
  letter-spacing: 3px;
  line-height: 1.4;
}
.section-desc { color: var(--ink-soft); margin-top: 14px; font-size: 15.5px; }

/* ---------- 关于（首页） ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-imgs { position: relative; }
.about-imgs .main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}
.about-imgs .sub-img {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 46%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-text .section-head { text-align: left; margin: 0 0 22px; }
.about-text p { color: var(--ink-soft); margin-bottom: 14px; text-align: justify; }
.about-quote {
  font-family: var(--serif);
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 18px;
  margin: 22px 0 30px;
  color: var(--green-800);
  font-size: 17px;
  font-weight: 600;
}

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* 产品卡 */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 4 / 4.4; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.product-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.product-spec { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.product-desc { font-size: 14px; color: var(--ink-soft); flex: 1; }
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(30, 53, 42, 0.16);
}
.price { color: #b03a2e; font-weight: 700; font-size: 22px; }
.price small { font-size: 13px; font-weight: 400; }
.price-note { font-size: 12.5px; color: var(--ink-soft); }

/* 工艺步骤 */
.craft-step { text-align: center; }
.craft-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.craft-step:hover .craft-icon { background: var(--green-800); }
.craft-icon svg { width: 44px; height: 44px; }
.craft-step:hover .craft-icon svg path { stroke: var(--gold-light); fill: var(--gold-light); }
.craft-name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--green-900); margin-bottom: 8px; letter-spacing: 2px; }
.craft-step p { font-size: 14px; color: var(--ink-soft); }

/* 图集 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(22, 40, 31, 0.82));
  color: var(--white);
  font-size: 14.5px;
  letter-spacing: 2px;
}

/* 新闻卡 */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img { aspect-ratio: 16 / 9; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }
.news-meta .cat { color: var(--gold-dark); font-weight: 600; }
.news-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.5;
  margin-bottom: 10px;
}
.news-excerpt { font-size: 14px; color: var(--ink-soft); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: 14px; color: var(--green-600); font-size: 13.5px; letter-spacing: 1px; }
.news-card:hover .news-more { color: var(--gold-dark); }

/* 承诺带 */
.promise-band { background: var(--green-950); color: var(--white); padding: 70px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.promise { text-align: center; padding: 26px 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); transition: all 0.3s; }
.promise:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(232, 213, 168, 0.5); }
.promise-ico { font-family: var(--serif); font-size: 34px; color: var(--gold-light); font-weight: 900; line-height: 1; margin-bottom: 14px; }
.promise h3 { font-size: 17px; letter-spacing: 2px; margin-bottom: 8px; }
.promise p { font-size: 13.5px; opacity: 0.75; }

/* ---------- 内页通用 ---------- */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(22, 40, 31, 0.72), rgba(22, 40, 31, 0.55));
}
.page-banner .container { position: relative; color: var(--white); text-align: center; }
.page-banner h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 12px;
}
.page-banner p { font-size: 15px; opacity: 0.85; letter-spacing: 2px; }
.crumb { margin: 26px 0 0; font-size: 13px; opacity: 0.7; }
.crumb a:hover { color: var(--gold-light); }

/* 时间线 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--green-100);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 44px 52px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-item:nth-child(odd)::before { right: -7px; }
.tl-item:nth-child(even)::before { left: -7px; }
.tl-year { font-family: var(--serif); font-size: 26px; font-weight: 900; color: var(--green-700); line-height: 1.2; }
.tl-title { font-size: 17px; font-weight: 700; color: var(--green-900); margin: 6px 0 8px; }
.tl-item p { font-size: 14px; color: var(--ink-soft); }

/* 荣誉墙 */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.honor-item {
  background: var(--white);
  border: 1px solid rgba(30, 53, 42, 0.10);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.3s;
}
.honor-item:hover { transform: translateY(-5px); }
.honor-ico {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.honor-item h3 { font-size: 16.5px; color: var(--green-900); margin-bottom: 6px; letter-spacing: 1px; }
.honor-item p { font-size: 13.5px; color: var(--ink-soft); }

/* 基地/工艺 图文块 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-img { order: 2; }
.split-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split-text .section-head { text-align: left; margin: 0 0 20px; }
.split-text p { color: var(--ink-soft); margin-bottom: 12px; text-align: justify; }
.check-list { margin-top: 20px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  top: 4px;
}

/* 产品筛选 */
.filter-bar { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 9px 26px;
  border-radius: 999px;
  border: 1px solid rgba(30, 53, 42, 0.25);
  background: transparent;
  color: var(--green-900);
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.25s;
  font-family: var(--sans);
}
.filter-btn:hover { border-color: var(--green-800); }
.filter-btn.active { background: var(--green-800); color: var(--white); border-color: var(--green-800); }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 30px;
  text-align: center;
}
.contact-card .ico {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.contact-card h3 { font-family: var(--serif); font-size: 19px; color: var(--green-900); margin-bottom: 10px; letter-spacing: 2px; }
.contact-card p { font-size: 14.5px; color: var(--ink-soft); }
.contact-card .big { font-size: 20px; color: var(--green-800); font-weight: 700; letter-spacing: 1px; }

.join-band {
  background: var(--green-900);
  border-radius: var(--radius);
  color: var(--white);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.join-band h2 { font-family: var(--serif); font-size: 28px; letter-spacing: 3px; margin-bottom: 14px; color: var(--gold-light); }
.join-band p { font-size: 14.5px; opacity: 0.85; }
.join-info { border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: 40px; }
.join-info li { margin-bottom: 14px; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.join-info .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, 0.72); padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--white); }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand .brand-cn { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 4px; }
.footer-brand .brand-en { display: block; font-size: 10px; color: var(--gold); letter-spacing: 2px; margin-top: 3px; }
.site-footer h4 {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: var(--serif);
}
.footer-links li { margin-bottom: 11px; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.site-footer address { font-style: normal; line-height: 2.1; }
.site-footer address i { color: var(--gold-light); font-style: normal; margin-right: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 30px;
  bottom: 36px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--gold); }
.back-top svg { width: 20px; height: 20px; }

/* 动效 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .gallery-grid, .honor-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .promise-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; }
  .about-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-img { order: 0; }
  .about-imgs .sub-img { right: 10px; }
  .join-band { grid-template-columns: 1fr; padding: 44px 36px; }
  .join-info { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 8px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 46px 40px; }
  .tl-item::before { left: 1px !important; right: auto; }
}

@media (max-width: 720px) {
  .header-inner { height: 68px; }
  .brand img { width: 44px; height: 44px; }
  .brand-cn { font-size: 20px; letter-spacing: 2px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 6px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.35s;
    z-index: 99;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 13px 10px; font-size: 17px; border-radius: var(--radius); }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .hero { min-height: 520px; }
  .hero-content { padding: 60px 0; }
  .grid-3, .gallery-grid, .honor-grid, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .about-imgs .sub-img { width: 52%; bottom: -20px; }
  .hero-btns .btn { padding: 12px 24px; }
  .stat-num { font-size: 32px; }
}
