/* service.css */

/* Banner */
.service-page .hero-section {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
}

.service-page .hero-section .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-page .hero-section .bg-graphic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-page .hero-section .mobile-bg {
    display: none;
}

.service-page .hero-section .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 0 2.04rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}



/* 业务范围 */
.business-scope-section {
    padding: 0.8rem 0;
    background: #ffffff;
}

.business-scope-container {
    padding: 0 2.04rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: 'PangMenZhengDaoBiaoTiTiMianFeiBan-4', sans-serif;
    font-size: 0.64rem;
    font-weight: normal; /* 取消自带加粗，保证字体文件原始粗细 */
    color: #000000;
    text-align: center;
    margin-bottom: 0.4rem;
}

.section-title span {
   
}

.business-scope-mobile-text {
    display: none;
}

.business-scope-map {
    width: 100%;
    margin-bottom: 0.48rem;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-map {
    display: none;
}

.apply-agent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem; /* 8px 间距 */
    padding: 0.16rem 0.24rem; /* 16px 24px */
    border: 4px solid #0037C3; /* 描边 4px */
    border-radius: 0.24rem; /* 圆角 24px */
    font-size: 0.2rem; /* 字体 20px */
    font-weight: 700; /* Bold */
    color: #000000;
    transition: all 0.3s;
    height: 0.52rem; /* 根据文字20px+上下padding 32px，总高度52px */
    box-sizing: border-box;
}

.apply-agent-btn:hover {
    background: #0037C3;
    color: #ffffff;
}

.apply-agent-btn .icon-arrow {
    width: 0.16rem; /* 箭头大小 16px */
    height: 0.16rem;
}
.apply-agent-btn:hover .icon-arrow {
    filter: brightness(0) invert(1);
}

/* 标准交付文档体系 */
.doc-system-section {
    padding: 0.8rem 0;
    background: #ffffff;
}

.doc-system-container {
    padding: 0 2.04rem;
}

.doc-system-header {
    text-align: center;
    margin-bottom: 0.6rem;
}

.section-desc {
    font-size: 0.16rem;
    color: #505050;
  
    margin: 0 auto;
    line-height: 1.8;
}

/* Accordion */
.accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-item:first-child {
    border-top: 2px solid #2764FF;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.24rem 0;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 0.36rem;
    font-weight: 700;
    color: #000000;
    transition: color 0.3s;
}

.accordion-item.active .accordion-header h3 {
    color: #000000; /* 激活时颜色不变 */
}

.accordion-icon {
    width: 0.48rem; /* 图标大小 48px */
    height: 0.48rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.accordion-icon img {
    width: 100%;
    height: 100%;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-icon img {
    filter: brightness(0) saturate(100%) invert(29%) sepia(85%) saturate(2914%) hue-rotate(218deg) brightness(101%) contrast(105%);
}

.accordion-content {
    display: none;
    padding-bottom: 0.24rem;
}

.accordion-item.active .accordion-content {
    display: block;
}

.content-inner {
    padding: 0.24rem;
    border-radius: 0.08rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.content-inner p {
    font-size: 0.14rem;
    color: #505050;
    max-width: 80%;
    line-height: 1.8;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
}

.download-link:hover {
    opacity: 0.9;
}

.icon-download {
    width: 100%;
    height: 100%;
}

/* 文档手风琴：右侧展开图标与下载按钮右对齐 */
.doc-accordion .accordion-header {
    padding-right: 0;
}

.doc-accordion .content-inner {
    padding: 0.24rem 0 0.24rem 0.24rem;
    gap: 0.24rem;
}

.doc-accordion .download-link {
    flex-shrink: 0;
    align-self: flex-end;
    display: none;
}
.doc-accordion .content-inner  p{
    font-size: .16rem;
}

/* 我们的服务承诺 */
.service-commitment-section {
    position: relative;
    width: 100%;
}

.commitment-bg {
    width: 100%;
    height: auto;
    display: block;
}

.commitment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 55, 195, 0.8);
    z-index: 1;
}

.commitment-bg.mobile-bg {
    display: none;
}

.commitment-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 2.04rem;
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

.commitment-content h2 {
    font-size: 0.36rem;
    font-weight: 700;
    margin-bottom: 0.24rem;
}

.commitment-content p {
    font-size: 0.16rem;
    line-height: 2;
    max-width: 11rem;
    margin: 0 auto;
}

/* 售后服务与保修政策 */
.warranty-policy-section {
    padding: 2rem 0;
    background: #ffffff;
}

.warranty-policy-container {
    padding: 0 2.04rem;
    display: flex;
    align-items: flex-start;
    gap: 0.88rem;
}

.policy-left {
    flex: 0 0 4.24rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.36rem;
}

.policy-right {
    flex: 1;
    min-width: 0;
}

.policy-title {
    font-family: 'PangMenZhengDaoBiaoTiTiMianFeiBan-4', sans-serif;
    font-size: 0.64rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
    word-break: break-word;
}

.policy-title span {
    color: #0037C3;
}

.policy-subtitle {
    font-size: 0.16rem;
    font-weight: 400;
    color: #505050;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    margin: 0;
}

.policy-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
    width: 100%;
}

