@charset "UTF-8";
/* ===================================
   机械制造企业网站样式表
   基于 Bootstrap 5 定制
   =================================== */

/* ===================================
1. CSS变量定义
=================================== */
:root {
    /* 品牌色彩 */
    --bs-primary-color: #006cb7;
    --secondary-color: #ffbe34;
    --accent-color: #dd3333;
    --dark-color: #1d1d1d;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --gray-600: #858585;
    --gray-800: #333333;
    
    /* 字体 */
    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* 过渡效果 */
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* 阴影 */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    
    /* 间距 */
    --section-padding: 50px 0;
    --container-max-width: 1200px;

    /* 按钮悬停背景 */
    --bs-btn-hover-bg: var(--secondary-color);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===================================
   3. 排版样式
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--bs-gray-500);
}

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

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

/* ===================================
   4. 通用组件样式
   =================================== */

/* 容器 */
.container-custom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* 按钮样式 */
.btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bs-primary-color);
    transition: var(--transition-medium);
    z-index: -1;
}

.btn-custom:hover::before {
    width: 100%;
}
.compare-btn-wrapper {
    position: fixed;
    right: 20px;
    bottom: 20vh;
}
.btn-primary-custom {
    background-color: var(--bs-primary-color);
    color: var(--white);
}

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

.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

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

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

.btn-outline-custom:hover {
    border-color: var(--secondary-color);
    /* color: var(--bs-primary-color); */
}

/* 卡片样式 */
.card-custom {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    height: 100%;
}

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

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

.card-custom:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-body-custom {
    padding: 25px;
}

.card-title-custom {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-text-custom {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* 区块标题样式 */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* 标签样式 */
.badge-custom {
    display: inline-block;
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    background: var(--bs-primary-color);
    color: var(--white);
}

/* ===================================
   5. 导航栏样式
   =================================== */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
}

.navbar-custom.scrolled {
    background: rgba(29, 29, 29, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-light);
}

.navbar-brand-custom {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.navbar-brand-custom span {
    color: var(--secondary-color);
}

.navbar-nav-custom {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-custom {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
}

.nav-link-custom:hover {
    color: var(--secondary-color);
}

/* 下拉菜单样式 */
.dropdown-custom {
    position: relative;
    padding: 8px 0;
}

.dropdown-menu-custom {
    position: absolute;
    top: calc( 100% - 10px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-fast);
    padding: 15px 0;
    z-index: 1001;
}

.dropdown-custom:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-item-custom {
    display: block;
    padding: 10px 25px;
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dropdown-item-custom:hover {
    background: var(--light-color);
    color: var(--bs-primary-color);
    padding-left: 30px;
}

/* 移动端菜单按钮 */
.navbar-toggler-custom {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggler-custom span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition-fast);
}

/* ===================================
   6. 主视觉区样式
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(0, 108, 183, 0.85) 0%, rgba(29, 29, 29, 0.75) 100%); */
    background: linear-gradient(135deg, rgba(0, 108, 183, 0.8) 0%, rgba(29, 29, 29, 0.75) 100%);
    z-index: 2;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.hero-slide .hero-bg {
    animation: zoomIn 20s ease-in-out infinite alternate;
}
/* 主视觉指示器 */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.hero-indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-indicator.active {
    background: var(--secondary-color);
    width: 60px;
}
@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 600px;
    text-align: right;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    text-align: right;
}
.hero-description span {
    color: var(--secondary-color);
}
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* 主视觉滑块样式 - 已整合到 hero-section 中 */

/* ===================================
   7. 特色服务区样式
   =================================== */
.features-section {
    padding: var(--section-padding);
    background: var(--light-color);
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-fast);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bs-primary-color);
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: var(--bs-primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===================================
   8. 关于区样式
   =================================== */
.about-section {
    padding: var(--section-padding);
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text-content {
    flex: 1;
}
.about-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 500;
}
.about-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    line-height: 1.3;
}

.about-title span {
    color: var(--bs-primary-color);
}

.about-description {
    color: var(--gray-600);
    margin-bottom: 16px;
    /* font-size: 1.1rem; */
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-bottom: 40px;
    padding:0;
}

.about-features li {
    display: inline-block;
    width: 48%;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 500;
}

.about-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-image-content {
    flex: 1;
    position: relative;
}

.about-main-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bs-primary-color);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-heavy);
}

