/* 天丽咨询 — 前台样式 */
:root{
  /* 主色参照中国认证认可协会(CCAA)官网 #1b51a8，更庄重的深宝蓝 */
  --brand:#1b51a8;
  --brand-dark:#164186;
  --brand-light:#eaf0fb;
  /* 辅助色取自 Logo 绿色飘带，用于品牌呼应 */
  --accent:#D8B34A;
  --accent-dark:#B8912F;
  --text:#1f2933;
  --text-muted:#5b6b7a;
  --border:#dfe5ec;
  --bg:#f5f7fa;
  --radius:4px;
  --shadow:0 2px 10px rgba(20,45,70,.07);
  --maxw:1200px;
  /* 首页横幅背景图：换成 hero-building.jpg / hero-consulting.jpg 即可整站切换 */
  --hero-img:url('/static/img/hero-city.jpg');
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",-apple-system,"Segoe UI",sans-serif;
  color:var(--text); background:#fff; line-height:1.75; font-size:15px;
}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-dark)}
img{max-width:100%;display:block}
ul{list-style:none}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 16px}

/* ---------- 头部 ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}
.header-top{display:flex;align-items:center;gap:24px;padding:16px 16px}
.logo img{height:56px;width:auto;display:block}
.logo{flex-shrink:0}
.search{flex:1;display:flex;max-width:420px}
.search input{flex:1;border:1px solid var(--border);border-right:0;border-radius:4px 0 0 4px;padding:8px 12px;font-size:14px;outline:none;font-family:inherit}
.search input:focus{border-color:var(--brand)}
.search button{border:0;background:var(--brand);color:#fff;padding:0 20px;border-radius:0 4px 4px 0;cursor:pointer;font-size:14px;font-family:inherit}
.search button:hover{background:var(--brand-dark)}
.hotline{margin-left:auto;text-align:right;white-space:nowrap}
.hotline span{color:var(--text-muted);font-size:13px}
.hotline a{font-size:20px;font-weight:700;color:#D8B34A;display:block}

/* ---------- 导航 ---------- */
.main-nav{background:var(--brand);position:relative}
.main-nav ul{display:flex;flex-wrap:wrap}
.main-nav > .container > ul > li{position:relative}
.main-nav a{display:block;padding:13px 22px;color:#fff;font-size:15px;font-weight:500;text-align:center}
.main-nav > .container > ul > li > a:hover{background:var(--brand-dark)}
.main-nav > .container > ul > li > a{display:flex;align-items:center;justify-content:center;gap:7px}
.main-nav .nav-ico{width:16px;height:16px;flex:none;opacity:.9}
.main-nav > .container > ul > li.active > a .nav-ico,
.main-nav > .container > ul > li > a:hover .nav-ico{opacity:1}
.main-nav > .container > ul > li.active > a{background:var(--brand-dark);
  box-shadow:inset 0 -3px 0 var(--accent)}
.submenu{position:absolute;top:100%;left:0;background:#fff;min-width:170px;
  box-shadow:var(--shadow);border-radius:0 0 var(--radius) var(--radius);opacity:0;visibility:hidden;
  transform:translateY(6px);transition:.2s;z-index:50}
.main-nav li:hover .submenu{opacity:1;visibility:visible;transform:translateY(0)}
.submenu a{color:var(--text);padding:10px 16px;text-align:left;font-size:14px}
.submenu a:hover{background:var(--brand-light);color:var(--brand)}

/* ---------- 左侧栏目导航（CCAA 风格） ---------- */
.side-layout{display:grid;grid-template-columns:232px minmax(0,1fr);gap:30px;align-items:start}
.side-nav{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;
  box-shadow:0 3px 14px rgba(20,60,110,.08)}
.side-nav-head{position:relative;overflow:hidden;color:#fff;padding:22px 20px 18px;
  background:linear-gradient(135deg,var(--brand) 0%,#2a63b8 78%,#3a74c6 100%)}
.side-nav-head::after{content:"";position:absolute;right:-26px;top:-18px;width:64px;height:160%;
  background:rgba(255,255,255,.10);transform:rotate(24deg);pointer-events:none}
.side-nav-head::before{content:"";position:absolute;right:34px;top:-18px;width:16px;height:160%;
  background:rgba(255,255,255,.08);transform:rotate(24deg);pointer-events:none}
.side-nav-name{font-size:20px;font-weight:600;letter-spacing:3px;display:block;position:relative;z-index:1}
.side-nav-bar{display:block;width:30px;height:3px;background:var(--accent);margin-top:10px;
  position:relative;z-index:1}
.side-nav ul{padding:8px 0 12px;list-style:none}
.side-nav li a{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:13px 14px 13px 16px;margin:2px 8px;border-radius:4px;font-size:15px;color:var(--text);
  border-left:3px solid transparent;transition:.15s}
.side-nav li a .t{flex:1;min-width:0}
.side-nav li a .arr{width:14px;height:14px;flex:none;opacity:.35}
.side-nav li a:hover{background:var(--brand-light);color:var(--brand)}
.side-nav li a:hover .arr{opacity:.7}
.side-nav li.is-active a{background:var(--brand);color:#fff;border-left-color:var(--accent)}
.side-nav li.is-active a .arr{opacity:1}

/* ---------- Hero：亮蓝三页自动轮播（视觉参照 CNAS 官网） ---------- */
.hero{position:relative;isolation:isolate;background:#2E86D9;color:#fff;
  padding:44px 0 54px;height:390px;border-top:4px solid var(--accent);overflow:hidden}
.hero-slides{position:absolute;inset:0;z-index:0}
.hero-slide{position:absolute;inset:0;background-image:var(--bg,none);background-position:center;background-size:cover;
  background-repeat:no-repeat;background-color:#2E86D9;
  opacity:0;transform:scale(1.03);pointer-events:none;
  transition:opacity .7s ease,transform 5.5s linear}
.hero-slide.is-active{opacity:1;transform:scale(1)}
/* 换页动画：标语/简介淡入上移（JS 换页时挂 hero-swap 类触发） */
.hero-swap{animation:heroSwap .65s ease both}
@keyframes heroSwap{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}
/* 左侧压一层亮蓝保证白字可读，右侧保留纯亮蓝天空 */
.hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(23,98,175,.80) 0%,rgba(38,124,200,.60) 36%,
    rgba(46,134,217,.14) 70%,rgba(46,134,217,0) 100%)}
.hero-inner{position:relative;z-index:2;max-width:820px}
.hero-kicker{display:inline-block;font-size:15px;letter-spacing:3px;font-weight:600;color:#fff;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.32);
  border-radius:999px;padding:5px 18px;margin-bottom:18px;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.hero-text h1{font-size:31px;line-height:1.4;margin-bottom:18px;font-weight:600;letter-spacing:1px;
  text-shadow:0 2px 12px rgba(6,45,100,.35)}
.hero-desc{font-size:16px;opacity:.96;margin-bottom:20px;text-shadow:0 1px 8px rgba(6,45,100,.35)}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.hero-tags span{background:rgba(255,255,255,.16);padding:4px 12px;border-radius:3px;font-size:13px;
  border:1px solid rgba(255,255,255,.30)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero .btn-primary{background:#fff;color:#1762af;border-color:#fff;font-weight:600}
.hero .btn-primary:hover{background:#eaf3ff;color:#11568f}
.hero .btn-ghost{border-color:rgba(255,255,255,.75);color:#fff}
/* 底部居中圆点（CNAS 同款） */
.hero-dots{position:absolute;z-index:3;left:0;right:0;bottom:20px;
  display:flex;justify-content:center;gap:9px}
.hero-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.55);cursor:pointer;transition:.25s;
  box-shadow:0 1px 4px rgba(0,40,90,.25)}
.hero-dot:hover{background:rgba(255,255,255,.85)}
.hero-dot.is-active{background:#fff;
  box-shadow:0 0 0 3px rgba(255,255,255,.30),0 1px 5px rgba(0,40,90,.25)}
.hero-dot:focus-visible{outline:2px solid #fff;outline-offset:3px}

.btn{display:inline-block;padding:10px 22px;border-radius:4px;border:1px solid transparent;
  cursor:pointer;font-size:14px;font-family:inherit;text-align:center;transition:.18s}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark);color:#fff}
.btn-ghost{border-color:rgba(255,255,255,.6);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.14);color:#fff}
.btn-light{background:#fff;color:var(--brand)}
.btn-light:hover{background:#eef6fc;color:var(--brand)}
.btn-lg{padding:13px 30px;font-size:15px}
.btn-block{display:block;width:100%}
.btn-sm{padding:6px 14px;font-size:13px}
.btn-danger{background:#d64545;color:#fff}
.btn-danger:hover{background:#b93a3a;color:#fff}

/* ---------- 区块 ---------- */
.section{padding:56px 0}
.section-alt{background:var(--bg)}
/* CCAA 风格：蓝色细体标题 + 虚线分隔 + 短蓝色粗下划线 */
.section-title{font-size:24px;font-weight:500;color:var(--brand);margin-bottom:28px;
  padding:0 0 14px;line-height:1.4;border-bottom:1px dashed #cbd8ec;position:relative}
.section-title::after{content:"";position:absolute;left:0;bottom:-1px;width:88px;height:3px;background:var(--brand)}
.section-more{display:flex;flex-wrap:wrap;gap:20px;margin-top:26px}
.section-more a{font-size:14px;color:var(--text-muted)}
.section-more a:hover{color:var(--brand)}

.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

.card{background:#fff;border:1px solid var(--border);border-top:3px solid var(--brand-light);
  border-radius:var(--radius);padding:24px;display:block;transition:.2s}
a.card:hover{border-top-color:var(--brand);border-left-color:var(--brand);border-right-color:var(--brand);
  box-shadow:var(--shadow);transform:translateY(-2px)}
.card h3{font-size:17px;margin-bottom:10px;color:var(--brand);line-height:1.5;font-weight:600}
.card p{color:var(--text-muted);font-size:14px;margin-bottom:12px}
.card .more{color:var(--brand);font-size:13px;font-weight:500}
.card .more:hover{color:var(--brand-dark)}

/* ---------- 图文卡片：栏目列表 / 首页服务项目（图 + 文，等高对齐） ---------- */
.card-coverage{padding:0;overflow:hidden;display:flex;flex-direction:column}
.card-coverage .card-media{display:block;height:160px;background-size:cover;background-position:center;
  border-top:0;flex:none;transition:transform .25s}
.card-coverage:hover .card-media{transform:scale(1.03)}
.card-coverage .card-body{display:flex;flex-direction:column;flex:1;padding:18px 20px 20px}
.card-coverage .card-body p{flex:1}
.card-coverage .card-body .more{margin-top:auto}
.card-coverage .card-body h3{font-size:16px}

/* ---------- 首页问答卡片：CNAS「认可业务」风格，3 列 × 2 行等高对齐 ---------- */
.feature-grid{grid-template-columns:repeat(3,1fr);gap:20px;align-items:stretch}
.feature{padding:0;border:0;border-top:0;border-radius:10px;overflow:hidden;
  background:#fff;box-shadow:0 3px 14px rgba(20,60,110,.10);
  display:flex;flex-direction:column;text-align:left;
  transition:transform .25s ease,box-shadow .25s ease}
.feature:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(20,60,110,.18)}
.feature-media{position:relative;height:184px;background-size:cover;background-position:center;
  background-color:#dbe8f5}
.feature-media::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(10,55,110,.16),rgba(10,55,110,0) 60%)}
.feature-pill{position:absolute;z-index:2;top:14px;left:50%;transform:translateX(-50%);
  background:#0f5aa8;color:#fff;font-size:14px;font-weight:600;letter-spacing:.5px;
  padding:7px 20px;border-radius:999px;white-space:nowrap;
  box-shadow:0 3px 10px rgba(6,40,90,.22)}
.feature-num{position:absolute;z-index:2;bottom:14px;left:50%;transform:translateX(-50%);
  min-width:104px;text-align:center;padding:6px 14px;
  background:rgba(255,255,255,.80);border:1px solid rgba(255,255,255,.85);
  border-radius:9px;color:#123f86;font-size:21px;font-weight:700;letter-spacing:1px;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  box-shadow:0 3px 12px rgba(6,40,90,.18)}
.feature-grid .feature:nth-child(1) .feature-pill{background:#0e7a6b}
.feature-grid .feature:nth-child(2) .feature-pill{background:#0f5aa8}
.feature-grid .feature:nth-child(3) .feature-pill{background:#176e9c}
.feature-grid .feature:nth-child(4) .feature-pill{background:#9a7a3c}
.feature-grid .feature:nth-child(5) .feature-pill{background:#2f5fa8}
.feature-grid .feature:nth-child(6) .feature-pill{background:#8a6a3a}
.feature-body{flex:1;display:flex;flex-direction:column;padding:18px 20px 22px}
.feature-body h3{font-size:16px;line-height:1.55;color:var(--brand);font-weight:600;
  margin:0 0 10px;min-height:50px;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.feature-body p{font-size:13.5px;line-height:1.7;color:var(--text-muted);margin:0;
  min-height:69px;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.tick-list{color:var(--text-muted);font-size:14px}
.tick-list li{padding-left:16px;position:relative;margin-bottom:4px}
.tick-list li::before{content:"✓";position:absolute;left:0;color:var(--brand);font-weight:700}

/* ---------- 首页其它 ---------- */
.intro-box{background:var(--bg);border-radius:var(--radius);padding:32px}
.intro-text{color:var(--text-muted);margin-bottom:14px}
.intro-text p{margin-bottom:12px}
.news-layout{display:grid;grid-template-columns:2fr 1fr;gap:24px}
.news-item{display:flex;gap:16px;align-items:center;padding:13px 0;border-bottom:1px dashed var(--border);color:var(--text)}
.news-item:hover{color:var(--brand)}
.news-date{color:var(--text-muted);font-size:13px;flex-shrink:0;width:88px}
.news-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-side{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.news-side h3{font-size:17px;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid var(--brand-light)}
.faq-link{display:block;padding:8px 0;font-size:14px;color:var(--text-muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.faq-link:hover{color:var(--brand)}
/* ---------- 首页在线留言（内联表单） ---------- */
.cta-section{background:var(--brand);color:#fff;scroll-margin-top:90px}
.cta-inner{display:grid;grid-template-columns:0.85fr 1.15fr;gap:32px;align-items:start}
.cta-intro h2{font-size:24px;margin-bottom:12px}
.cta-intro p{color:#fff;opacity:.9;margin-bottom:10px}
.cta-intro .cta-phone{margin-top:22px;font-size:15px;opacity:1}
.cta-intro .cta-phone a{color:#fff;font-size:20px;font-weight:700;text-decoration:underline}
.cta-points{margin-top:18px}
.cta-points li{font-size:14px;opacity:.9;padding:5px 0 5px 20px;position:relative}
.cta-points li::before{content:"✓";position:absolute;left:0;font-weight:700}
.cta-qr{margin-top:20px;display:flex;gap:20px;align-items:stretch}
.cta-qr-item{display:flex;flex-direction:column;align-items:center;gap:7px;
  background:rgba(255,255,255,.12);padding:10px 14px 8px;border-radius:10px}
.cta-qr img{display:block;width:112px;height:112px;border-radius:6px;background:#fff}
.cta-qr span{font-size:13px;color:#fff;opacity:.92}
.cta-form{background:#fff;color:var(--text);padding:20px 22px 18px;max-width:640px;box-shadow:0 10px 28px rgba(10,40,70,.18)}
.cta-form .form-grid{gap:14px 16px}
.cta-form .field{margin-bottom:0}
.cta-form .field label{font-weight:500}
.cta-form .field textarea{min-height:92px}
.cta-form .btn-lg{width:100%;margin-top:18px}
.cta-form .form-tip{margin:10px 0 0;text-align:center}
.cta-form .alert-list{margin-bottom:16px}
.cta-form .alert{padding:9px 14px}

/* ---------- 面包屑 / 页面 ---------- */
.breadcrumb{padding:16px 0;font-size:14px;color:var(--text-muted)}
.breadcrumb a{color:var(--text-muted)}
.breadcrumb a:hover{color:var(--brand)}
.breadcrumb .sep{margin:0 6px;color:#c3ccd6}
.breadcrumb .current{color:var(--text)}
.page-title{font-size:26px;font-weight:700;margin-bottom:14px}
.page-intro{color:var(--text-muted);margin-bottom:26px}
.empty-tip{color:var(--text-muted);padding:30px;text-align:center;background:var(--bg);border-radius:var(--radius)}
.back-link{margin-top:20px}

/* ---------- 文章 ---------- */
.article-wrap{max-width:900px}
.article-title{font-size:28px;line-height:1.5;margin-bottom:14px}
.article-meta{display:flex;flex-wrap:wrap;gap:20px;font-size:13px;color:var(--text-muted);
  padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:26px}
.article-body{font-size:16px;line-height:1.95;color:#2c3742}
.article-body p{margin-bottom:16px}
.article-body h2{font-size:21px;margin:28px 0 14px}
.article-body h3{font-size:18px;margin:22px 0 12px}
.article-body ul,.article-body ol{margin:0 0 16px 22px;list-style:disc}
.article-body ol{list-style:decimal}
.article-body img{border-radius:6px;margin:12px 0}
.article-body table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}
.article-body table td,.article-body table th{border:1px solid var(--border);padding:8px 10px}
.article-body table th{background:var(--bg)}
.article-contact{margin-top:34px;padding:22px;background:var(--brand-light);border-radius:var(--radius)}

/* 认证先知导入文章：解读卡片 + 原文链接 */
.takeaway-card{margin:0 0 24px;padding:18px 22px 14px;background:var(--brand-light);
  border-left:4px solid var(--brand);border-radius:0 var(--radius) var(--radius) 0}
.takeaway-card h3{font-size:16px;color:var(--brand);margin-bottom:10px}
.takeaway-card li{position:relative;padding:4px 0 4px 18px;font-size:15px;line-height:1.75}
.takeaway-card li::before{content:"•";position:absolute;left:2px;color:var(--brand);font-weight:700}
.article-source{margin-top:28px;padding-top:14px;border-top:1px dashed var(--border);
  font-size:14px;color:var(--text-muted)}
.article-source a{color:var(--brand)}
.article-contact h3{font-size:16px;margin-bottom:8px}
.article-contact p{color:var(--text-muted);margin-bottom:14px}
.article-nav{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-top:28px;
  padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:14px}
.article-nav .label{color:var(--text-muted)}
.related{margin-top:28px}
.related h2{font-size:18px;margin-bottom:12px}
.related li{padding:6px 0;border-bottom:1px dashed var(--border)}
.related li::before{content:"· ";color:var(--brand)}

/* ---------- 查询 / 表格 ---------- */
.lookup-form{margin-bottom:22px}
.form-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:12px}
.form-row:last-child{margin-bottom:0}
.form-row label{font-size:14px;color:var(--text-muted);min-width:80px}
.form-row input[type=text],.form-row input[type=search],.form-row select{
  border:1px solid var(--border);border-radius:4px;padding:8px 12px;font-size:14px;
  font-family:inherit;outline:none;min-width:180px}
.form-row input:focus,.form-row select:focus{border-color:var(--brand)}
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius)}
.data-table{width:100%;border-collapse:collapse;font-size:14px;min-width:720px}
.data-table th,.data-table td{padding:11px 14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
.data-table th{background:var(--bg);font-weight:600;white-space:nowrap}
.data-table tr:last-child td{border-bottom:0}
.data-table tbody tr:hover{background:#fafcfe}
.reason-cell{max-width:520px;font-size:13px;line-height:1.8;color:var(--text-muted)}
.lookup-inline label{margin-left:14px}
.lookup-inline label:first-child{margin-left:0}
.lookup-inline input[type=text]{width:220px}
.lookup-inline select{width:150px}
.pager .page.gap{border:none;background:none;color:var(--text-muted)}
.spec-cell{min-width:220px;max-width:300px;font-size:13px;line-height:1.7}
.lookup-tip{margin:0 0 10px;font-size:13px;color:var(--text-muted)}
.detail-table{min-width:0}
.detail-table th{width:180px;background:var(--bg)}
.link{color:var(--brand)}

/* ---------- 下载中心 ---------- */
.notice-box{background:#fbf7ea;border:1px solid #efe1b8;border-left:4px solid var(--accent);
  border-radius:6px;padding:13px 16px;font-size:13.5px;line-height:1.85;color:#5c5133;margin-bottom:18px}
.notice-box strong{color:#4a4128}
.file-table{min-width:820px}
.file-table .col-file-title{min-width:280px;line-height:1.7}
.file-table .col-file-issuer{min-width:130px;font-size:13px;color:var(--text-muted);line-height:1.7}
.file-table .col-file-no{min-width:120px;font-size:13px;color:var(--text-muted)}
.col-nowrap{white-space:nowrap}
.std-table{min-width:820px}
.std-table .col-std-name{min-width:300px;line-height:1.7}
.std-note{color:var(--text-muted);font-size:12.5px}
.badge{display:inline-block;padding:2px 9px;border-radius:10px;font-size:12px;line-height:1.7}
.badge-ok{background:#e8f5ec;color:#1d7a42}
.badge-warn{background:#fdf3e0;color:#8a5b16}
.badge-mute{background:#eef1f4;color:#6b7784}
.page-note{margin-top:16px;font-size:13px;color:var(--text-muted);line-height:1.8}
.text-muted{color:var(--text-muted)}

/* ---------- 表单 ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{margin-bottom:16px}
.field label{display:block;font-size:14px;margin-bottom:6px;color:var(--text)}
.field input[type=text],.field input[type=email],.field input[type=tel],.field input[type=password],
.field input[type=number],.field input[type=datetime-local],.field select,.field textarea{
  width:100%;border:1px solid var(--border);border-radius:4px;padding:9px 12px;
  font-size:14px;font-family:inherit;outline:none;background:#fff}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 2px rgba(26,111,181,.1)}
.field textarea{resize:vertical;line-height:1.7}
.field-full{grid-column:1/-1}
.req{color:#d64545}
.help{font-size:12px;color:var(--text-muted);margin-top:5px;line-height:1.6}
.form-tip{font-size:12px;color:var(--text-muted);margin-top:10px}

/* ---------- 提示 ---------- */
.alert-list{margin-bottom:20px}
.alert{padding:11px 16px;border-radius:4px;margin-bottom:8px;font-size:14px;border:1px solid}
.alert-success{background:#eefaf1;border-color:#b9e6c8;color:#1d7a3d}
.alert-error{background:#fdf0f0;border-color:#f2c2c2;color:#b93a3a}
.alert-info{background:var(--brand-light);border-color:#c3ddf2;color:var(--brand-dark)}

/* ---------- 分页 ---------- */
.pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:34px}
.pager .page{min-width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  padding:0 10px;border:1px solid var(--border);border-radius:4px;background:#fff;font-size:14px;color:var(--text)}
.pager .page:hover{border-color:var(--brand);color:var(--brand)}
.pager .page.current{background:var(--brand);border-color:var(--brand);color:#fff}

/* ---------- 联系我们 ---------- */
.contact-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:24px;align-items:start}
.contact-info h3,.contact-form h3{font-size:18px;margin-bottom:16px}
.contact-list li{display:flex;gap:14px;padding:10px 0;border-bottom:1px dashed var(--border);font-size:14px}
.ci-label{color:var(--text-muted);width:44px;flex-shrink:0}
.contact-note{margin-top:16px;font-size:13px;color:var(--text-muted)}
.contact-form .field label{font-weight:500}

/* ---------- 错误页 ---------- */
.error-section{padding:90px 0}
.error-box{text-align:center;max-width:520px;margin:0 auto}
.error-code{font-size:80px;font-weight:700;color:var(--brand-light);line-height:1}
.error-box h1{font-size:24px;margin:12px 0}
.error-box p{color:var(--text-muted);margin-bottom:24px}
.error-actions{display:flex;gap:12px;justify-content:center}

/* ---------- 页脚 ---------- */
.site-footer{background:#152e5a;color:#a9b7c4;margin-top:0;padding-top:48px;
  border-top:4px solid var(--accent);font-size:14px}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:30px;padding-bottom:36px}
.footer-col h4{color:#fff;font-size:15px;margin-bottom:14px;font-weight:600}
.footer-col li{padding:4px 0}
.footer-col a{color:#a9b7c4}
.footer-col a:hover{color:#fff}
/* 页脚深蓝底上按 VI 规范铺纯白底板放置竖版带字组合 */
.footer-logo-tile{display:inline-block;border-radius:14px}
.footer-logo{height:56px;width:56px;margin:0;display:block}
.footer-brand p{font-size:13px;line-height:1.8;opacity:.8}
.footer-contact li{color:#c9d4de}
.footer-bottom{border-top:1px solid #2a4480;padding:16px 0;font-size:13px}
.footer-bottom .sep{margin:0 8px;opacity:.5}
.footer-bottom a{color:#a9b7c4}

/* ---------- 侧边工具 ---------- */
.sidebar-tools{position:fixed;right:16px;bottom:40px;z-index:90;display:flex;flex-direction:column;gap:8px}
.tool-item{width:56px;background:#fff;border:1px solid var(--border);border-radius:6px;
  padding:8px 0;text-align:center;font-size:12px;color:var(--text-muted);box-shadow:var(--shadow)}
.tool-item:hover{border-color:var(--brand);color:var(--brand)}
.tool-ico{display:block;font-size:17px;font-weight:600;color:var(--brand);margin-bottom:2px}

/* ---------- 响应式 ---------- */
/* 懒加载背景图：滚动到可视区域前显示浅色占位 */
.card-media[data-bg],.feature-media[data-bg]{background-color:#e9eff7;background-size:cover;background-position:center}
@media (max-width:992px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .side-layout{grid-template-columns:1fr;gap:20px}
  .side-nav ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:2px}
  .news-layout,.contact-layout,.cta-inner{grid-template-columns:1fr}
  .cta-inner{gap:22px}
  .cta-intro .cta-points{display:flex;gap:18px;flex-wrap:wrap}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .hero-text h1{font-size:26px}
}
@media (max-width:768px){
  .header-top{flex-wrap:wrap;gap:12px;padding:12px 16px}
  .search{order:3;width:100%;max-width:none}
  .hotline{margin-left:auto}
  .main-nav ul{flex-direction:column}
  .main-nav a{text-align:left;padding:12px 16px}
  .main-nav > .container > ul > li > a{justify-content:flex-start}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;
    background:rgba(0,0,0,.12);display:flex;flex-wrap:wrap}
  .submenu a{color:#eaf0fb;padding:8px 16px}
  .grid-3,.grid-4,.feature-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .section{padding:38px 0}
  .section-title{font-size:21px}
  .hero{padding:32px 0 44px;height:450px}
  .hero::before{background:linear-gradient(180deg,rgba(20,92,165,.74),rgba(32,112,192,.56))}
  /* 手机端改用 800px 小图（--bg-m），省约 80% 横幅流量 */
  .hero-slide{background-image:var(--bg-m,var(--bg));background-position:38% center}
  .hero-text h1{font-size:24px}
  .hero-dots{bottom:14px}
  .feature-media{height:170px}
  .card-coverage .card-media{height:200px}
  .footer-grid{grid-template-columns:1fr}
  .sidebar-tools{display:none}
  .article-title{font-size:22px}
  .cta-form{padding:20px 18px}
}

/* 尊重系统「减少动态效果」设置：轮播不自动播放时也不做过渡动画 */
@media (prefers-reduced-motion:reduce){
  .hero-slide,.feature,.hero-dot{transition:none}
  .hero-swap{animation:none}
}

/* 培训证书查询表：培训项目、所在组织允许换行（最多两行），其余列保持一行 */
.cert-table td{white-space:nowrap}
.cert-table .col-cert-project{min-width:280px;line-height:1.6;white-space:normal}
.cert-table .col-cert-org{min-width:130px;line-height:1.6;white-space:normal}
@media (max-width:640px){.cert-table .col-cert-project{min-width:200px}}
