:root {
    --primary-color: #C42122;
    --primary-dark: #B01E1F;
    --secondary-color: #FF6B6B;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --text-active: #2B2B2B;
    --bg-white: #FFFFFF;
    --bg-gray: #F8F9FA;
    --bg-footer: #1A1A1A;
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-circle: 50px;
    --transition: 0.3s ease;
    --nav-height: 65px;
    --carousel-height: 45%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Inter', 'Noto Sans SC', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo img {
    height: 55px;
    width: auto;
}

.navbar-logo span {
    color: var(--text-primary);
    font-size: 30px;
    font-weight: normal;
    font-family: 'Microsoft YaHei';
    margin-left: 10px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-menu li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: normal;
    font-family: 'Microsoft YaHei';
    transition: color var(--transition);
    position: relative;
    line-height: var(--nav-height);
    display: inline-block;
    padding: 0 10px;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    color: var(--text-active);
}

.navbar-menu li a.active {
    border-bottom: 2px solid var(--text-active);
}

.navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icon {
    font-size: 18px;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition);
}

.nav-icon:hover {
    color: var(--text-active);
}

.nav-phone {
    font-size: 16px;
    color: var(--text-primary);
    font-family: 'Microsoft YaHei';
    font-weight: 500;
}

.breadcrumb {
    background: var(--bg-gray);
    padding: 12px 20px;
    margin-top: var(--nav-height);
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-light);
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-circle);
    font-size: 16px;
    font-weight: normal;
    font-family: 'Microsoft YaHei';
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    height: 41px;
    line-height: 41px;
    padding: 0 30px;
    text-align: center;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.footer {
    background: var(--bg-footer);
    padding: 60px 0 30px;
    color: var(--text-light);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-logo span {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-left: 10px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 14px;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
}

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

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
}

/* ============ 二级页面通用样式 ============ */

.page-banner {
    width: 100%;
    height: 216px;
    margin-top: var(--nav-height);
    overflow: hidden;
    position: relative;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-top: 0;
    font-size: 12px;
    color: #657180;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    padding: 0;
}

.breadcrumb .breadcrumb-label {
    color: #657180;
}

.breadcrumb a {
    color: #657180;
    text-decoration: none;
    transition: color var(--transition);
}

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

.breadcrumb span {
    margin: 0 5px;
    color: #657180;
}

.breadcrumb .current {
    color: #657180;
}

.page-layout {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.page-sidebar {
    width: 292px;
    flex-shrink: 0;
}

.sidebar-header {
    background: #193F86;
    padding: 20px 15px;
}

.sidebar-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.5;
    padding-left: 2%;
}

.sidebar-menu {
    list-style: none;
    margin-top: 0;
}

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

.sidebar-menu > li > a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    transition: all var(--transition);
    position: relative;
}

.sidebar-menu > li > a:hover,
.sidebar-menu > li > a.active {
    color: #193F86;
    background: #F5F7FA;
}

.sidebar-menu .sub-menu {
    list-style: none;
    background: #FAFAFA;
}

.sidebar-menu .sub-menu li a {
    display: block;
    padding: 10px 40px;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    transition: all var(--transition);
}

.sidebar-menu .sub-menu li a:hover,
.sidebar-menu .sub-menu li a.active {
    color: #193F86;
    background: #F0F2F5;
}

.page-content {
    flex: 1;
    min-width: 0;
}

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

.page-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-section-title h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.page-section-title p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 产品卡片样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.product-card:hover {
    border-color: #193F86;
    box-shadow: 0 4px 12px rgba(25, 63, 134, 0.15);
}

.product-card:hover .product-name {
    color: #193F86;
}

.product-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #F5F5F5;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.product-card-info {
    padding: 15px;
    text-align: center;
}

.product-name {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.5;
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻卡片样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 10px;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition);
}

.news-item:hover {
    background: #FAFAFA;
}

.news-item:hover .news-title {
    color: #193F86;
}

.news-item-img {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.5;
    transition: color var(--transition);
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

.news-date {
    color: var(--text-light);
}

.news-category-tag {
    padding: 2px 8px;
    background: #193F86;
    color: white;
    font-size: 12px;
    border-radius: 2px;
}

/* 详情页样式 */
.detail-page {
    padding: 30px 0;
}

.detail-title {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.detail-title h1 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.detail-meta {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    gap: 30px;
}

.detail-content {
    padding: 30px 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
}

.detail-content p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section {
        padding: 40px 0;
    }

    .page-banner {
        height: 150px;
    }

    .page-layout {
        flex-direction: column;
    }

    .page-sidebar {
        width: 100%;
    }

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

    .news-item {
        flex-direction: column;
    }

    .news-item-img {
        width: 100%;
        height: 200px;
    }
}