/* =========================================================
   兴星图文广告官网 · 设计系统 v2
   ---------------------------------------------------------
   原则：移动优先（默认样式 = 手机），@media 向上增强
   主题：一处修改 :root 变量，全站（含后台）同步生效
   栅格：8px 基准间距；圆角 12/16/24 三档；阴影 3 档
   ========================================================= */

:root {
  /* ---- 品牌色（拿到真实 LOGO 后只需改这 4 行） ---- */
  --brand: #d6231e;          /* 主色：兴星红 */
  --brand-600: #b81a16;      /* 主色深态（hover / 按下） */
  --brand-050: #fdecea;      /* 主色浅底（图标底 / 提示底） */
  --accent: #f5a623;         /* 辅助色：暖金 */
  --accent-050: #fff6e5;

  /* ---- 中性色 ---- */
  --ink: #14161b;            /* 标题 */
  --ink-2: #464c56;          /* 正文 */
  --muted: #757b85;          /* 辅助文字 */
  --line: #e8eaee;           /* 分隔线 */
  --line-strong: #d8dbe1;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;        /* 浅灰区块底 */
  --bg-deep: #12141a;        /* 深色区块底（页脚/头图） */

  /* ---- 语义色 ---- */
  --ok: #17a15c;
  --warn: #e07b00;
  --danger: #d6231e;

  /* ---- 尺寸 ---- */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(18, 20, 26, .04), 0 4px 12px rgba(18, 20, 26, .05);
  --shadow: 0 8px 28px rgba(18, 20, 26, .09);
  --shadow-lg: 0 20px 56px rgba(18, 20, 26, .16);
  --container: 1200px;
  --nav-h: 64px;

  /* ---- 间距（8px 基准） ---- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 88px;

  /* ---- 字号阶梯 ---- */
  --fs-h1: clamp(30px, 7.2vw, 54px);
  --fs-h2: clamp(23px, 4.4vw, 38px);
  --fs-h3: clamp(18px, 3vw, 24px);
  --fs-h4: clamp(16px, 2.6vw, 18px);
  --fs-body: clamp(15px, 2.4vw, 16px);
  --fs-sm: 14px;
  --fs-xs: 13px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --transition: .26s var(--ease);
}

/* ================= 基础重置 ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  color: var(--ink); line-height: 1.32; margin: 0 0 .5em;
  font-weight: 800; letter-spacing: -.015em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-600); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-size: var(--fs-xs); }
.text-brand { color: var(--brand); }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 12px 22px; min-height: 48px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: #fff; box-shadow: 0 8px 20px rgba(214, 35, 30, .24);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(214, 35, 30, .3); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-050); color: var(--brand-600); }
.btn-soft { background: var(--brand-050); color: var(--brand-600); }
.btn-soft:hover { background: #fbdedb; }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { color: var(--brand-600); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 7px 15px; font-size: 14px; }

/* ================= 顶部信息条 ================= */
.topbar {
  background: var(--bg-deep); color: rgba(255, 255, 255, .66);
  font-size: var(--fs-xs); padding: 8px 0; letter-spacing: .01em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar .topbar-right { display: flex; gap: var(--s4); flex-wrap: wrap; }
.topbar .topbar-right b { color: #fff; font-weight: 700; }

/* ================= 导航 ================= */
.navbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(18, 20, 26, .05); }
.nav-inner { display: flex; align-items: center; gap: var(--s4); height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: var(--s3); flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative; display: inline-block; padding: 9px 14px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-weight: 600; font-size: 15px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand); background: var(--brand-050); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: none; align-items: center; gap: var(--s2); margin-left: auto; }
.nav-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
  width: 42px; height: 42px; border-radius: var(--radius-sm); flex: 0 0 auto;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.menu-btn i { display: block; width: 19px; height: 2px; background: var(--ink); position: relative; border-radius: 2px; }
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform var(--transition), top var(--transition);
}
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn i::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: var(--s2) 0; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--brand); background: var(--brand-050); }
.mobile-menu .mm-cta { padding: var(--s4) 20px 24px; display: grid; gap: var(--s3); }
.mobile-menu .mm-tag {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-050); color: #8a5b00;
}
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; z-index: 100; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .1s linear;
}

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(255, 138, 96, .55) 0%, transparent 62%),
    radial-gradient(700px 380px at 5% 110%, rgba(245, 166, 35, .28) 0%, transparent 60%),
    linear-gradient(135deg, #14161b 0%, #2b1315 48%, #4d1c17 100%);
  padding: 56px 0 48px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-xs); font-weight: 700;
  padding: 7px 15px; border-radius: 999px; margin-bottom: var(--s5);
  background: rgba(245, 166, 35, .15); color: #ffc760; border: 1px solid rgba(245, 166, 35, .35);
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .hl { color: var(--accent); }
.hero-lead { color: rgba(255, 255, 255, .84); font-size: clamp(15px, 3.4vw, 18px); max-width: 44em; margin-bottom: var(--s5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s6); }
.hero-actions .btn { min-width: 148px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.hero-stats > div {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius); padding: var(--s4) var(--s5);
}
.hero-stats b { display: block; font-size: clamp(24px, 5vw, 32px); color: #fff; line-height: 1.25; letter-spacing: -.02em; }
.hero-stats b span { font-size: 13px; font-weight: 500; opacity: .68; margin-left: 3px; }
.hero-stats small { color: rgba(255, 255, 255, .62); font-size: var(--fs-xs); }

/* ================= 图集（产品详情 / 案例多图） ================= */
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.detail-gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
  cursor: zoom-in; border: 1px solid var(--line); transition: transform .18s ease, box-shadow .18s ease;
}
.detail-gallery img:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.case-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(10, 11, 13, .62); backdrop-filter: blur(4px);
}
/* 案例卡片上的多图缩略条 */
.case-shots { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.case-shots img {
  width: 52px; height: 52px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line); cursor: zoom-in; transition: transform .18s ease, border-color .18s ease;
}
.case-shots img:hover { transform: translateY(-2px); border-color: var(--brand); }
.case-shots-more { align-self: center; font-size: 12px; color: var(--muted); }
.lightbox figure { position: relative; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1;
  transition: background .15s ease;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox-prev { left: -58px; }
.lightbox-next { right: -58px; }
@media (max-width: 900px) { .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } }
.lightbox-count { color: rgba(255,255,255,.75); font-size: 13px; margin-top: 8px; min-height: 18px; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) {
  .hero { padding: 92px 0 80px; }
  .hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--s9); align-items: center; }
  .hero-media img { aspect-ratio: 5 / 4; }
}

