/* ==========================================================================
   胜业信息科技 · 保险服务平台  —  全局样式（移动优先，适配 PC）
   ========================================================================== */

:root {
  /* ---- 品牌色 ---- */
  --blue-950: #08204a;
  --blue-900: #0b2b63;
  --blue-800: #103a80;
  --blue-700: #15499c;
  --blue-600: #1c58b5;
  --blue-500: #2b6fce;
  --blue-400: #5b93e0;
  --blue-200: #b9d2f3;
  --blue-100: #dde9fb;
  --blue-50:  #f1f6fd;

  --accent:      #f2a33c;
  --accent-deep: #e0891f;
  --accent-soft: #fdf0da;

  --ink:   #17233a;
  --gray:  #5b667a;
  --gray-2:#8b94a6;
  --line:  #e6eaf2;
  --bg:    #f6f8fc;
  --card:  #ffffff;

  /* ---- 布局 ---- */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 40, 90, 0.10);
  --shadow-lg: 0 22px 60px rgba(12, 35, 80, 0.16);
  --header-h: 68px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Noto Sans SC", "Hiragino Sans GB", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }

/* ---------- 通用标题 ---------- */
.section-head { text-align: center; margin-bottom: 34px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue-600);
  font-weight: 600;
  text-transform: uppercase;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 5px 14px;
  border-radius: 999px;
}
.section-head h2 {
  font-size: 26px;
  margin-top: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--blue-950);
}
.section-head p {
  color: var(--gray);
  font-size: 14.5px;
  max-width: 560px;
  margin: 10px auto 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: 0 10px 22px rgba(21, 73, 156, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 73, 156, .42); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(240, 163, 60, .35);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-200);
}
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-400); }
.btn-block { width: 100%; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .logo {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: #fff;
  box-shadow: 0 6px 16px rgba(21, 73, 156, .3);
}
.brand .logo svg { width: 22px; height: 22px; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand .brand-txt b { font-size: 19px; color: var(--blue-950); letter-spacing: 1px; font-weight: 800; }
.brand .brand-txt span { font-size: 11px; color: var(--gray-2); letter-spacing: 1.6px; }

.naver { display: flex; align-items: center; gap: 4px; }
.naver a {
  padding: 9px 14px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  border-radius: 10px;
  transition: color .15s, background .15s;
}
.naver a:hover { color: var(--blue-700); background: var(--blue-50); }
.naver a.active { color: var(--blue-700); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 10px 20px; font-size: 14px; }

/* 汉堡菜单（移动端） */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5px;
}
.menu-toggle span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s, background .2s;
}
.menu-toggle.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); background: var(--blue-700); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); background: var(--blue-700); }

/* 移动端抽屉 */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(10, 30, 70, .10);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  z-index: 99;
}
.mobile-nav.open { max-height: 540px; }
.mobile-nav nav { padding: 8px 20px 22px; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--bg);
}
.mobile-nav a.active { color: var(--blue-700); }
.mobile-nav .btn {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  text-align: center;
}
/* 修正菜单内按钮文字颜色：避免被 .mobile-nav a 的深色覆盖 */
.mobile-nav a.btn-primary { color: #fff; }
.mobile-nav a.btn-primary:hover { color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 82% -10%, rgba(91,147,224,.35), transparent 60%),
    radial-gradient(900px 520px at 10% 110%, rgba(240,163,60,.22), transparent 55%),
    linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 55%, var(--blue-700) 100%);
  overflow: hidden;
  padding: 46px 0 54px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
.hero-copy .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #eaf2ff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .5px;
}
.hero-copy .badge svg { width: 14px; height: 14px; }
.hero-copy h1 {
  font-size: 32px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 18px 0 14px;
}
.hero-copy h1 .hl { color: var(--accent); }
.hero-copy p {
  font-size: 15.5px;
  color: rgba(234, 240, 252, .9);
  max-width: 620px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 20px 10px;
  backdrop-filter: blur(4px);
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero-stats .stat b em { font-style: normal; font-size: 15px; margin-left: 2px; color: var(--accent); }
.hero-stats .stat span { font-size: 12.5px; color: rgba(234,240,252,.82); }

/* 滚动信任条 */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; }
.trustbar .item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--gray); }
.trustbar .item b { color: var(--ink); font-weight: 700; }
.trustbar .item .ico {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center;
}
.trustbar .item .ico svg { width: 19px; height: 19px; }

