/* ============================================================
   齐马网络 · 新版官网
   设计语言：墨蓝 + 鎏金（延续"金路驾齐马"品牌基因）
   ============================================================ */

:root {
  --ink: #0a1628;
  --ink-2: #0e1d33;
  --ink-3: #14263f;
  --ink-soft: #1b3050;
  --gold: #d4a017;
  --gold-2: #e8c069;
  --gold-deep: #a87c0a;
  --paper: #f8f6f1;
  --paper-2: #fffdf8;
  --line: #e7e1d3;
  --text: #2a3242;
  --text-2: #5b6472;
  --text-3: #8a92a0;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 10px 40px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 24px 70px rgba(10, 22, 40, 0.16);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --w: 1240px;
  --grad-gold: linear-gradient(120deg, #c8951a, #e8c069 45%, #d4a017);
}

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

/* 隐藏滚动条（保留滚动功能） */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { width: 0; height: 0; display: none; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: rgba(212, 160, 23, 0.28); }

.wrap { width: min(var(--w), 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(8, 17, 31, 0.88));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 192, 105, 0.14);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.header-inner {
  width: min(var(--w), 94%);
  margin: 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.main-nav > li > a:hover, .main-nav > li > a.active { color: var(--gold-2); background: rgba(232, 192, 105, 0.08); }
.main-nav > li > a.active { position: relative; }
.main-nav > li > a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 2px;
}
.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 168px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s;
}
.main-nav > li:hover .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-sub::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav-sub a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.18s;
}
.nav-sub a:hover { background: var(--paper); color: var(--gold-deep); }

.header-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
.header-cta svg { width: 20px; height: 20px; }
.header-cta:hover { color: #fff; }

.nav-toggle { display: none; margin-left: auto; color: #fff; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* 移动端抽屉 */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 88px 0 0 0;
  z-index: 99;
  background: #071120;
  overflow-y: auto;
  padding: 20px 6% 40px;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: block; }
.mobile-nav details { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 4px;
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav summary::after { content: "+"; color: var(--gold-2); font-size: 20px; }
.mobile-nav details[open] summary::after { content: "−"; }
.mobile-nav summary:hover { color: var(--gold-2); }
.mobile-nav .m-sub { padding: 0 4px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-nav .m-sub a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.mobile-nav .m-sub a:hover { color: var(--gold-2); }
.mobile-nav > a {
  display: block;
  padding: 16px 4px;
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15.5px;
  letter-spacing: 2px;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e9b649);
  color: #241a04;
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(212, 160, 23, 0.38);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(212, 160, 23, 0.48); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--gold-2); }

/* ---------------- 页面 hero（内页） ---------------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(1000px 420px at 82% -10%, rgba(212, 160, 23, 0.16), transparent 62%),
    radial-gradient(720px 340px at 6% 115%, rgba(27, 48, 80, 0.9), transparent 66%),
    linear-gradient(160deg, #0a1628 0%, #10203a 100%);
  color: #fff;
  padding: 184px 0 84px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(760px 380px at 70% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, 0.55); letter-spacing: 1px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  letter-spacing: 4px;
  font-weight: 700;
}
.page-hero .ph-desc {
  margin-top: 14px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  letter-spacing: 1px;
}
.ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 13.5px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.ph-kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }

/* ---------------- 区块通用 ---------------- */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sec-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-deep);
  font-size: 13.5px;
  letter-spacing: 5px;
  margin-bottom: 14px;
}
.sec-head .kicker::before, .sec-head .kicker::after { content: ""; width: 30px; height: 1.5px; background: var(--gold); }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 3px; color: var(--ink); }
.sec-head p { margin-top: 14px; color: var(--text-2); font-size: 15.5px; }
.sec-more { text-align: center; margin-top: 46px; }

