

.hero {
    padding: 0;
    background: #fff;
    overflow: hidden;
}

/* 首屏固定 1920 × 683 宽高比（padding-top: 35.59%），宽度始终 = 视口宽度（100vw，不设上限），
   整段等比缩放：--u = 轮播宽度 / 1920，背景图、标题、正文、按钮、圆点全部按 --u 缩放，
   窗口放大缩小或浏览器缩放时只是整体放大缩小，不会变形 */
.hero-carousel {
    position: relative;
    width: 100%;
    container-type: inline-size;
}

.hero-carousel > * {
    /* 不支持容器查询单位的浏览器退化为按视口宽度缩放 */
    --u: calc(100vw / 1920);
    --u: calc(100cqw / 1920);
    /* 文案字号单位：max(断点档位, --u)。
       视口 ≤ 1920 时取档位（小屏字略大），> 1920（宽屏 / 浏览器缩小页面）时跟随 --u
       等比放大，保证滚轮缩放时字与 banner 的比例不变。
       注意 max() 里两边都必须是长度：档位是数字，要 ×1px。 */
    --hero-unit: max(calc(var(--hero-typo) * 1px), var(--u));
}

.hero-slide {
    position: relative;
    width: 100%;
}

.hero-slide::before {
    content: "";
    display: block;
    padding-top: 35.59%;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 首屏内的栅格与全局 .container 解耦：1200 × --u 居中 */
.hero-overlay .container {
    width: calc(1200 * var(--u));
    max-width: none;
    padding: 0;
    margin: 0 auto;
}

.hero-carousel .slick-dots{
    position: absolute;
    bottom: calc(20 * var(--u));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: calc(10 * var(--u));
}
.hero-carousel .slick-dots li button{
    font-size: 0px;
    padding: 0;
    width: calc(12 * var(--u));
    height: calc(12 * var(--u));
    border: none;
    box-shadow: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
}
.hero-carousel .slick-dots li{
    list-style: none;
}
.hero-carousel .slick-dots li.slick-active button,
.hero-carousel .slick-dots li button:hover{
    background: #5ba4ed;
}

.hero-sub-title{
    background: url("../images/bg/sub-title.png") center / 100% 100% no-repeat;
    width: calc(508 * var(--u));
    height: calc(59 * var(--u));
    font-size: calc(32 * var(--u));
    color: #FFFFFF;
    font-weight: 800;
    font-family: var(--font-medium);
    text-align: center;
    line-height: calc(59 * var(--u));
    text-shadow: 0 0 calc(16 * var(--u)) rgba(9,35,111,0.26);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(-35 * var(--u));
    margin-top: calc(29 * var(--u));
}
.hero-sub-title span{
    width: calc(3 * var(--u));
    height: calc(30 * var(--u));
    background: #FFFFFF;
    margin: 0 calc(20 * var(--u));
}

.hero-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    display: flex;
    align-items: center;
}
.hero-copy { max-width: calc(860 * var(--u)); }
.hero-title {
    margin: 0;
    font-weight: 600;
    font-size: calc(60 * var(--u));
    line-height: 1.2;
    color: #0b2a5e;
    letter-spacing: 0;

    text-wrap: balance;
}
.hero-body { margin-top: calc(74 * var(--u)); }
.hero-body p {
    margin: 0 0 calc(10 * var(--u));
    font-weight: 400;
    font-size: calc(20 * var(--u));
    line-height: 1.7;
    color: #41506e;
}
.hero-btn {
    display: inline-block;
    margin-top: calc(83 * var(--u));
    padding: calc(16 * var(--u)) calc(60 * var(--u));
    background: linear-gradient(90deg, #1C4EDE, #20A3FF);
    border-radius: calc(9 * var(--u));
    font-weight: 600;
    font-size: calc(24 * var(--u));
    color: #FFFFFF;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 calc(8 * var(--u)) calc(22 * var(--u)) rgba(28, 78, 222, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hero-btn:hover {
    transform: translateY(calc(-2 * var(--u)));
    box-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) rgba(28, 78, 222, .36);
    color: #FFFFFF;
}

