/* ============================================================
 * 智飞 Zhifly · 全局样式 style.css
 * 品牌色：Navy #0A2463 / Blue #1E6FB8 / Teal #3CAEA3 / BG #F5F8FC
 * ============================================================ */

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1c2733;
  background: #F5F8FC;
  line-height: 1.7;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ---------- 容器 / 区块 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section:nth-child(even) { background: #fff; }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0A2463;
  margin-bottom: 12px;
  position: relative;
}
.section-sub {
  text-align: center;
  color: #5b6b7b;
  margin-bottom: 48px;
  font-size: 16px;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  background: #1E6FB8;
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all .25s ease;
  border: 2px solid transparent;
}
.btn-primary { background: #1E6FB8; color: #fff; }
.btn-primary:hover { background: #0A2463; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30,111,184,.3); }
.btn-gold { background: #1E6FB8; color: #fff; }
.btn-gold:hover { background: #0A2463; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: #1E6FB8; color: #1E6FB8; }
.btn-outline:hover { background: #1E6FB8; color: #fff; }
.btn-light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-light:hover { background: #fff; color: #0A2463; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ============================================================
 * 公众门户 · 顶部导航
 * ============================================================ */
.nav-sticky {
  position: sticky; top: 0; z-index: 100;
  background: #0A2463;
  color: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.nav-logo .lg-cn { font-size: 22px; letter-spacing: 1px; }
.nav-logo .lg-en { font-size: 13px; color: #9fd3ff; letter-spacing: 2px; }
.nav-logo .lg-tag { font-size: 12px; color: #3CAEA3; margin-left: 6px; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { font-size: 15px; color: #dbe7f5; transition: color .2s; position: relative; }
.nav-menu a:hover { color: #fff; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: #1E6FB8; transition: width .25s;
}
.nav-menu a:hover::after { width: 100%; }
.nav-admin-btn {
  background: rgba(255,255,255,.12); color: #fff; padding: 9px 20px; border-radius: 22px;
  font-weight: 600; font-size: 14px; transition: background .2s; border: 1px solid rgba(255,255,255,.4);
}
.nav-admin-btn:hover { background: rgba(255,255,255,.22); }
.nav-toggle { display: none; background: none; color: #fff; font-size: 26px; }

/* ============================================================
 * 轮播 Hero
 * ============================================================ */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #0A2463;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex; align-items: center;
}
.carousel-slide.active { opacity: 1; z-index: 2; }
/* 文字叠加层（当背景为图片时也保证可读） */
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,16,46,.55), rgba(6,16,46,.15) 60%, rgba(6,16,46,0));
}
.slide-content {
  position: relative; z-index: 3;
  max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 40px;
  color: #fff;
}
.slide-content h2 {
  font-size: 46px; line-height: 1.2; font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.slide-content p {
  margin-top: 16px; font-size: 19px; color: #eaf2ff;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
  max-width: 640px;
}
.slide-content .btn { margin-top: 28px; }
.slide-play-button {
  display: inline-flex; align-items: center; gap: 13px; margin-top: 28px; padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: rgba(255,255,255,.94);
  color: #0A2463; box-shadow: 0 8px 28px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s;
}
.slide-play-icon {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding-left: 3px;
  border-radius: 50%; background: #1E6FB8; color: #fff; font-size: 18px;
}
.slide-play-button strong, .slide-play-button small { display: block; text-align: left; }
.slide-play-button strong { font-size: 15px; }
.slide-play-button small { margin-top: 2px; color: #6f8091; font-size: 11px; }
.carousel-slide:hover .slide-play-button { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,0,0,.3); }

.video-dialog {
  position: fixed; inset: 0; width: min(960px, 92vw); margin: auto; padding: 0;
  overflow: visible; border: 0; border-radius: 14px;
  background: #050b16; box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.video-dialog::backdrop { background: rgba(2,9,24,.82); backdrop-filter: blur(4px); }
.video-dialog video { display: block; width: 100%; max-height: 80vh; margin: auto; border-radius: 14px; background: #050b16; object-fit: contain; }
.video-dialog-close {
  position: absolute; top: -16px; right: -16px; z-index: 2; width: 38px; height: 38px;
  border-radius: 50%; background: #fff; color: #0A2463; font-size: 25px; line-height: 36px;
  box-shadow: 0 5px 18px rgba(0,0,0,.3);
}
.video-dialog-close:hover { background: #eaf3fb; }

/* 箭头 */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: 24px; line-height: 48px; text-align: center;
  backdrop-filter: blur(4px);
  transition: background .2s; user-select: none;
}
.carousel-arrow:hover { background: rgba(255,255,255,.4); }
.carousel-arrow.prev { left: 22px; }
.carousel-arrow.next { right: 22px; }

/* 圆点 */
.carousel-dots {
  position: absolute; bottom: 22px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center; gap: 12px;
}
.carousel-dots .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; transition: all .25s;
}
.carousel-dots .dot.active { background: #1E6FB8; width: 30px; border-radius: 6px; }

/* ============================================================
 * 公司简介 + 实力标签
 * ============================================================ */
.about-intro { max-width: 880px; margin: 0 auto; text-align: center; }
.about-intro p { color: #43525f; font-size: 17px; margin-bottom: 18px; }
.about-intro .quote {
  color: #0A2463; font-weight: 600;
  border-left: 4px solid #3CAEA3; padding-left: 14px; display: inline-block; text-align: left;
}
.strength-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px;
}
.strength-card {
  background: #fff; border-radius: 16px; padding: 30px 22px; text-align: center;
  box-shadow: 0 6px 22px rgba(10,36,99,.06); border-top: 4px solid #1E6FB8;
  transition: transform .25s, box-shadow .25s;
}
.strength-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(10,36,99,.12); }
.strength-card .ic { font-size: 38px; color: #1E6FB8; margin-bottom: 12px; }
.strength-card .ic img { display: block; width: 38px; height: 38px; object-fit: contain; margin: 0 auto; }
.strength-card h4 { color: #0A2463; font-size: 18px; margin-bottom: 8px; }
.strength-card p { color: #5b6b7b; font-size: 14px; }

/* ============================================================
 * 产品矩阵
 * ============================================================ */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.product-card {
  display: block; background: #fff; border-radius: 16px; padding: 34px 30px;
  color: inherit; text-decoration: none;
  box-shadow: 0 6px 22px rgba(10,36,99,.07);
  transition: transform .28s ease, box-shadow .28s ease;
  border: 1px solid #eef3fa; position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(10,36,99,.16); }
.product-card .pc-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg,#1E6FB8,#0A2463); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.product-card .pc-icon svg { width: 34px; height: 34px; }
.product-card .pc-icon img { width: 34px; height: 34px; object-fit: contain; }
.product-card h3 { font-size: 22px; color: #0A2463; margin-bottom: 6px; }
.product-card .pc-tag { color: #3CAEA3; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.product-card p { color: #5b6b7b; font-size: 14.5px; margin-bottom: 20px; min-height: 66px; }

/* ============================================================
 * 新闻资讯
 * ============================================================ */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.news-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(10,36,99,.07); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(10,36,99,.14); }
.news-card .nc-badge {
  background: #0A2463; color: #fff; padding: 8px 16px; font-size: 13px; align-self: flex-start;
  border-bottom-right-radius: 12px; font-weight: 600;
}
.news-card .nc-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card h4 { font-size: 17px; color: #1c2733; margin-bottom: 10px; line-height: 1.5; }
.news-card .nc-excerpt { color: #5b6b7b; font-size: 14px; flex: 1; }
.news-card .nc-source { margin-top: 14px; font-size: 12px; color: #90a0b0; }
.news-more { text-align: center; margin-top: 44px; }

/* 公众号二维码占位 */
.wechat-box {
  margin-top: 50px; background: #fff; border-radius: 16px; padding: 30px;
  display: flex; align-items: center; gap: 26px; justify-content: center;
  box-shadow: 0 6px 22px rgba(10,36,99,.06); flex-wrap: wrap;
}
.wechat-qr {
  width: 130px; height: 130px; border-radius: 12px;
  background: url('../images/zhifly-wechat-qr.png') center/cover no-repeat;
  border: 6px solid #fff; box-shadow: 0 0 0 1px #e2e8f0;
  overflow: hidden;
}
.wechat-qr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wechat-box .wx-text h4 { color: #0A2463; font-size: 18px; margin-bottom: 6px; }
.wechat-box .wx-text p { color: #5b6b7b; font-size: 14px; }

/* ============================================================
 * 典型案例
 * ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  position: relative; display: block; background: #fff; border-radius: 14px; overflow: hidden;
  color: inherit; text-decoration: none;
  box-shadow: 0 6px 20px rgba(10,36,99,.07); transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(10,36,99,.14); }
.card-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,36,99,.4); opacity: 0;
  transition: opacity .25s;
}
.card-overlay span {
  padding: 10px 24px; border: 2px solid rgba(255,255,255,.9); border-radius: 24px;
  color: #fff; font-size: 16px; font-weight: 700;
}
.product-card:hover .card-overlay, .product-card:focus-visible .card-overlay,
.case-card:hover .card-overlay, .case-card:focus-visible .card-overlay { opacity: 1; }
.product-card:focus-visible, .case-card:focus-visible { outline: 3px solid #1E6FB8; outline-offset: 3px; }
.case-card .cc-img {
  height: 160px; position: relative;
  background: linear-gradient(135deg,#1E6FB8,#0A2463);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.case-card .cc-img svg { width: 54px; height: 54px; opacity: .9; }
.case-card .cc-img img { width: 54px; height: 54px; object-fit: contain; }
.case-card .cc-body { padding: 22px; }
.case-card .cc-region { font-size: 13px; color: #3CAEA3; font-weight: 600; }
.case-card h4 { font-size: 18px; color: #0A2463; margin: 6px 0 10px; }
.case-card .cc-desc { color: #5b6b7b; font-size: 14px; margin-bottom: 14px; min-height: 42px; }
.case-card .cc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.case-card .cc-tag {
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
  background: #eaf3fb; color: #1E6FB8;
}
.case-card.pending .cc-desc { color: #b0bcc8; font-style: italic; }

/* ============================================================
 * 联系我们
 * ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.contact-form { background: #fff; border-radius: 16px; padding: 34px; box-shadow: 0 6px 22px rgba(10,36,99,.07); }
.contact-form .form-row { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; color: #0A2463; font-weight: 600; margin-bottom: 7px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d6e0ec; border-radius: 10px;
  font-size: 14px; font-family: inherit; transition: border .2s, box-shadow .2s; background: #fbfdff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: #1E6FB8; box-shadow: 0 0 0 3px rgba(30,111,184,.12);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-info { background: linear-gradient(160deg,#0A2463,#1E6FB8); border-radius: 16px; padding: 34px; color: #fff; }
.contact-info h3 { font-size: 20px; margin-bottom: 22px; }
.contact-info .ci-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info .ci-item .ci-ic { font-size: 22px; }
.contact-info .ci-item .ci-label { font-size: 13px; color: #9fd3ff; }
.contact-info .ci-item .ci-val { font-size: 15px; }
.form-note { margin-top: 14px; font-size: 14px; padding: 10px 14px; border-radius: 10px; }
.form-note.ok { background: #e6f6f1; color: #1d7a63; }
.form-note.err { background: #fdeaea; color: #c0392b; }

/* ============================================================
 * 页脚
 * ============================================================ */
.footer {
  background: #061a47; color: #9fb3d1; padding: 38px 0; text-align: center; font-size: 14px;
}
.footer .ft-logo { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.footer .ft-logo span { color: #3CAEA3; }

/* ============================================================
 * 落地页 products/*.html
 * ============================================================ */
.lp-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 20px 0 0 20px; color: #1E6FB8; font-weight: 600; font-size: 14px;
}
.lp-back:hover { color: #0A2463; }
.lp-hero {
  height: 340px; display: flex; align-items: center;
  background: linear-gradient(120deg,#0A2463,#1E6FB8 60%,#3CAEA3);
  color: #fff; position: relative; overflow: hidden;
}
.lp-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.lp-hero .lp-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.lp-hero .lp-icon {
  width: 70px; height: 70px; border-radius: 16px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff;
}
.lp-hero .lp-icon svg { width: 40px; height: 40px; }
.lp-hero h1 { font-size: 40px; font-weight: 800; }
.lp-hero .lp-tag { font-size: 19px; color: #eaf2ff; margin-top: 10px; }
.lp-section { padding: 60px 0; }
.lp-section.bg-white { background: #fff; }
.lp-desc { max-width: 860px; margin: 0 auto; }
.lp-desc p { font-size: 17px; color: #43525f; line-height: 1.9; }
.cap-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sub-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sub-card  { background: #F5F8FC; border: 1px solid #e6ecf3; border-radius: 14px; padding: 24px 22px; transition: transform .2s, box-shadow .2s; }
.sub-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(30,111,184,.14); }
.sub-card h4   { color: #0A2463; font-size: 17px; margin-bottom: 10px; }
.sub-card p    { color: #5b6b7b; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.cap-card {
  background: #fff; border-radius: 14px; padding: 28px 22px; text-align: center;
  box-shadow: 0 6px 20px rgba(10,36,99,.07); border-bottom: 4px solid #3CAEA3;
  transition: transform .25s;
}
.cap-card:hover { transform: translateY(-6px); }
.cap-card .cap-ic { font-size: 34px; margin-bottom: 12px; }
.cap-card h4 { color: #0A2463; font-size: 17px; }
.lp-actions { text-align: center; margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
 * 管理后台布局
 * ============================================================ */
.admin-layout { display: flex; min-height: 100vh; background: #F5F8FC; }
.admin-sidebar {
  width: 220px; flex-shrink: 0; background: #0A2463; color: #fff;
  display: flex; flex-direction: column;
}
.admin-sidebar .as-brand {
  padding: 22px 20px; font-size: 18px; font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.12); letter-spacing: 1px;
}
.admin-sidebar .as-brand span { color: #3CAEA3; font-size: 13px; display: block; font-weight: 400; margin-top: 2px; }
.admin-sidebar nav { padding: 14px 0; flex: 1; }
.admin-sidebar nav a {
  display: block; padding: 13px 24px; color: #c5d4e8; font-size: 15px;
  border-left: 3px solid transparent; transition: all .2s;
}
.admin-sidebar nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-sidebar nav a.active { background: rgba(62,174,163,.22); color: #fff; border-left-color: #3CAEA3; }
.admin-sidebar .as-foot { padding: 16px 20px; font-size: 12px; color: #7e93b3; border-top: 1px solid rgba(255,255,255,.1); }

.admin-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  height: 62px; background: #fff; border-bottom: 1px solid #e6ecf3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
}
.admin-topbar .at-title { font-size: 18px; font-weight: 700; color: #0A2463; }
.admin-topbar .at-user { display: flex; align-items: center; gap: 14px; color: #5b6b7b; font-size: 14px; }
.admin-topbar .at-user .at-name { color: #0A2463; font-weight: 600; }
.admin-topbar .at-logout {
  background: #f0f4f9; color: #c0392b; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
}
.admin-topbar .at-logout:hover { background: #fae3e1; }
.admin-main { padding: 28px; flex: 1; overflow-y: auto; }

/* 卡片 / 面板 */
.panel { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 4px 16px rgba(10,36,99,.05); margin-bottom: 24px; }
.panel h3 { font-size: 18px; color: #0A2463; margin-bottom: 18px; }
.panel h3 .sub { font-size: 13px; color: #90a0b0; font-weight: 400; margin-left: 8px; }

/* 概览统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 4px 16px rgba(10,36,99,.05);
  border-left: 4px solid #1E6FB8;
}
.stat-card.gold { border-left-color: #1E6FB8; }
.stat-card.teal { border-left-color: #3CAEA3; }
.stat-card.navy { border-left-color: #0A2463; }
.stat-card .st-num { font-size: 34px; font-weight: 800; color: #0A2463; }
.stat-card .st-label { color: #5b6b7b; font-size: 14px; margin-top: 4px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.quick-card {
  background: #f5f8fc; border-radius: 12px; padding: 20px; border: 1px solid #e6ecf3;
  display: flex; align-items: center; gap: 14px; transition: all .2s;
}
.quick-card:hover { background: #eaf3fb; border-color: #1E6FB8; }
.quick-card .q-ic { font-size: 26px; }
.quick-card .q-title { color: #0A2463; font-weight: 600; font-size: 15px; }
.quick-card .q-desc { color: #90a0b0; font-size: 12px; }

/* 表单 */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: #0A2463; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid #d6e0ec; border-radius: 9px;
  font-size: 14px; font-family: inherit; background: #fbfdff;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: #1E6FB8; box-shadow: 0 0 0 3px rgba(30,111,184,.12);
}
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: flex; gap: 16px; }
.field-row .field { flex: 1; }
.form-hint { font-size: 12px; color: #90a0b0; margin-top: 4px; }
.form-actions { margin-top: 8px; display: flex; gap: 12px; }

/* 数据列表（管理页） */
.data-list { display: flex; flex-direction: column; gap: 14px; }
.data-item {
  background: #fff; border: 1px solid #e6ecf3; border-radius: 12px; padding: 16px 18px;
  display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 8px rgba(10,36,99,.04);
}
.data-item .di-thumb {
  width: 96px; height: 56px; border-radius: 8px; flex-shrink: 0; background-size: cover; background-position: center;
  background-color: #0A2463; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.data-item .di-body { flex: 1; min-width: 0; }
.data-item .di-title { font-weight: 600; color: #0A2463; font-size: 15px; }
.data-item .di-meta { font-size: 12px; color: #90a0b0; margin-top: 3px; word-break: break-all; }
.contact-message { margin-top: 10px; color: #4f6073; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.data-item .di-actions { display: flex; gap: 8px; flex-shrink: 0; }
.mini-btn {
  padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: all .2s;
}
.mini-btn.edit { background: #eaf3fb; color: #1E6FB8; }
.mini-btn.edit:hover { background: #1E6FB8; color: #fff; }
.mini-btn.del { background: #fdeaea; color: #c0392b; }
.mini-btn.del:hover { background: #c0392b; color: #fff; }
.mini-btn.preview { background: #eafaf4; color: #1d7a63; }
.mini-btn.preview:hover { background: #3CAEA3; color: #fff; }

/* 行内编辑 */
.edit-block { background: #f7faff; border: 1px dashed #b9cde4; border-radius: 10px; padding: 16px; margin-top: 10px; }
.edit-block .field { margin-bottom: 12px; }

/* 提示信息 */
.empty-tip { text-align: center; color: #90a0b0; padding: 40px 0; font-size: 15px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.alert.ok { background: #e6f6f1; color: #1d7a63; }
.alert.err { background: #fdeaea; color: #c0392b; }

/* 登录页 */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#0A2463,#1E6FB8);
}
.login-card {
  background: #fff; border-radius: 18px; padding: 44px 40px; width: 380px; max-width: 92vw;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.login-card .lc-brand { text-align: center; margin-bottom: 26px; }
.login-card .lc-brand .lc-logo { font-size: 26px; font-weight: 800; color: #0A2463; }
.login-card .lc-brand .lc-logo span { color: #3CAEA3; }
.login-card .lc-brand .lc-sub { color: #90a0b0; font-size: 13px; margin-top: 4px; }
.login-card .field { margin-bottom: 18px; }
.login-card .login-btn {
  width: 100%; background: #1E6FB8; color: #fff; padding: 13px; border-radius: 10px;
  font-size: 16px; font-weight: 700; margin-top: 6px; transition: background .2s;
}
.login-card .login-btn:hover { background: #0A2463; }
.login-card .login-back { text-align: center; margin-top: 18px; }
.login-card .login-back a { color: #1E6FB8; font-size: 14px; }
.login-card .login-err { background: #fdeaea; color: #c0392b; padding: 10px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; display: none; }

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; background: #0A2463; padding: 14px 0; gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 24px; }
  .nav-toggle { display: block; }
  .section { padding: 54px 0; }
  .section-title { font-size: 26px; }
  .hero-carousel { height: 380px; }
  .slide-content h2 { font-size: 30px; }
  .slide-content p { font-size: 15px; }
  .slide-content { padding: 0 24px; }
  .strength-grid, .product-grid, .news-grid, .case-grid, .cap-grid, .sub-grid, .stat-grid, .quick-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 200; transform: translateX(-100%); transition: transform .25s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-menu-toggle { display: inline-flex !important; }
  .lp-hero h1 { font-size: 28px; }
  .lp-hero .lp-tag { font-size: 15px; }
  .data-item { flex-wrap: wrap; }
  .data-item .di-actions { width: 100%; justify-content: flex-end; }
}
.admin-menu-toggle { display: none; background: none; color: #0A2463; font-size: 22px; margin-right: 10px; }
