/* ============================================================
   柒果果农场 · 前台样式
   设计原则：明亮、简洁、清晰（绿色自然系企业风）
   ============================================================ */
:root {
  --green: #2E9E4F;
  --green-dark: #1F7A3A;
  --green-deep: #16301F;
  --green-light: #EAF5EC;
  --green-soft: #F5F9F5;
  --orange: #F59F00;
  --orange-deep: #E8890C;
  --ink: #17233B;
  --gray: #5B6B7C;
  --gray-light: #8A99A8;
  --line: #E3EAE3;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 14px rgba(23, 54, 31, .08);
  --shadow-lg: 0 14px 34px rgba(23, 54, 31, .16);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 11px 26px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--green);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.24); border-color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-light:hover { background: var(--green-light); border-color: var(--green-light); color: var(--green-dark); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn-outline:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-light ~ .btn-outline { color: #fff; border-color: rgba(255,255,255,.75); }
.btn-light ~ .btn-outline:hover { background: rgba(255,255,255,.16); border-color: #fff; box-shadow: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { display: block; line-height: 0; }
.logo-mark svg { border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 21px; letter-spacing: .5px; color: var(--ink); }
.logo-text small { font-size: 11px; color: var(--gray-light); letter-spacing: 1.6px; }

.main-nav { display: flex; gap: 8px; flex: 1; }
.main-nav a {
  padding: 8px 16px;
  font-size: 16px;
  color: var(--ink);
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.main-nav a:hover { background: var(--green-light); color: var(--green-dark); }
.main-nav a.active { background: var(--green); color: #fff; font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: background .18s;
}
.phone-pill:hover { background: #DDF0E1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; height: 580px; overflow: hidden; background: var(--green-deep); }
.hero-slides { height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 42, 24, .62) 0%, rgba(13, 42, 24, .28) 46%, rgba(13, 42, 24, .05) 100%);
}
.hero-caption {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: var(--container);
}
.hero-caption h1 {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.hero-caption p { font-size: 19px; opacity: .94; margin-bottom: 34px; letter-spacing: 1px; }
.hero-actions { display: flex; gap: 16px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.42); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero-dots span {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.45);
  transition: background .25s, width .25s;
}
.hero-dots span.is-active { background: #fff; width: 44px; }

/* ---------- 数字亮点 ---------- */
.stats { background: var(--green-deep); color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.18);
}
.stat-item strong { display: block; font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: 1px; }
.stat-item strong i { font-style: normal; color: #A8E063; }
.stat-item span { font-size: 14px; opacity: .85; letter-spacing: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-tinted { background: var(--green-soft); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}
.section-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 4px;
  margin-bottom: 6px;
}
.section-title { font-size: 32px; font-weight: 700; letter-spacing: 1px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--green);
  white-space: nowrap;
}
.link-more:hover { color: var(--green); }

/* ---------- 农场简介 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-media { position: relative; }
.intro-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.intro-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--orange);
}
.intro-badge strong { font-size: 16px; }
.intro-badge span { font-size: 13px; color: var(--gray); }
.intro-text { font-size: 16px; color: var(--gray); margin: 18px 0 20px; }
.intro-points { margin: 0 0 30px; display: grid; gap: 12px; }
.intro-points li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  font-weight: 500;
}
.intro-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E9E4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .22s, box-shadow .22s;
  display: block;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; aspect-ratio: 1 / .78; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255,255,255,.92);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.product-info { padding: 20px 22px 22px; }
.product-info h3 { font-size: 19px; margin-bottom: 8px; }
.product-info > p { font-size: 14px; color: var(--gray); min-height: 44px; }
.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.product-price em { font-style: normal; font-size: 24px; font-weight: 800; color: var(--orange-deep); }
.product-price span { font-size: 13px; color: var(--gray-light); }
.product-price b {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.product-card:hover .product-price b { background: var(--green); color: #fff; }

.empty-tip { text-align: center; color: var(--gray-light); padding: 48px 0 12px; font-size: 15px; }

/* ---------- 分类筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  transition: all .18s;
}
.filter-btn:hover { border-color: var(--green); color: var(--green-dark); }
.filter-btn.is-active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }

/* ---------- 照片墙 ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-item:hover img { transform: scale(1.06); }
.photo-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  background: linear-gradient(transparent, rgba(10, 30, 16, .72));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.photo-item:hover figcaption { opacity: 1; transform: none; }

/* ---------- 首页公告 ---------- */
.news-home-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
}
.news-lead {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.news-lead:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-lead-media { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; }
.news-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.pin-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 2px;
}
.news-lead-body { padding: 22px 24px 24px; }
.news-lead-body time { font-size: 13px; color: var(--gray-light); }
.news-lead-body h3 { font-size: 21px; margin: 6px 0 8px; line-height: 1.45; }
.news-lead-body p { font-size: 14.5px; color: var(--gray); }
.news-read { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--green-dark); }

.news-side { display: grid; gap: 18px; align-content: start; }
.news-row {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.news-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-row-media { width: 150px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; aspect-ratio: 4 / 3; }
.news-row-media img { width: 100%; height: 100%; object-fit: cover; }
.news-row-body { min-width: 0; }
.news-row-meta { display: flex; align-items: center; gap: 10px; }
.pin-badge-sm { position: static; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: 1px; }
.news-row-meta time { font-size: 12.5px; color: var(--gray-light); }
.news-row-body h3 {
  font-size: 16.5px;
  margin: 4px 0 6px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row-body p { font-size: 13.5px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 58px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 27px; letter-spacing: 1px; margin-bottom: 6px; }
.cta-inner p { font-size: 15px; opacity: .92; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.86); margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr;
  gap: 40px;
  padding: 58px 24px 46px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo strong { font-size: 19px; color: #fff; letter-spacing: 1px; }
.footer-brand p { font-size: 14px; margin-bottom: 8px; letter-spacing: 1px; }
.footer-sub { opacity: .66; font-size: 13.5px; line-height: 1.8; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
}
.footer-col a { display: block; font-size: 14px; padding: 5px 0; opacity: .82; transition: opacity .18s, color .18s; }
.footer-col a:hover { opacity: 1; color: #A8E063; }
.footer-col p { font-size: 13.5px; padding: 5px 0; opacity: .82; }
.fc-label {
  display: inline-block;
  color: #A8E063;
  font-weight: 700;
  margin-right: 10px;
  min-width: 32px;
}
.wechat-name { font-size: 15px; color: #A8E063; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; opacity: .72; }
.footer-bottom a:hover { color: #A8E063; }

/* ---------- 内页窄横幅 ---------- */
.page-hero {
  background:
    linear-gradient(rgba(18, 46, 28, .68), rgba(18, 46, 28, .68)),
    url("/static/uploads/seed/hero-1.jpg") center 38% / cover no-repeat;
  color: #fff;
  padding: 74px 0;
  text-align: center;
}
.page-hero h1 { font-size: 34px; letter-spacing: 4px; margin-bottom: 10px; }
.page-hero-title-sm { font-size: 27px !important; letter-spacing: 2px; }
.page-hero-crumb { font-size: 13.5px; opacity: .85; letter-spacing: 1px; }
.page-hero-crumb i { margin: 0 8px; font-style: normal; opacity: .6; }
.page-hero-crumb a:hover { color: #A8E063; text-decoration: underline; }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.about-sticky { position: sticky; top: 100px; display: grid; gap: 22px; }
.about-sticky .section-title { margin-bottom: 2px; }
.about-lead { color: var(--green-dark); font-weight: 600; letter-spacing: 1px; }
.about-media img { width: 100%; height: 260px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-body p { font-size: 16px; color: #3D4B5C; margin-bottom: 18px; }
.about-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.about-badges div {
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.about-badges strong { display: block; font-size: 16px; color: var(--green-dark); margin-bottom: 2px; }
.about-badges span { font-size: 13px; color: var(--gray); }

/* ---------- 时间线 ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: tl;
}
.timeline li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.timeline li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 44px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--green);
}
.timeline strong { display: block; font-size: 26px; color: var(--green); font-weight: 800; margin-bottom: 10px; }
.timeline h3 { font-size: 16.5px; margin-bottom: 6px; }
.timeline p { font-size: 13.5px; color: var(--gray); }

/* ---------- 新闻列表页 ---------- */
.news-list { display: grid; gap: 22px; }
.news-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-item-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 2.7; }
.news-item-media img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.news-item-meta { display: flex; align-items: center; gap: 10px; }
.news-item-meta time { font-size: 13px; color: var(--gray-light); }
.news-item-body h2 { font-size: 20px; margin: 8px 0; line-height: 1.45; }
.news-item-body > p { color: var(--gray); font-size: 14.5px; }
.news-item .news-read { margin-top: 12px; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  transition: all .18s;
}
.pagination a:hover { border-color: var(--green); color: var(--green-dark); }
.pagination .is-current { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }

/* ---------- 文章页 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
}
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow);
}
.article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.article-meta time { font-size: 13.5px; color: var(--gray-light); }
.article-head h1 { font-size: 28px; line-height: 1.5; margin-bottom: 14px; }
.article-summary {
  font-size: 15px;
  color: var(--gray);
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.article-cover { width: 100%; border-radius: var(--radius-sm); margin-bottom: 26px; }
.article-body p { font-size: 16px; color: #2C3B4E; margin-bottom: 18px; line-height: 2; }
.article-next {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-next span { font-size: 13px; color: var(--gray-light); white-space: nowrap; }
.article-next strong { font-size: 15px; color: var(--green-dark); flex: 1; min-width: 0; }
.article-next em { color: var(--green); font-style: normal; }

.article-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.aside-card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: 2px; }
.aside-lead { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.aside-phone {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.aside-sub { font-size: 12.5px; color: var(--gray-light); margin-bottom: 18px; }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card-wechat { grid-column: span 2; }
.contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h3 { font-size: 15px; color: var(--gray); font-weight: 600; margin-bottom: 4px; }
.contact-card p { font-size: 14.5px; font-weight: 600; line-height: 1.6; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 23px; letter-spacing: 1px; }
.form-sub { font-size: 14px; color: var(--gray); margin: 8px 0 26px; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { font-size: 14px; font-weight: 600; }
.contact-form label > span i { color: #E05252; font-style: normal; }
.contact-form input, .contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  outline: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 158, 79, .14);
}
.form-success { text-align: center; padding: 46px 0 26px; }
.form-success h3 { font-size: 22px; margin: 18px 0 8px; }
.form-success p { color: var(--gray); font-size: 14.5px; margin-bottom: 26px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 110px 0 130px; }
.notfound strong {
  display: block;
  font-size: 120px;
  line-height: 1;
  color: var(--green-light);
  -webkit-text-stroke: 2px var(--green);
  margin-bottom: 18px;
}
.notfound h1 { font-size: 26px; margin-bottom: 10px; }
.notfound p { color: var(--gray); margin-bottom: 30px; }

/* ---------- 移动端兜底：禁止横向溢出 ---------- */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .intro-grid, .about-grid, .news-home-grid, .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .about-sticky, .article-aside { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article { padding: 30px 26px; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; gap: 16px; }
  .logo-text strong { font-size: 18px; }
  .logo-text small { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 16px; }
  .nav-toggle { display: flex; }
  .phone-pill { display: none; }

  .hero { height: 440px; }
  .hero-caption h1 { font-size: 30px; }
  .hero-caption p { font-size: 16px; margin-bottom: 24px; }
  .hero-arrow { display: none; }
  .hero-actions .btn { padding: 11px 20px; font-size: 14px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat-item strong { font-size: 30px; }
  .stat-item + .stat-item::before { display: none; }

  .section { padding: 54px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .section-title { font-size: 25px; }
  .intro-media img { height: 300px; }
  .intro-badge { left: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .timeline { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .news-item-media { aspect-ratio: 16/8; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card-wechat { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px 30px; }
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 26px; }
  .cta-inner { justify-content: center; text-align: center; }

  /* 触屏增强：更大的点按目标与更紧凑的留白 */
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero { height: 520px; height: 74svh; min-height: 420px; }
  .hero-caption h1 { font-size: 28px; }
  .btn { padding: 12px 22px; }
  .news-item-media img, .intro-media img { height: 100%; }
}

/* ---------- 小屏手机（≤480px）精调 ---------- */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero { height: 470px; height: 82svh; min-height: 400px; }
  .hero-caption h1 { font-size: 24px; }
  .hero-caption p { font-size: 14px; margin-bottom: 18px; }
  .hero-actions .btn { padding: 11px 18px; font-size: 13.5px; }
  .hero-dots { bottom: 14px; }
  .section { padding: 36px 0; }
  .section-title { font-size: 21px; }
  .section-head p { font-size: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 0; padding: 26px 16px; }
  .stat-item strong { font-size: 24px; }
  .stat-item span { font-size: 12px; }
  .intro-media img { height: 220px; }
  .check-list li { font-size: 14px; }
  .product-card .p-name { font-size: 15px; }
  .photo-grid { gap: 10px; }
  .news-meta, .n-meta { font-size: 12px; }
  .page-hero { padding: 36px 0; }
  .page-hero h1 { font-size: 22px; }
  .contact-card { padding: 18px 16px; }
  .cta-inner { padding: 28px 18px; }
  .cta-inner h2 { font-size: 20px; }
  .footer-grid { padding: 32px 16px 24px; gap: 22px; }
  .footer-bottom { font-size: 12px; }
}
