
/* ===============================
   Swiper Core (Merged)
================================ */
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.swiper-pagination-bullet {
  background: rgba(255,255,255,.6);
}
.swiper-pagination-bullet-active {
  background: #fff;
}
/* ==================================================
   01 · 基础动画 & 进入视图
================================================== */
.fade-up,
.fade-left,
.fade-right,
.fade-scale {
  opacity: 0;
  will-change: transform, opacity;
  transition: all .8s cubic-bezier(.25,.46,.45,.94);
}
.fade-up    { transform: translateY(40px); }
.fade-left  { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }
.fade-scale { transform: scale(.95); }

.in-view {
  opacity: 1;
  transform: none;
}

/* ==================================================
   02 · Hover 微交互
================================================== */
.hover-float {
  transition: transform .4s ease, box-shadow .4s ease;
}
.hover-float:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.img-zoom img {
  transition: transform .6s ease;
}
.img-zoom:hover img {
  transform: scale(1.08);
}

/* ==================================================
   03 · Header / 导航（全站统一）
================================================== */
#site-header {
  transition: all .4s ease;
}

.site-logo img {
  height: 60px;
  transition: all .3s ease;
}

#site-header.shrink .site-logo img {
  height: 42px;
}

.apple-nav {
  background: #0D547E;
}

.apple-nav .nav-link {
  color: #fff !important;
  padding: 14px 18px;
  transition: background .3s ease;
}

.apple-nav .nav-link:hover,
.apple-nav .nav-item.active > .nav-link {
  background: #0B4666;
}

/* 下拉菜单 */
.apple-dropdown { position: relative; }

.apple-menu {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 260px;
  background: rgba(13,84,126,.96);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  z-index: 999;
}

.apple-dropdown:hover .apple-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.apple-menu-inner {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.apple-menu-inner a {
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
}

.apple-menu-inner a:hover {
  background: rgba(255,255,255,.15);
  transform: translateX(4px);
}

/* ==================================================
   04 · Hero 视频 Banner
================================================== */

.hero-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* 视频容器 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  z-index: 0;
}

/* iframe / video 通用全屏铺满规则 */
.hero-video iframe,
.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 67.5vw; /* 16:9 */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* 👈 video 生效的关键 */
  pointer-events: none; /* 禁止点击 */
}

/* 遮罩 */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 1;
}

/* 内容层 */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 18vh 0 0 8vw;
  color: #fff;
}

.hero-content h1 {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-content p {
  font-size: 18px;
  margin-top: 14px;
  opacity: .85;
}

.hero-btn {
  margin-top: 24px;
  padding: 14px 34px;
  background: #fff;
  color: #0b2d44;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
}

/* ==================================================
   05 · Products（重点模块，三列）
================================================== */
.product-section {
  padding: 90px 0;
  background: #f9fafb;
}

.product-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-subtitle {
  font-size: 14px;
  opacity: .6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 50px;
}

.product-card {
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .4s ease, box-shadow .4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

.product-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}

.product-info {
  margin-top: 12px;
}

.product-info h5 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: #111;
}

.product-info span {
  font-size: 12px;
  opacity: .55;
}

.product-more-btn {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 30px;
  background: #0D547E;
  color: #fff;
  font-weight: 500;
  transform: translateY(-10px); /* 上移按钮 */
  transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}

.product-more-btn:hover {
  transform: translateY(-15px); /* 鼠标悬停时进一步上移 */
}

/* ==================================================
   06 · About – 现代卡片（关键）
================================================== */
.about-modern {
  position: relative;
}

.about-bg {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
  
    /* 👇 这里是关键 */
    padding-top: 100px;   /* 卡片真实起点 */
    padding-bottom: 100px;
  }
  

.about-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,28,44,.45);
}

.about-bg .container {
  position: relative;
  z-index: 2;
}

.about-card {
    max-width: 520px;
    padding: 42px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
  }
  

.about-tag {
  font-size: 12px;
  letter-spacing: .14em;
  color: #0D547E;
  font-weight: 600;
}

.about-card h2 {
  font-size: 34px;
  margin: 12px 0 14px;
}

.about-desc {
  font-size: 15px;
  color: #555;
}

.about-points {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  font-size: 14px;
  margin-bottom: 6px;
}

.about-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 34px;
  background: #0D547E;
  color: #fff;
  border-radius: 30px;
}


/* ==================================================
   07 · Expo Gallery + Lightbox
================================================== */
.expo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 40px 0;
}

.expo-gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.expo-gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  z-index: 9999;
  text-align: center;
  padding-top: 50px;
}

.lightbox-img {
  max-width: 85%;
  max-height: 80vh;
  border-radius: 10px;
}
/* ==================================================
   顶级品牌栏 · 左图标 + 右两行文字（企业标准）
================================================== */
.brand-wrap {
    display: flex;          /* 横向 */
    align-items: center;    /* 垂直居中 */
    gap: 12px;
    text-decoration: none;
    height: 60px;
  }
  
  /* Logo 固定尺寸，不参与拉伸 */
  .brand-logo {
    height: 42px;
    width: auto;
    flex-shrink: 0;
  }
  
  /* 右侧文字：上下两行 */
  .brand-info {
    display: flex;
    flex-direction: column;   /* 关键：上下排列 */
    line-height: 1.2;
  }
  
  /* 主标题 */
  .brand-name {
    font-size: 16px;
    font-weight: 600;
    color: #0D547E;
    letter-spacing: 0.08em;
  }
  
  /* 副标题 */
  .brand-sub {
    font-size: 12px;
    color: #6c7a89;
    margin-top: 2px;
  }
  
  /* 移动端微调 */
  @media (max-width: 576px) {
    .brand-logo {
      height: 36px;
    }
    .brand-name {
      font-size: 14px;
    }
    .brand-sub {
      font-size: 11px;
    }
  }

  /* ===============================
   Manufacturing Capability
================================ */
.manufacturing-capability {
  padding: 100px 0;
  background: #f9fafb;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 600;
}

.section-head p {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.capability-block {
  margin-top: 80px;
}

.capability-block h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #0D547E;
}

/* ===== Materials ===== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.material-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.material-bar {
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin: 14px 0;
  overflow: hidden;
}

.material-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,#0D547E,#2fa4dc);
  transition: width 1.2s ease;
}

.in-view .material-bar span {
  width: attr(data-width);
}

/* ===== Factory Capability ===== */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}

.capability-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

/* ===== Workflow ===== */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 16px;
}

.workflow-steps .step {
  background: #fff;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.workflow-steps span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #0D547E;
  margin-bottom: 6px;
}

/* ===== Certifications ===== */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.cert-item {
  padding: 10px 18px;
  background: #eef3f7;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  color: #0D547E;
}

  
  
/* ==================================================
   08 · Responsive（统一收口）
================================================== */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .apple-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
  }

  .expo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
