/* ==========================================================================
   南通意华智能科技有限公司 · 官网样式
   风格：简约大气 —— 深墨蓝 + 铜金点缀，大留白，细线框，克制的动效
   ========================================================================== */

:root {
  --ink: #0d1117;
  --navy: #0b2440;
  --navy-soft: #123557;
  --navy-deep: #071829;
  --gold: #b8925a;
  --gold-light: #d4b483;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-warm: #faf9f7;
  --line: #e5e8ec;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #222a33;
  --muted: #6d7885;
  --muted-light: rgba(255, 255, 255, 0.66);
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(13, 17, 23, 0.04);
  --shadow-md: 0 12px 40px -18px rgba(11, 36, 64, 0.22);
  --shadow-lg: 0 30px 70px -40px rgba(11, 36, 64, 0.4);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

::selection { background: var(--navy); color: #fff; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1360px; }

.section { padding: 104px 0 52px; }
.section-sm { padding: 72px 0 36px; }
/* 首页：数据条之后的首个内容区，顶部留白同样收窄 */
.stats + .section { padding-top: 52px; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }

/* ---------- 相邻区块留白统一收窄（半量） ----------
   浅色/深色带区块自身留白减半；子导航之后、带区块前后相接的内容区顶部留白同样收窄，
   避免出现大段空白的“断层”。 */
.section-soft, .section-warm, .section-dark { padding-top: 34px; padding-bottom: 34px; }
.section-sm.section-soft, .section-sm.section-warm { padding-top: 28px; padding-bottom: 28px; }
.subnav-bar + .section { padding-top: 28px; }
.section-soft + .section, .section-warm + .section, .section-dark + .section { padding-top: 26px; }
.section + .section-soft, .section + .section-warm, .section + .section-dark { padding-bottom: 26px; }
.section + .section-soft, .section + .section-warm, .section + .section-dark { padding-top: 0; }
.section + .section:not(.section-soft):not(.section-warm):not(.section-dark) { padding-top: 0; }
.section-dark {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* ---------- 排版 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section-title {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-dark .section-title { color: #fff; }

.section-lead {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 880px;
  line-height: 1.95;
}
.section-dark .section-lead { color: var(--muted-light); }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin: 0 auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.gold { color: var(--gold); }
.text-nowrap { white-space: nowrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 30px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: all 0.32s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.32s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a67f47; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.btn-sm { height: 42px; padding: 0 22px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--gold); }
.section-dark .link-arrow { color: #fff; }
.section-dark .link-arrow:hover { color: var(--gold-light); }

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* 页头与正文同宽（1200 容器），避免页头内容超出正式页面 */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  transition: opacity 0.4s var(--ease);
}
.brand-mark img {
  height: 24px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark img { transform: scale(1.04); }
.brand .footer-logo { height: 18px; width: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.brand-cn {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #fff;
  transition: color 0.4s var(--ease);
}
.brand-en {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s var(--ease);
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav > .nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav > a::after, .nav > .nav-item > a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.36s var(--ease);
}
.nav > a:hover, .nav > .nav-item > a:hover { color: #fff; }
.nav > a:hover::after, .nav > a.active::after,
.nav > .nav-item > a:hover::after, .nav > .nav-item > a.active::after { transform: scaleX(1); }
.nav > a.active, .nav > .nav-item > a.active { color: #fff; }

/* 二级下拉菜单 */
.nav-item { position: relative; }
.nav-arrow {
  width: 9px; height: 9px; opacity: 0.7;
  transition: transform 0.28s var(--ease);
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: 100%; left: 2px; min-width: 184px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 44px rgba(11, 36, 64, 0.16);
  padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease), visibility 0.26s;
}
/* 悬停桥接区，避免鼠标移向菜单时菜单消失 */
.nav-drop::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop,
.nav-item.open .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text); letter-spacing: 0.02em;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.nav-drop a:hover, .nav-drop a.current { background: var(--bg-soft); color: var(--gold); }

/* 子栏目 tab 导航（栏目内页顶部） */
.subnav {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.subnav a {
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--muted); letter-spacing: 0.01em; white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.subnav a:hover { color: var(--ink); border-color: var(--ink); }
.subnav a.current { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 子导航区底部留白收窄（tab 与后续内容的间距） */
.subnav-bar { padding-bottom: 32px; }
/* 页内锚点定位：预留固定页头高度，避免目标区块标题被遮挡 */
section[id] { scroll-margin-top: calc(var(--nav-h) + 28px); }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* 滚动后 / 子页 */
.site-header.scrolled,
.site-header.solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px -10px rgba(11, 36, 64, 0.2);
}
.site-header.scrolled .brand-cn, .site-header.solid .brand-cn { color: var(--ink); }
.site-header.scrolled .brand-en, .site-header.solid .brand-en { color: var(--muted); }
.site-header.scrolled .nav a, .site-header.solid .nav a { color: var(--text); }
.site-header.scrolled .nav a:hover, .site-header.solid .nav a:hover,
.site-header.scrolled .nav a.active, .site-header.solid .nav a.active { color: var(--navy); }

.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: #fff;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled .burger span, .site-header.solid .burger span { background: var(--ink); }
body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 890;
  padding: 12px 28px 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.32s var(--ease);
}
body.nav-open .mobile-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .mobile-tel { margin-top: 16px; color: var(--gold); font-weight: 500; }
/* 移动端导航：二级栏目手风琴 */
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; font-size: 16px; color: var(--text);
  background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left;
}
.mnav-plus { position: relative; width: 13px; height: 13px; flex: 0 0 13px; }
.mnav-plus::before, .mnav-plus::after {
  content: ""; position: absolute; background: var(--muted); transition: transform 0.28s var(--ease);
}
.mnav-plus::before { top: 6px; left: 0; width: 13px; height: 1px; }
.mnav-plus::after { left: 6px; top: 0; width: 1px; height: 13px; }
.mnav-group.open .mnav-plus::after { transform: scaleY(0); }
.mnav-sub { display: none; padding-bottom: 10px; }
.mnav-group.open .mnav-sub { display: block; }
.mobile-nav .mnav-sub a {
  padding: 10px 0 10px 14px; font-size: 15px; color: var(--muted);
  border-bottom: none; border-left: 1px solid var(--line);
}
.mobile-nav .mnav-sub a:last-child { margin-bottom: 0; }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 120px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.04);
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 24, 41, 0.94) 0%, rgba(7, 24, 41, 0.78) 42%, rgba(7, 24, 41, 0.34) 78%, rgba(7, 24, 41, 0.5) 100%),
    linear-gradient(to top, rgba(7, 24, 41, 0.85) 0%, transparent 45%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 14px;
  border: 1px solid rgba(184, 146, 90, 0.45);
  background: rgba(184, 146, 90, 0.08);
  color: var(--gold-light);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  margin-bottom: 34px;
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 146, 90, 0.22);
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.28;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }

.hero-sub {
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.76);
  max-width: 620px;
  margin-bottom: 44px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10.5px;
  letter-spacing: 0.24em;
}
.hero-scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- 数据带 ---------- */
.stats {
  position: relative;
  margin-top: -70px;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--gold);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  transition: background 0.36s var(--ease);
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg-warm); }
.stat-num {
  font-size: 40px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num small { font-size: 15px; font-weight: 500; color: var(--gold); letter-spacing: 0.02em; }
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 14px; letter-spacing: 0.06em; }
.stat-sub { display: block; font-size: 11.5px; color: var(--gold); letter-spacing: 0.04em; margin-top: 5px; }

