/* ============================================
   鲜膳荟 · 预制菜品牌官网
   暖调米白 + 砖红餐饮视觉体系
   ============================================ */

@font-face {
  font-family: 'SmileySans';
  src: url('../fonts/SmileySans-Oblique.ttf.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf6ef;
  --bg-deep: #f3ecdf;
  --surface: #ffffff;
  --ink: #2b2118;
  --ink-soft: #5c5044;
  --muted: #8a7d6c;
  --brand: #b83a24;
  --brand-dark: #93291b;
  --brand-soft: #f7e4de;
  --gold: #d9a441;
  --line: #e9dfd0;
  --dark: #241a12;
  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 14px 40px rgba(43, 33, 24, 0.1);
  --shadow-lg: 0 24px 70px rgba(43, 33, 24, 0.16);
  --font-display: 'SmileySans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* ---------- 通用元件 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-deep); }
.section-dark { background: var(--dark); color: #f2e9dc; }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-desc { color: var(--ink-soft); font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(184, 58, 36, 0.32);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(184, 58, 36, 0.4); }
.btn-ghost { border-color: rgba(43, 33, 24, 0.25); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: #fdf8f0; color: var(--brand-dark); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(43, 33, 24, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.brand-slogan { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav-list a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-list a.is-active { color: var(--brand); font-weight: 600; }
.nav-list a.is-active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.16), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}
.hero-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 58, 36, 0.45); }
  60% { box-shadow: 0 0 0 8px rgba(184, 58, 36, 0); }
}
.hero-title {
  font-size: clamp(40px, 5.6vw, 62px);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 10px;
  background: rgba(217, 164, 65, 0.4);
  z-index: -1;
  border-radius: 4px;
}
.hero-desc {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual .hero-img {
  border-radius: 36px 36px 36px 8px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.hero-badge {
  position: absolute;
  left: -34px;
  bottom: 34px;
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-badge .num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--brand);
  line-height: 1;
}
.hero-badge .txt { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 数据条 ---------- */

.stats-band { background: var(--dark); color: #f2e9dc; padding: 54px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  color: var(--gold);
  line-height: 1.1;
}
.stat-item .label { font-size: 14px; color: #b7a893; margin-top: 6px; letter-spacing: 0.08em; }
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(242, 233, 220, 0.14);
}

/* ---------- 优势卡片 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 58, 36, 0.3);
}
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--brand);
}
.feature-card h3 { font-size: 21px; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 产品卡片 ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-card.is-hidden { display: none; }
.product-thumb { position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.07); }
.product-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(36, 26, 18, 0.72);
  backdrop-filter: blur(6px);
  color: #f7efe2;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.product-body { padding: 22px 22px 24px; }
.product-name { font-size: 19px; margin-bottom: 8px; }
.product-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.product-price { font-family: var(--font-display); font-size: 21px; color: var(--brand); }
.product-price small { font-size: 12.5px; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.product-spec { font-size: 12.5px; color: var(--muted); }

/* ---------- 筛选条 ---------- */

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(184, 58, 36, 0.3);
}

/* ---------- 工艺流程 ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-item {
  position: relative;
  padding: 34px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.process-item::before {
  content: '0' counter(step);
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--brand-soft);
  position: absolute;
  top: 18px;
  right: 22px;
  line-height: 1;
  -webkit-text-stroke: 1px var(--brand);
  color: transparent;
  opacity: 0.85;
}
.process-item h3 { font-size: 19px; margin-bottom: 10px; }
.process-item p { font-size: 14px; color: var(--ink-soft); }
.process-item .p-icon { color: var(--brand); margin-bottom: 16px; }

/* ---------- 图文分屏 ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.split-body h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 20px; }
.split-body p { color: var(--ink-soft); margin-bottom: 16px; font-size: 16px; }
.check-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-list svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }

/* ---------- 新闻卡片 ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-date {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.news-title { font-size: 18.5px; line-height: 1.5; margin-bottom: 12px; }
.news-excerpt {
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ---------- 新闻列表页 ---------- */

.news-list { display: grid; gap: 28px; }
.news-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-row .news-thumb { aspect-ratio: auto; height: 100%; min-height: 220px; }
.news-row .news-body { padding: 32px 34px 32px 0; }
.news-row .news-excerpt { -webkit-line-clamp: 4; font-size: 14.5px; }

/* ---------- 时间轴 ---------- */

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--brand), var(--gold));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--brand);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brand);
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 18px; margin-bottom: 8px; }
.timeline-item p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 品质板块 ---------- */

