/* ========== 全局基础样式 ========== */
*{margin:0;padding:0;box-sizing:border-box;font-family:"Microsoft YaHei",sans-serif;scroll-behavior:smooth;}
body{color:#333;background:#fff;line-height:1.6;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.container{width:100%;max-width:1200px;margin:0 auto;}

/* ========== 通用组件 ========== */
/* 通用标题 */
.section-title{
  text-align:center;
  font-size:32px;
  font-weight:bold;
  color:#D93025;
  margin:60px 0;
  position:relative;
  opacity:0;
  transform:translateY(30px);
  transition:all 0.8s;
}
.section-title::after{
  content:"";
  width:70px;
  height:3px;
  background:#D93025;
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
}
.section-title.active{opacity:1;transform:translateY(0);}

/* 按钮通用 */
.btn{
  padding:12px 24px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#D93025;
  border:1px solid #D93025;
  border-radius:6px;
  white-space:nowrap;
  font-size:16px;
  font-weight:500;
  transition:all 0.25s ease;
}
.btn:hover,.btn.active{
  background:#D93025;
  color:#fff;
  box-shadow:0 3px 8px rgba(217,48,37,0.15);
}

/* 动画显示 */
.fade-in{
  opacity:0;
  transform:translateY(30px);
  transition:all 0.8s;
}
.fade-in.active{
  opacity:1;
  transform:translateY(0);
}

/* ========== 头部导航 ========== */
.header{
  border-bottom:1px solid #eee;
  padding:15px 0;
  position:sticky;
  top:0;
  background:#fff;
  z-index:9999;
  transition:all 0.3s;
}
.header.fixed{
  padding:8px 0;
  box-shadow:0 2px 10px rgba(0,0,0,0.1);
}
.header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.logo{display:flex;align-items:center;}
.logo img{height:65px;margin-right:10px;}
.menu-toggle{display:none;font-size:24px;cursor:pointer;}

/* 一级导航 */
.nav ul{display:flex;list-style:none;margin:0;padding:0;}
.nav > ul > li{margin-left:50px;font-size:18px;position:relative;}
.nav > ul > li > a{
  padding:5px 0;
  display:inline-block;
  position:relative;

}
.nav > ul > li > a::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:2px;
  background:#D93025;
  transition:width 0.3s;
}
.nav > ul > li > a:hover::after,
.nav > ul > li > a.active::after{width:100%;}
.nav > ul > li > a:hover,
.nav > ul > li > a.active{color:#D93025;}

/* 下拉菜单 */
.nav .submenu{
  position:absolute;
  top:100%;
  left:50%;
  min-width:160px;
  background:#fff;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
  opacity:0;
  visibility:hidden;
  transition:all 0.3s ease;
  z-index:999;
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  transform:translateX(-50%);
}
.nav > ul > li:hover .submenu{
  opacity:1;
  visibility:visible;
}
.nav .submenu li{
  margin:0;
  padding:0;
  width:100%;
  text-align:center;
}
.nav .submenu li a{
  display:block;
  position:relative;
  font-size:16px;
  color:#333;
  line-height:36px;
  padding:10px 14px;
}
.nav .submenu li a::before{
  content:"";
  position:absolute;
  left:0;
  top:15%;
  bottom:15%;
  width:3px;
  background:#D93025;
  border-radius:0 3px 3px 0;
  opacity:0;
  transition:opacity 0.3s ease;
}
.nav .submenu li a:hover{
  background-color:#fff1f1;
  color:#D93025;
}
.nav .submenu li a:hover::before{opacity:1;}

/* 搜索 */
.search-icon{
  font-size:20px;
  color:#333;
  cursor:pointer;
  margin-left:15px;
  transition:0.2s;
}
.search-icon:hover{
  color:#D93025;
  transform:scale(1.1);
}
.search-line-icon{
  display:inline-block;
  width:16px;
  height:16px;
  border:2px solid #333;
  border-radius:50%;
  position:relative;
  transform:rotate(-45deg);
}
.search-line-icon::after{
  content:"";
  position:absolute;
  width:2px;
  height:10px;
  background:#333;
  bottom:-9px;
  left:50%;
  transform:translateX(-50%);
}
.search-icon:hover .search-line-icon{border-color:#D93025;}
.search-icon:hover .search-line-icon::after{background:#D93025;}

/* 搜索弹窗 */
.search-modal{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:99999;
}
.search-modal.show{display:flex;}
.search-box{
  background:#fff;
  width:90%;
  max-width:500px;
  padding:30px;
  border-radius:8px;
  position:relative;
}
.close-search{
  position:absolute;
  right:15px;
  top:15px;
  font-size:20px;
  color:#666;
  cursor:pointer;
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition:all 0.2s;
}
.close-search:hover{
  background:#f5f5f5;
  color:#D93025;
}
.search-box h3{
  margin-bottom:20px;
  color:#D93025;
  text-align:center;
  font-size:22px;
}
.search-group{margin-bottom:15px;}
.search-group label{
  display:block;
  margin-bottom:6px;
  font-size:16px;
}
.search-group select,.search-group input{
  width:100%;
  padding:10px;
  border:1px solid #ddd;
  border-radius:4px;
  transition:0.2s;
  font-size:16px;
}
.search-group select:focus,.search-group input:focus{
  border-color:#D93025;
  outline:none;
}
.search-btn{
  width:100%;
  padding:10px;
  background:#D93025;
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
  transition:0.2s;
  font-size:16px;
}
.search-btn:hover{background:#b8241b;}

  /* ========== Banner轮播 ========== */
    .banner-container{
      position:relative;
      width:100%;
      height:540px;
      overflow:hidden;
      background:#f5f5f5;
    }
    .banner-wrapper{width:100%;height:100%;position:relative;}
    .banner-item{
      position:absolute;
      width:100%;
      height:100%;
      background-size:cover;
      background-position:center;
      opacity:0;
      transition:opacity 1s ease;
    }
    .banner-item.active{opacity:1;}
    .banner-arrow{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      width:45px;
      height:45px;
      background:rgba(0,0,0,0.3);
      color:#fff;
      font-size:28px;
      text-align:center;
      line-height:45px;
      cursor:pointer;
      z-index:999;
      border-radius:50%;
      transition:0.2s;
    }
    .banner-arrow:hover{background:rgba(0,0,0,0.5);}
    .banner-arrow.left{left:20px;}
    .banner-arrow.right{right:20px;}
    .banner-dots{
      position:absolute;
      bottom:15px;
      left:50%;
      transform:translateX(-50%);
      display:flex;
      gap:10px;
      z-index:999;
    }
    .dot{
      width:12px;
      height:12px;
      background:rgba(255,255,255,0.5);
      border-radius:50%;
      cursor:pointer;
      transition:0.2s;
    }
    .dot.active{
      background:#D93025;
      width:25px;
      border-radius:6px;
    }

/* ========== 集团简介 ========== */
.intro{
  display:flex;
  margin:0 auto;
  max-width:1200px;
}
.intro-text{
  flex:0 0 52%;
  font-size:18px;
  line-height:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:20px 25px 40px 0;
  position:relative;
  z-index:2;
  background:#fff;
}
.intro-text::after{
  content:"";
  position:absolute;
  right:0;
  top:0;
  width:120px;
  height:100%;
  background:linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
  z-index:1;
}
.intro-text p{
  margin-bottom:12px;
  text-indent:2em;
  position:relative;
  text-align: justify;
  z-index:2;
}
.intro-image{
  flex:0 0 50%;
  display:flex;
  align-items:center;
}
.intro-image img{
  width:96%;
  height:100%;
  object-fit:cover;
  transition:0.3s;
}
.intro-image img:hover{transform:scale(1.03);}
.intro-buttons{
  display:flex;
  gap:12px;
  margin-top:25px;
  position:relative;
  z-index:2;
}

/* ========== 产业布局 ========== */
.industry{overflow:hidden;}
.industry-slider{position:relative;width:100%;}
.industry-wrap{overflow:hidden;margin:0 auto;}
.industry-cards{
  display:flex;
  gap:20px;
  transition:transform 0.5s ease;
}
.slider-arrow{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(0,0,0,0.25);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:10;
  font-size:16px;
  user-select:none;
  transition:all 0.3s;
}
.slider-arrow:hover{background:rgba(217,48,37,0.8);}
#prevArrow{left:15px;}
#nextArrow{right:15px;}

.industry-card{
  flex:0 0 calc((100% - 40px) / 3);
  overflow:hidden;
  background:#fff;
  transition:all 0.35s ease;
  cursor:pointer;
  border:1px solid rgba(0,0,0,0.08);
}
.industry-card:hover{
  transform:translateY(-6px);
  box-shadow:0 6px 12px rgba(0,0,0,0.08);
  border-color:rgba(217,48,37,0.15);
}
.industry-card > img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
  transition:transform 0.4s ease;
}
.industry-card:hover > img{transform:scale(1.04);}
.industry-overlay{
  padding:20px;
  display:flex;
  align-items:center;
  gap:16px;
  background:#fff;
}
.industry-icon{
  width:40px;
  height:40px;
  border-radius:8px;
  background:#f5f5f5;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:all 0.3s ease;
}
.industry-icon svg{
  width:22px;
  height:22px;
  fill:#666;
  transition:all 0.3s ease;
}
.industry-card:hover .industry-icon{background:#D93025;}
.industry-card:hover .industry-icon svg{fill:#fff;}
.industry-text-wrap{
  flex:1;
  min-width:0;
}
.industry-card h3{
  font-size:18px;
  font-weight:600;
  margin:0 0 4px;
  color:#111;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.industry-card p{
  font-size:16px;
  color:#666;
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ========== 新闻中心 ========== */
.news{margin-bottom:60px;}
.news-content{
  display:flex;
  gap:25px;
  align-items:stretch;
}
.news-image{flex:0 0 56%;position:relative;}
.news-list{
  flex:0 0 42%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.news-img-slide{
  position:relative;
  width:100%;
  height:460px;
  overflow:hidden;
}
.news-img-item{
  position:absolute;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:all 1.1s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform:scale(1.1);
}
.news-img-item.active{
  opacity:1;
  transform:scale(1);
}
.news-img-bottom{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:54px;
  background:rgba(0,0,0,0.75);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 20px;
  z-index:2;
  transform:translateY(100%);
  opacity:0;
  transition:all 0.5s ease 0.2s;
}
.news-img-item.active .news-img-bottom{
  transform:translateY(0);
  opacity:1;
}
.news-img-title{
  color:#fff;
  font-size:16px;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  padding-right:10px;
  flex:1;
}
.news-dots{
  display:flex;
  gap:8px;
  flex-shrink:0;
}
.news-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,0.7);
  cursor:pointer;
  transition:0.2s;
}
.news-dot.active{background:#fff;}
.news-img-item:hover{
  filter:brightness(1.08);
  transform:scale(1.03);
}

/* 新闻列表 */
.news-list {
  width: 100%;
  box-sizing: border-box;
}

.news-item{
  display:flex;
  align-items:center;
  padding:14px 15px;
  margin-bottom:8px;
  background:#f9f9f9;
  border-left:3px solid transparent;
  transition:all 0.2s ease;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.news-item:last-child{margin-bottom:0;}

.news-date{
  text-align:center;
  margin-right:15px;
  flex-shrink: 0;
  width: 80px; /* 给日期固定安全宽度，彻底不挤压 */
}

.news-date .day{
  display:block;
  font-size:32px;
  font-weight:bold;
  color:#999;
  line-height:1;
}
.news-date .ym{
  display:block;
  font-size:14px;
  color:#999;
  margin-top:4px;
}

/* ========== 核心修复：标题容器 ========== */
.news-title{
  flex: 1;
  width: 0; /* 关键！强制收缩，不会撑开 */
  overflow: hidden;
}

.news-title a{
  font-size:16px;
  line-height:1.6;
  font-weight:500;
  color:#333;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.news-title a span{
  display:inline-block;
  white-space:nowrap;
  width: 100%;
}

/* 动画修复，不会撑开 */
.news-item:hover .news-title a span{
  animation:textScroll 8s linear infinite;
}

@keyframes textScroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-100%); }
}

.news-item:hover{
  background:#fdf2f2;
  border-left:3px solid #D93025;
  padding-left:20px;
}

/* ========== 专题轮播 ========== */
.topic-slide{
  position:relative;
  max-width:1200px;
  margin:0 auto 60px;
  height:120px;
  overflow:hidden;
  background:linear-gradient(135deg, #e63946, #c2252c);
  background-image:url(../images/ztbj.jpg);
  background-size:cover;
  background-position:center;
  padding-left:15px;
  padding-right:15px;
}
.topic-banner{
  position:absolute;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity 0.8s ease;
  z-index:1;
  padding:0 24px;
}
.topic-banner.active{
  opacity:1;
  z-index:2;
}
.topic-text{
  color:#ffd700;
  font-size:38px;
  font-weight:bold;
  text-align:center;
  white-space:nowrap;
  letter-spacing:1px;
  width:100%;
}
.topic-more{
  position:absolute;
  top:40px;
  right:24px;
  background:linear-gradient(135deg, #ffd700, #f5c518);
  color:#c2252c;
  padding:6px 14px;
  border-radius:999px;
  font-size:16px;
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:6px;
  z-index:10;
  box-shadow:0 2px 4px rgba(0,0,0,0.1);
  transition:0.2s;
}
.topic-more:hover{transform:scale(1.05);}
.topic-dots{
  position:absolute;
  bottom:10px;
  right:24px;
  display:flex;
  gap:6px;
  z-index:9;
}
.topic-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,0.4);
  cursor:pointer;
}
.topic-dot.active{background:#ffd700;}
@media (min-width: 769px) {
  /* 4个字及以内 → 20px 大间距 */
  .topic-text[data-len="1"],
  .topic-text[data-len="2"],
  .topic-text[data-len="3"],
  .topic-text[data-len="4"] {
    letter-spacing: 26px;
  }
  /* 5 - 10 个字 → 12px 间距 */
  .topic-text[data-len="5"],
  .topic-text[data-len="6"],
  .topic-text[data-len="7"],
  .topic-text[data-len="8"],
  .topic-text[data-len="9"],
  .topic-text[data-len="10"] {
    letter-spacing: 16px;
  }
}
/* ========== 通知公告双栏 ========== */
.double-column{
  display:flex;
  gap:40px;
}
.column{flex:1;}
.column-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
.column-header .title{
  background:#D93025;
  color:#fff;
  padding:8px 16px;
  font-size:20px;
  font-weight:bold;
}
.column-header .more{
  color:#D93025;
  border:1px solid #D93025;
  padding:6px 12px;
  border-radius:4px;
  font-size:16px;
  transition:0.2s;
}
.column-header .more:hover{
  background:#D93025;
  color:#fff;
}
.column-list .news-item{
  padding:14px 16px;
  margin-bottom:8px;
  background:#f9f9f9;
  display:flex;
  align-items:center;
  transition:all 0.25s ease;
  border-left:3px solid transparent;
  overflow:hidden;
}
.column-list .news-item a{
  font-size:15px;
  line-height:1.5;
  font-weight:500;
  flex:1;
  white-space:nowrap;
  overflow:hidden;
  display:inline-block;
  width:0;
  /* 强制关闭Safari自动字号缩放 */
  -webkit-text-size-adjust: 100%;
  /* 统一跨端字体 */
  font-family: "PingFang SC",Microsoft YaHei,sans-serif;
}
.column-list .news-item a span{
  display:inline-block;
  animation:none;
  margin-left:0;
}
.column-list .news-item:hover a span{
  animation:columnTextScroll 12s linear infinite;
}
@keyframes columnTextScroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-100%);}
}
.column-list .news-item > span{
  font-size:16px;
  color:#999;
  white-space:nowrap;
  margin-left:10px;
  flex-shrink:0;
}
.column-list .news-item:hover{
  background:#fdf2f2;
  border-left:3px solid #D93025;
  padding-left:20px;
}

/* ========== 项目标签 ========== */
.project-tabs{
  display:flex;
  width:100%;
  gap:15px;
  margin-bottom:25px;
}
.project-tabs .tab{
  flex:1;
  padding:0;
}
.project-tabs .tab a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:17px 0;
  font-size:17px;
  font-weight:500;
  cursor:pointer;
  transition:all 0.25s ease;
  background:#f8f8f8;
  color:#444;
  width:100%;
}
.project-tabs .tab.active a,
.project-tabs .tab a:hover{
  background:#D93025;
  color:#fff;
  transform:translateY(-1px);
}
.project-tabs .tab .tab-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#e0e0e0;
  transition:all 0.3s ease;
}
.project-tabs .tab .tab-icon svg{
  width:18px;
  height:18px;
  fill:#666;
  transition:all 0.3s ease;
}
.project-tabs .tab.active .tab-icon{background:#fff !important;}
.project-tabs .tab.active .tab-icon svg{fill:#D93025 !important;}
.project-tabs .tab:hover .tab-icon{background:#ddd;}

/* ========== 项目风采 ========== */
.project-wrap{
  margin-bottom:60px;
}
.project-panel{display:none;}

/* 基础建设 */
.project-panel[data-panel="1"].active{
  display:grid;
  grid-template-columns:2fr 1fr;
  grid-template-rows:380px 180px;
  gap:20px;
  height:720px;
}
.project-panel[data-panel="1"] .card1{grid-area:1 / 1 / 2 / 3;}
.project-panel[data-panel="1"] .card2{grid-area:1 / 3/ 1 / 3;align-self:start;height:180px;}
.project-panel[data-panel="1"] .card3{grid-area:1 / 3 / 1 / 3;align-self:end;height:180px;}
.project-panel[data-panel="1"] .card4{grid-area:2 / 1 / 4 / 2;height:340px;}
.project-panel[data-panel="1"] .card5{grid-area:2 / 2 / 3 / 4;height:340px;}

/* 民生服务 */
.project-panel[data-panel="2"].active{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; /* 4列等宽 */
  grid-template-rows: 340px 380px;
  gap:20px;
  height:720px;
}

.project-panel[data-panel="2"] .card1{grid-area:1 / 1 / 2 / 3;}
.project-panel[data-panel="2"] .card2{grid-area:1 / 3 / 2 / 5;}
.project-panel[data-panel="2"] .card3{grid-area:2 / 1 / 3 / 2;align-self: start;height: 180px;}
.project-panel[data-panel="2"] .card4{grid-area:2 / 1 / 3 / 2;align-self: end;height: 180px;}
.project-panel[data-panel="2"] .card5{grid-area:2 / 2 / 3 / 5;}

/* 公共服务 */
.project-panel[data-panel="3"].active{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  grid-template-rows:340px 380px;
  gap:20px;
  height:720px;
}
.project-panel[data-panel="3"] .card1{grid-area:1 / 1 / 2 / 3;}
.project-panel[data-panel="3"] .card2{grid-area:1 / 3 / 2 / 5;}
.project-panel[data-panel="3"] .card3{grid-area:2 / 1 / 3 / 4;}
.project-panel[data-panel="3"] .card4{grid-area:2 / 4 / 3 / 5;align-self:start;height:180px;}
.project-panel[data-panel="3"] .card5{grid-area:2 / 4 / 3 / 5;align-self:end;height:180px;}

.project-card{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 5px 12px rgba(0,0,0,0.05);
}
.project-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}
.project-card:hover img{transform:scale(1.07);}
.project-card .overlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  color:#fff;
  padding:16px;
  font-size:16px;
  font-weight:500;
  text-shadow:0 1px 2px rgba(0,0,0,0.3);
 /*  backdrop-filter:blur(1px);
   background:linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);*/
}

/* ========== 页脚 ========== */
.footer{background:#f5f5f5;padding:40px 0 20px;}
.footer-content{
  display:flex;
  align-items:flex-start;
  gap:20px;
  flex-wrap:nowrap;
  justify-content:space-between;
}
.footer-column{
  min-width:140px;
  flex-shrink:0;
}
.footer-column h4{
  margin-bottom:15px;
  font-size:18px;
  color:#D93025;
  white-space:nowrap;
}
.footer-column ul li{
  margin-bottom:8px;
  font-size:16px;
  white-space:nowrap;
}
.footer-column p{
  margin-bottom:8px;
  font-size:16px;
  line-height:1.8;
  white-space:nowrap;
}
.footer-column ul li a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-radius:6px;
  position:relative;
  transition:all 0.3s ease;
}
.footer-column ul li a::before{
  content:"";
  position:absolute;
  left:0;
  top:15%;
  bottom:15%;
  width:3px;
  background:#D93025;
  border-radius:0 3px 3px 0;
  opacity:0;
  transition:opacity 0.3s ease;
}
.footer-column ul li a:hover{
  background-color:#fff1f1;
  color:#D93025;
  padding:10px 14px;
}
.footer-column ul li a:hover::before{opacity:1;}
.footer-qrcode{
  display:flex;
  flex-direction:column;
  gap:8px;
  width:240px;
  flex-shrink:0;
  margin-left:auto;
}
.qrcode-row{display:flex;gap:8px;width:100%;}
.qrcode-item{flex:1;text-align:center;cursor:pointer;}
.qrcode-item img{width:100%;height:auto;display:block;}
.single-img{width:100%;text-align:center;}
.single-img img{width:100%;height:auto;display:block;}

/* 二维码弹窗 */
.qrcode-modal{
  position:fixed;
  top:50%;
  right:20px;
  transform:translateY(-50%);
  width:100%;
  max-width:380px;
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:0 5px 20px rgba(0,0,0,0.15);
  z-index:9999;
  display:none;
}
.qrcode-modal.show{display:block;}
.close-modal{
  position:absolute;
  right:16px;
  top:16px;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#f5f5f5;
  color:#666;
  font-size:16px;
  cursor:pointer;
  transition:all 0.2s;
}
.close-modal:hover{background:#eee;color:#D93025;}
.qrcode-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
  margin-top:20px;
}
.qrcode-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.qrcode-item span{
  font-size:16px;
  color:#333;
  text-align:center;
}
.footer-bottom{
  text-align:center;
  padding-top:20px;
  border-top:1px solid #ddd;
  margin-top:20px;
  font-size:14px;
}

/* ========== 回到顶部 ========== */
.back-to-top{
  position:fixed;
  bottom:30px;
  right:30px;
  width:40px;
  height:40px;
  background:#FFC107;
  color:#fff;
  text-align:center;
  line-height:40px;
  border-radius:50%;
  opacity:0;
  visibility:hidden;
  transition:all 0.3s;
  z-index:99;
}
.back-to-top.show{
  opacity:1;
  visibility:visible;
}
.back-to-top:hover{
  background:#e5ac00;
  transform:scale(1.1);
}

/* ========== 响应式适配 ========== */
@media(max-width:992px){
  .intro,.news-content,.double-column{flex-direction:column;gap:20px;}
  .news{margin-bottom:30px;}
  .banner-container{height:320px;}
  .industry-card img{height:220px;}
  .news-img-slide{height:340px;}
  .project-panel[data-panel="1"].active,
  .project-panel[data-panel="2"].active,
  .project-panel[data-panel="3"].active{
    grid-template-columns:1fr !important;
    grid-template-rows:auto !important;
    height:auto !important;
  }
  .project-card{
    grid-area:auto !important;
    align-self:auto !important;
    height:240px !important;
    margin-bottom:10px;
  }
  .project-wrap{
  margin-bottom:10px;
}
  .footer-content{display:none;}
}

@media(max-width:768px){
.header{
  position:relative;
  z-index:1000;
}
.header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 15px;
  background:#fff;
}
.logo img{
  height:50px;
}
.menu-toggle{
  display:block; 
  color: #D93025;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  letter-spacing:-2px; /* 让线条紧凑一点 */
}
.search-icon{
  display:none;
}

/* 全屏移动端导航 */
.nav{
    position: fixed !important;
    padding-bottom: 0 !important; 
    top:75px;
    left:0;
    width:100%;
    height: calc(100vh - 70px);
    background:#D93025;
    color:#fff;
    display:none;
    overflow-y:auto;
    z-index:999;
     padding-bottom: 80px !important;
  }
  .nav.show{
    display:block;
  }
.nav ul{
  flex-direction:column;
  padding:0;
  margin:0;
  list-style:none;
  transform: translateX(30%);
  opacity: 0;
  transition: all 0.3s ease;
}
/* 面板打开时，菜单滑到左侧、完全显示 */
.nav.show ul{
  transform: translateX(0);
  opacity: 1;
}

  /* 一级菜单 */
  .nav > ul > li{
  margin:0;
  padding:0;
  border-bottom:1px solid rgba(255,255,255,0.3);
  position:relative;
  list-style:none;
}
.nav > ul > li > a{
  display:block;
  padding:12px 46px 12px 20px;
  color:#fff;
  font-size:16px;
  text-decoration:none;
  font-weight:600;
  text-align: left;
  position: relative;
}
.nav > ul > li > a::after{
  display:none;
}
.nav > ul > li > a.active {
  color: #fff !important;
}
.nav > ul > li > a,
.nav > ul > li.open > a,
.nav > ul > li > a:visited,
.nav > ul > li > a:active,
.nav > ul > li > a:hover {
  color: #ffffff !important;
}
/* 右侧箭头 固定在文字右侧，展开不偏移 */
.nav > ul > li.has-sub::after{
  content:"∨";
  position:absolute;
  right:20px;
  top: 18px;        /* 固定位置，不再居中 */
  font-size:16px;
  color:#fff;
  transform: scale(1.5, 0.5);
  z-index:10;
  line-height:1;
  pointer-events:none;
  font-weight:600;
}
.nav > ul > li.has-sub.open::after{
  transform: rotate(180deg) scale(1.5, 0.5);
  font-weight:600;
}

  /* 子菜单 三列布局*/
.nav .submenu{
  position: static; 
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  box-sizing: border-box;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  list-style: none;
}
.nav .submenu.show{
  max-height: 500px;
  padding: 0px 20px 20px 20px !important;
  position: static;
}
  .nav .submenu li{
    list-style:none;
    padding:0;
    margin:0;
  }
  .nav .submenu li a{
    display:block;
    padding:2px 3px;
    color:#fa9ca4;
    font-size:16px;
    text-decoration:none;
    background:transparent !important;
    border:none !important;
    text-align:left;
  }
  .nav .submenu li a:hover{
    color:#fa9ca4;
  }
.nav.show .search-modal {
  display: flex !important;
}
/* 搜索弹窗 底部样式 匹配截图 */
.search-modal {
  display: none !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: transparent !important;
  padding: 0 20px 20px 20px !important;
  box-sizing: border-box !important;
  z-index: 998 !important;
  pointer-events: none !important;
}
body.nav-open .search-modal {
  display: flex !important;
}
.search-box{
  width:100%;
  pointer-events: all !important;
  background: transparent !important;
  bottom: 0 !important;
  position: fixed;
  left: 0;
  padding: 0 20px 20px 20px;
}
.close-search{
  display: none;
}
.search-box h3,
.search-group label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.search-row{
  display:flex;
  gap:15px;
  margin-bottom:15px;
}
.search-select{
  flex:1;
  padding:12px 15px;
  font-size:18px;
  border:none;
  border-radius:4px;
}
.search-input-row{
  display:flex;
}

.search-icon-btn{
  background:#fff;
  padding:0 15px;
  display:flex;
  align-items:center;
  border-radius:0 4px 4px 0;
  font-size:20px;
}
.search-group {
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  gap: 8px; /* 元素之间的间距，可自行调整 */
  margin-bottom: 15px;
  width: 100%;
  flex-wrap: nowrap !important;
  box-sizing: border-box;
}
.search-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: 0.2s;
    font-size: 16px;
}
.search-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: 0.2s;
    font-size: 16px;
}
.search-btn{width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #D93025;
    transition: 0.2s;
    font-size: 16px;}

    /* 按钮 */
