/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 导入阿里巴巴普惠体字体 */
@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('https://qiniu.ycylz.com/Alibaba_PuHuiTi_2.0_45_Light_45_Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
/* @font-face {
  font-family: "阿里巴巴普惠体 2.0 45 Light";font-weight: 300;src: url("//at.alicdn.com/wf/webfont/fd958SGvwcoA/fp1o8qGLLdEl.woff2") format("woff2"),
  url("//at.alicdn.com/wf/webfont/fd958SGvwcoA/hijjusZRQNfN.woff") format("woff");font-variation-settings: normal;font-display: swap;
}

.webfont {
  font-family: "阿里巴巴普惠体 2.0 45 Light";font-variation-settings: normal; } */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'AlibabaPuHuiTi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: url('/assets/image/top_bg.png') center/cover no-repeat;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 100px;
}

.nav-container {
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-logo h2 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
    margin-right: 40px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e15616;
    transition: width 0.3s ease;
}

/* 子菜单样式 */
.nav-item.has-submenu {
    position: relative;
}

/* .nav-item.has-submenu > .nav-link::after {
    content: "▼";
    font-size: 0.6rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
} */

.nav-item.has-submenu:hover > .nav-link::after {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-item.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.submenu a:hover {
    background: #f0f7ff;
    color: #e15616;
    padding-left: 25px;
}

/* 移动端子菜单样式 */
@media (max-width: 768px) {
    .nav-item.has-submenu > .nav-link::after {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
    }
    
    .nav-item.has-submenu:hover > .nav-link::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.has-submenu.active .submenu {
        max-height: 300px;
    }
    
    .submenu a {
        padding: 12px 30px;
        color: #333;
    }
    
    .submenu a:hover {
        background: #e9ecef;
        padding-left: 30px;
    }
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-icon:first-child::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: white;
}

.nav-icon {
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* .nav-icon:hover {
    background: #2563eb;
    color: white;
} */

.nav-icon.search {
    width: 20px;
    height:20px;
    background: white;
    color: #6b7280;
    font-size: 12px;
}

.nav-icon.search:hover {
    background: #f3f4f6;
    color: #374151;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero {
    position: relative;
}

/* 轮播容器 */
.banner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.banner-slide {
    display: none;
    width: 100%;
    height: auto; /* 高度自适应 */
}

.banner-slide.active {
    display: block;
}

/* 轮播指示点（与截图样式一致：短条圆角） */
.banner-indicators {
    position: absolute;
    left: 10%;
    bottom: 85px;
    transform: none;
    display: flex;
    gap: 14px;
    align-items: center;
}

.banner-dot {
    width: 40px;           /* 宽度 40px */
    height: 10px;          /* 高度 10px */
    border-radius: 6px;    /* 圆角 */
    background: #ffffff;   /* 未激活为白色 */
    opacity: 0.95;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease, opacity 0.3s ease;
}

.banner-dot.active {
    background: #e2602e;   /* 橙色，接近截图 */
    opacity: 1;
}

/* 移除蒙版：不再需要 .hero-overlay */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease forwards;
}

.title-sub {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease 0.3s forwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease 0.9s forwards;
}

.btn {
    padding: 3px 0px 3px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-primary {
    background: #167cc4;
    color: white;
}

.fass{
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: #fff;
    line-height: 30px !important;
    color: #333333;
    text-align: center;
    margin-left: 30px;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-blue {
    background: #e55a2b;
    color: white;
}

.btn-blue:hover {
    background: #167cc4;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: white;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* 通用区域样式 */
section {
    padding: 100px 0 0 0;
}

/* 从"走进卓远"区域开始及以后的区域去掉默认padding */
/* .zhuoyuan,
.products,
.news,
.cases {
    padding: 0;
} */

/* 为这些区域的容器添加适当的内边距 */
/* .zhuoyuan .container,
.products .container,
.news .container,
.cases .container {
    padding: 100px 20px;
} */
.underline{
    background-color: #e2602e;
    width: 60px;
    height: 6px;
    display: block;
    border-radius: 6px;
    opacity: 0.95;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    
}

.underline_s{
    background-color: #e2602e;
    width: 40px;
    height: 3px;
    display: block;
    border-radius: 6px;
    opacity: 0.95;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
    text-align: left;
}

.section-other{
    justify-content: space-around;
    display: flex;
    line-height: 50px;
    background-color: #f0f3f3;
    margin: 10px;
    font-size: 14px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.container .content{
    padding: 10px 0;
}

.container .content section{
    padding: 0;
}

/* 走进卓远区域 */
.zhuoyuan {
    background: url('https://qiniu.ycylz.com/bg.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
}

.zhuoyuan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 文字区 */
.zy-text{
  flex:1;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.zy-text.animate {
  opacity: 1;
  transform: translateX(0);
}

.zy-sub{
  font-weight: normal;
  font-size:42px;
  color:#fff;
  letter-spacing:2px;
  margin-bottom:10px;
}
.zy-title{
  font-size:32px;
  color:#fff;
  margin-bottom:20px;
  line-height:1.4;
  letter-spacing: 0.05em;
}
.zy-title span{
  font-size:54px;
  color:#fae900;
  margin: 0 6px
  
}
.zy-desc{
  font-size:14px;
  color:#fff;
  line-height:1.8;
  margin-bottom:25px;
  width: 620px;
}
/* 按钮下方快捷入口 */
/*======== 图标 + 标题 + 英文 ========*/
.zy-links{
  margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    width: 600px;
}
.zy-links a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  color: #fff;
  text-decoration: none;
  
}
.zy-links a .img{
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease;
}

.zy-links a:hover .img {
    transform: scale(1.1);
    animation: bounce 0.6s ease;
}

.zy-links a:hover{
  border-color: #ffff00;
  color: #ffff00;
  box-shadow: 0 4px 12px rgba(195,30,30,.08);
}
.zy-links a i{
  font-size: 22px;
  width: 28px;          /* 固定宽度，对齐 */
  text-align: center;
}
.zy-links a .txt{
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100px;
}
.zy-links a .cn{
  font-size: 16px;
  letter-spacing: 1px;
}
.zy-links a .en{
  font-size: 12px;
  color: #fff;
  font-style: normal;
  letter-spacing: .5px;
}

/* 增强.zy-links悬停效果 */
.zy-links a:hover .img {
    animation: bounce 0.6s ease;
}

.zy-links a:hover .txt .cn,
.zy-links a:hover .txt .en {
    color: #ffff00 !important;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.zhuoyuan-text h3 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.zhuoyuan-text p {
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item span {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    text-align: center;
}

.zhuoyuan-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ac-system {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e6f3ff, #cce7ff);
    border-radius: 20px;
    padding: 2rem;
}

.ac-units {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ac-unit {
    width: 120px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ac-brand {
    font-weight: 700;
    color: #2563eb;
    font-size: 1.2rem;
}

.house-diagram {
    position: relative;
    width: 100%;
    height: 200px;
}

.house-outline {
    width: 200px;
    height: 150px;
    border: 3px solid #2563eb;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.connection-lines::before,
.connection-lines::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100px;
    background: #2563eb;
    top: 0;
}

.connection-lines::before {
    left: 20%;
}

.connection-lines::after {
    right: 20%;
}

/* 产品中心区域 */
.products {
    background: white url('https://qiniu.ycylz.com/bg1.png') center top no-repeat;
    background-size: 100% auto;
    width: 100%;
    position: relative;
}

.products-content {
    position: absolute;
    bottom: 80px;
    max-width: 1200px;
    width: 100%;
}

.product-info h3 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-info h4 {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 500;
}

.product-categories {
    display: flex;
    justify-content: space-between;
}

.product-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-30px);
    -webkit-animation: fallDown 0.6s ease forwards;
    -moz-animation: fallDown 0.6s ease forwards;
    -o-animation: fallDown 0.6s ease forwards;
    animation: fallDown 0.6s ease forwards;
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

/* 为每个产品分类设置不同的动画延迟 */
.product-category:nth-child(1) { 
    -webkit-animation-delay: 0.1s; 
    -moz-animation-delay: 0.1s; 
    -o-animation-delay: 0.1s; 
    animation-delay: 0.1s; 
}
.product-category:nth-child(2) { 
    -webkit-animation-delay: 0.2s; 
    -moz-animation-delay: 0.2s; 
    -o-animation-delay: 0.2s; 
    animation-delay: 0.2s; 
}
.product-category:nth-child(3) { 
    -webkit-animation-delay: 0.3s; 
    -moz-animation-delay: 0.3s; 
    -o-animation-delay: 0.3s; 
    animation-delay: 0.3s; 
}
.product-category:nth-child(4) { 
    -webkit-animation-delay: 0.4s; 
    -moz-animation-delay: 0.4s; 
    -o-animation-delay: 0.4s; 
    animation-delay: 0.4s; 
}
.product-category:nth-child(5) { 
    -webkit-animation-delay: 0.5s; 
    -moz-animation-delay: 0.5s; 
    -o-animation-delay: 0.5s; 
    animation-delay: 0.5s; 
}
.product-category:nth-child(6) { 
    -webkit-animation-delay: 0.6s; 
    -moz-animation-delay: 0.6s; 
    -o-animation-delay: 0.6s; 
    animation-delay: 0.6s; 
}
.product-category:nth-child(7) { 
    -webkit-animation-delay: 0.7s; 
    -moz-animation-delay: 0.7s; 
    -o-animation-delay: 0.7s; 
    animation-delay: 0.7s; 
}
.product-category:nth-child(8) { 
    -webkit-animation-delay: 0.8s; 
    -moz-animation-delay: 0.8s; 
    -o-animation-delay: 0.8s; 
    animation-delay: 0.8s; 
}

@-webkit-keyframes fallDown {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@-moz-keyframes fallDown {
    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}
@-o-keyframes fallDown {
    to {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes fallDown {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

.product-category:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}

.product-category img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
}

.product-category:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-category span {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    text-align: center;
}

/* 新闻动态区域 */
.news {
    background: linear-gradient(135deg, #e6f3ff, #cce7ff);
}

.news-content {
    display: grid;
    grid-template-columns: 0.7fr 2.3fr;
    gap: 4rem;
}

.news-sidebar h3 {
    font-size: 25px;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.news-sidebar p {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 30px;
}

/* 侧边栏 */
.news-side{
  width:220px;
  
}

.news-side h3{
  font-size:18px;
  margin-bottom:15px;
  color:#222;
}

.news-side ul{
  list-style:none;
  margin:0;
  padding:0;
}

.news-side li{
  margin:12px 0;
  padding-left:20px;
  position:relative;
  background: url('/assets/image/new_bg2.png') center bottom no-repeat;
  background-size: 100% auto;
  padding-bottom: 10px;
  width: 120px;
}

.news-side li::before{
  content:"";
  position:absolute;
  left:0;
  top:40%;
  transform:translateY(-50%);
  width:8px;
  height:8px;
  border: 2px solid white;
  background: #ff6b35;
  border-radius:50%;
}

.news-side li.active::before{
  background:#ff6b35;
}

.news-side a{
  color:#fff;
  text-decoration:none;
  font-size:22px;
  transition:color .3s;
}

.news-side a:hover{
  color:#ff6b35;
}

/* 新闻侧边栏菜单选中时文字颜色为橙色 */
.news-side li.active a {
  color: #fff;
}

.news-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.news-category {
    padding: 10px 20px;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.news-category.active,
.news-category:hover {
    background: #2563eb;
    color: white;
}

.news-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card a{
    text-decoration: none;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-date {
    background: url(https://qiniu.ycylz.com/new_bg.png) center/cover no-repeat;
    min-height: 100px;
    color: #333333;
    padding: 0 1rem;
    
}

.news-date .day {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #e49a0c;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    color: #09687c;
}

.news-date h4 {
    display: -webkit-box;      /* 必须 */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;     /* 限制两行 */
  overflow: hidden;
  text-overflow: ellipsis;   /* 超出用 … */
  word-break: break-all; 
  margin-bottom: 10px;
    height: 50px;
}

.news-card .desc {   
  padding: 1rem;
  color: #333;
}

.news-card .desc p {
    display: -webkit-box;      /* 必须 */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;     /* 限制两行 */
  overflow: hidden;
  text-overflow: ellipsis;   /* 超出用 … */
  word-break: break-all; 
  font-size: 12px;
   height: 40px; 
}

.news-card .desc img{
   padding: 1rem 0;
    display: block;
    
}

.news-content-card {
    
}

.news-content-card img {
    width: 100%;
    height: 187px;
}

.news-content-card h4 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.news-image {
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

.news-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e6f3ff, #cce7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 2rem;
}

/* 成功案例区域 */
.cases {
    background: white url('https://qiniu.ycylz.com/bg3.png') center top no-repeat;
    background-size: 100% auto;
}

.cases-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 2px 10px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.tab-btn.active,
.tab-btn:hover {
    background: #f08d0c;
    color: white;
    border-color: #f08d0c;
}

/* 成功案例网格过渡效果 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cases-grid:not(.active) {
    display: none;
}

.more-cases{
    margin: 50px auto;
    display: flex;
    width: 100%;
    justify-content: center;
}

.case-card {
    background: #d4dceb;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.5rem;
    width: 100%;
}

.case-card a{
    text-decoration: none;
    color: black;
}

.case-card .case-card_s {
    background-color: #fff;
}

.case-card .case-card_s img {
    width: 100%;
    height: 220px;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-image {
    
}

.case-card h4 {
    padding: 0.5rem;
    color: #1a365d;
    font-size: 18px;
    display: -webkit-box;      /* 必须 */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;     
  overflow: hidden;
  text-overflow: ellipsis;   /* 超出用 … */
  word-break: break-all; 
}

.case-card .desc {
    font-size: 12px;
    padding: 0 0.5rem;
    display: -webkit-box;      /* 必须 */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;     /* 限制两行 */
  overflow: hidden;
  text-overflow: ellipsis;   /* 超出用 … */
  word-break: break-all; 
}

.case-card .time {
    padding: 20px 0.5rem;
}

.case-card .time img {
    width: auto;
    height: auto;
}

/* 页脚样式 */
.footer {
    background: url('https://qiniu.ycylz.com/bg4.png') center top no-repeat, linear-gradient(135deg, #1a365d, #2d3748);
    background-size: 100% auto;
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 4rem;
}

.footer-content .footer-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    
}

.footer-content .footer-about{
    text-align: right;
    
}

.footer-content .footer-about h4{
    font-size: 18px;
    
}

.footer-content .footer-about .tel{
    font-size: 52px;
    font-weight: bold;
}

.footer-content .footer-about .email{
    font-size: 18px;
    
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 18px;
}

.footer-logo {
    display: flex;
    align-items: flex-end;
    margin-bottom: 1rem;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfdfdf;
}

.footer-logo .wx {
    margin-left: auto;
    margin-right: 10px;
}

.footer-logo .logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
    
}

/* .footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border: 2px solid white;
    background-color: #ff6b35;
    border-radius: 50%;
} */

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #ff6b35;
    transform: translateY(-2px);
}

.footer-links {
    border-top: 1px solid #dfdfdf;
    font-size: 16px;
    display: flex;
    padding: 15px 0;
}

.footer-links img {
    width: 35px;
    height: 35px;
    margin-right: 20px;
}

.footer-links span {
    color: #fff;
    
}

.footer-links .text {
    color: #fff;
    margin-right: 20px;
    width: 140px;
}

.links-grid {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.links-grid a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-grid a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #dfdfdf;
    color: #fff;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

/* 动画 */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .zhuoyuan-content,
    .products-content,
    .news-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
    }
    
    .news-cards {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35, #4a90e2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35, #4a90e2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 右侧导航点 */
.dot-navigation {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.dot-item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
    /* background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); */
}

.dot-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dot-item.active {
    background: transparent;
    border: none;
    width: 20px;
    height: 20px;
}

.dot-content {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    width: 100%;
}

.dot-item.active .dot-content {
    color: #e55a2b;
}

/* 非激活状态的原点样式 */
.dot-item:not(.active) .dot-content::before {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffffff;
    margin: 0 auto;
}

.dot-item:hover:not(.active) .dot-content::before {
    background: #ffffff;
}

.dot-line{
    background-color: #fff;
    width: 2px;
    height: 20px;
    display: flex;

}

/* 激活状态的原点样式 */
.dot-item.active:not([data-target="home"]) .dot-content::before {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffffff;
    margin: 0 auto;
}

/* 由右向左划入动画 */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 图片翻转动画 */
.flip-in {
    opacity: 0;
    transform: perspective(1000px) rotateY(-90deg);
    transition: all 0.8s ease;
}

.flip-in.visible {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg);
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg);
    }
}

/* 新闻列表 */
/* 导航栏样式 */
.navbar_sidebar {
    background-color: #f3f3f3;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.navbar_sidebar .nav-containers {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    height: 50px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-items {
    text-decoration: none;
    color: #666;
    padding: 15px 0px;
    margin-right: 40px;
    font-size: 16px;
    transition: color 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-items:hover {
    color: #ff6b35;
}

.nav-items.active {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
    font-weight: 500;
}

.nav-separator {
    color: #ff6b35;
    margin: 0 5px;
    font-size: 12px;
}


.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-section .content img {
    display: block;
    text-align: center;
    margin: 10px auto;
    max-width: 100%;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    color: #333;
}

.pagination ul li::marker {

    content: none;

}

.pagination ul li a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.pagination span:hover {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.pagination .active span {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

@media (max-width: 1370px) {
    section {
        padding: 80px 0 0 0;
    }

    .footer {
    /* 装饰图在上，渐变打底 */
    background: 
        url(https://qiniu.ycylz.com/bg4.png) center top / cover no-repeat,
        linear-gradient(135deg, #1a365d, #2d3748) !important;
    background-size: auto !important;
    color: white;
    padding: 8rem 0 1rem;
    min-height: 800px;      /* 若内容不足，可保证满屏高 */
}
}

@media (min-width: 1601px) {
    .container{
        max-width: 1495px;
        margin: 0 auto;
        padding: 0px;
    }

    .products-content {
        position: absolute;
        bottom: 80px;
        max-width: 1495px;
        width: 100%;
    }

    .navbar_sidebar .nav-containers {
        max-width: 1495px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px;
        height: 50px;
    }

    .case-card .case-card_s .image-placeholder img {
        width: 100%;
        height: 280px;
    }

    .more-cases {
        margin: 100px auto;
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .nav-container {
        margin: 0 auto;
        padding: 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100px;
        width: 1495px;
    }
}

@media (max-width: 1600px) {
    .footer-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }

    .product-category {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1.2rem;
        border-radius: 15px;
        transition: all 0.3s ease;
        cursor: pointer;
        opacity: 0;
        transform: translateY(-30px);
        -webkit-animation: fallDown 0.6s ease forwards;
        -moz-animation: fallDown 0.6s ease forwards;
        -o-animation: fallDown 0.6s ease forwards;
        animation: fallDown 0.6s ease forwards;
        -webkit-animation-play-state: paused;
        -moz-animation-play-state: paused;
        -o-animation-play-state: paused;
        animation-play-state: paused;
    }

    .footer{
        background-size: cover !important;
        height: 742px !important;
    }

    .more-cases {
        margin: 25px auto;
        display: flex;
        width: 100%;
        justify-content: center;
    }
}

/* 搜索框弹窗样式 */
    .search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .search-box {
        background: white;
        border-radius: 8px;
        padding: 0;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        animation: fadeInScale 0.3s ease-out;
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .search-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-bottom: 1px solid #e9ecef;
        background: #f8f9fa;
        border-radius: 8px 8px 0 0;
    }

    .search-header h3 {
        margin: 0;
        color: #333;
        font-size: 18px;
        font-weight: 600;
    }

    .close-search {
        font-size: 24px;
        color: #666;
        cursor: pointer;
        line-height: 1;
        padding: 0 5px;
        transition: color 0.3s ease;
    }

    .close-search:hover {
        color: #333;
    }

    .search-content {
        padding: 25px;
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .search-input {
        flex: 1;
        padding: 12px 15px;
        border: 2px solid #e9ecef;
        border-radius: 6px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.3s ease;
    }

    .search-input:focus {
        border-color: #1169a7;
    }

    .search-btn {
        padding: 12px 25px;
        background: #1169a7;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-weight: 500;
    }

    .search-btn:hover {
        background: #0d5a94;
    }

    /* 电话图标摇摆动画 */
    .phone-icon {
        position: relative;
        cursor: pointer;
    }

    .phone-icon:hover i {
        animation: phoneShake 0.6s ease-in-out infinite;
    }

    @keyframes phoneShake {
        0%, 100% { transform: rotate(0deg); }
        10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
        20%, 40%, 60%, 80% { transform: rotate(10deg); }
    }

    /* 电话号码弹窗样式 */
    .phone-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone-box {
        background: white;
        border-radius: 12px;
        padding: 0;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        animation: fadeInScale 0.3s ease-out;
        text-align: center;
    }

    .phone-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-bottom: 1px solid #e9ecef;
        background: #f8f9fa;
        border-radius: 12px 12px 0 0;
    }

    .phone-header h3 {
        margin: 0;
        color: #333;
        font-size: 18px;
        font-weight: 600;
    }

    .close-phone {
        font-size: 24px;
        color: #666;
        cursor: pointer;
        line-height: 1;
        padding: 0 5px;
        transition: color 0.3s ease;
    }

    .close-phone:hover {
        color: #333;
    }

    .phone-content {
        padding: 30px 25px;
    }

    .phone-number {
        font-size: 28px;
        font-weight: 600;
        color: #1169a7;
        margin-bottom: 15px;
        letter-spacing: 2px;
    }

    .phone-description {
        color: #666;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .phone-actions {
        display: flex;
        gap: 15px;
        justify-content: center;
    }

    .call-btn {
        padding: 12px 25px;
        background: #1169a7;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-weight: 500;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .call-btn:hover {
        background: #0d5a94;
    }

    .copy-btn {
        padding: 12px 25px;
        background: #6c757d;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-weight: 500;
    }

    .copy-btn:hover {
        background: #5a6268;
    }

    /* 默认字号（中） */
.article-content {
  font-size: 16px;
  line-height: 1.75;
  transition: font-size .2s;
}

/* 三种字号 */
.fs-small  { font-size: 14px !important; }
.fs-medium { font-size: 16px !important; }
.fs-large  { font-size: 20px !important; }

/* 按钮样式 */
.font-size-switch button {
  padding: 4px 10px;
  margin: 0 2px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}
.font-size-switch button.active {
  background: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
}