.quality-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quality-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.quality-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.quality-card:hover img { transform: scale(1.06); }
.quality-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 26, 18, 0.05) 30%, rgba(36, 26, 18, 0.86) 92%);
}
.quality-body { position: relative; z-index: 1; padding: 30px 32px; }
.quality-body .q-tag {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.92);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.quality-body h3 { font-size: 22px; margin-bottom: 10px; }
.quality-body p { font-size: 14px; color: rgba(255, 255, 255, 0.85); }

.cert-band {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.cert-chip svg { color: var(--brand); }

/* ---------- 招商合作 ---------- */

.coop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.coop-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.coop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.coop-card h3 { font-size: 19px; margin: 18px 0 10px; }
.coop-card p { font-size: 14px; color: var(--ink-soft); }
.coop-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  color: var(--brand);
}

.support-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.support-item {
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.support-item .s-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.support-item h3 { font-size: 17px; margin-bottom: 6px; }
.support-item p { font-size: 13.5px; color: var(--ink-soft); }

.contact-band {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 28px;
  color: #fff;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-band::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.contact-band h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.contact-band p { color: rgba(255, 255, 255, 0.82); font-size: 15.5px; }
.contact-lines { display: grid; gap: 16px; position: relative; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
}
.contact-line svg { flex-shrink: 0; opacity: 0.9; }
.contact-line strong { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.03em; font-weight: normal; }

/* ---------- CTA 横幅 ---------- */

.cta-banner {
  background: var(--dark);
  border-radius: 28px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #f2e9dc;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: -100px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 58, 36, 0.35), transparent 70%);
}
.cta-banner h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 12px; }
.cta-banner p { color: #b7a893; font-size: 15.5px; max-width: 34em; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ---------- 页头横幅（内页） ---------- */

.page-hero {
  position: relative;
  padding: 88px 0 72px;
  background: var(--bg-deep);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 58, 36, 0.1), transparent 65%);
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 50px); margin-bottom: 16px; position: relative; }
.page-hero .lead { font-size: 17px; color: var(--ink-soft); max-width: 40em; position: relative; }
.breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 页脚 ---------- */

.site-footer {
  background: var(--dark);
  color: #b7a893;
  padding: 72px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
}
.footer-brand .brand-name { color: #f2e9dc; font-size: 26px; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 26em; line-height: 1.9; }
.footer-col h4 {
  color: #f2e9dc;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14px; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  align-items: flex-start;
}
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(242, 233, 220, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #857760;
}

/* ---------- 返回顶部 ---------- */

.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(184, 58, 36, 0.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s;
  z-index: 90;
}
.back-top.is-show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--brand-dark); }

/* ---------- 滚动入场 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-badge { left: 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .coop-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-band { grid-template-columns: 1fr; padding: 48px 40px; }
  .news-row { grid-template-columns: 280px 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 13px 14px; font-size: 16px; }
  .nav-list a.is-active::after { display: none; }
  .hero { padding: 56px 0 76px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .stat-item + .stat-item::before { display: none; }
  .feature-grid,
  .product-grid,
  .news-grid,
  .coop-grid,
  .support-list,
  .quality-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .news-row .news-thumb { min-height: 200px; }
  .news-row .news-body { padding: 0 26px 28px; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-badge { padding: 12px 18px; left: 12px; bottom: 18px; }
  .contact-band { padding: 40px 28px; }
}