.btn{
  padding:12px 18px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#D93025;
  border:1px solid #D93025;
  border-radius:6px;
  white-space:nowrap;
  font-size:16px;
  font-weight:500;
  transition:all 0.25s ease;
   flex: 1;
}
.btn:hover,.btn.active{
  background:#D93025;
  color:#fff;
  box-shadow:0 3px 8px rgba(217,48,37,0.15);
}

  /* 专题手机 */
  .topic-slide{
    background:linear-gradient(135deg, #e63946, #c2252c);
    background-image:url(../images/ztbj.jpg);
    width:calc(100% - 24px);
    margin:0 auto 30px;
  }
  .topic-banner{justify-content:flex-start;padding-left:20px;}
  .topic-text{
    font-size:20px;
    text-align:center;
    letter-spacing:normal !important;
  }
  .topic-dots{right:20px;left:auto;}
  .topic-more{display:none;}

  /* 项目标签手机 */
  .project-tabs{
    gap:8px;
   /*  padding-left:8px;
    padding-right:8px;*/
  }
  .project-tabs .tab a{
    flex-direction:column;
    gap:6px;
    padding:12px 5px;
    font-size:14px;
  }
  .project-tabs .tab .tab-icon{
    width:32px;
    height:32px;
  }
  .project-tabs .tab .tab-icon svg{
    width:16px;
    height:16px;
  }
  .project-wrap{
  margin-bottom:10px;}
.news-img-slide{height:220px;}
}

