/* =========================================================
   全国茶叶安全信息中心 · 茶安中心 官网主样式
   品牌色：茶安红（#c8161d / #a30f15）+ 暖金（#d4a857）+ 茶绿点缀（#3f6b3a）
   ========================================================= */

:root {
  --primary: #c8161d;
  --primary-light: #e23b41;
  --primary-dark: #8a0f15;
  --accent: #d4a857;
  --accent-light: #ecc987;
  --tea-green: #3f6b3a;
  --ink: #1d1d1f;
  --text: #2d2a26;
  --muted: #6b6862;
  --bg: #ffffff;
  --bg-soft: #fbf6ee;
  --bg-cream: #f6efde;
  --line: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(200, 22, 29, 0.10);
  --shadow-md: 0 8px 24px rgba(200, 22, 29, 0.14);
  --shadow-lg: 0 16px 40px rgba(200, 22, 29, 0.20);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body { min-height: 100vh; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.homepage { min-height: 100vh; background: var(--bg); overflow-x: hidden; }

/* ===================== 顶部红色品牌横幅 ===================== */
.brand-banner {
  position: relative;
  background: linear-gradient(180deg, #d11b22 0%, #c8161d 55%, #a30f15 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.brand-banner::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #d4a857 0%, #f3deaa 50%, #d4a857 100%);
  z-index: 2;
}
.brand-banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}
.brand-stamp {
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "楷体", serif;
  font-size: 320px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}
.brand-stamp-2 { left: auto; right: -1%; top: 60%; font-size: 280px; }
.brand-leaf {
  position: absolute;
  right: 8%;
  top: 12%;
  width: 220px; height: 220px;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.10), transparent 70%);
  filter: blur(2px);
}

.brand-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 32px;
  text-align: center;
}

.brand-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-cfsn-logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.20);
}
.brand-divider {
  display: inline-block;
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.45);
}
.brand-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.brand-slogan {
  margin: 16px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 6px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.30);
}
.brand-slogan::before,
.brand-slogan::after {
  content: '·';
  color: var(--accent-light);
  margin: 0 14px;
  font-size: 28px;
  vertical-align: middle;
}

/* ===================== 主导航 ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}

.nav-quick-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.quick-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: #555;
  font-size: 13px;
  border-radius: 8px;
  transition: color .25s, background .25s, transform .25s;
}
.quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: color .25s;
}
.quick-link:hover {
  color: var(--primary);
  background: rgba(200, 22, 29, 0.05);
}
.quick-link:hover .quick-icon { color: var(--primary); }
.quick-link.cert-link {
  color: var(--ink);
  font-weight: 600;
}
.quick-link.cert-link .quick-icon { color: var(--primary); }

.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  height: 40px;
  border-radius: 22px;
  overflow: hidden;
  background: #f3f3f3;
  border: 1px solid #e6e6e6;
  transition: border-color .25s, box-shadow .25s;
  flex: 0 0 320px;
  max-width: 320px;
}
.nav-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,22,29,0.12);
  background: #fff;
}
.nav-search input {
  flex: 1; min-width: 0;
  border: none; outline: none;
  background: transparent;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink);
}
.nav-search input::placeholder { color: #aaa; }
.nav-search-btn {
  width: 56px;
  height: 100%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.nav-search-btn:hover { background: var(--primary-dark); }

.nav-menu-trigger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: none; background: transparent;
  color: #333; border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-menu-trigger:hover { background: rgba(0,0,0,0.05); color: var(--primary); }

/* 红色子导航 */
.subnav-wrap {
  background: linear-gradient(90deg, #c8161d 0%, #d11b22 50%, #c8161d 100%);
  position: relative;
}
.subnav-wrap::before,
.subnav-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.subnav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
}
.subnav-link {
  position: relative;
  padding: 0 28px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background .25s;
}
.subnav-link::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%);
}
.subnav-link:first-child::before { display: none; }
.subnav-link:hover { background: rgba(0,0,0,0.18); }
.subnav-link.active { background: rgba(0,0,0,0.22); }

