/* ==========================================================================
   青岛千奥精密工业有限公司 — 全局样式（工业商务风）
   参考风格：白底 + 深蓝主色 #16509b + 全屏大图 Banner + 大号数据 + 产品卡片墙
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --brand: #16509b;          /* 工业深蓝 主色 */
  --brand-dark: #0e3d7a;     /* 深一档 */
  --brand-light: #2b6fc4;    /* 亮一档 */
  --brand-pale: #eaf1fa;     /* 极浅蓝 背景 */
  --accent: #c9a227;         /* 金色点缀 */

  --ink: #1c2330;            /* 主文字 近黑 */
  --ink-2: #3d4757;          /* 次级文字 */
  --ink-3: #8a93a3;          /* 弱化文字 */
  --line: #e3e8ef;           /* 边框线 */
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-dark: #10141c;        /* 深色区块 */

  --maxw: 1280px;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 8px 30px rgba(16, 40, 80, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 40, 80, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }
.center { text-align: center; }

/* 中英文小标题（参考站风格） */
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.section-title { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 14px; color: var(--ink); }
.section-title .hl { color: var(--brand); }
.section-sub { color: var(--ink-2); font-size: 16.5px; max-width: 760px; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* 标题下的装饰短线 */
.title-line { width: 54px; height: 3px; background: var(--brand); margin: 18px 0 26px; }
.center .title-line { margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 46px; }
.center .section-head { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; font-size: 15px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: all 0.28s var(--ease); letter-spacing: 0.02em;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(22, 80, 155, 0.5); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-outline-light:hover { background: #fff; color: var(--brand); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow 0.3s;
}
.nav.is-scrolled { box-shadow: 0 4px 24px rgba(16, 40, 80, 0.09); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 30px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  width: 42px; height: 42px; background: var(--brand); display: grid; place-items: center; flex-shrink: 0;
}
.logo__mark svg { width: 24px; height: 24px; color: #fff; }
/* 附件提供的整版 logo 图（深蓝方块 + 千奥精密 + 英文） */
.logo__img { display: block; height: 50px; width: auto; }
.footer .logo__img { height: 44px; }
/* 图标 + 文字组合 logo */
.logo__mark { display: block; height: 46px; width: auto; }
.footer .logo__mark { height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.18; }
.logo__text strong { font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; }
.logo__text small { font-size: 10px; color: #7d8ca3; letter-spacing: 0.16em; margin-top: 3px; }
.logo__text--light strong { color: #fff; }
.logo__text--light small { color: rgba(255, 255, 255, 0.72); }
.logo__name { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: 0.01em; }
.logo__name small { display: block; font-size: 10px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.14em; margin-top: 3px; text-transform: uppercase; }
.nav__menu { display: flex; align-items: center; gap: 18px; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 17px; font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  position: relative; transition: color 0.22s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 2px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease);
}
.nav__links a:hover { color: var(--brand); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--brand); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__toggle {
  display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line);
  cursor: pointer; padding: 0; place-items: center;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background 0.2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 全屏 Banner 轮播（亮色版） ---------- */
.banner { position: relative; height: 100vh; min-height: 560px; max-height: 860px; overflow: hidden; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.slide.is-active { opacity: 1; }
/* 照片原样清晰显示：不用全幅渐变遮罩，文字可读性交给白色卡片 */
.slide::before { content: none; }
/* 无外部图片时的浅色渐变兜底 */
.slide--1 { background-image: linear-gradient(120deg, #eaf1fa 0%, #f7fafd 55%, #dce9f7 100%); }
.slide--2 { background-image: linear-gradient(120deg, #eef4fb 0%, #ffffff 50%, #e2edf8 100%); }
.slide--3 { background-image: linear-gradient(120deg, #e8f0fa 0%, #f5f9fd 55%, #dce9f7 100%); }
.slide__grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(22, 80, 155, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 80, 155, 0.07) 1px, transparent 1px);
  background-size: 70px 70px;
}
.slide__grid { display: none; }
.slide__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
/* 文字白色半透明卡片：保证照片清晰的同时文字可读 */
.slide__card {
  display: inline-block;
  max-width: 820px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 44px 56px 48px;
  box-shadow: 0 18px 50px rgba(13, 38, 76, 0.16);
}
.slide__tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brand); margin-bottom: 20px; }
.slide h1 { color: var(--ink); font-size: clamp(30px, 4.6vw, 58px); line-height: 1.22; max-width: 18em; margin-bottom: 22px; letter-spacing: 0.01em; }
/* 日文/英文标题较长，适当缩小避免难看换行 */
html[lang="ja"] .slide h1, html[lang="en"] .slide h1 { font-size: clamp(26px, 3.1vw, 42px); max-width: 22em; }
.slide p { color: var(--ink-2); font-size: 17px; max-width: 620px; margin-bottom: 34px; }
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 轮播控制点 */
.banner__dots { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 12px; }
.banner__dots button {
  width: 34px; height: 4px; border: none; padding: 0; cursor: pointer; background: rgba(22, 80, 155, 0.22); transition: background 0.3s;
}
.banner__dots button.is-active { background: var(--brand); }
.banner__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px;
  border: 1px solid rgba(22, 80, 155, 0.28); background: rgba(255, 255, 255, 0.78); color: var(--brand);
  cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background 0.25s;
}
.banner__arrow:hover { background: #fff; }
.banner__arrow--prev { left: 30px; }
.banner__arrow--next { right: 30px; }
.banner__arrow svg { width: 20px; height: 20px; }

/* 页面内页 Hero（非首页） */
.pagehead {
  padding: calc(var(--nav-h) + 74px) 0 62px; position: relative; color: #fff; overflow: hidden;
  background-image: linear-gradient(120deg, #0d3b73 0%, #16509b 55%, #2b6fc4 100%);
}
.pagehead::after {
  content: ""; position: absolute; inset: 0; opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 70px 70px;
}
.pagehead__inner { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); margin-bottom: 12px; }
.pagehead p { color: rgba(255, 255, 255, 0.8); font-size: 17px; max-width: 720px; }
.breadcrumb { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 数据条 ---------- */
.stats-bar { background: var(--brand); color: #fff; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 44px 26px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.stat-cell:last-child { border-right: none; }
.stat-cell__num { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: 0.01em; }
.stat-cell__num small { font-size: 0.5em; font-weight: 600; margin-left: 2px; }
.stat-cell__label { font-size: 14.5px; color: rgba(255, 255, 255, 0.84); margin-top: 8px; }

/* ---------- 公司简介区 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-figure { position: relative; }
.about-figure__main {
  aspect-ratio: 4 / 3; background-image: linear-gradient(135deg, #16509b, #2b6fc4);
  position: relative; overflow: hidden;
}
.about-figure__main::after {
  content: ""; position: absolute; inset: 0; opacity: 0.3;
  background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 46px 46px;
}
.about-figure__main svg { position: absolute; inset: 0; margin: auto; width: 42%; height: 42%; color: rgba(255, 255, 255, 0.9); z-index: 2; }
.about-figure__badge {
  position: absolute; right: -22px; bottom: -22px; background: var(--brand); color: #fff;
  padding: 24px 30px; box-shadow: var(--shadow-lg);
}
.about-figure__badge b { display: block; font-size: 34px; line-height: 1; }
.about-figure__badge span { font-size: 13px; opacity: 0.85; }
.check-list { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.check-list svg { width: 21px; height: 21px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }

/* ---------- 产品卡片墙 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  border: 1px solid var(--line); background: #fff; overflow: hidden; transition: all 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-card__img {
  aspect-ratio: 1 / 1; background: var(--bg-soft); display: grid; place-items: center; position: relative; overflow: hidden;
}
.prod-card__img::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(22,80,155,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(22,80,155,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.prod-card__img svg { width: 56px; height: 56px; color: var(--brand); position: relative; z-index: 2; transition: transform 0.35s var(--ease); }
.prod-card:hover .prod-card__img svg { transform: scale(1.12); }
.prod-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prod-card__body h3 { font-size: 17.5px; margin-bottom: 8px; }
.prod-card__body p { font-size: 14px; color: var(--ink-2); flex: 1; }
.prod-card__more { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.prod-card:hover .prod-card__more { gap: 11px; }
.prod-card__more { transition: gap 0.25s; }

/* ---------- 应用九宫格 ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app-card {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff; background-image: linear-gradient(160deg, #16509b, #0e3d7a);
  transition: transform 0.35s var(--ease);
}
.app-card:nth-child(2) { background-image: linear-gradient(160deg, #1d3f6b, #10233f); }
.app-card:nth-child(3) { background-image: linear-gradient(160deg, #2b6fc4, #16509b); }
.app-card:nth-child(4) { background-image: linear-gradient(160deg, #123056, #16509b); }
.app-card:nth-child(5) { background-image: linear-gradient(160deg, #16509b, #2b6fc4); }
.app-card:nth-child(6) { background-image: linear-gradient(160deg, #0e3d7a, #1d3f6b); }
.app-card:nth-child(7) { background-image: linear-gradient(160deg, #2b6fc4, #123056); }
.app-card:nth-child(8) { background-image: linear-gradient(160deg, #10233f, #2b6fc4); }
.app-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0.22; transition: opacity 0.4s;
  background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 34px 34px;
}
.app-card:hover { transform: translateY(-6px); }
.app-card:hover::after { opacity: 0.4; }
.app-card__icon { position: relative; z-index: 2; width: 44px; height: 44px; margin-bottom: 14px; }
.app-card__icon svg { width: 100%; height: 100%; color: #fff; }
.app-card h3 { position: relative; z-index: 2; color: #fff; font-size: 18px; margin-bottom: 6px; }
.app-card p { position: relative; z-index: 2; font-size: 13.5px; color: rgba(255, 255, 255, 0.82); }

/* ---------- 新闻列表 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border: 1px solid var(--line); background: #fff; overflow: hidden; transition: all 0.3s var(--ease); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.news-card__img {
  aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--brand-pale), #dfeaf7);
  display: grid; place-items: center; position: relative;
}
.news-card__img svg { width: 44px; height: 44px; color: var(--brand); opacity: 0.65; }
.news-card__date {
  position: absolute; left: 0; top: 0; background: var(--brand); color: #fff; padding: 8px 14px; font-size: 13px; font-weight: 700;
}
.news-card__body { padding: 22px 24px 26px; }
.news-card__body h3 { font-size: 17px; margin-bottom: 10px; }
.news-card__body p { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--brand); }

/* ---------- 深色 CTA 条 ---------- */
.cta-dark { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.cta-dark::before {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-dark__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 62px 0; }
.cta-dark h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); margin-bottom: 10px; }
.cta-dark p { color: rgba(255, 255, 255, 0.75); font-size: 16px; }
.cta-dark__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 通用卡片 / 图文 ---------- */
.card { background: #fff; border: 1px solid var(--line); padding: 32px; height: 100%; transition: all 0.3s var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.card__icon { width: 54px; height: 54px; background: var(--brand-pale); display: grid; place-items: center; margin-bottom: 20px; color: var(--brand); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { padding: 30px 22px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: none; }
.step__no { font-size: 40px; font-weight: 800; color: var(--brand-pale); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ---------- 数据/规格表 ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec { border: 1px solid var(--line); padding: 26px 22px; background: #fff; }
.spec__num { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.spec__num small { font-size: 0.5em; font-weight: 600; }
.spec__label { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* 设备表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.spec-table th { background: var(--brand); color: #fff; text-align: left; padding: 14px 18px; font-weight: 600; white-space: nowrap; }
table.spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
table.spec-table tr:nth-child(even) td { background: var(--bg-soft); }
table.spec-table tr:hover td { background: var(--brand-pale); }
table.spec-table td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl-item .year { font-size: 15px; font-weight: 800; color: var(--brand); }
.tl-item h3 { font-size: 17.5px; margin: 5px 0 6px; }
.tl-item p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); background: #fff; }
.info-list .ic { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: var(--brand-pale); color: var(--brand); }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list .k { font-size: 13px; color: var(--ink-3); letter-spacing: 0.06em; }
.info-list .v { font-size: 16px; font-weight: 600; color: var(--ink); }
.info-list .v a:hover { color: var(--brand); }
.form-box { border: 1px solid var(--line); padding: 36px; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 80, 155, 0.1); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #d64545; font-size: 12.5px; margin-top: 6px; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d64545; }
.field.is-invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.form-ok { display: none; padding: 14px 18px; background: #eaf7ee; border: 1px solid #b7e0c4; color: #1f7a3f; font-size: 14.5px; margin-bottom: 18px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.72); padding: 66px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer .logo__name { color: #fff; }
.footer .logo__name small { color: rgba(255, 255, 255, 0.5); }
.footer .logo__mark { background: var(--brand); }
.footer__brand p { font-size: 14.5px; margin-top: 18px; max-width: 340px; line-height: 1.85; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; transition: color 0.2s, padding 0.2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer__bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.footer__bottom a { color: rgba(255, 255, 255, 0.7); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- 照片支持 ---------- */
.card__photo { aspect-ratio: 16 / 10; background-size: cover; background-position: center; margin-bottom: 20px; }
.cert-img { height: 300px; width: auto; max-width: 100%; margin: 0 auto 18px; display: block; object-fit: contain; }
.grid-4 .cert-img { height: 220px; }
.slide { background-color: var(--brand-pale); background-size: cover; background-position: center; }
.prod-card__img.has-photo { background-size: cover; background-position: center; }
.prod-card__img.has-photo::before { display: none; }
.prod-card__img.has-photo svg { display: none; }
.app-card.has-photo { background-size: cover; background-position: center; }
/* 亮色版应用卡：白色磨砂底 + 深色文字 */
.app-card.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.72) 46%, rgba(255, 255, 255, 0.95) 72%); }
.app-card.has-photo h3 { color: var(--ink); }
.app-card.has-photo p { color: var(--ink-2); }
.app-card.has-photo .app-card__icon svg { color: var(--brand); }
.app-card.has-photo::after { opacity: 0.14; }
.about-figure__main.has-photo { background-size: cover; background-position: center; }
.about-figure__main.has-photo svg { display: none; }
.news-card__img.has-photo { background-size: cover; background-position: center; }
.news-card__img.has-photo svg { display: none; }
.pagehead.has-photo { background-size: cover; background-position: center; }
.pagehead.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 51, 0.9) 0%, rgba(10, 26, 51, 0.66) 55%, rgba(10, 26, 51, 0.4) 100%); }
.cert-card img { width: auto; max-width: 100%; height: 300px; margin: 0 auto 18px; object-fit: contain; display: block; }
.customer-photo { border: 1px solid var(--line); background: #fff; padding: 30px; }
.customer-photo img { width: 100%; height: auto; }

/* ---------- 解决方案流程图板块 ---------- */
.solution { background: var(--bg-soft); }
.solution__figure { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.solution__figure img { width: 100%; height: auto; display: block; }

/* ---------- 一站式解决方案 · 网页版流程图 ---------- */
.flowmap {
  position: relative; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
  padding: 54px 40px 46px; overflow: hidden;
}
.flowmap__title {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(17px, 2vw, 22px); font-weight: 800; color: var(--ink);
  padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line);
}
.flowmap__title::before {
  content: ""; width: 12px; height: 34px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  clip-path: polygon(0 0, 100% 0, 62% 50%, 100% 100%, 0 100%);
}
.flowmap__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px 22px; position: relative; z-index: 2;
}
/* 九宫格定位：上排 图纸/设计/检验，中排 品质管理/圆环/试作，下排 生产/加工/量产 */
.fnode {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 22px 16px; border-radius: 12px;
  border: 1px solid rgba(22, 80, 155, 0.22);
  background: linear-gradient(180deg, #eef5fd 0%, #dbe9fa 100%);
  box-shadow: 0 6px 16px rgba(22, 80, 155, 0.10);
  transition: all 0.3s var(--ease);
}
.fnode:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(22, 80, 155, 0.18); }
.fnode b { display: block; font-size: 16.5px; font-weight: 800; color: var(--brand-ink); line-height: 1.35; }
.fnode small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--brand); font-weight: 600; letter-spacing: 0.02em; }
.fnode--start { background: linear-gradient(180deg, #f0f8ec 0%, #e2f1d8 100%); border-color: rgba(96, 150, 70, 0.32); }
.fnode--start b { color: #35651f; }
.fnode--start small { color: #4d7a33; }
/* 正中的循环标识 */
.flowmap__loop {
  grid-column: 2; grid-row: 2; place-self: center;
  width: 118px; height: 118px; border-radius: 50%;
  border: 2px dashed rgba(22, 80, 155, 0.35);
  display: grid; place-items: center; text-align: center;
  background: #fff; box-shadow: inset 0 0 0 10px #fff, 0 0 0 1px rgba(22, 80, 155, 0.08);
}
.flowmap__loop svg { width: 40px; height: 40px; color: var(--brand); }
.flowmap__loop span { display: block; font-size: 11.5px; font-weight: 700; color: var(--brand); margin-top: 4px; letter-spacing: 0.04em; }
/* 节点间连接箭头 */
.farrow { position: absolute; z-index: 1; color: rgba(22, 80, 155, 0.3); }
.farrow svg { display: block; width: 100%; height: 100%; }

/* ---------- 语言切换器 ---------- */
.lang { position: relative; flex-shrink: 0; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  height: 38px; padding: 0 13px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  transition: all 0.25s var(--ease);
}
.lang__btn:hover { border-color: var(--brand); color: var(--brand); }
.lang__btn svg { width: 14px; height: 14px; transition: transform 0.25s; }
.lang.is-open .lang__btn { border-color: var(--brand); color: var(--brand); }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 60;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu a {
  display: block; padding: 9px 14px; border-radius: 7px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.lang__menu a:hover { background: var(--brand-pale); color: var(--brand); }
.lang__menu a.is-active { color: var(--brand); font-weight: 700; background: var(--brand-pale); }

/* ---------- 客户 logo 墙（仅 logo，无文字） ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-wall__cell {
  border: 1px solid var(--line); background: #fff; display: grid; place-items: center;
  padding: 26px 22px; min-height: 132px; transition: all 0.3s var(--ease);
}
.logo-wall__cell:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.logo-wall__cell img { max-height: 74px; max-width: 82%; width: auto; object-fit: contain; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .prod-grid, .app-grid, .spec-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .flowmap { padding: 40px 26px 36px; }
  .flowmap__loop { width: 96px; height: 96px; }
  .fnode b { font-size: 15px; }
  .fnode small { font-size: 11.5px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .slide__card { padding: 26px 24px 30px; border-radius: 10px; }
  .slide p { margin-bottom: 24px; }
  .container { padding: 0 20px; }
  .nav__links, .nav__cta .btn-ghost { display: none; }
  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px; display: none; flex-direction: column; gap: 4px; box-shadow: var(--shadow);
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu .nav__links { flex-direction: column; align-items: stretch; }
  .nav__menu .nav__links a { padding: 14px; border-bottom: 1px solid var(--line); }
  .nav__menu .nav__links a::after { display: none; }
  .nav__menu .nav__cta { margin-top: 14px; }
  .nav__menu .nav__cta .btn-ghost { display: inline-flex; }
  .banner { height: 88vh; min-height: 500px; }
  .banner__arrow { display: none; }
  .prod-grid, .app-grid, .spec-grid, .grid-2, .grid-3, .grid-4, .news-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.16); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .about-figure__badge { right: 0; bottom: -16px; }
  /* 流程图小屏改单列 */
  .flowmap { padding: 30px 18px 28px; }
  .flowmap__grid { grid-template-columns: 1fr; gap: 14px; }
  .flowmap__loop { grid-column: 1; grid-row: auto; width: 84px; height: 84px; margin: 4px auto; }
  .flowmap__title { font-size: 16px; margin-bottom: 22px; }
  /* 语言切换器在移动端菜单内占整行 */
  .lang { width: 100%; }
  .lang__btn { width: 100%; justify-content: space-between; height: 44px; }
  .lang__menu { position: static; display: none; box-shadow: none; border: none; padding: 2px 0 0; }
  .lang.is-open .lang__menu { display: block; }
}