/* 桌面/平板：首屏文案比例系数 = max(--hero-typo 断点档位, 首屏缩放比)。
   视口 ≤ 1920 时取断点档位（小屏字号比设计值略大，避免字太小）；
   > 1920（宽屏 / 浏览器缩小页面）时跟着首屏等比放大，滚轮缩放时比例保持不变。 */
@media (min-width: 1024px) {
    .hero-title {
        font-size: calc(60 * var(--hero-unit));
    }

    .hero-sub-title {
        font-size: calc(32 * var(--hero-unit));
    }

    .hero-body p {
        font-size: calc(20 * var(--hero-unit));
    }

    .hero-btn {
        font-size: calc(24 * var(--hero-unit));
    }
}

.brand-section {
    padding: 76px 0 36px;
    background: #fff;
}
.brand-card {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    padding: 50px 58px 26px 54px;
    background: #fff url("../images/bg/card-blank-wide.png") center / 100% 100% no-repeat;
    border: 1px solid #edf2fb;
    border-radius: 4px;
    box-shadow: 0px 0px 18px 0px rgba(78, 162, 255, 0.24);
}
.brand-media { display: flex; align-items: center; justify-content: center; }
.brand-media img { width: 100%; max-width: 356px; height: auto; }

.brand-title {
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.35;
    color: #111827;
    letter-spacing: .5px;
}
.brand-title-sub { margin-top: 32px; }
.brand-lead {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 2;
    color: #3f4a5a;
}
.brand-check,
.brand-points li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.85;
    color: #374151;
}
.brand-check { margin: 0; }
.brand-check::before,
.brand-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 21px;
    height: 16px;
    background: url("../images/icons/check.png") center / 21px 16px no-repeat;
}
.brand-points {
    margin: 0;
    padding: 0;
    list-style: none;
}
.brand-points li { margin-bottom: 10px; }
.brand-points li:last-child { margin-bottom: 0; }

.brand-btn {
    font-family: var(--font-medium);
    min-width: 220px;
    height: 61px;
    margin-top: 44px;
    padding: 0 28px;
    font-size: 24px;
    background: linear-gradient(90deg, #1C4EDE, #20A3FF);
}
.brand-btn:hover {
    background: linear-gradient(90deg, #1742C4, #1A8FE6);
}

.page-home .section { padding: 54px 0 30px; }
.page-home .section-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}
.page-home .section-head h2 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.35;
    color: #111827;
    letter-spacing: .5px;
}
.page-home .section-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
}
.page-home .section-head-only { margin-bottom: 24px; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.brand-copy{
    text-align: center;
}
.brand-copy *{
    text-align: left;
}

.section-services { padding-top: 78px !important; background: #fff; }
.service-card {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    padding: 32px 44px 18px;
    background: #fff;
    border: 1px solid #e8f1fd;
    border-radius: 6px;
    box-shadow: 0px 0px 18px 0px rgba(78, 162, 255, 0.24);
    color: inherit;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: #c9ddfb;
    box-shadow: 0px 4px 24px 0px rgba(78, 162, 255, 0.32);
}
.service-card h3 {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    text-align: center;
    letter-spacing: .5px;
    white-space: nowrap;
}
.service-card p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.8;
    color: #3f4a5a;
}
.service-card img {
    display: block;
    width: 160px;
    max-width: 72%;
    height: auto;
    margin: auto auto 0;
    object-fit: contain;
    transition: transform .24s ease;
}
.service-card:hover img { transform: translateY(-3px); }

.consult-bar {
    display: flex;
    justify-content: center;
    margin-top: 54px;
}
.consult-inner {
    display: inline-flex;
    align-items: stretch;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 10px 30px -24px rgba(31, 102, 229, .45);
}
.consult-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 26px;
    background: #f5f5f5;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: #1c5fd8;
    letter-spacing: .3px;
}
.consult-phone img { width: 40px; height: 31px; flex: none; }
.consult-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    background: linear-gradient(90deg, #1C4EDE, #20A3FF);
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    transition: filter .2s ease;
    border-radius:6px;
}
.consult-btn svg { flex: none; }
.consult-btn:hover { filter: brightness(1.06); }

