﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --brand-red: #E30613;
    --brand-grey: #71717a;
    --lh-red: #E60012;
    --lh-dark: #1A1A1A;
    --lh-gray: #F8F9FA;
    --lh-border: #E5E7EB;
    --smooth-easing: cubic-bezier(0.19, 1, 0.22, 1);
    --brand-red-light: #fff5f5;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
}
.text-red-500{
    color:var(--brand-red)
}
/* .nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 6s ease;
} */
.dropdown-menu {
    /* 不要用 display: none; */
    display: block; 
    
    /* 使用 visibility 控制隐藏和显示 */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    
    /* 这里的 6s 只是为了让你看清效果，实际建议 0.3s */
    transition: all 0.3s ease; 
    
    /* 必要的定位（防止撑开导航栏） */
    position: absolute; 
}

.nav-item:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.max-w-75xl{max-width: 100rem;}
.w-75xl{width: 100rem;}

/* @* .hero-bg {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), 
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
} *@ */



.content-box {
    position: relative;
    z-index: 2;
    /* @* height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px; *@ */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.red-accent { color: var(--brand-red); }
.bg-red-accent { background-color: var(--brand-red); }

/* 自定义滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--brand-red); border-radius: 4px; }

/* 卡片悬浮动画 */
.hover-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

/* 导航栏动态效果 */
nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    backdrop-filter: blur(10px);
}

/* 移动端菜单过渡 */
/* #mobile-menu {
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
} */
  #mobile-menu {
    transform: translateX(0%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
  }

  /* 菜单打开时 */
  #mobile-menu.is-open {
    transform: translateX(-100%);
    opacity: 1;
  }

  /* 菜单关闭时：确保滑动平滑 */
  #mobile-menu.is-closing {
    transform: translateX(0%);
    opacity: 0;
  }

  .mobile-link {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    display: inline-block;
  }

  /* 点击时的压感动效 */
  .mobile-link.is-active {
    transform: scale(0.85);
    color: #ef4444; /* red-500 */
  }

/* 图片缩放悬浮 */
.img-zoom-container {
    overflow: hidden;
}
.img-zoom-container img {
    transition: transform 0.6s ease;
}
.img-zoom-container:hover img {
    transform: scale(1.1);
}

.hover-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.red-accent { color: var(--brand-red); }
.bg-red-accent { background-color: var(--brand-red); }

/* 背景装饰线条效果 */
.card-bg-decoration {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 8rem;
    color: rgba(227, 6, 19, 0.03);
    z-index: -1;
    transition: all 0.5s ease;
}

.hover-card:hover .card-bg-decoration {
    transform: scale(1.1) rotate(-10deg);
    color: rgba(227, 6, 19, 0.05);
}

