/* ==========================================================================
   毓耀广新材料 · 企业官网样式（多页面版）
   主题：源于品牌 Logo（深蓝 #1B3A6A + 金色 #C69C4E + 亮蓝 #3B82F6）
   结构：变量 → 基础 → 组件 → 区块 → 响应式
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #143A66;        /* Logo 主深蓝（六边形 / Y 字母） */
  --primary-dark: #0C2747;   /* 加深蓝（渐变底 / 页脚） */
  --primary-soft: #2C5C9E;   /* 中蓝（渐变过渡） */
  --blue: #2F80ED;           /* 交互亮蓝：链接 / Tab 激活 */
  --blue-dark: #1F6FE0;      /* 亮蓝悬停/按下 */
  --blue-soft: #5B9BF0;      /* 亮蓝浅 */
  --accent: #C9A24B;         /* Logo 金节点：点缀（小标题 / 序号 / 圆点） */
  --accent-soft: #E4C77E;    /* 浅金 */
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-tint: #EAF1F8;
  --ink: #1C2B3A;
  --ink-2: #5A6B7B;
  --line: #DCE5EE;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(12, 39, 71, 0.08), 0 4px 14px rgba(12, 39, 71, 0.06);
  --shadow-md: 0 6px 24px rgba(12, 39, 71, 0.10);
  --container: 1100px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3 { line-height: 1.35; font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.15rem); }

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

.accent { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.35);
}
.btn-accent:hover { background: #B8923F; color: var(--primary-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 36, 66, 0.18);
}
.brand-logo {
  height: 100px;
  width: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.15;
  justify-content: center;
}
.brand-text strong { font-size: 1.5rem; color: var(--primary-dark); letter-spacing: 0.04em; font-weight: 700; }
.brand-text small { font-size: 0.92rem; color: var(--ink-2); letter-spacing: 0.2em; font-weight: 600; margin-top: 4px; }

.site-nav { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover { color: var(--primary); background: var(--bg-tint); }
.nav-link.active { color: var(--primary); background: var(--bg-tint); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero（首页） ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(47, 128, 237, 0.22), transparent 60%),
    radial-gradient(700px 380px at 6% 112%, rgba(201, 162, 75, 0.12), transparent 60%),
    linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-soft) 100%);
  color: var(--white);
  padding: 170px 0 110px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.hero-kicker {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art svg { width: min(420px, 100%); height: auto; }

/* ---------- 首页：左右结构（左 Hero + 右 最新动态） ---------- */
.hero.home-split {
  padding: 152px 0 96px;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}
.home-split-inner {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 56px;
  align-items: start;
  width: 100%;
}
.home-hero-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-cap {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.home-cap li {
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.06em;
}

.home-news-col {
  align-self: start;
  margin-top: 0;
  max-width: 340px;
  width: 100%;
  justify-self: end;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 22px 22px 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 440px;
}
.home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.home-news-head h2 {
  color: var(--white);
  font-size: 1.35rem;
  position: relative;
  padding-left: 14px;
}
.home-news-head h2::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 18px;
  border-radius: 3px;
  background: var(--accent);
}
.news-all { color: var(--accent-soft); font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.news-all:hover { color: var(--white); }

/* 首页动态卡片：在深色面板上用近白卡片，紧凑呈现 */
.home-news-col .news-list { max-width: none; margin: 0; gap: 12px; }
.home-news-col .news-card {
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
}
.home-news-col .news-date { width: 50px; height: 50px; }
.home-news-col .news-date .d { font-size: 1.2rem; }
.home-news-col .news-tag { margin-bottom: 6px; }
.home-news-col .news-title { font-size: 1rem; margin-bottom: 4px; }
.home-news-col .news-summary { font-size: 0.86rem; margin-bottom: 6px; }

/* 首页动态：视口裁切 + 向上循环滚动 */
.news-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}
.news-scroll-track {
  animation: newsScroll 16s linear infinite;
}
.news-scroll-track:hover { animation-play-state: paused; }
.news-set { display: flex; flex-direction: column; gap: 12px; }
@keyframes newsScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* ---------- 内页 Banner ---------- */
.page-hero {
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(59, 130, 246, 0.28), transparent 60%),
    linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-soft) 100%);
  color: var(--white);
  padding: 152px 0 74px;
  text-align: center;
}
.page-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--accent-soft);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 14px;
}
.page-hero p.sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ---------- Section 通用 ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 64px 0; }
.section-tint { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head h2 { margin-bottom: 14px; }
.section-sub { color: var(--ink-2); }

/* 首页简介区 */
.home-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: start; }
.home-intro p { margin-bottom: 14px; color: var(--ink-2); }
.home-intro b { color: var(--primary); }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}
.about-copy p { margin-bottom: 16px; color: var(--ink-2); }
.about-copy b { color: var(--primary); }
.about-copy h3 {
  font-size: 1.18rem;
  color: var(--primary-dark);
  margin: 30px 0 13px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.35;
}
.about-copy h3:first-child { margin-top: 0; }
.perceive {
  margin: 16px 0 4px;
  padding: 14px 16px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.65;
}
.perceive strong { color: var(--primary); font-weight: 700; margin-right: 6px; }

