/* 解决方案页样式 */

.page-solution {
    background: #ffffff;
    /* 为固定导航预留高度 */
    padding-top: var(--header-height);
}

.page-solution .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 120px;
    padding-right: 120px;
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== 白底导航 ========== */
.site-header--light {
    position: fixed;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.site-header--light.is-scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.site-header--light .nav-list a {
    color: #1a1a1a;
}

.site-header--light .nav-list a::after {
    background: #0162e4;
    opacity: 0;
}

.site-header--light .nav-list a:hover::after,
.site-header--light .nav-list a.is-active::after {
    opacity: 1;
}

.site-header--light .logo img {
    filter: none;
}

.site-header--light .header-login {
    color: #1a1a1a;
    border-color: rgba(26, 26, 26, 0.22);
    background: transparent;
}

.site-header--light .header-login:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ========== Banner：1920x640 ========== */
.sol-hero {
    position: relative;
    width: 100%;
    /* 按素材比例 640/1920 ≈ 33.33vw */
    height: clamp(360px, 33.33vw, 640px);
    overflow: hidden;
    background-color: #0268ef;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sol-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.sol-hero-copy {
    max-width: 560px;
}

.sol-hero-title {
    margin: 0;
    line-height: 0;
}

.sol-hero-title img {
    display: block;
    width: 540px;
    max-width: 100%;
    height: auto;
    /* 标题图黑底白字：在蓝色 Banner 上隐藏黑色 */
    mix-blend-mode: screen;
}

.sol-hero-desc {
    margin: 20px 0 0;
    max-width: 480px;
    font-family: 'Source Han Sans', 'Source Han Sans SC', '思源黑体',
        'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #FFFFFF;
}

/* ========== 方案区块：背景 1920x1080 ========== */
.sol-block {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    /*
     * 保持 contain：区块宽高比与素材一致时，contain 会铺满整块，
     * 不会在上下留出白边断层。
     */
    aspect-ratio: 1920 / 1080;
    height: auto;
    min-height: 0;
    background-color: #ecf3fc;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
}

.sol-block-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    height: 100%;
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.sol-block-content {
    width: 100%;
    max-width: 700px;
}

.sol-block-inner--left {
    justify-content: flex-start;
}

.sol-block-inner--right {
    justify-content: flex-end;
}

.sol-block-copy {
    width: 100%;
    max-width: 800px;
}

.sol-block-index {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 16px;
    font-family: 'Source Han Sans', 'Source Han Sans SC', '思源黑体',
        'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1;
}

.sol-block-num {
    font-size: 48px;
    font-weight: 700;
    color: #0162E4;
    opacity: 1;
}

.sol-block-total {
    font-size: 16px;
    font-weight: 500;
    color: #0162E4;
    opacity: 1;
}

.sol-block-solution {
    color: #8AAFF3;
    margin-left: 8px;
}

.sol-block-copy h2 {
    margin: 40px 0;
    font-family: 'Alimama ShuHeiTi', '阿里妈妈数黑体', 'PingFang SC',
        'Microsoft YaHei', sans-serif;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.35;
    color: #0162e4;
    position: relative;
}

.sol-block-copy > div {
    width: 88%;
}

.sol-block-copy h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 40px;
    background: linear-gradient(90deg, #0162e4 0%, #0162e433 100%);
    opacity: 1;
}

.sol-block-copy h3 {
    margin: 0 0 18px;
    font-family: 'Source Han Sans', 'Source Han Sans SC', '思源黑体',
        'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a2e;
}

.sol-block-desc {
    margin: 0 0 12px;
    font-family: 'Source Han Sans', 'Source Han Sans SC', '思源黑体',
        'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.75;
    color: #444444;
}

.sol-block-desc:last-of-type {
    margin-bottom: 28px;
}

/* 能力卡片 */
.sol-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sol-cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sol-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    width: 100%;
    min-height: 168px;
    padding: 20px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 10px 20px 0px rgba(176, 204, 234, 0.4);
}

.sol-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
}

.sol-card-copy {
    display: contents;
}

.sol-card-copy strong {
    font-family: 'Source Han Sans', 'Source Han Sans SC', '思源黑体',
        'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #222222;
}

.sol-card-copy span {
    font-family: 'Source Han Sans', 'Source Han Sans SC', '思源黑体',
        'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    text-align: justify;
    letter-spacing: 0em;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    color: #666666;
    width: 100%;
}

/* 页脚容器在 solution 页沿用 common，覆盖左右 padding */
.page-solution .site-footer > .container {
    padding-left: 120px;
    padding-right: 120px;
}

/* 入场动效 */
.sol-hero-copy,
.sol-block-copy {
    animation: sol-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ========== 02 / 04：标题左上 + 背景插画 + 文案右栏 ========== */
.sol-block--02,
.sol-block--04 {
    /* 继承 .sol-block 的 aspect-ratio，避免额外 min-height 撑破比例 */
    background-color: #ecf3fc;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 0;
    box-sizing: border-box;
}

.sol-block--02 .sol-block-wrap,
.sol-block--04 .sol-block-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding-left: max(120px, 6.25vw);
    padding-right: max(120px, 6.25vw);
}

/* 标题区：大屏略放大上边距，避免相对插画上移，同时不顶太低 */
.sol-block--02 .sol-block-head,
.sol-block--04 .sol-block-head {
    flex: 0 0 auto;
    margin-top: clamp(160px, 7.5vw, 200px);
    margin-bottom: 28px;
    max-width: 720px;
}

.sol-block--02 .sol-block-head .sol-block-index,
.sol-block--04 .sol-block-head .sol-block-index {
    margin-bottom: 12px;
}

