/* Hero首屏 */
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}
.swiper-item {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.swiper-item.active {
  opacity: 1;
}
.swiper-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 轮播banner背景图：切换时缓缓滑动一次 */
.banner-img {
  width: 108%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 默认停在起始位置 */
  transform: translateX(-2.5%);
}
/* 带 move-active 类才执行单次微动动画，结束后定格 */
.banner-img.move-active {
  animation: swiperMicroMove 12s ease-in-out forwards;
}
@keyframes swiperMicroMove {
  0% { transform: translateX(-2.5%); }
  100% { transform: translateX(2.5%); }
}

.swiper-text {
  position: absolute;
  left: 16px;
  bottom: 64px;
  color: #fff;
  z-index: 2;
}
@media (min-width:768px) { .swiper-text { left: 32px; } }
@media (min-width:1024px) { .swiper-text { left: 64px; } }
@media (min-width:768px) { .swiper-text h1 { font-size: 30px; margin-bottom: 16px; color: var(--muted-foreground); } }
@media (max-width:767.98px) { .swiper-text h1 { font-size: 20px; margin-bottom: 16px; color: #fff; } }
@media (max-width:767.98px) { .swiper-text p { font-size: 14px; margin-bottom: 16px; color: #fff; } }
@media (min-width:1024px) { .swiper-text h1 { font-size: 40px; margin-bottom: 16px; color: var(--muted-foreground); } }
@media (min-width:768px) {.swiper-text p { font-size: 18px; color: var(--muted-foreground); }}
@media (min-width:1024px){.swiper-text p { font-size: 18px; color: var(--muted-foreground); }}
.swiper-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index:2;
}
.dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}
.dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* 产品区域 4:3卡片 */
#products { padding: 80px 0; }
/* 产品中心宽度 80% */
#products > .container {
  width: 80%;
  max-width: 80%;
}
@media (max-width:767px) {
  #products > .container { width: 90%; max-width: 90%; }
}
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
@media (min-width:768px) { .section-head h2 { font-size: 40px; } }
.section-head p { color: var(--muted-foreground); }
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width:768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-long), box-shadow var(--transition-long);
  border-radius: 12px;
}
/* 旧内核（Chromium <88）不支持 aspect-ratio：用 padding 撑起 4:3 高度，避免卡片塌陷 */
@supports not (aspect-ratio: 4 / 3) {
  .product-card { height: 0; padding-bottom: 75%; }
}
.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(50,50,50,0.12);
}
.product-img, .product-video {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.product-video { opacity: 0; }
@media (min-width:768px) {
  .product-card:hover .product-img { opacity: 0; }
  .product-card:hover .product-video { opacity: 1; }
}
@media (max-width:767px) { .product-video { display: none !important; } }
.product-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, #000, rgba(0,0,0,0.6), transparent);
  color: #fff;
}
.product-tag {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color:#fff;
  margin-bottom: 8px;
}
.product-name { font-size: 24px; margin-bottom: 8px; }
@media (min-width:768px) { .product-name { font-size: 32px; } }
.product-link { color: #ddd; text-decoration: none; }

/* 业务区：宽度85% 3:2图文 文字黑色 */
#business { padding: 80px 0; }
.business-stack { display: flex; flex-direction: column; gap: 54px; }
.business-card {
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 5fr 4fr;
}
.business-card.reverse { grid-template-columns: 4fr 5fr; }
.business-text-side {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--business-black);
  color: #ffffff;
}
.business-img-side { overflow: hidden; }
.business-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.business-card:hover .business-bg { transform: scale(1.05); }
.business-text h3 { font-size: 24px; margin-bottom: 12px; color: #fff; }
@media (min-width:768px) { .business-text h3 { font-size: 32px; } }
.business-text p { color: #bbbbbb; margin-bottom: 16px; line-height: 1.6; }
.business-link { color: #bbbbbb; }
.business-link:hover{ color: #fff; }

/* 服务区：去除黄色箭头，全部灰色半透 */
#services { padding: 80px 0; }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width:768px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 16px;
}
.service-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 16px;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.service-text { flex: 1; }
.service-text h3 { font-size: 20px; margin-bottom: 8px; color: #fff; }
.service-text p { color: rgba(255,255,255,0.8); font-size: 14px; }
.service-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(50,50,50,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}
.service-card:hover .service-arrow {
  background: rgba(50,50,50,0.4);
}

/* 实时动态板块 */
#news { padding:80px 0; }
#news a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-base);
}
#news a:hover { color: var(--foreground); }
.news-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}
@media(min-width:768px){
  .news-grid{ grid-template-columns:repeat(3,1fr); }
}
.news-card{
  border-radius:12px;
  overflow:hidden;
  background:var(--card);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
}
#news .news-card{
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
}
.news-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
.news-img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.news-card:hover .news-img { transform: scale(1.07); }
/* 缩略图容器（参考实时动态栏目模板） */
.news-thumb{
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.news-thumb .news-img { height: 100%; }
/* 分类角标 */
.news-cat{
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
}
.news-body{
  padding:22px;
}
.news-date{
  font-size:13px;
  color:var(--muted-foreground);
  margin-bottom:8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-date::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #999;
}
.news-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:10px;
  line-height:1.45;
  color: var(--foreground);
  text-decoration: none;
  display: block;
}
#news .news-title:hover { color: #111; }
.news-desc{
  font-size:14px;
  color:var(--muted-foreground);
  line-height:1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more{
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-base);
}
#news .news-more:hover { color: var(--foreground); }

/* 展会信息板块 */
#exhibition{ padding:80px 0; background:#f7f7f7; }
#exhibition a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-base);
}
#exhibition a:hover { color: var(--foreground); }
.exhi-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}
@media(min-width:768px){
  .exhi-grid{ grid-template-columns:repeat(2,1fr); }
}
.exhi-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
}
#exhibition .exhi-card{
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
}
.exhi-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.1);
}
.exhi-img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.exhi-card:hover .exhi-img { transform: scale(1.07); }
.exhi-media{
  position: relative;
  overflow: hidden;
}
.exhi-badge{
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 1px;
}
.exhi-badge.hot { background: #c0392b; }
.exhi-badge.done { background: rgba(0,0,0,0.6); }
.exhi-badge.pre { background: #2c6e9e; }
.exhi-body{
  padding:24px;
}
.exhi-tag{
  display:inline-block;
  background:#333;
  color:#fff;
  font-size:12px;
  padding:3px 10px;
  border-radius:4px;
  margin-bottom:12px;
}
.exhi-title{
  font-size:20px;
  font-weight:500;
  margin-bottom:10px;
}
.exhi-meta{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.exhi-meta li{
  font-size: 14px;
  color: #555;
  display: flex;
  gap: 8px;
}
.exhi-meta li span{
  color: #999;
  min-width: 44px;
  flex: none;
}

/* 移动端适配 */
@media (max-width:767px) {
  .business-card, .business-card.reverse {
    grid-template-columns: 1fr;
  }
  .business-img-side { height: 260px; }
}

/* 抽屉菜单第8个导航项（全局统一导航） */
.drawer.open .nav-list a:nth-child(8) {
  transition-delay: 0.66s;
  opacity: 1;
  transform: translateX(0);
  padding-left: 20px;
}

/* 业务相关区块宽度收窄为 75% */
#services > .container,
#news > .container,
#exhibition > .container {
  width: 75%;
}

/* ---------- 预约参观弹窗 ---------- */
.book-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 400;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.book-modal.open { opacity: 1; pointer-events: auto; }
.book-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 34px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  transform: translateY(16px) scale(.98);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.book-modal.open .book-panel { transform: translateY(0) scale(1); }
.book-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.06);
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), transform var(--transition-base);
}
.book-close:hover { background: rgba(0,0,0,.14); transform: rotate(90deg); }
.book-title { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.book-exhi {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 18px;
  line-height: 1.6;
}
.book-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book-benefits li {
  font-size: 14px;
  color: #333;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f5f7;
  border-left: 3px solid var(--primary);
  line-height: 1.5;
}
.book-form { display: flex; flex-direction: column; gap: 16px; }
.book-field { display: flex; flex-direction: column; gap: 6px; }
.book-field span { font-size: 14px; color: #333; }
.book-field input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.book-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.book-submit {
  height: 48px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--transition-base);
}
.book-submit:hover { background: #111; }
.book-success {
  text-align: center;
  color: #2e7d32;
  font-size: 16px;
  padding: 40px 0;
  line-height: 1.8;
}
.book-error {
  text-align: center;
  color: #c62828;
  font-size: 14px;
  padding: 14px 0 0;
  line-height: 1.6;
}
.book-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}
@media (max-width:767px) {
  .book-panel { padding: 32px 22px 26px; }
}
