/* 页面专属英雄区域 */
.tax-hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(10, 94, 156, 0.85) 0%, rgba(0, 163, 224, 0.85) 100%), url('/template/jia/images/shuiwu2.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.tax-hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.tax-hero-content h1 {
    font-size: 48px;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.tax-hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* 服务详情区域 */
.tax-service-detail {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.tax-service-detail:before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(10, 94, 156, 0.03) 0%, rgba(0, 163, 224, 0.03) 100%);
    border-radius: 50%;
    z-index: 0;
}

.service-detail-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-main-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.service-sidebar {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    align-self: start;
    position: sticky;
    top: 100px;
}

.service-tab {
    margin-bottom: 50px;
}

.service-tab h3 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.service-tab h3 i {
    margin-right: 15px;
    color: var(--accent);
    background: rgba(0, 192, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-tab p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-item i {
    color: var(--accent);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-item div {
    flex: 1;
}

.feature-item h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.process-steps {
    display: flex;
    margin: 40px 0;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-gray);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
}

.step-content h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* 侧边栏样式 */
.sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget h4 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-list li i {
    margin-right: 12px;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.service-list a {
    color: var(--gray);
    transition: var(--transition);
}

.service-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-widget {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 30px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.contact-widget h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 22px;
}

.contact-widget h4:after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-widget p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-info {
    text-align: left;
    margin-bottom: 25px;
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 12px;
    width: 20px;
    color: var(--accent);
}

/* 案例展示区域 */
.tax-cases {
    background: linear-gradient(135deg, #f8fafc 0%, #eef5ff 100%);
    position: relative;
    overflow: hidden;
}

.tax-cases:before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(10, 94, 156, 0.03) 0%, rgba(0, 163, 224, 0.03) 100%);
    border-radius: 50%;
    z-index: 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.case-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-img img {
    transform: scale(1.05);
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.case-content .case-desc {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.case-result {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.case-result h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.case-result ul {
    list-style: none;
}

.case-result li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.case-result li i {
    color: var(--success);
    margin-right: 10px;
    margin-top: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .service-detail-container {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 30px;
        display: flex;
        align-items: flex-start;
        text-align: left;
    }
    
    .step-number {
        margin: 0 20px 0 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .tax-hero {
        min-height: 400px;
        height: auto;
        padding: 100px 0;
    }
    
    .tax-hero-content h1 {
        font-size: 36px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tax-hero-content h1 {
        font-size: 32px;
    }
    
    .tax-hero-content p {
        font-size: 18px;
    }
    
    .service-main-content {
        padding: 25px;
    }
}