/* ==========================================================================
   业务卡片
   ========================================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.service-card {
  padding: 46px 34px 40px;
  border: 1px solid var(--line);
  border-right: none;
  background: #fff;
  position: relative;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.service-card:last-child { border-right: 1px solid var(--line); }
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.44s var(--ease);
}
.service-card:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-title { color: #fff; }
.service-card:hover .service-desc { color: rgba(255, 255, 255, 0.62); }
.service-card:hover .service-icon { border-color: var(--gold); color: var(--gold); }
.service-card:hover .service-index { color: rgba(255, 255, 255, 0.14); }

.service-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--navy);
  margin-bottom: 28px;
  transition: all 0.4s var(--ease);
}
.service-icon svg { width: 25px; height: 25px; }
.service-index {
  position: absolute;
  top: 26px; right: 30px;
  font-size: 34px;
  font-weight: 700;
  color: #f0f2f5;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease);
}
.service-title {
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  transition: color 0.4s var(--ease);
}
.service-en {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.service-desc {
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.95;
  transition: color 0.4s var(--ease);
}

/* 业务卡片放在 grid-3 里（不连续排布）时要补齐右边框，否则每行末张缺一条边 */
.grid-3 > .service-card { border-right: 1px solid var(--line); }
/* 可点击的业务卡片（首页）：整块都是一个链接 */
a.service-card { display: block; text-decoration: none; }
a.service-card .service-desc { display: block; }

/* 主营业务 6 张卡：3 列 × 2 行，延续单元格分隔线（首行底部不画线，由第二行上边框充当分隔） */
.grid-4.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4.cols-3 .service-card:nth-child(3n) { border-right: 1px solid var(--line); }
.grid-4.cols-3 .service-card:nth-child(-n + 3) { border-bottom: none; }

