/* ============================================================
   Alanarah 北欧极简官方模板 - 核心样式
   配色：米白底 #F7F6F2 / 墨绿 #1B3A2F / 金色 #C8A35F / 炭灰字 #1A1A1A
   设计原则：大留白、细字体、细边框、图片 object-fit 自适应
   ============================================================ */

:root {
  --bg: #F7F6F2;
  --white: #FFFFFF;
  --green: #1B3A2F;
  --green-light: #234A3C;
  --gold: #C8A35F;
  --gold-light: #D9BD86;
  --text: #1A1A1A;
  --text-light: #6B6B6B;
  --text-mute: #9A958A;
  --border: #E8E6E1;
  --radius: 8px;
  --shadow: 0 8px 30px rgba(27,58,47,0.07);
  --shadow-hover: 0 16px 45px rgba(27,58,47,0.13);
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1,h2,h3,h4,h5 { font-weight: 500; letter-spacing: 0.5px; color: var(--green); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
[class*="col-"] { padding: 0 12px; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.w-100 { width: 100%; }

/* 公共区块标题 */
.public-title h3, .public-title h2 {
  margin: 0; font-size: 26px; font-weight: 500; color: var(--green); letter-spacing: 1px;
}
.public-title p {
  margin: 6px 0 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}
.public-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; letter-spacing: 1px; color: var(--green);
  border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: gap .25s;
}
.public-more:hover { gap: 12px; color: var(--gold); }

/* ============================ 顶部导航 ============================ */
header.bg-white {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,246,242,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header .container { height: 74px; }
.logo img { height: 40px; width: auto; }
.logo a { display: flex; align-items: center; }
.menu > ul { list-style: none; margin: 0; padding: 0; gap: 4px; }
.menu > ul > li { position: relative; list-style: none; }
.menu > ul > li::marker { display: none; }
.menu > ul > li > a {
  display: block; padding: 10px 18px; font-size: 15px; letter-spacing: 1px;
  color: var(--text-light); transition: color .2s;
}
.menu > ul > li > a:hover, .menu > ul > li > a.active { color: var(--green); }
.menu > ul > li > a.active { font-weight: 600; }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s; list-style: none; margin: 0; z-index: 100;
}
.sub-menu:empty { display: none; }
.menu > ul > li:hover .sub-menu:not(:empty) { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu-item { position: relative; }
.sub-menu-item a { display: block; padding: 9px 20px; font-size: 14px; color: var(--text-light); }
.sub-menu-item a:hover { color: var(--green); background: var(--bg); }
/* 三级菜单 */
.sub-menu-3 {
  position: absolute; top: 0; left: 100%; min-width: 160px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: all .25s; list-style: none; margin: 0; z-index: 101;
}
.sub-menu-3:empty { display: none; }
.sub-menu-item.has-children:hover .sub-menu-3:not(:empty) { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-menu-3-item a { display: block; padding: 9px 20px; font-size: 13px; color: var(--text-light); white-space: nowrap; }
.sub-menu-3-item a:hover { color: var(--green); background: var(--bg); }

/* 语言/购物车/搜索 */
.header-actions { gap: 16px; }
.lang-wrapper { position: relative; cursor: pointer; }
.lang-btn { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-light); padding: 6px; }
.lang-text { white-space: nowrap; }
.lang-dropdown {
  position: absolute; top: 100%; right: 0; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); min-width: 120px; padding: 6px 0;
  opacity: 0; visibility: hidden; transition: all .2s;
}
.lang-wrapper:hover .lang-dropdown,
.lang-wrapper.open .lang-dropdown { opacity: 1; visibility: visible; }
.lang-dropdown li { list-style: none; }
.lang-dropdown a { display: block; padding: 8px 16px; font-size: 13px; color: var(--text-light); }
.lang-dropdown a:hover { color: var(--green); background: var(--bg); }
.cart svg rect, .cart svg path { stroke: var(--green); }
.cart-count {
  position: absolute; top: -6px; right: -10px; background: var(--gold); color: #fff;
  font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px;
}
.search-icon, .lang-icon { color: var(--green); cursor: pointer; }
.search-wrapper {
  display: none; padding: 12px 0; border-top: 1px solid var(--border); background: var(--white);
}
.search-wrapper-content { gap: 8px; }
.search-input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 100px; outline: none; font-size: 14px; }
.search-submit { padding: 10px 22px; border: none; background: var(--green); color: #fff; border-radius: 100px; cursor: pointer; font-size: 14px; }
.menu-mobile { display: none; }
.menu-close { display: none; }
.sub-toggle { display: none; }

/* ============================ 首页轮播 ============================ */
.main-slider { position: relative; aspect-ratio: 3/1; overflow: hidden; background: var(--green); }
.main-slider .swiper-slide { position: relative; aspect-ratio: 3/1; }
.main-slider .swiper-silde-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-layer, .image-layer-overlay { position: absolute; inset: 0; }
.image-layer { background: transparent; }
.swiper-slide-content { position: absolute; inset: 0; display: flex; align-items: center; }
.main-slider__content { color: #fff; max-width: 640px; }
.main-slider__content h2 { color: #fff; font-size: clamp(30px,5vw,52px); font-weight: 300; letter-spacing: 2px; margin: 0 0 16px; }
.main-slider__content p { color: rgba(255,255,255,0.82); font-size: 16px; letter-spacing: 1px; margin: 0 0 28px; }
.main-slider__content .more {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px;
  border: 1px solid var(--gold); color: var(--gold); border-radius: 100px; font-size: 14px; letter-spacing: 1px;
  transition: all .25s;
}
.main-slider__content .more:hover { background: var(--gold); color: var(--green); }
.main-slider__nav { position: absolute; bottom: 36px; right: 36px; z-index: 5; display: flex; gap: 12px; }
.main-slider__nav .swiper-button-prev,
.main-slider__nav .swiper-button-next {
  position: static; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: all .25s;
  font-size: 0; line-height: 1; margin: 0;
}
.main-slider__nav .swiper-button-prev::after,
.main-slider__nav .swiper-button-next::after { display: none; }
.main-slider__nav .swiper-button-prev i,
.main-slider__nav .swiper-button-next i { font-size: 22px; line-height: 1; display: block; }
.main-slider__nav .swiper-button-prev:hover,
.main-slider__nav .swiper-button-next:hover { background: var(--gold); border-color: var(--gold); }
.swiper-pagination { position: absolute; bottom: 36px; left: 24px; z-index: 5; display: flex; gap: 8px; }
.swiper-pagination .swiper-pagination-bullet { width: 28px; height: 3px; background: rgba(255,255,255,0.4); border-radius: 2px; opacity: 1; }
.swiper-pagination .swiper-pagination-bullet-active { background: var(--gold); }

/* ============================ 通用区块间距 ============================ */
.product-wrapper, .about-wrapper, .case-wrapper, .news-wrapper, .custom-wrapper, .contact-wrapper {
  padding: 84px 0;
}
.section-gap { padding: 84px 0; }

/* ============================ 首页产品区块 ============================ */
.product-wrapper .public-title { margin-bottom: 36px; }
.link-section a {
  margin-left: 20px; font-size: 14px; color: var(--text-light); letter-spacing: 0.5px; transition: color .2s;
}
.link-section a:hover { color: var(--gold); }
.product-list { margin: 0 -12px; }
.product-item { padding: 0 12px; margin-bottom: 28px; }
.product-item-wrapper {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.product-item-wrapper:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
/* 核心：图片定高 + object-fit cover 统一裁切 */
.product-item .pic {
  width: 100%; height: 250px; background: #EFEEEA; overflow: hidden; position: relative;
}
.product-item .pic img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .5s;
}
.product-item-wrapper:hover .pic img { transform: scale(1.06); }
.content-wrapper {
  padding: 20px 18px 22px; flex: 1;
  display: flex; flex-direction: column;
}
.product-item-title { margin: 0 0 8px; font-size: 15px; font-weight: 500; }
.product-item-info { margin: 0 0 16px; font-size: 13px; color: var(--text-light); line-height: 1.5; }
.product-item-bottom { margin-top: auto; align-items: center; }
/* 首页案例卡片图：固定高度 + 裁切，避免横幅图被拉成扁条 */
.case-wrapper .card-img-top { width: 100%; height: 230px; object-fit: cover; object-position: center; display: block; }
.price { color: var(--gold); font-size: 16px; }
.price-unit { font-size: 12px; margin-right: 2px; }
.price strong { font-weight: 600; }
.product-more, .news-more { margin-top: 12px; }

/* ============================ 关于我们 ============================ */
.about-wrapper { background: var(--white); }
.about-wrapper .left-img { padding: 0; }
.about-wrapper .left-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.about-right { padding: 40px 0 40px 56px; display: flex; align-items: center; }
.about-right-content h2 { font-size: 30px; font-weight: 500; margin: 0 0 4px; }
.about-right-content p { color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin: 0 0 20px; }
.about-right-content .info { color: var(--text-light); font-size: 15px; line-height: 1.9; }
.count-wrapper { gap: 40px; margin: 32px 0; }
.count-item { text-align: left; }
.count-text { display: flex; align-items: baseline; gap: 3px; }
.count-text .number { font-size: 40px; font-weight: 300; color: var(--green); }
.count-text .unit { font-size: 18px; color: var(--gold); }
.count-item p { margin: 6px 0 0; font-size: 13px; color: var(--text-light); }

/* ============================ 案例 ============================ */
.case-wrapper { background: var(--bg); }
.case-wrapper .public-title { margin-bottom: 36px; }
.case-swiper { margin: 0 -12px; }
.case-swiper .swiper-slide { padding: 0 12px; }
.case-swiper .swiper-slide-img { width: 100%; height: 280px; overflow: hidden; border-radius: var(--radius); background: #EFEEEA; }
.case-swiper .swiper-slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.case-swiper .swiper-slide:hover img { transform: scale(1.06); }
.case-content-wrapper { padding: 18px 4px; }
.case-content-wrapper h3 { margin: 0 0 6px; font-size: 17px; }
.case-content-wrapper p { margin: 0; font-size: 13px; color: var(--text-light); }
.case-next, .case-prev {
  position: absolute; top: -54px; width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: 50%; display: grid; place-items: center; color: var(--green); cursor: pointer; background: var(--white); transition: all .2s;
}
.case-next { right: 0; }
.case-prev { right: 52px; }
.case-next:hover, .case-prev:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* 案例列表页网格 */
.page-list { padding: 64px 0; }
.case-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; transition: transform .3s, box-shadow .3s; }
.case-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-item-img { width: 100%; height: 240px; overflow: hidden; background: #EFEEEA; }
.case-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.case-item:hover .case-item-img img { transform: scale(1.06); }
.case-item .case-content-wrapper { padding: 18px 20px 22px; }
.case-item-title { margin: 0 0 8px; font-size: 16px; color: var(--green); }
.case-item-content h4 { margin: 0; font-size: 16px; font-weight: 500; color: var(--green); }
.case-item-info { margin: 0; font-size: 13px; color: var(--text-light); }
.page-pagination { text-align: center; margin-top: 20px; }
.page-pagination a, .page-pagination span { display: inline-block; margin: 0 4px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; color: var(--text-light); }
.page-pagination .active { background: var(--green); border-color: var(--green); color: #fff; }

/* ============================ 单页（关于/联系） ============================ */
.detail-page { padding: 64px 0; background: var(--white); }
.detail-page .container { max-width: 1000px; }
.detail-content { line-height: 1.9; color: var(--text-light); font-size: 16px; }
.detail-content h2, .detail-content h3 { color: var(--green); margin-top: 32px; }
.detail-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }

/* 联系我们页 */
.contact-page { padding: 64px 0; background: var(--white); }
.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text); }
.contact-info-list i { color: var(--gold); font-size: 18px; width: 24px; text-align: center; }
.contact-form-box { background: var(--bg); border-radius: var(--radius); padding: 36px; }
.contact-form-box .form-group { margin-bottom: 18px; }
.contact-form-box label { display: block; font-size: 14px; color: var(--green); margin-bottom: 8px; }
.contact-form-box input, .contact-form-box textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); outline: none; font-size: 14px; font-family: inherit; }
.contact-form-box button { padding: 12px 32px; background: var(--green); color: #fff; border: none; border-radius: 100px; cursor: pointer; font-size: 14px; letter-spacing: 1px; }
.contact-form-box button:hover { background: var(--green-light); }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 320px; background: #EFEEEA; }

/* ============================ 新闻 ============================ */
.news-wrapper { background: var(--white); }
.news-item { background: var(--bg); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; transition: box-shadow .3s; }
.news-item:hover { box-shadow: var(--shadow); }
.news-item-img { padding: 0 !important; }
.news-item-img img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; display: block; }
.news-item .card-body { padding: 22px 24px; }
.card-title { margin: 0 0 10px; font-size: 17px; color: var(--text); }
.card-info { margin: 0 0 10px; font-size: 12px; color: var(--text-mute); display: flex; gap: 16px; }
.card-text { margin: 0 0 14px; font-size: 14px; color: var(--text-light); }
.more { color: var(--gold); font-size: 13px; }

/* ============================ 合作客户 ============================ */
.custom-wrapper { background: var(--bg); }
.custom-item { margin-bottom: 16px; }
.custom-item .pic { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); height: 110px; display: grid; place-items: center; padding: 16px; }
.custom-item .pic img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ============================ 留言表单 ============================ */
.contact-wrapper { background: var(--green); }
.contact-content { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-wrapper .public-title h3 { color: #fff; }
.contact-wrapper .public-title p { color: var(--gold); }
.contact-form { gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.contact-form input {
  flex: 1; min-width: 160px; padding: 14px 20px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff; border-radius: 100px; outline: none; font-size: 14px;
}
.contact-form input::placeholder { color: rgba(255,255,255,0.6); }
.contact-form button {
  padding: 14px 36px; border: none; background: var(--gold); color: var(--green); border-radius: 100px;
  font-size: 14px; letter-spacing: 1px; cursor: pointer; font-weight: 600; transition: background .2s;
}
.contact-form button:hover { background: var(--gold-light); }

/* ============================ 内页 banner ============================ */
.neibanner { position: relative; height: 360px; overflow: hidden; background: transparent !important; }
.neibanner > img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.neibannerdesc {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  background: transparent;
}
.neibannerdesc-title p { margin: 0; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; }
.neibannerdesc-title h2 { margin: 8px 0 0; color: #fff; font-size: 38px; font-weight: 300; letter-spacing: 2px; }

/* ============================ 内页导航 ============================ */
.neinav { background: rgba(27,58,47,0.35); border-bottom: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(4px); }
.neinav-wrapper { list-style: none; margin: 0; padding: 0; gap: 4px; }
.neinav-wrapper li a { display: block; padding: 16px 20px; font-size: 14px; color: rgba(255,255,255,0.85); border-bottom: 2px solid transparent; transition: all .2s; }
.neinav-wrapper li a:hover, .neinav-wrapper li.active a { color: #fff; border-bottom-color: var(--gold); }
.neiposition { font-size: 13px; color: rgba(255,255,255,0.75); }
.neiposition a { color: rgba(255,255,255,0.75); }
.neiposition a:hover { color: var(--gold); }

/* ============================ 面包屑 ============================ */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 13px; color: var(--text-light); }
.breadcrumb-bar a { color: var(--text-light); transition: color .2s; }
.breadcrumb-bar a:hover { color: var(--gold); }
.breadcrumb-bar .sep { margin: 0 10px; color: var(--border); }

/* ============================ 产品列表筛选 ============================ */
.product-filter { margin-bottom: 36px; }
.filter-row { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-title { min-width: 80px; font-size: 14px; color: var(--green); font-weight: 500; padding-top: 4px; }
.filter-values ul { list-style: none; margin: 0; padding: 0; gap: 10px; }
.filter-values li a { display: inline-block; padding: 6px 16px; border: 1px solid var(--border); border-radius: 100px; font-size: 13px; color: var(--text-light); transition: all .2s; }
.filter-values li a:hover, .filter-values li.active a { background: var(--green); border-color: var(--green); color: #fff; }

/* ============================ 产品分类 tab ============================ */
.category-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.category-tabs .tabs-item { display: inline-block; padding: 10px 24px; border: 1px solid var(--border); border-radius: 100px; font-size: 14px; color: var(--text-light); transition: all .2s; }
.category-tabs .tabs-item:hover { border-color: var(--green); color: var(--green); }
.category-tabs .tabs-item.active { background: var(--green); border-color: var(--green); color: #fff; }

/* 子分类 tab（新样式，二级分类切换） */
.sub-category-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.sub-category-tabs .sub-tabs-item { display: inline-block; padding: 10px 24px; border: 1px solid var(--border); border-radius: 100px; font-size: 14px; color: var(--text-light); transition: all .2s; cursor: pointer; }
.sub-category-tabs .sub-tabs-item:hover { border-color: var(--green); color: var(--green); }
.sub-category-tabs .sub-tabs-item.active { background: var(--green); border-color: var(--green); color: #fff; }

/* 返回筛选按钮 */
.filter-back-btn { margin-bottom: 24px; }
.filter-back-btn .btn-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; font-size: 13px; color: var(--text-light); transition: all .2s; }
.filter-back-btn .btn-back:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* 产品中心聚合页：子分类入口卡片 */
.cat-entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 24px 0 40px; }
.cat-entry-card { display: block; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .25s; background: #fff; }
.cat-entry-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-4px); border-color: var(--green); }
.cat-entry-inner { padding: 44px 38px; }
.cat-entry-inner h4 { font-size: 22px; color: var(--green); margin-bottom: 6px; }
.cat-entry-inner p { font-size: 13px; color: var(--gold); letter-spacing: 1px; margin-bottom: 16px; text-transform: uppercase; }
.cat-entry-more { font-size: 14px; color: var(--text-light); transition: color .2s; }
.cat-entry-card:hover .cat-entry-more { color: var(--green); }
@media (max-width: 768px) { .cat-entry-grid { grid-template-columns: 1fr; } }

/* ============================ 产品详情 ============================ */
.product-back-bar { padding: 24px 0 10px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text-light); transition: color .2s;
}
.back-btn:hover { color: var(--green); }
.back-btn i { font-size: 18px; }
.procontent1_l { padding: 0 12px; }
.gallery-top { height: 460px; border-radius: var(--radius); overflow: hidden; background: #EFEEEA; }
.gallery-top .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs { height: 88px; margin-top: 12px; }
.gallery-thumbs .swiper-slide { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; opacity: 0.6; cursor: pointer; }
.gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .swiper-slide-active { opacity: 1; border-color: var(--gold); }
.procontent1_r { padding: 0 12px; }
.procont_ltop h2 { font-size: 28px; font-weight: 500; margin: 0 0 8px; }
.procont_ltop p { color: var(--gold); margin: 0 0 18px; }
.procont_lbot p { color: var(--text-light); line-height: 1.9; }
.procontent_zx { gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.procontent_zx > a {
  height: 52px; padding: 0 28px; border-radius: 100px; font-size: 14px; letter-spacing: 0.5px;
  border: 1px solid var(--green); color: var(--green); transition: all .25s; gap: 8px;
}
.procontent_zx > a:hover { background: var(--green); color: #fff; }
.product-info-price { background: var(--gold); border-color: var(--gold) !important; color: var(--green) !important; }
.add-to-cart { background: var(--green); color: #fff !important; }
.add-to-cart:hover { background: var(--green-light) !important; }

/* 右侧参数表 */
.product-params-preview {
  margin-top: 22px;
  padding: 18px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.product-params-preview h4 {
  font-size: 15px;
  color: var(--green);
  margin: 0 0 14px;
  font-weight: 500;
}
.product-params-preview .product-params-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.product-params-preview .product-params-table th,
.product-params-preview .product-params-table td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.product-params-preview .product-params-table th {
  background: var(--white);
  color: var(--green);
  font-weight: 500;
  width: 30%;
}
.product-params-preview .product-params-table td {
  color: var(--text-light);
}
.btn-consult {
  background: var(--green);
  color: #fff !important;
  border-color: var(--green) !important;
}
.btn-consult:hover {
  background: var(--green-light) !important;
}

.page-content { padding: 64px 0; background: var(--white); }
.page-content-card { background: var(--bg); border-radius: var(--radius); padding: 36px; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tabs-item { padding: 0 0 16px; font-size: 15px; color: var(--text-light); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs-item.active { color: var(--green); border-bottom-color: var(--gold); font-weight: 500; }
.page-content-card .card-body { color: var(--text-light); line-height: 1.9; font-size: 15px; }
.page-content-card .card-body img { max-width: 100%; border-radius: var(--radius); }

/* ============================ 页脚 ============================ */
footer { background: #14281F; color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-link { justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-link .public-title h3 { color: #fff; font-size: 16px; }
.footer-link .public-title p { color: var(--gold); font-size: 11px; margin: 4px 0 0; }
.footer-link-wrapper { list-style: none; margin: 0; padding: 0; gap: 24px; }
.footer-link-wrapper a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color .2s; }
.footer-link-wrapper a:hover { color: var(--gold); }
.footer-menu ul { list-style: none; margin: 0; padding: 0; gap: 48px; flex: 1; }
.footer-menu li dl { margin: 0; }
.footer-menu dt { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-menu dd { margin: 0 0 10px; }
.footer-menu dd a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color .2s; }
.footer-menu dd a:hover { color: var(--gold); }
.footer-contact p { margin: 0 0 12px; font-size: 14px; color: rgba(255,255,255,0.8); }
.qrcodes { gap: 20px; margin-top: 16px; }
.qrcode-img img { width: 90px; height: 90px; border-radius: 6px; background: #fff; padding: 6px; }
.qrcode-img p { margin: 8px 0 0; font-size: 12px; color: rgba(255,255,255,0.6); text-align: center; }
.copyriht { background: #14281F; padding: 22px 0; margin-top: 0; border-top: 1px solid rgba(255,255,255,0.1); }
.copyriht p { margin: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.copyriht a { color: var(--gold); margin: 0 6px; }

#backTop { position: fixed; right: 28px; bottom: 28px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
#backTop > span {
  width: 46px; height: 46px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  cursor: pointer; box-shadow: var(--shadow); font-size: 18px; line-height: 1;
  position: relative; flex: 0 0 auto;
}
#backTop #gttop { background: var(--gold); }
#backTop .telTop, #backTop .weixin {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%) translateX(8px);
  opacity: 0; visibility: hidden; transition: all .25s ease;
  background: #fff; color: #333; padding: 9px 16px; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18); white-space: nowrap; font-size: 14px; z-index: 100;
  line-height: 1.4;
}
#backTop .weixin { padding: 10px; display: flex; align-items: center; gap: 10px; }
#backTop .weixin img { width: 90px; height: 90px; border-radius: 4px; display: block; }
#backTop .weixin b { display: none; }
#backTop > span:hover .telTop, #backTop > span:hover .weixin {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}
#backTop .telTop a { color: #333; text-decoration: none; }
#backTop .telTop::after, #backTop .weixin::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #fff;
}
@media (max-width: 768px) {
  #backTop { right: 16px; bottom: 16px; gap: 10px; }
  #backTop > span { width: 42px; height: 42px; font-size: 16px; }
  #backTop .telTop { right: 52px; padding: 8px 12px; font-size: 13px; }
}

/* ============================ 响应式 ============================ */
@media (max-width: 1024px) {
  .nav-pc { display: none !important; }
  .nav-pc.open {
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--green);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    min-width: 220px;
    max-width: 85vw;
    width: max-content;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-pc.open .menu { display: block; }
  .nav-pc.open .menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 4px 8px 4px auto;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
  }
  .menu-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    cursor: pointer;
  }
  .menu-mobile i { font-size: 22px; color: #333; }
  .search-icon, .lang-icon { color: #333; }
  .lang-btn { color: #333; }
  .nav-pc.open .menu > ul {
    flex-direction: column;
    gap: 0;
  }
  .nav-pc.open .menu > ul > li {
    width: 100%;
  }
  .nav-pc.open .menu > ul > li > a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    white-space: nowrap;
  }
  .nav-pc.open .menu > ul > li > a:hover,
  .nav-pc.open .menu > ul > li > a.active {
    color: var(--gold);
  }
  .nav-pc.open .menu > ul > li.has-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .nav-pc.open .menu > ul > li.has-sub > a {
    flex: 1 1 auto;
  }
  .nav-pc.open .sub-toggle {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    cursor: pointer;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .nav-pc.open .sub-toggle i { transition: transform .2s; }
  .nav-pc.open .sub-toggle.open i { transform: rotate(180deg); }
  .nav-pc.open .sub-menu {
    flex: 0 0 100%;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    background: rgba(0,0,0,0.16);
    padding: 0;
  }
  .nav-pc.open .sub-menu-item a {
    padding-left: 48px;
    color: rgba(255,255,255,0.88);
    white-space: nowrap;
  }
  .nav-pc.open .sub-menu-3 {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  .nav-pc.open .sub-menu-3-item a {
    padding-left: 72px;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
  }
  .about-right { padding: 32px 0; }
}
@media (max-width: 768px) {
  .main-slider, .main-slider .swiper-slide { aspect-ratio: auto; height: 300px; }
  .neibanner { height: 240px; }
  .neibannerdesc-title h2 { font-size: 26px; }
  .product-wrapper, .about-wrapper, .case-wrapper, .news-wrapper, .custom-wrapper, .contact-wrapper { padding: 56px 0; }
  .product-item .pic { height: 200px; }
  .gallery-top { height: 320px; }
  .footer-menu { display: none !important; }
  .footer-contact { text-align: center; margin-top: 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-item .pic { height: 200px; }
}

/* ============================================================
   Delightful Experience Enhancements — Refined Delight
   调性：北欧极简 + 墨绿金，克制的优雅愉悦，绝不幼稚
   ============================================================ */

/* 文字选中 — 金色高亮 */
::selection { background: var(--gold); color: #fff; }

/* ---------- 统一按钮系统 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 30px; font-size: 14px; font-weight: 500; letter-spacing: 1px;
  border: 1px solid var(--green); border-radius: var(--radius); color: #fff; background: var(--green);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .25s cubic-bezier(.23,1,.32,1), box-shadow .25s, color .3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(216,189,134,.5) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:hover::before { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn--gold:hover { background: var(--gold-light); color: var(--green); }

/* ---------- 在线咨询按钮（详情页）升级：墨绿→金填充扫光 ---------- */
.btn-consult {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s cubic-bezier(.23,1,.32,1), box-shadow .25s, color .3s !important;
}
.btn-consult::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.23,1,.32,1);
}
.btn-consult:hover { background: transparent !important; color: var(--green) !important; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.btn-consult:hover::before { transform: scaleX(1); }
.btn-consult:active { transform: scale(.97) !important; }

/* ---------- "更多" 下划线生长 ---------- */
.public-more { position: relative; }
.public-more::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.public-more:hover::after { width: 100%; }

/* ---------- 卡片金色描边渐显 ---------- */
.product-item-wrapper::after, .case-item::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  border: 1px solid var(--gold); opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.product-item-wrapper:hover::after, .case-item:hover::after { opacity: 1; }

/* ---------- Banner 文字错落入场 ---------- */
.main-slider__content h2,
.main-slider__content p,
.main-slider__content .more {
  opacity: 0; transform: translateY(26px);
  animation: delight-rise .85s cubic-bezier(.23,1,.32,1) forwards;
}
.main-slider__content h2 { animation-delay: .15s; }
.main-slider__content p { animation-delay: .32s; }
.main-slider__content .more { animation-delay: .49s; }
@keyframes delight-rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- 回到顶部金色微光 ---------- */
#backTop > span { transition: background .3s, transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s; }
#backTop > span:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
#backTop #gttop { transition: background .3s, transform .4s; }
#backTop #gttop:hover { background: var(--gold-light); transform: rotate(360deg); }

/* ---------- 顶部滚动进度条 ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--gold));
  z-index: 9999; transition: width .12s linear; pointer-events: none;
}

/* ---------- 图片优雅淡入（渐进增强，仅 JS 启用时隐藏） ---------- */
.js .img-fade { opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform .7s ease; }
.js .img-fade.is-visible { opacity: 1; transform: scale(1); }

/* ---------- 表单聚焦金色描边 ---------- */
.contact-form input, .contact-form-box input, input[type="text"], input[type="tel"], textarea {
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s;
}
.contact-form input:focus, input[type="text"]:focus, input[type="tel"]:focus, textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,163,95,.16); outline: none;
}

/* ---------- 无障碍：尊重「减少动效」偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .img-fade { opacity: 1 !important; transform: none !important; }
}

/* ---------- 案例详情图集 ---------- */
.case-gallery { margin: 32px 0 16px; }
.case-gallery h4 {
  font-size: 20px; color: var(--primary); margin-bottom: 20px;
  position: relative; padding-left: 16px;
}
.case-gallery h4::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px;
  background: var(--gold); border-radius: 2px;
}
.case-gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.case-gallery-item {
  border-radius: var(--radius); overflow: hidden;
  background: #f5f5f5; aspect-ratio: 4 / 3;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case-gallery-item:hover {
  transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.case-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 768px) {
  .case-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .case-gallery h4 { font-size: 18px; }
}

/* ---------- 详情页返回按钮（醒目金色版） ---------- */
.page-back-bar {
  padding: 24px 0 8px;
  background: var(--bg);
}
.case-back-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px 12px 22px;
  background: linear-gradient(135deg, var(--gold) 0%, #D4B26F 100%);
  color: #fff !important;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 18px rgba(200,163,95,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.case-back-btn i {
  font-size: 20px; line-height: 1;
  transition: transform .35s var(--ease);
}
.case-back-btn:hover {
  transform: translateX(-6px);
  box-shadow: 0 10px 26px rgba(200,163,95,0.6), inset 0 1px 0 rgba(255,255,255,0.45);
  color: #fff !important;
  background: linear-gradient(135deg, #D4B26F 0%, var(--gold) 100%);
}
.case-back-btn:hover i { transform: translateX(-3px); }
.case-back-btn:active { transform: translateX(-4px) scale(0.98); }

/* ---------- 移动端返回按钮 ---------- */
@media (max-width: 576px) {
  .case-back-btn { padding: 10px 22px 10px 18px; font-size: 14px; }
}

/* ============================ 首页公司简介 ============================ */
.about-wrapper { padding: 80px 0; background: var(--white); }
.about-left .public-title { margin-bottom: 24px; }
.about-text { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.about-right { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 !important; }
.about-right img { width: 100%; height: 400px; object-fit: cover; object-position: 20% center; transform: scale(1.08); display: block; }

/* ============================ 首页项目案例 ============================ */
.case-wrapper { padding: 80px 0; background: var(--bg); }
.case-list { margin: 0 -12px; }
.case-list .case-item { margin-bottom: 24px; }
.case-more { margin-top: 40px; }

/* ============================ 首页联系我们 ============================ */
.contact-info-wrapper { padding: 80px 0; background: var(--white); }
.contact-info-list { margin-top: 40px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--bg); border-radius: var(--radius); margin-bottom: 20px; }
.contact-info-item i { font-size: 24px; color: var(--gold); margin-top: 4px; }
.contact-info-item h4 { margin: 0 0 8px; font-size: 16px; color: var(--green); }
.contact-info-item p { margin: 0; font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* 产品参数表格 */
.params-preview-content { white-space: pre-line; }
.params-tab-content { white-space: pre-line; }
.product-params-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-params-table th,
.product-params-table td { padding: 12px 16px; border-bottom: 1px solid #E8E6E1; text-align: left; vertical-align: top; }
.product-params-table th { width: 35%; color: var(--green, #1B3A2F); font-weight: 600; white-space: nowrap; }
.product-params-table td { color: var(--text-light, #555); }
.product-params-table tr:last-child th,
.product-params-table tr:last-child td { border-bottom: none; }
