@charset "utf-8";
/* ==========================================================================
   服务栏目通用页（/服务/其下所有栏目）—— 主站配色：主色 #5A9EFF / 深色 #0a1431
   用于 template/default/html/service.html（listtpl）
   结构：Hero → 服务内容(后台驱动) → 服务流程 → 我们的优势 → 服务总览 → CTA
   ========================================================================== */

.svc {
    --c: #5A9EFF;
    --c-d: #2F6FE4;
    --c-l: #eef4ff;
    --d: #0a1431;
    --t: #333333;
    --g: #6b7280;
    --bd: #e6ecf7;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--t);
    overflow-x: hidden;
}

.svc * {
    box-sizing: border-box;
}

.svc h1,
.svc h2,
.svc h3,
.svc h4,
.svc p,
.svc b,
.svc i,
.svc em,
.svc span,
.svc a {
    font-style: normal;
    text-decoration: none;
}

.svc-wrap {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 通用按钮 */
.svc-btn {
    display: inline-block;
    min-width: 168px;
    height: 48px;
    line-height: 48px;
    padding: 0 24px;
    border-radius: 4px;
    font-size: 15px;
    text-align: center;
    transition: all .28s ease;
    white-space: nowrap;
}

.svc-btn--main {
    background: var(--c-d);
    color: #fff;
    box-shadow: 0 8px 20px rgba(47, 111, 228, .28);
}

.svc-btn--main:hover {
    background: #1f5fd8;
    transform: translateY(-2px);
}

.svc-btn--ghost {
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.svc-btn--ghost:hover {
    background: rgba(255, 255, 255, .14);
}

.svc-btn--white {
    background: #fff;
    color: var(--c-d);
    font-weight: bold;
}

.svc-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

/* ============================ 1. Hero ============================ */
.svc-hero {
    position: relative;
    background: linear-gradient(135deg, #0a1431 0%, #16305e 52%, #1b3d78 100%);
    overflow: hidden;
}

.svc-hero__bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 78%);
}

.svc-hero__in {
    padding: 128px 0 68px;
    z-index: 2;
}

.svc-hero__crumb {
    font-size: 14px;
    color: rgba(255, 255, 255, .62);
    margin: 0 0 18px;
}

.svc-hero__crumb a {
    color: rgba(255, 255, 255, .62);
}

.svc-hero__crumb a:hover {
    color: #fff;
}

.svc-hero__crumb span {
    margin: 0 8px;
    opacity: .6;
}

.svc-hero__crumb em {
    color: #fff;
}

.svc-hero__h1 {
    font-size: 40px;
    line-height: 1.25;
    color: #fff;
    font-weight: bold;
    margin: 0 0 12px;
    letter-spacing: 1px;
}

.svc-hero__sub {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .78);
    margin: 0 0 16px;
    letter-spacing: .5px;
}

.svc-hero__desc {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .72);
    max-width: 860px;
    margin: 0 0 28px;
}

.svc-hero__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================ 区块通用标题 ============================ */
.svc-sec {
    padding: 66px 0;
}

.svc-sec--gray {
    background: #f6f9ff;
}

.svc-head {
    text-align: center;
    margin-bottom: 42px;
}

.svc-head__h2 {
    font-size: 30px;
    line-height: 1.35;
    color: var(--d);
    font-weight: bold;
    margin: 0 0 12px;
    letter-spacing: .5px;
}

.svc-head__h2 i {
    color: var(--c-d);
}

.svc-head__p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--g);
    margin: 0;
}

.svc-head__line {
    display: block;
    width: 44px;
    height: 3px;
    background: var(--c);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ============================ 2. 服务内容卡片 ============================ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: svcno;
}

.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--bd);
    border-radius: 8px;
    padding: 32px 26px 30px;
    transition: all .28s ease;
    overflow: hidden;
}

.svc-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--c), #8fc0ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .32s ease;
}

.svc-card:hover {
    border-color: #cddcf7;
    box-shadow: 0 14px 32px rgba(21, 62, 138, .1);
    transform: translateY(-4px);
}

.svc-card:hover::after {
    transform: scaleX(1);
}

.svc-card__no {
    display: block;
    font-size: 26px;
    line-height: 1;
    font-weight: bold;
    color: #d7e5ff;
    letter-spacing: 1px;
    counter-increment: svcno;
}

.svc-card__no::before {
    content: counter(svcno, decimal-leading-zero);
}

.svc-card__t {
    font-size: 18px;
    line-height: 1.5;
    color: var(--d);
    font-weight: bold;
    margin: 16px 0 10px;
}

