/* ==========================================================================
   昆明高新软件与信息安全测评实验室有限公司 — 官网首页静态复刻
   版式基准：原站 1200px 居中栅格 + 绝对定位画布（坐标取自线上渲染实测值）
   ========================================================================== */

:root {
  --blue: #3099dd;          /* 按钮 / 链接蓝 */
  --blue-light: #66ccff;    /* 标题浅蓝 */
  --blue-link: #609ee9;
  --gray-bar: #f5f5f5;      /* 页头底色 */
  --txt-dark: #4a4a4a;      /* 导航文字 */
  --txt-news: #404040;      /* 资讯文字 */
  --footer-bg: rgba(0, 0, 0, 0.83);
  --canvas: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
}

body {
  min-width: var(--canvas);
  font: 12px/1.2 system-ui, "Microsoft YaHei", "微软雅黑", arial, tahoma, sans-serif;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; border: 0; }

.wrap {
  position: relative;
  width: var(--canvas);
  margin: 0 auto;
}

/* ---------------------------------------------------------------- 页头 */
.site-header {
  position: relative;
  z-index: 20;
  height: 112px;
  background: var(--gray-bar);
}

.hd-logo {
  position: absolute;
  left: 62px;
  top: 18px;
  width: 66px;
  height: 48px;
}

.hd-brand {
  position: absolute;
  left: 145px;
  top: 22px;
  width: 487px;
}
.hd-brand .cn {
  display: block;
  font-size: 24px;
  line-height: 28px;
  color: #000;
}
.hd-brand .en {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: .2px;
  color: #000;
}

.hd-nav {
  position: absolute;
  left: 648px;
  top: 38px;
  width: 710px;          /* 原站该区块向右溢出 1200 栅格，保持一致 */
  height: 39px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-left: 37px;
  gap: 45px;
  font-family: Tahoma, system-ui, "Microsoft YaHei", sans-serif;
}
.hd-nav a {
  font-size: 14px;
  line-height: 39px;
  color: var(--txt-dark);
  transition: color .2s;
}
.hd-nav a:hover,
.hd-nav a.on { color: var(--blue); }

/* ---------------------------------------------------------------- 幻灯 */
.hero {
  position: relative;
  z-index: 1;
  height: 667px;
  margin-top: -15px;   /* 原站幻灯上探至页头下方 15px */
  overflow: hidden;
  background: #1b6fc4;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-slide.on { opacity: 1; }

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 32px;
  height: 56px;
  margin-top: -28px;
  border: 0;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(0, 0, 0, .45); }