/* ---------- 解决方案场景网格（首页） ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol-tile {
  display: block;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s var(--ease);
}
.sol-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.44s var(--ease);
}
.sol-tile:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.sol-tile:hover::before { transform: scaleX(1); }
.sol-tile h3 { font-size: 16.5px; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: 0.02em; transition: color 0.4s var(--ease); }
.sol-tile p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.8; transition: color 0.4s var(--ease); }
.sol-tile:hover h3 { color: #fff; }
.sol-tile:hover p { color: rgba(255, 255, 255, 0.62); }
.sol-tile .sol-en { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }

/* ---------- 品牌墙（授权经销品牌） ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-item {
  display: block;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: all 0.36s var(--ease);
}
.brand-item:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.brand-item b { display: block; font-size: 16px; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.brand-item span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.75; }

/* 首页最新动态：图片略收，避免横条过高 */
.news-grid.home-strip .news-card-pic { height: 178px; }

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-5 .step { padding: 34px 24px 34px 0; }
.steps-5 .step:not(:last-child)::after { right: 24px; width: calc(100% - 48px); }
.step {
  padding: 34px 30px 34px 0;
  position: relative;
  counter-increment: step;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px; right: 30px;
  width: calc(100% - 60px);
  height: 1px;
  background: var(--line);
}
.step-num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  transition: all 0.36s var(--ease);
}
.step:hover .step-num { background: var(--navy); border-color: var(--navy); color: #fff; }
.step-title { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.step-desc { font-size: 13.6px; color: var(--muted); line-height: 1.9; }

/* ---------- 案例卡片 ---------- */
.case-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.44s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* 置顶案例（featured）：通栏横排大卡，图片在左、文案在右，占满整行。
   用法：给首个 .case-card 加 .featured；若暂无置顶案例，直接删除该卡即可，网格自动回流。 */
.case-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.case-card.featured .case-media { aspect-ratio: auto; min-height: 360px; height: 100%; }
.case-card.featured .case-body { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.case-card.featured .case-title { font-size: 22px; }
.case-card.featured .case-desc { margin-bottom: 16px; }
@media (max-width: 900px) {
  .case-card.featured { grid-template-columns: 1fr; }
  .case-card.featured .case-media { aspect-ratio: 16 / 10; min-height: 0; }
  .case-card.featured .case-body { padding: 28px 28px 30px; }
  .case-card.featured .case-title { font-size: 19px; }
}

.case-media { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.case-card:hover .case-media img { transform: scale(1.06); }
.case-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 24, 41, 0.55), transparent 58%);
  opacity: 0; transition: opacity 0.44s var(--ease);
}
.case-card:hover .case-media::after { opacity: 1; }
.case-cat {
  position: absolute;
  top: 18px; left: 18px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  z-index: 2;
}
.case-body { padding: 28px 28px 30px; }
.case-title {
  font-size: 18px; font-weight: 600; color: var(--ink);
  margin-bottom: 12px; letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}
.case-card:hover .case-title { color: var(--navy); }
.case-desc { font-size: 13.6px; color: var(--muted); line-height: 1.95; margin-bottom: 20px; }
.case-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.case-meta span { display: flex; align-items: center; gap: 7px; }
.case-meta svg { width: 14px; height: 14px; color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.section-dark .chip { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); color: rgba(255,255,255,0.72); }

/* 案例筛选 */
.filter-bar {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.filter-btn {
  padding: 13px 22px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--navy); }
.filter-btn.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

/* ==========================================================================
   子页 Banner
   ========================================================================== */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 32px) 0 32px;
  background: var(--navy-deep);
  overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7, 24, 41, 0.92), rgba(7, 24, 41, 0.62));
}
.page-banner .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em; margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }
.page-banner h1 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 600; color: #fff;
  letter-spacing: 0.03em; line-height: 1.3;
  margin-bottom: 12px;
}
.page-banner p {
  font-size: 15px; color: rgba(255, 255, 255, 0.66);
  max-width: 880px; line-height: 1.95;
}
/* 紧跟在横幅之后的首节：收紧上边距。
   横幅自身已有底部内边距（62 / 88 / 56px），若再叠加整节的 104 / 72px，
   深色块与白色内容交界处的留白会被放大到 130~170px，观感空旷。 */
.page-banner + .section,
.page-banner + .section-sm { padding-top: 28px; }

/* ==========================================================================
   通用内容块
   ========================================================================== */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.img-frame { position: relative; }
.img-frame img { width: 100%; box-shadow: var(--shadow-lg); }
.img-frame::before {
  content: "";
  position: absolute;
  left: -18px; top: -18px;
  width: 110px; height: 110px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  z-index: -1;
}
.img-badge {
  position: absolute;
  right: -22px; bottom: -22px;
  background: var(--navy);
  color: #fff;
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.img-badge strong { display: block; font-size: 30px; font-weight: 600; color: var(--gold-light); line-height: 1; }
.img-badge span { display: block; font-size: 12px; color: rgba(255,255,255,0.66); margin-top: 8px; letter-spacing: 0.1em; }

.prose p {
  font-size: 15px;
  color: var(--muted);
  line-height: 2.1;
  margin-bottom: 20px;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.feature-list { display: grid; gap: 0; margin-top: 34px; }
.feature-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 18px; margin-top: 4px; }
.feature-list b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.feature-list p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin: 0; }

