/* ============================================================
   华之耀 · 企业展示站样式表
   主题：科技蓝 / 响应式 / 无障碍（保留 :focus-visible）
   ============================================================ */

:root {
  --blue-900: #0a1f3c;
  --blue-800: #0d2a52;
  --blue-700: #12407c;
  --blue-600: #1d4ed8;
  --blue-500: #1e6fd9;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --ink: #16233a;
  --ink-2: #475569;
  --ink-3: #7c8aa0;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --shadow: 0 12px 32px rgba(13, 42, 82, .08);
  --radius: 14px;
  --container: 1680px;
  --header-h: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }

p { margin: 0 0 1em; }

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

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}

.site-header.scrolled { box-shadow: 0 4px 20px rgba(10, 31, 60, .08); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-mark { display: flex; }
.brand-mark img { display: block; width: 62px; height: 62px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { display: flex; align-items: baseline; gap: 12px; }
.brand-text strong { font-size: 30px; font-weight: 800; color: var(--blue-900); letter-spacing: 3px; white-space: nowrap; }
.brand-en { font-size: 13px; font-weight: 700; letter-spacing: 3.5px; color: var(--blue-600); white-space: nowrap; }
.brand-text small { font-size: 15px; color: var(--ink-2); letter-spacing: 5px; margin-top: 8px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 6px; }

.nav-link {
  position: relative;
  padding: 8px 15px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--blue-600); background: var(--bg-soft); }
.nav-link.active { color: var(--blue-600); font-weight: 700; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan-400);
  transform: translateX(-50%);
}

/* 中英文切换：页头胶囊按钮，不参与主导航的移动端折叠 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}
.lang-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.lang-btn:hover { color: var(--blue-600); }
.lang-btn.active {
  color: #fff;
  background: var(--blue-500);
  box-shadow: 0 2px 8px rgba(29, 78, 216, .22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ---------- 页面显隐 ---------- */
.page { display: none; }
.page.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 8px 20px rgba(29, 78, 216, .28);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(29, 78, 216, .38); }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-light { color: var(--blue-700); background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.btn-light:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- 首页 Hero ---------- */
/* 首屏：真实精密制造场景大图（轻微虚化）+ 左侧深色蒙版（保证标题文字清晰） */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #071a36;
  color: #fff;
}
/* 单独一层承载背景图并轻微模糊，文字/卡片不受影响；负层保证蒙版仍在图上方 */
.hero::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  background: url("../assets/hero/hero-factory.jpg") center center / cover no-repeat;
  filter: blur(2px);
  transform: scale(1.02);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 从左到右：左侧深色压实文字区，右侧渐透出制造场景 */
  background: linear-gradient(90deg, rgba(5, 16, 34, .94) 0%, rgba(5, 16, 34, .88) 30%, rgba(7, 26, 54, .55) 58%, rgba(7, 26, 54, .12) 100%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom right, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding-block: 70px 50px;
}
.hero-copy { max-width: 780px; }
.hero-copy h1 { white-space: nowrap; }
/* 英文标题更长：允许折行并略降字号，避免宽屏被裁切 */
html[lang="en"] .hero-copy { max-width: 980px; }
html[lang="en"] .hero-copy h1 { white-space: normal; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.18; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cyan-300);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-copy h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: 2px; margin-bottom: 20px; }
.hero-copy h1 .dot { color: var(--cyan-400); margin: 0 6px; }
.hero-lead { font-size: 17px; color: #c8d8ee; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 北京时间：首屏右上角轻量信息；无背景板、无暗角块，仅靠字形描边保证可读 */
.hero-clock {
  position: absolute;
  top: 22px;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
  pointer-events: none;
}
.hero-clock-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(238, 248, 255, .94);
  text-shadow: 0 1px 2px rgba(2, 10, 24, 1), 0 0 8px rgba(2, 10, 24, .9);
}
.hero-clock-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px rgba(34, 211, 238, 1);
}
.hero-clock-time {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 1px 2px rgba(2, 10, 24, 1), 0 0 8px rgba(2, 10, 24, .95), 0 0 16px rgba(2, 10, 24, .75);
  -webkit-text-stroke: .4px rgba(2, 10, 24, .85);
}

