/* ============================================
   安鑫道路救援 - 服务项目列表页 + 详情页样式
   ============================================ */

/* ============================================
   页面Banner
   ============================================ */
.anxin-page-banner {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #0a2540;
}

.anxin-page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.anxin-page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(30, 64, 175, 0.7) 100%);
}

.anxin-page-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.anxin-page-banner-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: anxin-fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.anxin-page-banner-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: anxin-fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* ============================================
   面包屑导航
   ============================================ */
.anxin-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
}

.anxin-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #718096;
}

.anxin-breadcrumb a {
    color: #718096;
    transition: color 0.3s ease;
}

.anxin-breadcrumb a:hover {
    color: #1e40af;
}

.anxin-breadcrumb i {
    font-size: 10px;
    color: #cbd5e0;
}

.anxin-breadcrumb .anxin-current {
    color: #1e40af;
    font-weight: 500;
}

/* 面包屑当前栏目（dr_catpos 输出的最后一个链接）与原 anxin-current 样式一致 */
.anxin-breadcrumb a:last-of-type {
    color: #1e40af;
    font-weight: 500;
    pointer-events: none;
}

/* ============================================
   服务筛选分类
   ============================================ */
.anxin-service-filter {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.anxin-filter-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.anxin-filter-item {
    padding: 10px 26px;
    background: #f0f4f8;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.anxin-filter-item:hover {
    background: #eff6ff;
    color: #1e40af;
}

.anxin-filter-item.active {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

/* ============================================
   服务列表区域
   ============================================ */
.anxin-service-list {
    padding: 70px 0;
    background: #f8fafc;
}

.anxin-service-list-header {
    text-align: center;
    margin-bottom: 50px;
}

.anxin-service-list-title {
    font-size: 32px;
    font-weight: 800;
    color: #0a2540;
    margin-bottom: 12px;
}

.anxin-service-list-subtitle {
    font-size: 15px;
    color: #718096;
}

.anxin-service-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* 服务卡片 (复用index.css的anxin-service-card样式，此处做微调补充) */
.anxin-service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ============================================
   服务详情亮点
   ============================================ */
.anxin-service-highlights {
    padding: 70px 0;
    background: #fff;
}

.anxin-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.anxin-highlight-item {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.anxin-highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.anxin-highlight-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    transition: all 0.3s ease;
}

.anxin-highlight-item:hover .anxin-highlight-icon {
    transform: scale(1.1) rotate(5deg);
}

.anxin-highlight-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 10px;
}

.anxin-highlight-item p {
    font-size: 13px;
    color: #718096;
    line-height: 1.7;
}

/* ============================================
   服务流程 (列表页简化版)
   ============================================ */
.anxin-service-process {
    padding: 70px 0;
    background: #f8fafc;
}

.anxin-service-process .anxin-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.anxin-service-process .anxin-process-step {
    background: #fff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.anxin-service-process .anxin-process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.anxin-service-process .anxin-step-icon {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: none;
    color: #1e40af;
    margin-bottom: 20px;
}

.anxin-service-process .anxin-process-step:hover .anxin-step-icon {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
}

.anxin-service-process .anxin-step-num {
    top: -5px;
    right: -5px;
}

.anxin-service-process .anxin-step-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 10px;
}

.anxin-service-process .anxin-step-content p {
    font-size: 13px;
    color: #718096;
    line-height: 1.7;
}

.anxin-service-process .anxin-process-step:not(:last-child)::after {
    display: none;
}

/* ============================================
   常见问题 FAQ
   ============================================ */
.anxin-faq {
    padding: 70px 0;
    background: #fff;
}

.anxin-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.anxin-faq-item {
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.anxin-faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.anxin-faq-question {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    transition: all 0.3s ease;
}

.anxin-faq-question:hover {
    color: #1e40af;
}

.anxin-faq-question i {
    color: #a0aec0;
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.anxin-faq-item.open .anxin-faq-question i {
    transform: rotate(180deg);
    color: #1e40af;
}

.anxin-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 25px;
}

.anxin-faq-item.open .anxin-faq-answer {
    max-height: 300px;
    padding: 0 25px 22px;
}

.anxin-faq-answer p {
    font-size: 14px;
    color: #718096;
    line-height: 1.8;
}

/* ============================================
   响应式 - 平板
   ============================================ */
@media (max-width: 1200px) {
    .anxin-service-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .anxin-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .anxin-service-process .anxin-process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   响应式 - 手机
   ============================================ */
@media (max-width: 768px) {
    .anxin-page-banner {
        height: 240px;
    }

    .anxin-page-banner-title {
        font-size: 30px;
    }

    .anxin-page-banner-desc {
        font-size: 14px;
        padding: 0 20px;
    }

    .anxin-breadcrumb {
        padding: 12px 0;
    }

    .anxin-service-filter {
        padding: 20px 0;
    }

    .anxin-filter-categories {
        gap: 8px;
    }

    .anxin-filter-item {
        padding: 8px 18px;
        font-size: 13px;
    }

    .anxin-service-list {
        padding: 50px 0;
    }

    .anxin-service-list-title {
        font-size: 24px;
    }

    .anxin-service-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .anxin-service-highlights {
        padding: 50px 0;
    }

    .anxin-highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .anxin-highlight-item {
        padding: 25px 15px;
    }

    .anxin-highlight-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .anxin-highlight-item h4 {
        font-size: 15px;
    }

    .anxin-service-process {
        padding: 50px 0;
    }

    .anxin-service-process .anxin-process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .anxin-service-process .anxin-process-step {
        padding: 25px 15px;
    }

    .anxin-faq {
        padding: 50px 0;
    }

    .anxin-faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .anxin-page-banner-title {
        font-size: 24px;
    }

    .anxin-service-list-grid {
        grid-template-columns: 1fr;
    }

    .anxin-highlights-grid {
        grid-template-columns: 1fr;
    }

    .anxin-service-process .anxin-process-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   服务详情页
   ============================================ */

/* 详情页主内容区 */
.anxin-detail-main {
    padding: 60px 0;
    background: #f8fafc;
}

.anxin-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* 左侧主内容 */
.anxin-detail-content {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.anxin-detail-hero {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.anxin-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anxin-detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 37, 64, 0.85) 100%);
}

.anxin-detail-hero-info {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    color: #fff;
}

.anxin-detail-hero-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 26px;
    margin-bottom: 18px;
}

.anxin-detail-hero-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.anxin-detail-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.7;
}