/* ===================== 移动端菜单 ===================== */
.mobile-menu-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-menu-backdrop.show { opacity: 1; }
.mobile-menu-panel {
  position: fixed;
  top: 0; right: 0;
  width: 280px; max-width: 85vw;
  height: 100vh;
  z-index: 1101;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-menu-panel.show { transform: translateX(0); }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-title { font-size: 18px; font-weight: 600; color: #333; }
.mobile-menu-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: #666; border-radius: 8px;
}
.mobile-menu-close:hover { background: rgba(0,0,0,0.05); color: var(--primary); }
.mobile-menu-links { padding: 12px 0; display: flex; flex-direction: column; }
.mobile-menu-link {
  padding: 14px 20px;
  font-size: 16px;
  color: #333;
  transition: background .2s, color .2s;
}
.mobile-menu-link:hover { background: rgba(200,22,29,0.06); color: var(--primary); }

/* ===================== Hero 头条 + 要闻 ===================== */
.hero-section {
  background: var(--bg-soft);
  padding: 32px 0;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

/* 轮播 */
.hero-carousel {
  position: relative;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: #2a2a2a;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.carousel-track { position: relative; height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.slide-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
.carousel-slide.active .slide-image { transform: scale(1.06); }

.slide-bg-1 {
  background-image:
    radial-gradient(ellipse at 30% 30%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 70%),
    linear-gradient(135deg, #6f3220 0%, #8b4513 50%, #3a1f12 100%);
}
.slide-bg-1::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 35% 50%, rgba(255,200,150,0.18) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(212,168,87,0.20) 0%, transparent 40%);
}
.slide-bg-2 {
  background-image:
    linear-gradient(135deg, #1f3a2c 0%, #2c4d28 45%, #3f6b3a 90%, #5a8a4e 100%);
}
.slide-bg-2::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212,168,87,0.18) 0%, transparent 45%);
}
.slide-bg-3 {
  background-image:
    linear-gradient(135deg, #8a0f15 0%, #c8161d 45%, #e23b41 100%);
}
.slide-bg-3::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(0,0,0,0.25) 0%, transparent 50%);
}

.slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}
.slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 28px 28px;
  color: #fff;
  z-index: 2;
}
.slide-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  background: var(--primary);
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.slide-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.slide-meta {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity .25s, background .25s;
}
.hero-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--primary); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.dot {
  width: 8px; height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background .25s, width .25s;
  padding: 0;
}
.dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* 要闻列表 */
.hero-news { display: flex; }
.news-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(200,22,29,0.08);
  display: flex;
  flex-direction: column;
}
.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #f0e7d8;
  padding-bottom: 12px;
  margin-bottom: 14px;
  position: relative;
}
.news-card-header::before {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 80px; height: 2px;
  background: var(--primary);
}
.news-card-title-main {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
}
.news-card-more {
  font-size: 13px;
  color: #999;
  transition: color .25s;
}
.news-card-more:hover { color: var(--primary); }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list-headline li { padding: 10px 0; border-bottom: 1px dashed #eee; }
.news-list-headline li:last-child { border-bottom: none; }
.news-list-headline a { display: block; }
.news-headline {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 6px;
  transition: color .25s;
}
.news-list-headline a:hover .news-headline { color: var(--primary-dark); }
.news-headline-sm {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 6px;
}
.news-snippet {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 4px;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid #f0e7d8;
}
.news-list-grid li { padding: 6px 0; }
.news-list-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
  transition: color .25s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list-grid a:hover { color: var(--primary); }
.dot-mark {
  flex-shrink: 0;
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* ===================== 茶源地理 主题横幅 ===================== */
.quality-banner {
  background: linear-gradient(180deg, #f4ecd8 0%, #e9deb8 100%);
  border-top: 1px solid #d8c89c;
  border-bottom: 1px solid #d8c89c;
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
}
.quality-banner::before,
.quality-banner::after {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  background-image:
    radial-gradient(circle at 8% 50%, rgba(120,80,30,0.06) 0%, transparent 6%),
    radial-gradient(circle at 92% 50%, rgba(120,80,30,0.06) 0%, transparent 6%);
  pointer-events: none;
}
.quality-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}
.quality-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px; height: 70px;
  background: rgba(255,255,255,0.7);
  border: 2px solid var(--primary);
  border-radius: 6px;
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "楷体", serif;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.stamp-line { font-size: 16px; line-height: 1.2; letter-spacing: 2px; }
.quality-stamp-r { background: rgba(255,255,255,0.7); }

.quality-leaves {
  display: flex;
  gap: 14px;
  align-items: center;
}
.leaf-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #a87544 0%, #5b3014 80%);
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.25);
}
.leaf-dot:nth-child(2) {
  background: radial-gradient(circle at 35% 30%, #c79462 0%, #6b3a18 80%);
}
.leaf-dot:nth-child(3) {
  background: radial-gradient(circle at 35% 30%, #8c5b2f 0%, #432104 80%);
}

.quality-text {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 700;
  color: #4a2a14;
  letter-spacing: 6px;
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "楷体", "PingFang SC", serif;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* ===================== 通用 section ===================== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.5px;
}

/* ===================== 业务版块 6 卡片 ===================== */
.modules-section { background: #fff; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-tile {
  position: relative;
  display: block;
  padding: 36px 28px 32px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  isolation: isolate;
}
.module-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform .8s ease;
}
.module-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.module-tile:hover::before { transform: scale(1.05); }

.theme-red {
  color: #fff;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(255,255,255,0.16) 0%, transparent 55%),
    linear-gradient(135deg, #c8161d 0%, #a30f15 100%);
  box-shadow: 0 8px 24px rgba(200,22,29,0.20);
}
.theme-cream {
  color: #4a2a14;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.55) 0%, transparent 60%),
    linear-gradient(135deg, #f5e9c8 0%, #e7cf94 60%, #d4a857 100%);
  box-shadow: 0 8px 24px rgba(212,168,87,0.22);
}
.theme-deep {
  color: #fff;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(212,168,87,0.18) 0%, transparent 55%),
    linear-gradient(135deg, #2a1410 0%, #5b2a1e 60%, #8a3a26 100%);
  box-shadow: 0 8px 24px rgba(90,42,30,0.30);
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.18);
  color: currentColor;
}
.theme-cream .tile-icon { background: rgba(200,80,20,0.10); color: var(--primary); }
.tile-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}
.tile-desc {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.92;
}
.tile-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background .25s, transform .25s;
}
.theme-cream .tile-arrow {
  background: rgba(200,80,20,0.10);
  border-color: rgba(200,80,20,0.20);
  color: var(--primary);
}
.module-tile:hover .tile-arrow { background: rgba(255,255,255,0.28); transform: translateX(4px); }
.theme-cream:hover .tile-arrow { background: rgba(200,80,20,0.18); }

/* ===================== 双栏新闻：茶叶安全 / 人物 ===================== */
.news-double { background: var(--bg-cream); }
.news-double .section-container { padding-top: 60px; padding-bottom: 60px; }
.news-double-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.news-block {
  background: #fff;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-top: 3px solid var(--primary);
}
.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.block-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.title-bar {
  display: inline-block;
  width: 5px; height: 22px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}
.block-more { font-size: 13px; color: #999; transition: color .25s; }
.block-more:hover { color: var(--primary); }

.block-feature {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}
.feature-image {
  flex-shrink: 0;
  width: 160px; height: 110px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.feature-bg-safety {
  background: linear-gradient(135deg, #c8161d 0%, #8a0f15 100%);
}
.feature-bg-safety::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(255,255,255,0.25);
  font-weight: 700;
}
.feature-bg-people {
  background: linear-gradient(135deg, #4a2a14 0%, #8a5a32 100%);
}
.feature-bg-people::after {
  content: '茶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "STKaiti", "KaiTi", "楷体", serif;
  font-size: 60px;
  color: rgba(255,255,255,0.20);
  font-weight: 700;
}
.feature-text { flex: 1; min-width: 0; }
.feature-text h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
}
.feature-text p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.block-list { list-style: none; padding: 0; margin: 0; }
.block-list li { border-bottom: 1px dashed #eee; }
.block-list li:last-child { border-bottom: none; }
.block-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: #444;
  transition: color .25s, padding-left .25s;
}
.block-list a { gap: 8px; }
.block-list a:hover { color: var(--primary); padding-left: 4px; }
.block-list .li-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.li-dot {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}
.block-list time {
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 12px;
  color: #999;
}

/* ===================== 数据统计 ===================== */
.stats-section {
  position: relative;
  background: linear-gradient(180deg, #c8161d 0%, #a30f15 100%);
  color: #fff;
  overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.10) 0%, transparent 35%),
    radial-gradient(circle at 88% 80%, rgba(212,168,87,0.18) 0%, transparent 38%);
  pointer-events: none;
}
.stats-section .section-container { position: relative; z-index: 1; }
.stats-eyebrow { color: var(--accent-light); }
.stats-title { color: #fff; }
.stats-title::after { background: linear-gradient(90deg, var(--accent-light), #fff); }
.stats-subtitle { color: rgba(255,255,255,0.85); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-top: 24px;
}
.stat-item {
  text-align: center;
  padding: 20px 14px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat-item:nth-child(3n) { border-right: none; }
.stat-number {
  font-size: 0;
  margin-bottom: 8px;
}
.stat-number .num {
  font-size: 56px;
  font-weight: 700;
  font-family: -apple-system, "SF Pro Display", BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.stat-number .unit {
  font-size: 18px;
  color: var(--accent-light);
  margin-left: 4px;
  font-weight: 500;
}
.stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 1px;
}

/* ===================== 茶安风采 + 行业推荐 ===================== */
.showcase-section { background: #fff; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.showcase-card {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0e7d8;
  transition: transform .3s ease, box-shadow .3s ease;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}
.showcase-image {
  flex-shrink: 0;
  width: 220px;
  position: relative;
  overflow: hidden;
}
.showcase-bg-1 {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.4)),
    linear-gradient(135deg, #2c4d28 0%, #5a8a4e 100%);
}
.showcase-bg-2 {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.4)),
    linear-gradient(135deg, #6f3220 0%, #b46a3a 100%);
}
.showcase-bg-3 {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.4)),
    linear-gradient(135deg, #c8161d 0%, #e23b41 100%);
}
.showcase-bg-4 {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.4)),
    linear-gradient(135deg, #4a2a14 0%, #8a5a32 100%);
}
.showcase-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}
.showcase-body {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-body h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  transition: color .25s;
}
.showcase-card:hover .showcase-body h4 { color: var(--primary); }
.showcase-body p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.showcase-meta {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.5px;
}

/* ===================== 认证查询 ===================== */
.cert-section {
  background: linear-gradient(135deg, #fbf6ee 0%, #f4e6c8 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.cert-section::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,87,0.30) 0%, transparent 70%);
  pointer-events: none;
}
.cert-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.cert-eyebrow { color: var(--primary); }
.cert-title { color: var(--ink); margin-bottom: 18px; }
.cert-title::after { margin-left: 0; }
.cert-subtitle {
  font-size: 16px;
  line-height: 1.85;
  color: #4a4640;
  margin: 0 0 24px;
}
.cert-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cert-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #4a4640;
}
.cert-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}