/* ================= 通用区块 ================= */
.section { padding: var(--s7) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 48em; margin: 0 auto var(--s7); }
.section-head h2 { position: relative; padding-bottom: var(--s3); margin-bottom: var(--s3); }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 48px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--accent));
}
.section-head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-050);
  padding: 5px 12px; border-radius: 999px; margin-bottom: var(--s3);
}
@media (min-width: 1000px) { .section { padding: var(--s9) 0; } }

/* 页面头图 */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% -10%, rgba(255, 138, 96, .38) 0%, transparent 60%),
    linear-gradient(135deg, #14161b, #37150f 70%, #57190f);
  color: #fff; padding: var(--s7) 0 var(--s8);
}
.page-hero h1 { color: #fff; font-size: clamp(25px, 5.4vw, 42px); margin-bottom: .4em; }
.page-hero p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 46em; }
.breadcrumb { font-size: var(--fs-xs); color: rgba(255, 255, 255, .55); margin-bottom: var(--s3); }
.breadcrumb a { color: rgba(255, 255, 255, .82); }
.breadcrumb span { margin: 0 6px; opacity: .5; }

/* ================= 栅格 ================= */
.grid { display: grid; gap: var(--s5); }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ================= 卡片 ================= */
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0dcda; }
.card-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand); margin-bottom: var(--s4);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 17.5px; margin-bottom: .35em; }
.card p { color: var(--muted); font-size: 14.6px; margin-bottom: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

/* ================= 业务板块 / 价目 ================= */
.svc-tabs { display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s1) 0 var(--s4); scrollbar-width: none; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tab {
  flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-family: inherit; font-weight: 600; font-size: 14.5px;
  cursor: pointer; transition: var(--transition);
}
.svc-tab:hover { border-color: var(--brand); color: var(--brand); }
.svc-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(214, 35, 30, .22); }

