/* ============================================================
   瑞景园纺织加工厂 — 官网样式
   设计语言：靛蓝染缸 × 原棉米白 × 暖金纱线
   ============================================================ */

:root {
  /* 色彩 */
  --c-primary: #1E3A5C;
  --c-primary-deep: #14283F;
  --c-primary-soft: #2C4F7C;
  --c-accent: #C9A05B;
  --c-accent-deep: #A97F3D;
  --c-bg: #FAF8F3;
  --c-surface: #FFFFFF;
  --c-surface-alt: #F3F0E8;
  --c-text: #23272E;
  --c-text-2: #5A6270;
  --c-text-3: #8A919C;
  --c-line: #E5E0D5;
  --c-line-strong: #D2CBBE;
  --c-dark-line: rgba(255, 255, 255, 0.14);

  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;

  /* 间距 */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 88px;

  /* 圆角与阴影 */
  --r-s: 8px; --r-m: 12px; --r-l: 18px; --r-full: 999px;
  --sh-1: 0 1px 2px rgba(30, 58, 92, 0.05), 0 1px 3px rgba(30, 58, 92, 0.05);
  --sh-2: 0 6px 18px rgba(30, 58, 92, 0.08);
  --sh-3: 0 16px 40px rgba(30, 58, 92, 0.14);

  /* 布局 */
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--c-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--c-accent-deep); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--c-accent-deep); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-accent); }
.section-eyebrow { margin-bottom: var(--sp-3); }

.section { padding: var(--sp-9) 0; }
.section--cream { background: var(--c-bg); }
.section--alt { background: var(--c-surface-alt); }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3; font-weight: 700; letter-spacing: 0.01em;
  color: var(--c-primary-deep);
}
.section-title em { font-style: normal; color: var(--c-accent-deep); }
.section-desc { margin-top: var(--sp-4); font-size: 16.5px; color: var(--c-text-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border: 1px solid transparent; border-radius: var(--r-s);
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--sh-1); }
.btn--primary:hover { background: var(--c-primary-soft); box-shadow: var(--sh-2); transform: translateY(-2px); }
.btn--accent { background: var(--c-accent); color: var(--c-primary-deep); }
.btn--accent:hover { background: #D6B06E; box-shadow: var(--sh-2); transform: translateY(-2px); }
.btn--outline { border-color: var(--c-line-strong); color: var(--c-primary); background: transparent; }
.btn--outline:hover { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.btn--lg { padding: 15px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--c-primary-deep); }
.btn--light:hover { background: var(--c-bg); transform: translateY(-2px); box-shadow: var(--sh-2); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: var(--sp-6); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: 0.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  color: var(--c-primary-deep); font-size: 17px; font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.brand-name { line-height: 1.2; }
.brand-name small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0.3em; opacity: 0.75; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; display: block; padding: 9px 15px; border-radius: var(--r-s);
  font-size: 15px; font-weight: 500; opacity: 0.92;
  transition: opacity 0.2s, background 0.2s;
}
.nav-link:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.nav-link.active { opacity: 1; font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--c-accent);
}
.header-cta { margin-left: var(--sp-4); padding: 9px 20px; font-size: 14px; border-radius: var(--r-s); }

