
.ca-page {
    --ca-blue: #0659d5;
    --ca-blue-deep: #1c4ede;
    --ca-blue-bright: #20a3ff;
    --ca-title: #333;
    --ca-text: #333;
    --ca-line: #d9ecff;

    color: var(--ca-text);
    background: #fff;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 32px;
    font-weight: 400;
}

.ca-page *,
.ca-page *::before,
.ca-page *::after { box-sizing: border-box; }

.ca-page :where(h1, h2, h3) {
    margin-top: 0;
    color: var(--ca-title);
    font-family: var(--font-bold);
    font-weight: 700;
}

.ca-page :where(p) { margin-top: 0; }
.ca-page img { display: block; max-width: 100%; }
.ca-page :where(ul, ol) { margin: 0; padding: 0; list-style: none; }

.ca-container { width: 1200px; max-width: calc(100% - 48px); margin: 0 auto; }

.ca-title {
    margin: 0 0 64px;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: 1px;
    text-align: center;
}

/* 首屏 banner：宽度始终 100vw，按 1920 × 634 设计比例，内容等比缩放；
   字号在桌面/平板上按档位放大后，盒子允许长高，保证文案不被裁切 */
.ca-hero {
    position: relative;
    overflow: hidden;
    background: #dbe9fd;
    width: 100%;
    container-type: inline-size;
    min-height: calc(100vw * 634 / 1920);
    height: auto;
}

.ca-hero > * {
    --cqw-length: 100cqw; /* 先按容器宽度解析成 px 再进 atan2，避免部分浏览器跨单位返回 0 */
    --hero-scale: tan(atan2(var(--cqw-length), 1920px)); /* hero 实际宽度 / 1920 */
    zoom: var(--hero-scale);
}

.ca-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.ca-hero-inner {
    position: relative;
    width: 1076px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    padding-top: 118px;
}

.ca-hero h1 {
    margin: 0;
    color: #000;
    font-size: 62px;
    line-height: 74px;
    letter-spacing: -.5px;
}

.ca-page .ca-hero-desc {
    margin: 39px 0 0;
    color: #333;
    font-size: 26px;
    line-height: 37px;
}

.ca-page .ca-hero-tags {
    display: flex;
    margin-top: 25px;
    gap: 12px;
}

.ca-hero-tags li {
    display: inline-flex;
    height: 51px;
    align-items: center;
    padding: 0 26px;
    color: #333;
    font-size: 25px;
    letter-spacing: 1px;
    line-height: 1;
    border: 1px solid #527ba8;
    border-radius: 10px;
}

.ca-hero-btn {
    display: inline-flex;
    width: 214px;
    height: 55px;
    align-items: center;
    justify-content: center;
    margin-top: 62px;
    color: #fff;
    font-family: var(--font-medium);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(90deg, var(--ca-blue-deep) 0%, var(--ca-blue-bright) 100%);
    border-radius: 8px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.ca-hero-btn:hover {
    box-shadow: 0 10px 24px rgba(28, 78, 222, .28);
    transform: translateY(-1px);
}

.ca-split {
    display: grid;
    grid-template-columns: 494px minmax(0, 1fr);
    align-items: start;
}

.ca-split-media {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding-right: 106px;
}

.ca-split-diff .ca-split-media { padding-right: 80px; }

.ca-split-diff { align-items: center; }

.ca-split-copy { max-width: 600px; }

.ca-split-copy p {
    margin: 0;
    font-size: 20px;
    line-height: 32px;
}

.ca-intro { padding: 65px 0 144px; }

.ca-intro .ca-title { margin-bottom: 43px; }

.ca-intro .ca-split-copy { padding-top: 9px; }

.ca-diff .ca-title { margin-bottom: 12px; }

.ca-diff .ca-split-diff { padding-bottom: 0; }

.ca-diff { padding-bottom: 71px; }

.ca-consult {
    display: flex;
    width: max-content;
    max-width: 100%;
    height: 52px;
    align-items: center;
    margin: 44px auto 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #94bbf7;
    border-radius: 13px;
}

.ca-consult-label {
    padding: 0 0 0 27px;
    color: #333;
    font-family: var(--font-regular);
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
}

.ca-consult-phone {
    padding-right: 31px;
    color: #111827;
    font-family: var(--font-bold);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .5px;
    text-decoration: none;
    white-space: nowrap;
}

.ca-consult-ask {
    padding: 0 30px 0 25px;
    color: #333;
    font-family: var(--font-regular);
    font-size: 20px;
    letter-spacing: 4px;
    line-height: 1;
    white-space: nowrap;
}

.ca-consult-btn {
    display: flex;
    width: 204px;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-medium);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(90deg, var(--ca-blue-deep) 0%, var(--ca-blue-bright) 100%);
    transition: filter .2s ease;
}