/* 深色区块（首页「为什么坚持 KNX」等）中的清单：亮色配色，否则标题用深墨色几乎不可见 */
.section-dark .feature-list b { color: #fff; }
.section-dark .feature-list p { color: rgba(255, 255, 255, 0.66); }
.section-dark .feature-list li { border-color: rgba(255, 255, 255, 0.12); }

/* 培训页：四项优势小卡片（横排 4 列） */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 54px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: 26px 22px 24px;
  transition: all 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-card svg { width: 22px; height: 22px; color: var(--gold); }
.feature-card b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin: 12px 0 6px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0; }
@media (max-width: 1080px) { .feature-grid { grid-template-columns: repeat(2, 1fr); margin-top: 44px; } }
@media (max-width: 680px) { .feature-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 38px; } }

/* 资质 / 优势卡片 */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 32px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.quote-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card .q-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--navy);
  margin-bottom: 22px;
}
.quote-card .q-icon svg { width: 26px; height: 26px; }
.quote-card h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.quote-card p { font-size: 13.6px; color: var(--muted); line-height: 1.95; }

/* 控制方式对比表（KNX 产品页） */
.cmp-wrap {
  margin-top: 46px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.cmp { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 13.4px; }
.cmp th, .cmp td {
  padding: 15px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); line-height: 1.75;
}
.cmp thead th {
  background: var(--bg-soft); font-size: 13.6px; font-weight: 600;
  color: var(--ink); white-space: nowrap;
}
.cmp thead th:first-child { color: var(--muted); font-weight: 500; }
.cmp thead th.hl { color: var(--navy); }
.cmp tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; background: #fff; }
.cmp tbody td { color: var(--muted); }
.cmp tbody td.hl { color: var(--navy); font-weight: 500; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
@media (max-width: 680px) {
  .cmp { min-width: 820px; font-size: 12.8px; }
  .cmp th, .cmp td { padding: 13px 14px; }
}

/* ---------- 成长历程：横版时间轴（2026-10-05 改版；≤1100px 回退竖版） ---------- */
/* 时间轴整体收窄居中，不顶满版心，页面更轻 */
.tl-wrap { max-width: 1080px; margin: 0 auto; }
.tl-head {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tl-head .eyebrow { margin-bottom: 0; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 26px;
  margin-top: 40px;
}
/* 横向轴线：条目多后分两行，轴线改为每项自绘线段、向右伸入列间距使整行连贯 */
.timeline-item {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(90deg, var(--line), var(--line));
  background-repeat: no-repeat;
  background-position: 0 38px;
  background-size: calc(100% + 26px) 1px;
}
/* 每行末项（第 4/8…个）与最后一项不再向右延伸 */
.timeline-item:nth-child(4n),
.timeline-item:last-child { background-size: 100% 1px; }
.timeline-year {
  height: 32px;
  line-height: 32px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-align: left;
}
/* 轴上的圆点 */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0; top: 33px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  z-index: 2;
  transition: background 0.36s var(--ease), box-shadow 0.36s var(--ease);
}
/* 圆点到卡片的引线 */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 5px; top: 44px;
  width: 1px; height: 26px;
  background: var(--line);
}
.timeline-item:hover::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(184, 146, 90, 0.16); }
.timeline-body {
  flex: 1 1 auto;
  margin-top: 38px;
  padding: 16px 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.32s var(--ease), box-shadow 0.32s var(--ease), transform 0.32s var(--ease);
}
.timeline-item:hover .timeline-body {
  border-color: rgba(184, 146, 90, 0.6);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.timeline-body h4 { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.55; margin-bottom: 8px; }
.timeline-body p { font-size: 13px; color: var(--muted); line-height: 1.85; }

/* 中窄屏回退为竖版时间线 */
@media (max-width: 1100px) {
  .tl-wrap { max-width: none; }
  .timeline { display: block; margin-top: 30px; }
  .timeline::before {
    content: "";
    left: 106px; right: auto; top: 8px; bottom: 8px;
    width: 1px; height: auto;
    background: var(--line);
  }
  .timeline-item { display: grid; grid-template-columns: 106px 1fr; gap: 44px; padding: 22px 0; background: none; }
  .timeline-item::before { left: 101px; top: 34px; }
  .timeline-item::after { display: none; }
  .timeline-year { height: auto; line-height: 1.4; font-size: 21px; text-align: right; }
  .timeline-body {
    margin-top: 0; padding: 0;
    border: 0; background: none;
    box-shadow: none; transform: none;
  }
  .timeline-item:hover .timeline-body { transform: none; box-shadow: none; }
  .timeline-body h4 { font-size: 16.5px; line-height: 1.5; }
  .timeline-body p { font-size: 13.8px; line-height: 1.95; }
}

/* 深色区图片并排 */
.dark-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.dark-split img { width: 100%; box-shadow: var(--shadow-lg); }

/* 手风琴 */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.acc-head:hover { color: var(--navy); }
.acc-head .acc-idx { color: var(--gold); font-size: 13px; margin-right: 16px; font-weight: 500; }
.acc-head .acc-left { display: flex; align-items: center; }
.acc-icon {
  width: 26px; height: 26px; flex: 0 0 26px;
  position: relative;
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: all 0.34s var(--ease);
}
.acc-icon::before { left: 50%; top: 5px; bottom: 5px; width: 1.5px; transform: translateX(-50%); }
.acc-icon::after { top: 50%; left: 5px; right: 5px; height: 1.5px; transform: translateY(-50%); }
.acc-item.open .acc-icon::before { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.acc-item.open .acc-icon::after { background: var(--gold); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.acc-panel-inner { padding: 0 60px 30px 44px; font-size: 14px; color: var(--muted); line-height: 2; }
.acc-panel-inner ul { margin-top: 12px; }
.acc-panel-inner li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 13.6px;
}
.acc-panel-inner li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 1px;
  background: var(--gold);
}

/* 联系方式 */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: start; }
.contact-list { display: grid; gap: 0; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; }
@media (max-width: 900px) {
  .contact-cols { grid-template-columns: 1fr; }
}
.contact-item {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item .c-icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--navy);
  transition: all 0.36s var(--ease);
}
.contact-item:hover .c-icon { border-color: var(--gold); color: var(--gold); }
.contact-item .c-icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: 0.06em; }
.contact-item p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.contact-item a { color: var(--navy); font-weight: 500; }
.contact-item a:hover { color: var(--gold); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 46px 44px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 9px;
}
.field label i { color: var(--gold); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 14px;
  transition: all 0.3s var(--ease);
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.8; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 36, 64, 0.06);
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; line-height: 1.8; }
.form-msg {
  margin-top: 16px;
  padding: 13px 16px;
  background: rgba(184, 146, 90, 0.1);
  border-left: 2px solid var(--gold);
  font-size: 13.5px;
  color: #7a5c28;
  display: none;
}
.form-msg.show { display: block; }