.about-experience-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   9. 产品区样式
   =================================== */
.products-section {
    padding: var(--section-padding);
    background: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-color);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 108, 183, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.product-overlay-content {
    text-align: center;
    color: var(--white);
}

.product-overlay-content i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: var(--bs-primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-title a:hover {
    color: var(--bs-primary-color);
}

.product-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--light-color);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bs-primary-color);
}

/* 产品筛选 */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* margin-bottom: 50px; */
    flex-wrap: wrap;
}
/* 新闻筛选 */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* margin-bottom: 50px; */
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--light-color);
    border: none;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--bs-primary-color);
    color: var(--white);
}

/* ===================================
   10. 统计区样式
   =================================== */
.stats-section {
    padding: 100px 0;
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

/* .stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png') center/cover;
    opacity: 0.05;
} */

.stats-content {
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   11. 案例区样式
   =================================== */
.cases-section {
    padding: var(--section-padding);
    background: var(--light-color);
}

.case-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
}

.case-overlay:hover .btn {
    border-color: var(--secondary-color);
    background-color: var(--bs-btn-hover-bg);
}


.case-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.case-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color:var(--white);
}

.case-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.case-detail-section .related-case {
    display: grid;
    gap: 1rem;
}

.case-detail-section .related-case-item{

}

.case-detail-section .case-info-widget img{
    width: 100%;
    border-radius: 0.4rem;
}

.case-detail-section .related-case-content,
.case-detail-section .sidebar-product-content{  
    padding: 0.5rem 0.5rem;
}
.case-detail-section .sidebar-product-content p{ 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-detail-section .case-info-widget h5{
    margin-bottom: 0.2rem;
}

.case-detail-section .related-case .related-case-date{
    font-size: 0.8rem;
    color: var(--bs-gray);
}
.related-cases{

}
.related-cases .related-case-card {

}
.related-cases .related-case-card img {
    transition: var(--transition-fast);
}
.related-cases .related-case-card:hover img {
    transform: scale(1.03);
}
/* ===================================
   12. 新闻区样式
   =================================== */
.news-section {
    padding: var(--section-padding);
    background: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.news-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

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

.news-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bs-primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    font-family: var(--font-heading);
}

.news-date-day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.news-date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-title a {
    color: var(--dark-color);
}

.news-title a:hover {
    color: var(--bs-primary-color);
}

.news-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    flex:1;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bs-primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-read-more:hover {
    gap: 12px;
    color: var(--secondary-color);
}

.sidebar-title {
    position: relative;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
}
.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 3.4rem;
    height: 4px;
    background: var(--secondary-color);
}
/* ===================================
   13. 客户评价区样式
   =================================== */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--light-color);
}

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ===================================
   14. 行动号召区样式
   =================================== */
.cta-section {
    padding: 100px 0;
    background: var(--bs-primary-color);
    position: relative;
    overflow: hidden;
}

/* .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png') center/cover;
    opacity: 0.1;
} */

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ===================================
   15. 页脚样式
   =================================== */