.capability-list { list-style: none; display: grid; gap: 14px; }
.capability-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.capability-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cap-icon {
  flex: none;
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--primary);
}
.capability-list strong { display: block; font-size: 1.02rem; color: var(--ink); }
.capability-list p { font-size: 0.88rem; color: var(--ink-2); }

.capability-wide { grid-template-columns: repeat(2, 1fr); }

/* ---------- 品牌故事 ---------- */
.story-body { max-width: 780px; margin: 0 auto 40px; }
.story-body p { margin-bottom: 16px; color: var(--ink-2); }
.story-body p:first-child { font-size: 1.12rem; font-weight: 600; color: var(--primary); }

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.story-card {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 22px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-char {
  display: inline-flex;
  width: 74px; height: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--primary-soft));
  color: var(--white);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.story-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.story-card p { color: var(--ink-2); font-size: 0.95rem; text-align: center; text-wrap: balance; }

.story-tagline {
  text-align: center;
  font-size: 1.12rem;
  color: var(--ink-2);
}
.story-tagline b { color: var(--accent); }

/* ---------- 产品体系 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.product-icon {
  width: 62px; height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--bg-tint);
  margin-bottom: 18px;
}
.product-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.product-desc { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 16px; }

.product-list {
  list-style: none;
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}
.product-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.product-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}
.product-app {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--ink-2);
}

/* ---------- 核心优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.adv-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(198, 156, 78, 0.12);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.adv-card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.adv-card p { color: var(--ink-2); font-size: 0.95rem; }

/* 使命愿景价值观 */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.mv-card {
  text-align: center;
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
}
.mv-card h3 {
  color: var(--accent-soft);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.mv-card p { color: rgba(255, 255, 255, 0.92); font-size: 0.97rem; }

/* 服务流程 */
.flow { text-align: center; }
.flow-label {
  font-size: 0.9rem;
  color: var(--ink-2);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.flow-steps {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.flow-steps li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 0.93rem;
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}
.flow-steps li:not(:last-child)::after {
  content: "→";
  margin-left: 12px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 新闻中心 ---------- */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.news-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.18s ease;
}
.news-tab:hover { border-color: var(--primary-soft); color: var(--primary); }
.news-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(15, 36, 66, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
}
.news-tab.active .tab-count { background: rgba(255, 255, 255, 0.22); }

.news-list { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.news-card {
  display: flex;
  gap: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.news-date {
  flex: none;
  width: 64px; height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--primary);
  line-height: 1.2;
}
.news-date .d { font-size: 1.5rem; font-weight: 800; }
.news-date .ym { font-size: 0.72rem; color: var(--ink-2); }

.news-main { flex: 1; min-width: 0; }
.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 8px;
}
.tag-company { background: rgba(27, 58, 106, 0.1); color: var(--primary); }
.tag-industry { background: rgba(198, 156, 78, 0.12); color: #8A6A2F; }

.news-title { font-size: 1.12rem; margin-bottom: 8px; }
.news-summary { font-size: 0.94rem; color: var(--ink-2); margin-bottom: 10px; }
.news-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.news-source { font-size: 0.8rem; color: var(--ink-2); }
.news-more { font-size: 0.88rem; font-weight: 600; }
.news-more:hover { color: var(--accent); }
.news-empty { text-align: center; color: var(--ink-2); padding: 40px 0; }

.news-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-top: 30px;
}

/* ---------- 联系 CTA（首页） ---------- */
.home-cta {
  background: linear-gradient(150deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  text-align: center;
  color: var(--white);
  padding: 52px 30px;
  box-shadow: var(--shadow-md);
}
.home-cta h2 { color: var(--white); margin-bottom: 10px; }
.home-cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 22px; font-size: 1.22rem; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci {
  flex: none;
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--primary);
}
.contact-list strong { display: block; font-size: 0.92rem; }
.contact-list p { color: var(--ink-2); font-size: 0.95rem; }
.contact-list a { color: var(--primary); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field label span { color: var(--accent); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(42, 90, 154, 0.15);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.form-tip { font-size: 0.9rem; min-height: 1.5em; margin-bottom: 10px; }
.form-tip.ok { color: #1f7a44; }
.form-tip.err { color: #c0392b; }
.form-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-2);
  text-align: center;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 44px 0 34px;
}
.footer-slogan {
  font-size: 1.12rem;
  color: var(--accent-soft);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 12px;
}
.footer-links a { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }
.footer-links a:hover { color: var(--accent-soft); }
.footer-brand { font-weight: 600; color: var(--white); margin-bottom: 6px; }
.footer-meta { font-size: 0.82rem; opacity: 0.75; }
.footer-beian { font-size: 0.82rem; opacity: 0.75; margin-top: 4px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer-beian a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-beian a:hover { color: var(--accent-soft); }
.beian-icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ---------- 美化新增（配图 / 纹理，大方向不变） ---------- */

/* 首页 Hero 主视觉概念图：半透明叠加，不挡文字 */
.hero.home-split { position: relative; overflow: hidden; }
.hero.home-split > .container { position: relative; z-index: 1; }
.hero.home-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/hero-bg.png") center/cover no-repeat;
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

/* 首页：三大产品方向预览卡 */
.home-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-prod-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  color: var(--ink);
}
.home-prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); color: var(--ink); }
.home-prod-card .home-prod-img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  background: var(--bg-tint);
}
.home-prod-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.home-prod-card p { color: var(--ink-2); font-size: 0.92rem; flex: 1; }
.home-prod-more { margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.home-prod-card:hover .home-prod-more { color: var(--accent); }

/* 内页 Banner 细微科技点阵纹理（轻量、不喧宾夺主） */
.page-hero { position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.30) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.6;
  pointer-events: none;
}

/* 产品卡配图 */
.product-card .product-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  background: var(--bg-tint);
}