.svc-card__d {
    font-size: 14px;
    line-height: 1.85;
    color: var(--g);
    margin: 0 0 18px;
}

.svc-card__more {
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
    font-size: 13px;
    color: var(--c-d);
    position: relative;
    padding-right: 14px;
}

.svc-card__more::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--c-d);
    border-right: 1px solid var(--c-d);
    transform: translateY(-50%) rotate(45deg);
}

.svc-items:not(:has(.svc-card)) {
    display: none;
}

/* ============================ 3. 服务流程 ============================ */
.svc-flow__list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    counter-reset: flowno;
}

.svc-flow__item {
    position: relative;
    background: #fff;
    border: 1px solid var(--bd);
    border-radius: 8px;
    padding: 26px 16px 22px;
    text-align: center;
}

.svc-flow__item b {
    display: block;
    font-size: 22px;
    line-height: 1;
    color: #d7e5ff;
    font-weight: bold;
    counter-increment: flowno;
}

.svc-flow__item b::before {
    content: counter(flowno, decimal-leading-zero);
}

.svc-flow__item h3 {
    font-size: 15px;
    color: var(--d);
    font-weight: bold;
    margin: 12px 0 8px;
}

.svc-flow__item p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--g);
    margin: 0;
}

/* ============================ 4. 我们的优势 ============================ */
.svc-adv__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.svc-adv__item {
    background: #fff;
    border: 1px solid var(--bd);
    border-radius: 8px;
    padding: 28px 26px;
    transition: all .28s ease;
}

.svc-adv__item:hover {
    border-color: #cddcf7;
    box-shadow: 0 12px 28px rgba(21, 62, 138, .08);
}

.svc-adv__item h3 {
    font-size: 17px;
    color: var(--d);
    font-weight: bold;
    margin: 0 0 10px;
    padding-left: 14px;
    position: relative;
}

.svc-adv__item h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--c);
    transform: translateY(-50%);
}

.svc-adv__item p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--g);
    margin: 0;
}

/* ============================ 5. 服务总览 ============================ */
.svc-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.svc-nav__list a {
    display: block;
    padding: 14px 26px;
    background: #fff;
    border: 1px solid var(--bd);
    border-radius: 40px;
    font-size: 15px;
    color: var(--d);
    transition: all .26s ease;
}

.svc-nav__list a:hover {
    background: var(--c-d);
    border-color: var(--c-d);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================ 6. CTA ============================ */
.svc-cta {
    background: linear-gradient(120deg, #12305f 0%, #2b62c9 100%);
    padding: 46px 0;
}

.svc-cta__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.svc-cta__txt h2 {
    font-size: 26px;
    color: #fff;
    font-weight: bold;
    margin: 0 0 10px;
}

.svc-cta__txt p {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
    margin: 0;
}

/* ============================ 响应式 ============================ */
@media screen and (max-width: 1280px) {
    .svc-wrap {
        width: 94%;
    }

    .svc-hero__h1 {
        font-size: 34px;
    }

    .svc-flow__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 980px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-adv__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .svc-wrap {
        width: 92%;
    }

    .svc-hero__in {
        padding: 84px 0 46px;
    }

    .svc-hero__h1 {
        font-size: 26px;
    }

    .svc-hero__sub {
        font-size: 14px;
    }

    .svc-hero__desc {
        font-size: 14px;
        line-height: 1.8;
    }

    .svc-btn {
        min-width: 0;
        flex: 1 1 auto;
        height: 44px;
        line-height: 44px;
        font-size: 14px;
        padding: 0 14px;
    }

    .svc-sec {
        padding: 42px 0;
    }

    .svc-head__h2 {
        font-size: 22px;
    }

    .svc-head {
        margin-bottom: 28px;
    }

    .svc-grid,
    .svc-adv__list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .svc-card {
        padding: 24px 20px 22px;
    }

    .svc-card__d {
        min-height: 0;
    }

    .svc-flow__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .svc-nav__list a {
        padding: 11px 18px;
        font-size: 14px;
    }

    .svc-cta__in {
        flex-direction: column;
        text-align: center;
    }

    .svc-cta__txt h2 {
        font-size: 20px;
    }

    .svc-cta .svc-btn--white {
        width: 100%;
    }
}


/* 双手机号上下排列 */
.svc-btn--stack {
    height: auto;
    line-height: 1.5;
    padding: 8px 24px;
    white-space: normal;
}

.svc-btn--stack>a {
    display: block;
    color: inherit;
    font-weight: inherit;
}