.svc-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: var(--s5); box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}
.svc-block-head {
  display: grid; gap: var(--s4); padding: var(--s5);
  background: linear-gradient(120deg, var(--brand-050) 0%, #fff 70%);
  border-bottom: 1px solid var(--line);
}
.svc-block-head h3 { margin: 0 0 6px; }
.svc-block-head p { color: var(--muted); margin: 0; font-size: 14.8px; }
@media (min-width: 820px) { .svc-block-head { grid-template-columns: 1fr auto; align-items: center; } }

.table-wrap { overflow-x: auto; background: #fff; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.8px; }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--bg-soft); color: var(--ink); font-size: var(--fs-xs); letter-spacing: .04em; white-space: nowrap; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #fcfcfd; }
.price-table td:nth-child(3) { color: var(--brand); font-weight: 700; white-space: nowrap; }

/* ================= 案例 ================= */
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(18, 20, 26, .78); color: #fff; font-size: var(--fs-xs); font-weight: 600;
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.case-zoom {
  position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center;
  opacity: 0; transform: translateY(-6px); transition: var(--transition);
}
.case-card:hover .case-zoom, .case-card:focus-within .case-zoom { opacity: 1; transform: none; }
.case-body { padding: var(--s4) var(--s5) var(--s5); }
.case-body h3 { font-size: 17px; margin-bottom: .4em; }
.case-body p {
  color: var(--muted); font-size: 14.3px; margin-bottom: var(--s3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-meta { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); font-size: var(--fs-xs); color: #9aa0a6; }

/* ================= 产品区 ================= */
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #f0dcda; }
.product-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
  position: absolute; right: 12px; top: 12px; z-index: 2; background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.product-body { padding: var(--s4) var(--s5) var(--s5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 17px; margin: 0; }
.product-body .p-sum {
  color: var(--muted); font-size: 14.3px; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { color: var(--brand); font-weight: 800; font-size: 16px; }
.product-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  margin-top: auto; padding-top: var(--s3); font-size: var(--fs-xs); color: #9aa0a6;
}
.product-foot .go { color: var(--brand); font-weight: 700; }

/* 产品详情 */
.detail-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .detail-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } }
.detail-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.8px; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 34%; color: var(--muted); font-weight: 500; background: var(--bg-soft); }
.detail-content { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.detail-content h3 { margin-top: var(--s6); font-size: 18px; }
.detail-content p { margin-bottom: var(--s3); }
.share-bar {
  display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center;
  padding: var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft);
}

/* ================= 员工专区入口 ================= */
.staff-entry {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #1b1e26 0%, #2a1315 55%, #4d1c17 100%);
  color: #fff; padding: var(--s6) var(--s5);
  display: grid; gap: var(--s5); align-items: center;
}
.staff-entry::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, .28), transparent 65%);
}
.staff-entry > * { position: relative; z-index: 2; }
.staff-entry h2 { color: #fff; font-size: clamp(21px, 3.6vw, 28px); margin-bottom: .35em; }
.staff-entry p { color: rgba(255, 255, 255, .78); margin-bottom: var(--s4); font-size: 14.8px; }
.staff-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700;
  background: rgba(245, 166, 35, .16); color: #ffc760; border: 1px solid rgba(245, 166, 35, .35);
  padding: 5px 12px; border-radius: 999px; margin-bottom: var(--s3);
}
.staff-panel { display: grid; gap: var(--s3); }
.staff-panel .mini {
  display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
}
.staff-panel .mini svg { flex: 0 0 auto; color: #ffc760; }
.staff-panel .mini b { color: #fff; display: block; font-size: 14.6px; }
.staff-panel .mini span { color: rgba(255, 255, 255, .66); font-size: var(--fs-xs); }
@media (min-width: 900px) { .staff-entry { grid-template-columns: 1.05fr .95fr; padding: var(--s7); } }

.staff-hero-card { max-width: 560px; margin: 0 auto; }

/* ================= 流程 / 优势 ================= */
.steps { display: grid; gap: var(--s4); margin-top: var(--s2); counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s4) var(--s4) var(--s4) 68px;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: var(--s4); top: var(--s4); width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff;
  display: grid; place-items: center; font-size: 13.5px; font-weight: 800;
}
.step h3 { font-size: 16.5px; margin-bottom: .25em; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { padding: 62px var(--s4) var(--s4); }
}

/* ================= 关于我们 ================= */
.team-card { text-align: center; }
.team-card img { width: 98px; height: 98px; border-radius: 50%; margin: 0 auto var(--s3); object-fit: cover; background: var(--bg-soft); }
.team-card h3 { font-size: 17px; margin-bottom: 2px; }
.team-card .role { color: var(--brand); font-size: var(--fs-xs); font-weight: 700; margin-bottom: var(--s2); }
.team-card p { color: var(--muted); font-size: 14.2px; margin: 0; }

.timeline { border-left: 2px solid var(--line); margin-left: 10px; padding-left: var(--s5); }
.timeline li { position: relative; list-style: none; padding-bottom: var(--s4); }
.timeline li::before {
  content: ""; position: absolute; left: -31px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.timeline b { display: block; color: var(--ink); }
.timeline span { color: var(--muted); font-size: 14.5px; }

/* ================= 联系 / 表单 ================= */
.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .95fr 1.05fr; align-items: start; } }
.info-item {
  display: flex; gap: var(--s4); padding: var(--s4); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); margin-bottom: var(--s3);
  transition: box-shadow var(--transition), transform var(--transition);
}
.info-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.info-item .card-icon { width: 46px; height: 46px; margin: 0; flex: 0 0 auto; border-radius: 13px; }
.info-item .card-icon svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 2px; font-size: 15.5px; }
.info-item p { margin: 0; color: var(--ink-2); font-size: 14.8px; word-break: break-all; }
.map-box {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); min-height: 280px; display: grid; place-items: center; text-align: center; padding: var(--s5);
}
/* 地图嵌入后由 CSS 统一控制尺寸，无论后台粘的代码里写了多大 */
.map-box iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (max-width: 640px) { .map-box iframe { height: 260px; } }

