/*
Theme Name: 航天中伟2026
Author: DanielYu
Description: 2026
Version: 1.0
*/

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: auto; /* 滚动容器统一交给 html，smooth scroll 才能生效 */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    line-height: 1.5;
    overflow-x: hidden;
    /* 移除 overflow-y:auto —— body 作为滚动容器会导致 smooth scroll 完全失效 */
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #38bdf8;
    --gray-bg: #f8fafc;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --card-hover-shadow: 0 20px 30px -12px rgba(37, 99, 235, 0.15);
    --border-light: #eef2ff;
    --dark-bg: #0b1120;
    --text-dark: #1e293b;
    --text-muted: #4b5563;
    --text-light: #64748b;
    --text-gray: #334155;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.1);
    --transition: 0.2s;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-radius-xl: 28px;
    --border-radius-2xl: 32px;
    --border-radius-full: 40px;
}

p {
    font-size: 0.9rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- HEADER & NAVIGATION ---------- */
.sticky-top {
    position: relative;   /* 默认不固定，跟随文档流 */
    top: 0;
    z-index: 100;
    background-color: var(--white);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

/* 滚动超过阈值后，JS 添加此类 */
.sticky-top.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    animation: headerSlideDown 0.35s ease forwards;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* 给 body 加 padding-top，防止 header 固定后内容跳动 */
body.header-sticky-active {
    padding-top: 0;  /* 初始化为0，JS 会动态设置 */
    transition: padding-top 0.35s ease;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    background-color: var(--white);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links>li>a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    height: 1.9rem;
    line-height: 1.9rem;
}

.nav-links>li>a:hover {
    color: var(--primary-color);
}

/* PC端导航高亮样式 */
.nav-links > li > a.active {
    color: var(--primary-color);
}

/* 下拉菜单中的子分类高亮 */
.dropdown-menu a.active {
    background: #eff6ff;
    color: var(--primary-color);
}

/* 移动端导航高亮样式 */
.mobile-nav-links > li > a.active {
    color: var(--primary-color);
}

/* 移动端子菜单高亮 */
.mobile-submenu a.active {
    color: var(--primary-color);
    background: #eff6ff;
}

/* dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 1.9rem;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1050;
    list-style: none;
    border: 1px solid var(--border-light);
    display: block;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 8px 20px;
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: var(--border-radius-full);
    transition: var(--transition);
    color: #475569;
}

.lang-link.active {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    border: 1.5px solid var(--primary-color);
    background: transparent;
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: 0.25s;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
    margin-left: auto;
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1061;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-container {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.mobile-nav-links {
    list-style: none;
    flex: 1;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--gray-bg);
    border-radius: var(--border-radius-md);
    margin: 0;
}

.mobile-submenu.show {
    max-height: 300px;
    margin-bottom: 12px;
}

.mobile-submenu li {
    border-bottom: none;
}

.mobile-submenu a {
    padding: 10px 0 10px 12px;
    font-size: 0.9rem;
    font-weight: normal;
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.mobile-lang-switch {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.mobile-talk-btn {
    width: 100%;
    text-align: center;
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 40, 0.45);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.slide-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

/* 首页hero-slider箭头图标大小 */
.heroSwiper .swiper-button-next:after,
.heroSwiper .swiper-button-prev:after {
    font-size: 15px;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

/* ---------- SERVICE CARDS ---------- */
.service-item-new {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.service-icon-new {
    background: linear-gradient(135deg, #2563eb10, #38bdf810);
    padding: 24px 20px;
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 90px;
    text-align: center;
}

.service-content {
    padding: 24px 24px 24px 0;
}

/* ---------- WHY CARDS ---------- */
.why-card-new {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.why-card-new:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.why-icon-new {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #f0f4ff, #e8eefa);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ---------- STATS SECTION ---------- */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(110deg, #f1f5f9, var(--white));
    border-radius: 60px;
    padding: 50px 40px;
    margin: 40px 0;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* ---------- CASE SHOWCASE ---------- */
.case-showcase {
    padding: 60px 0;
    /* background: #f8f9fa; */
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 24px;
}

.case-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: visible;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.case-card:hover {
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.case-image {
    display: block;
    height: 200px;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    overflow: hidden;
}

.case-image span {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image span {
    transform: scale(1.03);
}

.case-content {
    padding: 20px;
}

.case-content h5 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.case-content h5 a:hover {
    color: var(--primary-color);
}

.case-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.case-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.case-link::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    margin-left: 6px;
    font-size: 0.75em;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.dot.active {
    background: #1e3a6b;
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 992px) {
    .case-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 576px) {
    .case-card {
        flex: 0 0 100%;
    }

    .slider-btn {
        display: none;
    }
}

/* ---------- FAQ SECTION ---------- */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f9fafb;
    margin-bottom: 20px;
    border-radius: 20px;
    padding: 6px 24px;
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-weight: 700;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 320px;
    padding-bottom: 24px;
}

/* ---------- CONTACT SECTION ---------- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--gray-bg);
    border-radius: 48px;
    padding: 48px 40px;
    margin-top: 30px;
}

.contact-info,
.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 30px;
    border: 1px solid #cfdee9;
    font-family: inherit;
}

.info-detail {
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- TEAM / CLIENT CARDS ---------- */
.team-card {
    background: var(--gray-bg);
    padding: 32px;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: 0.25s;
    border: 1px solid var(--border-light);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

/* ---------- BANNER 了解更多按钮（轮廓样式） ---------- */
.btn-primary.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 12px;
}

.btn-primary.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ---------- 服务 了解详情链接 ---------- */
.service-detail-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.service-detail-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.service-detail-link::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    margin-left: 6px;
    font-size: 0.75em;
}

/* ---------- 合作伙伴 Logo ---------- */
.partner-logo {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.team-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---------- FOOTER ---------- */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 48px 0 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #1e293b;
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-bottom p {
    font-size: 1rem;
}

/* ---------- FOOTER 增强样式 ---------- */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 24px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* 双二维码横向排列 */
.footer-qrcode-group {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.qrcode-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.qrcode-item img {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    background: var(--white);
    padding: 6px;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.qrcode-item img:hover {
    transform: scale(1.05);
}

.qrcode-item p {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .footer-qrcode-group {
        justify-content: center;
    }
    
    .qrcode-item {
        flex: none;
    }
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: none;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}
/* ---------- FLOATING ACTION BUTTONS (右下角悬浮按钮组) ---------- */
.floating-action-buttons {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

/* 统一按钮样式：圆形蓝色背景 */
.btn-floating-inquiry,
.scroll-top {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
    transition: all 0.25s;
}

/* 留言板/咨询按钮 - 始终显示 */
.btn-floating-inquiry {
    opacity: 1;
    visibility: visible;
    padding: 0;
    font-weight: 600;
    font-size: 1.5rem;
}

.btn-floating-inquiry:hover,
.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}

/* 回到顶部按钮 - 默认隐藏，滚动后出现 */
.scroll-top {
    opacity: 0;
    visibility: hidden;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- CLIENT SWIPER (固定高度) ---------- */
.client-carousel-section {
    background: #fbfdff;
}

.client-swiper {
    overflow: hidden;
    padding: 10px 0 30px;
    height: 210px;
}

.client-swiper .swiper-wrapper {
    align-items: stretch;
}

.client-swiper .swiper-slide {
    height: auto;
}

.client-swiper .team-card {
    margin: 0;
    height: 100%;
}

.client-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.client-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.client-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.client-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #cbd5e1;
    opacity: 1;
    transition: var(--transition);
    margin: 0 4px;
}

.client-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--primary-color);
}

/* ---------- RESPONSIVE (max-width:880px) ---------- */
@media (max-width: 880px) {

    .nav-links,
    .nav-right .btn-outline,
    .nav-right .lang-switch {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 32px 24px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .swiper {
        height: 420px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .service-item-new {
        flex-direction: column;
    }

    .service-icon-new {
        width: 100%;
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .service-content {
        padding: 0 24px 24px;
    }

    .stats-row {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- PRODUCT CENTER ---------- */
.products-page {
    padding: 60px 0 60px;
    background: var(--gray-bg);
}

/* PC端侧边栏 (≥769px) */
@media (min-width: 769px) {
    .categories-sidebar {
        background: var(--white);
        border-radius: var(--border-radius-md);
        padding: 0;
        box-shadow: var(--shadow-sm);
        position: sticky;
        top: 100px;
        border: 1px solid var(--border-light);
        overflow: hidden;
    }

    .sidebar-title {
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        background: var(--white);
    }

    .sidebar-title h3 {
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
        color: var(--text-dark);
    }

    .sidebar-title h3 i {
        color: var(--primary-color);
        margin-right: 8px;
    }

    .category-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .category-list>li {
        border-bottom: 1px solid #f1f5f9;
        position: relative;
    }

    .category-list>li:last-child {
        border-bottom: none;
    }

    .category-list>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        color: var(--text-gray);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all var(--transition);
        background: var(--white);
        gap: 8px;
    }

    .category-list>li>a:hover {
        background: var(--gray-bg);
        color: var(--primary-color);
    }

    .category-list>li>a.active {
        background: #eff6ff;
        color: var(--primary-color);
        border-right: 3px solid var(--primary-color);
    }

    .category-list>li>a .count {
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 20px;
        font-size: 0.7rem;
        color: var(--text-light);
        flex-shrink: 0;
        display: none;
    }

    .category-list>li>a.active .count {
        background: var(--primary-color);
        color: var(--white);
    }

    .toggle-submenu {
        margin-left: auto;
        font-size: 0.7rem;
        color: #94a3b8;
        transition: transform var(--transition);
        flex-shrink: 0;
        cursor: pointer;
    }

    .toggle-submenu.rotated {
        transform: rotate(90deg);
        color: var(--primary-color);
    }

    .sub-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
        background: #fafcff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .sub-category-list.show {
        max-height: 500px;
    }

    .sub-category-list li {
        list-style: none;
    }

    .sub-category-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px 10px 40px;
        color: #475569;
        text-decoration: none;
        font-size: 0.85rem;
        transition: all var(--transition);
    }

    .sub-category-list li a:hover,
    .sub-category-list li a.active {
        background: #eff6ff;
        color: var(--primary-color);
    }

    .sub-category-list li a .count {
        background: #f1f5f9;
        padding: 1px 6px;
        border-radius: 20px;
        font-size: 0.7rem;
        display: none;
    }
}

/* 移动端样式 (≤768px) */
@media (max-width: 768px) {
    .products-page {
        padding: 16px 0 40px;
    }

    .categories-sidebar {
        background: var(--white);
        border-radius: 16px;
        margin-bottom: 20px;
        border: 1px solid var(--border-light);
        overflow: hidden;
    }

    .sidebar-title {
        padding: 12px 16px;
        background: var(--white);
        border-bottom: 1px solid #f0f0f0;
    }

    .sidebar-title h3 {
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0;
        color: var(--text-dark);
    }

    .sidebar-title h3 i {
        color: var(--primary-color);
        margin-right: 6px;
    }

    .category-list,
    .category-list ul,
    .sub-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .category-list li,
    .sub-category-list li {
        list-style: none;
    }

    .category-list>li {
        border-bottom: 1px solid #f1f5f9;
    }

    .category-list>li:last-child {
        border-bottom: none;
    }

    .category-list>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        color: var(--text-gray);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        background: var(--white);
        gap: 8px;
    }

    .category-list>li>a.active {
        color: var(--primary-color);
        background: #eff6ff;
    }

    .category-list>li>a .count {
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 20px;
        font-size: 0.7rem;
        color: var(--text-light);
        flex-shrink: 0;
    }

    .category-list>li>a.active .count {
        background: var(--primary-color);
        color: var(--white);
    }

    .toggle-submenu {
        margin-left: auto;
        font-size: 0.7rem;
        color: #94a3b8;
        transition: transform var(--transition);
        flex-shrink: 0;
        cursor: pointer;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--border-radius-sm);
    }

    .toggle-submenu:active {
        background: #f1f5f9;
    }

    .toggle-submenu.rotated {
        transform: rotate(90deg);
        color: var(--primary-color);
    }

    .sub-category-list {
        list-style: none;
        padding: 0;
        margin: 0;
        background: var(--gray-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .sub-category-list.show {
        max-height: 400px;
    }

    .sub-category-list li {
        list-style: none;
        border-top: 1px solid #f0f0f0;
    }

    .sub-category-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px 10px 32px;
        color: #475569;
        text-decoration: none;
        font-size: 0.85rem;
    }

    .sub-category-list li a.active {
        color: var(--primary-color);
        background: #eff6ff;
    }

    .sub-category-list li a .count {
        background: #e2e8f0;
        padding: 1px 6px;
        border-radius: 20px;
        font-size: 0.7rem;
    }

    .current-cat-banner {
        padding: 16px 20px;
        margin-bottom: 20px;
        border-radius: var(--border-radius-md);
    }

    .current-cat-banner h2 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .current-cat-banner .breadcrumb {
        font-size: 0.7rem;
    }

    .current-cat-banner p {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

.btn-inquiry {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-inquiry i {
    font-size: 0.9rem;
}


/* ---------- PAGE HEADER (科技感背景) ---------- */
.page-header {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header .glow-left {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .page-header {
        padding: 32px 16px;
        margin-bottom: 24px;
        border-radius: 20px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.85rem;
    }
}

/* ---------- PRODUCT GRID ---------- */
@media (min-width: 769px) {
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .product-image {
        height: 130px;
    }

    .product-image-placeholder {
        height: 130px;
        font-size: 1.5rem;
    }
}

.product-category-label {
    padding: 12px 16px 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .product-category-label {
        padding: 8px 10px 0;
        font-size: 0.6rem;
    }
}

.product-card h3 {
    padding: 8px 16px 0;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.product-card h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color var(--transition);
}

.product-card h3 a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .product-card h3 {
        padding: 6px 10px 0;
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

.product-excerpt {
    padding: 8px 16px;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .product-excerpt {
        padding: 4px 10px;
        font-size: 0.65rem;
        line-height: 1.4;
    }
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 16px 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
    transition: gap var(--transition);
}

.read-more:hover {
    gap: 10px;
    color: var(--primary-hover);
}




@media (max-width: 768px) {
    .read-more {
        margin: 4px 10px 10px;
        font-size: 0.7rem;
    }
}

/* ---------- CURRENT CATEGORY BANNER ---------- */
.current-cat-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 24px 28px;
    margin-bottom: 28px;
    border-radius: var(--border-radius-md);
}

.current-cat-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.current-cat-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.current-cat-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.current-cat-banner .breadcrumb a:hover {
    color: var(--white);
}

.current-cat-banner p {
    margin-top: 10px;
    opacity: 0.85;
    font-size: 0.9rem;
}

/* ---------- PAGINATION ---------- */
.products-pagination {
    text-align: center;
    margin-top: 40px;
}

.products-pagination .page-numbers {
    display: inline-block;
    min-width: 38px;
    padding: 8px 12px;
    margin: 0 4px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: all var(--transition);
}

.products-pagination .page-numbers:hover,
.products-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .products-pagination {
        margin-top: 24px;
    }

    .products-pagination .page-numbers {
        min-width: 32px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* ---------- EMPTY STATE ---------- */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.no-products i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-products p {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .no-products {
        padding: 40px 20px;
    }

    .no-products i {
        font-size: 2rem;
    }
}

/* ---------- ABOUT PAGE NAVIGATION ---------- */
.about-page-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 98;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.about-page-nav.visible {
    transform: translateY(0);
}

.about-nav-scroll {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 14px 0;
    white-space: nowrap;
    scrollbar-width: thin;
}

.about-nav-scroll a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.about-nav-scroll a:hover,
.about-nav-scroll a.active-nav {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ---------- ABOUT SECTIONS ---------- */
.about-section {
    padding: 60px 0;
}

.about-section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.about-section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

/* 公司简介区域 */
.about-intro-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text-wrap {
    flex: 1.2;
}

.about-text-wrap p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.about-img-wrap {
    flex: 0.8;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: var(--gray-bg);
}

.about-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* 资质区域 */
.qualities-swiper-container {
    padding: 20px 0 50px;
    margin: 0 -6px;
    height: 480px;
}

.qualities-swiper-container .swiper-slide {
    padding: 0 5px;
    box-sizing: border-box;
}

.quality-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 20px 10px 18px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    box-shadow: var(--card-shadow);
}

.quality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.quality-img-wrapper {
    width: 100%;
    background: #f9fafb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    aspect-ratio: 12 / 16;
    overflow: hidden;
    padding: 3px;
}

.quality-card img {
    max-width: 88%;
    max-height: 340px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform var(--transition);
}

.quality-card h5 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 10px;
    color: var(--text-dark);
    line-height: 1.35;
}

.no-thumb-placeholder {
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-light);
    height: 100%;
    width: 100%;
    text-align: center;
    font-weight: 500;
    padding: 10px;
}

/* Swiper 按钮风格 */
.qualities-swiper-container .swiper-button-next,
.qualities-swiper-container .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.qualities-swiper-container .swiper-button-next:after,
.qualities-swiper-container .swiper-button-prev:after {
    font-size: 15px;
}

.qualities-swiper-container .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* 图片放大模态框 */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.lightbox-content {
    position: relative;
    max-width: 85vw;
    max-height: 85vh;
    text-align: center;
    cursor: default;
    animation: fadeInScale 0.2s ease-out;
}


/* ---------- CASE GRID (工程案例 cat-4) ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.case-item {
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.case-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.case-thumbnail {
    height: 200px;
    overflow: hidden;
    background: var(--gray-bg);
}

.case-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-item:hover .case-thumbnail img {
    transform: scale(1.05);
}

.case-thumbnail-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

.case-info {
    padding: 18px;
}

.case-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.case-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.case-info h3 a:hover {
    color: var(--primary-color);
}

.case-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.current-case-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 20px 24px;
    margin-bottom: 28px;
    border-radius: var(--border-radius-md);
}

.current-case-banner h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.current-case-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.current-case-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.current-case-banner .breadcrumb a:hover {
    color: var(--white);
}

.current-case-banner p {
    margin-top: 8px;
    opacity: 0.85;
    font-size: 0.85rem;
}

.no-cases {
    text-align: center;
    padding: 80px 20px;
    background: var(--gray-bg);
    border-radius: var(--border-radius-md);
    color: var(--text-light);
}

.no-cases i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    .case-thumbnail {
        height: 180px;
    }

    .current-case-banner {
        padding: 12px 16px;
    }

    .current-case-banner h2 {
        font-size: 1rem;
    }

    .current-case-banner .breadcrumb {
        font-size: 0.65rem;
    }

    .current-case-banner p {
        font-size: 0.7rem;
    }
}

/* ---------- NEWS LIST (新闻动态 cat-5) ---------- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.news-thumbnail {
    flex: 0 0 200px;
    height: 160px;
    overflow: hidden;
    background: var(--gray-bg);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-thumbnail-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

.news-info {
    flex: 1;
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 20px;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.news-date i {
    margin-right: 4px;
}

.news-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.news-info h3 a:hover {
    color: var(--primary-color);
}

.news-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.current-news-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 20px 24px;
    margin-bottom: 28px;
    border-radius: var(--border-radius-md);
}

.current-news-banner h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.current-news-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.current-news-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.current-news-banner .breadcrumb a:hover {
    color: var(--white);
}

.current-news-banner p {
    margin-top: 8px;
    opacity: 0.85;
    font-size: 0.85rem;
}

.no-news {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
}

.no-news i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-news p {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 0;
    }

    .news-thumbnail {
        flex: auto;
        height: 180px;
    }

    .news-info {
        padding: 16px;
    }

    .news-info h3 {
        font-size: 0.9rem;
    }

    .news-info p {
        font-size: 0.75rem;
    }

    .news-meta {
        gap: 10px;
    }

    .current-news-banner {
        padding: 12px 16px;
    }

    .current-news-banner h2 {
        font-size: 1rem;
    }

    .current-news-banner .breadcrumb {
        font-size: 0.65rem;
    }

    .current-news-banner p {
        font-size: 0.7rem;
    }
}

/* ---------- CONTACT PAGE (联系我们 cat-6) ---------- */
.contact-nav {
    position: sticky;
    top: 0;
    z-index: 98;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-nav-scroll {
    display: flex;
    justify-content: center;
    gap: 40px;
    overflow-x: auto;
    padding: 14px 0;
    white-space: nowrap;
    scrollbar-width: thin;
}

.contact-nav-scroll a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.contact-nav-scroll a:hover,
.contact-nav-scroll a.active-nav {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.contact-section {
    scroll-margin-top: 100px;
    padding: 60px 0;
}

.contact-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 30px 0 16px 0;
    color: var(--text-dark);
}

.contact-section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 48px;
    font-size: 1rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #f0f4ff, #e8eefa);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 4px;
    line-height: 1.5;
}

.contact-card a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.address-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.address-info {
    flex: 1;
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}

.address-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-info h3 i {
    color: var(--primary-color);
}

.address-detail {
    margin-bottom: 20px;
}

.address-detail p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.address-detail i {
    color: var(--primary-color);
    width: 20px;
    margin-top: 3px;
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}

.form-wrapper--centered {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-md);
}

.contact-section--alt {
    background: var(--gray-bg);
}

.map-container {
    flex: 1.5;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    min-height: 400px;
    contain: layout;
}

.map-hint {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* 联系我们响应式 */
@media (max-width: 768px) {
    .contact-nav-scroll {
        justify-content: flex-start;
        padding: 10px 0;
        gap: 24px;
    }

    .contact-nav-scroll a {
        font-size: 0.85rem;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-section-title {
        font-size: 1.6rem;
    }

    .address-wrapper {
        flex-direction: column;
    }

    .form-wrapper {
        padding: 24px;
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: var(--white);
}

.close-lightbox {
    position: absolute;
    top: -42px;
    right: -12px;
    background: rgba(30, 30, 40, 0.8);
    color: var(--white);
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    border: none;
    font-weight: 300;
}

.close-lightbox:hover {
    background: #ef4444;
    transform: scale(1.05);
}

.lightbox-caption {
    margin-top: 16px;
    color: #e2e8f0;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 6px 18px;
    border-radius: var(--border-radius-full);
    backdrop-filter: blur(4px);
    font-weight: 500;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 发展历程 */
.timeline-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background: var(--gray-bg);
    border-radius: var(--border-radius-xl);
    padding: 24px 28px;
    margin-bottom: 24px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(4px);
    box-shadow: var(--card-hover-shadow);
}

.timeline-year {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 120px;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-excerpt {
    color: #475569;
    margin-top: 8px;
}

/* 企业文化 */
.culture-grid-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.culture-card-item {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: 0.25s;
    box-shadow: var(--card-shadow);
}

.culture-card-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.culture-icon-item {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.culture-card-item h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.culture-card-item p {
    color: var(--text-muted);
}

.no-content-msg {
    text-align: center;
    padding: 40px;
    background: var(--gray-bg);
    border-radius: var(--border-radius-lg);
    color: var(--text-light);
}

/* 关于页面响应式 */
@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }

    .about-section-title {
        font-size: 1.8rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 12px;
    }

    .timeline-year {
        font-size: 1.4rem;
    }

    .about-intro-wrap {
        flex-direction: column-reverse;
    }

    .about-page-nav {
        top: 70px;
    }

    .quality-card {
        min-height: 230px;
        padding: 16px 10px;
    }

    .qualities-swiper-container .swiper-slide {
        padding: 0 4px;
    }

    .quality-img-wrapper {
        aspect-ratio: 16 / 10;
    }

    .quality-card img {
        max-height: 130px;
    }
}


/* ===== 技术方案页面额外样式 ===== */

/* ---------- TECH TAB NAV (技术方案 / 联系我们) ---------- */

/* .tech-tab-btn {
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    display: inline-block;
}

.tech-tab-btn.active,
.tech-tab-btn.active-nav {
    background: #2563eb;
    color: white;
}

.tech-tab-btn:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
} */


/* Tab 切换按钮 */
.tech-tab-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 50px 0 48px;
}

.tech-tab-btn {
    background: transparent;
    border: 1.5px solid var(--border-light);
    padding: 12px 32px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    text-decoration: none;
}

.tech-tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tech-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


/* 面板显示/隐藏 */
.tech-panel {
    display: none;
}

.tech-panel.active-panel {
    display: block;
}

/* 核心工艺卡片 */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.process-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.process-image {
    height: 220px;
    overflow: hidden;
    background: var(--gray-bg);
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.process-card:hover .process-image img {
    transform: scale(1.05);
}

.process-content {
    padding: 24px;
}

.process-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 16px;
}

.process-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.process-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 专利技术列表 */
.patent-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.patent-item {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 24px 28px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.patent-item:hover {
    transform: translateX(6px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}

.patent-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb10, #38bdf810);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.patent-info {
    flex: 1;
}

.patent-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.patent-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.patent-type {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 20px;
}

/* 技术优势卡片 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #f0f4ff, #e8eefa);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.advantage-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.no-content-msg {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-bg);
    border-radius: var(--border-radius-md);
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 768px) {
    .tech-tab-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .patent-item {
        flex-direction: column;
        text-align: center;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    /* 为锚点预留顶部空间，避免被 fixed header 遮挡 */
.contact-section {
    /* scroll-margin-top: 100px; */
    padding: 60px 0;
}

/* 滚动时高亮当前区块对应的按钮 */
.tech-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
}

/* ===== 产品中心移动端分类菜单折叠 ===== */
@media (max-width: 768px) {
    /* 侧边栏标题可点击 */
    .categories-sidebar .sidebar-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
    }
    
    .categories-sidebar .sidebar-title h3 {
        margin: 0;
        flex: 1;
    }
    
    .mobile-category-arrow {
        font-size: 14px;
        color: var(--text-light);
        transition: transform 0.3s ease;
    }
    
    .mobile-category-arrow.rotated {
        transform: rotate(180deg);
    }
    
    /* 分类列表容器 - 默认隐藏 */
    .category-list-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .category-list-wrapper.expanded {
        max-height: 600px;
        transition: max-height 0.4s ease-in;
    }
    

}
/* PC端始终显示 */
@media (min-width: 769px) {
    .category-list-wrapper {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .mobile-category-arrow {
        display: none;
    }
    
    .categories-sidebar .sidebar-title {
        cursor: default;
    }

}
/* ===== 工程案例页面样式 ===== */
.cases-page {
    padding: 40px 0 60px;
    background: var(--gray-bg);
}

/* 左侧边栏 */
.cases-sidebar {
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.sidebar-header h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.case-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-cat-list li {
    border-bottom: 1px solid #f1f5f9;
}

.case-cat-list li:last-child {
    border-bottom: none;
}

.case-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.case-cat-list a:hover {
    background: #f8fafc;
    color: var(--primary-color);
    padding-left: 24px;
}

.case-cat-list a.active {
    background: #eff6ff;
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.case-cat-count {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--text-light);
}

.case-cat-list a.active .case-cat-count {
    background: var(--primary-color);
    color: white;
}

/* 当前分类信息条 */
.current-case-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 20px 24px;
    margin-bottom: 28px;
    border-radius: var(--border-radius-md);
}

.current-case-banner h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.current-case-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.current-case-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.current-case-banner .breadcrumb a:hover {
    color: var(--white);
}

.current-case-banner p {
    margin-top: 8px;
    opacity: 0.85;
    font-size: 0.85rem;
}

/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.case-item {
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.case-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.case-thumbnail {
    height: 200px;
    overflow: hidden;
    background: var(--gray-bg);
}

.case-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-item:hover .case-thumbnail img {
    transform: scale(1.05);
}

.case-info {
    padding: 18px;
}

.case-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.case-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.case-info h3 a:hover {
    color: var(--primary-color);
}

.case-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.cases-pagination {
    text-align: center;
    margin-top: 20px;
}

.cases-pagination .pagination {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cases-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.cases-pagination .page-numbers:hover {
    background: #eff6ff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cases-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 空状态 */
.no-cases {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.no-cases i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-cases p {
    color: #94a3b8;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .cases-page {
        padding: 16px 0 40px;
    }
    
    .cases-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .case-thumbnail {
        height: 130px;
    }
    
    .case-info {
        padding: 10px;
    }
    
    .case-info h3 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .case-info p {
        font-size: 0.65rem;
        -webkit-line-clamp: 2;
    }
    
    .case-category-tag {
        font-size: 0.6rem;
        padding: 2px 8px;
        margin-bottom: 8px;
    }
    
    .current-case-banner {
        padding: 12px 16px;
    }
    
    .current-case-banner h2 {
        font-size: 1rem;
    }
    
    .current-case-banner .breadcrumb {
        font-size: 0.65rem;
    }
    
    .current-case-banner p {
        font-size: 0.7rem;
    }
    
    .cases-pagination .page-numbers {
        min-width: 32px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .no-cases {
        padding: 40px 20px;
    }
    
    .no-cases i {
        font-size: 2rem;
    }
}

/* ===== 工程案例移动端分类菜单折叠 ===== */
@media (max-width: 768px) {
    .cases-sidebar .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
    }
    
    .cases-sidebar .sidebar-header h3 {
        margin: 0;
        flex: 1;
    }
    
    .mobile-case-arrow {
        font-size: 14px;
        color: var(--text-light);
        transition: transform 0.3s ease;
    }
    
    .mobile-case-arrow.rotated {
        transform: rotate(180deg);
    }
    
    .case-list-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .case-list-wrapper.expanded {
        max-height: 500px;
        transition: max-height 0.4s ease-in;
    }
    
    @media (min-width: 769px) {
        .case-list-wrapper {
            max-height: none !important;
            overflow: visible !important;
        }
        
        .mobile-case-arrow {
            display: none;
        }
        
        .cases-sidebar .sidebar-header {
            cursor: default;
        }
    }
}


/* 移动端多级菜单样式 */
.mobile-submenu,
.mobile-submenu-level-1,
.mobile-submenu-level-2 {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    margin: 8px 0 0 0;
}

.mobile-submenu.show,
.mobile-submenu-level-1.show,
.mobile-submenu-level-2.show {
    max-height: 500px;
    margin-bottom: 12px;
}

.mobile-submenu li,
.mobile-submenu-level-1 li,
.mobile-submenu-level-2 li {
    border-bottom: none !important;
}

.mobile-submenu a,
.mobile-submenu-level-1 a,
.mobile-submenu-level-2 a {
    padding: 10px 0 10px 12px !important;
    font-size: 0.85rem !important;
    font-weight: normal !important;
}

/* 移动端链接图标旋转 */
.mobile-nav-links li a i {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

/* 移动端箭头样式 */
.mobile-nav-links li a i.fa-chevron-down {
    margin-left: auto;
}

/* PC 端三级菜单样式 */
.sub-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    z-index: 1051;
    list-style: none;
    border: 1px solid var(--border-light);
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children:hover > .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 三级菜单箭头样式 */
.dropdown-menu .fa-chevron-right,
.sub-dropdown-menu .fa-chevron-right {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* 确保移动端链接正常显示 */
.mobile-nav-links {
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links li {
    list-style: none;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

/* 弹窗动画 */
.inquiry-modal {
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 成功图标动画 */
#inquirySuccessContainer div:first-child {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---------- NEWS DETAIL (新闻详情 single.php) ---------- */
.news-detail-page {
    padding: 40px 0 60px;
    background: var(--gray-bg);
}

.news-detail-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    padding: 40px 48px;
}

.detail-header {
    margin-bottom: 32px;
    border-bottom: 1px solid #eef2ff;
    padding-bottom: 24px;
}

.detail-category {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.85rem;
}

.detail-meta i {
    margin-right: 6px;
    color: var(--primary-color);
}

.detail-featured-img {
    margin: 24px 0 32px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #f1f5f9;
    text-align: center;
}

.detail-featured-img img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.detail-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.detail-content p {
    margin-bottom: 1.2rem;
}

.detail-content h2,
.detail-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* 上一篇下一篇 */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eef2ff;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    padding: 16px 24px;
    transition: all 0.25s ease;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-previous:hover,
.nav-next:hover {
    background: #eff6ff;
    border-color: var(--primary-color);
    transform: translateX(-3px);
    box-shadow: var(--card-shadow);
}

.nav-next:hover {
    transform: translateX(3px);
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.nav-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.nav-next {
    text-align: right;
    justify-content: flex-end;
}

.empty-nav {
    color: #cbd5e1;
    opacity: 0.6;
    pointer-events: none;
}

/* 新闻详情左侧边栏 */
.news-sidebar {
    background: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.sidebar-header h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.news-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-cat-list li {
    border-bottom: 1px solid #f1f5f9;
}

.news-cat-list li:last-child {
    border-bottom: none;
}

.news-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.news-cat-list a:hover {
    background: #f8fafc;
    color: var(--primary-color);
    padding-left: 24px;
}

.news-cat-list a.active {
    background: #eff6ff;
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.news-cat-count {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    display: none;
}

/* 新闻详情响应式 */
@media (max-width: 768px) {
    .news-detail-card {
        padding: 24px 20px;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .post-navigation {
        flex-direction: column;
    }

    .nav-previous,
    .nav-next {
        width: 100%;
    }

    .news-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .news-sidebar .sidebar-header {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-news-arrow {
        display: block;
        font-size: 14px;
        transition: transform 0.3s;
        color: var(--text-light);
    }

    .mobile-news-arrow.rotated {
        transform: rotate(180deg);
    }

    .news-list-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .news-list-wrapper.expanded {
        max-height: 500px;
    }
}

@media (min-width: 769px) {
    .mobile-news-arrow {
        display: none !important;
    }

    .news-list-wrapper {
        max-height: none !important;
        overflow: visible !important;
    }

    .news-sidebar .sidebar-header {
        cursor: default;
    }
}

/* ---------- PRODUCT DETAIL (产品详情 single-product.php) ---------- */
.product-detail-page {
    background: #f8fafc;
    padding: 40px 0 60px;
}

.product-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: #64748b;
}

.product-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.product-breadcrumb a:hover {
    color: #2563eb;
}

.product-breadcrumb .current {
    color: #1e293b;
}

.product-hero {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

.product-hero .row {
    align-items: flex-start;
}

.product-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    cursor: pointer;
}

.product-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-main-image:hover img {
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #2563eb;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.product-thumbnails .thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: #f1f5f9;
}

.product-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails .thumb.active {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.product-thumbnails .thumb:hover {
    border-color: #94a3b8;
}

.product-info {
    padding-left: 16px;
}

.product-category-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-short-desc {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 24px;
    display: none;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.85rem;
}

.product-meta-item i {
    color: #2563eb;
    width: 20px;
}

.btn-inquiry {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.product-detail-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.product-detail-left {
    flex: 2.5;
    min-width: 0;
}

.product-detail-right {
    flex: 1;
    min-width: 280px;
}

.product-detail-content {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.detail-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 24px;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tab-btn:hover {
    color: #2563eb;
}

.tab-btn.active {
    color: #2563eb;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.tab-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.tab-content ul,
.tab-content ol {
    padding-left: 20px;
    color: #475569;
    line-height: 1.7;
}

.tab-content li {
    margin-bottom: 8px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eef2f6;
}

.specs-table th,
.specs-table td {
    padding: 12px 8px;
    text-align: left;
    font-size: 0.9rem;
}

.specs-table th {
    width: 35%;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
}

.specs-table td {
    color: #64748b;
}

.related-products {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #eef2f6;
    position: sticky;
    top: 100px;
}

.related-products h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-products h3 i {
    color: #2563eb;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    transform: translateX(4px);
}

.related-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.related-info p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.image-modal.show {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* 产品详情响应式 */
@media (max-width: 992px) {
    .product-hero {
        padding: 24px;
    }

    .product-info {
        padding-left: 0;
        margin-top: 24px;
    }

    .product-detail-wrapper {
        flex-direction: column;
    }

    .related-products {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: 20px 0 40px;
    }

    .product-hero {
        padding: 16px;
    }

    .product-info h1 {
        font-size: 1.4rem;
    }

    .product-detail-content {
        padding: 20px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .btn-inquiry {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ---------- FAQ (首页常见问题) ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #ef4444;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

/* FAQ 响应式 */
@media (max-width: 768px) {
    .faq-question {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 16px;
        font-size: 0.85rem;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 16px;
    }
}