/* =========================================================
   嘉立信 Jasen 官网主题样式
   风格：科技感 · 清爽 · 响应式
   ========================================================= */

:root {
  --c-primary: #0a3d91;        /* 主色：深蓝 */
  --c-primary-dk: #071a3d;     /* 深底 */
  --c-primary-lt: #1256d0;     /* 亮蓝 */
  --c-accent: #00c3ff;         /* 点缀：科技青 */
  --c-accent-soft: #e6f7ff;
  --c-text: #17233d;           /* 正文 */
  --c-text-2: #5a6b85;         /* 次级文字 */
  --c-line: #e3eaf5;           /* 分割线 */
  --c-bg: #ffffff;
  --c-bg-soft: #f4f8fe;
  --c-bg-deep: #071a3d;        /* 页脚深底 */
  --grad-main: linear-gradient(120deg, #0a3d91 0%, #1256d0 55%, #00a2e8 100%);
  --grad-accent: linear-gradient(120deg, #00c3ff 0%, #2f7bff 100%);
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 61, 145, .08);
  --shadow-md: 0 10px 30px rgba(10, 61, 145, .14);
  --shadow-lg: 0 18px 50px rgba(7, 26, 61, .18);
  --container: 1200px;
  --ff: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100dvh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary-lt); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ---------- 无障碍与通用 ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--c-primary); color: #fff; padding: 8px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- 主导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }

/* LOGO 为横向椭圆标识：占位宽度与旧版 46px 方块一致，避免挤压导航 */
.logo { display: flex; align-items: center; gap: 10px; color: var(--c-text); flex: none; }
.logo:hover { color: var(--c-text); }
.logo svg { width: 46px; height: 25px; flex: none; }
.logo .logo-name { font-size: 21px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; white-space: nowrap; }
.logo .logo-en { font-size: 10.5px; color: var(--c-text-2); letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }

