/* ============================================
   Services页面样式 - 移动端适配优化
   ============================================ */

/* 全局容器 */
.services-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Hero区域 */
.services_hero {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.services_hero .services_hero-bg {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.services_hero .services_hero-bg img {
    width: 100%;
    height: 28rem;
    display: block;
    object-fit: cover;
    object-position: center center;
}

/* 主要内容区域 */
.services_content {
    padding: 80px 0;
    background-color: #ffffff;
}

.services_content .services_title-wrap {
    text-align: center;
    margin-bottom: 80px;
}

.services_content .services_title {
    font-size: 32px;
    font-weight: 600;
    color: #333333;
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.services_content .services_main {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.services_content .services_main-img {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
}

.services_content .services_main-img img {
    width: 100%;
    height: auto;
    display: block;
}

.services_content .services_main-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.services_content .services_item {
    margin-bottom: 30px;
    margin-left: 30px;
}

.services_content .services_item:last-child {
    margin-bottom: 0;
}

.services_item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 20px;
    line-height: 1.4;
}

.services_item-desc {
    font-size: 0.875rem;
    padding: 1rem 0;
    color: #666666;
    margin: 0;
    text-align: justify;
    line-height: 1.8;
}

.services_content .services_bottom {
    padding-left: 0;
}

/* 表格区域 */
.services_table-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.services_table-section .services_item-title {
    margin-bottom: 30px;
}

.services_table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.services_table-wrap table,
.services_table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: none;
    font-family: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    table-layout: auto;
}

.services_table-wrap table thead tr,
.services_table thead tr {
    background-color: #f8f9fa;
}

.services_table-wrap table thead th,
.services_table thead th {
    padding: 24px 32px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: #333333;
    line-height: 30px;

    white-space: nowrap;
}

.services_table-wrap table thead th:last-child,
.services_table thead th:last-child {
    border-right: none;
}


.services_table-wrap table tbody tr:hover,
.services_table tbody tr:hover {
    background-color: #fafafa;
}
.services_table-wrap table tr:first-child td {
    color: #333333; /* 文字颜色，改成你想要的色值 */
    /* background:#f5f5f5;  如果需要背景色，打开这行 */
}


.services_table-wrap table tbody td,
.services_table tbody td {
    padding: 24px 32px;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 20px;
   
}

.services_table-wrap table tbody td:last-child,
.services_table tbody td:last-child {
    border-right: none;
}

/* ============================================
   响应式设计 - 平板端 (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
    .services-container {
        width: 92%;
        padding: 0 1rem;
    }
    
    .services_content .services_main {
        gap: 30px;
    }
    
    .services_content .services_main-img {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .services_content .services_item {
        margin-left: 20px;
    }
}

/* ============================================
   响应式设计 - 移动端 (≤768px)
   ============================================ */
@media (max-width: 768px) {
    /* 容器宽度调整 */
    .services-container {
        width: 95%;
        padding: 0 0.75rem;
    }
    
    /* Hero区域图片高度 */
    .services_hero .services_hero-bg img {
        height: 18rem;
    }
    
    /* 内容区域间距 */
    .services_content {
        padding: 60px 0;
    }
    
    .services_content .services_title-wrap {
        margin-bottom: 50px;
    }
    
    /* 标题字体大小 */
    .services_content .services_title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    /* 主内容布局改为垂直堆叠 */
    .services_content .services_main {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .services_content .services_main-img {
        flex: none;
        max-width: 100%;
    }
    
    /* 服务项间距和字体 */
    .services_content .services_item {
        margin-left: 0;
        margin-bottom: 30px;
    }
    
    .services_content .services_item-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .services_content .services_item-desc {
        font-size: 14px;
        line-height: 1.8;
        padding: 0.75rem 0;
    }
    
    /* 表格区域 */
    .services_table-section {
        padding: 40px 0;
    }
    
    .services_table-section .services_item-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .services_table {
        font-size: 14px;
    }
    
    .services_table thead th,
    .services_table tbody td {
        padding: 16px 20px;
    }
}

/* ============================================
   响应式设计 - 小屏手机 (≤480px)
   ============================================ */
@media (max-width: 480px) {
    /* Hero区域图片高度进一步缩小 */
    .services_hero .services_hero-bg img {
        height: 14rem;
    }
    
    /* 内容区域间距 */
    .services_content {
        padding: 40px 0;
    }
    
    .services_content .services_title-wrap {
        margin-bottom: 40px;
    }
    
    /* 标题字体大小 */
    .services_content .services_title {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    /* 主内容间距 */
    .services_content .services_main {
        gap: 20px;
    }
    
    /* 服务项字体大小 */
    .services_content .services_item-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .services_content .services_item-desc {
        font-size: 13px;
        line-height: 1.7;
        padding: 0.5rem 0;
    }
    
    /* 表格区域 */
    .services_table-section {
        padding: 30px 0;
    }
    
    .services_table-section .services_item-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .services_table {
        font-size: 13px;
    }
    
    .services_table thead th {
        padding: 12px 16px;
    }
    
    .services_table tbody td {
        padding: 12px 16px;
        line-height: 18px;
    }
}

/* ============================================
   响应式设计 - 超小屏手机 (≤320px)
   ============================================ */
@media (max-width: 320px) {
    /* Hero区域图片高度 */
    .services_hero .services_hero-bg img {
        height: 12rem;
    }
    
    /* 容器宽度 */
    .services-container {
        width: 98%;
        padding: 0 0.5rem;
    }
    
    /* 标题字体 */
    .services_content .services_title {
        font-size: 18px;
    }
    
    /* 服务项字体 */
    .services_content .services_item-title {
        font-size: 14px;
    }
    
    .services_content .services_item-desc {
        font-size: 12px;
    }
    
    /* 表格字体 */
    .services_table {
        font-size: 12px;
    }
    
    .services_table thead th,
    .services_table tbody td {
        padding: 10px 12px;
    }
}