.form-row { display: grid; gap: var(--s3); margin-bottom: var(--s3); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; min-height: 48px; font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input::placeholder, .field textarea::placeholder { color: #aab0b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); outline: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s3); }

/* ================= CTA ================= */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--brand) 0%, #b81a16 55%, #8d1210 100%);
  color: #fff; border-radius: var(--radius-lg); padding: var(--s6) var(--s5); text-align: center;
  box-shadow: 0 20px 50px rgba(214, 35, 30, .22);
}
.cta-banner::after {
  content: ""; position: absolute; left: -40px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, .86); max-width: 40em; margin: 0 auto var(--s5); }
.cta-actions { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }
@media (min-width: 1000px) { .cta-banner { padding: var(--s8) var(--s7); } }

/* ================= 页脚 ================= */
.footer { background: var(--bg-deep); color: rgba(255, 255, 255, .66); padding: var(--s7) 0 104px; font-size: 14.5px; }
@media (min-width: 1000px) { .footer { padding-bottom: var(--s6); } }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: var(--s4); letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, .7); }
.footer a:hover { color: #fff; }
.footer .qr { width: 112px; border-radius: 12px; background: #fff; padding: 6px; }
.footer-brand img { height: 42px; background: #fff; border-radius: 10px; padding: 6px; margin-bottom: var(--s4); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: var(--s6);
  padding-top: var(--s4); font-size: var(--fs-xs); color: rgba(255, 255, 255, .48); text-align: center;
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }

/* ================= 移动端悬浮工具条 ================= */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(18, 20, 26, .16);
  padding: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom));
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 6px 0; font-size: 11px; color: var(--ink-2); border-radius: 999px;
}
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar a.active { color: var(--brand); }
.mobile-bar a.bar-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; font-weight: 700; font-size: 12px;
  box-shadow: 0 6px 16px rgba(214, 35, 30, .28);
}
@media (min-width: 1000px) { .mobile-bar { display: none; } body { padding-bottom: 0 !important; } }
@media (max-width: 999px) { body { padding-bottom: 78px; } }

/* 回到顶部 */
.to-top {
  position: fixed; right: 14px; bottom: 92px; z-index: 65;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); display: none; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.to-top.show { display: grid; }
.to-top:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
@media (min-width: 1000px) { .to-top { bottom: 24px; right: 24px; } }