.cert-form {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(200,22,29,0.12);
  border: 1px solid rgba(200,22,29,0.10);
}
.cert-field { margin-bottom: 18px; }
.cert-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
.cert-submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 4px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 8px 20px rgba(200,22,29,0.30);
  transition: transform .25s, box-shadow .25s;
}
.cert-submit-btn::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 2.6s ease-in-out infinite;
}
.cert-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200,22,29,0.40); }
.cert-tip {
  margin: 14px 0 0;
  font-size: 12px;
  color: #999;
  text-align: center;
}

@keyframes btn-shine {
  0%   { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(350%) skewX(-20deg); }
}

/* ===================== 关于我们 ===================== */
.about-section {
  position: relative;
  padding: 96px 24px 104px;
  background: linear-gradient(180deg, #fbf6ee 0%, #f4e6c8 50%, #fbf6ee 100%);
  overflow: hidden;
  scroll-margin-top: 80px;
}
.about-container {
  position: relative; z-index: 1;
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.about-subtitle {
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.about-title {
  font-size: 36px; font-weight: 700;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: 2px;
}
.about-content { text-align: left; padding: 0 8px; }
.about-paragraph {
  font-size: 16px; line-height: 1.95;
  color: #4a4640;
  margin: 0 0 18px;
  letter-spacing: 0.4px;
}
.about-paragraph--lead {
  font-size: 18px; color: #2d2a26; font-weight: 500;
}
.about-paragraph:last-child { margin-bottom: 0; }
.about-paragraph strong { color: var(--primary); }
.about-bg-decoration {
  position: absolute;
  top: -20%; right: -15%;
  width: 50%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(200,22,29,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ===================== 联系我们 ===================== */
.contact-section { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: center;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fbf6ee 0%, #f4e6c8 100%);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: transform .25s, box-shadow .25s;
}
.contact-info-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(200,22,29,0.12);
}
.ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
}
.ci-text { display: flex; flex-direction: column; gap: 2px; }
.ci-label { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.ci-value { font-size: 15px; color: var(--ink); font-weight: 600; }

.join-form-card {
  position: relative;
  padding: 40px 44px 36px;
  background: linear-gradient(145deg, #ffffff 0%, #fbf6ee 100%);
  border-radius: 18px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.02),
    0 12px 40px rgba(200,22,29,0.10);
  border: 1px solid rgba(200,22,29,0.08);
}
.join-form { display: flex; flex-direction: column; gap: 18px; }
.form-item label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: #555;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
.input-wrap {
  position: relative;
  display: flex; align-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  transition: box-shadow .25s ease;
  padding-left: 14px;
}
.input-wrap:hover { box-shadow: 0 0 0 1px rgba(200,22,29,0.30); }
.input-wrap:focus-within { box-shadow: 0 0 0 2px rgba(200,22,29,0.45); }
.input-icon { display: inline-flex; color: var(--primary); margin-right: 8px; }
.input-wrap input,
.input-wrap select {
  flex: 1; min-width: 0;
  height: 46px;
  border: none; outline: none;
  font-size: 15px;
  background: transparent;
  padding: 8px 14px 8px 4px;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.input-wrap input::placeholder { color: #aaa; font-size: 14px; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 36px; }

.form-error {
  margin: 6px 0 0 4px;
  font-size: 12px;
  color: #d9534f;
  min-height: 14px;
}

.join-submit-btn {
  position: relative; overflow: hidden;
  margin-top: 8px;
  width: 100%;
  padding: 16px 24px;
  font-size: 16px; font-weight: 600;
  color: #fff;
  letter-spacing: 4px;
  border: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 8px 20px rgba(200,22,29,0.30);
  transition: transform .25s ease, box-shadow .25s ease;
}
.join-submit-btn::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 2.6s ease-in-out infinite;
}
.join-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200,22,29,0.40); }
.join-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ===================== 页脚 ===================== */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 60px 24px 24px;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo-wrap {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%;
  overflow: hidden;
}
.footer-logo-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
.footer-desc-line { font-size: 14px; line-height: 1.6; margin: 0; }
.footer-desc-brand { font-size: 18px; font-weight: 600; color: #fff; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-column h4 {
  color: #fff; font-size: 16px; font-weight: 600;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--primary);
}
.footer-column a {
  display: block;
  color: #999;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color .25s ease;
}
@media (hover: hover) {
  .footer-column a:hover { color: var(--accent-light); }
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #333;
}
.footer-bottom p { margin: 0 0 8px; font-size: 13px; color: #999; }
.beian-info { margin-top: 8px; }
.beian-link {
  color: #999;
  font-size: 13px;
  transition: color .25s ease;
}
.beian-link:hover { color: var(--accent-light); text-decoration: underline; }
.beian-sep { margin: 0 8px; color: #555; }

/* ===================== 回到顶部 ===================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(200,22,29,0.85);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .25s;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--primary); }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-carousel { height: 360px; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .news-double-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .cert-container { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-container { padding: 0 14px; height: 64px; gap: 12px; }
  .nav-quick-menu { display: none; }
  .nav-search { flex: 1; max-width: none; }
  .nav-menu-trigger { display: flex; }

  .subnav { padding: 0 8px; gap: 0; height: 44px; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav-link { padding: 0 16px; font-size: 14px; flex-shrink: 0; }

  .brand-banner-inner { padding: 22px 18px 26px; }
  .brand-cfsn-logo { height: 44px; width: 44px; padding: 4px; }
  .brand-title { font-size: 20px; letter-spacing: 2px; }
  .brand-divider { display: none; }
  .brand-slogan { font-size: 15px; letter-spacing: 3px; margin-top: 12px; }
  .brand-slogan::before, .brand-slogan::after { margin: 0 6px; font-size: 18px; }
  .brand-stamp { font-size: 220px; }

  .hero-section { padding: 18px 0; }
  .hero-container { padding: 0 14px; gap: 14px; }
  .hero-carousel { height: 240px; border-radius: 10px; }
  .slide-caption { padding: 16px 18px; }
  .slide-title { font-size: 16px; }
  .news-card { padding: 16px 16px 12px; border-radius: 10px; }
  .news-card-title-main { font-size: 18px; }
  .news-headline { font-size: 16px; }
  .news-list-grid { grid-template-columns: 1fr; }

  .quality-banner { padding: 24px 14px; }
  .quality-banner-inner { gap: 10px; }
  .quality-stamp { width: 50px; height: 50px; }
  .stamp-line { font-size: 12px; }
  .quality-leaves { gap: 8px; }
  .leaf-dot { width: 10px; height: 10px; }
  .quality-text { letter-spacing: 3px; white-space: normal; text-align: center; }

  .section-container { padding: 56px 16px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; }

  .modules-grid { grid-template-columns: 1fr; gap: 16px; }
  .module-tile { padding: 28px 22px 26px; }
  .tile-title { font-size: 19px; }

  .news-double .section-container { padding-top: 40px; padding-bottom: 40px; }
  .news-block { padding: 18px 18px; }
  .block-title { font-size: 19px; }
  .block-feature { flex-direction: column; gap: 12px; }
  .feature-image { width: 100%; height: 160px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .stat-item { padding: 14px 6px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.16); padding-bottom: 18px; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .stat-number .num { font-size: 40px; }
  .stat-number .unit { font-size: 14px; }

  .showcase-card { flex-direction: column; }
  .showcase-image { width: 100%; height: 160px; }
  .showcase-body { padding: 18px; }

  .cert-section { padding: 56px 16px; }
  .cert-form { padding: 26px 20px; border-radius: 14px; }

  .about-section { padding: 64px 18px 72px; }
  .about-title { font-size: 26px; }
  .about-paragraph { font-size: 15px; line-height: 1.85; }
  .about-paragraph--lead { font-size: 16px; }

  .join-form-card { padding: 28px 22px 24px; border-radius: 14px; }
  .contact-info-item { padding: 14px 16px; }

  .footer { padding: 48px 18px 22px; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .footer-column a { font-size: 13px; margin-bottom: 10px; }

  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 420px) {
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .brand-title { font-size: 18px; }
}

@media (min-width: 769px) {
  .mobile-menu-backdrop, .mobile-menu-panel { display: none !important; }
}