/* 实顶态（内页或滚动后） */
.site-header.is-solid,
.site-header.scrolled { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--c-text); border-bottom-color: var(--c-line); box-shadow: var(--sh-1); }
.site-header.is-solid .nav-link:hover,
.site-header.scrolled .nav-link:hover { background: var(--c-surface-alt); }
.site-header.is-solid .header-cta,
.site-header.scrolled .header-cta { background: var(--c-primary); color: #fff; }
.site-header.is-solid .header-cta:hover,
.site-header.scrolled .header-cta:hover { background: var(--c-primary-soft); }
.site-header:not(.is-solid):not(.scrolled) .header-cta { background: #fff; color: var(--c-primary-deep); }
.site-header:not(.is-solid):not(.scrolled) .header-cta:hover { background: var(--c-bg); }

/* 汉堡按钮 */
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid currentColor; border-radius: var(--r-s);
  background: transparent; cursor: pointer; position: relative; opacity: 0.85;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { content: ""; transform: translate(-50%, -6px); }
.nav-toggle span::after { content: ""; transform: translate(-50%, 6px); }
.nav-toggle.open span { opacity: 0; }
.nav-toggle.open span::before { transform: translate(-50%, 0) rotate(45deg); opacity: 1; }
.nav-toggle.open span::after { transform: translate(-50%, 0) rotate(-45deg); opacity: 1; }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 40, 63, 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--c-primary-deep);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(102deg, rgba(18, 36, 58, 0.92) 0%, rgba(20, 40, 63, 0.66) 46%, rgba(30, 58, 92, 0.28) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 56px) 0 88px; }
.hero-eyebrow { color: #E8C98F; }
.hero-eyebrow::before { background: #E8C98F; }
.hero-title {
  margin-top: var(--sp-5); max-width: 15em;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.22; font-weight: 800; letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(10, 22, 38, 0.35);
}
.hero-title em { font-style: normal; color: #E8C98F; }
.hero-lead { margin-top: var(--sp-5); max-width: 34em; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, 0.88); }
.hero-actions { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero-chips { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.hero-chips svg { width: 16px; height: 16px; color: #E8C98F; flex: none; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: var(--r-full);
  display: grid; place-items: start center; padding-top: 7px;
}
.hero-scroll::after { content: ""; width: 3px; height: 8px; border-radius: 3px; background: #E8C98F; animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 数据带 ---------- */
.stats { background: var(--c-bg); border-block: 1px solid var(--c-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--sp-6) var(--sp-5); text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--c-line); }
.stat-num { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.1; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.stat-num i { font-style: normal; color: var(--c-accent-deep); }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--c-text-2); letter-spacing: 0.04em; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-l);
  overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--c-line-strong); }

.service-card { padding: var(--sp-6) var(--sp-5); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #EDF2F9, #DCE6F2); color: var(--c-primary);
  margin-bottom: var(--sp-5); transition: background 0.35s, color 0.35s;
}
.service-icon svg { width: 27px; height: 27px; }
.card:hover .service-icon { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-soft)); color: #fff; }
.service-card h3 { font-size: 19px; color: var(--c-primary-deep); }
.service-card p { margin-top: var(--sp-3); font-size: 14.5px; color: var(--c-text-2); }
.service-tags { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 3px 12px; border-radius: var(--r-full); font-size: 12.5px;
  background: var(--c-surface-alt); color: var(--c-text-2); border: 1px solid var(--c-line);
}

/* ---------- 产品卡片 ---------- */
.product-card { display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-alt); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: var(--r-full);
  background: rgba(20, 40, 63, 0.78); color: #fff; font-size: 12px; letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.product-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 18px; color: var(--c-primary-deep); }
.product-spec { margin-top: 6px; font-size: 13px; color: var(--c-accent-deep); letter-spacing: 0.02em; }
.product-body p { margin-top: var(--sp-3); font-size: 14px; color: var(--c-text-2); flex: 1; }
.product-link {
  margin-top: var(--sp-4); display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--c-primary);
}
.product-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.product-link:hover { color: var(--c-accent-deep); }
.product-link:hover svg { transform: translateX(4px); }

/* ---------- 工艺流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-4); position: relative; }
.flow::before {
  content: ""; position: absolute; top: 33px; left: 4%; right: 4%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-line-strong) 0 10px, transparent 10px 18px);
}
.flow-step { position: relative; text-align: center; padding: 0 6px; }
.flow-num {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto var(--sp-4);
  border-radius: 50%; display: grid; place-items: center;
  background: var(--c-surface); border: 2px solid var(--c-line-strong);
  font-size: 20px; font-weight: 800; color: var(--c-primary);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.flow-step:hover .flow-num { border-color: var(--c-accent); color: var(--c-accent-deep); transform: translateY(-4px); box-shadow: var(--sh-2); }
.flow-step h4 { font-size: 16px; color: var(--c-primary-deep); }
.flow-step p { margin-top: 6px; font-size: 13px; color: var(--c-text-2); line-height: 1.6; }

/* ---------- 关于/车间 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-8); align-items: center; }
.split-media { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-3); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split-media .media-tag {
  position: absolute; left: 18px; bottom: 18px; padding: 8px 16px; border-radius: var(--r-s);
  background: rgba(255, 255, 255, 0.92); color: var(--c-primary-deep); font-size: 13px; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.split-text p + p { margin-top: var(--sp-4); }
.check-list { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--c-text-2); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--c-accent-deep); margin-top: 4px; }
.check-list strong { color: var(--c-text); font-weight: 600; }

.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.workshop-card { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3.6; }
.workshop-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.workshop-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 36, 58, 0.82) 0%, rgba(18, 36, 58, 0.12) 55%, transparent 100%); }
.workshop-card:hover img { transform: scale(1.06); }
.workshop-info { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.workshop-info h3 { font-size: 18px; }
.workshop-info p { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.82); }

/* ---------- 优势 ---------- */
.adv-card { padding: var(--sp-6) var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-l); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.adv-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--c-primary); color: #fff; margin-bottom: var(--sp-4); }
.adv-icon svg { width: 23px; height: 23px; }
.adv-card h3 { font-size: 17px; color: var(--c-primary-deep); }
.adv-card p { margin-top: var(--sp-3); font-size: 14px; color: var(--c-text-2); }