/* ================= 占位内容标记 ================= */
.ph {
  position: relative; border-radius: 5px; padding: 0 5px;
  background: #fff3f2; box-shadow: inset 0 0 0 1px #ffbdb8;
  color: var(--danger) !important; font-weight: 600;
}
.ph::before {
  content: "待补"; display: inline-block; font-size: 10px; line-height: 1.5; vertical-align: middle;
  background: var(--danger); color: #fff; border-radius: 4px; padding: 0 4px; margin-right: 5px; font-weight: 700;
}
/* 默认不展示「待补」占位内容：前台只呈现后台已填写的真实内容 */
body.hide-ph .ph { display: none; }
body.hide-ph .ph::before { display: none; }
.ph-block { outline: 2px dashed #f0a3a0; outline-offset: 4px; border-radius: var(--radius); }
body.hide-ph .ph-block { outline: none; }
.ph-panel {
  position: fixed; left: 12px; bottom: 84px; z-index: 80;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: rgba(18, 20, 26, .92); color: #fff; border: 0; border-radius: 999px;
  padding: 9px 14px; font-size: var(--fs-xs); font-family: inherit; box-shadow: var(--shadow);
}
@media (min-width: 1000px) { .ph-panel { bottom: 24px; } }
.ph-panel input { accent-color: var(--danger); }

/* ================= Toast / 灯箱 ================= */
.toast-wrap { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 200; display: grid; gap: var(--s2); width: max-content; max-width: 90vw; }
.toast { background: rgba(18, 20, 26, .95); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14.5px; box-shadow: var(--shadow); }
.toast.ok { background: var(--ok); } .toast.err { background: #cc2f26; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(10, 11, 13, .93); padding: 20px; cursor: zoom-out; }
.lightbox.show { display: grid; }
.lightbox img { max-width: 100%; max-height: 86dvh; border-radius: var(--radius); }
.lightbox figcaption { color: rgba(255, 255, 255, .82); text-align: center; margin-top: var(--s3); font-size: 14.5px; }
.lightbox-close { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; border: 0; font-size: 20px; cursor: pointer; }

/* ================= 动画 / 无障碍 ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= 工具类 ================= */
.empty { text-align: center; padding: var(--s7) var(--s4); color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.stats-card { background: linear-gradient(135deg, #16181d, #3a1512); border-radius: var(--radius); padding: var(--s4); box-shadow: var(--shadow); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: var(--s3); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); }
.mb-0 { margin-bottom: 0; } .mb-5 { margin-bottom: var(--s5); }
.divider { height: 1px; background: var(--line); margin: var(--s5) 0; }

/* =========================================================
   设计系统 v2.1 —— 去死板化创意层
   统一缓动与时长：全站动效共用 --motion-ease / --motion-dur
   ========================================================= */
:root {
  --motion-ease: cubic-bezier(.22, .61, .36, 1);
  --motion-dur: .45s;
  --brand-glow: rgba(214, 35, 30, .35);
}

/* ---------- 1. 首屏氛围：渐变光斑 + 细点纹理 ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 320px at 82% 18%, rgba(245, 166, 35, .22), transparent 65%),
    radial-gradient(640px 380px at 12% 88%, var(--brand-glow), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { letter-spacing: .01em; }
.hero-media {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotate(.6deg);
  transition: transform .6s var(--motion-ease), box-shadow .6s var(--motion-ease);
}
.hero-media:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 32px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .18); }

/* ---------- 2. 多图轮播组件（渐隐过渡 + 圆点 + 箭头 + 悬停暂停） ---------- */
.carousel { position: relative; width: 100%; height: 100%; min-height: 260px; overflow: hidden; border-radius: inherit; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--motion-ease);
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-fig {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; max-width: 78%;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(10, 11, 14, .55); backdrop-filter: blur(6px);
  transform: translateY(6px); opacity: 0; transition: all .5s var(--motion-ease) .15s;
}
.carousel.has-caption .carousel-slide.active .carousel-fig { transform: none; opacity: 1; }
.carousel-dots { position: absolute; right: 16px; bottom: 18px; z-index: 3; display: flex; gap: 7px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: all .35s var(--motion-ease);
}
.carousel-dot.active { width: 22px; background: #fff; }
.carousel-arrow {
  position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -19px;
  display: grid; place-items: center; border: 0; border-radius: 999px; cursor: pointer;
  color: #fff; font-size: 20px; line-height: 1; background: rgba(10, 11, 14, .4);
  backdrop-filter: blur(4px); opacity: 0; transform: scale(.85);
  transition: all .35s var(--motion-ease);
}
.carousel-arrow:hover { background: rgba(10, 11, 14, .68); }
.carousel-prev { left: 12px; } .carousel-next { right: 12px; }
.carousel:hover .carousel-arrow, .carousel:focus-within .carousel-arrow { opacity: 1; transform: none; }
@media (hover: none) { .carousel-arrow { opacity: .8; transform: none; } }

/* ---------- 3. 案例横向轮播（scroll-snap + 自动步进） ---------- */
.case-rail-wrap { position: relative; }
.case-rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.case-rail::-webkit-scrollbar { display: none; }
.case-rail .case-card {
  flex: 0 0 min(360px, 84vw); scroll-snap-align: start; margin-bottom: 0;
}
.rail-arrow {
  position: absolute; top: 38%; z-index: 5; width: 44px; height: 44px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow); opacity: .92; transition: all .3s var(--motion-ease);
}
.rail-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); }
.rail-arrow.prev { left: -14px; } .rail-arrow.next { right: -14px; }
@media (max-width: 760px) { .rail-arrow { display: none; } }

/* ---------- 4. 卡片 / 按钮 / 图标 微交互 ---------- */
.card, .case-card, .product-card, .step, .team-card {
  transition: transform var(--motion-dur) var(--motion-ease), box-shadow var(--motion-dur) var(--motion-ease), border-color var(--motion-dur) var(--motion-ease);
}
.card:hover, .step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.case-card:hover, .product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-card:hover .case-thumb img, .product-card:hover .product-thumb img { transform: scale(1.06); }
.case-thumb img, .product-thumb img { transition: transform .7s var(--motion-ease); }
.case-card:hover .case-tag { background: var(--brand); }
.card-icon { transition: transform .45s var(--motion-ease), background .45s var(--motion-ease); }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.08); background: var(--brand); color: #fff; }
.btn { transition: transform .25s var(--motion-ease), box-shadow .25s var(--motion-ease), background .25s var(--motion-ease), border-color .25s var(--motion-ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 24px var(--brand-glow); }
.btn:active { transform: translateY(0) scale(.97); }
.honor-card { transition: transform .4s var(--motion-ease), box-shadow .4s var(--motion-ease); }
.honor-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-lg); }

/* ---------- 5. 区块标题：更大的字号对比 + 渐变强调条 ---------- */
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.01em; }
.section-head { position: relative; }
.eyebrow { position: relative; }