.footer-section {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
    font-family: var(--font-heading);
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-about-text {
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-widget-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.footer-contact-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact-text {
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-text {
    margin: 0;
    font-size: 0.9rem;
}

/* ===================================
   16. 内页通用样式
   =================================== */
.page-header {
    position: relative;
    padding: 150px 0 100px;
    background: var(--dark-color);
    text-align: center;
    color: var(--white);
}

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

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-breadcrumb li {
    color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumb li.active,
.page-breadcrumb li.active a {
    color: var(--secondary-color);
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* 分页样式 */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    list-style: none;
    padding: 0;
}
/* .pagination-custom li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--light-color);
    color: var(--dark-color);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.pagination-custom li a:hover,
.pagination-custom li.active a {
    background: var(--bs-primary-color);
    color: var(--white);
} */


.pagination-custom .a1:first-child {
    display: none;
}
.pagination-custom a,
.pagination-custom span  {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 10px;
    background: var(--light-color);
    color: var(--dark-color);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.pagination-custom a:hover,
.pagination-custom span {
    background: var(--bs-primary-color);
    color: var(--white);
}
/* ===================================
   17. 产品详情页样式
   =================================== */
.product-detail-section {
    padding: var(--section-padding);
}

.product-detail-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
}

.product-thumbnail-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--bs-primary-color);
}

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

.product-detail-info {
    padding-left: 30px;
}

.product-detail-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--light-color);
    color: var(--bs-primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.product-detail-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0px;
    color: var(--dark-color);
}

.product-detail-summary {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}
.product-detail-spec {

}
.product-detail-spec .spec-label {
    color: var(--bs-gray-700);
}
.product-detail-spec .spec-value {
    color: var(--bs-gray-600);
}
.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    /* border-bottom: 1px solid var(--light-color); */
    color: var(--dark-color);
}

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

.product-features-list li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.product-detail-specs {
    /* background: var(--light-color); */
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    background-image: linear-gradient(rgba(255, 203, 0, .08), rgba(255, 203, 0, .05) 32px, rgba(213, 159, 0, .03) 48px, rgba(213, 159, 0, 0) 80px, #fff 250px);
    border: 1px solid #f4e5b2;
}

.specs-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.specs-table {
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th,
.specs-table td {
    padding: 15px 10px;
    text-align: left;
}

.specs-table th {
    color: var(--dark-color);
    font-weight: 600;
    width: 40%;
}

.specs-table td {
    color: var(--gray-600);
}

/* 相关产品 */
.related-products {
    margin-top: 80px;
}

.related-products-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
}
.sidebar-products {

}
.sidebar-products .sidebar-product {

}
.sidebar-products .sidebar-product img {
    object-fit: cover;
    transition: var(--transition-fast);
}
.sidebar-products .sidebar-product:hover img{
    transform: scale(1.03);
}
/* ===================================
   18. 新闻详情页样式
   =================================== */
.news-detail-section {
    padding: var(--section-padding);
}

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

.news-detail-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bs-primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-image {
    width: 100%;
    border-radius: 8px;
    /*margin-bottom: 40px;*/
    box-shadow: var(--shadow-medium);
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

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

.news-detail-content h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--bs-primary-color);
}

.news-detail-content img {
    width: 100%;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow-light);
}

.news-detail-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--light-color);
}

.news-tags-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.news-tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-link {
    padding: 8px 18px;
    background: var(--light-color);
    color: var(--dark-color);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.news-detail-section .tag-link:hover {
    background: var(--bs-primary-color);
    color: var(--white);
}

.news-detail-section .related-news {
    display: grid;
    gap: 1rem;
}

.news-detail-section .related-news .related-news-item{

}
.news-detail-section .related-news .related-news-item img{
    transition: var(--transition-fast);
}
.news-detail-section .related-news .related-news-item:hover img{
    transform: scale(1.03);
}
.news-detail-section .sidebar-widget img{
    width: 100%;
    border-radius: 0.4rem;
}

.news-detail-section .related-news-content,
.news-detail-section .sidebar-product-content{
    padding: 0.5rem 0.5rem;
}

.news-detail-section .sidebar-widget h5{
    margin-bottom: 0.2rem;
}

.news-detail-section .related-news .related-news-date{
    font-size: 0.8rem;
    color: var(--bs-gray);
}
.sidebar-tags .tag-link{
    display: inline-block;
    margin-bottom: 0.5rem;
}
/* ===================================
   19. 联系页面样式
   =================================== */
.contact-section {
    padding: var(--section-padding);
}

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition-fast);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--bs-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-info-text {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    margin-top: 50px;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-color);
}

