/* ===== 向壹财税 · 深海军蓝 + 金色 主题 ===== */
:root{
  --navy:#14304a;
  --navy-d:#0e2238;
  --blue:#1a4b7c;
  --gold:#c6a15b;
  --gold-l:#dfc68f;
  --grad:linear-gradient(135deg,#1a4b7c 0%,#14304a 100%);
  --grad-gold:linear-gradient(135deg,#c6a15b 0%,#dfc68f 100%);
  --grad-soft:linear-gradient(135deg,#f0f2f5 0%,#e9ecf1 100%);
  --ink:#20262f;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#ffffff;
  --soft:#f7f8fa;
  --dark:#0f1929;
  --shadow:0 12px 32px rgba(20,48,74,.08);
  --shadow-sm:0 6px 18px rgba(20,48,74,.05);
  --radius:14px;
  --maxw:1180px;
  --card-bg:#ffffff;
  --header-bg:rgba(255,255,255,.94);
  --nav-text:#3a4553;
  --text-2:#44505f;
  --heading:var(--navy);
  --bg-alt:#f0f2f5;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,h4{line-height:1.3;font-weight:800}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ===== 顶部导航 ===== */
.site-header{position:sticky;top:0;z-index:50;background:var(--header-bg);backdrop-filter:saturate(150%) blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:66px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;color:var(--heading);white-space:nowrap}
.logo-img{height:38px;width:auto}
.nav-links{display:flex;align-items:center;gap:2px}
.nav-links a{padding:8px 13px;border-radius:9px;font-size:14.5px;color:var(--nav-text);font-weight:600;transition:.18s}
.nav-links a:hover{color:var(--heading);background:var(--soft)}
.nav-links a.active{color:var(--heading);position:relative}
.nav-links a.active::after{content:"";position:absolute;bottom:-2px;left:16px;right:16px;height:2.5px;background:var(--gold);border-radius:99px}
.nav-cta{background:var(--gold)!important;color:var(--heading)!important;padding:9px 20px!important;font-weight:700;border-radius:10px!important;transition:.2s}
.nav-cta:hover{filter:brightness(.92);transform:translateY(-1px)}
.nav-toggle{display:none;background:none;border:0;font-size:24px;color:var(--heading);cursor:pointer}

/* ===== 按钮 ===== */
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:10px;font-weight:700;font-size:16px;cursor:pointer;transition:.2s;border:2px solid transparent}
.btn-primary{background:var(--navy);color:#fff;box-shadow:0 10px 22px rgba(20,48,74,.25)}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(1.08)}
.btn-gold{background:var(--gold);color:var(--heading);box-shadow:0 10px 22px rgba(198,161,91,.30)}
.btn-gold:hover{transform:translateY(-2px);filter:brightness(.95)}
.btn-ghost{background:var(--card-bg);color:var(--heading);border-color:var(--heading)}
.btn-ghost:hover{background:var(--soft)}
.btn-light{background:var(--card-bg);color:var(--heading);border-color:#fff}
.btn-light:hover{background:var(--soft)}
.btn-outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.65)}
.btn-outline-light:hover{background:rgba(255,255,255,.12)}

/* ===== Hero ===== */
.hero{position:relative;background:var(--grad);color:#fff;overflow:hidden;padding:70px 0 90px}
.hero::after{content:"";position:absolute;right:-120px;top:-80px;width:420px;height:420px;border-radius:50%;background:rgba(198,161,91,.07)}
.hero::before{content:"";position:absolute;left:-100px;bottom:-120px;width:340px;height:340px;border-radius:50%;background:rgba(198,161,91,.05)}
.hero-inner{position:relative;z-index:2;max-width:760px}
.hero .kicker{display:inline-block;background:rgba(198,161,91,.2);padding:6px 14px;border-radius:99px;font-size:14px;font-weight:700;margin-bottom:18px;color:var(--gold-l)}
.hero h1{font-size:44px;line-height:1.2;margin-bottom:18px;letter-spacing:.5px}
.hero h1 .hl{color:var(--gold-l)}
.hero p.lead{font-size:18px;opacity:.92;margin-bottom:28px;max-width:620px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-bottom:46px}

/* ===== 集团前台实景横幅 (首页 Hero 下方) ===== */
.frontshot{position:relative;width:100%;height:clamp(620px,74vh,860px);overflow:hidden;background:var(--navy)}
.frontshot img{width:100%;height:100%;object-fit:cover;display:block;object-position:center 51%}
.frontshot-cap{position:absolute;left:28px;bottom:24px;background:rgba(20,48,74,.74);color:#fff;font-size:14px;line-height:1.6;padding:12px 18px;border-radius:12px;display:flex;flex-direction:column;gap:3px;backdrop-filter:blur(4px);box-shadow:0 4px 18px rgba(0,0,0,.28)}
.frontshot-cap .fs-line{white-space:nowrap}
.frontshot-cap .fs-phone{color:var(--gold-l);font-weight:700}

/* ===== 卖点横幅 (首页) ===== */
.sell-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px}
.sp-card{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:26px 20px;text-align:center;transition:.22s}
.sp-card:hover{background:rgba(255,255,255,.14);transform:translateY(-3px)}
.sp-card .sp-icon{font-size:36px;margin-bottom:10px}
.sp-card h3{font-size:17px;color:var(--gold-l);margin-bottom:6px}
.sp-card p{font-size:14px;opacity:.88}

/* ===== 通用 section ===== */
.section{padding:74px 0}
.section-soft{background:var(--soft);padding:74px 0}
.section-navy{background:var(--navy);color:#fff;padding:74px 0}
.section-head{text-align:center;max-width:760px;margin:0 auto 44px}
.section-head .kicker{display:inline-block;color:var(--gold);font-weight:800;font-size:14px;letter-spacing:1.5px;margin-bottom:10px;text-transform:uppercase}
.section-title{font-size:32px;margin-bottom:12px;color:var(--heading)}
.section-navy .section-title{color:#fff}
.section-sub{color:var(--muted);font-size:17px}
.section-navy .section-sub{opacity:.82}

/* ===== 网格/卡片 ===== */
.grid{display:grid;gap:22px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:28px;transition:.22s;box-shadow:var(--shadow-sm)}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--gold)}
.card .icon{width:54px;height:54px;border-radius:13px;background:var(--grad-soft);display:grid;place-items:center;font-size:26px;margin-bottom:16px}
.card h3{font-size:19px;margin-bottom:8px;color:var(--heading)}
.card p{color:var(--muted);font-size:15px}

/* ===== 服务概览卡 (首页) ===== */
.svc-card{position:relative;overflow:hidden}
.svc-card .tag{position:absolute;top:18px;right:18px;font-size:12px;font-weight:700;color:var(--gold);background:#fdf6e8;padding:4px 10px;border-radius:99px}

/* ===== 核心优势 (首页) ===== */
.adv-grid{grid-template-columns:repeat(3,1fr)}
.adv .icon{background:var(--grad);color:#fff}

/* ===== 服务流程 (步骤) ===== */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;counter-reset:step;margin-top:10px}
.step{position:relative;background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:28px 20px;text-align:center;transition:.2s}
.step:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}
.step .num{width:46px;height:46px;border-radius:50%;background:var(--grad);color:#fff;font-weight:800;font-size:20px;display:grid;place-items:center;margin:0 auto 14px}
.step h4{font-size:17px;margin-bottom:6px;color:var(--heading)}
.step p{color:var(--muted);font-size:14px}

/* ===== 关于我们 ===== */
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.about-text h2{font-size:30px;margin-bottom:16px;color:var(--heading)}
.about-text p{color:var(--text-2);margin-bottom:14px}
.about-list{list-style:none;margin-top:14px}
.about-list li{position:relative;padding-left:26px;margin-bottom:10px;color:var(--text-2)}
.about-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--gold);font-weight:800;font-size:16px}
.about-visual{background:var(--grad);border-radius:20px;padding:34px;color:#fff}
.about-visual .big{font-size:54px;font-weight:800;line-height:1;color:var(--gold-l)}
.about-visual .small{opacity:.95;margin-top:8px}

/* ===== 发展历程 timeline ===== */
.timeline{position:relative;margin-top:10px;padding-left:8px}
.timeline::before{content:"";position:absolute;left:14px;top:6px;bottom:6px;width:2px;background:var(--line)}
.tl-item{position:relative;padding:0 0 26px 46px}
.tl-item .year{position:absolute;left:0;top:2px;width:30px;height:30px;border-radius:50%;background:var(--grad);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center}
.tl-item h4{font-size:17px;margin-bottom:4px;color:var(--heading)}
.tl-item p{color:var(--muted);font-size:14px}

/* ===== 数据条 ===== */
.stat-band{background:var(--dark);color:#fff;border-radius:18px;padding:34px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;margin-top:30px}
.stat-band .n{font-size:34px;font-weight:800;color:var(--gold-l)}
.stat-band .l{opacity:.85;font-size:14px;margin-top:6px}

/* ===== 创业知识库 首页文章流 ===== */
.kb-feed{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.kb-card{display:flex;flex-direction:column;background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:24px;transition:.22s;box-shadow:var(--shadow-sm)}
.kb-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--gold)}
.kb-card .cat{display:inline-block;align-self:flex-start;font-size:12px;font-weight:700;color:var(--gold);background:#fdf6e8;padding:4px 11px;border-radius:99px;margin-bottom:12px}
.kb-card h3{font-size:18px;margin-bottom:8px;line-height:1.45;color:var(--heading)}
.kb-card p{color:var(--muted);font-size:14px;flex:1}
.kb-card .more{margin-top:14px;color:var(--heading);font-weight:700;font-size:14px}
.kb-card .card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px}
.kb-card .date{font-size:12.5px;color:var(--muted)}
.kb-card .more{margin-top:0}

/* ===== 知识库栏目页 ===== */
.kb-hero{background:var(--grad);color:#fff;padding:64px 0 54px}
.kb-hero .kicker{display:inline-block;background:rgba(198,161,91,.2);padding:6px 14px;border-radius:99px;font-size:14px;font-weight:700;margin-bottom:16px;color:var(--gold-l)}
.kb-hero h1{font-size:40px;line-height:1.2;margin-bottom:14px}
.kb-hero .lead{font-size:17px;opacity:.92;max-width:680px}
.kb-hero .kb-stats{margin-top:22px;font-weight:700;background:rgba(198,161,91,.18);display:inline-block;padding:8px 16px;border-radius:99px;font-size:14px;color:var(--gold-l)}
.kb-filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin:40px 0 30px}
.kb-filter{cursor:pointer;font-family:inherit;font-size:14px;padding:8px 18px;border:1px solid var(--line);border-radius:99px;font-weight:600;color:var(--nav-text);background:var(--card-bg);transition:.18s}
.kb-filter:hover{color:var(--heading)}
.kb-filter.active{background:var(--navy);color:#fff;border-color:transparent}
.kb-section-title{font-size:24px;margin:34px 0 4px;color:var(--heading)}
.kb-section-sub{color:var(--muted);margin-bottom:18px;font-size:15px}
.kb-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.kb-more-wrap{text-align:center;margin-top:34px}
.kb-loadmore{cursor:pointer;font-family:inherit;font-size:15px;font-weight:700;color:var(--heading);background:var(--card-bg);border:1.5px solid var(--gold);border-radius:99px;padding:12px 34px;transition:.2s}
.kb-loadmore:hover{background:var(--gold);color:#fff}
.related{background:var(--soft);border-radius:14px;padding:22px 26px;margin:26px 0 6px}
.related h3{font-size:18px;margin-bottom:10px;color:var(--heading)}
.related ul{margin:0;list-style:none}
.related li{padding:7px 0;border-bottom:1px solid #eceef2}
.related li:last-child{border-bottom:0}
.related a{color:var(--text-2);font-size:15px}
.related a:hover{color:var(--heading);font-weight:600}

/* ===== 文章页 ===== */
.post{max-width:820px;margin:0 auto;background:var(--card-bg);border:1px solid var(--line);border-radius:18px;padding:40px 44px;box-shadow:var(--shadow-sm)}
.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:16px}
.breadcrumb .sep{margin:0 8px}
.breadcrumb a:hover{color:var(--heading)}
.cat-tag{display:inline-block;font-size:13px;font-weight:700;color:var(--gold);background:#fdf6e8;padding:5px 13px;border-radius:99px;margin-bottom:14px}
.post h1{font-size:30px;margin-bottom:12px;line-height:1.35;color:var(--heading)}
.post .meta{color:var(--muted);font-size:14px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.post h2{font-size:22px;margin:28px 0 12px;color:var(--heading)}
.post h3{font-size:18px;margin:22px 0 10px;color:var(--heading)}
.post p{margin-bottom:14px;color:var(--text-2)}
.post ul{margin:0 0 16px 22px}
.post li{margin-bottom:8px;color:var(--text-2)}
.note{background:#fdf6e8;border:1px solid #efe2c8;color:#8a6a1a;border-radius:12px;padding:16px 18px;font-size:14px;margin:26px 0}
.post-cta{background:var(--soft);border-radius:14px;padding:24px;margin:28px 0 18px}
.post-cta h3{font-size:19px;margin-bottom:6px;color:var(--heading)}
.post-cta a{color:var(--heading);font-weight:700}
.post-nav{display:flex;justify-content:space-between;gap:12px;font-weight:600;margin:10px 0 18px}
.post-nav a:hover{color:var(--heading)}
.disclaimer{color:var(--muted);font-size:13px;border-top:1px solid var(--line);padding-top:16px}

/* ===== CTA 横幅 ===== */
.cta-band{background:var(--grad);color:#fff;border-radius:18px;padding:44px;text-align:center}
.cta-band h2{font-size:28px;margin-bottom:10px}
.cta-band p{opacity:.92;margin-bottom:22px;font-size:17px}

/* ================================================================
   服务详情页 组件 (register / bookkeeping / enterprise)
   ================================================================ */

/* --- 页面 Hero (服务详情页专用) --- */
.page-hero{background:var(--grad);color:#fff;padding:56px 0 52px;text-align:center}
.page-hero .kicker{display:inline-block;background:rgba(198,161,91,.2);padding:5px 14px;border-radius:99px;font-size:13px;font-weight:700;margin-bottom:12px;color:var(--gold-l)}
.page-hero h1{font-size:38px;line-height:1.2;margin-bottom:12px}
.page-hero p.lead{font-size:17px;opacity:.88;max-width:680px;margin:0 auto}
.page-hero .hero-cta{margin-top:30px}

/* --- 服务类型卡片 (服务详情页主体) --- */
.svc-section{padding:60px 0}
.svc-section:nth-child(even){background:var(--soft)}
.svc-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:980px){.svc-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.svc-list{grid-template-columns:1fr}}

.svc-item{background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:32px 28px;transition:.22s;position:relative;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.svc-item:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--gold)}
.svc-header{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.svc-header .svc-icon{width:50px;height:50px;border-radius:12px;background:var(--grad-soft);display:grid;place-items:center;font-size:24px;flex:none}
.svc-header h3{font-size:21px;color:var(--heading)}
.svc-badge{margin-left:auto;font-size:12px;font-weight:700;color:#fff;background:var(--gold);padding:3px 11px;border-radius:99px}
.svc-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line);font-size:14px}
.svc-foot .cyc{color:var(--muted);font-size:13px;font-weight:500}
.svc-foot a{color:var(--heading);font-weight:700;white-space:nowrap}
.svc-foot a:hover{color:var(--gold)}
.svc-desc{color:var(--muted);font-size:15px;margin-bottom:18px;line-height:1.65}
.svc-features{list-style:none;margin-bottom:18px}
.svc-features li{position:relative;padding-left:22px;margin-bottom:7px;font-size:14.5px;color:var(--nav-text)}
.svc-features li::before{content:"✓";position:absolute;left:0;top:0;color:var(--gold);font-weight:800;font-size:14px}

/* --- 信息块 (资料/流程/周期) --- */
.info-block{margin-top:16px;padding-top:16px;border-top:1px dashed var(--line)}
.info-block h4{font-size:14px;color:var(--heading);margin-bottom:8px;font-weight:700;display:flex;align-items:center;gap:6px}
.info-block h4 span{color:var(--gold);font-size:16px}
.info-block ul{list-style:none;padding:0}
.info-block li{font-size:14px;color:var(--text-2);padding:3px 0;padding-left:16px;position:relative}
.info-block li::before{content:"·";position:absolute;left:0;color:var(--gold);font-weight:800}
.info-flow{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.info-flow span{background:var(--soft);color:var(--heading);padding:5px 13px;border-radius:99px;font-size:13px;font-weight:600;border:1px solid var(--line)}

/* --- 价格表 (代理记账) --- */
.pricing{padding:60px 0}
.price-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;align-items:stretch}
@media(max-width:780px){.price-grid{grid-template-columns:1fr}}

.price-card{background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:36px 28px;text-align:center;transition:.22s;position:relative;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.price-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.price-card.popular{border:2px solid var(--gold);box-shadow:0 12px 32px rgba(198,161,91,.15)}
.price-tag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--bg-alt);color:var(--heading);font-size:12px;font-weight:700;padding:4px 16px;border-radius:99px;white-space:nowrap}
.price-card.popular .price-tag{background:var(--gold);color:var(--heading)}
.price-card .btn{margin-top:auto}
.price-name{font-size:19px;color:var(--heading);margin-bottom:6px}
.price-target{font-size:13px;color:var(--muted);margin-bottom:16px;min-height:40px;display:flex;align-items:center;justify-content:center}
.price-val{font-size:42px;font-weight:800;color:var(--heading);margin-bottom:4px}
.price-val .unit{font-size:16px;font-weight:600;color:var(--muted)}
.price-note{font-size:13px;color:var(--muted);margin-bottom:20px}
.price-features{text-align:left;margin-bottom:24px;display:grid;grid-template-columns:1fr 1fr;column-gap:24px}
.price-features li{padding:8px 0 8px 24px;font-size:14px;color:var(--nav-text);position:relative;border-bottom:1px solid #f3f4f6}
.price-features li:last-child{border-bottom:0}
.price-features li::before{content:"✓";position:absolute;left:0;top:8px;color:var(--gold);font-weight:800;font-size:15px}

/* ===== 班型对照表 (会计实训) ===== */
.cmp-wrap{overflow-x:auto;margin-top:10px}
.cmp{width:100%;border-collapse:collapse;background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;font-size:14.5px;min-width:640px}
.cmp th,.cmp td{padding:13px 14px;text-align:center;border-bottom:1px solid var(--line)}
.cmp thead th{background:var(--navy);color:#fff;font-weight:700}
.cmp tbody th{background:var(--soft);color:var(--heading);font-weight:700;text-align:left}
.cmp td.yes{color:var(--gold);font-weight:800;font-size:17px}
.cmp tbody tr:last-child td,.cmp tbody tr:last-child th{border-bottom:0}
.cmp .note-row td{font-size:12.5px;color:var(--muted);text-align:left;background:#fcfcfd}

/* ===== 联系我们 ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:stretch}
.info-card{background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow-sm)}
.info-row{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.info-row:last-child{border-bottom:0}
.info-row .ico{font-size:22px;width:40px;height:40px;flex:none;background:var(--grad-soft);border-radius:10px;display:grid;place-items:center}
.info-row .k{font-size:13px;color:var(--muted)}
.info-row .v{font-weight:700;font-size:16px;color:var(--heading)}
.info-row .v a:hover{color:var(--gold)}
.info-row .addr-group{flex:1;display:flex;flex-direction:column;gap:12px}
.info-row .addr-item{padding-bottom:2px}
/* 联系页左侧二维码 */
.info-qr{display:flex;gap:20px;margin-top:22px;padding-top:20px;border-top:1px dashed var(--line)}
.info-qr .iq{flex:1;text-align:center}
.info-qr .iq img{width:100px;height:100px;border-radius:10px;background:#fff;padding:6px;box-shadow:var(--shadow-sm);display:inline-block;object-fit:contain;max-width:none}
.info-qr .iq .l{font-size:13px;color:var(--heading);font-weight:600;margin-top:8px}
.info-qr .iq .h{font-size:12px;color:var(--muted);margin-top:2px}
.form{background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow-sm)}
.field{margin-bottom:16px}
.field label{display:block;font-weight:600;margin-bottom:7px;font-size:14px;color:var(--heading)}
.field input,.field textarea,.field select{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;font-size:15px;font-family:inherit;background:var(--card-bg);transition:.15s}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(198,161,91,.15)}
.field textarea{resize:vertical;min-height:110px}
.form .err{color:var(--heading);font-size:13px;margin-top:5px;display:none}
.form .ok{display:none;background:#eef6ed;border:1px solid #c3e0c2;color:#1d7a3c;border-radius:10px;padding:12px 14px;font-size:14px;margin-top:6px}

/* ===== FAQ ===== */
.faq-list{max-width:820px;margin:0 auto}
.faq-item{background:var(--card-bg);border:1px solid var(--line);border-radius:12px;margin-bottom:14px;overflow:hidden}
.faq-q{width:100%;text-align:left;background:none;border:0;padding:18px 22px;font-size:17px;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--ink);font-family:inherit}
.faq-q .plus{color:var(--gold);font-size:24px;transition:.2s;flex:none}
.faq-item.open .faq-q .plus{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .28s ease;padding:0 22px}
.faq-item.open .faq-a{max-height:480px;padding-bottom:18px}
.faq-a p{color:var(--text-2);font-size:15px}

/* ===== 页脚 ===== */
.site-footer{background:var(--dark);color:#c9d2dd;padding:56px 0 26px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:30px}
.footer-brand .brand{color:#fff;margin-bottom:14px}
.footer-brand p{font-size:14px;color:#9aa6b5;max-width:340px}
.site-footer h4{color:#fff;font-size:15px;margin-bottom:14px}
.site-footer .footer-grid > div:not(.footer-brand) a{display:block;color:#aeb9c7;font-size:14px;padding:5px 0;transition:.15s}
.site-footer .footer-grid > div:not(.footer-brand) a:hover{color:var(--gold-l)}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid #1e2d3f;margin-top:34px;padding-top:20px;font-size:13px;color:#8794a4}
.footer-bottom a{color:inherit;text-decoration:none}
.footer-bottom a:hover{color:var(--gold-l)}

/* ===== 响应式 ===== */
@media(max-width:980px){
  .grid-3,.adv-grid,.kb-feed,.kb-grid{grid-template-columns:repeat(2,1fr)}
  .sell-points{grid-template-columns:repeat(2,1fr)}
  .price-grid{grid-template-columns:repeat(2,1fr);gap:18px}
  .price-card:not(.popular){padding:24px 18px}
  .about-grid{grid-template-columns:1fr;gap:30px}
  .contact-grid{grid-template-columns:1fr}
  .stat-band{grid-template-columns:repeat(2,1fr)}
  .nav-links{position:absolute;top:66px;left:0;right:0;background:var(--card-bg);flex-direction:column;align-items:stretch;gap:0;padding:10px 16px 18px;border-bottom:1px solid var(--line);display:none;box-shadow:var(--shadow)}
  .nav-links.open{display:flex}
  .nav-links a{padding:12px 8px;border-radius:8px}
  .nav-cta{margin-top:8px;text-align:center}
  .nav-toggle{display:block}
  .hero h1{font-size:34px}
}
@media(max-width:560px){
  .grid-3,.adv-grid,.kb-feed,.kb-grid,.grid-2{grid-template-columns:1fr}
  .sell-points{grid-template-columns:1fr}
  .price-grid{grid-template-columns:1fr}
  .price-features{grid-template-columns:1fr;column-gap:0}
  .hero{padding:52px 0 64px}
  .section,.section-soft,.svc-section,.pricing{padding:54px 0}
  .section-title{font-size:26px}
  .post{padding:26px 20px}
  .stat-band{grid-template-columns:1fr}
  .page-hero h1{font-size:30px}
  .svc-list{grid-template-columns:1fr}
}

/* ===== 图片画廊（通用） ===== */
.photo-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.photo-grid .photo-card{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  background:var(--bg-alt);
  position:relative;
}
.photo-grid .photo-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:transform .4s ease;
  display:block;
}
.photo-grid .photo-card:hover img{transform:scale(1.03)}
.photo-grid .photo-card .caption{
  padding:12px 16px;
  font-size:14px;
  color:var(--muted);
  background:var(--card-bg);
  text-align:center;
}
/* 占位（待补照片） */
.photo-grid .photo-placeholder{
  display:flex;align-items:center;justify-content:center;
  min-height:300px;
  background:linear-gradient(135deg,#e9ecf1,#dde2e8);
  border-radius:var(--radius);
  color:var(--muted);
  font-size:15px;
  flex-direction:column;gap:8px;
  border:2px dashed #c8ccd3;
}
.photo-grid .photo-placeholder .ph-icon{font-size:36px;opacity:.5}

/* 资质证书网格 */
.cert-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.cert-grid .cert-item{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  background:var(--card-bg);
  border:1px solid var(--line);
  transition:box-shadow .3s,transform .3s;
}
.cert-grid .cert-item:hover{
  box-shadow:var(--shadow);transform:translateY(-3px)
}
.cert-grid .cert-item img{
  width:100%;height:200px;object-fit:contain;background:var(--bg-alt);padding:12px;display:block}
.cert-grid .cert-item .cert-name{
  padding:10px 14px;font-size:13px;color:var(--muted);text-align:center;border-top:1px solid var(--line)}

/* 二维码区 */
.qr-section{margin-top:48px;text-align:center}
.qr-codes{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;margin-top:24px}
.qr-codes .qr-item{flex:0 0 auto;text-align:center}
.qr-codes .qr-item img{width:140px;height:140px;border-radius:12px;box-shadow:var(--shadow-sm);display:inline-block;object-fit:contain;max-width:none}
.qr-codes .qr-item .qr-label{font-size:14px;color:var(--muted);margin-top:8px}
.qr-codes .qr-item .qr-hint{font-size:12px;color:#9aa6b5;margin-top:2px}

/* 页脚二维码 */
.footer-qr{display:flex;gap:18px;margin-top:18px;flex-wrap:wrap;justify-content:center}
.footer-qr .fqr{flex:0 0 auto;text-align:center}
.footer-qr .fqr img{width:76px;height:76px;border-radius:8px;background:#fff;padding:5px;box-shadow:0 2px 8px rgba(0,0,0,.25);display:inline-block;object-fit:contain;max-width:none}
.footer-qr .fqr b{display:block;color:#dfe5ee;font-size:12px;font-weight:600;margin-bottom:4px}
.footer-qr .fqr span{display:block;color:#8e9aa9;font-size:11px;margin-top:4px}

/* Hero 带背景图（备用，当前未启用） */

/* 响应式 */
@media(max-width:768px){
  .photo-grid{grid-template-columns:1fr}
  .photo-grid .photo-card img{height:220px}
  .cert-grid{grid-template-columns:repeat(2,1fr)}
  .cert-grid .cert-item img{height:170px}
  .frontshot{height:clamp(400px,56vh,540px)}
  .frontshot-cap{left:16px;bottom:16px;font-size:13px;padding:10px 14px}
}
@media(max-width:560px){
  .cert-grid{grid-template-columns:1fr}
  .qr-codes{gap:28px}
  .qr-codes .qr-item img{width:120px;height:120px}
}

/* ===== 深 / 浅主题切换按钮 ===== */
.theme-toggle{background:none;border:1.5px solid var(--line);color:var(--nav-text);width:40px;height:40px;border-radius:10px;cursor:pointer;font-size:18px;display:grid;place-items:center;transition:.2s;margin-left:8px;flex:none}
.theme-toggle:hover{border-color:var(--gold);color:var(--gold)}
.theme-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* 主题过渡（平滑不闪烁） */
body,.site-header,.card,.step,.kb-card,.post,.svc-item,.price-card,.cmp,.info-card,.faq-item,.photo-card,.cert-item,.section-soft,.svc-section:nth-child(even),.related,.post-cta,.info-flow span,.field input,.field textarea,.field select,.kb-filter,.price-tag,.btn,.about-visual,.timeline,.stat-band,.nav-links a{transition:background-color .28s ease,color .28s ease,border-color .28s ease}

/* ===== 深色主题 ===== */
[data-theme="dark"]{
  --ink:#e7eef6;
  --muted:#9aa6b5;
  --line:#243349;
  --soft:#16222f;
  --grad-soft:#1c2a3a;
  --bg:#0f1929;
  --bg-alt:#1c2a3a;
  --card-bg:#16222f;
  --header-bg:rgba(15,25,41,.92);
  --nav-text:#c9d2dd;
  --text-2:#b3c0d0;
  --heading:#eaf1f8;
  --shadow:0 12px 32px rgba(0,0,0,.42);
  --shadow-sm:0 6px 18px rgba(0,0,0,.34);
}
[data-theme="dark"] .btn-primary{background:#1f4f7a;color:#fff;box-shadow:0 10px 22px rgba(31,79,122,.42)}
[data-theme="dark"] .btn-ghost{background:var(--card-bg);color:#fff;border-color:var(--line)}
[data-theme="dark"] .btn-light{background:var(--card-bg);color:#fff;border-color:var(--line)}
[data-theme="dark"] .btn-gold{color:var(--navy)}
[data-theme="dark"] .nav-cta{color:var(--navy)!important}
[data-theme="dark"] .kb-filter.active{background:#1f4f7a}
[data-theme="dark"] .theme-toggle{color:#c9d2dd;border-color:var(--line)}
[data-theme="dark"] .site-footer{background:#0b1320}

/* === 知识库 v2：分类卡 + 分页器 === */
.kb-section-title{font-size:26px;margin:8px 0 26px;color:var(--heading)}
.kb-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-bottom:14px}
.kb-cat-card{display:flex;flex-direction:column;background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px;transition:.22s;box-shadow:var(--shadow-sm);color:inherit;text-decoration:none}
.kb-cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--gold)}
.kb-cat-icon{font-size:30px;margin-bottom:14px}
.kb-cat-card h3{font-size:20px;margin-bottom:10px;color:var(--heading)}
.kb-cat-card p{color:var(--muted);font-size:14px;flex:1;line-height:1.7}
.kb-cat-count{margin-top:16px;font-weight:700;color:var(--gold);font-size:14px}
.kb-pager{display:flex;gap:8px;justify-content:center;margin-top:32px;flex-wrap:wrap;align-items:center}
.kb-page{cursor:pointer;font-family:inherit;font-size:14px;min-width:38px;height:38px;padding:0 12px;border:1px solid var(--line);border-radius:10px;font-weight:600;color:var(--navy);background:var(--card-bg);transition:.18s}
.kb-page:hover:not(:disabled){border-color:var(--gold);color:var(--gold)}
.kb-page.active{background:var(--navy);color:#fff;border-color:transparent}
.kb-page:disabled{opacity:.45;cursor:default}
.kb-page-dot{color:var(--muted);padding:0 4px}
/* 分页现为真实 <a> 链接（构建期切片，可爬）；抹掉 <a> 默认下划线/行内表现 */
a.kb-page{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
[data-theme="dark"] a.kb-page{color:#dfe7f1}
@media(max-width:900px){.kb-cat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.kb-cat-grid{grid-template-columns:1fr}}
[data-theme="dark"] .kb-page{color:#dfe7f1}
[data-theme="dark"] .kb-page.active{background:#1f4f7a}

/* === 文章正文内链（kb-inlink）：金色 + 虚线下划线 + 跳转提示，区别于普通文字/外链 === */
.post a.kb-inlink{
  color:#a8761f;
  text-decoration:underline;
  text-decoration-style:dashed;
  text-underline-offset:3px;
  font-weight:600;
  padding:0 1px;
  border-radius:3px;
  transition:color .15s ease,background-color .15s ease;
}
.post a.kb-inlink::after{
  content:"↗";
  font-size:.78em;
  margin-left:1px;
  text-decoration:none;
  opacity:.6;
  font-weight:700;
}
.post a.kb-inlink:hover{
  color:#7d5512;
  background:rgba(198,161,91,.16);
  text-decoration-style:solid;
}
[data-theme="dark"] .post a.kb-inlink{color:#e3c483}
[data-theme="dark"] .post a.kb-inlink:hover{color:#f1d9a6;background:rgba(227,196,131,.18)}
