/* ── 五大服务流程 ── */
.service .container { width: 96%; max-width: 1600px; }
.service {
    background: #f5f5f5;
    padding: 80px 0 90px;
}

/* ── 外层布局 ── */
.score-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

/* ── 左侧 ── */
.score-left {
    flex: 0 0 860px;
    min-width: 0;
    position: relative;
    z-index: 2;          /* 文字置于光晕之上 */
}

/* ── 右侧（光晕置底） ── */
.score-right {
    width: 560px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;          /* 光晕在最底部 */
}

/* ── 左侧标题区 ── */
.service-header {
    margin-bottom: 36px;
}

.service-header-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #f5a623;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #f5a623;
    line-height: 1;
}

.service-header-title {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.service-header-sub {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-header-line {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, #fdd199);
    border-radius: 2px;
}

/* ── 横向步骤导航 ── */
.step-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

/* 贯通连线（背景层） */
.step-nav-track {
    position: absolute;
    top: 21px;
    left: 21px;
    right: 21px;
    height: 2px;
    background: #ebebeb;
    z-index: 0;
}

.step-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    width: 44px;
}

.step-nav-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #ccc;
    letter-spacing: 0.5px;
    transition: all .25s ease;
}

.step-nav-label {
    font-size: 12px;
    color: #bbb;
    font-weight: 500;
    white-space: nowrap;
    transition: color .22s;
}

/* 已完成态 */
.step-nav-item.done .step-nav-circle {
    background: #fff3e0;
    border-color: #fdd199;
    color: #f5a623;
}
.step-nav-item.done .step-nav-label { color: #f5a623; }

/* 选中态 */
.step-nav-item.active .step-nav-circle {
    background: #f5a623;
    border-color: #f5a623;
    color: #fff;
    box-shadow: 0 4px 16px rgba(245,166,35,0.4);
    transform: scale(1.12);
}
.step-nav-item.active .step-nav-label {
    color: #f5a623;
    font-weight: 700;
}

.step-nav-item:hover:not(.active) .step-nav-circle {
    border-color: #fdd199;
    background: #fff3e0;
    color: #f5a623;
}
.step-nav-item:hover:not(.active) .step-nav-label { color: #c87010; }

/* ── 步骤详情区 ── */
.step-detail {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 24px 26px 28px;
    transition: opacity .2s ease;
}

.step-detail-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.step-detail-num {
    font-size: 38px;
    font-weight: 900;
    color: rgba(245,166,35,0.18);
    line-height: 1;
    letter-spacing: -1px;
    flex-shrink: 0;
    font-family: "Arial", sans-serif;
    transition: opacity .2s ease;
}

.step-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    transition: opacity .2s ease;
}

.step-detail-desc {
    font-size: 13.5px;
    color: #777;
    line-height: 1.85;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
    transition: opacity .2s ease;
}

/* ── 要点列表 ── */
.step-detail-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-detail-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.sdp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f5a623;
    flex-shrink: 0;
}

/* ── 右侧环形图 ── */
.ring-chart {
    position: relative;
    width: 560px;
    height: 560px;
    overflow: visible;
}
.ring-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    overflow: visible;
}
.ring-svg path {
    transition: opacity .35s ease, filter .35s ease;
    cursor: pointer;
}
.ring-svg path.ring-segment:hover,
.ring-svg path.ring-segment.active {
    filter: brightness(1.08) drop-shadow(0 0 12px rgba(245,166,35,.35));
}

/* ── 响应式 ── */
@media (max-width: 1100px) {
    .score-box { gap: 40px; }
    .score-right { width: 480px; }
    .ring-chart { width: 480px; height: 480px; }
}

@media (max-width: 1024px) {
    .score-box { flex-direction: column; align-items: flex-start; }
    .score-left { flex: none; width: 100%; }   /* 覆盖 flex: 0 0 860px */
    .score-right { width: 100%; display: flex; justify-content: center; }
    .ring-chart { width: 420px; height: 420px; }
    .service-header-title { font-size: 30px; }
}

/* 平板竖屏 */
@media (max-width: 820px) {
    .ring-chart { width: 360px; height: 360px; }
    .service-header-title { font-size: 28px; }
    .step-detail-points { grid-template-columns: 1fr; }
}

/* 大屏手机横屏 */
@media (max-width: 768px) {
    .service { padding: 60px 0 70px; }
    .score-left { padding: 0 16px; }
    .ring-chart { width: 320px; height: 320px; }
    .step-nav-item { width: 36px; }
    .step-nav-circle { width: 36px; height: 36px; font-size: 11px; }
    .step-nav-track { top: 17px; left: 17px; right: 17px; }
    .step-detail-points { grid-template-columns: 1fr; }
    .service-header-title { font-size: 26px; }
}

/* 手机竖屏（中等） */
@media (max-width: 600px) {
    .service { padding: 50px 0 56px; }
    .score-left { padding: 0 16px; }
    .ring-chart { width: 260px; height: 260px; }
    .score-right { justify-content: center; }
    .service-header-title { font-size: 24px; }
    .step-nav-label { font-size: 11px; }
}

/* 主流手机 */
@media (max-width: 480px) {
    .score-left { padding: 0 16px; }
    .ring-chart { display: none; }
    .score-right { display: none; }
    .step-nav-label { display: none; }
    .step-nav-item { width: 40px; }
    .step-nav-circle { width: 40px; height: 40px; font-size: 13px; }
    .step-nav-track { top: 19px; left: 19px; right: 19px; }
}

/* 小屏安卓 */
@media (max-width: 390px) {
    .score-left { padding: 0 14px; }
    .service-header-title { font-size: 22px; }
    .service-header-sub { font-size: 13px; }
    .step-detail-title { font-size: 18px; }
    .step-detail-desc { font-size: 13px; }
}