.hero-stats {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(3, 16, 35, .34), rgba(3, 16, 35, .58));
  border-top: 1px solid rgba(255, 255, 255, .08);
}
/* 顶部一道居中的青色微光，让通栏横条有焦点、不再显得平 */
.hero-stats::before {
  content: "";
  position: absolute;
  left: 50%; top: -1px;
  width: min(680px, 70%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .75), transparent);
  pointer-events: none;
}
.stats-inner {
  display: flex;
  justify-content: center;
  padding-block: 30px;
}
.stat { flex: 1 1 0; min-width: 0; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-size: 34px; font-weight: 800; line-height: 1.2;
  background: linear-gradient(180deg, #ffffff 15%, var(--cyan-300) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #fff;
}
.stat span { font-size: 13px; color: #a9c1df; letter-spacing: 1px; }

/* 玻璃质感小卡 + 图标 + 微光：4 项数据卡通用（北京时间已移至首屏右上角） */
.stats-inner { position: relative; flex-wrap: wrap; gap: 16px; }
.stats-inner .stat {
  position: relative;
  flex: 0 1 260px;
  min-width: 180px;
  max-width: 300px;
  padding: 18px 30px 20px;
  text-align: center;
  border: 1px solid rgba(103, 232, 249, .22);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(34, 211, 238, .10), rgba(255, 255, 255, .02) 55%, rgba(34, 211, 238, .04));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 30px rgba(0, 0, 0, .18);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.stats-inner .stat:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 36px rgba(0, 0, 0, .26), 0 0 22px rgba(34, 211, 238, .12);
}
/* 每张卡片顶部一道青色高光 */
.stats-inner .stat::after {
  content: "";
  position: absolute;
  left: 22%; right: 22%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .8), transparent);
}
/* 图标按 nth-child 顺序对应各项，不依赖 JS 结构 */
.stats-inner .stat::before {
  content: "";
  display: block;
  width: 24px; height: 24px;
  margin: 0 auto 8px;
  background: no-repeat center / contain;
  opacity: .9;
}
.stats-inner .stat:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18'/%3E%3C/svg%3E");
}
.stats-inner .stat:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M9 14 7 21l5-3 5 3-2-7'/%3E%3C/svg%3E");
}
.stats-inner .stat:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='m3 7 9 5 9-5M12 12v10'/%3E%3C/svg%3E");
}
.stats-inner .stat:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E");
}
/* 数字与单位并列：单位缩小并贴近数字，说明文字独立一行，不再出现“年 公司成立”的割裂感 */
.stats-inner .stat strong { display: inline-block; font-size: 32px; letter-spacing: 1px; }
.stats-inner .stat-unit {
  display: inline-block;
  margin-left: 3px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--cyan-300);
}
.stats-inner .stat span { display: block; margin-top: 4px; white-space: nowrap; }

/* ---------- 通用区块 ---------- */
.section { padding-block: 80px; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
/* kicker 前的小蓝横线已按用户要求移除（原 .kicker::before），仅保留文字排版 */
.section-head h2, .cta-band h2, .contact-info h2, .contact-form-wrap h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--blue-900); }
.section-head p { color: var(--ink-2); margin-top: 10px; }
.more-link { color: var(--blue-600); font-weight: 600; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }

