/* 服务项目整体区域：背景白色，上下内边距60px */
#services {
  background:#ffffff;
  padding:60px 0;
}

/* 服务区域大标题：字体大小36px，加粗，居中，深灰色 */
#services .section-title {
    font-size:36px;
    font-weight:600;
    color:#333;
    text-align: center;
    margin-bottom: 12px;
}

/* 服务区域副标题：字体16px，居中，浅灰色 */
#services .section-subtitle {
    font-size:16px;
    color:#666;
    text-align: center;
    margin-bottom: 50px;
}

/* 服务卡片布局：3列网格，间距30px，居中，最大宽度1200px */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 单个服务卡片：白色背景，灰色边框，固定高度310px */
.service-card {
    background:#fff;
    padding: 40px 35px;
    border: 3px solid #e0e0e0;
    position:relative;
    width: 100%;
    height: 310px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 卡片鼠标悬浮效果：整体上移，加阴影，边框变主题色 */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #00CCCC;
}
.service-card:hover::after {
    display: none;
}

/* 卡片悬浮时：标题、内容、更多文字统一变色 */
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-more-text {
    color: #00CCCC !important;
}

/* 平台图标行：弹性布局，图片和“更多”左右分开 */
.service-platform {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:8px;
    width: 100%;
}

/* 平台图标大小：宽高90px，等比例缩放 */
.service-platform img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

/* “了解更多”文字样式 */
.service-more-text {
    font-size:15px;
    color:#666;
    font-weight:500;
    margin-left: auto;
}

/* ==============================
   中文样式：完全保持不变
============================== */
.service-card h3 {
    font-size:20px;
    color:#333;
    font-weight:600;
    margin-top: -8px;
    margin-bottom: 8px;
}

.service-card p {
    font-size:15px;
    color:#666;
    line-height:1.8;
    margin-top: -10px;
}

/* ==============================
   🔥 英文最终精准设置
   1. 标题与内容间距 = 文字行间距（完全一样）
   2. 只显示4行，超出自动....
   3. 整体上移位置不变
============================== */
[lang="en"] .service-card h3,
body.en .service-card h3 {
    margin-top: -22px !important;
    /* 🔥 标题下边距 = 文字行高（间距完全一致） */
    margin-bottom: 1.7em !important;
}

[lang="en"] .service-card p,
body.en .service-card p {
    margin-top: -22px !important;
    line-height: 1.7 !important;

    /* 🔥 固定显示4行，超出... */
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 底部按钮区域：居中对齐，上边距50px */
.service-cta {
    text-align:center;
    margin-top:50px;
}

/* 底部咨询按钮样式：主题色背景，圆角，白色文字 */
.service-btn {
    display:inline-block;
    padding:14px 36px;
    background:#00CCCC;
    color:#fff;
    border-radius:30px;
    font-size:15px;
    text-decoration:none;
}