/* =========================================================
   创鸿网站 内页公用样式 inner.css
   - 内页 Banner（页面标题区）
   - 面包屑、内容容器
   - 通用卡片、表格、按钮
   ========================================================= */

/* ---------- 1. 内页 Banner ---------- */
.ch-page-banner {
  width: 100%;
  padding-top:31.25%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
}
.ch-page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 100%);
}
.ch-page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  text-align:center;
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
}
.ch-page-banner h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 2px;
}
.ch-page-banner .en {
  font-size: 18px;
  opacity: 0.85;
  font-weight: 400;
  letter-spacing: 1px;
}

/* ---------- 2. 面包屑 ---------- */
.ch-breadcrumb {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-bg-light2);
  padding: 14px 0;
  font-size: 13px;
  color: var(--color-text-sub);
}
.ch-breadcrumb-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.ch-breadcrumb a { color: var(--color-text-sub); }
.ch-breadcrumb a:hover { color: var(--color-primary); }
.ch-breadcrumb .sep { margin: 0 8px; color: var(--color-divider); }
.ch-breadcrumb .current { color: var(--color-primary); }

/* ---------- 3. 内页主体 ---------- */
.ch-page-body {
  padding: 60px 0;
}
.ch-page-body .ch-container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* 段标题 */
.ch-page-title {
  text-align: center;
  margin: 0 0 36px;
}
.ch-page-title .zh {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-main);
}
.ch-page-title .en {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-top: 4px;
}
.ch-page-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--color-primary);
  margin: 16px auto 0;
}

/* ---------- 4. 公司简介 ---------- */

.ch-about-intro{
  max-width:1080px;
  margin:0 auto;
  text-align:center;
}
.ch-about-intro p {
  font-size: 18px;
  line-height: 2;
  color: var(--color-text-sub);
  margin: 0 0 18px;
  color:#333;
}
.ch-about-img{
  margin-top:60px;
  text-align:center;
  padding-bottom:80px;
}
.ch-about-img img {
  max-width:100%;
}
.ch-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 0;
}
.ch-about-stat {
  text-align: center;
  padding: 28px 16px;
  transition: var(--transition-base);
}
.ch-about-stat:hover {
  background: #fff;
  transform: translateY(-4px);
}
.ch-about-stat .num {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  line-height: 1;
}
.ch-about-stat .unit {
  font-size: 16px;
  color: #333;
  margin-left: 4px;
}
.ch-about-stat .label {
  font-size: 20px;
  color: #333;
  font-weight:400;
}
.ch-about-stat .bor{
  position:relative;
  height:1px;
  background-color:#188644;
  margin:15px 0;
}
.ch-about-stat .bor::after{
  content:'';
  position:absolute;
  width:42px;
  height:4px;
  background-color:#188644;
  left:50%;
  top: 50%;
  transform:translate(-50%,-50%);
}

/* ---------- 5. 产品展示（列表页） ---------- */
.ch-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ch-products-grid .card {
  display: block;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: var(--transition-base);
}
.ch-products-grid .card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.ch-products-grid .card .img {
  width: 100%;
  padding-top:100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ch-products-grid .card .info {
  padding: 18px 20px;
  text-align: center;
}
.ch-products-grid .card .info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0 0 4px;
}

/* ---------- 6. 产品详情 ---------- */
.ch-product-hero {
  margin-bottom: 50px;
}
.ch-product-hero .img{
  text-align:center;
}
.ch-product-hero .img img{
  max-width:445px;
}

.ch-product-hero .info{
  margin-top:50px;
}
.ch-product-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--color-primary);
}
.ch-product-hero h1::after {
  content: "";
  display: block;
  height: 1px;
  background:#e8e8e8;
  margin-top: 14px;
}
.ch-product-hero .desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 18px 0 0;
}