.anxin-detail-body {
    padding: 40px;
}

.anxin-detail-section {
    margin-bottom: 45px;
}

.anxin-detail-section:last-child {
    margin-bottom: 0;
}

.anxin-detail-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.anxin-detail-section-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 2px;
}

.anxin-detail-section-title i {
    color: #1e40af;
    margin-right: 10px;
}

.anxin-detail-text {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.9;
}

.anxin-detail-text p {
    margin-bottom: 15px;
}

.anxin-detail-text p:last-child {
    margin-bottom: 0;
}

/* 服务内容列表 */
.anxin-detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.anxin-detail-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.anxin-detail-feature-item:hover {
    background: #eff6ff;
    transform: translateX(5px);
}

.anxin-detail-feature-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.anxin-detail-feature-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 4px;
}

.anxin-detail-feature-text p {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

/* 服务范围 */
.anxin-detail-scope {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.anxin-detail-scope-item {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.anxin-detail-scope-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-5px);
}

.anxin-detail-scope-icon {
    font-size: 32px;
    color: #1e40af;
    margin-bottom: 12px;
}

.anxin-detail-scope-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 5px;
}

.anxin-detail-scope-item p {
    font-size: 12px;
    color: #718096;
}

/* 价格说明 */
.anxin-detail-price-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 14px;
    padding: 25px 30px;
    border-left: 4px solid #1e40af;
}

.anxin-detail-price-box h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 12px;
}

.anxin-detail-price-box p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 10px;
}

.anxin-detail-price-box p:last-child {
    margin-bottom: 0;
}

.anxin-detail-price-box i {
    color: #f59e0b;
    margin-right: 6px;
}

/* 右侧侧边栏 */
.anxin-detail-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.anxin-sidebar-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.anxin-sidebar-quick-call {
    background: linear-gradient(135deg, #0a2540 0%, #1e40af 100%);
    padding: 30px;
    text-align: center;
    color: #fff;
}

.anxin-sidebar-quick-call-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 26px;
    margin: 0 auto 18px;
    animation: anxin-pulse 2s infinite;
}

.anxin-sidebar-quick-call h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
}

.anxin-sidebar-quick-call-phone {
    font-size: 26px;
    font-weight: 800;
    color: #fbbf24;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.anxin-sidebar-quick-call-desc {
    font-size: 13px;
    opacity: 0.75;
}

.anxin-sidebar-form {
    padding: 25px;
}

.anxin-sidebar-form-title {
    font-size: 17px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.anxin-sidebar-form-title i {
    color: #1e40af;
}

.anxin-form-group {
    margin-bottom: 15px;
}

.anxin-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.3s ease;
    font-family: inherit;
}

.anxin-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.anxin-form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #2d3748;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
}

.anxin-form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.anxin-form-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.anxin-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.anxin-sidebar-services {
    padding: 25px;
}

.anxin-sidebar-title {
    font-size: 17px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.anxin-sidebar-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.anxin-sidebar-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
}

.anxin-sidebar-service-item:hover {
    background: #eff6ff;
    color: #1e40af;
    transform: translateX(5px);
}

.anxin-sidebar-service-item i {
    color: #1e40af;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.anxin-sidebar-service-item.active {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
}

.anxin-sidebar-service-item.active i {
    color: #fbbf24;
}

/* 详情页响应式 */
@media (max-width: 1200px) {
    .anxin-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .anxin-detail-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .anxin-sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .anxin-detail-main {
        padding: 40px 0;
    }

    .anxin-detail-hero {
        height: 280px;
    }

    .anxin-detail-hero-info {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .anxin-detail-hero-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .anxin-detail-hero-title {
        font-size: 24px;
    }

    .anxin-detail-hero-desc {
        font-size: 14px;
    }

    .anxin-detail-body {
        padding: 25px;
    }

    .anxin-detail-section-title {
        font-size: 18px;
    }

    .anxin-detail-features {
        grid-template-columns: 1fr;
    }

    .anxin-detail-scope {
        grid-template-columns: 1fr 1fr;
    }

    .anxin-detail-sidebar {
        flex-direction: column;
    }

    .anxin-sidebar-card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .anxin-detail-scope {
        grid-template-columns: 1fr;
    }

    .anxin-detail-hero-title {
        font-size: 20px;
    }

    .anxin-detail-body {
        padding: 20px;
    }
}