/* ==========================================================================
   分类卡片
   ========================================================================== */
.cats { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.cat-card .cat-top { display: flex; align-items: center; gap: 14px; }
.cat-card .cat-ico {
  width: 52px; height: 52px; flex: 0 0 auto;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
}
.cat-card .cat-ico svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 19px; color: var(--blue-950); font-weight: 800; }
.cat-card .cat-tag { font-size: 12px; color: var(--blue-600); background: var(--blue-50); padding: 2px 9px; border-radius: 999px; }
.cat-card p { font-size: 14px; color: var(--gray); flex: 1; }
.cat-card .cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-card .cat-thumbs { display: flex; flex-direction: column; gap: 8px; }
.cat-card .cat-more {
  font-size: 14px; font-weight: 700; color: var(--blue-700);
  display: inline-flex; align-items: center; gap: 6px;
}
.cat-card .cat-more svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .cat-more svg { transform: translateX(4px); }

/* 分类内的缩略图小卡片 */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mini-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  text-align: center;
}
.mini-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.mini-card span {
  display: block;
  font-size: 11px;
  color: var(--gray);
  padding: 7px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   产品卡片网格
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .p-img { position: relative; overflow: hidden; background: var(--blue-50); }
.product-card .p-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .p-img img { transform: scale(1.04); }
.product-card .p-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; color: #fff;
  background: var(--blue-700);
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: .5px;
}
.product-card .p-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 4px; }
.product-card h4 { font-size: 15.5px; color: var(--blue-950); font-weight: 700; }
.product-card .p-desc { font-size: 12.5px; color: var(--gray); line-height: 1.55; }
.product-card .p-go {
  margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--blue-700);
  display: inline-flex; align-items: center; gap: 5px;
}
.product-card .p-go svg { width: 15px; height: 15px; }

/* ==========================================================================
   服务优势
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card .why-ico {
  width: 58px; height: 58px; margin: 0 auto 14px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
}
.why-card .why-ico svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 17px; color: var(--blue-950); font-weight: 800; margin-bottom: 6px; }
.why-card p { font-size: 13.5px; color: var(--gray); }

/* ==========================================================================
   服务流程
   ========================================================================== */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
}
.step .num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 19px;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.step h4 { font-size: 16px; color: var(--blue-950); font-weight: 800; margin-bottom: 3px; }
.step p { font-size: 13.5px; color: var(--gray); }

/* ==========================================================================
   关于我们
   ========================================================================== */
