﻿@charset "utf-8";
/* ========== jQuery 全屏轮播 ========== */
html, body { height: auto; overflow-x: hidden; }
.full-banner { width: 100vw; height: calc(100vh - 72px); position: relative; overflow: hidden; }
.banner-list { width: 100%; height: 100%; }
.banner-item { width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.8s ease; }
.banner-item.active { opacity: 1; z-index: 2; }
.banner-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 90px; background: rgba(255, 255, 255, 0.4); color: #2F463A; font-size: 24px; text-align: center; line-height: 90px; cursor: pointer; z-index: 10; transition: background 0.3s; border-radius: 4px; }
.arrow:hover { background: rgba(255, 255, 255, 0.7); }
.arrow-left { left: 30px; }
.arrow-right { right: 30px; }
.dots-wrap { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 4.8px; height: 4.8px; border-radius: 50%; background: rgba(47, 70, 58, 0.35); cursor: pointer; transition: all 0.3s; }
.dot.active { background: #E8B858; width: 14px; border-radius: 3px; }
/* ========== 推荐产品Tab模块样式 ========== */
.products { max-width: 1920px; margin: 0 auto; padding: 80px 60px; }
.section-title { text-align: center; font-size: 35px; letter-spacing: 1px; margin-bottom: 32px; font-weight: 700 }
/* 原tab-nav改为pro-nav */
.pro-nav { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap }
.tab-btn { padding: 8px 22px; border-radius: 999px; border: 1px solid #222; background: transparent; font-size: 14px; cursor: pointer; transition: 0.2s; -webkit-tap-highlight-color: transparent; }
.tab-btn.active { background: #91b122; color: #fff; border-color: #91b122 }
.tab-btn:hover { background: #91b122; color: #fff; opacity: 0.85; border-color: #91b122 }
.tab-btn:active { transform: scale(0.96) }
.carousel-wrap { overflow: hidden; display: none; }
.carousel-wrap.active { display: block; }
.bundle-track { display: flex; gap: 24px; transition: transform 0.4s ease }
.bundle-card { flex: 0 0 calc((100% / 3) - 16px); flex-shrink: 0; background: #fff; border-radius: 6px; overflow: hidden; position: relative; }
/* PC端图片左右留白 */
.card-img-wrap { /*width: calc(100% - 30px);
	max-width: 550px;
	max-height: 550px;*/ aspect-ratio: 1 / 1; position: relative; cursor: pointer; margin: 0 auto; }
.card-img-wrap img.main-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.text-panel { position: absolute; bottom: 36px; left: 15px; right: 15px; width: auto; padding: 14px 16px; background: rgba(245,242,233,0.5); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 1; pointer-events: auto; transition: 0.25s ease; z-index: 4; }
.bundle-card:hover .text-panel { opacity: 0; pointer-events: none; }
.hover-title { color: #273005; font-weight: bold; font-size: 16px; }
.hover-title a { color: #273005; text-decoration: none; }
.hover-desc { color: #273005; font-size: 13px; text-align: center; }
.btn-panel { position: absolute; bottom: 36px; left: 15px; right: 15px; width: auto; display: flex; justify-content: center; transition: 0.25s ease; opacity: 0; pointer-events: none; z-index: 5; }
.bundle-card:hover .btn-panel { opacity: 1; }
.detail-btn { background: #fff; border: 1px solid #222; padding: 10px 24px; border-radius: 4px; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none; color: #222; }
.dots-bottom { position: absolute; bottom: 12px; left: 0; width: 100%; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.dot-btn { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; cursor: pointer; transition: 0.2s }
.dot-btn.active, .dot-btn:hover { border: 1px solid #222; background: #fff; transform: scale(1.15) }
.carousel-arrows { display: flex; justify-content: center; gap: 40px; position: relative; z-index: 99; }
.arrow-btn { background: transparent; border: none; font-size: 24px; cursor: pointer; color: #222; padding: 12px 20px; pointer-events: auto !important; }
.shop-all-wrap { display: flex; justify-content: center; margin-top: 40px; }
.shop-all-btn { background: #91b122; color: #fff; border: none; padding: 14px 60px; border-radius: 999px; font-size: 15px; cursor: pointer }
.img-list { display: none; visibility: hidden; height: 0; overflow: hidden; }

/* ========== 移动端大图修复 ========== */
@media(max-width:900px) {
body { padding: 30px 0; }
.products { padding: 0 12px; }
.bundle-card { flex: 0 0 100%; flex-shrink: 0; }
/* 移动端取消左右留白，图片铺满卡片 */
.card-img-wrap { width: 100%; max-width: 100%; max-height: unset; margin: 0; }
.text-panel, .btn-panel { left: 10px; right: 10px; bottom: 80px; }
.bundle-track { gap: 16px; }
.arrow-btn { font-size: 32px; padding: 16px 30px; }
.carousel-arrows { gap: 60px; margin-top: 10px; }
.pro-nav { gap: 8px; padding: 0 4px; }
.tab-btn { padding: 6px 14px; font-size: 12px; }
}
/* ========== 推荐产品Tab模块样式 ========== */



/**=========ABOUT============**/
.about { padding: 80px 20px; color: #272e04; background: #f5f2e9; }
.about-content { max-width: 1785px; margin: 0 auto; display: flex; align-items: flex-start; gap: 60px; }
.about-text { flex: 1; }
.about-text h2 { font-size: 35px; margin-bottom: 24px; font-weight: 700; }
.about-text p { font-size: 20px; line-height: 1.8; margin-bottom: 16px; }
.more-btn { display: inline-block; margin-top: 20px; padding: 14px 32px; background: #91b122; color: #fff; text-decoration: none; border: 2px solid #91b122; transition: 0.3s ease; }
.more-btn:hover { background: #272e04; border-color: #272e04; }
/* 视频容器 - 使用 flex:1 占满剩余宽度，aspect-ratio 控制高度 */
.video-wrap { flex: 1;              /* 占据剩余宽度 */ min-width: 0;          /* 防止溢出 */ aspect-ratio: 16 / 9;  /* 16:9 比例 */ position: relative; overflow: hidden; background: #000; }
.video-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.8; z-index: 1; }
.video-mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.35); z-index: 2; pointer-events: none; }
.video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: auto; transition: opacity 0.3s ease; z-index: 3; }
.play-btn { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; border-radius: 50%; background: rgba(145, 177, 0.9); color: #fff; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 4; transition: 0.3s ease; }
.play-btn:hover { background: #272e04; }
.play-btn svg { width: 28px; height: 28px; margin-left: 4px; }
.video-wrap.playing .video-cover, .video-wrap.playing .video-mask, .video-wrap.playing .play-btn { display: none; }
.video-wrap.playing video { opacity: 1; }
/* ===== 轮播板块（serv） ===== */
.serv { background: #f5f2e9; padding: 60px 20px 80px; }
.serv-content { max-width: 1785px; margin: 0 auto; width: 100%; }
.serv-title { text-align: center; font-size: 35px; color: #222836; font-weight: 700; padding: 0 0 30px; }
.slider-view { overflow: hidden !important; position: relative; touch-action: pan-y; cursor: grab; }
.slider-view:active { cursor: grabbing; }
.slider-track { display: flex; flex-wrap: nowrap; width: 100%; transition: transform 0.3s ease-out; will-change: transform; transform: translateZ(0); }
.slide-item { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; }
.slide-img-box { width: 100%; height: 510px; overflow: hidden; }
.slide-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-text-box { background: #272e04; color: #fff; height: 510px; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: 60px 32px 40px; text-align: center; }
.star-rating { color: #ffdd57; font-size: 16px; margin-bottom: 18px; }
.slide-desc { font-size: 15px; line-height: 1.6; max-width: 480px; margin-bottom: 30px; }
.line-bar { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.25); }
/* 轮播按钮 */
.slider-btn-group { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 20; pointer-events: none; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 20px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s ease; pointer-events: auto; backdrop-filter: blur(4px); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); z-index: 21; }
.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }
.slide-btn:hover { background: rgba(0, 0, 0, 0.8); transform: translateY(-50%) scale(1.05); }
.slide-btn:active { transform: translateY(-50%) scale(0.92); }

        /* ===== 移动端适配 ===== */
        @media screen and (max-width:768px) {
.about { padding: 50px 10px; }
.about-content { flex-direction: column; gap: 40px; align-items: flex-start; }
.about-text h2 { font-size: 30px; }
/* 移动端视频容器也使用 flex:1 在列方向不起作用，改为 width:100% */
.video-wrap { flex: none; width: 100%; aspect-ratio: 16 / 9; }
.play-btn { width: 60px; height: 60px; }
.play-btn svg { width: 24px; height: 24px; }
.serv { padding: 40px 10px 60px; }
.serv-title { font-size: 14px; padding: 0 0 24px; }
.slide-item { grid-template-columns: 1fr; }
.slide-img-box, .slide-text-box { height: 300px; }
.slide-text-box { padding: 40px 20px 25px; justify-content: flex-start; }
.slide-desc { font-size: 14px; max-width: 100%; margin-bottom: 10px; }
.slide-btn { width: 48px; height: 48px; font-size: 24px; border-width: 2px; }
.slide-btn.prev { left: 8px; }
.slide-btn.next { right: 8px; }
}
 @media screen and (max-width:480px) {
.slide-btn { width: 44px; height: 44px; font-size: 22px; }
.slide-btn.prev { left: 4px; }
.slide-btn.next { right: 4px; }
}
/**=========ABOUT============**/


/**=========plan============**/

.plan { width: 100%; max-width: 1785px; margin: 60px auto; padding: 60px 0; }
/* title */


.plan-title { text-align: center; margin-bottom: 35px; }
.plan-title h2 { font-size: 35px; font-weight: 700; color: #222; margin-bottom: 10px; }
.plan-title p { max-width: 1100px; margin: auto; font-size: 14px; line-height: 1.5; color: #666; }
/* feature */


.plan-feature { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid #91b122; border-top: 1px solid #91b122; }
/* card */

.card { height: 360px; background: #fff; padding: 25px; display: flex; align-items: center; justify-content: center; text-align: center; border-right: 1px solid #91b122; border-bottom: 1px solid #91b122; border-radius: 0; box-shadow: none; }
.card-content { width: 100%; transform: translateY(0); transition: .25s ease; }
.card:hover .card-content { transform: translateY(-6px); }
/* image */

.icon-box { width: 100%; display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.icon-box img { width: 80px; height: 80px; object-fit: cover; aspect-ratio: 1/1; border-radius: 10px; display: block; transition: .25s ease; }
.card:hover .icon-box img { transform: scale(1.05); }
/* text */

.card h3 { font-size: 18px; font-weight: 700; color: #222; margin-bottom: 12px; }
.card p { font-size: 14px; line-height: 1.55; color: #666; text-align: left; }

/* mobile */


@media(max-width:768px) {
.plan { margin: 30px auto; padding: 10px; }
.plan-title h2 { font-size: 22px; }
.plan-title p { font-size: 13px; }
.plan-feature { grid-template-columns: repeat(2, 1fr); }
.card { height: 330px; padding: 15px 12px; }
.icon-box img { width: 55px; height: 55px; border-radius: 8px; }
.card h3 { font-size: 15px; }
.card p { font-size: 12px; line-height: 1.5; }
}
/**=========plan============**/


/**=========Project============**/
.Project { max-width: 1785px; margin: 60px auto 120px; }
/* 标题模块 */
.Project-title { text-align: center; margin-bottom: 40px; }
.Project-title h2 { font-size: 2rem; color: #273005; margin-bottom: 12px; }
.Project-title .sub-title { font-size: 1.1rem; color: #444; }
/* 三栏卡片容器 */
.Project-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.Project-card { border: 1px solid #222; position: relative; z-index: 1; transition: none; }
.Project-card:not(:first-child) { border-left: none; }
.Project-img-wrap { background: #fff; overflow: hidden; position: relative; padding-top: 66.7%; }
.Project-img-wrap a { display: block; width: 100%; height: 100%; }
.Project-img-wrap img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); display: block; transition: transform 0.25s ease; object-fit: cover; object-position: center; }
.Project-card:hover .Project-img-wrap img { transform: scale(1.03); }
/* 底部文字区域：文字左对齐，高度230px，内容顶部对齐 */
.card-text-wrap { background-color: #f5f2e9; color: #222; padding: 32px 22px; text-align: left; height: 230px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; transition: background-color 0.25s ease; }
/* 卡片内标题：最多3行，超出省略 */
.card-text-wrap h3 { font-size: 1.3rem; margin: 0 0 14px 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-text-wrap h3 a { color: inherit; text-decoration: none; }
/* >More 字体缩小一号 */
.read-more { font-size: 1rem; text-decoration: underline; color: #222; opacity: 0.92; transition: color 0.25s ease; margin-top: 20px; }
.Project-card:hover .card-text-wrap { background-color: #273005; color: #fff; }
.Project-card:hover .read-more { color: #fff; }
/* p标签文字缩小一号，行高1.25 */
.card-text-wrap p { font-size: 0.95rem; line-height: 1.25; margin: 0; letter-spacing: 0.3px; min-height: 60px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
        /* 移动端单列 */
        @media (max-width: 768px) {
.Project-content { grid-template-columns: repeat(1, 1fr); }
.Project-card:not(:first-child) { border-left: 1px solid #222; border-top: none; }
.Project-title h2 { font-size: 1.5rem; }
}
/**=========Project============**/
