/* ============ 全安应急演练集团 - 全站设计系统 ============ */
:root {
  --primary: #0b3d91;
  --primary-dark: #072a6b;
  --primary-light: #1a63d8;
  --accent: #ff7a1a;
  --accent-dark: #e8620a;
  --dark: #0f1c33;
  --text: #253349;
  --text-light: #6c7c99;
  --bg: #f4f7fc;
  --card: #ffffff;
  --border: #e4ebf6;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 18px rgba(13, 45, 105, .07);
  --shadow-hover: 0 14px 36px rgba(13, 45, 105, .15);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.75; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { width: min(var(--max), 94%); margin: 0 auto; }
.text-center { text-align: center; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.7); font-size: 13px; }
.topbar .inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar .left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent); }
.topbar .right { display: flex; gap: 18px; align-items: center; }
.topbar svg { width: 13px; height: 13px; }

/* ---------- 主导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 2px 14px rgba(13,45,105,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-badge { width: 50px; height: 50px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: 1px; flex-shrink: 0; }
.logo-name { font-size: 20px; font-weight: 800; color: var(--dark); line-height: 1.25; letter-spacing: .5px; }
.logo-name small { display: block; font-size: 10px; font-weight: 500; color: var(--text-light); letter-spacing: 1.6px; }
/* 后台上传的品牌 Logo 图片（高度可在后台调节） */
.logo-img { height: var(--logo-h, 46px); width: auto; max-width: 320px; object-fit: contain; display: block; }
.logo-img-footer { background: #fff; padding: 9px 14px; border-radius: 8px; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 26px 18px; font-size: 15.5px; font-weight: 500; color: var(--text); position: relative; }
.nav-menu > li > a::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 18px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.nav-menu > li:hover > a, .nav-menu > li.active > a { color: var(--primary); }
.nav-menu > li:hover > a::after, .nav-menu > li.active > a::after { transform: scaleX(1); }
.nav-drop { position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-hover); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s; border-top: 3px solid var(--accent); }
.nav-menu > li:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { display: block; padding: 10px 22px; font-size: 14.5px; color: var(--text); }
.nav-drop a:hover { background: #f2f7ff; color: var(--primary); padding-left: 26px; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 7px 11px; cursor: pointer; font-size: 17px; color: var(--primary); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 28px; border-radius: 4px; border: none; cursor: pointer; font-size: 15px; font-family: var(--font); font-weight: 500; transition: all .25s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(11,61,145,.28); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232,98,10,.3); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-light:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: 7px 16px; font-size: 13.5px; }
.btn-danger { background: #fdecec; color: #d0342c; }
.btn-danger:hover { background: #fbdada; }
.btn-block { width: 100%; }

/* ---------- 首页轮播 ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--dark); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(7,26,64,.94) 0%, rgba(11,61,145,.86) 48%, rgba(26,99,216,.62) 100%); }
.hero-slide.has-image::before { background: linear-gradient(105deg, rgba(7,26,64,.9) 0%, rgba(11,61,145,.72) 55%, rgba(11,61,145,.35) 100%); }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; max-width: 780px; }
.hero-tag { display: inline-block; align-self: flex-start; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 5px 18px; font-size: 13px; letter-spacing: 3px; margin-bottom: 22px; color: rgba(255,255,255,.9); }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.2; letter-spacing: 1px; }
.hero h2 { font-size: clamp(18px, 2vw, 24px); font-weight: 400; color: #ffc08a; margin-top: 14px; letter-spacing: 1px; }
.hero p { margin-top: 18px; font-size: 16.5px; color: rgba(255,255,255,.82); max-width: 640px; line-height: 1.9; }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 4; display: flex; gap: 10px; justify-content: center; }
.hero-dots span { width: 34px; height: 4px; background: rgba(255,255,255,.35); border-radius: 2px; cursor: pointer; transition: all .3s; }
.hero-dots span.active { background: var(--accent); width: 48px; }

/* ---------- 内页头部 ---------- */
.page-hero { position: relative; background: linear-gradient(105deg, #07203f 0%, var(--primary) 55%, var(--primary-light) 100%); color: #fff; padding: 76px 0 64px; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -100px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.28), transparent 64%); }
.page-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: 2px; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.8); font-size: 15.5px; }
.crumb { margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.65); }
.crumb a:hover { color: var(--accent); }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section.gray { background: var(--bg); }
.section.dark { background: var(--dark); color: #fff; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .eyebrow { display: inline-block; color: var(--accent); font-size: 12.5px; letter-spacing: 4px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; color: var(--dark); font-weight: 800; letter-spacing: 1px; }
.section-head p { margin-top: 12px; color: var(--text-light); max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head.left { text-align: left; }
.section-head.left p { margin-left: 0; }
.section.dark .section-head h2 { color: #fff; }
.section.dark .section-head p { color: rgba(255,255,255,.72); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; transition: all .28s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #cddcf6; }
.card h3 { font-size: 18px; color: var(--dark); margin: 14px 0 10px; font-weight: 700; }
.card p { color: var(--text-light); font-size: 14.5px; }
.icon-box { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e8f0ff, #f4f8ff); color: var(--primary); }
.icon-box svg { width: 27px; height: 27px; }
.icon-box.orange { background: linear-gradient(135deg, #fff1e4, #fff8f2); color: var(--accent); }
.chip { display: inline-block; padding: 3px 12px; border-radius: 3px; background: #eef4ff; color: var(--primary); font-size: 12.5px; font-weight: 600; }
.chip.orange { background: #fff2e6; color: var(--accent-dark); }
.feature-list { margin-top: 14px; }
.feature-list li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--text); margin-bottom: 7px; line-height: 1.65; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* 业务卡片 */
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .28s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card .body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 18px; color: var(--dark); margin: 12px 0 10px; font-weight: 700; }
.service-card p { color: var(--text-light); font-size: 14px; flex: 1; }
.service-card .more { margin-top: 16px; color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more { color: var(--accent); }

/* 图片 / 占位媒体 */
.media { position: relative; overflow: hidden; background: #e9eefa; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #0b3d91, #1a63d8); color: rgba(255,255,255,.92); padding: 20px; text-align: center; }
.media-ph .ph-t { font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.media-ph .ph-s { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: 2px; }
.media-ph.alt { background: linear-gradient(135deg, #123, #0b3d91 60%, #ff7a1a 160%); }

/* 案例卡片 */
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .28s; display: block; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-card .thumb { height: 210px; }
.case-card:hover .media img { transform: scale(1.06); }
.case-card .body { padding: 20px 22px 24px; }
.case-card .meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-light); margin-bottom: 10px; flex-wrap: wrap; }
.case-card h3 { font-size: 16.5px; color: var(--dark); font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.case-card:hover h3 { color: var(--primary); }
.case-card p { color: var(--text-light); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 优势 / 流程 */
.adv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: all .28s; }
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #cddcf6; }
.adv-card h3 { font-size: 17px; margin: 14px 0 8px; color: var(--dark); }
.adv-card p { font-size: 13.5px; color: var(--text-light); }
.step-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: all .28s; }
.step-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.step-num { font-size: 30px; font-weight: 800; color: #dbe6f8; letter-spacing: 1px; line-height: 1; margin-bottom: 12px; }
.step-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--text-light); }

/* 数据带 */
.stats { background: linear-gradient(105deg, #07203f, var(--primary) 60%, #14509e); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.stats::after { content: ''; position: absolute; left: -80px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.22), transparent 65%); }
.stats .grid { position: relative; z-index: 2; text-align: center; }
.stat-num { font-size: 42px; font-weight: 800; color: #ffb46b; letter-spacing: 1px; }
.stat-label { margin-top: 8px; color: rgba(255,255,255,.78); font-size: 14.5px; letter-spacing: 1px; }

/* 关于我们 */
.about-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text-light); margin-bottom: 14px; }
.about-visual { border-radius: var(--radius-lg); overflow: hidden; min-height: 330px; box-shadow: var(--shadow); }

/* 新闻 */
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px dashed var(--border); }
.news-item:last-child { border-bottom: none; }
.news-date { flex-shrink: 0; width: 78px; height: 78px; border-radius: var(--radius-lg); background: #f2f7ff; color: var(--primary); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); }
.news-date b { font-size: 24px; font-weight: 800; line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--text-light); }
.news-item h3 { font-size: 16.5px; color: var(--dark); font-weight: 700; margin-bottom: 8px; }
.news-item:hover h3 { color: var(--primary); }
.news-item p { font-size: 13.5px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .meta { font-size: 12.5px; color: var(--text-light); margin-top: 8px; display: flex; gap: 14px; }

/* 资质 / 伙伴 */
.honor-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .28s; text-align: center; }
.honor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.honor-card .thumb { height: 200px; }
.honor-card .cap { padding: 14px 16px; font-size: 14px; color: var(--dark); font-weight: 600; }
.partner-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.partner-cell { background: #fff; height: 104px; display: flex; align-items: center; justify-content: center; padding: 16px; color: var(--text-light); font-size: 14.5px; font-weight: 600; text-align: center; transition: all .25s; }
.partner-cell:hover { background: #f7faff; color: var(--primary); }
.partner-cell img { max-height: 56px; object-fit: contain; }

/* 筛选 / 分页 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-bar button { padding: 9px 24px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--text); font-size: 14px; cursor: pointer; font-family: var(--font); transition: all .22s; }
.filter-bar button:hover { border-color: var(--primary-light); color: var(--primary); }
.filter-bar button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination button { min-width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; font-size: 14px; font-family: var(--font); transition: all .2s; }
.pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }

/* 详情页 */
.detail-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article h1 { font-size: 28px; color: var(--dark); line-height: 1.45; font-weight: 800; }
.article .article-meta { margin: 16px 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--border); color: var(--text-light); font-size: 13.5px; display: flex; gap: 18px; flex-wrap: wrap; }
.article-body { font-size: 15.5px; color: #34435c; line-height: 2; }
.article-body p { margin-bottom: 16px; }
.article-body .h { font-weight: 700; color: var(--dark); margin: 22px 0 10px; font-size: 16.5px; }
.article-body .li { padding-left: 18px; position: relative; margin-bottom: 9px; }
.article-body .li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.side-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 22px; }
.side-box h4 { font-size: 16px; color: var(--dark); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; font-weight: 700; }
.side-links a { display: block; padding: 9px 0; font-size: 14px; color: var(--text-light); border-bottom: 1px dashed var(--border); }
.side-links a:last-child { border-bottom: none; }
.side-links a:hover { color: var(--primary); padding-left: 6px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.case-gallery .media { border-radius: var(--radius); height: 190px; }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.info-table th, .info-table td { padding: 13px 18px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--border); }
.info-table th { background: #f5f9ff; color: var(--dark); width: 120px; font-weight: 600; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; transition: all .25s; }
.info-card:hover { box-shadow: var(--shadow); border-color: #cddcf6; }
.info-card h3 { font-size: 16.5px; color: var(--dark); margin-bottom: 8px; }
.info-card .v { font-size: 18px; font-weight: 700; color: var(--primary); }
.info-card p { font-size: 13.5px; color: var(--text-light); }

/* 表单 */
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.form-group label span { color: #d0342c; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14.5px; font-family: var(--font); color: var(--text); background: #fbfdff; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-light); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group .hint { font-size: 12.5px; color: var(--text-light); margin-top: 6px; }
.form-msg { margin-top: 14px; padding: 11px 16px; border-radius: 6px; font-size: 14px; display: none; }
.form-msg.success { display: block; background: #e9f7ef; color: #1a7f4b; }
.form-msg.error { display: block; background: #fdecec; color: #c0392b; }

/* CTA */
.cta { background: linear-gradient(110deg, #07203f, var(--primary) 52%, var(--primary-light)); color: #fff; border-radius: var(--radius-lg); padding: 52px 48px; display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -60px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.3), transparent 66%); }
.cta h2 { font-size: 27px; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 2; }
.cta p { color: rgba(255,255,255,.85); position: relative; z-index: 2; }
.cta .btn { position: relative; z-index: 2; }

/* 页脚 */
.site-footer { background: #08172c; color: rgba(255,255,255,.68); padding: 58px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 700; position: relative; padding-bottom: 10px; }
.footer-grid h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-grid a { display: block; margin-bottom: 10px; color: rgba(255,255,255,.62); font-size: 13.5px; }
.footer-grid a:hover { color: var(--accent); }
.footer-contact p { margin-bottom: 10px; font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.9; }

/* 空状态 / 加载 */
.empty { text-align: center; color: var(--text-light); padding: 60px 20px; font-size: 14.5px; }
.skeleton { background: linear-gradient(90deg, #eef2f9 25%, #f6f9ff 50%, #eef2f9 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 6px; height: 120px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* 认证 */
.auth-wrap { min-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; padding: 48px 0; background: linear-gradient(160deg, #eef4ff, var(--bg) 65%); }
.auth-card { width: min(440px, 94%); background: #fff; border-radius: var(--radius-lg); padding: 42px 38px; box-shadow: var(--shadow-hover); border: 1px solid var(--border); }
.auth-card h2 { text-align: center; color: var(--dark); font-size: 23px; margin-bottom: 6px; font-weight: 800; }
.auth-card .sub { text-align: center; color: var(--text-light); font-size: 13.5px; margin-bottom: 26px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-light); }
.auth-switch a { color: var(--primary); font-weight: 600; cursor: pointer; }

/* ============ 管理后台 ============ */
.admin-layout { display: grid; grid-template-columns: 236px 1fr; min-height: calc(100vh - 78px); background: var(--bg); }
.admin-side { background: #0b1728; padding: 18px 0 40px; }
.admin-side .side-title { color: rgba(255,255,255,.4); font-size: 11.5px; letter-spacing: 2px; padding: 12px 22px 6px; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 11px 22px; color: rgba(255,255,255,.72); font-size: 14.5px; cursor: pointer; border-left: 3px solid transparent; transition: all .2s; }
.admin-side a:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-side a.active { color: #fff; background: rgba(255,255,255,.09); border-left-color: var(--accent); font-weight: 600; }
.admin-side a .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.admin-main { padding: 26px 30px 60px; }
.admin-main h2 { font-size: 21px; color: var(--dark); margin-bottom: 6px; font-weight: 800; }
.admin-main .desc { color: var(--text-light); font-size: 13.5px; margin-bottom: 20px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.panel-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.stat-card .n { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-card .l { color: var(--text-light); font-size: 13.5px; margin-top: 4px; }
.stat-card.warn .n { color: var(--accent); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.table th { background: #f3f7fe; text-align: left; padding: 12px 14px; color: var(--dark); font-size: 13px; font-weight: 700; white-space: nowrap; }
.table td { padding: 12px 14px; border-top: 1px solid var(--border); vertical-align: middle; }
.table tr:hover td { background: #fafcff; }
.table img.thumb-sm { width: 60px; height: 44px; object-fit: cover; border-radius: 4px; }
.badge { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-green { background: #e9f7ef; color: #1a7f4b; }
.badge-gray { background: #eef1f6; color: #7a879c; }
.badge-orange { background: #fff2e6; color: var(--accent-dark); }
.badge-blue { background: #eef4ff; color: var(--primary); }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input[type=search], .toolbar input[type=text] { padding: 9px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: var(--font); min-width: 220px; }
.toolbar .spacer { flex: 1; }
.modal-mask { position: fixed; inset: 0; background: rgba(9,20,40,.55); z-index: 900; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal-mask.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); width: min(760px, 100%); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 17px; color: var(--dark); font-weight: 700; }
.modal-head .close { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text-light); }
.modal-body { padding: 22px 24px; max-height: 68vh; overflow-y: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }
.upload-zone { border: 1.5px dashed #c6d6f0; border-radius: 8px; padding: 20px; text-align: center; color: var(--text-light); font-size: 13.5px; background: #fafcff; }
.media-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; max-height: 260px; overflow-y: auto; padding: 4px; }
.media-picker .item { border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; height: 82px; background: #eef2f9; position: relative; }
.media-picker .item.sel { border-color: var(--accent); }
.media-picker .item img { width: 100%; height: 100%; object-fit: cover; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.empty-tip { text-align: center; color: var(--text-light); padding: 30px; font-size: 14px; }
/* 后台站点设置：Logo / favicon 预览框 */
.img-field-preview { border: 1.5px dashed #c6d6f0; border-radius: 8px; background: #fafcff; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--text-light); font-size: 12px; flex-shrink: 0; }
.img-field-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* 响应式 */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .partner-wall { grid-template-columns: repeat(3, 1fr); }
  .detail-wrap { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 30px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; padding: 0; }
  .admin-side .side-title { display: none; }
  .admin-side a { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; padding: 14px 16px; }
  .admin-side a.active { border-left: none; border-bottom-color: var(--accent); }
}
@media (max-width: 860px) {
  .logo-img { height: min(var(--logo-h, 46px), 38px); max-width: 200px; }
  .logo-img-footer { height: min(var(--logo-h, 46px), 46px); max-width: 220px; padding: 7px 11px; }
  .nav-menu { position: fixed; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 0 20px; box-shadow: var(--shadow-hover); display: none; max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 14px 24px; }
  .nav-menu > li > a::after { display: none; }
  .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; padding-left: 16px; display: none; }
  .nav-menu > li.open .nav-drop { display: block; }
  .nav-toggle { display: block; }
  .topbar .left span:not(:first-child) { display: none; }
  .hero { height: auto; min-height: 480px; padding: 60px 0; }
  .hero-content { height: auto; }
  .g3, .g4, .g2, .form-row, .contact-grid, .footer-grid, .case-gallery { grid-template-columns: 1fr; }
  .partner-wall { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 54px 0; }
  .field-row { grid-template-columns: 1fr; }
  .cta { padding: 36px 26px; }
}
