* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif; color: #222; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.hd { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100;
      transition: box-shadow .3s ease; }
.hd-in { display: flex; justify-content: space-between; align-items: center; height: 70px;
         transition: height .3s ease; }
.logo { font-size: 22px; font-weight: bold; color: #0a4d8c; }
.hd nav a { margin-left: 28px; font-size: 15px; color: #333; transition: color .2s; }
.hd nav a:hover { color: #0a4d8c; }
.admin-link { color: #999 !important; font-size: 13px; }
.hd.hd-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.hd.hd-scrolled .hd-in { height: 58px; }

/* ===== Hero 轮播 ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a4d8c, #1e88e5);
  color: #fff; height: 460px; overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 20px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.slide.active { opacity: 1; transform: translateY(0); }
.slide h1 { font-size: 42px; margin-bottom: 14px; letter-spacing: .5px; }
.slide p { font-size: 18px; opacity: .92; }

.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer; transition: .3s;
}
.hero-dots .dot.active { background: #fff; width: 26px; border-radius: 5px; }

/* ===== 数字统计 ===== */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px; padding: 60px 20px; text-align: center;
}
.stat-item { padding: 10px; }
.stat-num {
  font-size: 40px; font-weight: bold; color: #0a4d8c;
  margin-bottom: 8px; line-height: 1.2;
}
.stat-item p { color: #666; font-size: 15px; }

/* ===== 普通板块 ===== */
.sec { padding: 70px 20px; }
.sec h2 { font-size: 30px; margin-bottom: 30px; color: #0a4d8c; }
.about-text { font-size: 16px; color: #555; max-width: 900px; line-height: 1.9; }

/* ===== 卡片 ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  background: #f8fafc; border: 1px solid #e5e9f0;
  border-radius: 8px; padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, #0a4d8c, #1e88e5);
  transition: width .4s ease;
}
.card:hover { transform: translateY(-6px) scale(1.02);
              box-shadow: 0 12px 30px rgba(10,77,140,.18); }
.card:hover::before { width: 100%; }
.card h3 { color: #0a4d8c; margin-bottom: 10px; font-size: 18px; }
.card .model { color: #1e88e5; font-weight: bold; margin-bottom: 6px; }
.card p { font-size: 14px; color: #666; }

/* ===== 滚动进入视口 ===== */
.reveal { opacity: 0; transform: translateY(30px);
          transition: opacity .7s ease, transform .7s ease; }
.reveal.reveal-in { opacity: 1; transform: translateY(0); }

/* ===== 联系表单 ===== */
.contact-form { max-width: 520px; display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 12px; border: 1px solid #d0d7e2; border-radius: 6px;
  font-size: 15px; font-family: inherit;
}
.contact-form button {
  background: #0a4d8c; color: #fff; border: none;
  padding: 13px; border-radius: 6px; font-size: 16px; cursor: pointer;
  transition: background .3s;
}
.contact-form button:hover { background: #1e88e5; }

/* ===== 解决方案详情 ===== */
.back { color: #1e88e5; display: inline-block; margin-bottom: 20px; }
.summary { color: #666; margin: 14px 0 26px; font-size: 17px; }
.content { font-size: 16px; color: #444; line-height: 1.9; }

/* ===== 产品详情页 ===== */
.product-hero {
  background: linear-gradient(135deg, #0a4d8c, #1e88e5);
  color: #fff;
  padding: 50px 0 60px;
}
.product-hero .back {
  color: #cfe3f7;
  display: inline-block;
  margin-bottom: 26px;
}
.product-hero .back:hover { color: #fff; }
.product-hero-in {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}
.product-img {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.85);
}
.product-intro h1 { font-size: 34px; margin-bottom: 8px; }
.model-tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 14px;
}
.product-intro .desc { font-size: 16px; opacity: .92; line-height: 1.7; }

.product-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.product-block {
  background: #f8fafc;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 24px;
}
.product-block h2 { font-size: 20px; margin-bottom: 16px; color: #0a4d8c; }
.spec-pre {
  font-family: inherit;
  font-size: 14px;
  color: #444;
  white-space: pre-wrap;
  line-height: 1.9;
}
.feat-list { list-style: none; padding: 0; }
.feat-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #444;
  font-size: 15px;
}
.feat-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a4d8c, #1e88e5);
}

@media (max-width: 768px) {
  .product-hero-in { grid-template-columns: 1fr; }
  .product-img { height: 180px; }
  .product-intro h1 { font-size: 26px; }
}

/* ===== 卡片图片区 ===== */
.card {
  padding: 0; /* 去掉原来的内边距，让图片贴边 */
  display: flex;
  flex-direction: column;
}
.card-img {
  height: 180px;
  background: #eef3f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保证图片不变形填满 */
  transition: transform .4s ease;
}
/* 鼠标悬浮时图片轻微放大 */
.card:hover .card-img img {
  transform: scale(1.08);
}
.card-img span {
  color: #1e88e5;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
}
.card-body {
  padding: 20px;
  flex: 1;
}

/* ===== 详情页大图适配 ===== */
.product-img {
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 详情页展示完整产品外观 */
  background: #fff;
}
/* ===== 页脚 ===== */
.ft { background: #0a2540; color: #a8b8cc; padding: 30px 20px;
      text-align: center; font-size: 14px; margin-top: 60px; }