/* ===== 方案页 hero ===== */
body.page-inner {
    background: #fff;
}

body.page-solution .solution-sections {
    background: #fafcfd;
}

/* 浮动页内导航：不占文档高度，进入下方 section 后显示 */
.sol-anchor-nav {
    --sol-anchor-sticky-top: calc(10 * var(--rpx));
    position: fixed;
    top: var(--sol-anchor-sticky-top);
    left: 50%;
    z-index: 550;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(calc(-8 * var(--rpx)));
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.sol-anchor-nav.is-visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sol-anchor-nav[hidden] {
    display: none !important;
}

.sol-anchor-nav__bar {
    display: flex;
    align-items: center;
    gap: calc(10 * var(--rpx));
    width: calc(900 * var(--rpx));
    max-width: calc(100% - 40 * var(--rpx));
    height: calc(60 * var(--rpx));
    padding: calc(10 * var(--rpx));
    background: #fff;
    border-radius: calc(300 * var(--rpx));
    box-shadow: 0 calc(5 * var(--rpx)) calc(15 * var(--rpx)) rgba(0, 12, 36, 0.1);
    box-sizing: border-box;
}

.sol-anchor-nav__top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: calc(40 * var(--rpx));
    height: calc(40 * var(--rpx));
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
}

.sol-anchor-nav__top img {
    display: block;
    width: calc(40 * var(--rpx));
    height: calc(40 * var(--rpx));
    object-fit: contain;
}

.sol-anchor-nav__tracks {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sol-anchor-nav__tracks:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    align-items: center;
    gap: calc(10 * var(--rpx));
    width: 100%;
    height: 100%;
}

.sol-anchor-nav__tracks.swiper-initialized .swiper-slide {
    width: auto;
}

.sol-anchor-nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: calc(40 * var(--rpx));
    padding: 0 calc(8 * var(--rpx));
    font-size: calc(16 * var(--fpx));
    font-weight: 600;
    line-height: calc(24 / 16);
    color: var(--text-primary);
    border-radius: calc(300 * var(--rpx));
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.sol-anchor-nav__tracks:not(.swiper-initialized) .sol-anchor-nav__item {
    flex: 1;
}

.sol-anchor-nav__item:hover {
    color: var(--brand-red);
}

.sol-anchor-nav__item.is-active {
    color: #fff;
    background: var(--brand-red);
}

.solution-hero {
    position: relative;
    width: 100%;
    height: calc(1080 * var(--rpx-50));
    overflow: hidden;
    color: var(--text-primary);
}

.solution-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #eef2f8 0%, #f8fafc 45%, #ffffff 100%);
}

.solution-hero .hero-bg-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.solution-hero .hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: var(--hero-max-width);
    margin-left: auto;
    margin-right: auto;
}

.solution-hero .hero-inner .wrapper {
    position: relative;
    height: 100%;
}

.solution-hero .hero-title {
    position: absolute;
    top: calc(140 * var(--rpx));
    left: 0;
    margin: 0;
    font-size: calc(58 * var(--fpx-50));
    font-weight: 600;
    line-height: calc(87 / 58);
}

.solution-hero .hero-desc {
    position: absolute;
    top: calc(246 * var(--rpx));
    left: 0;
    width: calc(640 * var(--rpx));
    max-width: 100%;
    margin: 0;
    font-size: calc(20 * var(--fpx));
    font-weight: 600;
    line-height: calc(29 / 20);
    text-align: justify;
}

/* Pixso 97:792 @1920：插图 97:831、方案列表 97:800 用页面坐标 + --rpx-50 */
.solution-hero .hero-illustration {
    position: absolute;
    top: calc(356 * var(--rpx-50));
    left: calc(849.5 * var(--rpx-50));
    width: calc(492.5 * var(--rpx-50));
    height: calc(374 * var(--rpx-50));
    object-fit: contain;
    pointer-events: none;
}

.solution-links-wrap {
    position: absolute;
    top: calc(317 * var(--rpx-50));
    right: calc(160 * var(--rpx-50));
    left: auto;
    z-index: 3;
    width: calc(420 * var(--rpx-50));
    max-width: calc(100% - 40 * var(--rpx-50));
}

.solution-links-toolbar {
    display: none;
}

body.wfEditorMode .solution-links-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: calc(8 * var(--rpx-50));
}

.solution-links-toolbar .editor-link-mockup {
    position: static;
}

.solution-links {
    display: flex;
    flex-direction: column;
    gap: calc(40 * var(--rpx-50));
    width: 100%;
}

.solution-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: calc(20 * var(--rpx-50));
    min-height: calc(82.35 * var(--rpx-50));
    padding: calc(10 * var(--rpx-50)) calc(20 * var(--rpx-50)) calc(10 * var(--rpx-50)) calc(10 * var(--rpx-50));
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: calc(300 * var(--rpx-50));
    background: #fff;
    box-shadow: 0 calc(2 * var(--rpx-50)) calc(16 * var(--rpx-50)) rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: #252525;
    box-sizing: border-box;
    opacity: 1;
    visibility: visible;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.solution-link:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.16);
    box-shadow: 0 calc(4 * var(--rpx-50)) calc(20 * var(--rpx-50)) rgba(0, 0, 0, 0.08);
}

.solution-link__icon {
    flex-shrink: 0;
    display: block;
    width: calc(60 * var(--rpx-50));
    height: calc(60 * var(--rpx-50));
}

.solution-link__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.solution-link__title {
    flex: 1;
    min-width: 0;
    font-size: calc(24 * var(--fpx));
    font-weight: 600;
    line-height: calc(36 / 24);
    white-space: nowrap;
}

.solution-link__arr {
    flex-shrink: 0;
    display: block;
    width: calc(19.65 * var(--rpx-50));
    height: calc(14.65 * var(--rpx-50));
    object-fit: contain;
}