/* ---------- 合作客户 Logo 墙 ---------- */
.clients-intro { max-width: 720px; margin: 14px auto 0; line-height: 1.8; }
.client-group + .client-group { margin-top: 44px; }
.client-group-title {
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  font-size: 19px; color: var(--blue-900); margin: 0 0 22px; font-weight: 700;
}
.client-group-title::before, .client-group-title::after {
  content: ""; height: 1px; width: 46px; background: var(--line);
}
.client-group-title em {
  font-style: normal; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; color: var(--blue-500); text-transform: uppercase;
}
.client-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.client-item {
  display: flex; align-items: center; justify-content: center;
  min-height: 104px; padding: 18px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.client-item:hover {
  transform: translateY(-4px);
  border-color: var(--blue-500);
  box-shadow: 0 12px 28px rgba(21, 60, 120, .13);
}
/* 统一 Logo 视觉尺寸：固定显示框 + 等比 contain，避免宽高比差异造成大小不一 */
.client-logo {
  display: block;
  width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: center center;
}
.client-name { font-size: 16px; font-weight: 700; color: var(--blue-900); text-align: center; }

/* ---------- 业务 / 优势 / 价值 网格卡 ---------- */
.biz-grid, .adv-grid, .value-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13, 42, 82, .13); border-color: #cfe0f6; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e6f5fe, #d7e9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; color: var(--blue-900); }
.card p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* ---------- 新闻卡 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, #0d2a52, #1e6fd9);
}
.news-thumb.alt { background: linear-gradient(135deg, #12407c, #22d3ee); }
/* 新闻真实配图：铺满缩略图区，保持比例裁剪 */
.news-thumb.has-photo { padding: 0; background: #eef2f7; overflow: hidden; }
.news-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}
.news-card:hover .news-photo { transform: scale(1.05); }
.news-body { padding: 20px 22px; }
.news-date { color: var(--ink-3); font-size: 12px; }
.news-body h3 { font-size: 17px; color: var(--blue-900); margin: 6px 0 8px; }
.news-body p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600));
  color: #fff;
  padding-block: 52px;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.cta-band p { color: #cfe0f6; margin: 0; }

/* ---------- 内页 Banner ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, #071a36, #12407c);
  color: #fff;
  padding-block: 62px;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: 8%;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .25), transparent 70%);
}
.page-banner .kicker { color: var(--cyan-300); }
.page-banner h1 { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: 2px; margin-bottom: 6px; }
.page-banner p { color: #bcd0ea; margin: 0; }

/* ---------- 关于我们 ---------- */
.about-intro { display: grid; grid-template-columns: 1.18fr .82fr; gap: 46px; align-items: center; }
.about-text h2 { font-size: clamp(24px, 3vw, 32px); color: var(--blue-900); }
.about-text p { color: var(--ink-2); }
.about-quick { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.about-quick div { display: flex; flex-direction: column; }
.about-quick strong { font-size: 26px; color: var(--blue-600); }
.about-quick span { font-size: 13px; color: var(--ink-3); }
/* 关于我们配图：真实科技感车间图 + 底部渐变文案，表达“从设计到交付 · 全程可控”
   比例调为 4:3，高度与左侧文字板块接近，避免图片过大造成左右失衡 */
.about-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: 420px;
  background: var(--blue-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
/* 图片轻微透明化 + 模糊，营造科技神秘感；hover 时恢复清晰作为互动反馈 */
.about-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(6, 20, 42, .16);
  pointer-events: none;
}
.about-figure-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(1.6px) saturate(.88);
  transform: scale(1.04);
  transition: filter .5s ease, transform .5s ease;
}
.about-figure:hover .about-figure-img {
  filter: blur(0) saturate(1);
  transform: scale(1);
}
.about-figure-caption {
  z-index: 2;
  position: absolute;
  inset: auto 0 0 0;
  padding: 54px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: linear-gradient(180deg, rgba(6, 20, 42, 0) 0%, rgba(6, 20, 42, .55) 45%, rgba(6, 20, 42, .92) 100%);
}
.about-figure-badge {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(34, 211, 238, .6);
  border-radius: 20px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}
.about-figure-caption strong {
  color: #fff;
  font-size: clamp(16px, 1.6vw, 21px);
  letter-spacing: 1px;
  line-height: 1.4;
}

.timeline { position: relative; max-width: 860px; margin-inline: auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: #cfe0f6; }
.tl-item { position: relative; padding: 0 0 30px 20px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue-500);
}
.tl-year { font-size: 18px; font-weight: 800; color: var(--blue-600); }
.tl-item h3 { font-size: 17px; color: var(--blue-900); margin: 4px 0 4px; }
.tl-item p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* 资质荣誉：统一卡片网格，证书图与图标卡同规格排列 */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.honor:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10,31,60,.12); }
/* 上半：固定高度展示区，证书图/图标都在此等比居中 */
.honor-media {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  border-bottom: 1px solid var(--line);
}
.honor-icon-wrap {
  width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(30,111,217,.10);
  color: var(--blue-600);
}
.honor-icon-wrap .hico { font-size: 42px; line-height: 1; }
.honor-photos { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; width: 100%; }
.honor-shot { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.honor-shot-label { color: var(--ink-3); font-size: 12px; letter-spacing: 1px; }
.honor-photo {
  display: block;
  height: 190px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(10,31,60,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.honor-photos.is-multi .honor-photo { height: 176px; }
.honor-photo:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(10,31,60,.18); }
.honor-photo:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
/* 下半：标题说明，统一左对齐 */
.honor-info { padding: 18px 20px 20px; text-align: center; flex: 1; }
.honor-info strong { display: block; color: var(--blue-900); font-size: 16px; line-height: 1.4; }
.honor-info span { display: block; margin-top: 8px; color: var(--ink-3); font-size: 13px; line-height: 1.6; }
/* 专利入口卡：代表图 + 点击展开提示 */
.honor-patent-entry { cursor: pointer; }
.patent-entry-photo {
  display: block; height: 190px; width: auto; max-width: 100%;
  object-fit: contain; border-radius: 6px;
}
.patent-entry-hint {
  display: inline-block; margin-top: 12px; font-style: normal;
  font-size: 12px; font-weight: 700; color: var(--blue-600);
  padding: 5px 12px; border-radius: 999px; background: rgba(30,111,217,.08);
}
.honor-patent-entry:hover { border-color: var(--blue-500); }
.honor-patent-entry:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }

/* 专利证书墙：默认隐藏，15 张证书紧凑排列，点击放大 */
.patent-wall { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.patent-wall[hidden] { display: none; }
.patent-wall-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.patent-wall-head h3 { margin: 8px 0 6px; font-size: 22px; color: var(--blue-900); }
.patent-wall-head p { margin: 0; color: var(--ink-3); font-size: 14px; }
.patent-count {
  flex: none; padding: 6px 16px; border-radius: 999px;
  background: rgba(30,111,217,.10); color: var(--blue-700); font-size: 14px; font-weight: 700;
}
.patent-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.patent-card {
  margin: 0; padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.patent-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10,31,60,.14); }
.patent-photo {
  display: block; width: 100%; height: 200px; object-fit: contain;
  background: #fafbfc; border-radius: 4px; cursor: zoom-in;
}
.patent-photo:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.patent-card figcaption { margin-top: 8px; color: var(--ink-3); font-size: 12px; letter-spacing: .5px; }

/* ---------- 产品中心 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-btn.active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13, 42, 82, .14); }
.product-card[hidden] { display: none; }
.product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  background: linear-gradient(135deg, #0d2a52, #1e6fd9);
  position: relative;
}
.product-img .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(34, 211, 238, .9);
  color: #062033;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}
/* 真实产品照片：浅色底 + contain 完整展示，避免裁切产品 */
.product-img.has-photo {
  background: #f4f7fb;
  padding: 14px;
}
.product-img .product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 4px;
  cursor: zoom-in;
}
.product-img.has-photo .product-photo:hover { transform: scale(1.04); }
.product-photo { transition: transform .3s ease; }