.section-ai {
    padding-top: 82px !important;
    background: #fff url("../images/bg/glow-wide.png") center top / cover no-repeat;
}
.ai-card {
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 30px 17px 26px;
    background: #fff url("../images/bg/card-blank-sm.png") center / 100% 100% no-repeat;
    border: 1px solid #e8f1fd;
    border-radius: 6px;
    box-shadow: 0px 0px 18px 0px rgba(78, 162, 255, 0.24);
    color: inherit;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ai-card:hover {
    transform: translateY(-4px);
    border-color: #c9ddfb;
    box-shadow: 0px 4px 24px 0px rgba(78, 162, 255, 0.32);
}
.ai-card h3 {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    text-align: center;
    letter-spacing: .5px;
}
.ai-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.85;
    color: #3f4a5a;
}

.section-products {
    background: #fff;
}
.section-products .section-head { margin-bottom: 86px; }
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eaf1fc;
    border-radius: 5px;
    box-shadow: 0px 0px 18px 0px rgba(78, 162, 255, 0.24);
    color: inherit;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    width: 380px;
    height: 414px;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: #c9ddfb;
    box-shadow: 0px 4px 24px 0px rgba(78, 162, 255, 0.32);
}
.product-art {
    display: block;
    width: 100%;
    height: auto;
    background: #f2f9ff;
}
.product-body {
    flex: 1;
    padding: 27px 27px 20px 27px;
}
.product-body h3 {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    text-align: center;
    letter-spacing: .3px;
}
.product-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
    color: #3f4a5a;
}

.product-wide {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 251px;
    margin-top: 30px;
    padding: 32px 60px 32px 540px;
    overflow: hidden;
    background: #fff;
    background: url("../images/bg/cta-strip.png") left center / 1200px auto no-repeat;
    border: 1px solid #eaf1fc;
    border-radius: 5px;
    box-shadow: 0px 0px 18px 0px rgba(78, 162, 255, 0.24);
    color: inherit;
    transition: border-color .22s ease, box-shadow .22s ease;
}
.product-wide:hover {
    border-color: #c9ddfb;
    box-shadow: 0px 4px 24px 0px rgba(78, 162, 255, 0.32);
}
.product-wide-body { position: relative; z-index: 1; max-width: 720px; }
.product-wide-body h3 {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    letter-spacing: .3px;
}
.product-wide-body p {
    margin: 0;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.9;
    color: #3f4a5a;
}

.section-audiences {
    padding-top: 64px !important;
    padding-bottom: 121px !important;
    background: #fff url("../images/bg/glow-section.png") center bottom / cover no-repeat;
}
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}
.audience-card {
    display: flex;
    flex-direction: column;
    min-height: 286px;
    padding: 24px 22px 26px;
    background: #fff;
    border: 1px solid #eef3fd;
    border-radius: 5px;
    box-shadow: 0px 0px 18px 0px rgba(78, 162, 255, 0.24);
}
.audience-card img {
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    object-fit: contain;
}
.audience-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #111827;
}
.audience-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #3f4a5a;
}

.section-advantages { padding-top: 56px !important; padding-bottom: 72px !important; background: #fff; }
.advantage-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 26px 22px 28px;
    background: #fff;
    border: 1px solid #eef3fd;
    border-radius: 5px;
    box-shadow: 0px 0px 18px 0px rgba(78, 162, 255, 0.24);
}
.advantage-card img {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    object-fit: contain;
}
.advantage-card h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #111827;
    text-align: center;
}
.advantage-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #3f4a5a;
}

.section-flow {
    padding-top: 64px !important;
    padding-bottom: 60px !important;
    background: #fff url("../images/bg/glow-light.png") center / cover no-repeat;
}
.flow-list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin: 0;
    padding: 0 10px;
    list-style: none;
}
.flow-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.flow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 106px;
    height: 106px;
    margin-left: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 14px 36px -18px rgba(31, 102, 229, .3);
}
.flow-icon img { width: 52px; height: 52px; object-fit: contain; }
.flow-label {
    margin-top: 28px;
    padding-left: 22px;
    font-size: 18px;
    line-height: 30px;
    color: #1f2937;
}
.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    right: 8px;
    width: 34px;
    height: 38px;
    background: url("../images/icons/arrow-right.png") center / contain no-repeat;
}