@media (min-width: 829px) and (max-width: 1200px) {
    .solution-hero {
        height: auto;
        min-height: calc(1080 * var(--rpx));
    }

    .solution-hero .hero-inner {
        max-width: none;
    }

    .solution-hero .hero-illustration {
        position: relative;
        top: auto;
        left: auto;
        width: calc(492.5 * var(--rpx));
        height: calc(374 * var(--rpx));
        margin: calc(40 * var(--rpx)) auto 0;
        opacity: 0.35;
    }

    .solution-links-wrap {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        max-width: calc(420 * var(--rpx));
        margin: calc(40 * var(--rpx)) auto 0;
    }

    body.wfEditorMode .solution-links-toolbar {
        margin-bottom: calc(8 * var(--rpx));
    }

    .solution-links {
        gap: calc(40 * var(--rpx));
    }

    .solution-link {
        gap: calc(20 * var(--rpx));
        min-height: calc(82.35 * var(--rpx));
        padding: calc(10 * var(--rpx)) calc(20 * var(--rpx)) calc(10 * var(--rpx)) calc(10 * var(--rpx));
        border-radius: calc(300 * var(--rpx));
    }

    .solution-link__icon {
        width: calc(60 * var(--rpx));
        height: calc(60 * var(--rpx));
    }

    .solution-link__arr {
        width: calc(19.65 * var(--rpx));
        height: calc(14.65 * var(--rpx));
    }

    .solution-hero {
        padding-bottom: calc(80 * var(--rpx));
    }

    .solution-hero .hero-inner .wrapper {
        padding-top: calc(140 * var(--rpx));
    }

    .solution-hero .hero-title,
    .solution-hero .hero-desc {
        position: relative;
        top: auto;
        left: auto;
    }

    .solution-hero .hero-desc {
        margin-top: calc(16 * var(--rpx));
    }
}

/* ===== @828 mobile ===== */
@media (max-width: 828px) {
    .solution-hero {
        height: auto;
        min-height: 0;
        overflow: visible;
        padding-bottom: calc(64 * var(--rpx));
    }

    .solution-hero .hero-bg {
        position: relative;
        inset: auto;
        height: calc(800 * var(--rpx));
    }

    .solution-hero .hero-bg-image {
        height: 100%;
        object-fit: cover;
        object-position: left center;
    }

    .solution-hero .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 1) 100%
        );
    }

    .solution-hero .hero-inner {
        position: relative;
        z-index: 2;
        height: auto;
        max-width: none;
        margin-top: calc(-240 * var(--rpx));
    }

    .solution-hero .hero-inner .wrapper {
        height: auto;
        padding: var(--mobile-hero-pad-top) 0 0;
    }

    .solution-hero .hero-title,
    .solution-hero .hero-desc {
        position: static;
        top: auto;
        left: auto;
    }

    .solution-hero .hero-title {
        font-size: calc(36 * var(--fpx));
    }

    .solution-hero .hero-desc {
        width: 100%;
        margin-top: calc(16 * var(--rpx));
        font-size: calc(16 * var(--fpx));
    }

    .solution-hero .hero-illustration {
        display: none;
    }

    .solution-links-wrap {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: var(--wrapper-width);
        max-width: 100%;
        margin: calc(32 * var(--rpx)) auto 0;
        z-index: 2;
        font-size: calc(19 * var(--fpx));
    }

    body.wfEditorMode .solution-links-toolbar {
        margin-bottom: 0.45em;
    }

    .solution-links {
        gap: 0.85em;
    }

    .solution-link {
        gap: 0.65em;
        min-height: 3.35em;
        padding: 0.45em 0.85em 0.45em 0.45em;
        border-radius: 999em;
        background: #fff;
        box-shadow: 0 0.12em 0.65em rgba(0, 0, 0, 0.06);
    }

    .solution-link__icon {
        width: 2.85em;
        height: 2.85em;
    }

    .solution-link__title {
        white-space: normal;
        font-size: 1.05em;
        line-height: 1.45;
    }

    .solution-link__arr {
        width: 0.9em;
        height: 0.68em;
    }

    .sol-anchor-nav {
        --sol-anchor-sticky-top: calc(10 * var(--fpx));
    }

    .sol-anchor-nav__bar {
        gap: calc(12 * var(--fpx));
        width: calc(100% - 24 * var(--fpx));
        max-width: none;
        height: calc(72 * var(--fpx));
        padding: calc(12 * var(--fpx));
        border-radius: calc(300 * var(--fpx));
        box-shadow: 0 calc(6 * var(--fpx)) calc(18 * var(--fpx)) rgba(0, 12, 36, 0.1);
    }

    .sol-anchor-nav__tracks:not(.swiper-initialized) .swiper-wrapper {
        justify-content: center;
        gap: calc(12 * var(--fpx));
    }

    .sol-anchor-nav__tracks:not(.swiper-initialized) .swiper-slide {
        width: auto;
        flex-shrink: 0;
    }

    .sol-anchor-nav__top {
        width: calc(48 * var(--fpx));
        height: calc(48 * var(--fpx));
    }

    .sol-anchor-nav__top img {
        width: calc(48 * var(--fpx));
        height: calc(48 * var(--fpx));
    }

    .sol-anchor-nav__item {
        flex: 0 0 auto;
        height: calc(48 * var(--fpx));
        padding: 0 calc(18 * var(--fpx));
        font-size: calc(18 * var(--fpx));
        line-height: calc(26 / 18);
        border-radius: calc(300 * var(--fpx));
    }

    .sol-anchor-nav__tracks:not(.swiper-initialized) .sol-anchor-nav__item {
        flex: 0 0 auto;
    }
}

