/**
 * 首页 / 服务列表：feature-card（图标、标题、简介）
 * 服务详情左侧：service-product-card（另含规格、价格等）
 */

a.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 首页「核心服务」与服务列表页 — 同一网格 */
.services-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .services-home-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card,
.service-product-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.service-product-card {
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.feature-card .feature-icon,
.service-product-card .feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.feature-card .feature-icon-img,
.service-product-card .feature-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.service-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #667eea;
    line-height: 1.3;
}

.service-card-intro {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    white-space: pre-line;
    margin: 0;
}

.service-product-card .service-card-intro {
    margin-bottom: 22px;
}

.service-price-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.service-spec-btn {
    border: 1px solid #e8eaef;
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #5c6370;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
    line-height: 1.35;
    font-family: inherit;
}

.service-spec-btn:hover {
    border-color: #c5caf0;
    color: #1a1a1a;
}

.service-spec-btn.is-active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
}

.service-spec-btn:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.service-product-price-box {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed #e8eaef;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
}

.service-product-price-label {
    font-size: 13px;
    color: #5c6370;
    font-weight: 500;
}

.service-product-price-val {
    font-size: 26px;
    font-weight: 800;
    color: #e84545;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.service-product-price-val.is-muted {
    font-size: 18px;
    font-weight: 600;
    color: #5c6370;
}