.sol-block--02 .sol-block-head h2,
.sol-block--04 .sol-block-head h2 {
    margin: 0;
    font-family: 'Alimama ShuHeiTi', '阿里妈妈数黑体', 'PingFang SC',
        'Microsoft YaHei', sans-serif;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.35;
    color: #0162e4;
    position: relative;
}

.sol-block--02 .sol-block-head h2::after,
.sol-block--04 .sol-block-head h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 20px;
    background: linear-gradient(90deg, #0162e4 0%, #0162e433 100%);
}

/* 文案落在右侧留白，顶对齐插画上沿（略下移补偿大屏） */
.sol-block--02 .sol-block-body,
.sol-block--04 .sol-block-body {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding-top: clamp(0px, 1vw, 24px);
}

.sol-block--02 .sol-block-main {
    width: 100%;
    max-width: 650px;
}

.sol-block--04 .sol-block-main {
    width: 100%;
    max-width: 670px;
}

.sol-block--02 .sol-block-main h3,
.sol-block--04 .sol-block-main h3 {
    margin: 0 0 18px;
    font-family: 'Source Han Sans', 'Source Han Sans SC', '思源黑体',
        'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a2e;
}

.sol-block--02 .sol-block-main .sol-block-desc,
.sol-block--04 .sol-block-main .sol-block-desc {
    margin: 0 0 12px;
}

.sol-block--02 .sol-block-main .sol-block-desc:last-of-type {
    margin-bottom: 98px;
}

.sol-block--04 .sol-block-main .sol-block-desc:last-of-type {
    margin-bottom: 38px;
}

.sol-block--02 .sol-block-head,
.sol-block--02 .sol-block-body,
.sol-block--04 .sol-block-head,
.sol-block--04 .sol-block-body {
    animation: sol-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sol-block--02 .sol-block-body,
.sol-block--04 .sol-block-body {
    animation-delay: 0.08s;
}

@keyframes sol-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .page-solution .container,
    .page-solution .site-footer > .container {
        padding-left: 48px;
        padding-right: 48px;
    }

    .sol-block-copy {
        max-width: 480px;
    }

    .sol-block-copy h2 {
        font-size: 30px;
    }

    .sol-block-copy h3 {
        font-size: 18px;
    }

    .sol-block--02 .sol-block-wrap,
    .sol-block--04 .sol-block-wrap {
        padding-left: 48px;
        padding-right: 48px;
    }

    .sol-block--02 .sol-block-head,
    .sol-block--04 .sol-block-head {
        margin-top: 80px;
    }

    .sol-block--02 .sol-block-head h2,
    .sol-block--04 .sol-block-head h2 {
        font-size: 30px;
    }

    .sol-block--02 .sol-block-main,
    .sol-block--04 .sol-block-main {
        max-width: 480px;
    }

    .sol-block--02 .sol-block-main h3,
    .sol-block--04 .sol-block-main h3 {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .page-solution .container,
    .page-solution .site-footer > .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .sol-hero {
        height: auto;
        min-height: 300px;
        padding: 48px 0;
        background-position: 70% center;
    }

    .sol-hero-title img {
        width: 320px;
    }

    .sol-hero-desc {
        font-size: 14px;
        margin-top: 16px;
    }

    .sol-block {
        /* 窄屏内容可能超高：取消锁比，用与素材同色底填补 contain 留白 */
        aspect-ratio: auto;
        min-height: 0;
        height: auto;
        background-color: #ecf3fc;
        background-position: center top;
    }

    .sol-block-inner,
    .sol-block-inner--left,
    .sol-block-inner--right {
        justify-content: flex-start;
        height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .sol-block-copy {
        max-width: 100%;
        padding: 28px 22px;
        background: rgba(255, 255, 255, 0.92);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(1, 98, 228, 0.08);
    }

    .sol-block-num {
        font-size: 36px;
    }

    .sol-block-copy h2 {
        font-size: 24px;
    }

    .sol-block-copy h3 {
        font-size: 16px;
    }

    .sol-block-desc {
        font-size: 14px;
    }

    .sol-cards,
    .sol-cards--2 {
        grid-template-columns: 1fr;
    }

    .sol-block--02,
    .sol-block--04 {
        min-height: 0;
        height: auto;
        aspect-ratio: auto;
        padding-bottom: 48px;
        background-position: center top;
    }

    .sol-block--02 .sol-block-wrap,
    .sol-block--04 .sol-block-wrap {
        min-height: 0;
        height: auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .sol-block--02 .sol-block-head,
    .sol-block--04 .sol-block-head {
        margin-top: 48px;
        margin-bottom: 24px;
    }

    .sol-block--02 .sol-block-head h2,
    .sol-block--04 .sol-block-head h2 {
        font-size: 24px;
    }

    .sol-block--02 .sol-block-head h2::after,
    .sol-block--04 .sol-block-head h2::after {
        margin-top: 14px;
    }

    .sol-block--02 .sol-block-body,
    .sol-block--04 .sol-block-body {
        justify-content: flex-start;
        padding-bottom: 0;
    }

    .sol-block--02 .sol-block-main,
    .sol-block--04 .sol-block-main {
        max-width: 100%;
        padding: 24px 20px;
        background: rgba(255, 255, 255, 0.92);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(1, 98, 228, 0.08);
    }

    .sol-block--02 .sol-block-main h3,
    .sol-block--04 .sol-block-main h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sol-hero-title img {
        width: 260px;
    }

    .sol-card {
        min-height: 64px;
    }
}
