/* ============================================================
   服务与支持页（service.html）样式
   对齐老版 serve.php：Tab 链接 + 各分类内容区块
   - 技术与售后：服务体系/流程/保障（def1/def2/def3）
   - 在线服务：咨询表单（老版 .service-two 样式）
   - 资料下载：PDF 列表
   配色沿用老版：#0a448d 主蓝 / #e0e0e0 边框 / #666 灰
   ============================================================ */

/* ---------- Tab 切换导航（老版 .link） ---------- */
.service-tabs .link {
    text-align: center;
    margin: 10px 0 30px;
}
.service-tabs .link a {
    display: inline-block;
    font-size: 15px;
    line-height: 30px;
    color: #666;
    margin: 0 16px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.service-tabs .link a:hover {
    color: #0a448d;
}
.service-tabs .link a.on {
    color: #0a448d;
    border-bottom-color: #0a448d;
}

/* ---------- 服务内容区块 ---------- */
.service-content {
    max-width: 1200px;
    margin: auto;
    padding: 0 0 70px;
}
.service-block {
    background: #f4f6fd;
    padding: 46px 50px;
}
.service-block-title {
    font-size: 22px;
    line-height: 30px;
    color: #0a448d;
    font-weight: bold;
    margin-bottom: 18px;
    position: relative;
    padding-left: 16px;
}
.service-block-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 20px;
    background: #0a448d;
    border-radius: 2px;
}
.service-block-sub {
    font-size: 14px;
    line-height: 26px;
    color: #797979;
    margin: -8px 0 18px;
    padding-left: 16px;
}

/* 技术与售后内容（def1/def2/def3） */
.service-block-desc {
    font-size: 14px;
    line-height: 28px;
    color: #666;
    background: #fff;
    padding: 26px 32px;
    margin-bottom: 20px;
    border-radius: 4px;
}
.service-block-desc:last-child {
    margin-bottom: 0;
}
.service-block-desc h2 {
    font-size: 17px;
    color: #0a448d;
    margin: 0 0 10px;
    font-weight: bold;
}
.service-block-desc p {
    margin-bottom: 8px;
}
.service-block-desc p:last-child {
    margin-bottom: 0;
}
.service-block-desc ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: svc-flow;
}
.service-block-desc ol li {
    position: relative;
    padding: 10px 0 10px 44px;
    border-bottom: 1px dashed #eef0f5;
    counter-increment: svc-flow;
}
.service-block-desc ol li:last-child {
    border-bottom: none;
}
.service-block-desc ol li::before {
    content: counter(svc-flow);
    position: absolute;
    left: 0;
    top: 12px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    background: #0a448d;
    color: #fff;
    font-size: 13px;
    border-radius: 50%;
}
.service-block-desc ol li strong {
    color: #333;
}
.service-block-desc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.service-block-desc ul li {
    position: relative;
    padding: 10px 0 10px 22px;
    border-bottom: 1px dashed #eef0f5;
}
.service-block-desc ul li:last-child {
    border-bottom: none;
}
.service-block-desc ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 8px;
    height: 8px;
    background: #0a448d;
    border-radius: 50%;
}
.service-block-desc ul li strong {
    color: #333;
}