.ch-product-section { margin-bottom: 36px; }
.ch-product-section .hed{
  display:flex;
  align-items:center;
  padding-bottom: 10px;
  border-bottom: 1px solid #E8E8E8;
  margin: 0 0 14px;
}
.ch-product-section .hed h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-block;
}
.ch-product-section .hed .icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  vertical-align: -5px;
  margin-right: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.ch-product-section p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0;
}
.ch-product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ch-product-table th,
.ch-product-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-bg-light2);
  text-align: left;
}
.ch-product-table th {
  background: var(--color-bg-light);
  font-weight: 700;
  color: var(--color-text-main);
}
.ch-product-table tr:nth-child(even) td { background: var(--color-bg-light); }

/* ---------- 7. 公司荣誉 ---------- */
.ch-honor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.ch-honor-item {
  text-align: center;
  background: var(--color-bg-light);
  border-radius: 6px;
  padding: 24px 16px;
  transition: var(--transition-base);
}
.ch-honor-item:hover {
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.ch-honor-item img {
  width: 100%;
  max-width: 240px;
  height: 180px;
  margin: 0 auto 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--color-bg-light2);
  padding: 8px;
}
.ch-honor-item p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-main);
  font-weight: 700;
}

.ch-iso {
  margin-top: 70px;
  background: #F2F4F2;
  padding: 80px 0 700px;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center bottom;
}
.ch-iso-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  text-align:center;
}
.ch-iso h3 {
  font-size: 30px;
  margin: 0 0 8px;
  color: var(--color-text-main);
}
.ch-iso .en { 
  font-size: 20px; 
  color: var(--color-text-main); 
  margin-bottom: 40px; 
}
.ch-iso p {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-sub);
  margin: 0 0 5px;
}

/* ---------- 8. 厂房展示 ---------- */
.ch-factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.ch-factory-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding-top:61.3%;
}
.ch-factory-grid + .ch-factory-grid{
  margin-top:7px;
}
.ch-factory-item.is-tall { grid-row: span 2; height: auto; min-height: 500px; }
.ch-factory-item .img {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.5s ease;
}
.ch-factory-item:hover .img { transform: scale(1.08); }
.ch-factory-item .mask {
  position: absolute;
  inset: 0;
  background:rgba(23,134,69,0.4);
  display: flex;
  align-items: center;
  justify-content:center;
  padding: 20px;
  opacity:0;
}
.ch-factory-item .mask span {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.ch-factory-item:hover .mask {
  opacity:1;
}
.ch-factory-item .mask,
.ch-factory-item:hover .mask {
  transition:all 0.5s;
}


.ch-factory-grid.mod1{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-auto-rows: auto;
  gap: 7px;
}

.ch-factory-grid.mod1 .left-col{
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
}
.ch-factory-grid.mod1 .right-col{
  grid-column: 2;
  grid-row: 1 / span 2;
}
.ch-factory-grid.mod1 .right-col .ch-factory-item{
  height:100%;
  padding-top:0;
}

/* ---------- 9. 视频展示 ---------- */
.ch-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.ch-video-item {
  background: #fff;
  border-radius:3px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
}
.ch-video-item:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}
.ch-video-cover {
  position: relative;
  width: 100%;
  height: 180px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #222;
}
.ch-video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease;
}
.ch-video-item:hover .ch-video-cover::after { background: rgba(0, 0, 0, 0.4); }
.ch-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}
.ch-video-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.ch-video-item:hover .ch-video-play {
  background: var(--color-primary);
  transform: scale(1.08);
}
.ch-video-item:hover .ch-video-play::before { border-left-color: #fff; }
.ch-video-info {
  padding: 14px 16px;
  font-size: 16px;
  color: var(--color-text-main);
  text-align: center;
  font-weight:bold;
}

/* ---------- 10. 技术支持 ---------- */
.ch-tech-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}
.ch-tech-row:last-child { margin-bottom: 0; }
.ch-tech-row.is-reverse { direction: rtl; }
.ch-tech-row.is-reverse > * { direction: ltr; }
.ch-tech-row img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
}
.ch-tech-row h3 {
  font-size: 26px;
  color: #333;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 14px;
}
.ch-tech-row p {
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin: 0;
  text-align: justify;
}