/* 还原 image_b5d4b4.jpg 中的深色数据块样式 */
.stat-box {
    background-color: rgba(45, 35, 35, 0.8); /* 深褐红色背景 */
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.stat-box:hover {
    background-color: rgba(60, 45, 45, 1);
    transform: translateY(-5px);
}

/* 证书容器：还原设计稿中的垂直长方形比例 */
.cert-badge-svg {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    opacity: 0.2;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.cert-card:hover .cert-badge-svg {
    opacity: 0.8;
    color: var(--brand-red);
    transform: rotate(15deg);
}
.cert-card {
    background-color: #fcfcfc;
    border: 1px solid #eeeeee;
    padding: 2.5rem 1rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 2px;
}

.cert-card:hover {
    background-color: #ffffff;
    border-color: var(--brand-red);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* 模拟证书图标/占位 */
.cert-icon-wrapper {
    width: 100px;
    height: 140px;
    background-color: #f3f3f3;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.cert-icon-wrapper::after {
    content: 'ISO';
    font-size: 10px;
    font-weight: 900;
    color: #cccccc;
    letter-spacing: 2px;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.cert-subtitle {
    font-size: 0.75rem;
    color: #999999;
    letter-spacing: 1px;
    /* text-transform: uppercase; */
}

.section-tag {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.title-line {
    width: 40px;
    height: 2px;
    background-color: var(--brand-red);
    margin: 1.5rem auto 0;
}

/* 按钮特定样式优化 */
.btn-outline-white {
    @apply bg-white text-red-600;
}

.btn-solid-red {
    @apply bg-red-600 text-white border border-red-600;
    transition: all 0.3s ease;
}
.btn-solid-red:hover {
    @apply bg-red-700 border-red-700 shadow-lg;
}

.btn-cta-white {
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px 32px;
    border-radius: 4px; /* 更加方正的圆角，符合工业感 */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    transition: all 0.3s ease;
}
.btn-cta-white:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
}

.btn-cta-outline {
    background-color: transparent;
    color: #FFFFFF;
    padding: 10px 32px;
    border-radius: 4px;
    border: 1px solid #FFFFFF;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}
.btn-cta-outline:hover {
    background-color: rgba(255,255,255,0.1);
    transform: scale(1.02);
}

/* 了解更多链接样式 */
.link-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    color: #374151; /* gray-700 */
    transition: color 0.3s ease;
}
.link-more:hover {
    color: var(--brand-red);
}
.link-more i {
    margin-left: 8px;
    font-size: 0.8rem;
    line-height: .95rem;
    transition: transform 0.3s ease;
}
.link-more:hover i {
    transform: translateX(5px);
}
.hover-card { transition: all 0.4s ease; }
.hover-card:hover { transform: translateY(-8px); }

/* Logo 容器样式 */
.logo-container img {
    height: 32px;
    width: auto;
    object-fit: contain;
    /* @* filter: brightness(0) invert(1);  *@ */
    /* 默认白色 Logo */
}
section.py-24{overflow: hidden;}
@media (max-width: 480px){
    .logo-container img {height: 24px;}
    html{font-size: 14px;}
}


/* 关于我们 */
.text-lh-red { color: var(--lh-red); }
.bg-lh-red { background-color: var(--lh-red); }
.border-lh-red { border-color: var(--lh-red); }

.timeline-container {
position: relative;
padding: 80px 0;
overflow: hidden;
}

/* 中央水平虚线 */
.central-line {
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 2px;
border-top: 2px dashed var(--brand-red);
transform: translateY(-50%);
z-index: 1;
}

/* 垂直连接线 */
.connector-line {
position: absolute;
width: 2px;
background-color: var(--brand-red);
left: 50%;
transform: translateX(-50%);
}

.connector-up {
bottom: 111%;
height: 60px;
}

.connector-down {
top: 34%;
height: 60px;
}

/* 年份圆圈 */
.year-circle {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: white;
z-index: 10;
position: relative;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bg-teal { background-color: var(--brand-red); }
.bg-grey { background-color: var(--brand-grey); }

/* 图片装饰 */
.milestone-img {
max-width: 180px;
border-radius: 4px;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
margin-top: 10px;
}

@media (max-width: 768px) {
.central-line {
    display: none;
}
.timeline-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
}
.connector-line {
    display: none;
}
}
  /* 隐藏默认滚动条但保留滚动功能 */
  .hide-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

  /* 拖拽时光标样式 */
  .grab-container {
    cursor: grab;
  }
  .grab-container:active {
    cursor: grabbing;
  }

  /* 卡片悬浮升起与阴影 */
  .timeline-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(227, 6, 19, 0.1), 0 8px 10px -6px rgba(227, 6, 19, 0.1);
    border-color: var(--brand-red);
  }

  /* 呼吸灯节点光环 (红色 #E30613) */
  .glow-ring {
    position: relative;
  }
  .glow-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background-color: rgba(227, 6, 19, 0.25);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
  }

  /* 呼吸灯节点光环 (深红点缀 #E60012 - 特殊节点) */
  .glow-ring-lh {
    position: relative;
  }
  .glow-ring-lh::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background-color: rgba(230, 0, 18, 0.3);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
  }

  @keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
  }
/* 无缝跑马灯动画 */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 18)); }
}

.slider {
    background: transparent;
    height: 400px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* 核心修改：悬停时暂停动画 */
.slider:hover .slide-track {
    animation-play-state: paused;
}

/* 边缘羽化，去除硬边 */
.slider::before, .slider::after {
    background: linear-gradient(to right, #0a0a0a 0%, rgba(10, 10, 10, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
    pointer-events: none; /* 确保遮罩不阻挡鼠标悬停事件 */
}
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 112s linear infinite;
    display: flex;
    width: calc(300px * 36); /* 证书宽度 * 数量（含重复项） */
}

.slide-item {
    height: 350px;
    width: 300px;
    padding: 25px;
    perspective: 1000px;
    flex-shrink: 0;
}

.honor-card {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.5s var(--smooth-easing);
    backdrop-filter: blur(10px);
    filter: grayscale(0.4) opacity(0.9);
    border-radius: 4px;
}

/* 悬停时的增强效果 */
.slide-item:hover .honor-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-red);
    transform: scale(1.05) translateY(-5px);
    filter: grayscale(0) opacity(1);
    box-shadow: 0 20px 40px rgba(190, 24, 93, 0.15);
}

.cert-img {
    max-width: 90%;
    max-height: 75%;
    object-fit: contain;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    transition: transform 0.5s var(--smooth-easing);
}

.slide-item:hover .cert-img {
    transform: scale(1.02);
}