/* ---------- 新闻 ---------- */
.news-card .news-media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card .news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: var(--sp-5); }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--c-text-3); }
.news-cat { padding: 2px 10px; border-radius: var(--r-full); background: rgba(201, 160, 91, 0.16); color: var(--c-accent-deep); font-weight: 600; }
.news-body h3 { margin-top: var(--sp-3); font-size: 17px; line-height: 1.5; color: var(--c-primary-deep); transition: color 0.25s; }
.news-card:hover h3 { color: var(--c-primary-soft); }
.news-body p { margin-top: var(--sp-3); font-size: 14px; color: var(--c-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA 横幅 ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--c-primary-deep) 0%, var(--c-primary) 60%, var(--c-primary-soft) 100%); color: #fff; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-band::before { top: -170px; right: 8%; }
.cta-band::after { bottom: -200px; left: -80px; width: 420px; height: 420px; border-color: rgba(201, 160, 91, 0.18); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--sp-7); padding: var(--sp-8) 0; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; }
.cta-inner p { margin-top: var(--sp-4); color: rgba(255, 255, 255, 0.82); max-width: 46em; }
.cta-actions { margin-left: auto; display: flex; flex-direction: column; gap: var(--sp-3); flex: none; }
.cta-phone { font-size: 26px; font-weight: 800; letter-spacing: 0.02em; color: #E8C98F; white-space: nowrap; }
.cta-phone small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.6); margin-bottom: 2px; }

/* ---------- 内页页头 ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 72px) 0 64px;
  background: linear-gradient(120deg, var(--c-primary-deep), var(--c-primary) 70%);
  color: #fff; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }
.crumb a:hover { color: #fff; }
.crumb svg { width: 13px; height: 13px; }
.page-hero h1 { margin-top: var(--sp-4); font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; }
.page-hero .lead { margin-top: var(--sp-4); max-width: 42em; color: rgba(255, 255, 255, 0.82); font-size: 16px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom, var(--c-accent), var(--c-line-strong)); }
.timeline-item { position: relative; padding: 0 0 var(--sp-7) 0; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -31px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-surface); border: 3px solid var(--c-accent);
}
.timeline-year { font-size: 15px; font-weight: 800; color: var(--c-accent-deep); letter-spacing: 0.06em; }
.timeline-item h3 { margin-top: 4px; font-size: 18px; color: var(--c-primary-deep); }
.timeline-item p { margin-top: 6px; font-size: 14.5px; color: var(--c-text-2); max-width: 46em; }

/* ---------- 资质 ---------- */
.cert-chips { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cert-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 500; color: var(--c-primary-deep);
}
.cert-chip svg { width: 18px; height: 18px; color: var(--c-accent-deep); flex: none; }