.ch-tech-cta {
  margin-top: 60px;
  background: var(--color-bg-light);
  padding: 50px;
  border-radius: 6px;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
}
.ch-tech-cta p {
  font-size: 16px;
  color:white;
  line-height: 1.8;
  margin: 0 0 24px;
}
.ch-btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff !important;
  padding: 12px 36px;
  font-size: 15px;
  border-radius: 80px;
  font-weight: 700;
  transition: var(--transition-base);
}
.ch-btn-primary:hover {
  background: #0e6d36;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ---------- 11. 联系我们 ---------- */

/* 11.1 公司信息 + 地图：两列等高 */
.ch-contact-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 50px;
}
.ch-contact-card {
  background: var(--color-primary);
  color: #fff;
  padding: 50px 56px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ch-contact-card::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.ch-contact-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 28px;
  color: #fff;
  position: relative;
}
.ch-contact-card .item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.8;
  position: relative;
}
.ch-contact-card .item:last-child { margin-bottom: 0; }
.ch-contact-card .item .icon {
  margin-right: 10px;
}
.ch-contact-card .item .text {
  flex: 1;
  color: rgba(255, 255, 255, 0.95);
}
.ch-contact-card .item .label {
  display: block;
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 2px;
  text-align:left;
  padding:0;
}
.ch-contact-card .item .value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.ch-contact-card .item .value-multi {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.ch-contact-map-wrap {
  overflow: hidden;
  background: #ECF1F3;
  min-height: 340px;
  position: relative;
}
.ch-contact-map-wrap img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: contain;
  display: block;
}

/* 11.2 留言表单 */
.ch-contact-form {
  background: var(--color-bg-light);
  padding: 50px 60px;
  border-radius: 6px;
}
.ch-contact-form h3 {
  font-size: 26px;
  font-weight: 700;
  text-align: left;
  margin: 0 0 32px;
  color: var(--color-text-main);
  position: relative;
  padding-bottom: 16px;
}
.ch-contact-form .inpt-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.ch-contact-form .inpt-item input,
.ch-contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 18px 22px;
  font-size: 14px;
  background: #f0f0f0;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  color: var(--color-text-main);
}
.ch-contact-form .inpt-item input::placeholder,
.ch-contact-form textarea::placeholder {
  color: #999;
}
.ch-contact-form .inpt-item input:focus,
.ch-contact-form textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
}
.ch-contact-form textarea {
  min-height: 160px;
  resize: vertical;
  font-family: inherit;
}
.ch-contact-form .actions { text-align: center; margin-top: 32px; }
.ch-contact-form .actions input {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 50px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 80px;
  border: 0;
  cursor: pointer;
  transition: var(--transition-base);
  min-width: 130px;
}
.ch-contact-form .actions input:hover {
  background: #0e6d36;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 134, 69, 0.3);
}

/* ---------- 12. 响应式 ---------- */