/* ---------------- 首页 Hero ---------------- */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 78% 8%, rgba(212, 160, 23, 0.2), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(27, 48, 80, 0.95), transparent 65%),
    linear-gradient(155deg, #070f1d 0%, #0c1c33 55%, #0e2240 100%);
  overflow: hidden;
}
.home-hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(900px 620px at 72% 38%, #000 25%, transparent 78%);
  animation: drift 26s linear infinite alternate;
}
@keyframes drift { to { background-position: 52px 26px, 26px 52px; } }
.home-hero .glow {
  position: absolute;
  width: 560px; height: 560px;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(232, 192, 105, 0.16), transparent 62%);
  filter: blur(10px);
  animation: pulse 7s ease-in-out infinite alternate;
}
@keyframes pulse { to { transform: scale(1.15); opacity: 0.7; } }
.home-hero .wrap { position: relative; z-index: 2; padding: 162px 0 104px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(232, 192, 105, 0.4);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 13.5px;
  letter-spacing: 3px;
  background: rgba(212, 160, 23, 0.07);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(232, 192, 105, 0.6);
  animation: ring 2.2s infinite;
}
@keyframes ring {
  70% { box-shadow: 0 0 0 9px rgba(232, 192, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 192, 105, 0); }
}
.home-hero h1 {
  font-size: clamp(22px, 5.2vw, 58px);
  line-height: 1.3;
  letter-spacing: clamp(2px, 0.5vw, 5px);
  font-weight: 800;
  white-space: nowrap;
}
.home-hero h1 .gold {
  background: linear-gradient(120deg, #f0d18b, var(--gold) 55%, #f5dd9d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16.5px;
  letter-spacing: 1px;
  line-height: 1.9;
}
.hero-actions { display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
}
.hero-stats .stat {
  padding: 18px 22px;
  border-left: 2px solid rgba(232, 192, 105, 0.5);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
  border-radius: 0 12px 12px 0;
}
.hero-stats .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold-2);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.hero-stats .label { font-size: 13px; color: rgba(255, 255, 255, 0.6); letter-spacing: 2px; margin-top: 2px; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11.5px;
  letter-spacing: 3px;
  text-align: center;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1.5px;
  height: 34px;
  margin: 8px auto 0;
  background: linear-gradient(var(--gold-2), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 淡入 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 理念条（专注/原创/专业/效率） ---------------- */
.slogan-strip { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.slogan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.slogan-item {
  padding: 44px 30px;
  text-align: center;
  position: relative;
  transition: background 0.25s;
}
.slogan-item + .slogan-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 54px;
  width: 1px;
  background: var(--line);
}
.slogan-item:hover { background: #fdf9ee; }
.slogan-item .s-icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(212, 160, 23, 0.14), rgba(212, 160, 23, 0.04));
  color: var(--gold-deep);
}
.slogan-item .s-icon svg { width: 26px; height: 26px; }
.slogan-item h3 { font-size: 19px; letter-spacing: 4px; color: var(--ink); }
.slogan-item p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* ---------------- 服务卡片 ---------------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(212, 160, 23, 0.45); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ic {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--ink), var(--ink-3));
  color: var(--gold-2);
  margin-bottom: 20px;
}
.service-card .ic svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 20px; letter-spacing: 2px; color: var(--ink); }
.service-card .en { font-size: 11px; color: var(--text-3); letter-spacing: 2.5px; margin-top: 2px; text-transform: uppercase; }
.service-card p { margin-top: 14px; font-size: 13.8px; color: var(--text-2); min-height: 72px; }
.service-card .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--gold-deep);
  letter-spacing: 1.5px;
}
.service-card .go svg { width: 15px; height: 15px; transition: transform 0.25s; }
.service-card:hover .go svg { transform: translateX(5px); }

/* ---------------- 案例区 ---------------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card .thumb {
  aspect-ratio: 560 / 370;
  overflow: hidden;
  background: #f4f5f7;
  position: relative;
}
.case-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.case-card:hover .thumb img { transform: scale(1.03); }
.case-card .cat-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #fff;
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: blur(4px);
  border-radius: 999px;
}
.case-card .meta { padding: 16px 18px 18px; }
.case-card h3 {
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: 0.5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.case-card .view {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.case-card .view b { color: var(--gold-deep); font-weight: 600; letter-spacing: 1px; }

/* 案例筛选 */
.filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  font-size: 14.5px;
  letter-spacing: 2px;
  transition: all 0.22s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  border-color: var(--ink);
  color: var(--gold-2);
}
.filter-count { text-align: center; color: var(--text-3); font-size: 13px; margin: -26px 0 30px; letter-spacing: 1px; }