.form-group-custom {
    margin-bottom: 25px;
}

.form-label-custom {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    background: var(--light-color);
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--bs-primary-color);
    background: var(--white);
}

textarea.form-control-custom {
    min-height: 150px;
    resize: vertical;
}

/* 地图样式 */
.map-wrapper {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   20. 文档中心样式
   =================================== */
.documents-section {
    padding: var(--section-padding);
}

.document-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
}

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

.document-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary-color);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.document-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.document-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.document-download {
    padding: 10px 20px;
    background: var(--bs-primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.document-download:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* ===================================
   21. 售后服务样式
   =================================== */
.service-section {
    padding: var(--section-padding);
}

.service-feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    transition: var(--transition-fast);
}

.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.service-feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--bs-primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2.2rem;
}

.service-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-feature-text {
    color: var(--gray-600);
    line-height: 1.7;
}

/* 服务流程 */
.service-process {
    margin-top: 80px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--light-color);
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 100px;
    height: 100px;
    background: var(--bs-primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.process-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.process-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===================================
   22. 响应式样式
   =================================== */
@media (max-width: 1199px) {
    .navbar-nav-custom {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content-wrapper {
        flex-direction: column;
    }
    
    .about-image-content {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .navbar-toggler-custom {
        display: flex;
    }
    
    .navbar-nav-custom {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-color);
        flex-direction: column;
        padding: 30px 20px;
        gap: 15px;
        /* opacity: 0;
        visibility: hidden; */
        display: none;
        transform: translateY(20px);
        transition: var(--transition-fast);
    }
    
    .navbar-nav-custom.show {
        /* opacity: 1;
        visibility: visible; */
        display: contents;
        transform: translateY(0);
    }
    
    .dropdown-menu-custom {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }
    
    .dropdown-item-custom {
        color: var(--white);
    }
    
    .dropdown-item-custom:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .product-detail-info {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-experience-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .news-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .document-card {
        flex-direction: column;
        text-align: center;
    }
    
    .document-download {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-custom {
        width: 100%;
        justify-content: center;
    }
    
    .products-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .news-detail-title {
        font-size: 1.8rem;
    }
}

/* ===================================
   23. 动画关键帧
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   24. 工具类
   =================================== */
.text-primary-custom { color: var(--bs-primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.text-white-custom { color: var(--white) !important; }
.text-dark-custom { color: var(--dark-color) !important; }

.bg-primary-custom { background-color: var(--bs-primary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }
.bg-dark-custom { background-color: var(--dark-color) !important; }
.bg-light-custom { background-color: var(--light-color) !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-50 { margin-top: 50px !important; }
.mb-50 { margin-bottom: 50px !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-50 { padding-top: 50px !important; }
.pb-50 { padding-bottom: 50px !important; }

/* ===================================
   25. 加载动画
   =================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   26. 其他补充样式
   =================================== */

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 190, 52, 0.2);
    z-index: 9998;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.1s ease;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bs-primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-medium);
}

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

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

/* 文档分类筛选 */
.document-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.doc-filter-btn {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.doc-filter-btn:hover,
.doc-filter-btn.active {
    background: var(--bs-primary-color);
    color: var(--white);
}

/* 产品交付 */
.feature-list{
    list-style-type: none;
    padding-left: 0;
}
.feature-list li{
    width: 49%;
    display: inline-block;
    line-height: 2.2rem;
}
/* 案例筛选 */
.case-filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--dark-color);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.case-filter-select:focus {
    outline: none;
    border-color: var(--bs-primary-color);
}

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
/* 客户评价卡片 */
.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    position: relative;
    transition: var(--transition-fast);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* 文档卡片样式 */
.document-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
}

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

.document-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary-color);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.document-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.document-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.document-download {
    padding: 10px 20px;
    background: var(--bs-primary-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    flex-shrink: 0;
    text-decoration: none;
}

.document-download:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* 联系信息卡片 */
.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition-fast);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--bs-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-info-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* 联系表单 */
.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-color);
}

.form-group-custom {
    margin-bottom: 25px;
}

.form-label-custom {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    background: var(--light-color);
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--bs-primary-color);
    background: var(--white);
}

textarea.form-control-custom {
    min-height: 150px;
    resize: vertical;
}

/* 地图 */
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 营业时间 */
.business-hours {
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-top: 30px;
}

.business-hours h4 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.business-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-color);
}

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

