/* 首页六项核心业务：桌面端三列两行，平板两列，手机单列。 */
.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
}

.services .service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
    min-height: 350px;
    padding: 24px 26px 22px;
    justify-content: flex-start;
    border: 1px solid rgba(65, 190, 232, 0.3);
    border-radius: 18px;
    background:
        radial-gradient(circle at 14% 0%, rgba(27, 188, 224, 0.13), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(41, 98, 215, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(24, 50, 69, 0.96), rgba(18, 31, 51, 0.98));
    background-size: auto;
    box-shadow:
        0 18px 42px rgba(2, 12, 26, 0.22),
        inset 0 1px 0 rgba(205, 244, 255, 0.06);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.services .service-card::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(49, 209, 241, 0.88), rgba(55, 132, 237, 0.62), transparent);
    box-shadow: 0 0 16px rgba(35, 190, 232, 0.2);
    pointer-events: none;
}

.services .service-card::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: -72px;
    bottom: -82px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(39, 164, 226, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(34, 117, 205, 0.025);
    pointer-events: none;
}

.services .service-card > * {
    position: relative;
    z-index: 1;
}

.services .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 211, 245, 0.52);
    box-shadow:
        0 22px 48px rgba(2, 12, 26, 0.3),
        0 0 26px rgba(20, 155, 218, 0.09),
        inset 0 1px 0 rgba(215, 248, 255, 0.1);
}

.services .service-icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.services .service-icon-img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 5px 9px rgba(0, 174, 235, 0.2));
}

.services .service-card h3 {
    min-height: 2.8em;
    margin: 0 0 10px;
    font-size: 1.28rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
}

.services .service-card p {
    flex: 1;
    min-height: 0;
    margin: 0 0 17px;
    color: rgba(224, 234, 245, 0.78);
    font-size: 0.96rem;
    line-height: 1.7;
    text-align: left;
}

.services .service-card .btn {
    min-width: 116px;
    margin-top: auto;
    padding: 10px 22px;
    border: 1px solid rgba(52, 196, 238, 0.42);
    background: linear-gradient(105deg, rgba(22, 128, 178, 0.3), rgba(31, 94, 177, 0.26));
    box-shadow: inset 0 1px 0 rgba(208, 246, 255, 0.08);
}

.services .service-card .btn:hover {
    border-color: rgba(94, 222, 250, 0.68);
    background: linear-gradient(105deg, rgba(21, 153, 202, 0.45), rgba(35, 110, 202, 0.4));
}

@media screen and (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media screen and (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr !important; }

    .services .service-card {
        min-height: 0;
        padding: 22px 20px 21px;
    }

    .services .service-card h3 { min-height: 0; }
}