.policy-accordion .accordion-item {
    border-bottom: 1px solid #ECECEC;
    padding-bottom: 0.24rem;
}

.policy-accordion .accordion-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.policy-accordion .accordion-item:first-child {
    border-top: 2px solid #2764FF;
    padding-top: 0.24rem;
}

.policy-accordion .accordion-item.active .accordion-header {
    border-bottom: 2px solid #2764FF;
    padding-bottom: 0.24rem;
    margin-bottom: 0.24rem;
}

.policy-accordion .accordion-header {
    gap: 0.24rem;
    padding: 0;
}

.policy-accordion .accordion-header h3 {
    font-size: 0.36rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.6;
}

.policy-accordion .accordion-content {
    padding-bottom: 0;
}

.policy-accordion .content-inner {
    padding: 0;
    flex-direction: column;
    align-items: stretch;
}

.policy-accordion .content-inner p {
    font-size: 0.16rem;
    color: #505050;
    line-height: 1.6;
    max-width: 100%;
}

.policy-note {
    font-size: 0.16rem;
    color: #505050;
    margin-top: 0.24rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    line-height: 1.6;
}

.policy-note .highlight {
    color: #FF3F3F;
}

.policy-note .highlight-blue {
    color: #0037C3;
}

/* ==========================================================================
   移动端响应式 (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .service-page .hero-section {
        height: 43vh
    }
    .service-page .hero-section .pc-bg {
        display: none;
    }
    .service-page .hero-section .mobile-bg {
        display: block;
    }
    .service-page .hero-section .hero-content {
        align-items: center;
        text-align: center;
    }
    .service-page .hero-section .hero-title {
        font-size: 64px;
    }

    .business-scope-section {
        padding: 0.6rem 0;
    }
    .section-title {
        font-size: .64rem;
        margin-bottom: 0.24rem;
    }
    .business-scope-mobile-text {
        display: block;
        font-size: .28rem;
        color: #505050;
        text-align: center;
        margin-bottom: 0.24rem;
        line-height: 1.6;
        padding: 0 0.16rem;
    }
    .pc-map {
        display: none;
    }
    .mobile-map {
        display: block;
    }
    .apply-agent-btn {
        display: none;
    }

    .doc-system-section {
        padding: 0.6rem 0;
    }
    .doc-system-header {
        margin-bottom: 0.4rem;
    }
    .section-title {
        display: block;
    }
    .section-title span {
        margin-top: 0;
    }
    .section-desc {
        font-size: .28rem;
        text-align: left;
    }
    .accordion-header h3 {
        font-size: .28rem;
    }
    .accordion-icon {
        width: 0.24rem;
        height: 0.24rem;
    }
    .content-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.24rem 0 0.24rem 0.24rem;
    }
   
    .content-inner p {
        font-size: .28rem !important;
        max-width: 100%;
        margin-bottom: 0.24rem;
    }
    .download-link {
        align-self: flex-end;
        width: 0.32rem;
        height: 0.32rem;
    }

    .service-commitment-section {
        height: auto;
    }
    .commitment-bg.pc-bg {
        display: none;
    }
    .commitment-bg.mobile-bg {
        display: block;
    }
    .commitment-content {
        padding: 0.4rem;
    }
    .commitment-content h2 {
        font-size: .48rem;
        margin-bottom: 0.16rem;
    }
    .commitment-content p {
        font-size: .24rem;
        text-align: center;
    }

    .warranty-policy-section {
        padding: 0.6rem 0;
    }
    .warranty-policy-container {
        flex-direction: column;
        gap: 0.4rem;
    }
    .policy-left {
        flex: none;
        width: 100%;
        text-align: left;
        align-items: flex-start;
        gap: 0.24rem;
    }
    .policy-title {
        font-size: .64rem;
        text-align: left;
    }
    .policy-subtitle {
        font-size: .28rem;
        text-align: left;
    }
    .accordion-header h3{
        font-size: .4rem;
    }
    .policy-accordion .accordion-header h3 {
        font-size: .4rem;
    }
    .policy-accordion .content-inner p {
        font-size: .28rem;
    }
    .policy-note {
        font-size: .28rem;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .service-page .hero-section .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .business-scope-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .doc-system-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .commitment-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .warranty-policy-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 769px) {
    .service-page .hero-section .hero-title-container.pc-title {
        position: relative;
        padding-left: 0.18rem;
    }

    .service-page .hero-section .hero-title > span > span[style*="background-color"] {
        left: 0 !important;
        width: 100% !important;
        height: 0.62rem !important;
    }
}