/* Pad */
@media (max-width: 1199px) {
  .ch-page-banner h1 { font-size: 32px; }
  .ch-page-banner .en { font-size: 16px; }
  .ch-page-body { padding: 50px 0; }
  .ch-page-title .zh { font-size: 24px; }

  .ch-about-intro { grid-template-columns: 1fr; }
  .ch-about-stats { grid-template-columns: repeat(4, 1fr); }
  .ch-about-stat .num { font-size: 32px; }

  .ch-products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .ch-product-hero { grid-template-columns: 1fr; gap: 30px; }
  .ch-product-hero h1 { font-size: 26px; }

  .ch-honor-grid { grid-template-columns: repeat(3, 1fr); }
  .ch-iso-inner { grid-template-columns: 1fr; }

  .ch-factory-item.is-tall { grid-row: span 1; min-height: 240px; height: 240px; }

  .ch-video-grid { grid-template-columns: repeat(3, 1fr); }
  .ch-video-cover { height: 160px; }

  .ch-tech-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .ch-tech-row img { height: 260px; }
  .ch-tech-row h3 { font-size: 22px; }
  .ch-tech-row.is-reverse { direction: ltr; }

  .ch-contact-2col { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .ch-contact-card { padding: 36px 32px; min-height: 0; }
  .ch-contact-card h3 { font-size: 22px; margin-bottom: 22px; }
  .ch-contact-map-wrap { min-height: 280px; }
  .ch-contact-map-wrap img { min-height: 280px; }
  .ch-contact-form { padding: 36px 30px; }
  .ch-contact-form h3 { font-size: 22px; margin-bottom: 24px; }
}

/* iPhone */
@media (max-width: 767px) {
  .ch-page-banner h1 { font-size: 24px; margin-bottom: 4px; }
  .ch-page-banner .en { font-size: 13px; }

  .ch-breadcrumb { font-size: 12px; padding: 10px 0; }
  .ch-breadcrumb-inner { padding: 0 14px; }
  .ch-breadcrumb .sep { margin: 0 5px; }

  .ch-page-body { padding: 32px 0; }
  .ch-page-body .ch-container { padding: 0 14px; }
  .ch-page-title { margin-bottom: 24px; }
  .ch-page-title .zh { font-size: 20px; }
  .ch-page-title .en { font-size: 12px; }

  /* 公司简介 */
  .ch-about-intro p { font-size: 14px; }
  .ch-about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
  .ch-about-stat { padding: 20px 10px; }
  .ch-about-stat .num { font-size: 26px; }
  .ch-about-stat .label { font-size: 13px; margin-top: 6px; }

  /* 产品列表 */
  .ch-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ch-products-grid .card .info { padding: 12px; }
  .ch-products-grid .card .info h3 { font-size: 15px; }

  /* 产品详情 */
  .ch-product-hero h1 { font-size: 22px; }
  .ch-product-section h3 { font-size: 16px; }

  /* 荣誉 */
  .ch-honor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ch-honor-item { padding: 16px 10px; }
  .ch-honor-item img { height: 140px; max-width: none; }
  .ch-honor-item p { font-size: 13px; }
  .ch-iso { padding: 50px 0 200px; margin-top: 40px; background-size:100% auto;}
  .ch-iso-inner { gap: 20px; padding: 0 14px; }
  .ch-iso h3 { font-size: 24px; }
  .ch-iso .en{ font-size: 18px; }

  /* 厂房 */
  .ch-factory-item.is-tall { min-height: 160px; height: 160px; }
  .ch-factory-item .mask { padding: 12px; }
  .ch-factory-item .mask span { font-size: 13px; }

  /* 视频 */
  .ch-video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ch-video-cover { height: 130px; }
  .ch-video-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .ch-video-play::before { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
  .ch-video-info { padding: 10px; font-size: 13px; }

  /* 技术支持 */
  .ch-tech-row img { height: 200px; }
  .ch-tech-row h3 { font-size: 20px; }
  .ch-tech-cta { padding: 32px 16px; margin-top: 40px; }
  .ch-tech-cta p { font-size: 14px; }

  /* 联系 */
  .ch-contact-2col { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .ch-contact-card { padding: 28px 22px; min-height: 0; }
  .ch-contact-card h3 { font-size: 19px; margin-bottom: 18px; }
  .ch-contact-card .item { margin-bottom: 14px; font-size: 13px; }
  .ch-contact-card .item .icon { flex-basis: 20px; width: 20px; height: 20px; margin-right: 10px; }
  .ch-contact-card .item .label { font-size: 12px; }
  .ch-contact-card .item .value { font-size: 14px; }
  .ch-contact-card .item .value-multi { font-size: 13px; line-height: 1.75; }
  .ch-contact-map-wrap { min-height: 200px; }
  .ch-contact-map-wrap img { min-height: 200px; }
  .ch-contact-form { padding: 24px 18px; }
  .ch-contact-form .inpt-item { grid-template-columns: 1fr; gap: 12px; }
  .ch-contact-form h3 { font-size: 19px; margin-bottom: 20px; padding-bottom: 12px; }
  .ch-contact-form .inpt-item input,
  .ch-contact-form textarea { padding: 14px 16px; }
  .ch-contact-form textarea { min-height: 120px; }
}


@media (max-width: 480px) {
  /* 厂房 */
  .ch-factory-grid { grid-template-columns: 1fr;}
}