.hero-arrow.prev { left: 0; border-radius: 0 4px 4px 0; }
.hero-arrow.next { right: 0; border-radius: 4px 0 0 4px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background .2s;
}
.hero-dots i.on { background: #fff; }

/* ---------------------------------------------------------------- 主体画布
   画布原点对应线上 y=764px；下列 top 值 = 实测绝对 y - 764，left 值 = 实测绝对 x - 251 */
.main-canvas {
  position: relative;
  width: var(--canvas);
  height: 2478px;
  margin: 0 auto;
  background: #fff;
}
.blk { position: absolute; }

/* 标语 */
.slogan {
  left: 2px;
  top: 9px;
  width: 1200px;
  text-align: center;
  color: var(--blue-light);
}
.slogan .l1 { font-size: 30px; line-height: 36px; }
.slogan .l2 { margin-top: 8px; font-size: 16px; line-height: 19px; }
.slogan .l3 { margin-top: 6px; font-size: 20px; line-height: 24px; letter-spacing: 2px; }

/* 公司简介 */
.about {
  left: 126px;
  top: 136px;
  width: 944px;
  font-family: SimSun, "宋体", "Microsoft YaHei", serif;
  font-size: 20px;
  line-height: 35px;
  color: #000;
  text-align: justify;
}
.about p { margin: 0 0 2px; text-indent: 2em; }
.about p:last-child { margin-bottom: 0; }
.about strong { font-weight: 700; }

/* 证书三图 */
.cert { width: 280px; height: 200px; top: 830px; }
.cert img { width: 278px; height: 200px; }
.cert.c1 { left: 120px; }
.cert.c2 { left: 459px; }
.cert.c3 { left: 802px; }
.cert-cap { width: 280px; top: 1045px; font: 16px/30px "Microsoft YaHei", sans-serif; text-align: center; color: #000; }
.cert-cap.c1 { left: 116px; }
.cert-cap.c2 { left: 446px; }
.cert-cap.c3 { left: 802px; }

/* 栏目标题 + 分隔线 */
.sec-title {
  width: 1200px;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  color: #000;
}
.sec-title em { font-style: normal; color: var(--blue-light); }
.sec-line { width: 1000px; height: 10px; }
.sec-line img { width: 994px; height: 7px; margin: 0 auto; }

.title-svc  { left: 116px; top: 1084px; width: 951px; font-size: 26px; line-height: 37px; }
.line-svc   { left: 91px;  top: 1113px; }
.title-ind  { left: 120px; top: 1394px; }
.line-ind   { left: 97px;  top: 1437px; }
.title-news { left: 98px;  top: 1749px; }
.line-news  { left: 91px;  top: 1807px; }
.title-coop { left: 143px; top: 2212px; }
.line-coop  { left: 102px; top: 2265px; }

/* 服务指南 / 成功案例 两大图卡 */
.big-card { width: 400px; height: 200px; top: 1170px; }
.big-card img { width: 398px; height: 200px; }
.big-card.b1 { left: 126px; }
.big-card.b2 { left: 660px; top: 1175px; }

.btn {
  display: block;
  background: var(--blue);
  color: #fff;
  text-align: center;
  border: 1px solid var(--blue);
  border-radius: 1px;
  transition: filter .2s;
}
.btn:hover { filter: brightness(1.08); }
.btn-card { width: 120px; height: 46px; top: 1247px; font: 18px/44px "Microsoft YaHei", sans-serif; }
.btn-card.b1 { left: 261px; }
.btn-card.b2 { left: 794px; background: #f00; border-color: #f00; }

/* 行业洞察三卡 */
.ins-card { width: 245px; height: 245px; top: 1478px; overflow: hidden; }
.ins-card img { width: 243px; height: 245px; transition: transform .45s ease; }
.ins-card:hover img { transform: scale(1.06); }
.ins-card.i1 { left: 180px; }
.ins-card.i2 { left: 480px; }
.ins-card.i3 { left: 780px; }
.btn-ins { position: absolute; height: 30px; top: 1578px; font: 12px/28px "Microsoft YaHei", sans-serif; }
.btn-ins.i1 { left: 260px; width: 82px; }
.btn-ins.i2 { left: 560px; width: 95px; }
.btn-ins.i3 { left: 860px; width: 82px; }

/* 企业动态 */
.news-list {
  left: 94px;
  top: 1831px;
  width: 1000px;
  height: 310px;
  display: flex;
  gap: 30px;
}
.news-item { width: 200px; }
.news-item .thumb { width: 200px; height: 142px; overflow: hidden; background: #f2f2f2; }
.news-item .thumb img { width: 200px; height: 142px; transition: transform .45s ease; }
.news-item:hover .thumb img { transform: scale(1.06); }
.news-item h3 {
  margin: 8px 0 0;
  font: 400 14px/28px "Microsoft YaHei", sans-serif;
  color: var(--txt-news);
  height: 56px;
  overflow: hidden;
  transition: color .2s;
}
.news-item:hover h3 { color: var(--blue); }
.news-item time { display: block; margin-top: 6px; font: 400 12px/20px "Microsoft YaHei", sans-serif; color: #999; }

.btn-more { left: 482px; top: 2140px; width: 200px; height: 50px; font: 12px/48px Tahoma, sans-serif; border-radius: 2px; }

/* 合作伙伴 */
.partners {
  left: 0;
  top: 2295px;
  width: 1168px;
  height: 132px;
}
.partners img { height: 60px; width: auto; display: inline-block; vertical-align: middle; }
.partners .p-list { display: flex; align-items: center; gap: 74px; padding: 43px 0 0 46px; }
.partners .p-main { width: 259px; height: 60px; }
.partners .p-sm { width: 58px; height: 60px; }

/* ---------------------------------------------------------------- 联系我们 */
.contact {
  position: relative;
  height: 380px;
  background: #4a9be0 url("/assets/img/21608312.jpeg") no-repeat center / cover;
}
.contact .wrap { height: 100%; }
.contact-inner { position: absolute; left: 97px; top: 56px; color: #fff; }
.contact-inner h2 { margin: 0 0 12px; font: 400 20px/30px "Microsoft YaHei", sans-serif; }
.contact-inner p { margin: 0; font: 400 20px/30px "Microsoft YaHei", sans-serif; }
.contact-qr {
  position: absolute;
  left: 230px;
  top: 208px;
  width: 72px;
  height: 74px;
}

/* ---------------------------------------------------------------- 页脚 */
.site-footer {
  padding-top: 48px;
  background: #fff;
}
.ft-band {
  height: 111px;
  background: var(--footer-bg);
  color: #fff;
}
.ft-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 37px;
}
.ft-nav a { font: 400 12px/30px "Microsoft YaHei", sans-serif; color: #fff; transition: color .2s; }
.ft-nav a:hover { color: var(--blue-light); }
.ft-copy { margin-top: 12px; text-align: center; font: 400 12px/14px "Microsoft YaHei", sans-serif; color: #fff; }

.icp-bar {
  padding: 10px 0;
  text-align: center;
  background: #f7f7f7;
  font: 400 12px/20px "Microsoft YaHei", sans-serif;
  color: #888;
}
.icp-bar a { color: #888; }
.icp-bar a:hover { color: var(--blue); }
.icp-bar span { margin: 0 8px; }


/* ==========================================================================
   内页样式：栏目页 / 文章页
   与首页共用 style.css 的页头、轮播、页脚；这里只补内容区
   ========================================================================== */

.page-main { padding: 0 0 80px; }

.crumb {
  padding: 26px 0 0;
  font: 400 14px/24px "Microsoft YaHei", sans-serif;
  color: #666;
}
.crumb a { color: #666; }
.crumb a:hover { color: var(--blue); }
.crumb i { margin: 0 8px; font-style: normal; color: #999; }
.crumb span { color: #999; }

.page-title {
  margin: 34px 0 0;
  font: 400 26px/38px "Microsoft YaHei", sans-serif;
  color: var(--blue-light);
  text-align: center;
}

.art-title {
  margin: 40px 0 0;
  font: 400 20px/32px "Microsoft YaHei", sans-serif;
  color: #000;
  text-align: center;
}

.page-date {
  margin-top: 10px;
  font: 400 14px/24px "Microsoft YaHei", sans-serif;
  color: #888;
  text-align: center;
}

.page-body {
  margin: 26px auto 0;
  width: 944px;
  font: 400 16px/32px "Microsoft YaHei", sans-serif;
  color: #000;
}
.page-body.wide { width: 1000px; }

.page-body p {
  margin: 0 0 8px;
  text-indent: 2em;
  text-align: justify;
}
.page-body img {
  max-width: 100%;
  height: auto !important;
  margin: 10px auto;
}
.page-body table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
.page-body td,
.page-body th {
  border: 1px solid #dcdcdc;
  padding: 6px 8px;
  line-height: 1.6;
  vertical-align: top;
}
.page-body ul,
.page-body ol { margin: 8px 0 8px 2em; padding: 0; }
.page-body li { line-height: 30px; }
.page-body strong { font-weight: 700; }

/* 文章正文：原站为居中图文，图片宽度按原比例 */
.art-body { width: 1000px; }
.art-body p { text-indent: 0; text-align: left; }
.art-body img { margin: 12px auto; display: block; }

/* 文稿页插图：签名/印章右对齐，其余居中 */
.page-body .sig-fig { text-align: right; text-indent: 0; margin-top: 26px; }
.page-body .sig-fig img { display: inline-block; max-width: 220px; }
.page-body .inline-fig { text-align: center; text-indent: 0; }

/* ---------------------------------------------------------------- 卡片列表 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 30px 40px;
  justify-content: center;
  margin-top: 8px;
}
.card { display: block; width: 200px; }
.card-thumb {
  width: 200px;
  height: 142px;
  overflow: hidden;
  background: #f2f2f2;
}
.card-thumb--empty { background: #eef3f8; }
.card-thumb img {
  width: 200px;
  height: 142px;
  object-fit: cover;
  transition: transform .45s ease;
}
.card:hover .card-thumb img { transform: scale(1.06); }
.card-cap {
  margin-top: 8px;
  height: 56px;
  overflow: hidden;
  font: 400 14px/28px "Microsoft YaHei", sans-serif;
  color: var(--txt-news);
  transition: color .2s;
}
.card:hover .card-cap { color: var(--blue); }

/* ---------------------------------------------------------------- 文字列表 */
.row-list { margin: 0; padding: 0; list-style: none; }
.row-list li { border-bottom: 1px dashed #e2e2e2; }
.row-list a {
  display: flex;
  align-items: center;
  height: 52px;
  font: 400 16px/52px "Microsoft YaHei", sans-serif;
  color: #333;
  transition: color .2s;
}
.row-list a:hover { color: var(--blue); }
.row-list .dot {
  width: 6px;
  height: 6px;
  margin-right: 12px;
  background: var(--blue-light);
  border-radius: 50%;
  flex: none;
}
.row-list .txt {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.row-list .arr { color: #bbb; font-size: 14px; }

/* ---------------------------------------------------------------- 标签页 */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 6px;
}
.tabs span {
  padding: 0 22px;
  height: 36px;
  font: 400 14px/34px "Microsoft YaHei", sans-serif;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 2px;
  cursor: pointer;
}
.tabs span.on { background: var(--blue); color: #fff; }

@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 200px); }
}