/* CTA 区块 */
.cta-band {
  position: relative;
  padding: 26px 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 12px; line-height: 1.4;
}
.cta-band p { color: rgba(255, 255, 255, 0.64); font-size: 15px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 页脚 */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0 0;
  font-size: 13.6px;
}
.footer-grid {
  display: grid;
  /* 7 个子块：品牌 / 主营业务 / 解决方案 / 精品案例 / 培训与服务 / 关注我们 / 联系方式
     列宽按内容自适应（品牌/联系方式定宽），剩余空间用 space-between 均分为等宽列间距 */
  grid-template-columns: 220px auto auto auto auto auto 210px;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
/* 官方账号：统一主色调圆形图标（不用品牌色，保持网站整体协调） + 悬停/点按弹出二维码 */
.soc-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.soc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.soc-label { font-size: 12px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.04em; }
.section .soc-label { color: var(--muted); }
.soc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.soc-btn svg { width: 17px; height: 17px; display: block; }
/* 深色页脚：半透明白圆 + 白图标，悬停变金 */
.site-footer .soc-btn { background: rgba(255, 255, 255, 0.12); }
.site-footer .soc-btn:hover {
  background: var(--gold); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.35);
}
/* 浅色区块（联系页）：藏青圆 + 白图标，悬停变金 */
.section .soc-btn { background: var(--navy); }
.section .soc-btn:hover {
  background: var(--gold); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(16, 32, 56, 0.28);
}
/* 二维码气泡：悬停/点按/聚焦时出现在图标上方 */
/* 定宽，防止被全局 img{max-width:100%} 连锁压缩导致二维码变形 */
.soc-pop {
  width: 124px;
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff; border-radius: 10px; padding: 8px 8px 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 40; white-space: nowrap;
}
.soc-pop::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #fff;
}
.soc:hover .soc-pop, .soc.open .soc-pop, .soc:focus-within .soc-pop {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  z-index: 50;
}
.soc-pop img { width: 108px; height: 108px; max-width: none; display: block; border-radius: 6px; }
.soc-pop span {
  display: block; text-align: center; font-size: 11.5px; font-weight: 600;
  color: var(--ink); margin-top: 5px; letter-spacing: 0.02em;
}
/* 联系页关注我们：图标/二维码混排（参照公众号页头的无框排版） */
.follow-panel {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 860px; margin: 0 auto;
}
.follow-cell {
  padding: 30px 24px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 20px;
}
.follow-cell + .follow-cell { border-left: 1px solid var(--line); }
.follow-logo { display: flex; align-items: center; justify-content: center; height: 120px; color: var(--ink); }
.follow-logo svg { width: 95px; height: 95px; display: block; }
/* 小红书官方字标风格：无框粗体字 */
.xhs-wordmark {
  font-size: 46px; font-weight: 900; line-height: 1;
  letter-spacing: 0.04em; white-space: nowrap;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'HarmonyOS Sans SC', sans-serif;
}
.follow-qr { display: block; line-height: 0; }
.follow-qr img {
  width: 120px; height: 120px; max-width: none;
  display: block; border-radius: 8px;
}
.follow-cell p { font-size: 15px; color: var(--ink); line-height: 1.6; letter-spacing: 0.02em; }
.follow-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); letter-spacing: 0.04em; }
/* 友情链接行 */
.footer-links {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.footer-links .fl-label { font-size: 12.5px; letter-spacing: 0.12em; color: var(--footer-text, #c7d0da); opacity: 0.65; }
.footer-links .fl-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links .fl-nav a {
  font-size: 13px; color: var(--footer-text, #c7d0da); opacity: 0.8;
  transition: color 0.25s, opacity 0.25s;
}
.footer-links .fl-nav a:hover { color: var(--gold); opacity: 1; }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { line-height: 2; max-width: 320px; text-align: justify; }
.footer-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.footer-col li { margin-bottom: 12px; }
/* 合并栏内两组之间仅留少量间距（用户要求去掉分隔横线） */
.footer-col li.f-sep { margin-top: 6px; }
.footer-col a { transition: color 0.3s var(--ease); white-space: nowrap; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 11px; line-height: 1.85; }
.footer-contact svg { width: 15px; height: 15px; color: var(--gold); flex: 0 0 15px; margin-top: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a:hover { color: var(--gold-light); }
/* 版权条中间的快捷链接（经销产品 / 关于我们 / 联系我们，原「网站导航」栏中未被其他栏覆盖的入口） */
.fb-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.fb-nav a { white-space: nowrap; }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.36s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--gold); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 滚动渐显（仅当 JS 可用时才隐藏元素，禁用 JS 也可正常阅读） ---------- */
body.js-anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
body.js-anim .reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.09s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.27s; }
.reveal.d4 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  body.js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
/* 导航 9 栏适配：1190 以下收窄导航间距，1140 以下切抽屉菜单 */
@media (max-width: 1190px) {
  .nav { gap: 2px; }
  .nav > a, .nav > .nav-item > a { padding: 8px 11px; font-size: 14px; }
  .nav > a::after, .nav > .nav-item > a::after { left: 11px; right: 11px; }
  .nav-arrow { width: 8px; height: 8px; }
}
@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-right: 1px solid var(--line); }
  .service-card:nth-child(n+3) { border-top: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4.cols-3 .service-card:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .steps-5 .step:nth-child(4)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split-2, .contact-grid, .dark-split { grid-template-columns: 1fr; gap: 48px; }
  .img-frame::before, .img-badge { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  :root { --nav-h: 68px; }
  body { font-size: 14.5px; }
  .container { padding: 0 20px; }
  .brand-mark img { height: 19px; }
  .brand .footer-logo { height: 14px; }
  .brand-cn { font-size: 13px; }
  .brand-en { font-size: 8px; letter-spacing: 0.1em; }
  .brand { gap: 9px; }
  .section { padding: 68px 0 34px; }
  .section-sm { padding: 52px 0 26px; }
  .section-soft, .section-warm, .section-dark { padding-top: 26px; padding-bottom: 26px; }
  .subnav-bar + .section { padding-top: 20px; }
  .section-soft + .section, .section-warm + .section, .section-dark + .section { padding-top: 20px; }
  .section + .section-soft, .section + .section-warm, .section + .section-dark { padding-bottom: 20px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .grid-4.cols-3 .service-card:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .sol-grid, .brand-wall { grid-template-columns: 1fr; }
  .service-card { border-right: 1px solid var(--line); border-top: none; }
  .service-card:first-child { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .steps-5 .step { padding: 24px 0; }
  .step { padding: 24px 0; border-bottom: 1px solid var(--line); }
  .timeline::before { left: 5px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .timeline-item::before { left: 0; top: 30px; }
  .timeline-year { text-align: left; font-size: 18px; }
  .form-card { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 80px) 0 100px; }
  .hero-scroll { display: none; }
  .stats { margin-top: -46px; }
  .stat { padding: 28px 22px; }
  .stat-num { font-size: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  /* 窄屏：二维码弹层左对齐图标，避免居中后超出屏幕被裁切 */
  .soc-pop { left: 0; transform: translateX(0) translateY(6px); }
  .soc:hover .soc-pop, .soc.open .soc-pop, .soc:focus-within .soc-pop {
    left: 0; transform: translateX(0) translateY(0);
  }
  .soc-pop::after { left: 19px; }
  .follow-panel { grid-template-columns: 1fr; max-width: 340px; }
  .follow-cell { padding: 30px 20px 28px; }
  .follow-cell + .follow-cell { border-left: none; border-top: 1px solid var(--line); }
  .filter-bar { gap: 0; overflow-x: auto; flex-wrap: nowrap; }
  .filter-btn { white-space: nowrap; padding: 12px 16px; }
  .acc-panel-inner { padding: 0 10px 26px 30px; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ===== 三类栏目差异化版式（2026-10-05） =====
   业务范围：深色大图 banner + 图左文右（默认，保持不变）
   解决方案：原为加高沉浸式 banner（.tall），2026-10-05 用户要求全站横幅高度统一，已移除
   经销产品：文左图右（.rev）+ 产品行列表（.prod-rows）；横幅原为浅色平铺（.flat），已统一为深色 */

.split-2.rev .img-frame { order: 2; }
.split-2.rev .prose { order: 1; }

.prod-rows { border-top: 1px solid var(--line); }
.prod-row {
  display: grid;
  grid-template-columns: 56px 230px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.prod-row:hover { background: var(--bg-warm); }
.prod-row .idx { font-size: 15px; color: var(--gold); font-weight: 600; }
.prod-row h3 { font-size: 17px; color: var(--navy); margin: 0; }
.prod-row p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

@media (max-width: 900px) {
  .prod-row { grid-template-columns: 40px 1fr; }
  .prod-row p { grid-column: 2; }
  .page-banner { min-height: 240px; padding: calc(var(--nav-h) + 24px) 0 32px; }
  .split-2.rev .img-frame { order: 0; }
}

/* ===== 新闻中心改版（2026-10-05，参照 GVS：封面卡片网格 + 详情页） ===== */

/* ---------- 列表：3 列封面卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.news-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 146, 90, 0.55);
}
.news-card-pic {
  height: 225px; overflow: hidden; flex: 0 0 auto;
}
.news-card-pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.news-card:hover .news-card-pic img { transform: scale(1.06); }
.news-card-body {
  padding: 18px 20px 24px;
  display: flex; flex-direction: column; flex: 1 1 auto;
}
.news-card-time {
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
}
.news-card-title {
  margin-top: 8px;
  font-size: 16.5px; font-weight: 600; line-height: 1.55; color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.25s var(--ease);
}
.news-card:hover .news-card-title { color: #9a7434; }
.news-card-text {
  margin-top: 9px;
  font-size: 13.5px; line-height: 1.85; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 680px) {
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-card-pic { height: 200px; }
}

/* ---------- 详情页：深色面包屑条 ---------- */
.detail-crumb { background: var(--navy); }
.detail-crumb-nav {
  display: flex; align-items: center; gap: 10px;
  height: 46px; font-size: 13px; color: rgba(255, 255, 255, 0.62);
}
.detail-crumb-nav a {
  color: rgba(255, 255, 255, 0.62); text-decoration: none;
  transition: color 0.2s var(--ease);
}
.detail-crumb-nav a:hover { color: #fff; }
.detail-crumb-nav span { color: rgba(255, 255, 255, 0.3); }
.detail-crumb-nav em {
  font-style: normal; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 680px) {
  .detail-crumb-nav { font-size: 12px; }
}

/* ---------- 详情页：左正文 + 右相关文章 ---------- */
.detail-section { padding-top: 30px; }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.detail-article { min-width: 0; border-right: 1px solid var(--line); padding-right: 48px; }
.detail-title {
  font-size: 26px; font-weight: 700; line-height: 1.5; color: var(--ink);
}
.detail-tips {
  margin-top: 14px; padding-bottom: 18px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.detail-chip {
  font-size: 11px; letter-spacing: 0.06em; color: #9a7434;
  border: 1px solid rgba(184, 146, 90, 0.5);
  padding: 2px 10px; border-radius: 999px;
}
.detail-body { padding-top: 28px; }
.detail-body p {
  font-size: 15.5px; line-height: 2.05; color: var(--text);
  margin-bottom: 20px; text-align: justify;
}
.detail-body strong { color: var(--navy); }
.detail-fig { margin: 4px 0 26px; }
.detail-fig img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* 返回列表 + 上一篇/下一篇 */
.detail-nav {
  margin-top: 38px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.detail-prevnext { margin-top: 20px; display: grid; gap: 10px; }
.detail-pn {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.detail-pn small { font-size: 11.5px; letter-spacing: 0.1em; color: var(--muted); }
.detail-pn span {
  font-size: 14px; color: var(--navy); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
a.detail-pn:hover { border-color: rgba(184, 146, 90, 0.6); background: var(--bg-warm); }
a.detail-pn:hover span { color: #9a7434; }
.detail-pn.is-none span { color: #b9c0c8; }

/* 相关文章侧栏 */
.detail-aside { position: sticky; top: calc(var(--nav-h) + 20px); }
.aside-title {
  font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--navy);
  padding-left: 12px; border-left: 3px solid var(--gold);
}
.aside-list { margin-top: 22px; display: grid; gap: 26px; }
.aside-item { display: block; text-decoration: none; }
.aside-pic {
  height: 150px; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-soft);
}
.aside-pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s var(--ease);
}
.aside-item:hover .aside-pic img { transform: scale(1.06); }
.aside-time {
  display: block; margin-top: 10px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
}
.aside-name {
  margin-top: 4px;
  font-size: 14.5px; font-weight: 500; line-height: 1.65; color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.22s var(--ease);
}
.aside-item:hover .aside-name { color: #9a7434; }
.aside-more {
  display: inline-block; margin-top: 28px;
  font-size: 13.5px; color: #9a7434; text-decoration: none;
  border-bottom: 1px solid rgba(184, 146, 90, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.22s var(--ease);
}
.aside-more:hover { border-color: #9a7434; }
@media (max-width: 1080px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-article { border-right: 0; padding-right: 0; }
  .detail-aside { position: static; }
  .aside-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .detail-section { padding-top: 22px; }
  .detail-title { font-size: 21px; }
  .aside-list { grid-template-columns: 1fr; }
  .aside-pic { height: 170px; }
}

/* ---------- 新闻中心：分页器 ---------- */
.pager {
  max-width: 860px; margin: 42px auto 0;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--navy); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.pager a:hover { border-color: var(--gold); color: #9a7434; background: var(--bg-warm); }
.pager .pg-cur {
  background: var(--navy); border-color: var(--navy);
  color: #fff; font-weight: 500;
}
.pager .pg-nav { padding: 0 16px; letter-spacing: 0.04em; }
.pager .pg-disabled { color: #b9c0c8; background: var(--bg-soft); cursor: not-allowed; }
.pager-meta {
  text-align: center; color: var(--muted);
  font-size: 12.5px; letter-spacing: 0.06em; margin-top: 16px;
}
@media (max-width: 680px) {
  .pager { gap: 6px; margin-top: 32px; }
  .pager a, .pager span { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }
  .pager .pg-nav { padding: 0 12px; }
}

/* ==========================================================================
   解决方案子页差异化版式（2026-10-05）
   目标：与“业务范围”页形成明显区分——业务范围是“我们能做什么”，
   解决方案是“针对某类空间的完整答案”。因此用深色沉浸首区、流程步骤、
   带图案例卡，替代原来的 split-2 + service-card 组合。
   ========================================================================== */

/* ---------- 方案首区：深色沉浸 + 文左图右 + 三项关键指标 ---------- */
.solution-lead {
  position: relative;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  padding: 20px 0 34px;
}
.solution-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 17, 23, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 23, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.solution-lead .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.solution-lead .eyebrow { margin-bottom: 20px; }
.solution-lead h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.solution-lead .lead-desc {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 34px;
}
.solution-lead .lead-note {
  font-size: 13px;
  line-height: 1.85;
  color: #99a1ab;
  margin-bottom: 0;
}
.solution-lead .lead-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.solution-lead .meta-item {
  padding-right: 16px;
}
.solution-lead .meta-item strong {
  display: block;
  font-size: 27px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1;
}
.solution-lead .meta-item span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.solution-lead .lead-media {
  position: relative;
  box-shadow: var(--shadow-lg);
}
.solution-lead .lead-media img {
  width: 100%;
  display: block;
}
.solution-lead .lead-media::before {
  content: "";
  position: absolute;
  left: -16px; top: -16px;
  width: 96px; height: 96px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  z-index: -1;
}
.solution-lead .lead-media::after {
  content: "";
  position: absolute;
  right: -14px; bottom: -14px;
  width: 96px; height: 96px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  z-index: -1;
}

/* 方案首区是落地后的第一块内容，应直接可见，避免 reveal 动画未触发时留白 */
.solution-lead .reveal,
.solution-lead .reveal.d1 {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ---------- 方案流程：把功能/价值按 4 步横向展开 ---------- */
.solution-flow {
  position: relative;
  padding: 30px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.solution-flow .section-head { margin-bottom: 54px; }
.solution-flow .steps { border-top: none; }
.solution-flow .step { padding-bottom: 10px; }
.solution-flow .step-title { font-size: 16.5px; }
/* 流程区之后的内容区（品牌案例）顶部留白收窄一半 */
.solution-flow + .section { padding-top: 26px; }

/* ---------- 解决方案代表案例：用 case-card 替代 service-card ---------- */
.solution-cases .case-card { height: 100%; }

@media (max-width: 1080px) {
  .solution-lead { padding: 22px 0 30px; }
  .solution-lead .container { grid-template-columns: 1fr; gap: 48px; }
  .solution-lead .lead-meta { grid-template-columns: repeat(3, 1fr); }
  .solution-lead .lead-media { order: -1; }
  .solution-lead .lead-media::before, .solution-lead .lead-media::after { display: none; }
}

@media (max-width: 680px) {
  .solution-lead { padding: 20px 0 24px; }
  .solution-lead .lead-meta { grid-template-columns: 1fr; padding-top: 26px; gap: 18px; }
  .solution-lead .meta-item { padding-right: 0; }
  .solution-flow { padding: 24px 0; }
  .solution-flow + .section { padding-top: 24px; }
}

/* ===================== 资质证书实图 ===================== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-thumb { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 595 / 842; padding: 12px; border: 0; background: #fff; cursor: zoom-in; }
.cert-thumb img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cert-card figcaption { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.cert-card figcaption b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cert-card figcaption span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.cert-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }

.cert-dialog { margin: auto; border: 0; padding: 0; background: transparent; max-width: min(92vw, 760px); max-height: 92vh; }
.cert-dialog::backdrop { background: rgba(10, 18, 30, .78); }
.cert-dialog img { display: block; width: 100%; max-height: 92vh; object-fit: contain; border-radius: 6px; background: #fff; }
.cert-close { position: fixed; top: 14px; right: 18px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.cert-close:hover { background: rgba(255,255,255,.28); }

@media (max-width: 1080px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .cert-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