/* ---------------- 服务流程 ---------------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  counter-reset: step;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 26px 8px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: all 0.25s;
  counter-increment: step;
}
.process-step::before {
  content: "0" counter(step);
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.process-step::after {
  content: "";
  position: absolute;
  right: -12px; top: 50%;
  width: 12px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 160, 23, 0.15));
}
.process-step:last-child::after { display: none; }
.process-step:hover { border-color: rgba(212, 160, 23, 0.5); transform: translateY(-4px); box-shadow: var(--shadow); }
.process-step h4 { font-size: 14.5px; letter-spacing: 1.5px; color: var(--ink); }
.process-note { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--text-3); letter-spacing: 1px; }

/* ---------------- 旗下平台 ---------------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platform-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.28s;
}
.platform-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(212, 160, 23, 0.4); }
.platform-card .p-logo {
  width: 88px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.platform-card .p-logo img { width: 100%; height: 100%; object-fit: contain; }
.platform-card h3 { font-size: 17px; color: var(--ink); letter-spacing: 1px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.platform-card .site { font-size: 12px; color: var(--gold-deep); letter-spacing: 0.5px; }
.platform-card p { margin-top: 8px; font-size: 13.2px; color: var(--text-2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 客户评价 ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testi-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  transition: all 0.28s;
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testi-card .quote {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 64px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(212, 160, 23, 0.18);
}
.testi-card .t-body { font-size: 14.5px; color: var(--text-2); line-height: 1.95; min-height: 118px; }
.testi-card .t-who { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.testi-card .t-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(212, 160, 23, 0.4); }
.testi-card .t-who b { display: block; font-size: 16px; color: var(--ink); letter-spacing: 1px; }
.testi-card .t-who span { font-size: 12.5px; color: var(--gold-deep); letter-spacing: 1px; }

/* ---------------- 新闻 ---------------- */
.news-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.28s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card .n-cover { aspect-ratio: 3 / 2; overflow: hidden; background: #f4f5f7; position: relative; }
.news-card .n-cover img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.news-card:hover .n-cover img { transform: scale(1.03); }
.news-card .n-cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: 3px 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #241a04;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 999px;
}
.news-card .n-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .n-date { font-size: 12.5px; color: var(--text-3); letter-spacing: 1.5px; }
.news-card h3 {
  margin-top: 8px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: 0.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}
.news-card p {
  margin-top: 8px;
  font-size: 13.2px;
  color: var(--text-2);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .n-go { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--gold-deep); letter-spacing: 2px; }

