/* 内页通用：产品 / 新闻 / 荣誉 / 风貌 / 联系 */
.ky-inner-page { padding-bottom: 40px; }
.ky-inner-list {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 15px;
  overflow: hidden;
}
.ky-inner-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ky-inner-list .ky-pro-item,
.ky-inner-list .ky-honor-item,
.ky-inner-list .ky-factory-item {
  float: left;
  width: 23%;
  margin: 0 1% 24px;
  background: #fff;
  border: 1px solid #eee;
  transition: box-shadow .25s;
}
.ky-inner-list .ky-pro-item:hover,
.ky-inner-list .ky-honor-item:hover,
.ky-inner-list .ky-factory-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.ky-inner-list .ky-pro-item a,
.ky-inner-list .ky-honor-item a,
.ky-inner-list .ky-factory-item a {
  display: block;
  color: #333;
  text-decoration: none;
}
.ky-inner-list .pic {
  height: 200px;
  overflow: hidden;
  background: #f7f7f7;
}
.ky-inner-list .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ky-inner-list .tit {
  padding: 14px 12px;
  font-size: 16px;
  text-align: center;
  line-height: 1.4;
}
.ky-type-nav {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 15px;
  text-align: center;
}
.ky-type-nav a {
  display: inline-block;
  margin: 0 8px 10px;
  padding: 8px 18px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  font-size: 15px;
}
.ky-type-nav a.active,
.ky-type-nav a:hover {
  background: #1a6b4a;
  border-color: #1a6b4a;
  color: #fff;
}
.ky-news-list {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 15px;
}
.ky-news-list li {
  list-style: none;
  border-bottom: 1px solid #eee;
}
.ky-news-list a {
  display: block;
  padding: 18px 0;
  color: #333;
  text-decoration: none;
  overflow: hidden;
}
.ky-news-list .ndate {
  float: left;
  width: 90px;
  text-align: center;
  color: #1a6b4a;
}
.ky-news-list .nday { font-size: 28px; font-weight: 700; line-height: 1; }
.ky-news-list .nym { font-size: 13px; margin-top: 4px; }
.ky-news-list .ntxt { margin-left: 110px; }
.ky-news-list .ntitle { font-size: 18px; margin-bottom: 6px; }
.ky-news-list .ndes { font-size: 14px; color: #888; line-height: 1.6; }
.ky-page { text-align: center; padding: 30px 0; }
.ky-detail-wrap {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 15px;
}
.ky-detail-top { overflow: hidden; margin-bottom: 30px; }
.ky-detail-pic {
  float: left;
  width: 42%;
  background: #f7f7f7;
}
.ky-detail-pic img { width: 100%; display: block; }
.ky-detail-info { margin-left: 46%; }
.ky-detail-info h1 { font-size: 26px; margin: 0 0 16px; }
.ky-detail-info .gaisu { color: #666; line-height: 1.8; margin-bottom: 20px; }
.ky-detail-info .btn-contact {
  display: inline-block;
  padding: 10px 28px;
  background: #1a6b4a;
  color: #fff;
  text-decoration: none;
}
.ky-detail-body { line-height: 1.9; color: #444; }
.ky-detail-body h3 { font-size: 18px; margin: 24px 0 12px; color: #1a6b4a; }
.ky-detail-nav {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  overflow: hidden;
  font-size: 15px;
}
.ky-detail-nav .prev { float: left; }
.ky-detail-nav .next { float: right; }
.ky-detail-nav a { color: #1a6b4a; text-decoration: none; }
/* ── 联系我们：三卡片（参考华帛，橙色→蓝色） ── */
.ky-about-page .contact-page {
  padding-bottom: 80px;
  background: #fff;
}

.ky-about-page .contact-page .index_jieshao {
  padding: 20px 0 10px;
}

.ky-con {
  display: flex;
  flex-wrap: wrap;
  margin: 10px -1% 0;
}

.ky-con-card {
  width: 31.33%;
  margin: 0 1% 20px;
  padding: 36px 28px 32px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  text-align: left;
}

.ky-con-icon {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.ky-con-card h3 {
  margin: 26px 0 8px;
  font-size: 22px;
  font-weight: 400;
  color: #0a70b8;
}

.ky-con-card h3 em {
  margin-left: 8px;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  color: #0a70b8;
  letter-spacing: 0;
}

.ky-con-text,
.ky-con-text p {
  margin: 0;
  color: #6a6a6a;
  font-size: 16px;
  line-height: 2;
}

.ky-con-text a {
  color: #0a70b8;
  text-decoration: none;
}

.ky-con-text a:hover {
  text-decoration: underline;
}

/* 与上方三卡片同宽：跟随 .ky-con 的 -1% 边距 */
.ky-about-page .contact-page .ky-baidu-map-wrap,
.ky-about-page .contact-page .contact-map {
  display: block !important;
  float: none !important;
  clear: both !important;
  position: relative !important;
  width: calc(100% + 2%) !important;
  max-width: none !important;
  height: 500px !important;
  margin: 10px -1% 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #f5f5f5;
  border-radius: 4px;
}

/* iframe 加高后裁掉底部版权条（跨域无法直接改百度页样式） */
.ky-about-page .contact-page .ky-baidu-map-wrap iframe,
.ky-about-page .contact-page .contact-map iframe,
.ky-about-page .contact-page #contact-map-frame {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  height: calc(100% + 52px) !important;
  min-height: 552px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 992px) {
  .ky-con-card {
    width: 48%;
    margin: 0 1% 20px;
  }
  .ky-about-page .contact-page .ky-baidu-map-wrap,
  .ky-about-page .contact-page .contact-map {
    height: 420px !important;
  }
  .ky-about-page .contact-page .ky-baidu-map-wrap iframe,
  .ky-about-page .contact-page .contact-map iframe,
  .ky-about-page .contact-page #contact-map-frame {
    height: calc(100% + 52px) !important;
    min-height: 472px !important;
  }
}

@media screen and (max-width: 768px) {
  .ky-con {
    margin: 10px 0 0;
  }
  .ky-con-card {
    width: 100%;
    margin: 0 0 20px;
  }
  .ky-about-page .contact-page .ky-baidu-map-wrap,
  .ky-about-page .contact-page .contact-map {
    width: 100% !important;
    margin: 10px 0 0 !important;
    height: 320px !important;
  }
  .ky-about-page .contact-page .ky-baidu-map-wrap iframe,
  .ky-about-page .contact-page .contact-map iframe,
  .ky-about-page .contact-page #contact-map-frame {
    height: calc(100% + 52px) !important;
    min-height: 372px !important;
  }
}

.ky-contact-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 15px;
  overflow: hidden;
}
.ky-contact-info {
  float: left;
  width: 42%;
  line-height: 2;
  font-size: 16px;
}
.ky-contact-info h3 { font-size: 22px; margin-bottom: 16px; }
.ky-contact-form {
  float: right;
  width: 52%;
}
.ky-contact-form input,
.ky-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.ky-contact-form textarea { height: 120px; resize: vertical; }
.ky-contact-form .verify-row { overflow: hidden; }
.ky-contact-form .verify-row input {
  width: 140px;
  float: left;
  margin-right: 10px;
}
.ky-contact-form .verify-row img {
  height: 40px;
  float: left;
  cursor: pointer;
}
.ky-contact-form .btn-submit {
  width: auto;
  min-width: 140px;
  background: #0a70b8;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 12px 28px;
}
.ky-ok-box {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  padding: 0 20px;
}
/* 公司风貌：一行4个，滑过图片放大（参考业达） */
.ky-factory-list {
  max-width: 100%;
  margin: 20px auto 40px;
  padding: 0;
}

.ky-factory-list ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5%;
  list-style: none;
  padding: 0;
}

.ky-factory-list .ky-factory-item {
  width: 24%;
  margin: 0 0.5% 24px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e1e1e1;
  overflow: hidden;
  transition: box-shadow 0.3s;
  position: relative;
}

.ky-factory-list .ky-factory-item::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: #0a70b8;
  transition: width 0.35s ease;
}