.about { background: linear-gradient(180deg, #fff, var(--bg)); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-visual .pic {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  padding: 40px 28px;
  color: #fff;
  display: flex; flex-direction: column; gap: 8px;
}
.about-visual .pic b { font-size: 22px; }
.about-visual .pic span { font-size: 13px; color: rgba(255,255,255,.85); }
.about-copy h2 { font-size: 26px; color: var(--blue-950); font-weight: 800; margin-bottom: 14px; }
.about-copy p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.about-feats { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
.about-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.about-feats li svg { width: 20px; height: 20px; color: var(--blue-600); flex: 0 0 auto; margin-top: 2px; }

/* ==========================================================================
   CTA 横幅
   ========================================================================== */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(240,163,60,.25), transparent 60%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.cta-band h2 { font-size: 25px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: rgba(234,240,252,.9); font-size: 15px; margin-bottom: 24px; }
.cta-band .btn { margin: 0 6px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: var(--blue-950); color: #aeb9d0; padding: 48px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer .f-brand .logo {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--blue-600); display: grid; place-items: center; color: #fff;
}
.footer .f-brand .logo svg { width: 24px; height: 24px; }
.footer .f-brand b { color: #fff; font-size: 19px; letter-spacing: 1px; }
.footer .f-brand span { display: block; font-size: 11px; color: #8a97b3; letter-spacing: 1.4px; }
.footer p { font-size: 13.5px; line-height: 1.8; }
.footer h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: #aeb9d0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.footer .contact svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--blue-400); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #8a97b3;
}
.footer-bottom a { color: #aeb9d0; }
.footer-bottom .icp { margin-top: 6px; }
.footer-bottom .icp a { color: #8a97b3; transition: color .15s; }
.footer-bottom .icp a:hover { color: #fff; }

/* ==========================================================================
   “页面头部横幅”  (内页共用)
   ========================================================================== */
.page-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(800px 340px at 88% -20%, rgba(91,147,224,.35), transparent 60%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  padding: 42px 0;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 40% 10%, #000, transparent 70%);
}
.page-hero .crumb {
  position: relative;
  font-size: 13px; color: rgba(234,240,252,.75);
  margin-bottom: 14px;
}
.page-hero .crumb a { color: rgba(234,240,252,.85); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { position: relative; font-size: 28px; font-weight: 800; letter-spacing: .5px; }
.page-hero p { position: relative; font-size: 15px; color: rgba(234,240,252,.85); margin-top: 8px; max-width: 640px; }

/* 面包屑数据 */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumb svg { width: 14px; height: 14px; opacity: .7; }

/* 分类页产品列表 */
.cat-products { display: grid; grid-template-columns: 1fr; gap: 22px; }
.cp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15,40,90,.05);
}
.cp-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cp-head h2 { font-size: 18px; color: var(--blue-950); font-weight: 800; }
.cp-head .cp-tag { font-size: 12px; color: var(--blue-700); background: var(--blue-50); padding: 3px 11px; border-radius: 999px; }
.cp-body { background: var(--bg); }
.cp-body img { width: 100%; display: block; }
.cp-banner { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue-50); padding: 12px; font-size: 13.5px; color: var(--blue-700); font-weight: 600; }
.cp-banner svg { width: 18px; height: 18px; }

/* 内页回到顶部 & 快捷导航 */
.subnav { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0; }
.subnav nav { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.subnav nav::-webkit-scrollbar { display: none; }
.subnav nav a {
  flex: 0 0 auto;
  font-size: 14px; color: var(--gray);
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff;
}
.subnav nav a.active, .subnav nav a:hover { color: #fff; background: var(--blue-700); border-color: var(--blue-700); }

/* 滚动提示 */
.scroll-hint { text-align: center; color: var(--gray-2); font-size: 12.5px; margin-top: 10px; }

/* 回到顶部 */
#toTop {
  position: fixed; right: 18px; bottom: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 90;
}
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop:hover { background: var(--blue-800); }
#toTop svg { width: 20px; height: 20px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 899px) {
  .naver, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

@media (min-width: 560px) {
  .hero-stats { padding: 24px 16px; }
}

@media (min-width: 720px) {
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 32px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cat-products { grid-template-columns: repeat(2, 1fr); }
  .about-feats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .hero { padding: 74px 0 84px; }
  .hero-grid { grid-template-columns: 1.25fr .85fr; gap: 40px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy p { font-size: 16px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .products { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
}

@media (min-width: 1100px) {
  .cat-products { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 46px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   渐入动画
   ========================================================================== */
/* 仅当 JS 启用时才隐藏以做滚动渐现；无 JS 时内容始终可见（更稳健） */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

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

/* ==========================================================================
   图片灯箱（详情页点击查看大图）
   ========================================================================== */
.cp-img-wrap {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}
.cp-img-wrap img { transition: transform .35s ease; }
.cp-img-wrap:hover img { transform: scale(1.02); }
.cp-zoom-hint {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11, 43, 99, .74);
  color: #fff;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.cp-zoom-hint svg { width: 15px; height: 15px; flex: 0 0 auto; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 9, 22, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-stage {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  place-items: center;
  touch-action: none;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}
.lb-img {
  /* 保持原始尺寸：PC 初始 1:1 放大查看，手机由 JS 按视口 fit 缩放 */
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  transform-origin: center center;
}
.lb-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 310;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .15s, transform .15s;
}
.lb-close:hover { background: rgba(255,255,255,.28); transform: scale(1.05); }
.lb-hint {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 310;
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  letter-spacing: .5px;
  pointer-events: none;
  text-align: center;
  padding: 0 20px;
  white-space: nowrap;
}