/* ---------- 6. 浅色区块的纹理细节 ---------- */
.section-soft { position: relative; }
.section-soft::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(20, 22, 26, .05) 1px, transparent 1.3px);
  background-size: 22px 22px;
}
.section-soft .container { position: relative; z-index: 1; }

/* ---------- 7. 出场动画节奏增强（跟随滚动逐个点亮） ---------- */
.reveal { transition-delay: var(--rd, 0s); }

/* ---------- 8. 减少动态效果偏好：全部动效退化为直切 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .carousel-slide { transition: none; }
}

/* =========================================================
   v2.2 —— 客户 LOGO 墙自动滚动（双行反向 / 悬停暂停）
   ========================================================= */
.logo-marquee { overflow: hidden; position: relative; padding: 6px 0 2px; }
.logo-marquee::before, .logo-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.logo-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.lm-row { display: flex; width: max-content; gap: 18px; padding: 9px 0; }
.lm-row.rev { animation-direction: reverse; }
.lm-item {
  flex: 0 0 auto; width: 218px; padding: 16px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--motion-ease), box-shadow .35s var(--motion-ease), border-color .35s var(--motion-ease);
}
.lm-item:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow); border-color: var(--brand); z-index: 3; }
.lm-item img { max-height: 52px; max-width: 180px; object-fit: contain; }
.lm-item .lm-title { font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-align: center; margin: 0; }
.lm-item.no-img .lm-title { font-size: 15px; color: var(--ink); }
@keyframes lm-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.lm-anim { animation: lm-scroll 42s linear infinite; }
.logo-marquee:hover .lm-anim { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .lm-anim { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* 区块标题下强调条：轻微呼吸 */
@keyframes accentPulse { 0%,100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(1.35); opacity: .75; } }
.section-head::after {
  content: ""; display: block; width: 46px; height: 4px; margin-top: 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  animation: accentPulse 3.2s var(--motion-ease) infinite;
}
@media (prefers-reduced-motion: reduce) { .section-head::after { animation: none; } }

/* =========================================================
   v2.2 —— 视觉重做：层次 / 质感 / 新锐感
   思路：加大字号对比 → 渐变主色 → 卡片浮起 → 非对称装饰
   ========================================================= */
:root {
  --brand-grad: linear-gradient(135deg, #ff5a1f 0%, #d6231e 55%, #a3122f 100%);
  --brand-grad-soft: linear-gradient(135deg, #fff1ee, #ffe9ea);
  --ink-grad: linear-gradient(135deg, #14161b, #3d4350);
  --radius-xl: 28px;
  --shadow-xl: 0 32px 72px rgba(18, 20, 26, .16);
}

/* ---------- 通用：区块留白与容器 ---------- */
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* ---------- 导航：滚动后变毛玻璃 ---------- */
.navbar.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); box-shadow: var(--shadow-sm); }

/* ---------- 按钮：渐变主色 + 掠光反馈 ---------- */
.btn-primary {
  background: var(--brand-grad); border: 1px solid transparent; color: #fff;
  box-shadow: 0 8px 22px rgba(214, 35, 30, .28);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg); transition: left .55s var(--motion-ease);
}
.btn-primary:hover::after { left: 115%; }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(214, 35, 30, .4); }
.btn-outline { border-color: var(--line-strong); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); }
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .01em; }