.ky-factory-list .ky-factory-item:hover {
  box-shadow: 0 8px 20px rgba(10, 112, 184, 0.12);
}

.ky-factory-list .ky-factory-item:hover::after {
  width: 100%;
}

.ky-factory-list .ky-factory-item a {
  display: block;
  color: #333;
  text-decoration: none;
}

.ky-factory-list .pic {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

.ky-factory-list .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ky-factory-list .ky-factory-item:hover .pic img {
  transform: scale(1.1);
}

.ky-factory-list .tit {
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.ky-factory-list .ky-factory-item:hover .tit {
  color: #0a70b8;
}

.ky-factory-list .ky-page {
  width: 100%;
  clear: both;
  margin: 10px 0 30px;
  text-align: center;
}

.ky-factory-list .ky-page a,
.ky-factory-list .ky-page span {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  color: #666;
  text-decoration: none;
}

.ky-factory-list .ky-page a:hover,
.ky-factory-list .ky-page .current,
.ky-factory-list .ky-page .active {
  background: linear-gradient(68deg, #0a70b8, #5eb3e8);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 992px) {
  .ky-factory-list .ky-factory-item { width: 48%; margin: 0 1% 20px; }
  .ky-factory-list .pic { height: 180px; }
}

@media (max-width: 640px) {
  .ky-factory-list .ky-factory-item { width: 100%; margin: 0 0 16px; }
  .ky-factory-list .pic { height: 200px; }
}

/* 资质认证：一行4个，横竖图完整显示 */
.ky-honor-list {
  max-width: 100%;
  margin: 20px auto 40px;
  padding: 0;
}

.ky-honor-list ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.ky-honor-list .ky-honor-item {
  float: none;
  width: 25%;
  margin: 0 0 28px;
  padding: 0 10px;
  box-sizing: border-box;
  border: none;
  background: transparent;
  box-shadow: none;
}

.ky-honor-list .ky-honor-item:hover {
  box-shadow: none;
}

.ky-honor-list .ky-honor-item a {
  display: block;
}

.ky-honor-list .pic {
  height: 300px;
  padding: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.ky-honor-list .pic img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.ky-honor-list .tit {
  padding: 12px 6px 0;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  color: #333;
}

/* 资质认证灯箱 */
body.ky-lb-open {
  overflow: hidden;
}

.ky-lb {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
}

.ky-lb-mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
}

.ky-lb-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86%;
  max-width: 1100px;
  text-align: center;
}

.ky-lb-pic {
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ky-lb-pic img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.ky-lb-tit {
  margin-top: 14px;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.ky-lb-num {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.ky-lb-close,
.ky-lb-prev,
.ky-lb-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}

.ky-lb-close:hover,
.ky-lb-prev:hover,
.ky-lb-next:hover {
  background: #0a70b8;
}

.ky-lb-close {
  right: -8px;
  top: -48px;
  width: 40px;
  height: 40px;
  line-height: 36px;
  font-size: 32px;
  border-radius: 50%;
}

.ky-lb-prev,
.ky-lb-next {
  top: 50%;
  margin-top: -28px;
  width: 48px;
  height: 56px;
  line-height: 52px;
  font-size: 42px;
  border-radius: 4px;
}

.ky-lb-prev {
  left: -60px;
}

.ky-lb-next {
  right: -60px;
}

@media (max-width: 900px) {
  .ky-lb-prev {
    left: 0;
  }
  .ky-lb-next {
    right: 0;
  }
  .ky-lb-close {
    right: 0;
    top: -44px;
  }
  .ky-lb-wrap {
    width: 94%;
  }
}

.ky-honor-list .ky-page {
  width: 100%;
  clear: both;
  margin: 10px 0 30px;
  text-align: center;
}

.ky-honor-list .ky-page a,
.ky-honor-list .ky-page span {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  color: #666;
  text-decoration: none;
}

.ky-honor-list .ky-page a:hover,
.ky-honor-list .ky-page .current,
.ky-honor-list .ky-page .active {
  background: linear-gradient(68deg, #0a70b8, #5eb3e8);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 992px) {
  .ky-honor-list .ky-honor-item { width: 50%; }
  .ky-honor-list .pic { height: 280px; }
}

@media (max-width: 768px) {
  .ky-inner-list .ky-pro-item,
  .ky-inner-list .ky-factory-item { width: 48%; }
  .ky-honor-list .ky-honor-item { width: 50%; }
  .ky-honor-list .pic { height: 220px; padding: 10px; }
  .ky-detail-pic { float: none; width: 100%; }
  .ky-detail-info { margin-left: 0; margin-top: 16px; }
  .ky-contact-info,
  .ky-contact-form { float: none; width: 100%; }
  .ky-contact-form { margin-top: 24px; }
}

@media (max-width: 480px) {
  .ky-honor-list .ky-honor-item { width: 100%; }
  .ky-honor-list .pic { height: 260px; }
}