/* 快速联系卡片 */
.quick-contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition-fast);
}

.quick-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.quick-contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

.quick-contact-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.quick-contact-card p {
    color: var(--gray-600);
    margin-bottom: 25px;
}

/* 二维码 */
.qr-code {
    margin-top: 20px;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 1px solid var(--light-color);
}

/* 服务网络卡片 */
.service-center-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition-fast);
}

.service-center-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-center-card h4 {
    color: var(--bs-primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-center-card p {
    margin-bottom: 10px;
    color: var(--gray-600);
}

.service-center-card p i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* 保修项目 */
.warranty-item {
    margin-bottom: 30px;
}

.warranty-item h4 {
    color: var(--bs-primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warranty-item h4 i {
    color: var(--secondary-color);
}

/* 服务联系部件 */
.service-contact-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.service-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-phone i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bs-primary-color);
    display: block;
}

.phone-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.service-contact-widget h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* 企业文化卡片 */
.culture-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition-fast);
}

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

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

.culture-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.culture-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* 荣誉资质卡片 */
.cert-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition-fast);
}

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

.cert-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--bs-primary-color);
    font-size: 1.8rem;
}

.cert-card h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cert-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* 团队卡片 */
.team-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition-fast);
}

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

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--light-color);
}

.team-card h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.team-position {
    color: var(--bs-primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 时间线 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-item:nth-child(odd) {
    padding-right: 40px;
    text-align: right;
}

.timeline-year {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-primary-color);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.timeline-content h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray-600);
    margin: 0;
}

/* 经营理念列表 */
.philosophy-list {
    list-style: none;
    padding: 0;
}

.philosophy-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.philosophy-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* 响应式优化 */
@media (max-width: 991px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
}
/* 详情页通用样式 */
/* ===== 标题系统 ===== */
.content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary-color);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--bs-primary-color);
}

.content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--bs-primary-color);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-color);
}

.content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--bs-primary-color-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ===== 段落与文本 ===== */
.content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--gray-800);
    text-align: justify;
    hyphens: auto;
}

.content p + p {
    /* text-indent: 2em; */
}

/* 首段不缩进 */
.content h1 + p,
.content h2 + p,
.content h3 + p,
.content blockquote + p,
.content ul + p,
.content ol + p,
.content table + p,
.content figure + p {
    text-indent: 0;
}

/* 强调与链接 */
.content strong {
    color: var(--bs-primary-color);
    font-weight: 600;
}

.content em {
    color: var(--accent-color);
    font-style: italic;
}

.content a {
    color: var(--bs-primary-color-light);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: all 0.2s;
}

.content a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* ===== 列表系统 ===== */
.content ul, ol {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
}

.content li {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    position: relative;
}

/* 无序列表 - 自定义符号 */
.content ul {
    list-style: none;
    padding-left: 0;
}

.content ul li {
    padding-left: 2rem;
}

.content ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}
.content ul li p {
    margin: 0;
}

/* 嵌套列表 */
.content ul ul, ol ol, ul ol, ol ul {
    margin: 0.5rem 0;
}

.content ul ul li::before {
    content: "▪";
    color: var(--bs-primary-color-light);
}

/* 有序列表 */
.content ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.content ol li {
    padding-left: 3rem;
    counter-increment: item;
}