.main-nav { min-width: 0; }
.main-nav ul { display: flex; flex-wrap: nowrap; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 15px; border-radius: 10px;
  color: var(--c-text); font-weight: 600; font-size: 15.5px; position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 3px;
  background: var(--grad-accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--c-primary-lt); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

/* ---------- 二级下拉子菜单（悬停展开） ---------- */
.main-nav li.has-sub { position: relative; }
.nav-caret {
  display: inline-block; width: 7px; height: 7px; margin-left: 6px; vertical-align: 2px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .25s; opacity: .55;
}
.main-nav li.has-sub:hover .nav-caret { transform: rotate(225deg); }
.sub-nav {
  /* 显隐由页头内联关键规则管控（防 CSS 缓存异常），此处只负责外观 */
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
  min-width: 220px; padding: 8px 0; margin: 0; list-style: none;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 44px rgba(7, 26, 61, .16), 0 2px 8px rgba(7, 26, 61, .08);
  border: 1px solid #e8eef8;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 60;
}
.main-nav li.has-sub:hover > .sub-nav,
.main-nav li.has-sub:focus-within > .sub-nav {
  opacity: 1; visibility: visible; transform: translate(-50%, 4px);
}
.sub-nav li { display: block; }
.sub-nav a {
  display: block; padding: 10px 18px; font-size: 14px; font-weight: 600;
  color: var(--c-text-1); white-space: nowrap; border-radius: 0;
}
.sub-nav a::after { display: none; }
.sub-nav a:hover { background: #f2f7ff; color: var(--c-primary-lt); }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-primary); }
.header-phone svg { width: 20px; height: 20px; }
.header-phone small { display: block; font-size: 11px; color: var(--c-text-2); font-weight: 400; line-height: 1.2; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--c-line);
  background: #fff; border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 22px; height: 2px;
  background: var(--c-primary); border-radius: 2px; transition: .25s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
/* 按钮内图标必须显式定尺寸，否则 flex 会把文字挤成竖排 */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 22px rgba(0, 195, 255, .35); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 28px rgba(0, 195, 255, .45); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-outline { background: #fff; color: var(--c-primary-lt); border: 1px solid var(--c-primary-lt); }
.btn-outline:hover { background: var(--c-primary-lt); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--c-primary-dk);
  min-height: 86dvh; display: flex; align-items: center;
}
/* 动态背景特效层：底图缓推 + 光晕呼吸 + 粒子漂浮 + 光束扫过（纯 CSS，关闭于减动效偏好） */
.hero-fx, .hero-fx i { position: absolute; inset: 0; pointer-events: none; }
.hfx-zoom {
  background: var(--c-primary-dk) url("../img/hero.jpg") center/cover no-repeat;
  animation: heroZoom 28s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12) translate(-1.2%, -1%); }
}
.hfx-glow {
  background: radial-gradient(620px 420px at 76% 38%, rgba(0, 150, 255, .30), transparent 70%);
  animation: heroPulse 7s ease-in-out infinite alternate;
}
@keyframes heroPulse { from { opacity: .45; } to { opacity: 1; } }
.hfx-dots {
  opacity: .65;
  background-image:
    radial-gradient(rgba(126, 226, 255, .5) 1px, transparent 1.6px),
    radial-gradient(rgba(64, 140, 255, .42) 1px, transparent 1.6px);
  background-size: 260px 260px, 170px 170px;
  background-position: 0 0, 90px 50px;
  animation: heroFloat 36s linear infinite;
}
@keyframes heroFloat {
  to { background-position: -130px -520px, 90px -340px; }
}
.hfx-sweep {
  left: -55%; right: -55%;
  background: linear-gradient(112deg, transparent 42%, rgba(0, 195, 255, .12) 50%, transparent 58%);
  animation: heroSweep 9s linear infinite;
}
@keyframes heroSweep { from { transform: translateX(-45%); } to { transform: translateX(45%); } }
@media (prefers-reduced-motion: reduce) {
  .hfx-zoom, .hfx-glow, .hfx-dots, .hfx-sweep { animation: none; }
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 15, 38, .88) 0%, rgba(6, 22, 54, .62) 45%, rgba(6, 22, 54, .30) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0 130px; max-width: 1060px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: 4px; color: #9fdcff; margin-bottom: 18px;
  padding: 7px 16px; border: 1px solid rgba(0, 195, 255, .4); border-radius: 999px;
  background: rgba(0, 195, 255, .08);
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 12px var(--c-accent); }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.22; font-weight: 800; letter-spacing: 3px;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #7ee2ff, #2f7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(15px, 1.6vw, 18px); color: #cfdef5; max-width: 780px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-nums { display: flex; gap: clamp(18px, 3.2vw, 52px); margin-top: 52px; flex-wrap: wrap; }
.hero-nums > div {
  background: rgba(8, 28, 62, .42); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 16px 26px 14px; min-width: 150px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-nums b { font-size: clamp(30px, 3.4vw, 46px); font-family: Georgia, var(--ff); display: block; line-height: 1.1; color: #fff; }
.hero-nums b i { font-style: normal; color: var(--c-accent); }
.hero-nums span { display: block; margin-top: 4px; font-size: 13.5px; color: #d8e6f8; letter-spacing: 1px; text-shadow: 0 1px 6px rgba(3, 16, 40, .8); }

/* ---------- 统计条 ---------- */
.stat-strip { background: var(--grad-main); color: #fff; position: relative; overflow: hidden; }
.stat-strip::after {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 26px 26px;
}
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; z-index: 2; }
.stat-item { text-align: center; padding: 40px 8px; }
.stat-item b { display: block; font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; font-family: Georgia, var(--ff); line-height: 1.15; }
.stat-item b i { font-style: normal; font-size: .55em; vertical-align: 8px; margin-left: 3px; }
.stat-item span { font-size: 15px; letter-spacing: 3px; color: #d7e6ff; }

/* ---------- 区块通用 ---------- */
.section { padding: clamp(52px, 6.5vw, 88px) 0; }
.section.soft { background: var(--c-bg-soft); }
.sec-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.sec-kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 5px;
  color: var(--c-accent); text-transform: uppercase; margin-bottom: 10px;
}
.sec-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: 1px; line-height: 1.3; }
.sec-title em { font-style: normal; color: var(--c-primary-lt); }
.sec-desc { color: var(--c-text-2); margin-top: 14px; font-size: 15.5px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-more { text-align: center; margin-top: 34px; margin-bottom: -30px; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* 四列变体：联系我们等 4 张卡片一行排布，尺寸相应收紧 */
.svc-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-grid.compact .svc-card { padding: 26px 22px; }
.svc-grid.compact .svc-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px; }
.svc-grid.compact .svc-icon svg { width: 26px; height: 26px; }
.svc-grid.compact .svc-card h3 { font-size: 17px; margin-bottom: 8px; }
.svc-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 34px 28px; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, #eaf3ff, #d9f4ff); color: var(--c-primary-lt); margin-bottom: 20px;
}
.svc-icon svg { width: 32px; height: 32px; }
.svc-card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: .5px; }
.svc-card p { color: var(--c-text-2); font-size: 14.5px; margin-bottom: 14px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span {
  font-size: 12px; color: var(--c-primary-lt); background: var(--c-accent-soft);
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- 关于我们 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about-media::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 2px dashed #bcd6f5; border-radius: 18px;
}
.about-badge {
  position: absolute; right: -14px; bottom: 30px; z-index: 2;
  background: var(--grad-main); color: #fff; border-radius: 14px; padding: 18px 22px;
  box-shadow: var(--shadow-md); text-align: center;
}
.about-badge b { font-size: 30px; font-family: Georgia, var(--ff); display: block; line-height: 1.1; }
.about-badge span { font-size: 12.5px; color: #d7e6ff; }
.about-copy .sec-desc { margin-bottom: 22px; }
.honor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.honor-list li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--c-text);
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px;
}
.honor-list svg { width: 20px; height: 20px; color: #e8a013; flex: none; margin-top: 3px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--c-line); transition: transform .3s, box-shadow .3s; position: relative;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .case-media img { transform: scale(1.06); }
.case-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(7, 26, 61, .78); color: #9fdcff; font-size: 12px;
  padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.case-body { padding: 22px 22px 24px; }
.case-body h3 { font-size: 17.5px; margin-bottom: 8px; line-height: 1.5; }
.case-body h3 a { color: var(--c-text); }
.case-body h3 a:hover { color: var(--c-primary-lt); }
.case-body p { color: var(--c-text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-meta { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--c-line); display: flex; justify-content: space-between; color: var(--c-text-2); font-size: 12.5px; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--grad-main); display: grid; place-items: center; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-media .ph-icon { width: 52px; height: 52px; color: rgba(255,255,255,.85); }
.news-date {
  position: relative; z-index: 2; background: #fff;
  border: 1px solid var(--c-line); border-radius: 10px; text-align: center; padding: 6px 12px;
  box-shadow: var(--shadow-sm); min-width: 64px;
  align-self: flex-start; margin: -26px 0 0 14px;
}
.news-date b { display: block; font-size: 20px; color: var(--c-primary-lt); font-family: Georgia, var(--ff); line-height: 1.1; }
.news-date span { font-size: 11.5px; color: var(--c-text-2); }
.news-body { padding: 10px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-cat { font-size: 12px; color: var(--c-accent); font-weight: 700; letter-spacing: 1px; }
.news-body h3 { font-size: 17px; line-height: 1.55; }
.news-body h3 a { color: var(--c-text); }
.news-body h3 a:hover { color: var(--c-primary-lt); }
.news-body p { color: var(--c-text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body .more { margin-top: auto; font-size: 13.5px; font-weight: 700; }

/* 产品中心 */
.prod-brand {
  display: inline-block; font-size: 12.5px; color: var(--c-text-2);
  background: var(--c-bg-soft); border: 1px solid var(--c-line);
  padding: 2px 10px; border-radius: 999px; margin-bottom: 4px;
}

/* ---------- CTA 横幅 ---------- */
.cta-band { background: var(--grad-main); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: radial-gradient(rgba(255,255,255,.9) 1.2px, transparent 1.2px);
  background-size: 30px 30px;
}
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(44px, 6vw, 70px) 20px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: 1px; margin-bottom: 8px; }
.cta-inner p { color: #d7e6ff; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页面横幅（子页头） ---------- */
.page-banner {
  background: var(--c-primary-dk) url("../img/hero.jpg") center/cover no-repeat;
  color: #fff; position: relative;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4,15,38,.9), rgba(6,22,54,.65)); }
.page-banner .container { position: relative; z-index: 2; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.page-banner h1 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: 3px; margin-bottom: 10px; }
.page-banner .sub { color: #a9bdd9; font-size: 14.5px; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #8fa8cc; margin-top: 18px; }
.breadcrumb a { color: #c8d6ef; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 文章/富文本 ---------- */
.rich { font-size: 15.5px; color: #2a3a58; line-height: 2; }
.rich p { margin-bottom: 16px; }
.rich h2, .rich h3 { margin: 26px 0 14px; color: var(--c-text); letter-spacing: .5px; }
.rich h2 { font-size: 21px; } .rich h3 { font-size: 18px; }
.rich img { border-radius: 12px; margin: 18px auto; }
.rich ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.rich ol { list-style: decimal; padding-left: 24px; margin-bottom: 16px; }
.rich blockquote {
  border-left: 4px solid var(--c-accent); background: var(--c-accent-soft);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin-bottom: 16px; color: #14508a;
}
.article-head { border-bottom: 1px solid var(--c-line); padding-bottom: 22px; margin-bottom: 26px; }
.article-head h1 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.5; margin-bottom: 12px; }
.article-meta { display: flex; gap: 20px; color: var(--c-text-2); font-size: 13.5px; flex-wrap: wrap; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; flex: none; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px 22px;
}
.contact-card .svc-icon { width: 48px; height: 48px; border-radius: 12px; margin: 0; }
.contact-card .svc-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 15px; color: var(--c-text-2); font-weight: 600; margin-bottom: 2px; }
.contact-card p { font-size: 15.5px; font-weight: 700; color: var(--c-text); }
.contact-card p small { font-weight: 400; color: var(--c-text-2); font-size: 12.5px; }
.msg-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-item { display: flex; flex-direction: column; gap: 6px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 13.5px; font-weight: 700; }
.form-item label i { color: #e5484d; font-style: normal; margin-left: 2px; }
.form-item input, .form-item select, .form-item textarea {
  border: 1px solid #cfdaee; border-radius: 10px; padding: 11px 14px; font-size: 14.5px;
  font-family: inherit; color: var(--c-text); background: #fbfdff; transition: border .2s, box-shadow .2s;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(0, 195, 255, .18); background: #fff;
}
.form-item textarea { min-height: 120px; resize: vertical; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-q {
  flex: none; min-width: 92px; text-align: center; font-weight: 800; letter-spacing: 3px;
  background: var(--c-primary-dk); color: #9fdcff; border-radius: 10px; padding: 10px 8px;
  font-family: Georgia, var(--ff); user-select: none; font-size: 15px;
}
.captcha-q:hover { cursor: pointer; }
.form-tip { font-size: 12.5px; color: var(--c-text-2); }
.form-msg { border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.form-msg.ok { background: #e8f8ef; color: #12744a; border: 1px solid #b5e6cc; }
.form-msg.err { background: #fdeeee; color: #c02930; border: 1px solid #f5c6c8; }
/* 提交结果悬浮提示（留言等表单） */
.toast {
  position: fixed; left: 50%; top: 92px; z-index: 999;
  transform: translateX(-50%) translateY(-18px); opacity: 0;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px; padding: 14px 22px;
  box-shadow: 0 12px 40px rgba(10, 32, 70, .18); font-size: 14.5px; color: var(--c-text);
  transition: opacity .35s, transform .35s; pointer-events: none; max-width: min(92vw, 520px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .toast-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none; color: #fff; }
.toast .toast-ico svg { width: 15px; height: 15px; }
.toast.ok .toast-ico { background: #18a058; }
.toast.err .toast-ico { background: #d0331f; }
.toast.ok { border-top: 3px solid #18a058; }
.toast.err { border-top: 3px solid #d0331f; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- 列表 / 分页 / 搜索 ---------- */
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-tabs a {
  padding: 7px 18px; border-radius: 999px; font-size: 14px; border: 1px solid var(--c-line);
  color: var(--c-text-2); background: #fff;
}
.cat-tabs a.active, .cat-tabs a:hover { background: var(--grad-accent); border-color: transparent; color: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form input {
  border: 1px solid var(--c-line); border-radius: 999px; padding: 8px 18px; font-size: 14px; width: 210px;
  font-family: inherit; background: #fff;
}
.search-form input:focus { outline: none; border-color: var(--c-accent); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; padding: 8px 14px; text-align: center; border-radius: 10px;
  border: 1px solid var(--c-line); font-size: 14px; color: var(--c-text-2); background: #fff;
}
.pagination span.current { background: var(--grad-accent); color: #fff; border-color: transparent; font-weight: 700; }
.pagination a:hover { border-color: var(--c-accent); color: var(--c-primary-lt); }
.empty-tip { text-align: center; color: var(--c-text-2); padding: 70px 0; }
.empty-tip svg { width: 56px; height: 56px; color: #c4d4ec; margin: 0 auto 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--c-bg-deep); color: #9db1d1; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: clamp(48px, 6vw, 72px) 20px 40px; }
.footer-top h4 { color: #fff; font-size: 16px; letter-spacing: 2px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-top h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--grad-accent); border-radius: 2px; }
.footer-top ul li { margin-bottom: 10px; }
.footer-top a { color: #9db1d1; }
.footer-top a:hover { color: #fff; }
.footer-about p { margin: 14px 0 18px; line-height: 1.9; }
.fa-brand { display: inline-flex; align-items: center; margin-right: 10px; vertical-align: -4px; }
.fa-brand svg { width: 36px; height: 20px; filter: brightness(0) invert(1); opacity: .95; }
.fa-lead { color: #c3d3ec; font-size: 14.5px; }
.fa-lead strong { color: #fff; }
.fa-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.fa-badges span {
  font-size: 12.5px; letter-spacing: .5px; padding: 5px 13px; border-radius: 999px;
  color: #bcd6f7; border: 1px solid rgba(126, 190, 255, .32); background: rgba(47, 123, 255, .10);
}
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--c-accent); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px; display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: #9db1d1; }
.back-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 80; width: 46px; height: 46px;
  border-radius: 12px; background: var(--grad-accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0, 195, 255, .4); opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: .3s; border: 0; cursor: pointer;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 滚动进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 超宽屏适配：放宽版心，避免内容过度集中在屏幕中间 ---------- */
@media (min-width: 1680px) {
  :root { --container: 1460px; }
  body { font-size: 17px; }
  .hero-inner { max-width: 1240px; }
  .hero p.lead { max-width: 900px; }
  .sec-head { max-width: 800px; }
  .main-nav a { padding: 10px 14px; font-size: 15.5px; }
  .header-inner { height: 82px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  /* 导航压缩档：收紧间距，保证仍为单行 */
  .main-nav a { padding: 10px 11px; font-size: 15px; }
  .main-nav a::after { left: 11px; right: 11px; }
  .main-nav ul { gap: 0; }
  .header-inner { gap: 12px; }
  .header-cta { gap: 10px; }
}
@media (max-width: 1080px) {
  .svc-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; z-index: 49;
    background: #fff; border-bottom: 1px solid var(--c-line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { max-height: 70dvh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; gap: 2px; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; }
  .main-nav a::after { display: none; }
  .main-nav a.active, .main-nav a:hover { background: var(--c-accent-soft); }
  /* 手机抽屉：二级菜单平铺展开 */
  .main-nav li.has-sub > a .nav-caret { float: right; margin-top: 6px; }
  .sub-nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 6px 14px;
  }
  .main-nav li.has-sub:hover > .sub-nav { transform: none; }
  .sub-nav a { padding: 9px 12px; font-size: 14px; color: var(--c-text-2); }
  .header-cta .btn { display: none; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 78dvh; }
  .hero-inner { padding: 70px 0 90px; }
  .about-media::after { display: none; }
  .about-badge { right: 10px; }
}
@media (max-width: 620px) {
  .svc-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
  .svc-grid.cols-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .search-form input { width: 100%; flex: 1; }
  .list-toolbar { flex-direction: column; align-items: stretch; }
  .honor-list { grid-template-columns: 1fr; }
}

/* 打印 */
@media print {
  .site-header, .site-footer, .back-top, .cta-band, .hero-nums { display: none !important; }
}

/* ---------- 关于-公司简介（左图右文+底部数字） ---------- */
.ai-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.ai-photo { position: relative; border-radius: 18px; overflow: hidden; min-height: 340px; box-shadow: 0 20px 44px -20px rgba(7, 26, 61, .35); }
.ai-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ai-photo:hover img { transform: scale(1.04); }
.ai-photo-badge {
  position: absolute; left: 0; bottom: 0; color: #fff;
  background: var(--grad-main); padding: 16px 22px 14px;
  border-top-right-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.ai-photo-badge .apb-ico svg { width: 26px; height: 26px; display: block; }
.ai-photo-badge .apb-txt { font-size: 11px; letter-spacing: 2.5px; font-weight: 600; }
.ai-body { display: flex; flex-direction: column; }
.ai-body .rich { flex: 1; }
.ai-nums {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: clamp(30px, 4vw, 50px); padding-top: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--c-line); text-align: center;
}
.ai-num b { font-family: Georgia, var(--ff); font-weight: 700; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; color: var(--c-primary); }
.ai-num b i { font-style: normal; font-size: .42em; margin-left: 3px; color: var(--c-primary-lt); }
.ai-num span { display: block; margin-top: 6px; font-size: 13px; letter-spacing: 1px; color: var(--c-text-2); }
@media (max-width: 1080px) {
  .ai-wrap { grid-template-columns: 1fr; }
  .ai-photo { min-height: 260px; }
  .ai-nums { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
}
@media (max-width: 620px) {
  .ai-photo { min-height: 210px; }
  .ai-nums { grid-template-columns: repeat(2, 1fr); }
}