/* 品牌故事意境图 */
.story-visual {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 8px 0 40px;
}

/* 联系页意境图 */
.contact-visual {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

/* ---------- 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product-card, .adv-card, .story-card, .capability-list li, .news-card { transition: none; }
  .btn:hover, .product-card:hover, .adv-card:hover, .story-card:hover, .news-card:hover { transform: none; }
  .news-scroll-track { animation: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 960px) {
  .home-split-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero.home-split { min-height: auto; padding: 138px 0 64px; }
  .home-hero-col { text-align: center; align-items: center; }
  .home-news-col { order: 2; }
  .home-cap { justify-content: center; }
  .hero-actions { justify-content: center; }
  .home-intro { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .home-prod-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .story-visual { height: 200px; }
  .contact-visual { height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 90px; }
  .page-hero { padding: 140px 0 64px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 120px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .site-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-link { padding: 12px 16px; font-size: 1.02rem; }

  .story-cards { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .capability-wide { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-steps li { width: min(320px, 100%); justify-content: center; }
  .flow-steps li:not(:last-child)::after { content: "↓"; margin: 0; }

  .news-card { flex-direction: column; gap: 14px; }
  .news-date { width: 100%; height: auto; flex-direction: row; gap: 10px; }
  .news-date .ym { font-size: 0.85rem; }

  .hero h1 { font-size: 2rem; }
}