/* ---------- 首屏：标题渐变 + 流动光斑 ---------- */
.hero h1 { font-size: clamp(30px, 5.2vw, 62px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.hero h1 .hl {
  background: linear-gradient(100deg, #ffb347, #ff6a3d 45%, #d6231e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 6px 26px rgba(214, 35, 30, .22);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; margin-bottom: 18px;
  border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; backdrop-filter: blur(8px);
}
.hero-lead { font-size: clamp(15px, 1.5vw, 18.5px); line-height: 1.85; max-width: 56ch; }
.hero::before { animation: heroGlow 14s ease-in-out infinite alternate; }
@keyframes heroGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: .95; }
  100% { transform: translate3d(-24px, 18px, 0) scale(1.08); opacity: 1; }
}
.hero-media { border-radius: var(--radius-xl); transform: rotate(.5deg); }
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .btn-primary::after { display: none; }
}

/* ---------- 数据卡片：毛玻璃 + 渐变数字 ---------- */
.hero-stats > div, .stats-card > .hero-stats > div {
  border-radius: var(--radius); padding: 16px 18px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px); transition: transform .35s var(--motion-ease), background .35s var(--motion-ease);
}
.hero-stats > div:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .16); }
.hero-stats b, .stats-card b { background: linear-gradient(120deg, #ffd88a, #ffb347 60%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 区块标题：小标签 + 大字 + 渐变条（呼吸条见上） ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; font-weight: 700;
  color: var(--brand); background: var(--brand-050); border-radius: 999px; padding: 6px 14px;
  display: inline-block; margin-bottom: 12px;
}
.section-head h2 { font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.section-head p { font-size: 16px; color: var(--muted); max-width: 62ch; }

/* ---------- 浅底区块：斜向渐变替代纯色 ---------- */
.section-soft { background: linear-gradient(180deg, #fff, #fbfbfd 40%, #f4f5f9); }

/* ---------- 卡片：圆角、悬浮、顶部渐变光边 ---------- */
.card, .step, .team-card {
  border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff;
  position: relative; overflow: hidden;
}
.card::before, .step::before, .team-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--brand-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--motion-ease);
}
.card:hover::before, .step:hover::before, .team-card:hover::before { transform: scaleX(1); }
.card h3, .step h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.card p { color: var(--muted); line-height: 1.8; }
.card-icon {
  border-radius: 16px; background: var(--brand-grad-soft); color: var(--brand);
  display: grid; place-items: center; width: 54px; height: 54px;
}
.card:hover .card-icon { background: var(--brand-grad); color: #fff; }

/* ---------- 案例 / 产品卡：圆角 + 图片浮底渐变 ---------- */
.case-card, .product-card { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.case-thumb img, .product-thumb img { aspect-ratio: 4 / 3; }
.case-body h3, .product-body h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.case-tag { background: rgba(18, 20, 26, .62); backdrop-filter: blur(4px); border-radius: 999px; transition: background .35s var(--motion-ease); }
.case-card:hover .case-tag, .product-card:hover .case-tag { background: var(--brand); }
.case-card:hover { box-shadow: var(--shadow-xl); }
.product-card:hover { box-shadow: var(--shadow-xl); }
.product-badge { background: var(--brand-grad); }

/* ---------- 流程步骤：数字序章风格（若使用 .step） ---------- */
.step { padding: 26px 24px; }

/* ---------- 转化横幅：渐变 + 纹理 ---------- */
.cta-banner { background: var(--ink-grad); border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.cta-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: radial-gradient(420px 220px at 88% 12%, rgba(214, 35, 30, .55), transparent 62%),
              radial-gradient(360px 200px at 8% 92%, rgba(245, 166, 35, .35), transparent 60%);
}

/* ---------- 页脚：品牌渐变细线 ---------- */
.footer { position: relative; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--brand-grad); }

/* =========================================================
   v2.2 补充 —— 子页首屏 / 表格 / 时间轴 / 团队卡
   ========================================================= */
/* 子页面首屏：深色渐变 + 大标题 */
.page-hero { background: var(--ink-grad); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(520px 260px at 85% 15%, rgba(214, 35, 30, .45), transparent 62%),
              radial-gradient(420px 240px at 10% 95%, rgba(245, 166, 35, .25), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.02em; }
.breadcrumb a, .breadcrumb { opacity: .92; }
.breadcrumb { font-size: 14px; }

/* 价目表：圆角卡 + 行悬浮 */
.price-table { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--radius); }
.price-table thead th { background: var(--brand-grad); color: #fff; font-weight: 600; letter-spacing: .04em; }
.price-table tbody tr { transition: background .3s var(--motion-ease), transform .3s var(--motion-ease); }
.price-table tbody tr:nth-child(even) { background: #fafbfc; }
.price-table tbody tr:hover { background: var(--brand-050); }

/* 发展历程时间轴：渐变节点 */
.timeline { position: relative; }
.timeline li b { color: var(--brand); font-size: 16px; }
.timeline li::before, .timeline > li > b::before { }
.timeline li { position: relative; padding-left: 4px; }

/* 团队成员卡：头像圆形 + 悬浮抬起 */
.team-card img { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; margin-bottom: 12px; border: 3px solid #fff; box-shadow: var(--shadow); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

/* 移动端导航：品牌渐变按钮更醒目 */
.mm-cta .btn-primary { box-shadow: none; }

/* ================= v2.2b 细节修复 ================= */
/* 1) 区块标题只保留一条装饰线：去掉 h2 下方的旧线，统一用底部呼吸线并居中 */
.section-head h2::after { display: none; }
.section-head::after { margin: 14px auto 0; width: 52px; }
/* 2) 首屏大标题：字号收敛避免尴尬换行，并自动平衡断行 */
.hero h1 { font-size: clamp(28px, 4.6vw, 54px); text-wrap: balance; }
/* 3) page-hero 大标题同样平衡断行 */
.page-hero h1 { text-wrap: balance; }

/* ================= v2.3 炫酷动效层（部署后立即可见） ================= */
/* 1) 首屏背景：多色光斑缓慢流动，像活的一样 */
.hero { position: relative; overflow: hidden; }
.hero::before {
  background: radial-gradient(600px 420px at 18% 30%, rgba(255,90,31,.28), transparent 62%),
              radial-gradient(700px 480px at 82% 12%, rgba(214,35,30,.30), transparent 60%),
              radial-gradient(520px 420px at 66% 88%, rgba(163,18,47,.26), transparent 62%);
  background-size: 160% 160%;
  animation: heroFlow 16s ease-in-out infinite alternate;
}
@keyframes heroFlow {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 60% 40%; }
  100% { background-position: 100% 80%; }
}
/* 2) 标题高亮字：金色渐变流动 */
.hero h1 .hl {
  background: linear-gradient(90deg, #ffc65c, #ff8a3d, #ffc65c);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: hlFlow 3.6s linear infinite;
}
@keyframes hlFlow { 0% { background-position: 0% 0; } 100% { background-position: -200% 0; } }
/* 3) 主按钮：一直有掠光滑过，不是死板色块 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: sheen 3.4s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { left: -80%; } 85%, 100% { left: 130%; } }
/* 4) 数据卡数字：渐变流动 + 更强的卡面 */
.hero-stats > div { background: rgba(255,255,255,.06); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.10); }
.hero-stats b {
  background: linear-gradient(90deg, #ffc65c, #ff7a45, #ffc65c);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: hlFlow 4s linear infinite;
}
/* 5) 案例卡图片：悬停缓慢放大 + 徽章浮现感（更有"作品集"味道） */
.case-thumb { overflow: hidden; }
.case-thumb img { transition: transform .7s var(--motion-ease); }
.case-card:hover .case-thumb img { transform: scale(1.08); }
/* 6) 子页头图：光斑也会流动 */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  background: radial-gradient(520px 360px at 78% 20%, rgba(255,122,69,.22), transparent 60%);
  background-size: 150% 150%;
  animation: heroFlow 14s ease-in-out infinite alternate;
}
/* 7) 导航当前项：底部渐变小条 */
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -6px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent));
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero h1 .hl, .btn-primary::after, .hero-stats b, .page-hero::after { animation: none; }
}