.section-honors {
    padding: 58px 0 16px !important;
    background: #fff;
    overflow: hidden;
}
.honors-showcase {
    display: block;
    width: 1320px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.brand-card,
.service-card,
.ai-card,
.product-card,
.product-wide,
.audience-card,
.advantage-card,
.flow-step { font-family: var(--font-regular); }

.brand-title,
.page-home .section-head h2 { font-family: var(--font-medium); }

.page-home .section-head p { font-family: var(--font-regular); }

.service-card h3,
.ai-card h3,
.product-body h3,
.product-wide-body h3,
.audience-card h3,
.advantage-card h3 { font-family: var(--font-bold); }

.consult-phone { font-family: var(--font-bold); }
.consult-btn { font-family: var(--font-medium); }

@media (max-width: 1200px) {
    .brand-card {
        grid-template-columns: 310px minmax(0, 1fr);
        gap: 38px;
        padding: 44px 42px;
    }
    .brand-title { font-size: 27px; }
    .service-card h3,
    .ai-card h3 { font-size: 25px; }
    .product-body h3 { font-size: 23px; }
    .section-head h2 { font-size: 36px; }
    .product-wide { padding-left: 410px; }
}

@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-card { grid-template-columns: 1fr; gap: 26px; }
    .brand-media img { max-width: 320px; }
    .product-wide {
        padding: 30px 36px 30px 360px;
        background-size: 960px auto;
    }
    .product-wide::before {
        width: 520px;
        background-size: 960px auto;
    }
    .flow-list { flex-wrap: wrap; gap: 34px 0; }
    .flow-step { flex: 0 0 33.333%; }
    .flow-step::after { display: none; }
}

@media (max-width: 768px) {
    .page-home .section { padding: 42px 0 26px; }

    .page-home .section-head { margin-bottom: 30px; }
    .page-home .section-head h2 { font-size: 29px; }
    .page-home .section-head p { font-size: 15px; }
    .brand-section { padding: 44px 0 26px; }
    .brand-card { padding: 30px 24px; }
    .brand-title { font-size: 24px; }
    .brand-title-sub { margin-top: 24px; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .service-card { min-height: 0; padding: 24px; }
    .service-card h3,
    .ai-card h3 { font-size: 23px; }
    .service-card img { width: 150px; }
    .ai-card { min-height: 0; padding: 24px; }
    .product-body { padding: 6px 24px 24px; }
    .product-wide { padding: 26px 24px; min-height: 0; }
    .product-wide::before { display: none; }
    .product-wide-body h3 { font-size: 24px; }
    .consult-bar { margin-top: 36px; padding: 0 12px; }
    .consult-inner { flex-direction: column; width: 100%; height: auto; }
    .consult-phone { justify-content: center; padding: 13px 16px; font-size: 20px; }
    .consult-btn { justify-content: center; padding: 13px 16px; }
    .section-audiences,
    .section-advantages,
    .section-services,
    .section-ai,
    .section-products,
    .section-flow { padding: 42px 0 40px !important; }
    .section-ai { padding-bottom: 36px !important; }
    .section-flow { padding-bottom: 30px !important; }
    .section-products .section-head { margin-bottom: 30px; }
    .flow-step { flex: 0 0 50%; }
    .flow-icon { width: 88px; height: 88px; margin-left: 0; }
    .flow-icon img { width: 44px; height: 44px; }
    .flow-label { margin-top: 18px; padding-left: 0; font-size: 16px; }
    .section-honors { padding: 36px 0 16px !important; }
}

@media (max-width: 640px) {
    .card-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
    .grid-5 { grid-template-columns: 1fr; }
    .flow-step { flex: 0 0 100%; }
    .brand-media img { max-width: 260px; }
}