.ca-consult-btn:hover { filter: brightness(1.06); }

.ca-why {
    padding: 65px 0 61px;
    background: #f1f8ff url("../images/why-bg.png") center top / cover no-repeat;
}

.ca-why .ca-title { margin-bottom: 64px; }

.ca-why .ca-consult { margin-top: 53px; }

.ca-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 31px 18px;
}

.ca-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    background: linear-gradient(-3deg, #FEFFFE, #ECF7FD);
    border: 1px solid var(--ca-line);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.ca-why .ca-card { height: 231px; }

.ca-card-head {
    display: flex;
    height: 57px;
    flex: none;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1;
    text-align: center;
    background: var(--ca-blue);
}

.ca-card-body {
    flex: 1;
    padding: 15px 20px 20px;
}

.ca-card-body p {
    margin: 0;
    font-size: 20px;
    line-height: 32px;
}

.ca-benefit { padding: 71px 0 95px; }

.ca-benefit .ca-title { margin-bottom: 82px; }

.ca-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ca-benefit-card {
    display: flex;
    height: 232px;
    align-items: center;
    flex-direction: column;
    padding: 103px 24px 0 24px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: 8px;
    box-shadow: var(--common-box-shadow);
    position: relative;
}

.ca-benefit-icon {
    width: 104px;
    height: 104px;
    position: absolute;
    top:-16px
}

.ca-benefit-card h3 {
    margin: -4px 0 0;
    font-size: 31px;
    letter-spacing: 1.5px;
    line-height: 38px;
}

.ca-benefit-card p {
    margin: 9px 0 0;
    font-size: 20px;
    line-height: 24px;
    color: #666666;
}

.ca-content {
    padding: 75px 0 95px;
    background: #f4f9ff url("../images/content-bg.png") center top / cover no-repeat;
}

.ca-content .ca-title { margin-bottom: 64px; }

.ca-content .ca-card { height: 201px; }

.ca-content .ca-consult { margin-top: 66px; }

.ca-flow { padding: 83px 0 100px; }

.ca-flow .ca-title { margin-bottom: 49px; }

.ca-flow-list {
    position: relative;
    width: 1116px;
    max-width: 100%;
    height: 339px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff url("../images/flow-panel.png") center bottom / 100% 100% no-repeat;
    border: 1px solid #e2eefb;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.ca-flow-step {
    position: absolute;
    top: 48px;
    width: 220px;
    text-align: center;
    transform: translateX(-50%);
}

.ca-flow-step:nth-child(1) { left: 154px; }
.ca-flow-step:nth-child(2) { left: 418px; }
.ca-flow-step:nth-child(3) { left: 683px; }
.ca-flow-step:nth-child(4) { left: 947px; }

.ca-flow-step::after {
    content: "";
    position: absolute;
    top: 46px;
    left: calc(50% + 66px);
    width: 136px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 24'%3E%3Cpath d='M0 7.5h104V0l32 12-32 12v-8.5H0z' fill='%231b5fd9'/%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}

.ca-flow-step:last-child::after { content: none; }

.ca-flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 115px;
    border: 4px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(205deg, #1a5ed2 10%, #d6e6fb 92%) border-box;
    font-family: var(--font-bold);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
    color: #1a56c4;
    margin: 0 auto;
}

.ca-flow-name {
    margin: 10px 0 0;
    font-size: 32px;
    line-height: 42px;
}

.ca-flow-desc {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 24px;
}

.ca-us { padding-bottom: 130px; }

.ca-us .ca-title { margin-bottom: 54px; }

.ca-us-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ca-us-card {
    display: flex;
    height: 203px;
    overflow: hidden;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: 8px;
    box-shadow: var(--common-box-shadow);
}

.ca-us-head {
    display: flex;
    height: 57px;
    flex: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1;
    background: var(--ca-blue);
}

.ca-us-body {
    position: relative;
    flex: 1;
    padding: 12px 20px 0;
}

.ca-us-body p {
    position: relative;
    z-index: 2;
    max-width: 250px;
    margin: 0;
    font-size: 20px;
    line-height: 32px;
}

.ca-us-body img {
    position: absolute;
    right: 11px;
    top: 21px;
    width: 102px;
    height: 102px;
}

.ca-us .ca-consult { margin-top: 70px; }

@media (max-width: 1240px) {
    .ca-flow-list { height: auto; padding: 40px 0 44px; background-size: cover; }
    .ca-flow-step { position: static; width: auto; transform: none; }
    .ca-flow-step::after { content: none; }
    .ca-flow-list {
        display: flex;
        flex-wrap: wrap;
        gap: 32px 0;
        justify-content: space-around;
    }
    .ca-flow-step { width: 25%; }
}

@media (max-width: 1180px) {
    .ca-page { font-size: 18px; line-height: 30px; }

    .ca-title { margin-bottom: 46px; font-size: 32px; }

    .ca-split { grid-template-columns: 340px minmax(0, 1fr); }

    .ca-split-media { padding-right: 52px; }

    .ca-split-media img { width: 100%; height: auto; }

    .ca-split-copy p { font-size: 18px; line-height: 30px; }

    .ca-card-body p,
    .ca-us-body p { font-size: 18px; line-height: 30px; }

    .ca-card-head,
    .ca-us-head { font-size: 25px; }

    .ca-flow-num { width: 104px; height: 104px; font-size: 38px; }
    .ca-flow-name { font-size: 28px; }
    .ca-flow-desc { font-size: 16px; }
}

@media (max-width: 980px) {
    .ca-split { grid-template-columns: 1fr; gap: 24px; }

    .ca-split-media { justify-content: flex-start; padding-right: 0; }

    .ca-split-media img { width: 220px; }

    .ca-split-diff .ca-split-media { order: 1; padding-right: 0; }
    .ca-split-diff .ca-split-copy { order: 2; }

    .ca-split-copy { max-width: none; padding-top: 0; }

    .ca-intro { padding-top: 56px; }

    .ca-why,
    .ca-benefit,
    .ca-content { padding-top: 56px; padding-bottom: 56px; }

    .ca-card-grid,
    .ca-benefit-grid,
    .ca-us-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .ca-why .ca-card,
    .ca-content .ca-card,
    .ca-us-card { height: auto; }

    .ca-card-body { padding-bottom: 22px; }

    .ca-benefit-card { height: auto; padding-bottom: 24px; }

    .ca-us-body { min-height: 140px; }

    .ca-flow-list { display: block; padding: 0; height: auto; }

    .ca-flow-step { width: 100%; }

    .ca-flow { padding: 56px 0 64px; }

    .ca-us { padding-bottom: 64px; }
}

@media (max-width: 760px) {
    .ca-title { font-size: 26px; margin-bottom: 32px; }

    .ca-split-copy p { font-size: 16px; line-height: 28px; }

    .ca-card-head,
    .ca-us-head { height: 52px; font-size: 20px; }

    .ca-benefit-card h3 { font-size: 24px; }

    .ca-card-grid,
    .ca-benefit-grid,
    .ca-us-grid { grid-template-columns: 1fr; }

    .ca-consult { height: auto; flex-wrap: wrap; flex-direction: column; padding: 12px 0; }

    .ca-consult-label,
    .ca-consult-ask { padding: 0 16px 6px; font-size: 16px; letter-spacing: normal; }

    .ca-consult-phone { padding: 0 16px 10px; font-size: 24px; }

    .ca-consult-btn { width: 100%; height: 46px; font-size: 18px; }

    .ca-flow-num { width: 88px; height: 88px; font-size: 30px; }
    .ca-flow-name { font-size: 22px; }
    .ca-flow-list { gap: 24px 0; }
    .ca-flow-step { width: 50%; }
}

@media (max-width: 600px) {
    .ca-container { max-width: calc(100% - 32px); }

    .ca-flow-step { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ca-hero-btn { transition: none; }
}

/* 桌面/平板：首屏文案比例系数 = max(--hero-typo 断点档位, --hero-scale)。
   视口 ≤ 1920 时取断点档位（小屏字号比设计值略大，避免字太小）；
   > 1920（宽屏 / 浏览器缩小页面）时取 hero 缩放比，字号严格跟着 banner 等比放大，
   这样滚轮缩放时「字 / 按钮 / 背景图」的比例保持不变。 */
@media (min-width: 1024px) {
    .ca-hero h1 {
        font-size: calc(62px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(74px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .ca-page .ca-hero-desc {
        font-size: calc(26px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(37px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .ca-hero-tags li {
        font-size: calc(25px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .ca-hero-btn {
        font-size: calc(22px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }
}