/* ---------- 在线服务：咨询表单（老版 .service-two 样式） ---------- */
.service-form {
    background: #fff;
    border-radius: 4px;
    padding: 40px 46px 50px;
}
.service-form .txt {
    font-size: 14px;
    line-height: 24px;
    color: #666;
    text-align: center;
    margin-bottom: 36px;
}
.service-form .box {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.service-form .box .left,
.service-form .box .right {
    width: 48%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 48%;
    flex: 0 0 48%;
}
.service-form .box .title {
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: #000;
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}
.service-form .box .title span {
    display: inline-block;
    padding: 0 18px;
    background: #fff;
    position: relative;
    z-index: 2;
}
.service-form .box .title i {
    width: 211px;
    height: 1px;
    background: #c7c7c7;
    display: block;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 11px;
}
.service-form .box .labels {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 14px;
    line-height: 53px;
    position: relative;
    background: #fff;
}
.service-form .box .labels .name {
    color: #333;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 110px;
    flex: 0 0 110px;
    padding-left: 24px;
}
.service-form .box .labels .name span {
    color: #ff0000;
    margin-right: 2px;
}
.service-form .box .labels .tel-num {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 50px;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: #333;
}
.service-form .box .labels .text2 {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 180px;
    padding: 14px 20px 14px 0;
    border: none;
    background: none;
    outline: none;
    resize: none;
    font-size: 14px;
    color: #333;
    line-height: 24px;
    font-family: inherit;
}
.service-form .box .labels input::-webkit-input-placeholder,
.service-form .box .labels textarea::-webkit-input-placeholder {
    color: #bbb;
}
.service-form .box .labels input::-moz-placeholder,
.service-form .box .labels textarea::-moz-placeholder {
    color: #bbb;
}
.service-form .box .labels input:-ms-input-placeholder,
.service-form .box .labels textarea:-ms-input-placeholder {
    color: #bbb;
}

/* 提交按钮（老版 .button：350x50 蓝底白字居中） */
.service-form .button {
    width: 350px;
    height: 50px;
    background: #0a448d;
    border: none;
    color: #fff;
    display: block;
    margin: 10px auto 0;
    font-size: 16px;
    letter-spacing: 8px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.service-form .button:hover {
    background: #124aa1;
}
.service-form .txts {
    font-size: 14px;
    line-height: 30px;
    color: #666;
    text-align: center;
    margin-top: 24px;
}

/* ---------- 资料下载列表（404） ---------- */
.service-download-list {
    background: #fff;
    border-radius: 4px;
    padding: 10px 32px;
    margin-top: 4px;
}
.service-download-item {
    border-bottom: 1px dashed #d8dce6;
}
.service-download-item:last-child {
    border-bottom: none;
}
.service-download-item a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 14px 6px;
    color: #333;
    font-size: 14px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.service-download-item a:hover {
    color: #0a448d;
    padding-left: 12px;
}
.service-download-item a i {
    font-size: 22px;
    color: #e04545;
    margin-right: 12px;
}
.service-download-item a span {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 技术与售后（老版 service-one：技术支持白底 + 售后服务浅蓝底交替） ---------- */
.service-block-plain {
    background: transparent;
    padding: 0;
}
.service-one {
    width: 100%;
    padding-top: 10px;
}
.service-one-item {
    width: 100%;
}
.service-one-item .box {
    max-width: 1200px;
    margin: auto;
    padding: 44px 20px 60px;
}
.service-jishu {
    background: #fff;
}
.service-shouhou {
    background: #f4f6fd;
}
.service-one-item .title {
    font-size: 24px;
    line-height: 30px;
    color: #000;
    margin-bottom: 24px;
}
.service-one-item .title span {
    width: 8px;
    height: 8px;
    border: 6px solid #0a448d;
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    vertical-align: 2px;
}
.service-one-item .txt {
    font-size: 14px;
    line-height: 30px;
    color: #666;
}
.service-one-item .txt p {
    margin-bottom: 10px;
}
.service-one-item .txt p:last-child {
    margin-bottom: 0;
}
.service-one-item .txt strong {
    color: #0a448d;
    font-size: 16px;
}
.service-one-item .txt ul {
    margin: 8px 0 14px;
    padding-left: 20px;
    list-style: disc;
}
.service-one-item .txt ul ul {
    list-style: circle;
    margin-left: 30px;
}
.service-one-item .txt blockquote {
    margin: 0 0 12px;
    padding: 0;
    border: none;
}
.service-one-item .txt blockquote p {
    margin-bottom: 6px;
}

/* ---------- 在线服务：常见问题 + 在线咨询（老版 classify 28/29 两个小分区） ---------- */
.service-inner-nav {
    text-align: center;
    margin-bottom: 28px;
}
.service-inner-nav .service-inner-link {
    display: inline-block;
    font-size: 15px;
    line-height: 30px;
    color: #666;
    margin: 0 16px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.service-inner-nav .service-inner-link:hover {
    color: #0a448d;
}
.service-inner-nav .service-inner-link.on {
    color: #0a448d;
    border-bottom-color: #0a448d;
}

/* 常见问题折叠列表（老版 service-list 卡片风格） */
.service-faq {
    background: #fff;
    border-radius: 4px;
    padding: 14px 30px;
}
.service-faq-item {
    border-bottom: 1px dashed #e4e7ee;
}
.service-faq-item:last-child {
    border-bottom: none;
}
.service-faq-q {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 17px 6px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.service-faq-q:hover {
    padding-left: 12px;
}
.service-faq-q strong {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 15px;
    line-height: 24px;
    color: #333;
    font-weight: normal;
}
.service-faq-q:hover strong {
    color: #0a448d;
}
.service-faq-q > i {
    color: #bbb;
    font-size: 16px;
    margin-left: 10px;
    -webkit-transition: -webkit-transform 0.3s ease-in-out 0s;
    -o-transition: -o-transform 0.3s ease-in-out 0s;
    transition: transform 0.3s ease-in-out 0s;
}
.service-faq-q.open > i {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.service-faq-badge {
    display: inline-block;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
    margin-right: 12px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 22px;
    flex: 0 0 22px;
}
.service-faq-q .service-faq-badge {
    background: #0a448d;
}
.service-faq-a .service-faq-badge {
    background: #ffae00;
}
.service-faq-a {
    display: none;
    padding: 4px 6px 18px 40px;
}
.service-faq-a .service-faq-a-inner {
    font-size: 14px;
    line-height: 28px;
    color: #666;
}
.service-faq-a .service-faq-a-inner p {
    margin-bottom: 8px;
}
.service-faq-a .service-faq-a-inner p:last-child {
    margin-bottom: 0;
}

/* ---------- 暂无内容占位 ---------- */
.service-empty {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 60px 0;
    background: #fff;
    border-radius: 4px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .service-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .service-form .box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .service-form .box .left,
    .service-form .box .right {
        width: 100%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
    .service-block {
        padding: 34px 26px;
    }
    .service-form {
        padding: 30px 26px 40px;
    }
    .service-block-desc {
        padding: 22px 24px;
    }
}

@media (max-width: 767px) {
    .service-tabs .link a {
        margin: 0 10px;
        font-size: 14px;
    }
    .service-block {
        padding: 26px 16px;
    }
    .service-form {
        padding: 24px 16px 32px;
    }
    .service-form .box .labels .name {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 84px;
        flex: 0 0 84px;
        padding-left: 14px;
    }
    .service-form .button {
        width: 100%;
        max-width: 350px;
    }
    .service-download-list {
        padding: 10px 18px;
    }
}