/* 新闻列表页布局 */
.news-page-list { max-width: 880px; margin: 0 auto; }
.news-row {
  display: flex;
  gap: 24px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  transition: all 0.25s;
}
.news-row:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); border-color: rgba(212, 160, 23, 0.4); }
.news-row .n-cover { width: 240px; aspect-ratio: 3 / 2; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #f4f5f7; }
.news-row .n-cover img { width: 100%; height: 100%; object-fit: contain; }
.news-row h3 { font-size: 17.5px; color: var(--ink); line-height: 1.6; letter-spacing: 0.5px; }
.news-row h3:hover { color: var(--gold-deep); }
.news-row .n-meta { font-size: 12.5px; color: var(--text-3); margin-top: 6px; letter-spacing: 1px; }
.news-row .n-meta .n-cat-inline {
  color: var(--gold-deep);
  border: 1px solid rgba(212, 160, 23, 0.4);
  padding: 1px 10px;
  border-radius: 999px;
  margin-right: 10px;
}
.news-row p { margin-top: 10px; font-size: 13.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 文章页 ---------------- */
.article { max-width: 860px; margin: 0 auto; }
.article-head { text-align: center; padding: 0 10px 26px; border-bottom: 1px solid var(--line); }
.article-head .a-meta { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); letter-spacing: 1px; margin-bottom: 16px; }
.article-head .a-meta .n-cat-inline { color: var(--gold-deep); border: 1px solid rgba(212, 160, 23, 0.4); padding: 2px 14px; border-radius: 999px; }
.article-head h1 { font-size: clamp(23px, 3vw, 32px); color: var(--ink); line-height: 1.5; letter-spacing: 1px; }
.article-body { padding: 36px 6px 10px; }
.article-body p { margin-bottom: 18px; font-size: 15.5px; color: #333b49; line-height: 2.05; letter-spacing: 0.4px; }
.article-body ul { margin: 0 0 20px; }
.article-body li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 15px;
  color: #333b49;
  line-height: 1.95;
}
.article-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}
.article-body li b { color: var(--ink); }
/* 下载区块 */
.article-body .dl-box {
  margin: 30px 0;
  padding: 26px 28px 22px;
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), rgba(212, 160, 23, 0.02));
  border: 1px solid rgba(212, 160, 23, 0.38);
}
.article-body .dl-box h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.article-body .dl-box h4::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--gold);
}
.article-body .dl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.article-body .dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #e9b649);
  color: #241a04;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(212, 160, 23, 0.3);
  transition: transform 0.22s, box-shadow 0.22s;
}
.article-body .dl-btn::after { content: "↓"; font-weight: 700; }
.article-body .dl-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212, 160, 23, 0.42); }
.article-body .dl-tip { margin: 14px 0 0; font-size: 12.8px; color: var(--text-3); line-height: 1.8; }
.article-body figure { margin: 26px 0; }
.article-body figure img { border-radius: var(--radius-s); border: 1px solid var(--line); width: 100%; }
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.article-nav a {
  flex: 1;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 13.5px;
  color: var(--text-2);
  transition: all 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-nav a:hover { border-color: rgba(212, 160, 23, 0.5); color: var(--gold-deep); }
.article-nav a.next { text-align: right; }
.article-nav .lab { display: block; font-size: 11.5px; color: var(--text-3); letter-spacing: 2px; margin-bottom: 2px; }
.article-related { margin-top: 40px; }
.article-related h4 { font-size: 16px; letter-spacing: 2px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.article-related h4::before { content: ""; width: 4px; height: 16px; background: var(--gold); border-radius: 2px; }
.article-related .rel-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-related .rel-list a {
  display: block;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 13.2px;
  color: var(--text-2);
  line-height: 1.6;
  transition: all 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-related .rel-list a:hover { border-color: rgba(212, 160, 23, 0.5); color: var(--gold-deep); }

/* ---------------- 关于页 ---------------- */
.about-lead { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center; }
.about-lead .txt h2 { font-size: clamp(24px, 3vw, 34px); color: var(--ink); letter-spacing: 3px; margin-bottom: 22px; }
.about-lead .txt h2 em { font-style: normal; color: var(--gold-deep); }
.about-lead .txt p { margin-bottom: 16px; font-size: 15px; color: var(--text-2); line-height: 2; text-align: justify; }
.about-lead .pic { position: relative; }
.about-lead .pic .main {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.about-lead .pic .badge-float {
  position: absolute;
  left: -34px;
  bottom: 34px;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
}
.about-lead .pic .badge-float b { font-size: 26px; color: var(--gold-2); letter-spacing: 1px; }
.about-lead .pic .badge-float span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.65); letter-spacing: 2px; }

.group-banner {
  display: flex;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  border-radius: var(--radius);
  padding: 36px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.group-banner::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 192, 105, 0.25);
  box-shadow: 0 0 0 46px rgba(232, 192, 105, 0.05);
}
.group-banner .g-mark {
  width: 74px; height: 74px;
  flex-shrink: 0;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(232, 192, 105, 0.12);
  border: 1px solid rgba(232, 192, 105, 0.35);
  color: var(--gold-2);
}
.group-banner .g-mark svg { width: 36px; height: 36px; }
.group-banner h3 { font-size: 20px; letter-spacing: 2px; }
.group-banner h3 span { font-size: 12.5px; color: var(--gold-2); letter-spacing: 1.5px; margin-left: 12px; font-weight: 400; }
.group-banner p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.72); line-height: 1.9; }
.group-banner .g-link { margin-left: auto; flex-shrink: 0; z-index: 1; }

