/* ============================================
   全局样式
   ============================================ */

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

:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --secondary-color: #64748b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
        'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ============================================
   导航栏
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 5px 5px 5px 15px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-input {
    width: 150px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    padding: 20px 0;
}

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

.mobile-menu a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
    color: var(--text-dark);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* ============================================
   Hero Banner 轮播
   ============================================ */

.hero-banner {
    position: relative;
    height: 600px;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 8s ease infinite;
}

@keyframes zoomEffect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.85) 0%, rgba(217, 119, 6, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

/* 轮播控制按钮 */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

/* 轮播指示器 */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-indicator.active {
    background: white;
    width: 36px;
    border-radius: 6px;
}

/* ============================================
   通用部分样式
   ============================================ */

.section {
    padding: 80px 0;
}

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

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

.section-header p {
    font-size: 16px;
    color: var(--text-light);
}

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

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

/* 面包屑 */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

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

.breadcrumb span {
    color: var(--text-dark);
}

/* ============================================
   核心业务
   ============================================ */

.business-section {
    background-color: var(--bg-white);
}

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

.business-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.business-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.business-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.business-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.business-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   关于我们预览
   ============================================ */

.about-preview-section {
    background-color: var(--bg-light);
}

.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-preview-img {
    height: 400px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.about-preview-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-preview-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-preview-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.about-stats li {
    text-align: center;
}

.about-stats strong {
    display: block;
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
}

.about-stats span {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   成功案例
   ============================================ */

.cases-section {
    background-color: var(--bg-white);
}

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

.case-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.case-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.case-content p span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   热门栏目
   ============================================ */

.categories-section {
    background-color: var(--bg-light);
}

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

.category-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.category-content {
    padding: 20px;
    text-align: center;
}

.category-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-content p {
    font-size: 14px;
    color: var(--text-light);
}

.category-content p span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ============================================
   最新文章
   ============================================ */

.articles-section {
    background-color: var(--bg-white);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

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

.article-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background-color: var(--bg-white);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.article-item:hover .article-thumb {
    transform: scale(1.05);
}

.articles-list .article-item {
    flex-direction: row;
    background-color: var(--bg-light);
    border: none;
}

.articles-list .article-item:hover {
    background-color: white;
    transform: none;
}

.article-thumb {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.article-item:hover .article-thumb {
    transform: scale(1.05);
}

.articles-list .article-thumb {
    width: 200px;
    height: 150px;
    border-radius: 8px;
}

.article-info {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.article-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: auto;
}

.article-meta .date {
    display: flex;
    align-items: center;
}

.article-meta .date::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.article-meta .category {
    color: var(--primary-color);
}

/* ============================================
   栏目页
   ============================================ */

.category-header {
    position: relative;
    height: 300px;
    margin-top: 70px;
    overflow: hidden;
}

.category-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

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

.category-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
}

.category-header h1 {
    font-size: 36px;
    margin: 15px 0;
}

.category-header p {
    font-size: 16px;
    opacity: 0.9;
}

.category-header .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.category-header .breadcrumb a,
.category-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.category-content {
    background-color: var(--bg-light);
}

.category-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.article-list-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
}

.article-card-thumb {
    width: 180px;
    height: 130px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.article-card-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
    text-align: left;
}

.article-card-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.article-card .article-meta {
    margin-top: 10px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-ellipsis {
    display: flex;
    align-items: center;
    padding: 0 5px;
    color: var(--text-light);
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    padding: 25px;
    border-radius: 12px;
    background-color: var(--bg-white);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.popular-posts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.popular-posts a {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-posts a:hover {
    color: var(--primary-color);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    padding: 6px 15px;
    font-size: 14px;
    border-radius: 20px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

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

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.category-list a {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-dark);
}

.category-list a:hover {
    color: var(--primary-color);
}

.category-list span {
    color: var(--text-light);
}

/* ============================================
   文章页
   ============================================ */

/* 文章页头部 */
.article-header {
    position: relative;
    height: 350px;
    margin-top: 70px;
    overflow: hidden;
}

.article-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

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

.article-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
}

.article-header .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.article-header .breadcrumb a,
.article-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

.article-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 15px 0;
    color: white;
}

.article-header .article-meta-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.article-content-section {
    background-color: var(--bg-light);
}

.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.article-main {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
}

.article-body {
    padding: 40px;
}

.article-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.article-body h3 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.article-image {
    height: 300px;
    margin: 30px 0;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.article-tags {
    display: flex;
    gap: 10px;
    padding: 20px 40px;
    border-top: 1px solid var(--border-color);
}

.article-tags .tag {
    padding: 6px 15px;
    font-size: 14px;
    border-radius: 20px;
    background-color: var(--bg-light);
    color: var(--text-light);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-top: 1px solid var(--border-color);
    gap: 20px;
}

.article-nav a {
    flex: 1;
    padding: 15px 20px;
    border-radius: 8px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

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

.article-nav-prev {
    text-align: left;
}

.article-nav-next {
    text-align: right;
}

.article-nav .label {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.article-nav .title {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

/* 相关文章版块 */
.related-articles-section {
    padding: 40px;
    border-top: 1px solid var(--border-color);
}

.related-articles-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-article-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-article-img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-article-content {
    padding: 15px;
}

.related-article-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.related-article-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-date {
    font-size: 12px;
    color: var(--primary-color);
}

.related-posts li {
    margin-bottom: 15px;
}

.related-posts a {
    display: flex;
    gap: 15px;
    align-items: center;
}

.related-post-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.related-posts a span {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-posts a:hover span {
    color: var(--primary-color);
}

/* ============================================
   关于我们页面
   ============================================ */

.page-header {
    position: relative;
    height: 300px;
    margin-top: 70px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.8) 0%, rgba(217, 119, 6, 0.7) 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.company-intro-section {
    background-color: var(--bg-white);
}

.company-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.company-intro-img {
    height: 450px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.company-intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.company-intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.culture-section {
    background-color: var(--bg-light);
}

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

.culture-card {
    padding: 30px;
    border-radius: 12px;
    background-color: var(--bg-white);
    text-align: center;
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.culture-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
}

.culture-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.culture-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.timeline-section {
    background-color: var(--bg-white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-left: 3px solid var(--border-color);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 35px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-year {
    flex-shrink: 0;
    width: 100px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.team-section {
    background-color: var(--bg-light);
}

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

.team-member {
    text-align: center;
}

.member-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.team-member h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.member-title {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.member-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.partners-section {
    background-color: var(--bg-white);
}

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

.partner-item {
    height: 100px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.partner-item img {
    max-height: 60px;
    width: auto;
}

/* ============================================
   联系我们页面
   ============================================ */

.contact-section {
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-form-wrapper > p,
.contact-info-wrapper > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
}

.contact-text h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 16px;
    color: var(--text-dark);
}

.qrcode-section {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.qrcode-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.qrcode-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    border-radius: 8px;
}

.qrcode-item p {
    font-size: 14px;
    color: var(--text-dark);
}

.map-section {
    background-color: var(--bg-white);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
}

/* ============================================
   页脚
   ============================================ */

.footer {
    background-color: #1e293b;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

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

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    padding: 8px 16px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

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

.footer-qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background-color: white;
    padding: 5px;
}

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

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   返回顶部按钮
   ============================================ */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ============================================
   响应式设计
   ============================================ */

/* 平板 768px - 1024px */
@media (max-width: 1024px) {
    .business-grid,
    .cases-grid,
    .categories-grid,
    .culture-grid,
    .team-grid,
    .partners-grid,
    .related-articles-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-preview,
    .company-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-preview-img,
    .company-intro-img {
        height: 300px;
    }

    .category-wrapper,
    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 手机 < 768px */
@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .search-input {
        width: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
    }

    .search-box {
        display: none;
    }

    .search-box:focus-within .search-input {
        width: 120px;
        padding: 0 5px;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-banner {
        height: 400px;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .hero-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .hero-indicator {
        width: 8px;
        height: 8px;
    }

    .hero-indicator.active {
        width: 24px;
    }

    .hero-slide .container {
        height: 100%;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .business-grid,
    .cases-grid,
    .categories-grid,
    .culture-grid,
    .team-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

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

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

    .article-thumb {
        width: 100%;
        height: 200px;
    }

    .article-card {
        flex-direction: column;
    }

    .article-card-thumb {
        width: 100%;
        height: 180px;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .page-link:not(.active):not(.disabled) {
        display: none;
    }

    .page-link.active {
        display: flex;
    }

    .article-nav {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .qrcode-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-header .article-meta-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .article-body {
        padding: 20px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .related-articles-section,
    .article-nav,
    .article-tags {
        padding-left: 20px;
        padding-right: 20px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-year {
        width: 80px;
        font-size: 20px;
    }
}

/* 小屏手机 < 480px */
@media (max-width: 479px) {
    .container {
        padding: 0 15px;
    }

    .hero-slide .container {
        height: 100%;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }
}

/* ============================================
   背景图片样式
   ============================================ */

/* Hero轮播背景图 */
.hero-bg-1 { background-image: url('../images/hero-bg-1.jpg'); }
.hero-bg-2 { background-image: url('../images/hero-bg-2.jpg'); }
.hero-bg-3 { background-image: url('../images/hero-bg-3.jpg'); }

/* 业务背景图 */
.business-1 { background-image: url('../images/business-1.jpg'); }
.business-2 { background-image: url('../images/business-2.jpg'); }
.business-3 { background-image: url('../images/business-3.jpg'); }
.business-4 { background-image: url('../images/business-4.jpg'); }

/* 案例背景图 */
.case-1 { background-image: url('../images/case-1.jpg'); }
.case-2 { background-image: url('../images/case-2.jpg'); }
.case-3 { background-image: url('../images/case-3.jpg'); }
.case-4 { background-image: url('../images/case-4.jpg'); }

/* 文章缩略图 */
.article-thumb-1 { background-image: url('../images/article-thumb-1.jpg'); }
.article-thumb-2 { background-image: url('../images/article-thumb-2.jpg'); }
.article-thumb-3 { background-image: url('../images/article-thumb-3.jpg'); }
.article-thumb-4 { background-image: url('../images/article-thumb-4.jpg'); }
.article-thumb-5 { background-image: url('../images/article-thumb-5.jpg'); }
.article-thumb-6 { background-image: url('../images/article-thumb-6.jpg'); }
.article-thumb-7 { background-image: url('../images/article-thumb-7.jpg'); }
.article-thumb-8 { background-image: url('../images/article-thumb-8.jpg'); }
.article-thumb-9 { background-image: url('../images/article-thumb-9.jpg'); }

/* 其他页面背景图 */
.about-preview-bg { background-image: url('../images/about-preview.jpg'); }
.company-intro-bg { background-image: url('../images/company-intro.jpg'); }
.page-header-about { background-image: url('../images/page-header-about.jpg'); }
.article-header { background-image: url('../images/article-header.jpg'); }
.category-header { background-image: url('../images/category-header.jpg'); }
.contact-header { background-image: url('../images/contact-header.jpg'); }

/* 团队成员头像 */
.member-avatar-1 { background-image: url('../images/member-avatar-1.jpg'); }
.member-avatar-2 { background-image: url('../images/member-avatar-2.jpg'); }
.member-avatar-3 { background-image: url('../images/member-avatar-3.jpg'); }
.member-avatar-4 { background-image: url('../images/member-avatar-4.jpg'); }

/* 文章特色图 */
.article-feature { background-image: url('../images/article-feature.jpg'); }