/* ---------- 过滤器 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--sp-6); }
.filter-btn {
  padding: 8px 20px; border-radius: var(--r-full); border: 1px solid var(--c-line-strong);
  background: var(--c-surface); font-size: 14px; font-weight: 500; color: var(--c-text-2);
  cursor: pointer; transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-btn.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.product-item.hide { display: none; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--sp-8); align-items: start; }
.contact-cards { display: grid; gap: var(--sp-4); }
.contact-item { display: flex; gap: var(--sp-4); padding: var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-m); }
.contact-item .ci-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--c-bg); color: var(--c-primary); border: 1px solid var(--c-line); }
.contact-item .ci-icon svg { width: 21px; height: 21px; }
.contact-item h3 { font-size: 14px; color: var(--c-text-3); font-weight: 500; letter-spacing: 0.06em; }
.contact-item p { margin-top: 3px; font-size: 16.5px; font-weight: 600; color: var(--c-primary-deep); line-height: 1.5; }
.contact-item p small { display: block; font-size: 13px; font-weight: 400; color: var(--c-text-2); margin-top: 2px; }

.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-l); padding: var(--sp-6); box-shadow: var(--sh-1); }
.form-card h3 { font-size: 20px; color: var(--c-primary-deep); }
.form-card > p { margin-top: 6px; font-size: 14px; color: var(--c-text-2); }
.form-grid { margin-top: var(--sp-5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--c-text-2); }
.form-field label i { font-style: normal; color: #C0392B; margin-left: 2px; }
.form-field input, .form-field textarea, .form-field select {
  padding: 11px 14px; border: 1px solid var(--c-line-strong); border-radius: var(--r-s);
  background: var(--c-surface); font-size: 14.5px; transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(30, 58, 92, 0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { margin-top: var(--sp-4); font-size: 12.5px; color: var(--c-text-3); }
.form-success {
  display: none; margin-top: var(--sp-4); padding: 14px 18px; border-radius: var(--r-s);
  background: #EDF7ED; border: 1px solid #BFE3C0; color: #1E7A32; font-size: 14px;
}
.form-success.show { display: block; }

.map-panel {
  position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 300px;
  background:
    radial-gradient(circle at 68% 38%, rgba(201, 160, 91, 0.16), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--c-line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--c-line) 39px 40px),
    var(--c-surface-alt);
  border: 1px solid var(--c-line); display: grid; place-items: center; text-align: center; padding: var(--sp-6);
}
.map-pin { width: 54px; height: 54px; margin: 0 auto var(--sp-4); border-radius: 50% 50% 50% 4px; background: var(--c-primary); display: grid; place-items: center; color: #fff; transform: rotate(-45deg); box-shadow: var(--sh-2); }
.map-pin svg { width: 24px; height: 24px; transform: rotate(45deg); }
.map-panel h3 { color: var(--c-primary-deep); font-size: 18px; }
.map-panel p { margin-top: 8px; font-size: 14px; color: var(--c-text-2); max-width: 30em; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-primary-deep); color: rgba(255, 255, 255, 0.72); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-7); padding: var(--sp-8) 0 var(--sp-7); }
.footer-brand .brand { color: #fff; }
.footer-brand > p { margin-top: var(--sp-4); font-size: 14px; line-height: 1.8; max-width: 30em; }
.footer-col h4 { font-size: 15px; color: #fff; letter-spacing: 0.06em; margin-bottom: var(--sp-4); }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col span { font-size: 14px; transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: #E8C98F; }
.footer-col svg { width: 15px; height: 15px; color: #E8C98F; flex: none; }
.footer-bottom { border-top: 1px solid var(--c-dark-line); padding: var(--sp-4) 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom .fb-row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-bottom .fb-note { max-width: 72em; margin: 0 auto; text-align: center; line-height: 1.75; color: rgba(255, 255, 255, 0.42); }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.85); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--c-primary); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-2); opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease), background 0.25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-primary-soft); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; } .reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .section { padding: var(--sp-8) 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .contact-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: var(--sp-6); }
  .flow::before { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
  .cta-actions { margin-left: 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .container { width: min(100% - 36px, var(--container)); }
  .site-header { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--c-text); border-bottom-color: var(--c-line); }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
    width: min(78vw, 320px); padding: calc(var(--header-h) + 24px) var(--sp-6) var(--sp-6);
    background: var(--c-surface); box-shadow: -12px 0 40px rgba(20, 40, 63, 0.18);
    transform: translateX(102%); transition: transform 0.4s var(--ease);
    display: flex; flex-direction: column; margin-left: 0;
  }
  .site-nav.open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--c-accent-deep); }
  .header-cta { display: none; }
  .hero { min-height: 86vh; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stat { border: 1px solid var(--c-line); border-radius: var(--r-m); margin: 6px; padding: var(--sp-5) var(--sp-3); }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: var(--sp-5); padding: var(--sp-7) 0; }
  .footer-bottom .fb-row { flex-direction: column; align-items: flex-start; }
  .footer-bottom .fb-links { gap: 12px 16px; }
  .news-row summary { flex-wrap: wrap; gap: var(--sp-3); padding: var(--sp-4); }
  .news-row-title { flex-basis: 100%; order: 3; }
  .news-row-body { padding: 0 var(--sp-4) var(--sp-5); }
  .hero-actions .btn { flex: 1; }
}