/* 数字背景 */
.bg-number {
    font-size: 20vw;
    font-weight: 900;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.015);
    position: absolute;
    z-index: -1;
    left: 5%;
    top: 5%;
    pointer-events: none;
}

.scroll-hint {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
    text-transform: uppercase;
}


/* 通用内页 Banner */
.inner-banner {
    height: 45vh;
    background-color: var(--lh-dark);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.inner-banner::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -20%;
    width: 40%;
    height: 80%;
    background: var(--lh-red);
    opacity: 0.1;
    transform: rotate(-15deg);
}

/* 制造实力 */
.bg-watermark {
    position: absolute;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.h-48.overflow-hidden.rounded.mb-4 img{transition: transform 0.6s ease;}

.img-box {
    position: relative;
    overflow: hidden;
    background-color: #f3f4f6;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.img-box:hover img {
    transform: scale(1.08);
}
.img-box:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.bg-dark-section{
    background-color: #0a0a0a;
    color: #ffffff;
}
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.equipment-card img{
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1.3;
}
/* 案例 */
.category-tab {
    position: relative;
    cursor: pointer;
    padding: 10px 0;
    color: #888;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
}
.category-tab.active { color: var(--brand-red); font-weight: bold; }
.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 2px;
    background: var(--brand-red);
}
/* 你原有的单行样式，增加纵向居中对齐 */
.nav-container {
    display: flex;
    align-items: center;
    overflow-x: auto;
    /* 核心修改：移除原有的 space-x，改用 gap */
    gap: 24px; 
    /* 核心修改：右侧增加足够的 padding，防止内容被右侧的下拉箭头遮挡 */
    padding-right: 64px; 
    white-space: nowrap;
}
.category-tab {
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: #666; /* 稍微加深一点初始文字颜色，提高手机端可读性 */
    transition: all 0.2s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.category-tab.active { color: var(--brand-red); font-weight: 600; }
.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px; /* 加粗到3px，更符合移动端视觉习惯 */
    background: var(--brand-red);
    border-radius: 2px 2px 0 0;
}

/* 🎯 新增：下拉面板中“胶囊按钮”的精美样式 */
.menu-item {
    display: block;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    color: #555;
    background-color: #f6f6f6;
    border-radius: 6px;
    transition: all 0.2s ease;
    /* 防止多字换行挤压 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
}
/* 下拉面板中的当前激活状态：变红底白字或者红底红字 */
.menu-item.active {
    background-color: #fff0f0; /* 浅红底 */
    color: var(--brand-red); /* 红字 */
    font-weight: 600;
}

/* 依旧保留的隐藏滚动条代码 */
.scrollbar-none {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar { display: none; }
/* 确保渐变层能平滑过渡 */
.gradient-mask {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px; /* 宽度适中 */
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none; /* 让点击事件穿透 */
    z-index: 10;
}

/* 案例卡片：纯白背景+微弱阴影 */
.case-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}
.case-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--brand-red);
}
.nav-link { font-size: 13px; color: #999; transition: all 0.3s; position: relative; }
.nav-link:hover, .nav-link.active { color: #000; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 1.5px; background: #be185d;
}

/* 案例图片容器 */
.case-thumb {
    aspect-ratio: 1 / 1;
    background-color: #f8f8f8;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.5s ease;
}
.case-thumb:hover { border-color: #be185d; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover img { transform: scale(1.05); }

/* 分页按钮 */
.page-num {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    font-size: 13px; border: 1px solid #eee; transition: all 0.3s; color: #666;
}
.page-num:hover, .page-num.active { border-color: #000; color: #000; background: #fcfcfc; }
/* 案例详情 */
.tech-card { border-left: 4px solid var(--brand-red); background: #f9fafb; padding: 1.5rem; margin-bottom: 1.5rem; }
.detail-content h3 { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 1rem; display: flex; align-items: center; }
.detail-content h3::before { content: ""; width: 8px; height: 8px; background: var(--brand-red); border-radius: 50%; margin-right: 12px; }
.detail-content p { color: #4b5563; line-height: 1.8; margin-bottom: 1.5rem; text-align: justify; }
.detail-content rounded-xl p{margin-bottom: 0;}
.process-step { position: relative; padding-left: 2rem; border-left: 1px dashed #d1d5db; padding-bottom: 2rem; }
.process-step::after { content: ""; position: absolute; left: -5px; top: 0; width: 9px; height: 9px; background: var(--brand-red); border-radius: 50%; }
.sticky-sidebar { position: sticky; top: 2rem; }
/* 新闻 */
.news img{object-fit: ;height: 16rem;}
.prose p{margin-bottom: 1rem;}
.prose img{margin-bottom: 1rem;max-height: 25rem;display: block;margin-left: auto;margin-right: auto;}