/* 时间线 */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 10px 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--gold), rgba(212, 160, 23, 0.1));
}
.tl-item { position: relative; width: 50%; padding: 0 44px 44px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 44px 44px; }
.tl-item .dot {
  position: absolute;
  top: 6px;
  right: -8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3.5px solid var(--gold);
  z-index: 1;
}
.tl-item:nth-child(even) .dot { right: auto; left: -8px; }
.tl-item .year {
  display: inline-block;
  font-size: 21px;
  font-weight: 800;
  color: var(--gold-deep);
  letter-spacing: 1px;
}
.tl-item .card-tl {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
  transition: all 0.25s;
}
.tl-item:hover .card-tl { border-color: rgba(212, 160, 23, 0.5); box-shadow: var(--shadow); }
.tl-item:nth-child(odd) .card-tl { text-align: right; }

/* 文化 */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.culture-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  text-align: center;
  transition: all 0.28s;
}
.culture-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.culture-card .c-tag {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.1);
  color: var(--gold-deep);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.culture-card h3 { font-size: 19px; color: var(--ink); letter-spacing: 2px; margin-bottom: 10px; }
.culture-card p { font-size: 14px; color: var(--text-2); line-height: 1.95; }

.brand-story {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
}
.brand-story h3 {
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 2px;
  margin: 26px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-story h3::before { content: ""; width: 4px; height: 17px; background: var(--gold); border-radius: 2px; }
.brand-story h3:first-child { margin-top: 0; }
.brand-story p { font-size: 14.5px; color: var(--text-2); line-height: 2; margin-bottom: 10px; text-align: justify; }
.brand-story .qima-day {
  margin-top: 26px;
  padding: 22px 26px;
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.09), rgba(212, 160, 23, 0.03));
  border: 1px dashed rgba(212, 160, 23, 0.45);
}
.brand-story .qima-day b { color: var(--gold-deep); }

/* 办公环境 */
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.office-grid .o-item {
  border-radius: var(--radius-s);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  position: relative;
  border: 1px solid var(--line);
}
.office-grid .o-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.office-grid .o-item:hover img { transform: scale(1.07); }
.office-grid .o-item.wide { grid-column: span 2; aspect-ratio: auto; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.25s;
}
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(212, 160, 23, 0.4); }
.contact-card .c-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(212, 160, 23, 0.13), rgba(212, 160, 23, 0.04));
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.contact-card .c-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 17px; color: var(--ink); letter-spacing: 2px; }
.contact-card dl { margin-top: 12px; font-size: 13.5px; }
.contact-card dt { color: var(--text-3); font-size: 12px; letter-spacing: 1.5px; margin-top: 8px; }
.contact-card dd { color: var(--text); font-weight: 600; letter-spacing: 0.5px; }
.contact-card dd a { color: var(--gold-deep); }

