/**
 * 服务介绍页样式 - 全新设计
 * 遵循 DESIGN_SYSTEM.md 设计规范
 * 
 * @package MTO Moving
 * @since 1.0.0
 */

/* ==========================================================================
   服务分类导航 - 卡片式设计
   ========================================================================== */

.services-nav {
    padding: 64px 0;
    background: #ffffff;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c5 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleY(1);
}

.nav-card:hover {
    border-color: #2c5f8d;
    box-shadow: 0 12px 32px rgba(44, 95, 141, 0.15);
    transform: translateY(-4px);
}

.nav-icon-wrapper {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c5 100%);
    border-radius: 14px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.nav-card:hover .nav-icon-wrapper {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(44, 95, 141, 0.3);
}

.nav-content {
    flex: 1;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.nav-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.nav-arrow {
    font-size: 24px;
    color: #2c5f8d;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.nav-card:hover .nav-arrow {
    transform: translateX(6px);
}

/* ==========================================================================
   服务分类区域
   ========================================================================== */

.services-category {
    padding: 80px 0;
    background: #f8f9fb;
}

.services-category:nth-child(even) {
    background: #ffffff;
}

.category-header {
    text-align: center;
    margin-bottom: 56px;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2c5f8d 0%, #4a90c5 100%);
    border-radius: 2px;
}

.category-desc {
    font-size: 18px;
    color: #64748b;
    margin: 20px 0 0;
}

/* ==========================================================================
   服务卡片网格
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-color: rgba(44, 95, 141, 0.2);
}

/* 服务图片 */
.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.service-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.08);
}

.service-label {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.service-label.hot {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.service-label.premium {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    box-shadow: 0 4px 12px rgba(142, 68, 173, 0.4);
}

/* 服务内容 */
.service-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
}

.service-tagline {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 14px;
    font-weight: 500;
}

.service-description {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 服务特色 */
.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    padding: 8px;
    background: #f8f9fb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.service-features li:hover {
    background: #eff3f8;
    transform: translateX(4px);
}

.service-features li svg {
    flex-shrink: 0;
    color: #10b981;
    margin-top: 1px;
}

/* 服务范围 */
.service-scope {
    margin-bottom: 20px;
}

.service-scope h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.scope-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scope-tag {
    padding: 6px 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    color: #2c5f8d;
    font-weight: 600;
    transition: all 0.2s ease;
}

.scope-tag:hover {
    background: #2c5f8d;
    border-color: #2c5f8d;
    color: #ffffff;
    transform: translateY(-2px);
}

/* 服务操作按钮 */
.service-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.service-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

.service-actions .btn-secondary {
    background: #ffffff;
    color: #2c5f8d;
    border: 2px solid #2c5f8d;
}

.service-actions .btn-secondary:hover {
    background: #f8f9fb;
}

/* ==========================================================================
   为什么选择我们
   ========================================================================== */

.why-choose-us {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    margin: 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.reason-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.reason-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2c5f8d 0%, #4a90c5 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reason-item:hover::before {
    transform: scaleX(1);
}

.reason-item:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: rgba(44, 95, 141, 0.2);
}

.reason-number {
    font-size: 42px;
    font-weight: 700;
    color: #2c5f8d;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 14px;
    line-height: 1;
}

.reason-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.reason-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   响应式设计 - 平板 (< 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   响应式设计 - 移动端 (< 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .services-nav {
        padding: 48px 0;
    }
    
    .nav-card {
        padding: 24px 20px;
        gap: 16px;
    }
    
    .nav-icon-wrapper {
        width: 52px;
        height: 52px;
    }
    
    .nav-icon-wrapper svg {
        width: 26px;
        height: 26px;
    }
    
    .nav-title {
        font-size: 18px;
    }
    
    .nav-desc {
        font-size: 13px;
    }
    
    .services-category {
        padding: 56px 0;
    }
    
    .category-header {
        margin-bottom: 40px;
    }
    
    .category-title {
        font-size: 28px;
    }
    
    .category-desc {
        font-size: 16px;
    }
    
    .services-grid {
        gap: 24px;
    }
    
    .service-image-wrapper {
        height: 200px;
    }
    
    .service-content {
        padding: 24px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-tagline {
        font-size: 13px;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .service-features li {
        font-size: 13px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .why-choose-us {
        padding: 56px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reason-item {
        padding: 28px 24px;
    }
    
    .reason-number {
        font-size: 36px;
    }
    
    .reason-title {
        font-size: 18px;
    }
    
    .reason-desc {
        font-size: 14px;
    }
}

/* ==========================================================================
   响应式设计 - 小屏手机 (< 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .services-nav {
        padding: 40px 0;
    }
    
    .nav-card {
        padding: 20px 16px;
    }
    
    .nav-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .nav-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-title {
        font-size: 18px;
    }
}

