/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #52B548;
    --secondary-color: #333;
    --text-color: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --hover-color: #45993d;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 顶部导航栏 ========== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    text-decoration: none;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: bold;
}

.logo p {
    font-size: 14px;
    color: var(--secondary-color);
}

.nav {
    flex: 1;
    margin-left: 60px;
}

.nav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: var(--secondary-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
    color: var(--primary-color);
}

.nav-link .arrow {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    border-bottom: 1px solid var(--border-color);
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ========== Banner 区域 ========== */
.banner {
    margin-top: 70px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 24px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

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

/* ========== Banner 轮播图 ========== */
.banner-carousel {
    margin-top: 70px;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
}

/* 轮播背景图 */
.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 背景图遮罩 - 仅在没有图片时显示 */
.carousel-bg:not(.has-image)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

/* 轮播内容容器 */
.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.carousel-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 副标题样式 */
.carousel-content .carousel-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.carousel-content p {
    font-size: 24px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

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

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

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

/* 轮播指示点 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* 轮播图响应式 */
@media (max-width: 768px) {
    .banner-carousel {
        height: 400px;
    }
    
    .carousel-content h2 {
        font-size: 32px;
    }
    
    .carousel-content p {
        font-size: 18px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .banner-carousel {
        height: 350px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .carousel-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    background-color: var(--light-gray);
    padding: 18px 0;
    margin-top: 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
    width: 100%;
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 2px 0;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 12px;
    color: #999;
    font-size: 12px;
}

.breadcrumb span:last-child {
    color: var(--secondary-color);
    font-weight: 600;
    background-color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ========== 页面标题 ========== */
.page-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4CAF50 100%);
    padding: 40px 0;
    margin-top: 100px;
    text-align: center;
    color: var(--white);
}

.page-title h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* ========== 通用区块样式 ========== */
.section {
    padding: 30px 0;
}

.section-alt {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== 详情页面布局 ========== */
.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.detail-text h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.detail-text h2:first-child {
    margin-top: 0;
}

.detail-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.info-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.info-list li {
    padding: 8px 0;
    color: var(--text-color);
}

.info-list strong {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* ========== 企业概况 ========== */
.about-overview {
    max-width: 900px;
    margin: 0 auto;
}

.overview-intro {
    text-align: center;
    margin-bottom: 60px;
}

.overview-intro p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mission-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.mission-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.mission-item h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4CAF50 100%);
    border-radius: 10px;
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.subpage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.subpage-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    display: block;
}

.subpage-card:hover {
    transform: translateY(-10px);
}

.subpage-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.subpage-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.subpage-card p {
    font-size: 14px;
    color: var(--text-color);
}

/* ========== 时间轴 ========== */
.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 120px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 5px;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.timeline-content h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-color);
}

/* ========== 荣誉资质 ========== */
.honor-sections {
    max-width: 1000px;
    margin: 0 auto;
}

.honor-section {
    margin-bottom: 60px;
}

.honor-section h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.honor-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.honor-card:hover {
    transform: translateY(-10px);
}

.honor-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.honor-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.honor-card p {
    color: var(--text-color);
    font-size: 14px;
}

.ip-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ip-stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: var(--white);
}

.ip-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ip-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ========== 品牌故事 ========== */
.brand-concept {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.concept-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.concept-item h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ========== 董事长寄语 ========== */
.chairman-message {
    max-width: 1000px;
    margin: 0 auto;
}

.message-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.message-header {
    text-align: center;
    margin-bottom: 30px;
}

.message-header h2 {
    font-size: 28px;
    color: var(--secondary-color);
}

.message-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-indent: 2em;
}

.message-signature {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.message-signature p {
    color: var(--secondary-color);
    text-indent: 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.philosophy-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.philosophy-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.philosophy-item h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* ========== 社会公益 ========== */
.project-list {
    margin: 40px 0;
}

.project-item {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-item h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* ========== 整体方案 ========== */
.solution-intro {
    text-align: center;
    margin-bottom: 50px;
}

.solution-btn {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ========== 整体方案展示页布局 ========== */
.solution-showcase {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: calc(100vh - 100px);
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧导航栏 */
.solution-sidebar {
    background-color: #2c3e50;
    /* padding: 20px 0; */
}

.solution-sidebar-menu {
    list-style: none;
}

.solution-sidebar-item {
    margin-bottom: 5px;
}

.solution-sidebar-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    border-left: 3px solid transparent;
}

.solution-sidebar-link:hover {
    background-color: #34495e;
    border-left-color: var(--primary-color);
}

.solution-sidebar-link.active {
    background-color: #34495e;
    border-left-color: #3498db;
    color: #3498db;
    font-weight: 500;
}

/* 右侧内容展示区 */
.solution-content {
    background-color: var(--white);
    padding: 20px 20px 40px 20px;
}

.solution-content-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

/* 实验室展示网格 */
.lab-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.lab-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 当只有一个卡片时，让它占50%宽度（第一列） */
.lab-showcase-grid .lab-card:only-child {
    grid-column: 1 / 2;
    margin: 0 auto;
}

.lab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.lab-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.lab-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lab-image-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lab-card-content {
    padding: 20px;
}

.lab-card-title {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 500;
}

.lab-card-title.active {
    color: #3498db;
}

/* 响应式 */
@media (max-width: 992px) {
    .solution-showcase {
        grid-template-columns: 1fr;
    }
    
    .solution-sidebar {
        display: none;
    }
    
    .solution-content {
        padding: 20px;
    }
    
    .lab-showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .lab-showcase-grid .lab-card:only-child {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .lab-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .lab-showcase-grid .lab-card:only-child {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* ========== 产品中心 ========== */
.product-intro {
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-item:hover {
    transform: translateY(-10px);
}

.about-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-item h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-item p {
    font-size: 14px;
    color: var(--text-color);
    flex: 1;
}

.about-item .btn-outline {
    margin-top: auto;
    padding: 8px 20px;
    font-size: 14px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.solution-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4CAF50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon {
    font-size: 64px;
}

.solution-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    padding: 20px;
    margin-bottom: 10px;
}

.solution-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.solution-card .btn {
    margin: 0 20px 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.product-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-color);
    font-size: 14px;
}

/* ========== 工程案例 ========== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-intro {
    text-align: center;
    margin-bottom: 50px;
}

.case-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.view-gallery {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    background: var(--primary-color);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-gallery:hover {
    background: #3a9d30;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(82, 181, 72, 0.5);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.case-info p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--light-gray);
    color: var(--text-color);
    border-radius: 15px;
    font-size: 12px;
    margin-right: 5px;
}

/* ========== 品牌资讯 ========== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.news-item-image {
    flex: 0 0 280px;
    overflow: hidden;
}

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

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

.news-item-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.news-item-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
    color: #3a9d30;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.news-item-date {
    color: #666;
    font-size: 13px;
}

.news-item-tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 4px;
    font-size: 11px;
    border: 1px solid #e0e0e0;
}

.news-item-excerpt {
    flex: 1;
    margin-bottom: 12px;
}

.news-item-excerpt p {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.news-item-excerpt p:last-child {
    margin-bottom: 0;
}

.news-item-excerpt strong {
    color: #333;
    font-weight: 600;
}

.news-item-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-item:hover .news-item-more {
    color: #3a9d30;
    gap: 8px;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
   /*  border-top: 1px solid #e5e5e5;*/
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    background-color: var(--white);
}

.pagination-item:hover:not(.pagination-active):not(.pagination-disabled) {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: 600;
}

.pagination-disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #e5e5e5;
}

.pagination-disabled:hover {
    background-color: var(--white);
    color: #ccc;
    border-color: #e5e5e5;
}

/* ThinkPHP默认分页样式 */
.pagination ul,
ul.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination ul li,
ul.pagination li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination ul li a,
.pagination ul li span,
ul.pagination li a,
ul.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pagination ul li a:hover,
ul.pagination li a:hover {
    background-color: #f5f5f5;
    border-color: #ddd;
}

.pagination ul li.active,
ul.pagination li.active {
    background: none;
}

.pagination ul li.active span,
ul.pagination li.active span {
    background-color: #22c55e;
    color: #fff;
    border-color: #22c55e;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.pagination ul li.disabled,
ul.pagination li.disabled {
    background: none;
}

.pagination ul li.disabled span,
ul.pagination li.disabled span {
    color: #ccc;
    cursor: not-allowed;
    border-color: #f0f0f0;
    background-color: #fafafa;
    box-shadow: none;
}

/* 分页弹窗样式 */
.pagination ul li.dots span,
ul.pagination li.dots span {
    border: none;
    background: none;
    color: #999;
    box-shadow: none;
}

/* ========== 新闻详情 ========== */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 40px;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.news-detail-date,
.news-detail-category,
.news-detail-views {
    color: #666;
    font-size: 14px;
}

.news-detail-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-detail-content h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.news-detail-content h2:first-child {
    margin-top: 0;
}

.news-detail-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-detail-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.news-detail-content li {
    margin-bottom: 12px;
    list-style-type: disc;
}

.news-detail-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-detail-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.news-detail-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.news-detail-tags .tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 4px;
    font-size: 13px;
}

.news-detail-back-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-detail-back:hover {
    background-color: #3a9d30;
    transform: translateY(-2px);
}

.news-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.news-detail-prev,
.news-detail-next {
    flex: 1;
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-detail-prev:hover,
.news-detail-next:hover {
    background-color: #f5f5f5;
}

.news-detail-prev {
    text-align: left;
}

.news-detail-next {
    text-align: right;
}

.news-detail-nav .nav-label {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

.news-detail-nav .nav-title {
    display: block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
}

.news-detail-prev.disabled,
.news-detail-next.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.news-detail-prev.disabled .nav-title,
.news-detail-next.disabled .nav-title {
    color: #999;
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-detail-back:hover {
    background-color: #3a9d30;
    transform: translateY(-2px);
}

/* ========== 联系我们 ========== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 32px;
    margin-right: 20px;
}

.contact-item h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-color);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
}

/* ========== 页脚 ========== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========== 响应式设计 - 平板 ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 20px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .solution-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .mission-grid,
    .stats-grid,
    .subpage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .honor-grid,
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item-image {
        flex: 0 0 auto;
        width: 100%;
        height: 175px;
    }
    
    .news-detail-cover {
        height: 250px;
    }
    
    .news-detail-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-detail-prev,
    .news-detail-next {
        flex: 1;
    }
}

/* ========== 响应式设计 - 手机端 ========== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: left 0.3s ease;
        margin-left: 0;
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        padding: 15px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    
    .submenu.active {
        display: block;
    }
    
    .submenu li {
        border-bottom: none;
    }
    
    .banner {
        height: 350px;
        margin-top: 70px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .breadcrumb {
        margin-top: 70px;
    }
    
    .page-title {
        padding: 40px 0;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .about-content,
    .solution-grid,
    .product-grid,
    .case-grid,
    .news-grid,
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item-image {
        flex: 0 0 auto;
        width: 100%;
        height: 175px;
    }
    
    .news-item-content {
        padding: 15px;
    }
    
    .news-item-title {
        font-size: 16px;
    }
    
    .news-item-excerpt p {
        font-size: 12px;
    }
    
    .news-detail-cover {
        height: 200px;
    }
    
    .news-detail-content {
        font-size: 14px;
    }
    
    .news-detail-content h2 {
        font-size: 20px;
        margin-top: 30px;
    }
    
    .news-detail-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-detail-prev,
    .news-detail-next {
        padding: 18px 20px;
        background-color: #f9f9f9;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .news-detail-prev:hover,
    .news-detail-next:hover {
        background-color: #f0f0f0;
        border-color: #d0d0d0;
        transform: translateX(5px);
    }
    
    .news-detail-prev:hover {
        transform: translateX(-5px);
    }
    
    .news-detail-nav .nav-label {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .news-detail-nav .nav-title {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .logo p {
        font-size: 12px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-section h3::after {
        width: 30px;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section a {
        font-size: 12px;
    }
    
    .footer-section ul li:last-child {
        margin-bottom: 0;
    }
    
    .mission-grid,
    .stats-grid,
    .subpage-grid,
    .honor-grid,
    .ip-stats,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-concept {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .concept-item {
        padding: 30px 20px;
    }
    
    .concept-item h3 {
        font-size: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        margin-bottom: 10px;
    }
}

/* ========== 响应式设计 - 小屏手机 ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .page-title h1 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo p {
        font-size: 11px;
    }
    
    .brand-concept {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .concept-item {
        padding: 25px 20px;
    }
    
    .concept-item h3 {
        font-size: 28px;
    }
}

/* ========== 图集弹窗 ========== */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--black);
}

.gallery-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 70vh;
}

.gallery-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--white);
    color: var(--secondary-color);
}

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

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

.gallery-info {
    padding: 20px 30px;
    background: var(--white);
    text-align: center;
}

.gallery-info h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.gallery-info p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* 图集弹窗响应式 */
@media (max-width: 768px) {
    .gallery-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-btn-prev {
        left: 10px;
    }

    .gallery-btn-next {
        right: 10px;
    }

    .gallery-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .gallery-info h3 {
        font-size: 18px;
    }

    .gallery-info p {
        font-size: 13px;
    }
}

/* ========== 右侧悬浮栏 ========== */
.sidebar {
    position: fixed !important;
    right: 20px !important;
    bottom: 80px !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.sidebar-item {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-item:hover {
    background-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(82, 181, 72, 0.3);
}

.sidebar-item:hover .sidebar-icon,
.sidebar-item:hover .sidebar-text {
    color: var(--white);
}

.sidebar-icon {
    font-size: 20px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.sidebar-text {
    font-size: 11px;
    color: #333;
    transition: color 0.3s ease;
    font-weight: 500;
}

/* 悬浮弹出框 */
.sidebar-popup {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-item:hover .sidebar-popup {
    opacity: 1;
    visibility: visible;
    right: 105px;
}

.sidebar-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid var(--white);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.popup-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.popup-content {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.popup-content p {
    margin: 5px 0;
}

.popup-content img {
    display: block;
    margin-bottom: 10px;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

/* 回到顶部按钮 */
.sidebar-backtop {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.sidebar-backtop:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(82, 181, 72, 0.4);
}

.backtop-icon {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-bottom: 4px;
}

.backtop-text {
    font-size: 11px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar-backtop:hover .backtop-icon,
.sidebar-backtop:hover .backtop-text {
    color: var(--white);
}

/* 留言弹窗 */
.message-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.message-modal.active {
    opacity: 1;
    visibility: visible;
}

.message-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.message-modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-modal-close:hover {
    background-color: #e5e5e5;
    color: #333;
}

.message-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.message-modal-header h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.message-modal-header p {
    font-size: 14px;
    color: #999;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group label .required {
    color: #ff4d4f;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(82, 181, 72, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* 响应式设计 - 移动端悬浮栏 */
@media (max-width: 768px) {
    .sidebar {
        right: 10px;
        gap: 8px;
    }
    
    .sidebar-item {
        width: 60px;
        height: 60px;
    }
    
    .sidebar-icon {
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .sidebar-text {
        font-size: 11px;
    }
    
    .sidebar-popup {
        right: 75px;
        padding: 12px;
    }
    
    .sidebar-item:hover .sidebar-popup {
        right: 85px;
    }
    
    .qrcode-img {
        width: 120px;
        height: 120px;
    }
    
    .popup-content {
        font-size: 12px;
    }
    
    .sidebar-backtop {
        width: 60px;
        height: 60px;
    }
    
    .backtop-icon {
        font-size: 18px;
    }
    
    .message-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .message-modal-header h3 {
        font-size: 20px;
    }
}

/* ========== 右侧悬浮框 ========== */
.sidebar-float {
    position: fixed;
    right: 0;
    bottom: 80px;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-btn {
    width: 60px;
    background: #f5f5f5;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.sidebar-btn svg {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
}

.sidebar-btn span {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.sidebar-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 电话按钮特殊样式 */
.sidebar-btn-phone {
    background: #f5f5f5;
    color: #666;
    border-radius: 8px;
}

.sidebar-btn-phone:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 电话按钮hover时显示弹窗 */
.sidebar-btn-phone:hover .phone-popup,
.sidebar-btn-phone.active .phone-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* 微信按钮hover时显示弹窗 */
.sidebar-btn-wechat:hover .wechat-popup,
.sidebar-btn-wechat.active .wechat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* 电话咨询悬浮框 */
.phone-popup {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
}

.phone-popup-content {
    padding: 15px;
    position: relative;
}

.phone-popup-arrow {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #fff;
}

.phone-popup-title {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.phone-popup-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.phone-popup-item:last-child {
    margin-bottom: 0;
}

.phone-popup-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.phone-popup-item span {
    word-break: break-all;
}

/* 微信悬浮框 */
.wechat-popup {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-popup-arrow {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #fff;
}

.wechat-popup-content {
    padding: 15px;
}

.wechat-popup-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

.wechat-qrcode {
    width: 150px;
    height: 150px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.wechat-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wechat-qrcode-placeholder {
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 10px;
}

/* 移动端隐藏悬浮框 */
@media (max-width: 768px) {
    .sidebar-float {
        display: none;
    }
}

/* 咨询留言弹窗 */
.message-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.message-popup.active {
    display: flex;
}

.message-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.message-popup-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.message-popup-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.message-popup-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.message-popup-close:hover {
    background: #e5e5e5;
    color: #333;
}

.message-popup-form {
    padding: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-item {
    margin-bottom: 16px;
}

.form-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.form-item label .required {
    color: #e74c3c;
}

.form-item input,
.form-item textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-item input:focus,
.form-item textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-item textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: var(--hover-color);
}

@media (max-width: 768px) {
    .sidebar-float {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* 成功提示弹窗 */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.success-popup.active {
    display: flex;
}

.success-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.success-popup-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: successPopupIn 0.3s ease;
    min-width: 320px;
}

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

.success-popup-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    color: #52B548;
}

.success-popup-icon svg {
    width: 100%;
    height: 100%;
}

.success-popup-domain {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.success-popup-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

.success-popup-btn {
    padding: 10px 40px;
    background: #007bff;
    color: #fff;
    border: 2px solid #0056b3;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-popup-btn:hover {
    background: #0056b3;
}

@media (max-width: 480px) {
    .success-popup-box {
        padding: 30px 25px;
        min-width: auto;
        width: 85%;
    }
    
    .success-popup-icon {
        width: 50px;
        height: 50px;
    }
    
    .success-popup-message {
        font-size: 15px;
    }
}

/* ========== 公司简介侧边栏 ========== */
.detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.detail-sidebar .info-card {
    /*border-left: 3px solid var(--primary-color); */
}

.detail-sidebar .info-card:last-child {
    margin-bottom: 0;
}

/* 响应式 - 详情页面 */
@media (max-width: 992px) {
    .detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .detail-sidebar .info-card {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .detail-text h2 {
        font-size: 22px;
        margin: 30px 0 15px;
    }
    
    .detail-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ========== 品牌故事侧边栏 ========== */
.detail-info {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.detail-info .info-card {
    /*border-left: 3px solid var(--primary-color);*/
}

.detail-info .info-card:last-child {
    margin-bottom: 0;
}

/* 品牌标识说明 */
.brand-logo-desc p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 14px;
}

/* 品牌口号 */
.brand-slogan {
    text-align: center;
}

.slogan-main {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.slogan-desc {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

/* 品牌故事响应式 */
@media (max-width: 992px) {
    .detail-info {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .detail-info .info-card {
        margin-bottom: 0;
    }
    
    .brand-concept {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .brand-concept {
        grid-template-columns: 1fr;
    }
    
    .concept-item {
        padding: 25px 20px;
    }
    
    .concept-item h3 {
        font-size: 28px;
    }
    
    .detail-info {
        grid-template-columns: 1fr;
    }
    
    .slogan-main {
        font-size: 18px;
    }
}

/* ========== 生产基地 ========== */
.production-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.production-item {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.production-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.production-item h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.production-item p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.7;
}

/* 生产基地响应式 */
@media (max-width: 768px) {
    .production-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .production-item {
        padding: 20px;
    }
    
    .production-item h3 {
        font-size: 16px;
    }
}