.content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2rem;
    background: var(--bs-primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    top: 0.125rem;
}

/* ===== 引用块 ===== */
.content blockquote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: var(--light-color);
    border-left: 5px solid var(--accent-color);
    position: relative;
    border-radius: 10px 0 0 10px;
}
.content blockquote p{
    font-size: 1rem;
    color: var(--bs-light-text-emphasis);
    font-style: italic;
    margin-bottom: 0;
    text-indent: 0;
}
.content blockquote::before {
    content: "“";
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}
.content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--bs-light-text-emphasis);
    font-style: normal;
}

.content blockquote cite::before {
    content: "—— ";
}

/* ===== 表格系统 ===== */
.content table {
    width: 100%;
    margin: 2.5rem 0;
    border-collapse: collapse;
    font-size: 1rem;
    box-shadow: var(--shadow-medium);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.content thead {
    background: var(--bs-primary-color);
    color: white;
}

.content th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.content td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    color: var(--dark-color);
}

.content tbody tr {
    background: var(--bg);
    transition: background 0.2s;
}

.content tbody tr:nth-child(even) {
    background: var(--bs-light-bg-subtle);
}

.content tbody tr:hover {
    background: #edf2f7;
}

.content tbody tr:last-child td {
    border-bottom: none;
}

/* 表格响应式容器（通过figure包裹） */
.content figure:has(table) {
    margin: 2.5rem 0;
    overflow-x: auto;
}

/* ===== 图片与媒体 ===== */
.content figure {
    margin: 2.5rem 0;
    text-align: center;
}

.content img {
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-medium);
    border-radius: var(--bs-border-radius);
}

.content figcaption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--bs-light-text-emphasis);
    font-style: italic;
}

/* ===== 分割线 ===== */
.content hr {
    margin: 3rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--bs-border-color), transparent);
    position: relative;
}

.content hr::before {
    content: "§";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--light-color);
    padding: 0 1rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* ===== 代码与预格式化 ===== */
.content code {
    background: #edf2f7;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: "Menlo", "Monaco", monospace;
    font-size: 0.875em;
    color: var(--accent-color);
}

.content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: "Menlo", "Monaco", monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ===== 文章元信息（header/footer） ===== */
.content article > header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.content article > header p {
    color: var(--bs-light-text-emphasis);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-indent: 0;
}

.content article > header time {
    color: var(--accent-color);
    font-weight: 500;
}

.content article > footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bs-border-color);
}

/* ===== 打印优化 ===== */
@media print {
    .content article {
        padding: 0;
    }
    
    .content h1, .content h2, .content h3 {
        page-break-after: avoid;
    }
    
    .content p, .content li {
        page-break-inside: avoid;
    }
    
    .content blockquote {
        border-left: 3px solid #000;
        background: none;
    }
}

/* ===== 移动端适配 ===== */
@media (max-width: 640px) {
    .content article {
        padding: 40px 16px;
    }

    .content h1 {
        font-size: 1.875rem;
    }

    .content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .content p {
        font-size: 1rem;
    }

    .content blockquote {
        padding: 1.5rem;
        font-size: 1.125rem;
    }

    .content table {
        font-size: 0.875rem;
    }

    .content th, .content td {
        padding: 0.75rem;
    }
}
/* 工具类 */
.text-primary-custom { color: var(--bs-primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.text-white-custom { color: var(--white) !important; }
.text-dark-custom { color: var(--dark-color) !important; }

.bg-primary-custom { background-color: var(--bs-primary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }
.bg-dark-custom { background-color: var(--dark-color) !important; }
.bg-light-custom { background-color: var(--light-color) !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-50 { margin-top: 50px !important; }
.mb-50 { margin-bottom: 50px !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-50 { padding-top: 50px !important; }
.pb-50 { padding-bottom: 50px !important; }
/* 友情链接 */
.friend-links {
    display: block;
    margin-top: 20px;
}
.friend-links a{
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--bs-gray-500);
    padding: 0 0.1rem;
}