.contact-hero-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.ch-info {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}
.ch-info .c-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 160, 23, 0.14);
  color: var(--gold-2);
}
.ch-info .c-icon svg { width: 22px; height: 22px; }
.ch-info b { display: block; font-size: 15px; letter-spacing: 2px; color: #fff; margin-bottom: 4px; }
.ch-info p { font-size: 14px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.5px; line-height: 1.7; }

/* 表单 */
.form-shell {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 46px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; color: var(--text-2); letter-spacing: 1.5px; margin-bottom: 8px; }
.field label i { color: #c0392b; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--paper-2);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3.5px rgba(212, 160, 23, 0.14);
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-tip { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-3); letter-spacing: 0.5px; }
.form-ok {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-ok.show { display: block; }
.form-ok .ok-ic {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(46, 164, 79, 0.1);
  color: #2ea44f;
}
.form-ok .ok-ic svg { width: 32px; height: 32px; }

/* ---------------- CTA 横幅 ---------------- */
.cta-banner {
  position: relative;
  background:
    radial-gradient(760px 320px at 80% 0%, rgba(212, 160, 23, 0.22), transparent 60%),
    linear-gradient(140deg, #081221, #10203a);
  color: #fff;
  padding: 78px 0;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(600px 300px at 50% 50%, #000 20%, transparent 75%);
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: 4px; }
.cta-inner h2 span { color: var(--gold-2); }
.cta-inner p { margin-top: 12px; color: rgba(255, 255, 255, 0.65); font-size: 15px; letter-spacing: 1px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: #060d19;
  color: rgba(255, 255, 255, 0.66);
  padding: 74px 0 0;
  font-size: 13.8px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 54px;
}
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { line-height: 2; font-size: 13.2px; }
.footer-brand .f-slogan { color: var(--gold-2); letter-spacing: 3px; font-size: 14.5px; margin-bottom: 10px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 5px; color: var(--gold); }
.footer-qr { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.footer-qr img { width: 96px; height: 96px; border-radius: 10px; border: 3px solid rgba(232, 192, 105, 0.3); }
.footer-qr span { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 1px; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bar a:hover { color: var(--gold-2); }

/* ---------------- 右下角悬浮（与集团官网一致） ---------------- */
.chat-toggle-row {
  position: fixed;
  right: 26px;
  bottom: 146px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 95;
}
.chat-pill {
  background: var(--ink);
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--grad-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(185, 142, 70, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 16px 34px rgba(185, 142, 70, 0.55); }
.chat-toggle svg { width: 26px; height: 26px; }

.float-call {
  position: fixed;
  right: 26px;
  bottom: 88px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(185, 142, 70, 0.4);
  z-index: 89;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.float-call:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(185, 142, 70, 0.5); }
.float-call .ic { width: 22px; height: 22px; }

.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--grad-gold);
  color: #fff;
  box-shadow: 0 10px 24px rgba(185, 142, 70, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s;
  z-index: 90;
  display: grid;
  place-items: center;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top .ic { width: 22px; height: 22px; }

/* ---------------- 灯箱 ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 13, 25, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1080px, 92vw);
  max-height: 74vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}
.lightbox .lb-title { color: #fff; margin-top: 18px; letter-spacing: 2px; font-size: 15.5px; }
.lightbox .lb-cat { color: var(--gold-2); font-size: 12.5px; letter-spacing: 2px; margin-top: 4px; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
  display: grid;
  place-items: center;
}
.lightbox .lb-close { top: 26px; right: 30px; }
.lightbox .lb-close svg, .lightbox .lb-prev svg, .lightbox .lb-next svg { width: 34px; height: 34px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { color: var(--gold-2); }

/* ---------------- 服务页 ---------------- */
.svc-section { padding: 60px 0; }
.svc-block {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 44px;
  align-items: start;
}
.svc-block.rev { grid-template-columns: 1.4fr 0.9fr; }
.svc-intro {
  background: linear-gradient(150deg, var(--ink), var(--ink-3));
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 34px;
  position: sticky;
  top: 100px;
}
.svc-block.rev .svc-intro { order: 2; }
.svc-intro .ic {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(232, 192, 105, 0.13);
  border: 1px solid rgba(232, 192, 105, 0.32);
  color: var(--gold-2);
  margin-bottom: 22px;
}
.svc-intro .ic svg { width: 28px; height: 28px; }
.svc-intro h2 { font-size: 24px; letter-spacing: 3px; }
.svc-intro > p { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.9; }
.svc-intro ul { margin-top: 20px; }
.svc-intro li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 13.8px;
  color: rgba(255, 255, 255, 0.82);
}
.svc-intro li:last-child { border-bottom: none; }
.svc-intro li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--gold-2); }
.svc-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 22px 24px;
  transition: all 0.24s;
}
.svc-item:hover { border-color: rgba(212, 160, 23, 0.5); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-item h4 { font-size: 16px; color: var(--ink); letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.svc-item h4::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.svc-item p { margin-top: 8px; font-size: 13.2px; color: var(--text-2); line-height: 1.8; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all 0.26s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-card .w-ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--ink), var(--ink-3));
  color: var(--gold-2);
  margin-bottom: 16px;
}
.why-card .w-ic svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 17px; letter-spacing: 2px; color: var(--ink); }
.why-card p { margin-top: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.85; }

/* ---------------- 智能客服（样式对齐集团官网） ---------------- */
.chat-panel {
  position: fixed;
  right: 26px;
  bottom: 212px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 300px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(10, 10, 16, 0.35);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.98);
  transition: all 0.3s ease;
  z-index: 120;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--grad-gold);
  color: #fff;
  flex-shrink: 0;
}
.chat-head-txt { flex: 1; min-width: 0; line-height: 1.35; }
.chat-head-txt b { display: block; font-size: 15px; letter-spacing: 0.06em; }
.chat-head-txt span { font-size: 12px; opacity: 0.88; }
.chat-close {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.32); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chat-body::-webkit-scrollbar { display: none; }

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-msg.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-top-left-radius: 3px;
  color: var(--text);
}
.chat-msg.bot b { color: var(--ink); }
.chat-msg.bot a { color: var(--gold-deep); border-bottom: 1px dashed rgba(185, 142, 70, 0.6); }
.chat-msg.user {
  align-self: flex-end;
  background: var(--grad-gold);
  border-top-right-radius: 3px;
  color: #fff;
}
.chat-msg.typing { display: flex; gap: 5px; align-items: center; padding: 13px 16px; }
.chat-msg.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: chatBlink 1s infinite;
}
.chat-msg.typing i:nth-child(2) { animation-delay: 0.2s; }
.chat-msg.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBlink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
.chat-chips button {
  border: 1px solid rgba(185, 142, 70, 0.45);
  background: #fdfaf4;
  color: var(--gold-deep);
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.chat-chips button:hover { background: var(--grad-gold); color: #fff; border-color: transparent; }

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.25s;
}
.chat-input-row input:focus { border-color: var(--gold); }
.chat-msg-entry {
  flex: 0 0 auto;
  height: 42px;
  white-space: nowrap;
  border: 1px solid rgba(185, 142, 70, 0.55);
  background: #fdfaf4;
  color: var(--gold-deep);
  border-radius: 999px;
  padding: 0 15px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.chat-msg-entry:hover { background: var(--grad-gold); color: #fff; border-color: transparent; }
.chat-send {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-gold);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}
.chat-send:hover { transform: scale(1.06); }
.chat-send svg { width: 19px; height: 19px; }

.chat-msg-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.chat-msg-form[hidden] { display: none; }
.chat-form-tip { font-size: 11.8px; color: var(--text-3); line-height: 1.6; }
.chat-msg-form input,
.chat-msg-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  resize: none;
  outline: none;
  background: #fff;
  transition: border-color 0.25s;
}
.chat-msg-form input:focus,
.chat-msg-form textarea:focus { border-color: var(--gold); }
.chat-msg-actions { display: flex; justify-content: space-between; gap: 10px; }
.chat-msg-actions button {
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13.5px;
  cursor: pointer;
  letter-spacing: 0.08em;
  font-family: inherit;
  transition: all 0.25s;
}
.chat-btn-ghost { border: 1px solid var(--line); background: #fff; color: var(--text-2); }
.chat-btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.chat-btn-gold { border: 0; background: var(--grad-gold); color: #fff; box-shadow: 0 8px 20px rgba(185, 142, 70, 0.35); }
.chat-btn-gold:disabled { opacity: 0.6; cursor: default; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .service-grid, .case-grid { grid-template-columns: repeat(3, 1fr); }
  .office-grid { grid-template-columns: repeat(3, 1fr); }
  .process-track { grid-template-columns: repeat(4, 1fr); row-gap: 16px; }
  .process-step::after { display: none; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .platform-grid, .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .about-lead { grid-template-columns: 1fr; gap: 40px; }
  .about-lead .pic .badge-float { left: 20px; }
  .svc-block, .svc-block.rev { grid-template-columns: 1fr; }
  .svc-block.rev .svc-intro { order: 0; }
  .svc-intro { position: static; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .slogan-grid { grid-template-columns: repeat(2, 1fr); }
  .slogan-item:nth-child(3)::before { display: none; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-hero-info { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-row { flex-direction: column; }
  .news-row .n-cover { width: 100%; }
  .brand-story { padding: 32px 26px; }
  .form-shell { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .article-related .rel-list { grid-template-columns: 1fr; }
  .timeline::before { left: 10px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 40px; }
  .tl-item .dot, .tl-item:nth-child(even) .dot { left: 2px; right: auto; }
  .tl-item:nth-child(odd) .card-tl { text-align: left; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .page-hero { padding: 150px 0 60px; }
  /* 案例 / 新闻：手机上改为整行大图，避免缩得太小 */
  .service-grid, .case-grid, .news-list { grid-template-columns: 1fr; gap: 16px; }
  .case-card h3 { font-size: 15px; min-height: 0; }
  .case-card .meta { padding: 14px 16px 16px; }
  .case-card .cat-tag { font-size: 12px; padding: 4px 12px; }
  /* 服务卡片：手机改为横向排版（图标 + 标题一行，描述与链接在下方） */
  .service-card { display: flex; flex-wrap: wrap; align-items: center; padding: 20px 18px; }
  .service-card .ic { width: 48px; height: 48px; border-radius: 13px; margin: 0 14px 0 0; flex-shrink: 0; }
  .service-card .ic svg { width: 22px; height: 22px; }
  .service-card h3 { font-size: 17px; }
  .service-card .en { display: none; }
  .service-card p { flex: 0 0 100%; width: 100%; min-height: 0; margin-top: 14px; font-size: 13.5px; }
  .service-card .go { flex: 0 0 100%; margin-top: 10px; }
  .news-card .n-body { padding: 16px 16px 18px; }
  .news-card .n-body p { -webkit-line-clamp: 3; }
  .chat-toggle-row { right: 18px; bottom: 146px; }
  .chat-pill { display: none; }
  .chat-panel { right: 16px; bottom: 210px; height: min(560px, calc(100vh - 300px)); }
  .platform-grid, .culture-grid, .why-grid, .svc-items { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid .o-item.wide { grid-column: span 2; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  /* 手机端隐藏底部两栏链接（导航已在汉堡菜单中），避免页脚过长 */
  .footer-links { display: none; }
  .group-banner { flex-direction: column; align-items: flex-start; }
  .group-banner .g-link { margin-left: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 26px 18px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p { font-size: 14px; }
  .article-body .dl-box { padding: 20px 18px 18px; }
  .article-body .dl-btn { width: 100%; justify-content: center; }
  .article-nav { flex-direction: column; }
  .article-nav a.next { text-align: left; }
  .brand-story { padding: 26px 20px; }
  .svc-intro { padding: 28px 22px; }
  .hero-stats { gap: 12px; }
  .hero-stats .stat { padding: 14px 16px; }
  .hero-stats .num { font-size: 24px; }
  .slogan-item { padding: 30px 18px; }
  /* 新闻分类：手机版保持单行（::before/after 在放得下时负责居中） */
  #newsTabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 30px;
    padding: 2px 0 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #newsTabs::before, #newsTabs::after { content: ""; margin: auto; }
  #newsTabs .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px;
    font-size: 13px;
    letter-spacing: 0;
  }
  /* 案例分类：手机版排成 3 + 2 两行，第二行居中 */
  #filterBar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 30px;
  }
  #filterBar .filter-btn {
    grid-column: span 2;
    width: 100%;
    white-space: nowrap;
    padding: 9px 4px;
    font-size: 13px;
    letter-spacing: 0;
  }
  #filterBar .filter-btn:nth-child(4) { grid-column: 2 / span 2; }
  #filterBar .filter-btn:nth-child(5) { grid-column: 4 / span 2; }
}