@media(max-width:769px){
  .topic-text[data-len="1"],.topic-text[data-len="2"],.topic-text[data-len="3"],.topic-text[data-len="4"]{letter-spacing:26px;}
  .topic-text[data-len="5"],.topic-text[data-len="6"],.topic-text[data-len="7"],.topic-text[data-len="8"],.topic-text[data-len="9"],.topic-text[data-len="10"]{letter-spacing:16px;}
  .project-wrap{
  margin-bottom:0px;}
}

@media(max-width:576px){
  .section-title{font-size:24px;}
  .banner-container{height:180px;}
  .footer-content{display:none;}
  .project-wrap{
  margin-bottom:0px;}
}

/* 简介手机 */
@media (max-width:768px){
  .intro{flex-direction:column;padding:0;}
  .intro-text{flex:auto;padding:0px;}
  .intro-image{flex:auto;padding:0;width:100%;}
  .intro-image img{
    width:100%;
    margin:0 auto;
    height:260px;
    object-fit:cover;
  }
  .intro-buttons{
    justify-content: space-between;
        width: 100%;
        margin: 0 auto;
  }

  .section-title{margin: 20px;}
  .project-wrap{
  margin-bottom:10px;}
}

/* 产业布局响应 */
@media (max-width:992px){.industry-card{flex:0 0 calc(50% - 10px);}}
@media (max-width:768px){
  .industry-card{flex:0 0 100%;}
  .industry-overlay{padding:16px;}
  .slider-arrow{width:30px;height:30px;}
}
/* 全局统一左右留白 移动端生效 PC端保留原有间距 */
@media (max-width: 1440px) {
  .container, .wrap, .main-box {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}
/* 平板加大留白 */
@media (max-width: 768px) {
  .container, .wrap, .main-box {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* 手机统一标准留白 */
@media (max-width: 480px) {
  .container, .wrap, .main-box {
    padding-left: 15px;
    padding-right: 15px;
  }
  .intro-text {
    padding: 0px;
    box-sizing: border-box;
     text-align: justify; /* 核心：文字左右两端对齐 */
    line-height: 1.6;    /* 可选：让行间距更舒服，可读性更好 */
  }
}


/* ========== 左侧悬浮 ========== */
.left-float {
      position: fixed;
      left: 15px;
      bottom: 70px; /* 距离底部60px */
      z-index: 9999;
      width: 120px;
    }

/* ========== 右侧悬浮容器（两个图片上下排列） ========== */
.right-float-group {
      position: fixed;
      right: 15px;
      bottom: 70px; /* 距离底部60px */
      z-index: 9999;
      width: 210px;
      display: flex;
      flex-direction: column;
      gap: 12px; /* 两个图片之间间距 */
    }

 /* 右侧单个图片项（每个都带关闭） */
.right-item {
      position: relative;
      padding: 6px;
    }

 /* 关闭按钮（每个图片一个） */
.item-close {
      position: absolute;
      top: -6px;
      right: -6px;
      width: 22px;
      height: 22px;
      line-height: 22px;
      text-align: center;
      font-size: 14px;
      color: #ff5555;
      background: #f9f9f9;
      border-radius: 50%;
      cursor: pointer;
      user-select: none;
      z-index: 2;
    }
.item-close:hover {
      background: #ff3333;
    }

    /* 图片样式 */
.float-img {
      width: 100%;
      border-radius: 6px;
      display: block;
    }

 /* ========== 手机适配 ========== */
@media (max-width: 768px) {
      .left-float {
        width: 80px;
        left: 8px;
        bottom: 40px;
      }
      .right-float-group {
        width: 80px;
        right: 8px;
        bottom: 40px;
        gap: 8px;
      }
      .item-close {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 12px;
      }
    }