/* 产品图灯箱：点击实拍图放大查看 */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(4, 14, 30, .88); backdrop-filter: blur(3px); }
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255, 255, 255, .2); }
.lb-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1000px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.lb-caption { color: #fff; font-size: 18px; font-weight: 600; text-align: center; }
.lb-hint { color: #9db6d4; font-size: 13px; }
body.lb-open { overflow: hidden; }
.product-body { padding: 20px 22px 24px; }
.product-body h3 { color: var(--blue-900); font-size: 18px; }
.product-body p { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; }
.product-spec { display: flex; flex-wrap: wrap; gap: 6px; }
.product-spec span { font-size: 11px; color: var(--blue-700); background: #eef5ff; padding: 3px 9px; border-radius: 5px; }

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

/* ---------- 新闻动态 ---------- */
.news-list { max-width: 900px; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.news-item .news-thumb { height: 100%; min-height: 140px; }
.news-item .news-thumb.has-photo { display: block; }
.news-item .news-photo { min-height: 140px; }
.news-item .news-body { padding: 22px 24px; }
.news-item .news-body p { margin-bottom: 0; }

/* ---------- 联系我们 ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { margin-bottom: 22px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .ci-icon { font-size: 22px; flex-shrink: 0; }
.contact-list strong { color: var(--blue-900); font-size: 14px; }
.contact-list p { color: var(--ink-2); font-size: 14px; margin: 2px 0 0; }
.map-placeholder {
  position: relative;
  min-height: 190px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, #dce7f5 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, #dce7f5 0 1px, transparent 1px 26px),
    #eef4fc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 18px;
  color: var(--blue-900);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.map-placeholder::after {
  content: "";
  position: absolute;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.10) 0%, rgba(37,99,235,0) 70%);
  pointer-events: none;
}
.map-placeholder:hover, .map-placeholder:focus-visible {
  border-color: var(--blue-500, #3b82f6);
  box-shadow: 0 8px 24px rgba(30,64,175,.14);
  transform: translateY(-2px);
}
.map-pin-mark {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-700);
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(30,64,175,.28);
  z-index: 1;
}
.map-pin-mark::before {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.28);
}
.map-pin-mark::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,.35);
  animation: mapPulse 2s ease-out infinite;
}
@keyframes mapPulse {
  0% { transform: scale(.7); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}
.map-placeholder #mapAddress { position: relative; z-index: 1; line-height: 1.5; }
.map-nav-hint {
  position: relative;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-700);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(30,64,175,.22);
  transition: background .2s;
}
.map-placeholder:hover .map-nav-hint, .map-placeholder:focus-visible .map-nav-hint { background: var(--blue-900); }
.map-nav-hint .hico { font-size: 16px; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-hint { color: var(--ink-2); font-size: 14px; margin-top: -12px; margin-bottom: 24px; }
.form-notice {
  background: #eaf3ff;
  border: 1px solid #bcd7ff;
  color: #1d4e8f;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.form-notice strong { color: #143d73; }
.admin-panel { margin-top: 18px; padding: 16px; background: var(--bg-soft); border-radius: 8px; font-size: 13px; color: var(--ink-2); }
.admin-panel h3 { margin-top: 0; color: var(--blue-900); font-size: 15px; }
.admin-panel ul { margin: 0; padding-left: 18px; }
.admin-panel li { margin-bottom: 6px; word-break: break-word; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a9b5c6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(30, 111, 217, .15);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #dc2626; }
.field textarea { resize: vertical; min-height: 120px; }
.form-status { font-size: 14px; min-height: 22px; margin-bottom: 10px; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #dc2626; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: #b9cbe4; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-block: 54px; }
.footer-brand strong { color: #fff; font-size: 20px; letter-spacing: 1px; }
.footer-brand p { margin-top: 12px; font-size: 14px; }
.footer-logo { display: inline-flex; padding: 6px; background: #fff; border-radius: 10px; margin-bottom: 14px; }
.footer-logo img { display: block; width: 64px; height: 64px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; }
.footer-icp { margin-top: 8px !important; }
.footer-icp a { color: #b9cbe4; text-decoration: none; transition: color .2s; }
.footer-icp a:hover { color: var(--cyan-300); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 980px) {
  :root { --header-h: 84px; }
  .brand { gap: 12px; }
  .brand-mark img { width: 52px; height: 52px; }
  .brand-text strong { font-size: 24px; letter-spacing: 2px; }
  .brand-en { font-size: 11px; letter-spacing: 2px; }
  .brand-text small { font-size: 12px; letter-spacing: 3px; margin-top: 6px; }
  .hero-inner { text-align: center; padding-top: 48px; }
  .hero-clock { top: 10px; }
  .hero-clock-label { font-size: 11px; letter-spacing: 1px; }
  .hero-clock-time { font-size: 20px; }
  .hero-copy h1 { white-space: normal; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; margin-bottom: 14px; }
  .hero-lead br { display: none; }
  .hero-lead { font-size: 15px; }
  .hero-actions { justify-content: center; }
  .biz-grid, .adv-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-media { height: 220px; padding: 16px; }
  .honor-photo { height: 172px; }
  .honor-photos.is-multi .honor-photo { height: 158px; }
  .patent-entry-photo { height: 172px; }
  .patent-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .patent-photo { height: 180px; }
  .value-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  :root { --header-h: 76px; }
  .brand { gap: 10px; }
  .brand-mark img { width: 44px; height: 44px; border-radius: 8px; }
  .brand-title { gap: 8px; }
  .brand-text strong { font-size: 20px; letter-spacing: 1px; }
  .brand-en { font-size: 10px; letter-spacing: 1.5px; }
  .brand-text small { font-size: 11px; letter-spacing: 2px; margin-top: 4px; }
  html[lang="en"] .brand-text small { display: none; }
  .menu-toggle { display: flex; }
  .lang-btn { padding: 4px 9px; font-size: 12px; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10, 31, 60, .1);
    padding: 8px 20px 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease;
  }
  .main-nav.open { max-height: 400px; opacity: 1; }
  .nav-link { padding: 12px 10px; }
  .nav-link.active::after { display: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .section { padding-block: 56px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stats-inner { gap: 12px; }
  .stats-inner .stat { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 14px 12px 16px; }
  .stat strong, .stats-inner .stat strong { font-size: 26px; }
  .stats-inner .stat-unit { font-size: 12px; margin-left: 2px; }
  .stat span { font-size: 11px; letter-spacing: .5px; }
  .biz-grid, .adv-grid, .value-grid, .process-grid,
  .product-grid, .news-grid, .honor-grid { grid-template-columns: 1fr; }
  .honor-photo, .patent-entry-photo { max-width: 100%; }
  .patent-wall-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .patent-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .patent-photo { height: 150px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-item { min-height: 88px; padding: 14px 10px; }
  .client-logo { height: 50px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item .news-thumb { height: 120px; min-height: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .brand-en { display: none; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { font-size: 10px; letter-spacing: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 本地内容预览横幅（管理页"保存到本机并预览"时出现） */
.hz-preview-banner {
  position: sticky; top: 0; z-index: 9999;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff8e6; color: #7a4f00; border-bottom: 1px solid #f5d98b;
  padding: 10px 20px; font-size: 13px; line-height: 1.6;
}
.hz-preview-banner span { flex: 1 1 400px; }
.hz-preview-banner button {
  flex-shrink: 0; border: 1px solid #d9a800; background: #fff; color: #7a4f00;
  border-radius: 6px; padding: 5px 14px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.hz-preview-banner button:hover { background: #fff3cf; }
.hz-preview-banner .hico { font-size: 1.15em; vertical-align: -0.18em; margin-right: 2px; }

/* ---------- 线性图标（SVG，尺寸继承 font-size，颜色随容器） ---------- */
.hico { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.hico .hz-ico { display: block; width: 1em; height: 1em; }

/* 浅色背景上的图标：品牌蓝 */
.card-icon, .honor-icon, .ci-icon { color: var(--blue-700); }
.card-icon .hico { font-size: 30px; }
.honor-icon .hico { font-size: 38px; }
.ci-icon .hico { font-size: 1.15em; }
.map-placeholder #mapAddress .hico { font-size: 1.15em; vertical-align: -0.18em; margin-right: 2px; }

/* 深色背景上的图标：白色/青色，线更清晰 */
.news-thumb, .product-img { color: rgba(255, 255, 255, .92); }
.news-thumb.alt { color: #eafcff; }
.news-thumb .hico { font-size: 56px; }
.product-img .hico { font-size: 74px; }
